1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 /* for raw pointers */
989 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
990 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
991 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
992 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
993 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
994 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
995 #define swig_owntype int
997 /* for raw packed data */
998 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
999 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1001 /* for class or struct pointers */
1002 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1003 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1005 /* for C or C++ function pointers */
1006 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1007 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1009 /* for C++ member pointers, ie, member methods */
1010 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1020 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024 #define SWIG_fail goto fail
1027 /* Runtime API implementation */
1029 /* Error manipulation */
1032 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1033 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1034 PyErr_SetObject(errtype
, obj
);
1036 SWIG_PYTHON_THREAD_END_BLOCK
;
1040 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1041 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1042 PyErr_SetString(errtype
, (char *) msg
);
1043 SWIG_PYTHON_THREAD_END_BLOCK
;
1046 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1048 /* Set a constant value */
1051 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1052 PyDict_SetItemString(d
, (char*) name
, obj
);
1056 /* Append a value to the result obj */
1058 SWIGINTERN PyObject
*
1059 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1060 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1063 } else if (result
== Py_None
) {
1067 if (!PyList_Check(result
)) {
1068 PyObject
*o2
= result
;
1069 result
= PyList_New(1);
1070 PyList_SetItem(result
, 0, o2
);
1072 PyList_Append(result
,obj
);
1081 } else if (result
== Py_None
) {
1085 if (!PyTuple_Check(result
)) {
1087 result
= PyTuple_New(1);
1088 PyTuple_SET_ITEM(result
, 0, o2
);
1090 o3
= PyTuple_New(1);
1091 PyTuple_SET_ITEM(o3
, 0, obj
);
1093 result
= PySequence_Concat(o2
, o3
);
1101 /* Unpack the argument tuple */
1104 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1110 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1111 name
, (min
== max
? "" : "at least "), min
);
1115 if (!PyTuple_Check(args
)) {
1116 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1119 register int l
= PyTuple_GET_SIZE(args
);
1121 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1122 name
, (min
== max
? "" : "at least "), min
, l
);
1124 } else if (l
> max
) {
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at most "), max
, l
);
1130 for (i
= 0; i
< l
; ++i
) {
1131 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1133 for (; l
< max
; ++l
) {
1141 /* A functor is a function object with one single object argument */
1142 #if PY_VERSION_HEX >= 0x02020000
1143 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1145 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1149 Helper for static pointer initialization for both C and C++ code, for example
1150 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1153 #define SWIG_STATIC_POINTER(var) var
1155 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1158 /* -----------------------------------------------------------------------------
1159 * Pointer declarations
1160 * ----------------------------------------------------------------------------- */
1162 /* Flags for new pointer objects */
1163 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1164 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1166 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1175 /* How to access Py_None */
1176 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1177 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1178 # ifndef SWIG_PYTHON_BUILD_NONE
1179 # define SWIG_PYTHON_BUILD_NONE
1184 #ifdef SWIG_PYTHON_BUILD_NONE
1187 # define Py_None SWIG_Py_None()
1189 SWIGRUNTIMEINLINE PyObject
*
1192 PyObject
*none
= Py_BuildValue("");
1196 SWIGRUNTIME PyObject
*
1199 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1204 /* The python void return value */
1206 SWIGRUNTIMEINLINE PyObject
*
1209 PyObject
*none
= Py_None
;
1214 /* PySwigClientData */
1225 SWIGRUNTIMEINLINE
int
1226 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1228 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1229 return data
? data
->implicitconv
: 0;
1232 SWIGRUNTIMEINLINE PyObject
*
1233 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1234 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1235 PyObject
*klass
= data
? data
->klass
: 0;
1236 return (klass
? klass
: PyExc_RuntimeError
);
1240 SWIGRUNTIME PySwigClientData
*
1241 PySwigClientData_New(PyObject
* obj
)
1246 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1247 /* the klass element */
1249 Py_INCREF(data
->klass
);
1250 /* the newraw method and newargs arguments used to create a new raw instance */
1251 if (PyClass_Check(obj
)) {
1253 data
->newargs
= obj
;
1256 #if (PY_VERSION_HEX < 0x02020000)
1259 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1262 Py_INCREF(data
->newraw
);
1263 data
->newargs
= PyTuple_New(1);
1264 PyTuple_SetItem(data
->newargs
, 0, obj
);
1266 data
->newargs
= obj
;
1268 Py_INCREF(data
->newargs
);
1270 /* the destroy method, aka as the C++ delete method */
1271 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1272 if (PyErr_Occurred()) {
1276 if (data
->destroy
) {
1278 Py_INCREF(data
->destroy
);
1279 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1281 data
->delargs
= !(flags
& (METH_O
));
1288 data
->implicitconv
= 0;
1294 PySwigClientData_Del(PySwigClientData
* data
)
1296 Py_XDECREF(data
->newraw
);
1297 Py_XDECREF(data
->newargs
);
1298 Py_XDECREF(data
->destroy
);
1301 /* =============== PySwigObject =====================*/
1311 SWIGRUNTIME PyObject
*
1312 PySwigObject_long(PySwigObject
*v
)
1314 return PyLong_FromVoidPtr(v
->ptr
);
1317 SWIGRUNTIME PyObject
*
1318 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1320 PyObject
*res
= NULL
;
1321 PyObject
*args
= PyTuple_New(1);
1323 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1324 PyObject
*ofmt
= PyString_FromString(fmt
);
1326 res
= PyString_Format(ofmt
,args
);
1335 SWIGRUNTIME PyObject
*
1336 PySwigObject_oct(PySwigObject
*v
)
1338 return PySwigObject_format("%o",v
);
1341 SWIGRUNTIME PyObject
*
1342 PySwigObject_hex(PySwigObject
*v
)
1344 return PySwigObject_format("%x",v
);
1347 SWIGRUNTIME PyObject
*
1349 PySwigObject_repr(PySwigObject
*v
)
1351 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1354 const char *name
= SWIG_TypePrettyName(v
->ty
);
1355 PyObject
*hex
= PySwigObject_hex(v
);
1356 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1360 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1362 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1364 PyString_ConcatAndDel(&repr
,nrep
);
1370 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1373 PyObject
*repr
= PySwigObject_repr(v
);
1375 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1378 fputs(PyString_AsString(repr
), fp
);
1386 SWIGRUNTIME PyObject
*
1387 PySwigObject_str(PySwigObject
*v
)
1389 char result
[SWIG_BUFFER_SIZE
];
1390 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1391 PyString_FromString(result
) : 0;
1395 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1399 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1402 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1404 SWIGRUNTIME PyTypeObject
*
1405 PySwigObject_type(void) {
1406 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1410 SWIGRUNTIMEINLINE
int
1411 PySwigObject_Check(PyObject
*op
) {
1412 return ((op
)->ob_type
== PySwigObject_type())
1413 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1416 SWIGRUNTIME PyObject
*
1417 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1420 PySwigObject_dealloc(PyObject
*v
)
1422 PySwigObject
*sobj
= (PySwigObject
*) v
;
1423 PyObject
*next
= sobj
->next
;
1425 swig_type_info
*ty
= sobj
->ty
;
1426 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1427 PyObject
*destroy
= data
? data
->destroy
: 0;
1429 /* destroy is always a VARARGS method */
1431 if (data
->delargs
) {
1432 /* we need to create a temporal object to carry the destroy operation */
1433 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1434 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1437 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1438 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1439 res
= ((*meth
)(mself
, v
));
1443 const char *name
= SWIG_TypePrettyName(ty
);
1444 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1445 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1453 SWIGRUNTIME PyObject
*
1454 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1456 PySwigObject
*sobj
= (PySwigObject
*) v
;
1459 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1462 if (!PySwigObject_Check(next
)) {
1467 return SWIG_Py_Void();
1470 SWIGRUNTIME PyObject
*
1472 PySwigObject_next(PyObject
* v
)
1474 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1477 PySwigObject
*sobj
= (PySwigObject
*) v
;
1479 Py_INCREF(sobj
->next
);
1482 return SWIG_Py_Void();
1486 SWIGINTERN PyObject
*
1488 PySwigObject_disown(PyObject
*v
)
1490 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1493 PySwigObject
*sobj
= (PySwigObject
*)v
;
1495 return SWIG_Py_Void();
1498 SWIGINTERN PyObject
*
1500 PySwigObject_acquire(PyObject
*v
)
1502 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1505 PySwigObject
*sobj
= (PySwigObject
*)v
;
1506 sobj
->own
= SWIG_POINTER_OWN
;
1507 return SWIG_Py_Void();
1510 SWIGINTERN PyObject
*
1511 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1514 #if (PY_VERSION_HEX < 0x02020000)
1515 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1517 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1524 PySwigObject
*sobj
= (PySwigObject
*)v
;
1525 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1528 if (PyObject_IsTrue(val
)) {
1529 PySwigObject_acquire(v
);
1531 PySwigObject_disown(v
);
1534 if (PyObject_IsTrue(val
)) {
1535 PySwigObject_acquire(v
,args
);
1537 PySwigObject_disown(v
,args
);
1547 swigobject_methods
[] = {
1548 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1549 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1550 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1551 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1552 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1553 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1558 swigobject_methods
[] = {
1559 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1560 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1561 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1562 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1563 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1564 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1569 #if PY_VERSION_HEX < 0x02020000
1570 SWIGINTERN PyObject
*
1571 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1573 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1577 SWIGRUNTIME PyTypeObject
*
1578 _PySwigObject_type(void) {
1579 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1581 static PyNumberMethods PySwigObject_as_number
= {
1582 (binaryfunc
)0, /*nb_add*/
1583 (binaryfunc
)0, /*nb_subtract*/
1584 (binaryfunc
)0, /*nb_multiply*/
1585 (binaryfunc
)0, /*nb_divide*/
1586 (binaryfunc
)0, /*nb_remainder*/
1587 (binaryfunc
)0, /*nb_divmod*/
1588 (ternaryfunc
)0,/*nb_power*/
1589 (unaryfunc
)0, /*nb_negative*/
1590 (unaryfunc
)0, /*nb_positive*/
1591 (unaryfunc
)0, /*nb_absolute*/
1592 (inquiry
)0, /*nb_nonzero*/
1599 (coercion
)0, /*nb_coerce*/
1600 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1601 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1602 (unaryfunc
)0, /*nb_float*/
1603 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1604 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1605 #if PY_VERSION_HEX >= 0x02020000
1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1607 #elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1612 static PyTypeObject pyswigobject_type
;
1613 static int type_init
= 0;
1615 const PyTypeObject tmp
1617 PyObject_HEAD_INIT(NULL
)
1619 (char *)"PySwigObject", /* tp_name */
1620 sizeof(PySwigObject
), /* tp_basicsize */
1621 0, /* tp_itemsize */
1622 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1623 (printfunc
)PySwigObject_print
, /* tp_print */
1624 #if PY_VERSION_HEX < 0x02020000
1625 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1627 (getattrfunc
)0, /* tp_getattr */
1629 (setattrfunc
)0, /* tp_setattr */
1630 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1631 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1632 &PySwigObject_as_number
, /* tp_as_number */
1633 0, /* tp_as_sequence */
1634 0, /* tp_as_mapping */
1635 (hashfunc
)0, /* tp_hash */
1636 (ternaryfunc
)0, /* tp_call */
1637 (reprfunc
)PySwigObject_str
, /* tp_str */
1638 PyObject_GenericGetAttr
, /* tp_getattro */
1639 0, /* tp_setattro */
1640 0, /* tp_as_buffer */
1641 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1642 swigobject_doc
, /* tp_doc */
1643 0, /* tp_traverse */
1645 0, /* tp_richcompare */
1646 0, /* tp_weaklistoffset */
1647 #if PY_VERSION_HEX >= 0x02020000
1649 0, /* tp_iternext */
1650 swigobject_methods
, /* tp_methods */
1655 0, /* tp_descr_get */
1656 0, /* tp_descr_set */
1657 0, /* tp_dictoffset */
1666 0, /* tp_subclasses */
1667 0, /* tp_weaklist */
1669 #if PY_VERSION_HEX >= 0x02030000
1673 0,0,0,0 /* tp_alloc -> tp_next */
1676 pyswigobject_type
= tmp
;
1677 pyswigobject_type
.ob_type
= &PyType_Type
;
1680 return &pyswigobject_type
;
1683 SWIGRUNTIME PyObject
*
1684 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1686 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1693 return (PyObject
*)sobj
;
1696 /* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
1708 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1710 char result
[SWIG_BUFFER_SIZE
];
1711 fputs("<Swig Packed ", fp
);
1712 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1716 fputs(v
->ty
->name
,fp
);
1721 SWIGRUNTIME PyObject
*
1722 PySwigPacked_repr(PySwigPacked
*v
)
1724 char result
[SWIG_BUFFER_SIZE
];
1725 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1726 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1728 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1732 SWIGRUNTIME PyObject
*
1733 PySwigPacked_str(PySwigPacked
*v
)
1735 char result
[SWIG_BUFFER_SIZE
];
1736 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1737 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1739 return PyString_FromString(v
->ty
->name
);
1744 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1748 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1749 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1752 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1754 SWIGRUNTIME PyTypeObject
*
1755 PySwigPacked_type(void) {
1756 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1760 SWIGRUNTIMEINLINE
int
1761 PySwigPacked_Check(PyObject
*op
) {
1762 return ((op
)->ob_type
== _PySwigPacked_type())
1763 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1767 PySwigPacked_dealloc(PyObject
*v
)
1769 if (PySwigPacked_Check(v
)) {
1770 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1776 SWIGRUNTIME PyTypeObject
*
1777 _PySwigPacked_type(void) {
1778 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1779 static PyTypeObject pyswigpacked_type
;
1780 static int type_init
= 0;
1782 const PyTypeObject tmp
1784 PyObject_HEAD_INIT(NULL
)
1786 (char *)"PySwigPacked", /* tp_name */
1787 sizeof(PySwigPacked
), /* tp_basicsize */
1788 0, /* tp_itemsize */
1789 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1790 (printfunc
)PySwigPacked_print
, /* tp_print */
1791 (getattrfunc
)0, /* tp_getattr */
1792 (setattrfunc
)0, /* tp_setattr */
1793 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1794 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1795 0, /* tp_as_number */
1796 0, /* tp_as_sequence */
1797 0, /* tp_as_mapping */
1798 (hashfunc
)0, /* tp_hash */
1799 (ternaryfunc
)0, /* tp_call */
1800 (reprfunc
)PySwigPacked_str
, /* tp_str */
1801 PyObject_GenericGetAttr
, /* tp_getattro */
1802 0, /* tp_setattro */
1803 0, /* tp_as_buffer */
1804 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1805 swigpacked_doc
, /* tp_doc */
1806 0, /* tp_traverse */
1808 0, /* tp_richcompare */
1809 0, /* tp_weaklistoffset */
1810 #if PY_VERSION_HEX >= 0x02020000
1812 0, /* tp_iternext */
1818 0, /* tp_descr_get */
1819 0, /* tp_descr_set */
1820 0, /* tp_dictoffset */
1829 0, /* tp_subclasses */
1830 0, /* tp_weaklist */
1832 #if PY_VERSION_HEX >= 0x02030000
1836 0,0,0,0 /* tp_alloc -> tp_next */
1839 pyswigpacked_type
= tmp
;
1840 pyswigpacked_type
.ob_type
= &PyType_Type
;
1843 return &pyswigpacked_type
;
1846 SWIGRUNTIME PyObject
*
1847 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1849 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1851 void *pack
= malloc(size
);
1853 memcpy(pack
, ptr
, size
);
1858 PyObject_DEL((PyObject
*) sobj
);
1862 return (PyObject
*) sobj
;
1865 SWIGRUNTIME swig_type_info
*
1866 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1868 if (PySwigPacked_Check(obj
)) {
1869 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1870 if (sobj
->size
!= size
) return 0;
1871 memcpy(ptr
, sobj
->pack
, size
);
1878 /* -----------------------------------------------------------------------------
1879 * pointers/data manipulation
1880 * ----------------------------------------------------------------------------- */
1882 SWIGRUNTIMEINLINE PyObject
*
1885 return PyString_FromString("this");
1888 SWIGRUNTIME PyObject
*
1891 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1895 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1897 SWIGRUNTIME PySwigObject
*
1898 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1900 if (PySwigObject_Check(pyobj
)) {
1901 return (PySwigObject
*) pyobj
;
1904 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1905 if (PyInstance_Check(pyobj
)) {
1906 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1908 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1909 if (dictptr
!= NULL
) {
1910 PyObject
*dict
= *dictptr
;
1911 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1913 #ifdef PyWeakref_CheckProxy
1914 if (PyWeakref_CheckProxy(pyobj
)) {
1915 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1916 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1919 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1923 if (PyErr_Occurred()) PyErr_Clear();
1929 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1933 if (PyErr_Occurred()) PyErr_Clear();
1937 if (obj
&& !PySwigObject_Check(obj
)) {
1938 /* a PyObject is called 'this', try to get the 'real this'
1939 PySwigObject from it */
1940 return SWIG_Python_GetSwigThis(obj
);
1942 return (PySwigObject
*)obj
;
1946 /* Acquire a pointer value */
1949 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1951 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1953 int oldown
= sobj
->own
;
1961 /* Convert a pointer value */
1964 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1965 if (!obj
) return SWIG_ERROR
;
1966 if (obj
== Py_None
) {
1970 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1972 void *vptr
= sobj
->ptr
;
1974 swig_type_info
*to
= sobj
->ty
;
1976 /* no type cast needed */
1977 if (ptr
) *ptr
= vptr
;
1980 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1982 sobj
= (PySwigObject
*)sobj
->next
;
1984 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1989 if (ptr
) *ptr
= vptr
;
1994 if (own
) *own
= sobj
->own
;
1995 if (flags
& SWIG_POINTER_DISOWN
) {
2000 int res
= SWIG_ERROR
;
2001 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2002 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2003 if (data
&& !data
->implicitconv
) {
2004 PyObject
*klass
= data
->klass
;
2007 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2008 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2009 data
->implicitconv
= 0;
2010 if (PyErr_Occurred()) {
2015 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2018 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2019 if (SWIG_IsOK(res
)) {
2022 /* transfer the ownership to 'ptr' */
2024 res
= SWIG_AddCast(res
);
2025 res
= SWIG_AddNewMask(res
);
2027 res
= SWIG_AddCast(res
);
2041 /* Convert a function ptr value */
2044 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2045 if (!PyCFunction_Check(obj
)) {
2046 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2050 /* here we get the method pointer for callbacks */
2051 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2052 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2054 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2055 if (!desc
) return SWIG_ERROR
;
2058 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2059 if (!tc
) return SWIG_ERROR
;
2060 *ptr
= SWIG_TypeCast(tc
,vptr
);
2068 /* Convert a packed value value */
2071 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2072 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2073 if (!to
) return SWIG_ERROR
;
2076 /* check type cast? */
2077 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2078 if (!tc
) return SWIG_ERROR
;
2084 /* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
2089 Create a new instance object, whitout calling __init__, and set the
2093 SWIGRUNTIME PyObject
*
2094 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2096 #if (PY_VERSION_HEX >= 0x02020000)
2098 PyObject
*newraw
= data
->newraw
;
2100 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2102 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2103 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2104 if (dictptr
!= NULL
) {
2105 PyObject
*dict
= *dictptr
;
2107 dict
= PyDict_New();
2109 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2113 PyObject
*key
= SWIG_This();
2114 PyObject_SetAttr(inst
, key
, swig_this
);
2118 PyObject
*dict
= PyDict_New();
2119 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2120 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2125 #if (PY_VERSION_HEX >= 0x02010000)
2127 PyObject
*dict
= PyDict_New();
2128 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2129 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2131 return (PyObject
*) inst
;
2133 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2137 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2138 Py_INCREF(inst
->in_class
);
2139 inst
->in_dict
= PyDict_New();
2140 if (inst
->in_dict
== NULL
) {
2144 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2145 inst
->in_weakreflist
= NULL
;
2147 #ifdef Py_TPFLAGS_GC
2148 PyObject_GC_Init(inst
);
2150 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2151 return (PyObject
*) inst
;
2157 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2160 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2161 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2162 if (dictptr
!= NULL
) {
2165 dict
= PyDict_New();
2168 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2172 dict
= PyObject_GetAttrString(inst
, "__dict__");
2173 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2178 SWIGINTERN PyObject
*
2179 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2181 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2184 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2186 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2188 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2190 return SWIG_Py_Void();
2194 /* Create a new pointer object */
2196 SWIGRUNTIME PyObject
*
2197 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2199 return SWIG_Py_Void();
2201 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2202 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2203 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2204 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2205 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2215 /* Create a new packed object */
2217 SWIGRUNTIMEINLINE PyObject
*
2218 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2219 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2222 /* -----------------------------------------------------------------------------*
2224 * -----------------------------------------------------------------------------*/
2226 #ifdef SWIG_LINK_RUNTIME
2227 void *SWIG_ReturnGlobalTypeList(void *);
2230 SWIGRUNTIME swig_module_info
*
2231 SWIG_Python_GetModule(void) {
2232 static void *type_pointer
= (void *)0;
2233 /* first check if module already created */
2234 if (!type_pointer
) {
2235 #ifdef SWIG_LINK_RUNTIME
2236 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2238 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2239 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2240 if (PyErr_Occurred()) {
2242 type_pointer
= (void *)0;
2246 return (swig_module_info
*) type_pointer
;
2249 #if PY_MAJOR_VERSION < 2
2250 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2251 is copied out of Python/modsupport.c in python version 2.3.4 */
2253 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2256 if (!PyModule_Check(m
)) {
2257 PyErr_SetString(PyExc_TypeError
,
2258 "PyModule_AddObject() needs module as first arg");
2262 PyErr_SetString(PyExc_TypeError
,
2263 "PyModule_AddObject() needs non-NULL value");
2267 dict
= PyModule_GetDict(m
);
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2271 PyModule_GetName(m
));
2274 if (PyDict_SetItemString(dict
, name
, o
))
2282 SWIG_Python_DestroyModule(void *vptr
)
2284 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2285 swig_type_info
**types
= swig_module
->types
;
2287 for (i
=0; i
< swig_module
->size
; ++i
) {
2288 swig_type_info
*ty
= types
[i
];
2290 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2291 if (data
) PySwigClientData_Del(data
);
2294 Py_DECREF(SWIG_This());
2298 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2299 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2301 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2302 swig_empty_runtime_method_table
);
2303 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2304 if (pointer
&& module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2307 Py_XDECREF(pointer
);
2311 /* The python cached type query */
2312 SWIGRUNTIME PyObject
*
2313 SWIG_Python_TypeCache() {
2314 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2318 SWIGRUNTIME swig_type_info
*
2319 SWIG_Python_TypeQuery(const char *type
)
2321 PyObject
*cache
= SWIG_Python_TypeCache();
2322 PyObject
*key
= PyString_FromString(type
);
2323 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2324 swig_type_info
*descriptor
;
2326 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2328 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2329 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2331 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2332 PyDict_SetItem(cache
, key
, obj
);
2341 For backward compatibility only
2343 #define SWIG_POINTER_EXCEPTION 0
2344 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2348 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2350 if (PyErr_Occurred()) {
2352 PyObject
*value
= 0;
2353 PyObject
*traceback
= 0;
2354 PyErr_Fetch(&type
, &value
, &traceback
);
2356 PyObject
*old_str
= PyObject_Str(value
);
2360 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2362 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2373 SWIG_Python_ArgFail(int argnum
)
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2378 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2379 return SWIG_Python_AddErrMesg(mesg
, 1);
2385 SWIGRUNTIMEINLINE
const char *
2386 PySwigObject_GetDesc(PyObject
*self
)
2388 PySwigObject
*v
= (PySwigObject
*)self
;
2389 swig_type_info
*ty
= v
? v
->ty
: 0;
2390 return ty
? ty
->str
: (char*)"";
2394 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2397 #if defined(SWIG_COBJECT_TYPES)
2398 if (obj
&& PySwigObject_Check(obj
)) {
2399 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2401 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2408 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2410 PyObject
*str
= PyObject_Str(obj
);
2411 const char *cstr
= str
? PyString_AsString(str
) : 0;
2413 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2416 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2423 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2425 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2430 /* Convert a pointer value, signal an exception on a type mismatch */
2432 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2434 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2436 if (flags
& SWIG_POINTER_EXCEPTION
) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2438 SWIG_Python_ArgFail(argnum
);
2454 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2456 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2460 /* -------- TYPES TABLE (BEGIN) -------- */
2462 #define SWIGTYPE_p_buffer swig_types[0]
2463 #define SWIGTYPE_p_char swig_types[1]
2464 #define SWIGTYPE_p_form_ops_t swig_types[2]
2465 #define SWIGTYPE_p_int swig_types[3]
2466 #define SWIGTYPE_p_long swig_types[4]
2467 #define SWIGTYPE_p_unsigned_char swig_types[5]
2468 #define SWIGTYPE_p_unsigned_int swig_types[6]
2469 #define SWIGTYPE_p_unsigned_long swig_types[7]
2470 #define SWIGTYPE_p_wxANIHandler swig_types[8]
2471 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[9]
2472 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2473 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2474 #define SWIGTYPE_p_wxAppTraits swig_types[12]
2475 #define SWIGTYPE_p_wxArrayString swig_types[13]
2476 #define SWIGTYPE_p_wxBMPHandler swig_types[14]
2477 #define SWIGTYPE_p_wxBitmap swig_types[15]
2478 #define SWIGTYPE_p_wxBoxSizer swig_types[16]
2479 #define SWIGTYPE_p_wxButton swig_types[17]
2480 #define SWIGTYPE_p_wxCURHandler swig_types[18]
2481 #define SWIGTYPE_p_wxCaret swig_types[19]
2482 #define SWIGTYPE_p_wxChildFocusEvent swig_types[20]
2483 #define SWIGTYPE_p_wxCloseEvent swig_types[21]
2484 #define SWIGTYPE_p_wxColour swig_types[22]
2485 #define SWIGTYPE_p_wxCommandEvent swig_types[23]
2486 #define SWIGTYPE_p_wxContextMenuEvent swig_types[24]
2487 #define SWIGTYPE_p_wxControl swig_types[25]
2488 #define SWIGTYPE_p_wxControlWithItems swig_types[26]
2489 #define SWIGTYPE_p_wxCursor swig_types[27]
2490 #define SWIGTYPE_p_wxDC swig_types[28]
2491 #define SWIGTYPE_p_wxDateEvent swig_types[29]
2492 #define SWIGTYPE_p_wxDateTime swig_types[30]
2493 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[31]
2494 #define SWIGTYPE_p_wxDropFilesEvent swig_types[32]
2495 #define SWIGTYPE_p_wxDuplexMode swig_types[33]
2496 #define SWIGTYPE_p_wxEraseEvent swig_types[34]
2497 #define SWIGTYPE_p_wxEvent swig_types[35]
2498 #define SWIGTYPE_p_wxEventLoop swig_types[36]
2499 #define SWIGTYPE_p_wxEventLoopActivator swig_types[37]
2500 #define SWIGTYPE_p_wxEvtHandler swig_types[38]
2501 #define SWIGTYPE_p_wxFSFile swig_types[39]
2502 #define SWIGTYPE_p_wxFileSystem swig_types[40]
2503 #define SWIGTYPE_p_wxFileSystemHandler swig_types[41]
2504 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2505 #define SWIGTYPE_p_wxFocusEvent swig_types[43]
2506 #define SWIGTYPE_p_wxFont swig_types[44]
2507 #define SWIGTYPE_p_wxFrame swig_types[45]
2508 #define SWIGTYPE_p_wxGBPosition swig_types[46]
2509 #define SWIGTYPE_p_wxGBSizerItem swig_types[47]
2510 #define SWIGTYPE_p_wxGBSpan swig_types[48]
2511 #define SWIGTYPE_p_wxGIFHandler swig_types[49]
2512 #define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2513 #define SWIGTYPE_p_wxGridSizer swig_types[51]
2514 #define SWIGTYPE_p_wxICOHandler swig_types[52]
2515 #define SWIGTYPE_p_wxIconizeEvent swig_types[53]
2516 #define SWIGTYPE_p_wxIdleEvent swig_types[54]
2517 #define SWIGTYPE_p_wxImage swig_types[55]
2518 #define SWIGTYPE_p_wxImageHandler swig_types[56]
2519 #define SWIGTYPE_p_wxImageHistogram swig_types[57]
2520 #define SWIGTYPE_p_wxImage_HSVValue swig_types[58]
2521 #define SWIGTYPE_p_wxImage_RGBValue swig_types[59]
2522 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
2523 #define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
2524 #define SWIGTYPE_p_wxInputStream swig_types[62]
2525 #define SWIGTYPE_p_wxInternetFSHandler swig_types[63]
2526 #define SWIGTYPE_p_wxItemContainer swig_types[64]
2527 #define SWIGTYPE_p_wxJPEGHandler swig_types[65]
2528 #define SWIGTYPE_p_wxKeyEvent swig_types[66]
2529 #define SWIGTYPE_p_wxLayoutConstraints swig_types[67]
2530 #define SWIGTYPE_p_wxMaximizeEvent swig_types[68]
2531 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[69]
2532 #define SWIGTYPE_p_wxMenu swig_types[70]
2533 #define SWIGTYPE_p_wxMenuBar swig_types[71]
2534 #define SWIGTYPE_p_wxMenuBarBase swig_types[72]
2535 #define SWIGTYPE_p_wxMenuEvent swig_types[73]
2536 #define SWIGTYPE_p_wxMenuItem swig_types[74]
2537 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[75]
2538 #define SWIGTYPE_p_wxMouseEvent swig_types[76]
2539 #define SWIGTYPE_p_wxMoveEvent swig_types[77]
2540 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[78]
2541 #define SWIGTYPE_p_wxNcPaintEvent swig_types[79]
2542 #define SWIGTYPE_p_wxNotifyEvent swig_types[80]
2543 #define SWIGTYPE_p_wxObject swig_types[81]
2544 #define SWIGTYPE_p_wxOutputStream swig_types[82]
2545 #define SWIGTYPE_p_wxPCXHandler swig_types[83]
2546 #define SWIGTYPE_p_wxPNGHandler swig_types[84]
2547 #define SWIGTYPE_p_wxPNMHandler swig_types[85]
2548 #define SWIGTYPE_p_wxPaintEvent swig_types[86]
2549 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[87]
2550 #define SWIGTYPE_p_wxPaperSize swig_types[88]
2551 #define SWIGTYPE_p_wxPoint swig_types[89]
2552 #define SWIGTYPE_p_wxPoint2D swig_types[90]
2553 #define SWIGTYPE_p_wxPropagateOnce swig_types[91]
2554 #define SWIGTYPE_p_wxPropagationDisabler swig_types[92]
2555 #define SWIGTYPE_p_wxPyApp swig_types[93]
2556 #define SWIGTYPE_p_wxPyCommandEvent swig_types[94]
2557 #define SWIGTYPE_p_wxPyDropTarget swig_types[95]
2558 #define SWIGTYPE_p_wxPyEvent swig_types[96]
2559 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[97]
2560 #define SWIGTYPE_p_wxPyImageHandler swig_types[98]
2561 #define SWIGTYPE_p_wxPyInputStream swig_types[99]
2562 #define SWIGTYPE_p_wxPySizer swig_types[100]
2563 #define SWIGTYPE_p_wxPyValidator swig_types[101]
2564 #define SWIGTYPE_p_wxQuantize swig_types[102]
2565 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[103]
2566 #define SWIGTYPE_p_wxRealPoint swig_types[104]
2567 #define SWIGTYPE_p_wxRect swig_types[105]
2568 #define SWIGTYPE_p_wxRegion swig_types[106]
2569 #define SWIGTYPE_p_wxScrollEvent swig_types[107]
2570 #define SWIGTYPE_p_wxScrollWinEvent swig_types[108]
2571 #define SWIGTYPE_p_wxSetCursorEvent swig_types[109]
2572 #define SWIGTYPE_p_wxShowEvent swig_types[110]
2573 #define SWIGTYPE_p_wxSize swig_types[111]
2574 #define SWIGTYPE_p_wxSizeEvent swig_types[112]
2575 #define SWIGTYPE_p_wxSizer swig_types[113]
2576 #define SWIGTYPE_p_wxSizerItem swig_types[114]
2577 #define SWIGTYPE_p_wxStaticBox swig_types[115]
2578 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[116]
2579 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[117]
2580 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[118]
2581 #define SWIGTYPE_p_wxTIFFHandler swig_types[119]
2582 #define SWIGTYPE_p_wxToolTip swig_types[120]
2583 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[121]
2584 #define SWIGTYPE_p_wxValidator swig_types[122]
2585 #define SWIGTYPE_p_wxVisualAttributes swig_types[123]
2586 #define SWIGTYPE_p_wxWindow swig_types[124]
2587 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[125]
2588 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[126]
2589 #define SWIGTYPE_p_wxXPMHandler swig_types[127]
2590 #define SWIGTYPE_p_wxZipFSHandler swig_types[128]
2591 static swig_type_info
*swig_types
[130];
2592 static swig_module_info swig_module
= {swig_types
, 129, 0, 0, 0, 0};
2593 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2594 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2596 /* -------- TYPES TABLE (END) -------- */
2598 #if (PY_VERSION_HEX <= 0x02000000)
2599 # if !defined(SWIG_PYTHON_CLASSIC)
2600 # error "This python version requires to use swig with the '-classic' option"
2603 #if (PY_VERSION_HEX <= 0x02020000)
2604 # error "This python version requires to use swig with the '-nomodern' option"
2606 #if (PY_VERSION_HEX <= 0x02020000)
2607 # error "This python version requires to use swig with the '-nomodernargs' option"
2610 # error "This python version requires to use swig with the '-nofastunpack' option"
2613 /*-----------------------------------------------
2614 @(target):= _core_.so
2615 ------------------------------------------------*/
2616 #define SWIG_init init_core_
2618 #define SWIG_name "_core_"
2620 #define SWIGVERSION 0x010329
2623 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2624 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2627 #include <stdexcept>
2631 class PyObject_ptr
{
2636 PyObject_ptr() :_obj(0)
2640 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2645 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2647 if (initial_ref
) Py_XINCREF(_obj
);
2650 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2652 Py_XINCREF(item
._obj
);
2663 operator PyObject
*() const
2668 PyObject
*operator->() const
2677 struct PyObject_var
: PyObject_ptr
{
2678 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2680 PyObject_var
& operator = (PyObject
* obj
)
2690 #include "wx/wxPython/wxPython_int.h"
2691 #include "wx/wxPython/pyclasses.h"
2694 #ifndef wxPyUSE_EXPORT
2695 // Helper functions for dealing with SWIG objects and such. These are
2696 // located here so they know about the SWIG types and functions declared
2697 // in the wrapper code.
2699 #include <wx/hashmap.h>
2700 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
2703 // Maintains a hashmap of className to swig_type_info pointers. Given the
2704 // name of a class either looks up the type info in the cache, or scans the
2705 // SWIG tables for it.
2706 extern PyObject
* wxPyPtrTypeMap
;
2708 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
2710 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
2712 if (typeInfoCache
== NULL
)
2713 typeInfoCache
= new wxPyTypeInfoHashMap
;
2715 wxString
name(className
);
2716 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
2719 // it wasn't in the cache, so look it up from SWIG
2720 name
.Append(wxT(" *"));
2721 swigType
= SWIG_TypeQuery(name
.mb_str());
2723 // if it still wasn't found, try looking for a mapped name
2728 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
2729 (char*)(const char*)name
.mbc_str())) != NULL
) {
2730 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
2731 name
.Append(wxT(" *"));
2732 swigType
= SWIG_TypeQuery(name
.mb_str());
2736 // and add it to the map if found
2737 (*typeInfoCache
)[className
] = swigType
;
2744 // Check if a class name is a type known to SWIG
2745 bool wxPyCheckSwigType(const wxChar
* className
) {
2747 swig_type_info
* swigType
= wxPyFindSwigType(className
);
2748 return swigType
!= NULL
;
2752 // Given a pointer to a C++ object and a class name, construct a Python proxy
2754 PyObject
* wxPyConstructObject(void* ptr
,
2755 const wxChar
* className
,
2758 swig_type_info
* swigType
= wxPyFindSwigType(className
);
2759 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
2761 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
2765 // Extract a pointer to the wrapped C++ object from a Python proxy object.
2766 // Ensures that the proxy object is of the specified (or derived) type. If
2767 // not able to perform the conversion then a Python exception is set and the
2768 // error should be handled properly in the caller. Returns True on success.
2769 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
2770 const wxChar
* className
) {
2772 swig_type_info
* swigType
= wxPyFindSwigType(className
);
2773 wxCHECK_MSG(swigType
!= NULL
, false, wxT("Unknown type in wxPyConvertSwigPtr"));
2775 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
2780 // Make a SWIGified pointer object suitable for a .this attribute
2781 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
2783 PyObject
* robj
= NULL
;
2785 swig_type_info
* swigType
= wxPyFindSwigType(className
);
2786 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyMakeSwigPtr"));
2788 robj
= PySwigObject_New(ptr
, swigType
, 0);
2793 // Python's PyInstance_Check does not return True for instances of new-style
2794 // classes. This should get close enough for both new and old classes but I
2795 // should re-evaluate the need for doing instance checks...
2796 bool wxPyInstance_Check(PyObject
* obj
) {
2797 return PyObject_HasAttrString(obj
, "__class__") != 0;
2801 // This one checks if the object is an instance of a SWIG proxy class (it has
2802 // a .this attribute, and the .this attribute is a PySwigObject.)
2803 bool wxPySwigInstance_Check(PyObject
* obj
) {
2804 static PyObject
* this_str
= NULL
;
2805 if (this_str
== NULL
)
2806 this_str
= PyString_FromString("this");
2808 PyObject
* this_attr
= PyObject_GetAttr(obj
, this_str
);
2810 bool retval
= (PySwigObject_Check(this_attr
) != 0);
2811 Py_DECREF(this_attr
);
2820 // Export a C API in a struct. Other modules will be able to load this from
2821 // the wx._core_ module and will then have safe access to these functions,
2822 // even if they are located in another shared library.
2823 static wxPyCoreAPI API
= {
2826 wxPyConstructObject
,
2830 wxPyBeginAllowThreads
,
2831 wxPyEndAllowThreads
,
2832 wxPyBeginBlockThreads
,
2833 wxPyEndBlockThreads
,
2845 wxPoint_LIST_helper
,
2846 wxBitmap_LIST_helper
,
2847 wxString_LIST_helper
,
2848 wxAcceleratorEntry_LIST_helper
,
2857 wxPySimple_typecheck
,
2860 wxPyCBH_setCallbackInfo
,
2861 wxPyCBH_findCallback
,
2862 wxPyCBH_callCallback
,
2863 wxPyCBH_callCallbackObj
,
2869 wxPy2int_seq_helper
,
2870 wxPy4int_seq_helper
,
2871 wxArrayString2PyList_helper
,
2872 wxArrayInt2PyList_helper
,
2874 wxPyClientData_dtor
,
2876 wxPyOORClientData_dtor
,
2878 wxPyCBInputStream_create
,
2879 wxPyCBInputStream_copy
,
2882 wxPySwigInstance_Check
,
2891 #if !WXWIN_COMPATIBILITY_2_4
2892 #define wxHIDE_READONLY 0
2896 #define SWIG_From_long PyInt_FromLong
2899 SWIGINTERNINLINE PyObject
*
2900 SWIG_From_int (int value
)
2902 return SWIG_From_long (value
);
2905 static const wxString
wxPyEmptyString(wxEmptyString
);
2906 SWIGINTERN wxString
wxObject_GetClassName(wxObject
*self
){
2907 return self
->GetClassInfo()->GetClassName();
2909 SWIGINTERN
void wxObject_Destroy(wxObject
*self
){
2914 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
2920 # define LLONG_MIN LONG_LONG_MIN
2923 # define LLONG_MAX LONG_LONG_MAX
2926 # define ULLONG_MAX ULONG_LONG_MAX
2931 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2933 if (PyNumber_Check(obj
)) {
2934 if (val
) *val
= PyInt_AsLong(obj
);
2937 return SWIG_TypeError
;
2942 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2945 int res
= SWIG_AsVal_long (obj
, &v
);
2946 if (SWIG_IsOK(res
)) {
2947 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2948 return SWIG_OverflowError
;
2950 if (val
) *val
= static_cast< int >(v
);
2956 SWIGINTERN
bool wxSize___eq__(wxSize
*self
,PyObject
*other
){
2957 wxSize temp
, *obj
= &temp
;
2958 if ( other
== Py_None
) return false;
2959 if ( ! wxSize_helper(other
, &obj
) ) {
2963 return self
->operator==(*obj
);
2965 SWIGINTERN
bool wxSize___ne__(wxSize
*self
,PyObject
*other
){
2966 wxSize temp
, *obj
= &temp
;
2967 if ( other
== Py_None
) return true;
2968 if ( ! wxSize_helper(other
, &obj
)) {
2972 return self
->operator!=(*obj
);
2974 SWIGINTERN PyObject
*wxSize_Get(wxSize
*self
){
2975 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2976 PyObject
* tup
= PyTuple_New(2);
2977 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
2978 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
2979 wxPyEndBlockThreads(blocked
);
2984 SWIG_AsVal_double (PyObject
*obj
, double* val
)
2986 if (PyNumber_Check(obj
)) {
2987 if (val
) *val
= PyFloat_AsDouble(obj
);
2990 return SWIG_TypeError
;
2994 #define SWIG_From_double PyFloat_FromDouble
2996 SWIGINTERN
bool wxRealPoint___eq__(wxRealPoint
*self
,PyObject
*other
){
2997 wxRealPoint temp
, *obj
= &temp
;
2998 if ( other
== Py_None
) return false;
2999 if ( ! wxRealPoint_helper(other
, &obj
) ) {
3003 return self
->operator==(*obj
);
3005 SWIGINTERN
bool wxRealPoint___ne__(wxRealPoint
*self
,PyObject
*other
){
3006 wxRealPoint temp
, *obj
= &temp
;
3007 if ( other
== Py_None
) return true;
3008 if ( ! wxRealPoint_helper(other
, &obj
)) {
3012 return self
->operator!=(*obj
);
3014 SWIGINTERN
void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
3018 SWIGINTERN PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
3019 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3020 PyObject
* tup
= PyTuple_New(2);
3021 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
3022 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
3023 wxPyEndBlockThreads(blocked
);
3026 SWIGINTERN
bool wxPoint___eq__(wxPoint
*self
,PyObject
*other
){
3027 wxPoint temp
, *obj
= &temp
;
3028 if ( other
== Py_None
) return false;
3029 if ( ! wxPoint_helper(other
, &obj
) ) {
3033 return self
->operator==(*obj
);
3035 SWIGINTERN
bool wxPoint___ne__(wxPoint
*self
,PyObject
*other
){
3036 wxPoint temp
, *obj
= &temp
;
3037 if ( other
== Py_None
) return true;
3038 if ( ! wxPoint_helper(other
, &obj
)) {
3042 return self
->operator!=(*obj
);
3044 SWIGINTERN
void wxPoint_Set(wxPoint
*self
,long x
,long y
){
3048 SWIGINTERN PyObject
*wxPoint_Get(wxPoint
*self
){
3049 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3050 PyObject
* tup
= PyTuple_New(2);
3051 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
3052 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
3053 wxPyEndBlockThreads(blocked
);
3056 SWIGINTERN
bool wxRect___eq__(wxRect
*self
,PyObject
*other
){
3057 wxRect temp
, *obj
= &temp
;
3058 if ( other
== Py_None
) return false;
3059 if ( ! wxRect_helper(other
, &obj
) ) {
3063 return self
->operator==(*obj
);
3065 SWIGINTERN
bool wxRect___ne__(wxRect
*self
,PyObject
*other
){
3066 wxRect temp
, *obj
= &temp
;
3067 if ( other
== Py_None
) return true;
3068 if ( ! wxRect_helper(other
, &obj
)) {
3072 return self
->operator!=(*obj
);
3074 SWIGINTERN
void wxRect_Set(wxRect
*self
,int x
=0,int y
=0,int width
=0,int height
=0){
3077 self
->width
= width
;
3078 self
->height
= height
;
3080 SWIGINTERN PyObject
*wxRect_Get(wxRect
*self
){
3081 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3082 PyObject
* tup
= PyTuple_New(4);
3083 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
3084 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
3085 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
3086 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
3087 wxPyEndBlockThreads(blocked
);
3091 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
3094 wxRect
dest(0,0,0,0);
3097 reg1
.Intersect(reg2
);
3098 dest
= reg1
.GetBox();
3100 if (dest
!= wxRect(0,0,0,0)) {
3101 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3102 wxRect
* newRect
= new wxRect(dest
);
3103 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), true);
3104 wxPyEndBlockThreads(blocked
);
3111 SWIGINTERN
bool wxPoint2D___eq__(wxPoint2D
*self
,PyObject
*other
){
3112 wxPoint2D temp
, *obj
= &temp
;
3113 if ( other
== Py_None
) return false;
3114 if ( ! wxPoint2D_helper(other
, &obj
) ) {
3118 return self
->operator==(*obj
);
3120 SWIGINTERN
bool wxPoint2D___ne__(wxPoint2D
*self
,PyObject
*other
){
3121 wxPoint2D temp
, *obj
= &temp
;
3122 if ( other
== Py_None
) return true;
3123 if ( ! wxPoint2D_helper(other
, &obj
)) {
3127 return self
->operator!=(*obj
);
3129 SWIGINTERN
void wxPoint2D_Set(wxPoint2D
*self
,double x
=0,double y
=0){
3133 SWIGINTERN PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
3134 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3135 PyObject
* tup
= PyTuple_New(2);
3136 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
3137 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
3138 wxPyEndBlockThreads(blocked
);
3142 #include "wx/wxPython/pyistream.h"
3144 SWIGINTERN wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
3145 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
3147 return new wxPyInputStream(wxis
);
3152 SWIGINTERN swig_type_info
*
3153 SWIG_pchar_descriptor()
3155 static int init
= 0;
3156 static swig_type_info
* info
= 0;
3158 info
= SWIG_TypeQuery("_p_char");
3165 SWIGINTERNINLINE PyObject
*
3166 SWIG_FromCharPtrAndSize(const char* carray
, size_t size
)
3169 if (size
> INT_MAX
) {
3170 swig_type_info
* pchar_descriptor
= SWIG_pchar_descriptor();
3171 return pchar_descriptor
?
3172 SWIG_NewPointerObj(const_cast< char * >(carray
), pchar_descriptor
, 0) : SWIG_Py_Void();
3174 return PyString_FromStringAndSize(carray
, static_cast< int >(size
));
3177 return SWIG_Py_Void();
3182 SWIGINTERNINLINE PyObject
*
3183 SWIG_From_char (char c
)
3185 return SWIG_FromCharPtrAndSize(&c
,1);
3189 SWIGINTERNINLINE PyObject
*
3190 SWIG_From_unsigned_SS_long (unsigned long value
)
3192 return (value
> LONG_MAX
) ?
3193 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
3197 SWIGINTERNINLINE PyObject
*
3198 SWIG_From_size_t (size_t value
)
3200 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3205 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* psize
, int *alloc
)
3207 if (PyString_Check(obj
)) {
3208 char *cstr
; int len
;
3209 PyString_AsStringAndSize(obj
, &cstr
, &len
);
3213 In python the user should not be able to modify the inner
3214 string representation. To warranty that, if you define
3215 SWIG_PYTHON_SAFE_CSTRINGS, a new/copy of the python string
3216 buffer is always returned.
3218 The default behavior is just to return the pointer value,
3221 #if defined(SWIG_PYTHON_SAFE_CSTRINGS)
3222 if (*alloc
!= SWIG_OLDOBJ
)
3224 if (*alloc
== SWIG_NEWOBJ
)
3227 *cptr
= reinterpret_cast< char* >(memcpy((new char[len
+ 1]), cstr
, sizeof(char)*(len
+ 1)));
3228 *alloc
= SWIG_NEWOBJ
;
3232 *alloc
= SWIG_OLDOBJ
;
3235 *cptr
= PyString_AsString(obj
);
3238 if (psize
) *psize
= len
+ 1;
3241 swig_type_info
* pchar_descriptor
= SWIG_pchar_descriptor();
3242 if (pchar_descriptor
) {
3244 if (SWIG_ConvertPtr(obj
, &vptr
, pchar_descriptor
, 0) == SWIG_OK
) {
3245 if (cptr
) *cptr
= (char *) vptr
;
3246 if (psize
) *psize
= vptr
? (strlen((char *)vptr
) + 1) : 0;
3247 if (alloc
) *alloc
= SWIG_OLDOBJ
;
3252 return SWIG_TypeError
;
3257 SWIG_AsCharArray(PyObject
* obj
, char *val
, size_t size
)
3259 char* cptr
= 0; size_t csize
= 0; int alloc
= SWIG_OLDOBJ
;
3260 int res
= SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
, &alloc
);
3261 if (SWIG_IsOK(res
)) {
3262 if ((csize
== size
+ 1) && cptr
&& !(cptr
[csize
-1])) --csize
;
3263 if (csize
<= size
) {
3265 if (csize
) memcpy(val
, cptr
, csize
*sizeof(char));
3266 if (csize
< size
) memset(val
+ csize
, 0, (size
- csize
)*sizeof(char));
3268 if (alloc
== SWIG_NEWOBJ
) {
3270 res
= SWIG_DelNewMask(res
);
3274 if (alloc
== SWIG_NEWOBJ
) delete[] cptr
;
3276 return SWIG_TypeError
;
3281 SWIG_AsVal_char (PyObject
* obj
, char *val
)
3283 int res
= SWIG_AsCharArray(obj
, val
, 1);
3284 if (!SWIG_IsOK(res
)) {
3286 res
= SWIG_AddCast(SWIG_AsVal_long (obj
, &v
));
3287 if (SWIG_IsOK(res
)) {
3288 if ((CHAR_MIN
<= v
) && (v
<= CHAR_MAX
)) {
3289 if (val
) *val
= static_cast< char >(v
);
3291 res
= SWIG_OverflowError
;
3298 SWIGINTERN
void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
3299 // We use only strings for the streams, not unicode
3300 PyObject
* str
= PyObject_Str(obj
);
3302 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
3305 self
->Write(PyString_AS_STRING(str
),
3306 PyString_GET_SIZE(str
));
3310 #include "wx/wxPython/pyistream.h"
3313 class wxPyFileSystemHandler
: public wxFileSystemHandler
3316 wxPyFileSystemHandler() : wxFileSystemHandler() {}
3318 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
3319 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
3320 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
3321 DEC_PYCALLBACK_STRING__pure(FindNext
);
3323 wxString
GetProtocol(const wxString
& location
) {
3324 return wxFileSystemHandler::GetProtocol(location
);
3327 wxString
GetLeftLocation(const wxString
& location
) {
3328 return wxFileSystemHandler::GetLeftLocation(location
);
3331 wxString
GetAnchor(const wxString
& location
) {
3332 return wxFileSystemHandler::GetAnchor(location
);
3335 wxString
GetRightLocation(const wxString
& location
) {
3336 return wxFileSystemHandler::GetRightLocation(location
);
3339 wxString
GetMimeTypeFromExt(const wxString
& location
) {
3340 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
3347 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
3348 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
3349 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
3350 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
3354 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
3356 if (obj
== Py_True
) {
3357 if (val
) *val
= true;
3359 } else if (obj
== Py_False
) {
3360 if (val
) *val
= false;
3364 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
3365 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
3370 SWIGINTERN wxString
wxFileSystem_URLToFileName(wxString
const &url
){
3371 wxFileName fname
= wxFileSystem::URLToFileName(url
);
3372 return fname
.GetFullPath();
3375 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
3378 wxMemoryFSHandler::AddFile(filename
, image
, type
);
3381 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
3382 const wxBitmap
& bitmap
,
3384 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
3387 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
3389 if (! PyString_Check(data
)) {
3390 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
3391 "Expected string object"));
3395 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3396 void* ptr
= (void*)PyString_AsString(data
);
3397 size_t size
= PyString_Size(data
);
3398 wxPyEndBlockThreads(blocked
);
3400 wxMemoryFSHandler::AddFile(filename
, ptr
, size
);
3404 #include "wx/wxPython/pyistream.h"
3408 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
3411 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
3412 return SWIG_TypeError
;
3415 *val
= (unsigned long)v
;
3421 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
3424 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
3425 if (SWIG_IsOK(res
)) {
3426 if ((v
> UCHAR_MAX
)) {
3427 return SWIG_OverflowError
;
3429 if (val
) *val
= static_cast< unsigned char >(v
);
3436 SWIGINTERNINLINE PyObject
*
3437 SWIG_From_unsigned_SS_char (unsigned char value
)
3439 return SWIG_From_unsigned_SS_long (value
);
3442 SWIGINTERN
unsigned long wxImageHistogram_GetCount(wxImageHistogram
*self
,unsigned long key
){
3443 wxImageHistogramEntry e
= (*self
)[key
];
3446 SWIGINTERN
unsigned long wxImageHistogram_GetCountRGB(wxImageHistogram
*self
,byte r
,byte g
,byte b
){
3447 unsigned long key
= wxImageHistogram::MakeKey(r
, g
, b
);
3448 wxImageHistogramEntry e
= (*self
)[key
];
3451 SWIGINTERN
unsigned long wxImageHistogram_GetCountColour(wxImageHistogram
*self
,wxColour
const &colour
){
3452 unsigned long key
= wxImageHistogram::MakeKey(colour
.Red(),
3455 wxImageHistogramEntry e
= (*self
)[key
];
3459 typedef unsigned char* buffer
;
3462 // Pull the nested class out to the top level for SWIG's sake
3463 #define wxImage_RGBValue wxImage::RGBValue
3464 #define wxImage_HSVValue wxImage::HSVValue
3466 SWIGINTERN wxImage
*new_wxImage(int width
=0,int height
=0,bool clear
=true){
3467 if (width
> 0 && height
> 0)
3468 return new wxImage(width
, height
, clear
);
3472 SWIGINTERN wxImage
*new_wxImage(wxBitmap
const &bitmap
){
3473 return new wxImage(bitmap
.ConvertToImage());
3475 SWIGINTERN wxImage
*new_wxImage(int width
,int height
,buffer data
,int DATASIZE
){
3476 if (DATASIZE
!= width
*height
*3) {
3477 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3481 // Copy the source data so the wxImage can clean it up later
3482 buffer copy
= (buffer
)malloc(DATASIZE
);
3484 wxPyBLOCK_THREADS(PyErr_NoMemory());
3487 memcpy(copy
, data
, DATASIZE
);
3488 return new wxImage(width
, height
, copy
, false);
3490 SWIGINTERN wxImage
*new_wxImage(int width
,int height
,buffer data
,int DATASIZE
,buffer alpha
,int ALPHASIZE
){
3491 if (DATASIZE
!= width
*height
*3) {
3492 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3495 if (ALPHASIZE
!= width
*height
) {
3496 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3500 // Copy the source data so the wxImage can clean it up later
3501 buffer dcopy
= (buffer
)malloc(DATASIZE
);
3502 if (dcopy
== NULL
) {
3503 wxPyBLOCK_THREADS(PyErr_NoMemory());
3506 memcpy(dcopy
, data
, DATASIZE
);
3508 buffer acopy
= (buffer
)malloc(ALPHASIZE
);
3509 if (acopy
== NULL
) {
3510 wxPyBLOCK_THREADS(PyErr_NoMemory());
3513 memcpy(acopy
, alpha
, ALPHASIZE
);
3515 return new wxImage(width
, height
, dcopy
, acopy
, false);
3517 SWIGINTERN wxSize
wxImage_GetSize(wxImage
*self
){
3518 wxSize
size(self
->GetWidth(), self
->GetHeight());
3521 SWIGINTERN PyObject
*wxImage_GetData(wxImage
*self
){
3522 buffer data
= self
->GetData();
3523 int len
= self
->GetWidth() * self
->GetHeight() * 3;
3525 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
3528 SWIGINTERN
void wxImage_SetData(wxImage
*self
,buffer data
,int DATASIZE
){
3529 if (DATASIZE
!= self
->GetWidth() * self
->GetHeight() * 3) {
3530 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3533 buffer copy
= (buffer
)malloc(DATASIZE
);
3535 wxPyBLOCK_THREADS(PyErr_NoMemory());
3538 memcpy(copy
, data
, DATASIZE
);
3539 self
->SetData(copy
, false);
3540 // wxImage takes ownership of copy...
3542 SWIGINTERN PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
3543 buffer data
= self
->GetData();
3544 int len
= self
->GetWidth() * self
->GetHeight() * 3;
3546 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
3549 SWIGINTERN
void wxImage_SetDataBuffer(wxImage
*self
,buffer data
,int DATASIZE
){
3550 if (DATASIZE
!= self
->GetWidth() * self
->GetHeight() * 3) {
3551 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3554 self
->SetData(data
, true);
3556 SWIGINTERN PyObject
*wxImage_GetAlphaData(wxImage
*self
){
3557 buffer data
= self
->GetAlpha();
3561 int len
= self
->GetWidth() * self
->GetHeight();
3563 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
3567 SWIGINTERN
void wxImage_SetAlphaData(wxImage
*self
,buffer alpha
,int ALPHASIZE
){
3568 if (ALPHASIZE
!= self
->GetWidth() * self
->GetHeight()) {
3569 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3572 buffer acopy
= (buffer
)malloc(ALPHASIZE
);
3573 if (acopy
== NULL
) {
3574 wxPyBLOCK_THREADS(PyErr_NoMemory());
3577 memcpy(acopy
, alpha
, ALPHASIZE
);
3578 self
->SetAlpha(acopy
, false);
3579 // wxImage takes ownership of acopy...
3581 SWIGINTERN PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
3582 buffer data
= self
->GetAlpha();
3583 int len
= self
->GetWidth() * self
->GetHeight();
3585 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
3588 SWIGINTERN
void wxImage_SetAlphaBuffer(wxImage
*self
,buffer alpha
,int ALPHASIZE
){
3589 if (ALPHASIZE
!= self
->GetWidth() * self
->GetHeight()) {
3590 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3593 self
->SetAlpha(alpha
, true);
3595 SWIGINTERN PyObject
*wxImage_GetHandlers(){
3596 wxList
& list
= wxImage::GetHandlers();
3597 return wxPy_ConvertList(&list
);
3599 SWIGINTERN wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
,int depth
=-1){
3600 wxBitmap
bitmap(*self
, depth
);
3603 SWIGINTERN wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,byte red
,byte green
,byte blue
){
3604 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
3605 wxBitmap
bitmap( mono
, 1 );
3608 static const wxString
wxPyIMAGE_OPTION_FILENAME(wxIMAGE_OPTION_FILENAME
);
3609 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
3610 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
3611 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
3612 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
3613 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONX(wxIMAGE_OPTION_RESOLUTIONX
);
3614 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONY(wxIMAGE_OPTION_RESOLUTIONY
);
3615 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
3616 static const wxString
wxPyIMAGE_OPTION_QUALITY(wxIMAGE_OPTION_QUALITY
);
3617 static const wxString
wxPyIMAGE_OPTION_BITSPERSAMPLE(wxIMAGE_OPTION_BITSPERSAMPLE
);
3618 static const wxString
wxPyIMAGE_OPTION_SAMPLESPERPIXEL(wxIMAGE_OPTION_SAMPLESPERPIXEL
);
3619 static const wxString
wxPyIMAGE_OPTION_COMPRESSION(wxIMAGE_OPTION_COMPRESSION
);
3620 static const wxString
wxPyIMAGE_OPTION_IMAGEDESCRIPTOR(wxIMAGE_OPTION_IMAGEDESCRIPTOR
);
3621 static const wxString
wxPyIMAGE_OPTION_PNG_FORMAT(wxIMAGE_OPTION_PNG_FORMAT
);
3622 static const wxString
wxPyIMAGE_OPTION_PNG_BITDEPTH(wxIMAGE_OPTION_PNG_BITDEPTH
);
3624 #include <wx/quantize.h>
3626 SWIGINTERN
bool wxQuantize_Quantize(wxImage
const &src
,wxImage
&dest
,int desiredNoColours
=236,int flags
=wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
){
3627 return wxQuantize::Quantize(src
, dest
,
3630 NULL
, // eightBitData
3633 SWIGINTERN
void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
3634 if (PyCallable_Check(func
)) {
3635 self
->Connect(id
, lastId
, eventType
,
3636 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
3637 new wxPyCallback(func
));
3639 else if (func
== Py_None
) {
3640 self
->Disconnect(id
, lastId
, eventType
,
3641 (wxObjectEventFunction
)
3642 &wxPyCallback::EventThunker
);
3646 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
3649 SWIGINTERN
bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
=-1,wxEventType eventType
=wxEVT_NULL
){
3650 return self
->Disconnect(id
, lastId
, eventType
,
3651 (wxObjectEventFunction
)
3652 &wxPyCallback::EventThunker
);
3654 SWIGINTERN
void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
,bool incref
=true){
3655 if (_self
&& _self
!= Py_None
) {
3656 self
->SetClientObject(new wxPyOORClientData(_self
, incref
));
3659 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
3661 self
->SetClientObject(NULL
); // This will delete it too
3667 #define wxEVT_HOTKEY -9999
3670 SWIGINTERN PyObject
*wxCommandEvent_GetClientData(wxCommandEvent
*self
){
3671 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject();
3673 Py_INCREF(data
->m_obj
);
3680 SWIGINTERN
void wxCommandEvent_SetClientData(wxCommandEvent
*self
,PyObject
*clientData
){
3681 wxPyClientData
* data
= new wxPyClientData(clientData
);
3682 self
->SetClientObject(data
);
3684 SWIGINTERN
int wxKeyEvent_GetUnicodeKey(wxKeyEvent
*self
){
3686 return self
->GetUnicodeKey();
3692 SWIGINTERNINLINE PyObject
*
3693 SWIG_From_unsigned_SS_int (unsigned int value
)
3695 return SWIG_From_unsigned_SS_long (value
);
3700 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
3703 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
3704 if (SWIG_IsOK(res
)) {
3705 if ((v
> UINT_MAX
)) {
3706 return SWIG_OverflowError
;
3708 if (val
) *val
= static_cast< unsigned int >(v
);
3714 SWIGINTERN
void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
3715 self
->m_size
= size
;
3717 SWIGINTERN PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
3718 int count
= self
->GetNumberOfFiles();
3719 wxString
* files
= self
->GetFiles();
3720 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3721 PyObject
* list
= PyList_New(count
);
3724 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
3725 wxPyEndBlockThreads(blocked
);
3729 for (int i
=0; i
<count
; i
++) {
3730 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
3732 wxPyEndBlockThreads(blocked
);
3737 SWIGINTERN wxPyApp
*new_wxPyApp(){
3738 wxPythonApp
= new wxPyApp();
3742 void wxApp_CleanUp() {
3747 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
3753 SWIGINTERNINLINE PyObject
*
3754 SWIG_FromCharPtr(const char *cptr
)
3756 return SWIG_FromCharPtrAndSize(cptr
, (cptr
? strlen(cptr
) : 0));
3760 #if 0 // #ifdef __WXMAC__
3762 // A dummy class that raises an exception if used...
3766 wxEventLoop() { wxPyRaiseNotImplemented(); }
3767 int Run() { return 0; }
3768 void Exit(int rc
= 0) {}
3769 bool Pending() const { return false; }
3770 bool Dispatch() { return false; }
3771 bool IsRunning() const { return false; }
3772 static wxEventLoop
*GetActive() { wxPyRaiseNotImplemented(); return NULL
; }
3773 static void SetActive(wxEventLoop
* loop
) { wxPyRaiseNotImplemented(); }
3778 #include <wx/evtloop.h>
3784 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
3785 SWIGINTERN wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
3786 SWIGINTERN
void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
3787 SWIGINTERN PyObject
*wxWindow_GetChildren(wxWindow
*self
){
3788 wxWindowList
& list
= self
->GetChildren();
3789 return wxPy_ConvertList(&list
);
3791 SWIGINTERN
bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
3793 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
3798 SWIGINTERN
bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
3805 SWIGINTERN
long wxWindow_GetHandle(wxWindow
*self
){
3806 return wxPyGetWinHandle(self
);
3808 SWIGINTERN
void wxWindow_AssociateHandle(wxWindow
*self
,long handle
){
3809 self
->AssociateHandle((WXWidget
)handle
);
3812 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
3813 return wxWindow::FindWindowById(id
, parent
);
3816 wxWindow
* wxFindWindowByName( const wxString
& name
,
3817 const wxWindow
*parent
= NULL
) {
3818 return wxWindow::FindWindowByName(name
, parent
);
3821 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
3822 const wxWindow
*parent
= NULL
) {
3823 return wxWindow::FindWindowByLabel(label
, parent
);
3828 #include <wx/msw/private.h> // to get wxGetWindowId
3832 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
3834 WXHWND hWnd
= (WXHWND
)_hWnd
;
3835 long id
= wxGetWindowId(hWnd
);
3836 wxWindow
* win
= new wxWindow
;
3838 parent
->AddChild(win
);
3839 win
->SetEventHandler(win
);
3842 win
->SubclassWin(hWnd
);
3843 win
->AdoptAttributesFromHWND();
3844 win
->SetupColours();
3847 wxPyRaiseNotImplemented();
3853 PyObject
* GetTopLevelWindows() {
3854 return wxPy_ConvertList(&wxTopLevelWindows
);
3858 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
3859 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
3860 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
3862 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
3865 SWIGINTERNINLINE
int
3866 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3869 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3870 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3874 SWIGINTERN
void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
3875 SWIGINTERN PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
3876 wxMenuItemList
& list
= self
->GetMenuItems();
3877 return wxPy_ConvertList(&list
);
3879 SWIGINTERN
void wxMenuBar_SetAutoWindowMenu(bool enable
){}
3880 SWIGINTERN
bool wxMenuBar_GetAutoWindowMenu(){ return false; }
3881 static const wxString
wxPyControlNameStr(wxControlNameStr
);
3882 SWIGINTERN
int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
=NULL
){
3884 wxPyClientData
* data
= new wxPyClientData(clientData
);
3885 return self
->Append(item
, data
);
3887 return self
->Append(item
);
3889 SWIGINTERN
int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,unsigned int pos
,PyObject
*clientData
=NULL
){
3891 wxPyClientData
* data
= new wxPyClientData(clientData
);
3892 return self
->Insert(item
, pos
, data
);
3894 return self
->Insert(item
, pos
);
3896 SWIGINTERN PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,unsigned int n
){
3897 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
3899 Py_INCREF(data
->m_obj
);
3906 SWIGINTERN
void wxItemContainer_SetClientData(wxItemContainer
*self
,unsigned int n
,PyObject
*clientData
){
3907 wxPyClientData
* data
= new wxPyClientData(clientData
);
3908 self
->SetClientObject(n
, data
);
3912 SWIGINTERN wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
3913 wxPyUserData
* data
= NULL
;
3915 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3916 data
= new wxPyUserData(userData
);
3917 wxPyEndBlockThreads(blocked
);
3919 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
3921 SWIGINTERN wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
3922 wxPyUserData
* data
= NULL
;
3924 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3925 data
= new wxPyUserData(userData
);
3926 wxPyEndBlockThreads(blocked
);
3928 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
3930 SWIGINTERN wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
3931 wxPyUserData
* data
= NULL
;
3933 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3934 data
= new wxPyUserData(userData
);
3935 wxPyEndBlockThreads(blocked
);
3937 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
3944 SWIG_AsVal_float (PyObject
* obj
, float *val
)
3947 int res
= SWIG_AsVal_double (obj
, &v
);
3948 if (SWIG_IsOK(res
)) {
3949 if ((v
< -FLT_MAX
|| v
> FLT_MAX
)) {
3950 return SWIG_OverflowError
;
3952 if (val
) *val
= static_cast< float >(v
);
3959 SWIGINTERNINLINE PyObject
*
3960 SWIG_From_float (float value
)
3962 return SWIG_From_double (value
);
3965 SWIGINTERN PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
3966 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
3968 Py_INCREF(data
->m_obj
);
3975 SWIGINTERN
void wxSizerItem_SetUserData(wxSizerItem
*self
,PyObject
*userData
){
3976 wxPyUserData
* data
= NULL
;
3978 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3979 data
= new wxPyUserData(userData
);
3980 wxPyEndBlockThreads(blocked
);
3982 self
->SetUserData(data
);
3985 // Figure out the type of the sizer item
3987 struct wxPySizerItemInfo
{
3989 : window(NULL
), sizer(NULL
), gotSize(false),
3990 size(wxDefaultSize
), gotPos(false), pos(-1)
4001 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
4003 wxPySizerItemInfo info
;
4005 wxSize
* sizePtr
= &size
;
4007 // Find out what the type of the item is
4009 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
4014 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
4018 // try wxSize or (w,h)
4019 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
4020 info
.size
= *sizePtr
;
4021 info
.gotSize
= true;
4025 if (checkIdx
&& PyInt_Check(item
)) {
4026 info
.pos
= PyInt_AsLong(item
);
4032 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
4033 // no expected type, figure out what kind of error message to generate
4034 if ( !checkSize
&& !checkIdx
)
4035 PyErr_SetString(PyExc_TypeError
, "wx.Window or wx.Sizer expected for item");
4036 else if ( checkSize
&& !checkIdx
)
4037 PyErr_SetString(PyExc_TypeError
, "wx.Window, wx.Sizer, wx.Size, or (w,h) expected for item");
4038 else if ( !checkSize
&& checkIdx
)
4039 PyErr_SetString(PyExc_TypeError
, "wx.Window, wx.Sizer or int (position) expected for item");
4041 // can this one happen?
4042 PyErr_SetString(PyExc_TypeError
, "wx.Window, wx.Sizer, wx.Size, or (w,h) or int (position) expected for item");
4048 SWIGINTERN
void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
4049 if (!self
->GetClientObject())
4050 self
->SetClientObject(new wxPyOORClientData(_self
));
4052 SWIGINTERN wxSizerItem
*wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
4054 wxPyUserData
* data
= NULL
;
4055 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4056 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
4057 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
4058 data
= new wxPyUserData(userData
);
4060 PyObject_SetAttrString(item
,"thisown",Py_False
);
4061 wxPyEndBlockThreads(blocked
);
4063 // Now call the real Add method if a valid item type was found
4065 return self
->Add(info
.window
, proportion
, flag
, border
, data
);
4066 else if ( info
.sizer
)
4067 return self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
4068 else if (info
.gotSize
)
4069 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
4070 proportion
, flag
, border
, data
);
4074 SWIGINTERN wxSizerItem
*wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
4076 wxPyUserData
* data
= NULL
;
4077 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4078 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
4079 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
4080 data
= new wxPyUserData(userData
);
4082 PyObject_SetAttrString(item
,"thisown",Py_False
);
4083 wxPyEndBlockThreads(blocked
);
4085 // Now call the real Insert method if a valid item type was found
4087 return self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
4088 else if ( info
.sizer
)
4089 return self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
4090 else if (info
.gotSize
)
4091 return self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
4092 proportion
, flag
, border
, data
);
4096 SWIGINTERN wxSizerItem
*wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
4098 wxPyUserData
* data
= NULL
;
4099 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4100 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
4101 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
4102 data
= new wxPyUserData(userData
);
4104 PyObject_SetAttrString(item
,"thisown",Py_False
);
4105 wxPyEndBlockThreads(blocked
);
4107 // Now call the real Prepend method if a valid item type was found
4109 return self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
4110 else if ( info
.sizer
)
4111 return self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
4112 else if (info
.gotSize
)
4113 return self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
4114 proportion
, flag
, border
, data
);
4118 SWIGINTERN
bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
4119 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4120 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
4121 wxPyEndBlockThreads(blocked
);
4123 return self
->Remove(info
.window
);
4124 else if ( info
.sizer
)
4125 return self
->Remove(info
.sizer
);
4126 else if ( info
.gotPos
)
4127 return self
->Remove(info
.pos
);
4131 SWIGINTERN
bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
4132 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4133 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
4134 wxPyEndBlockThreads(blocked
);
4136 return self
->Detach(info
.window
);
4137 else if ( info
.sizer
)
4138 return self
->Detach(info
.sizer
);
4139 else if ( info
.gotPos
)
4140 return self
->Detach(info
.pos
);
4144 SWIGINTERN wxSizerItem
*wxSizer_GetItem(wxSizer
*self
,PyObject
*item
){
4145 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4146 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
4147 wxPyEndBlockThreads(blocked
);
4149 return self
->GetItem(info
.window
);
4150 else if ( info
.sizer
)
4151 return self
->GetItem(info
.sizer
);
4152 else if ( info
.gotPos
)
4153 return self
->GetItem(info
.pos
);
4157 SWIGINTERN
void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
4158 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4159 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
4160 wxPyEndBlockThreads(blocked
);
4162 self
->SetItemMinSize(info
.window
, size
);
4163 else if ( info
.sizer
)
4164 self
->SetItemMinSize(info
.sizer
, size
);
4165 else if ( info
.gotPos
)
4166 self
->SetItemMinSize(info
.pos
, size
);
4168 SWIGINTERN PyObject
*wxSizer_GetChildren(wxSizer
*self
){
4169 wxSizerItemList
& list
= self
->GetChildren();
4170 return wxPy_ConvertList(&list
);
4172 SWIGINTERN
bool wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
=true,bool recursive
=false){
4173 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4174 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
4175 wxPyEndBlockThreads(blocked
);
4177 return self
->Show(info
.window
, show
, recursive
);
4178 else if ( info
.sizer
)
4179 return self
->Show(info
.sizer
, show
, recursive
);
4180 else if ( info
.gotPos
)
4181 return self
->Show(info
.pos
, show
);
4185 SWIGINTERN
bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
4186 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4187 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, false);
4188 wxPyEndBlockThreads(blocked
);
4190 return self
->IsShown(info
.window
);
4191 else if ( info
.sizer
)
4192 return self
->IsShown(info
.sizer
);
4193 else if ( info
.gotPos
)
4194 return self
->IsShown(info
.pos
);
4200 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
4201 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
4202 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
4207 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
4209 if (source
== Py_None
) {
4210 **obj
= wxGBPosition(-1,-1);
4213 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
4216 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
4218 if (source
== Py_None
) {
4219 **obj
= wxGBSpan(-1,-1);
4222 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
4226 SWIGINTERN
bool wxGBPosition___eq__(wxGBPosition
*self
,PyObject
*other
){
4227 wxGBPosition temp
, *obj
= &temp
;
4228 if ( other
== Py_None
) return false;
4229 if ( ! wxGBPosition_helper(other
, &obj
) ) {
4233 return self
->operator==(*obj
);
4235 SWIGINTERN
bool wxGBPosition___ne__(wxGBPosition
*self
,PyObject
*other
){
4236 wxGBPosition temp
, *obj
= &temp
;
4237 if ( other
== Py_None
) return true;
4238 if ( ! wxGBPosition_helper(other
, &obj
)) {
4242 return self
->operator!=(*obj
);
4244 SWIGINTERN
void wxGBPosition_Set(wxGBPosition
*self
,int row
=0,int col
=0){
4248 SWIGINTERN PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
4249 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4250 PyObject
* tup
= PyTuple_New(2);
4251 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
4252 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
4253 wxPyEndBlockThreads(blocked
);
4256 SWIGINTERN
bool wxGBSpan___eq__(wxGBSpan
*self
,PyObject
*other
){
4257 wxGBSpan temp
, *obj
= &temp
;
4258 if ( other
== Py_None
) return false;
4259 if ( ! wxGBSpan_helper(other
, &obj
) ) {
4263 return self
->operator==(*obj
);
4265 SWIGINTERN
bool wxGBSpan___ne__(wxGBSpan
*self
,PyObject
*other
){
4266 wxGBSpan temp
, *obj
= &temp
;
4267 if ( other
== Py_None
) return true;
4268 if ( ! wxGBSpan_helper(other
, &obj
)) {
4272 return self
->operator!=(*obj
);
4274 SWIGINTERN
void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
=1,int colspan
=1){
4275 self
->SetRowspan(rowspan
);
4276 self
->SetColspan(colspan
);
4278 SWIGINTERN PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
4279 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4280 PyObject
* tup
= PyTuple_New(2);
4281 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
4282 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
4283 wxPyEndBlockThreads(blocked
);
4286 SWIGINTERN wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
4287 wxPyUserData
* data
= NULL
;
4289 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4290 data
= new wxPyUserData(userData
);
4291 wxPyEndBlockThreads(blocked
);
4293 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
4295 SWIGINTERN wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
4296 wxPyUserData
* data
= NULL
;
4298 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4299 data
= new wxPyUserData(userData
);
4300 wxPyEndBlockThreads(blocked
);
4302 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
4304 SWIGINTERN wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
4305 wxPyUserData
* data
= NULL
;
4307 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4308 data
= new wxPyUserData(userData
);
4309 wxPyEndBlockThreads(blocked
);
4311 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
4313 SWIGINTERN wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
4315 self
->GetEndPos(row
, col
);
4316 return wxGBPosition(row
, col
);
4318 SWIGINTERN wxGBSizerItem
*wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
=wxDefaultSpan
,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
4320 wxPyUserData
* data
= NULL
;
4321 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4322 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
4323 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
4324 data
= new wxPyUserData(userData
);
4326 PyObject_SetAttrString(item
,"thisown",Py_False
);
4327 wxPyEndBlockThreads(blocked
);
4329 // Now call the real Add method if a valid item type was found
4331 return (wxGBSizerItem
*)self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
4332 else if ( info
.sizer
)
4333 return (wxGBSizerItem
*)self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
4334 else if (info
.gotSize
)
4335 return (wxGBSizerItem
*)self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
4336 pos
, span
, flag
, border
, data
);
4344 SWIGINTERN
int EmptyString_set(PyObject
*) {
4345 SWIG_Error(SWIG_AttributeError
,"Variable EmptyString is read-only.");
4350 SWIGINTERN PyObject
*EmptyString_get(void) {
4351 PyObject
*pyobj
= 0;
4355 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
4357 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
4364 SWIGINTERN PyObject
*_wrap_Object_GetClassName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4365 PyObject
*resultobj
= 0;
4366 wxObject
*arg1
= (wxObject
*) 0 ;
4370 PyObject
*swig_obj
[1] ;
4372 if (!args
) SWIG_fail
;
4374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
4375 if (!SWIG_IsOK(res1
)) {
4376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Object_GetClassName" "', expected argument " "1"" of type '" "wxObject *""'");
4378 arg1
= reinterpret_cast< wxObject
* >(argp1
);
4380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4381 result
= wxObject_GetClassName(arg1
);
4382 wxPyEndAllowThreads(__tstate
);
4383 if (PyErr_Occurred()) SWIG_fail
;
4387 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4389 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4398 SWIGINTERN PyObject
*_wrap_Object_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4399 PyObject
*resultobj
= 0;
4400 wxObject
*arg1
= (wxObject
*) 0 ;
4403 PyObject
*swig_obj
[1] ;
4405 if (!args
) SWIG_fail
;
4407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
4408 if (!SWIG_IsOK(res1
)) {
4409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Object_Destroy" "', expected argument " "1"" of type '" "wxObject *""'");
4411 arg1
= reinterpret_cast< wxObject
* >(argp1
);
4413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4414 wxObject_Destroy(arg1
);
4415 wxPyEndAllowThreads(__tstate
);
4416 if (PyErr_Occurred()) SWIG_fail
;
4418 resultobj
= SWIG_Py_Void();
4425 SWIGINTERN PyObject
*Object_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4427 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4428 SWIG_TypeNewClientData(SWIGTYPE_p_wxObject
, SWIG_NewClientData(obj
));
4429 return SWIG_Py_Void();
4432 SWIGINTERN PyObject
*_wrap_Size_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4433 PyObject
*resultobj
= 0;
4434 wxSize
*arg1
= (wxSize
*) 0 ;
4440 PyObject
*swig_obj
[2] ;
4442 if (!SWIG_Python_UnpackTuple(args
,"Size_width_set",2,2,swig_obj
)) SWIG_fail
;
4443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4444 if (!SWIG_IsOK(res1
)) {
4445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_width_set" "', expected argument " "1"" of type '" "wxSize *""'");
4447 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4448 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4449 if (!SWIG_IsOK(ecode2
)) {
4450 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Size_width_set" "', expected argument " "2"" of type '" "int""'");
4452 arg2
= static_cast< int >(val2
);
4453 if (arg1
) (arg1
)->x
= arg2
;
4455 resultobj
= SWIG_Py_Void();
4462 SWIGINTERN PyObject
*_wrap_Size_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4463 PyObject
*resultobj
= 0;
4464 wxSize
*arg1
= (wxSize
*) 0 ;
4468 PyObject
*swig_obj
[1] ;
4470 if (!args
) SWIG_fail
;
4472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4473 if (!SWIG_IsOK(res1
)) {
4474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_width_get" "', expected argument " "1"" of type '" "wxSize *""'");
4476 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4477 result
= (int) ((arg1
)->x
);
4478 resultobj
= SWIG_From_int(static_cast< int >(result
));
4485 SWIGINTERN PyObject
*_wrap_Size_height_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4486 PyObject
*resultobj
= 0;
4487 wxSize
*arg1
= (wxSize
*) 0 ;
4493 PyObject
*swig_obj
[2] ;
4495 if (!SWIG_Python_UnpackTuple(args
,"Size_height_set",2,2,swig_obj
)) SWIG_fail
;
4496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4497 if (!SWIG_IsOK(res1
)) {
4498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_height_set" "', expected argument " "1"" of type '" "wxSize *""'");
4500 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4501 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4502 if (!SWIG_IsOK(ecode2
)) {
4503 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Size_height_set" "', expected argument " "2"" of type '" "int""'");
4505 arg2
= static_cast< int >(val2
);
4506 if (arg1
) (arg1
)->y
= arg2
;
4508 resultobj
= SWIG_Py_Void();
4515 SWIGINTERN PyObject
*_wrap_Size_height_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4516 PyObject
*resultobj
= 0;
4517 wxSize
*arg1
= (wxSize
*) 0 ;
4521 PyObject
*swig_obj
[1] ;
4523 if (!args
) SWIG_fail
;
4525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4526 if (!SWIG_IsOK(res1
)) {
4527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_height_get" "', expected argument " "1"" of type '" "wxSize *""'");
4529 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4530 result
= (int) ((arg1
)->y
);
4531 resultobj
= SWIG_From_int(static_cast< int >(result
));
4538 SWIGINTERN PyObject
*_wrap_new_Size(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4539 PyObject
*resultobj
= 0;
4540 int arg1
= (int) 0 ;
4541 int arg2
= (int) 0 ;
4542 wxSize
*result
= 0 ;
4547 PyObject
* obj0
= 0 ;
4548 PyObject
* obj1
= 0 ;
4549 char * kwnames
[] = {
4550 (char *) "w",(char *) "h", NULL
4553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4555 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4556 if (!SWIG_IsOK(ecode1
)) {
4557 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Size" "', expected argument " "1"" of type '" "int""'");
4559 arg1
= static_cast< int >(val1
);
4562 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4563 if (!SWIG_IsOK(ecode2
)) {
4564 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Size" "', expected argument " "2"" of type '" "int""'");
4566 arg2
= static_cast< int >(val2
);
4569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4570 result
= (wxSize
*)new wxSize(arg1
,arg2
);
4571 wxPyEndAllowThreads(__tstate
);
4572 if (PyErr_Occurred()) SWIG_fail
;
4574 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, SWIG_POINTER_NEW
| 0 );
4581 SWIGINTERN PyObject
*_wrap_delete_Size(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4582 PyObject
*resultobj
= 0;
4583 wxSize
*arg1
= (wxSize
*) 0 ;
4586 PyObject
*swig_obj
[1] ;
4588 if (!args
) SWIG_fail
;
4590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, SWIG_POINTER_DISOWN
| 0 );
4591 if (!SWIG_IsOK(res1
)) {
4592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Size" "', expected argument " "1"" of type '" "wxSize *""'");
4594 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4599 wxPyEndAllowThreads(__tstate
);
4600 if (PyErr_Occurred()) SWIG_fail
;
4602 resultobj
= SWIG_Py_Void();
4609 SWIGINTERN PyObject
*_wrap_Size___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4610 PyObject
*resultobj
= 0;
4611 wxSize
*arg1
= (wxSize
*) 0 ;
4612 PyObject
*arg2
= (PyObject
*) 0 ;
4616 PyObject
* obj0
= 0 ;
4617 PyObject
* obj1
= 0 ;
4618 char * kwnames
[] = {
4619 (char *) "self",(char *) "other", NULL
4622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4624 if (!SWIG_IsOK(res1
)) {
4625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size___eq__" "', expected argument " "1"" of type '" "wxSize *""'");
4627 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4630 result
= (bool)wxSize___eq__(arg1
,arg2
);
4631 if (PyErr_Occurred()) SWIG_fail
;
4634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4642 SWIGINTERN PyObject
*_wrap_Size___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4643 PyObject
*resultobj
= 0;
4644 wxSize
*arg1
= (wxSize
*) 0 ;
4645 PyObject
*arg2
= (PyObject
*) 0 ;
4649 PyObject
* obj0
= 0 ;
4650 PyObject
* obj1
= 0 ;
4651 char * kwnames
[] = {
4652 (char *) "self",(char *) "other", NULL
4655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4657 if (!SWIG_IsOK(res1
)) {
4658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size___ne__" "', expected argument " "1"" of type '" "wxSize *""'");
4660 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4663 result
= (bool)wxSize___ne__(arg1
,arg2
);
4664 if (PyErr_Occurred()) SWIG_fail
;
4667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4675 SWIGINTERN PyObject
*_wrap_Size___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4676 PyObject
*resultobj
= 0;
4677 wxSize
*arg1
= (wxSize
*) 0 ;
4683 PyObject
* obj0
= 0 ;
4684 PyObject
* obj1
= 0 ;
4685 char * kwnames
[] = {
4686 (char *) "self",(char *) "sz", NULL
4689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4691 if (!SWIG_IsOK(res1
)) {
4692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size___add__" "', expected argument " "1"" of type '" "wxSize *""'");
4694 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4697 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4701 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
4702 wxPyEndAllowThreads(__tstate
);
4703 if (PyErr_Occurred()) SWIG_fail
;
4705 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
4712 SWIGINTERN PyObject
*_wrap_Size___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4713 PyObject
*resultobj
= 0;
4714 wxSize
*arg1
= (wxSize
*) 0 ;
4720 PyObject
* obj0
= 0 ;
4721 PyObject
* obj1
= 0 ;
4722 char * kwnames
[] = {
4723 (char *) "self",(char *) "sz", NULL
4726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4728 if (!SWIG_IsOK(res1
)) {
4729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size___sub__" "', expected argument " "1"" of type '" "wxSize *""'");
4731 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4734 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4738 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
4739 wxPyEndAllowThreads(__tstate
);
4740 if (PyErr_Occurred()) SWIG_fail
;
4742 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
4749 SWIGINTERN PyObject
*_wrap_Size_IncTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4750 PyObject
*resultobj
= 0;
4751 wxSize
*arg1
= (wxSize
*) 0 ;
4756 PyObject
* obj0
= 0 ;
4757 PyObject
* obj1
= 0 ;
4758 char * kwnames
[] = {
4759 (char *) "self",(char *) "sz", NULL
4762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4764 if (!SWIG_IsOK(res1
)) {
4765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_IncTo" "', expected argument " "1"" of type '" "wxSize *""'");
4767 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4770 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4774 (arg1
)->IncTo((wxSize
const &)*arg2
);
4775 wxPyEndAllowThreads(__tstate
);
4776 if (PyErr_Occurred()) SWIG_fail
;
4778 resultobj
= SWIG_Py_Void();
4785 SWIGINTERN PyObject
*_wrap_Size_DecTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4786 PyObject
*resultobj
= 0;
4787 wxSize
*arg1
= (wxSize
*) 0 ;
4792 PyObject
* obj0
= 0 ;
4793 PyObject
* obj1
= 0 ;
4794 char * kwnames
[] = {
4795 (char *) "self",(char *) "sz", NULL
4798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4800 if (!SWIG_IsOK(res1
)) {
4801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_DecTo" "', expected argument " "1"" of type '" "wxSize *""'");
4803 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4806 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4810 (arg1
)->DecTo((wxSize
const &)*arg2
);
4811 wxPyEndAllowThreads(__tstate
);
4812 if (PyErr_Occurred()) SWIG_fail
;
4814 resultobj
= SWIG_Py_Void();
4821 SWIGINTERN PyObject
*_wrap_Size_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4822 PyObject
*resultobj
= 0;
4823 wxSize
*arg1
= (wxSize
*) 0 ;
4832 PyObject
* obj0
= 0 ;
4833 PyObject
* obj1
= 0 ;
4834 PyObject
* obj2
= 0 ;
4835 char * kwnames
[] = {
4836 (char *) "self",(char *) "w",(char *) "h", NULL
4839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4841 if (!SWIG_IsOK(res1
)) {
4842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_Set" "', expected argument " "1"" of type '" "wxSize *""'");
4844 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4845 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4846 if (!SWIG_IsOK(ecode2
)) {
4847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Size_Set" "', expected argument " "2"" of type '" "int""'");
4849 arg2
= static_cast< int >(val2
);
4850 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4851 if (!SWIG_IsOK(ecode3
)) {
4852 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Size_Set" "', expected argument " "3"" of type '" "int""'");
4854 arg3
= static_cast< int >(val3
);
4856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4857 (arg1
)->Set(arg2
,arg3
);
4858 wxPyEndAllowThreads(__tstate
);
4859 if (PyErr_Occurred()) SWIG_fail
;
4861 resultobj
= SWIG_Py_Void();
4868 SWIGINTERN PyObject
*_wrap_Size_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4869 PyObject
*resultobj
= 0;
4870 wxSize
*arg1
= (wxSize
*) 0 ;
4876 PyObject
* obj0
= 0 ;
4877 PyObject
* obj1
= 0 ;
4878 char * kwnames
[] = {
4879 (char *) "self",(char *) "w", NULL
4882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4884 if (!SWIG_IsOK(res1
)) {
4885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_SetWidth" "', expected argument " "1"" of type '" "wxSize *""'");
4887 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4888 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4889 if (!SWIG_IsOK(ecode2
)) {
4890 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Size_SetWidth" "', expected argument " "2"" of type '" "int""'");
4892 arg2
= static_cast< int >(val2
);
4894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4895 (arg1
)->SetWidth(arg2
);
4896 wxPyEndAllowThreads(__tstate
);
4897 if (PyErr_Occurred()) SWIG_fail
;
4899 resultobj
= SWIG_Py_Void();
4906 SWIGINTERN PyObject
*_wrap_Size_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4907 PyObject
*resultobj
= 0;
4908 wxSize
*arg1
= (wxSize
*) 0 ;
4914 PyObject
* obj0
= 0 ;
4915 PyObject
* obj1
= 0 ;
4916 char * kwnames
[] = {
4917 (char *) "self",(char *) "h", NULL
4920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4922 if (!SWIG_IsOK(res1
)) {
4923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_SetHeight" "', expected argument " "1"" of type '" "wxSize *""'");
4925 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4926 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4927 if (!SWIG_IsOK(ecode2
)) {
4928 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Size_SetHeight" "', expected argument " "2"" of type '" "int""'");
4930 arg2
= static_cast< int >(val2
);
4932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4933 (arg1
)->SetHeight(arg2
);
4934 wxPyEndAllowThreads(__tstate
);
4935 if (PyErr_Occurred()) SWIG_fail
;
4937 resultobj
= SWIG_Py_Void();
4944 SWIGINTERN PyObject
*_wrap_Size_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4945 PyObject
*resultobj
= 0;
4946 wxSize
*arg1
= (wxSize
*) 0 ;
4950 PyObject
*swig_obj
[1] ;
4952 if (!args
) SWIG_fail
;
4954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4955 if (!SWIG_IsOK(res1
)) {
4956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_GetWidth" "', expected argument " "1"" of type '" "wxSize const *""'");
4958 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4961 result
= (int)((wxSize
const *)arg1
)->GetWidth();
4962 wxPyEndAllowThreads(__tstate
);
4963 if (PyErr_Occurred()) SWIG_fail
;
4965 resultobj
= SWIG_From_int(static_cast< int >(result
));
4972 SWIGINTERN PyObject
*_wrap_Size_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4973 PyObject
*resultobj
= 0;
4974 wxSize
*arg1
= (wxSize
*) 0 ;
4978 PyObject
*swig_obj
[1] ;
4980 if (!args
) SWIG_fail
;
4982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4983 if (!SWIG_IsOK(res1
)) {
4984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_GetHeight" "', expected argument " "1"" of type '" "wxSize const *""'");
4986 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4989 result
= (int)((wxSize
const *)arg1
)->GetHeight();
4990 wxPyEndAllowThreads(__tstate
);
4991 if (PyErr_Occurred()) SWIG_fail
;
4993 resultobj
= SWIG_From_int(static_cast< int >(result
));
5000 SWIGINTERN PyObject
*_wrap_Size_IsFullySpecified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5001 PyObject
*resultobj
= 0;
5002 wxSize
*arg1
= (wxSize
*) 0 ;
5006 PyObject
*swig_obj
[1] ;
5008 if (!args
) SWIG_fail
;
5010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
5011 if (!SWIG_IsOK(res1
)) {
5012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_IsFullySpecified" "', expected argument " "1"" of type '" "wxSize const *""'");
5014 arg1
= reinterpret_cast< wxSize
* >(argp1
);
5016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5017 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
5018 wxPyEndAllowThreads(__tstate
);
5019 if (PyErr_Occurred()) SWIG_fail
;
5022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5030 SWIGINTERN PyObject
*_wrap_Size_SetDefaults(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5031 PyObject
*resultobj
= 0;
5032 wxSize
*arg1
= (wxSize
*) 0 ;
5037 PyObject
* obj0
= 0 ;
5038 PyObject
* obj1
= 0 ;
5039 char * kwnames
[] = {
5040 (char *) "self",(char *) "size", NULL
5043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
5045 if (!SWIG_IsOK(res1
)) {
5046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_SetDefaults" "', expected argument " "1"" of type '" "wxSize *""'");
5048 arg1
= reinterpret_cast< wxSize
* >(argp1
);
5051 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5055 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
5056 wxPyEndAllowThreads(__tstate
);
5057 if (PyErr_Occurred()) SWIG_fail
;
5059 resultobj
= SWIG_Py_Void();
5066 SWIGINTERN PyObject
*_wrap_Size_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5067 PyObject
*resultobj
= 0;
5068 wxSize
*arg1
= (wxSize
*) 0 ;
5069 PyObject
*result
= 0 ;
5072 PyObject
*swig_obj
[1] ;
5074 if (!args
) SWIG_fail
;
5076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
5077 if (!SWIG_IsOK(res1
)) {
5078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_Get" "', expected argument " "1"" of type '" "wxSize *""'");
5080 arg1
= reinterpret_cast< wxSize
* >(argp1
);
5082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5083 result
= (PyObject
*)wxSize_Get(arg1
);
5084 wxPyEndAllowThreads(__tstate
);
5085 if (PyErr_Occurred()) SWIG_fail
;
5094 SWIGINTERN PyObject
*Size_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5096 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5097 SWIG_TypeNewClientData(SWIGTYPE_p_wxSize
, SWIG_NewClientData(obj
));
5098 return SWIG_Py_Void();
5101 SWIGINTERN PyObject
*Size_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5102 return SWIG_Python_InitShadowInstance(args
);
5105 SWIGINTERN PyObject
*_wrap_RealPoint_x_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5106 PyObject
*resultobj
= 0;
5107 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5113 PyObject
*swig_obj
[2] ;
5115 if (!SWIG_Python_UnpackTuple(args
,"RealPoint_x_set",2,2,swig_obj
)) SWIG_fail
;
5116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5117 if (!SWIG_IsOK(res1
)) {
5118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint_x_set" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5120 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5121 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
5122 if (!SWIG_IsOK(ecode2
)) {
5123 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RealPoint_x_set" "', expected argument " "2"" of type '" "double""'");
5125 arg2
= static_cast< double >(val2
);
5126 if (arg1
) (arg1
)->x
= arg2
;
5128 resultobj
= SWIG_Py_Void();
5135 SWIGINTERN PyObject
*_wrap_RealPoint_x_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5136 PyObject
*resultobj
= 0;
5137 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5141 PyObject
*swig_obj
[1] ;
5143 if (!args
) SWIG_fail
;
5145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5146 if (!SWIG_IsOK(res1
)) {
5147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint_x_get" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5149 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5150 result
= (double) ((arg1
)->x
);
5151 resultobj
= SWIG_From_double(static_cast< double >(result
));
5158 SWIGINTERN PyObject
*_wrap_RealPoint_y_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5159 PyObject
*resultobj
= 0;
5160 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5166 PyObject
*swig_obj
[2] ;
5168 if (!SWIG_Python_UnpackTuple(args
,"RealPoint_y_set",2,2,swig_obj
)) SWIG_fail
;
5169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5170 if (!SWIG_IsOK(res1
)) {
5171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint_y_set" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5173 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5174 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
5175 if (!SWIG_IsOK(ecode2
)) {
5176 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RealPoint_y_set" "', expected argument " "2"" of type '" "double""'");
5178 arg2
= static_cast< double >(val2
);
5179 if (arg1
) (arg1
)->y
= arg2
;
5181 resultobj
= SWIG_Py_Void();
5188 SWIGINTERN PyObject
*_wrap_RealPoint_y_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5189 PyObject
*resultobj
= 0;
5190 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5194 PyObject
*swig_obj
[1] ;
5196 if (!args
) SWIG_fail
;
5198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5199 if (!SWIG_IsOK(res1
)) {
5200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint_y_get" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5202 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5203 result
= (double) ((arg1
)->y
);
5204 resultobj
= SWIG_From_double(static_cast< double >(result
));
5211 SWIGINTERN PyObject
*_wrap_new_RealPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5212 PyObject
*resultobj
= 0;
5213 double arg1
= (double) 0.0 ;
5214 double arg2
= (double) 0.0 ;
5215 wxRealPoint
*result
= 0 ;
5220 PyObject
* obj0
= 0 ;
5221 PyObject
* obj1
= 0 ;
5222 char * kwnames
[] = {
5223 (char *) "x",(char *) "y", NULL
5226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5228 ecode1
= SWIG_AsVal_double(obj0
, &val1
);
5229 if (!SWIG_IsOK(ecode1
)) {
5230 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RealPoint" "', expected argument " "1"" of type '" "double""'");
5232 arg1
= static_cast< double >(val1
);
5235 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
5236 if (!SWIG_IsOK(ecode2
)) {
5237 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RealPoint" "', expected argument " "2"" of type '" "double""'");
5239 arg2
= static_cast< double >(val2
);
5242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5243 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
5244 wxPyEndAllowThreads(__tstate
);
5245 if (PyErr_Occurred()) SWIG_fail
;
5247 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_NEW
| 0 );
5254 SWIGINTERN PyObject
*_wrap_delete_RealPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5255 PyObject
*resultobj
= 0;
5256 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5259 PyObject
*swig_obj
[1] ;
5261 if (!args
) SWIG_fail
;
5263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_DISOWN
| 0 );
5264 if (!SWIG_IsOK(res1
)) {
5265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RealPoint" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5267 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5272 wxPyEndAllowThreads(__tstate
);
5273 if (PyErr_Occurred()) SWIG_fail
;
5275 resultobj
= SWIG_Py_Void();
5282 SWIGINTERN PyObject
*_wrap_RealPoint___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5283 PyObject
*resultobj
= 0;
5284 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5285 PyObject
*arg2
= (PyObject
*) 0 ;
5289 PyObject
* obj0
= 0 ;
5290 PyObject
* obj1
= 0 ;
5291 char * kwnames
[] = {
5292 (char *) "self",(char *) "other", NULL
5295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5297 if (!SWIG_IsOK(res1
)) {
5298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint___eq__" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5300 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5303 result
= (bool)wxRealPoint___eq__(arg1
,arg2
);
5304 if (PyErr_Occurred()) SWIG_fail
;
5307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5315 SWIGINTERN PyObject
*_wrap_RealPoint___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5316 PyObject
*resultobj
= 0;
5317 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5318 PyObject
*arg2
= (PyObject
*) 0 ;
5322 PyObject
* obj0
= 0 ;
5323 PyObject
* obj1
= 0 ;
5324 char * kwnames
[] = {
5325 (char *) "self",(char *) "other", NULL
5328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5330 if (!SWIG_IsOK(res1
)) {
5331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint___ne__" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5333 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5336 result
= (bool)wxRealPoint___ne__(arg1
,arg2
);
5337 if (PyErr_Occurred()) SWIG_fail
;
5340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5348 SWIGINTERN PyObject
*_wrap_RealPoint___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5349 PyObject
*resultobj
= 0;
5350 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5351 wxRealPoint
*arg2
= 0 ;
5356 PyObject
* obj0
= 0 ;
5357 PyObject
* obj1
= 0 ;
5358 char * kwnames
[] = {
5359 (char *) "self",(char *) "pt", NULL
5362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5364 if (!SWIG_IsOK(res1
)) {
5365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint___add__" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5367 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5370 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5374 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
5375 wxPyEndAllowThreads(__tstate
);
5376 if (PyErr_Occurred()) SWIG_fail
;
5378 resultobj
= SWIG_NewPointerObj((new wxRealPoint(static_cast< const wxRealPoint
& >(result
))), SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_OWN
| 0 );
5385 SWIGINTERN PyObject
*_wrap_RealPoint___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5386 PyObject
*resultobj
= 0;
5387 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5388 wxRealPoint
*arg2
= 0 ;
5393 PyObject
* obj0
= 0 ;
5394 PyObject
* obj1
= 0 ;
5395 char * kwnames
[] = {
5396 (char *) "self",(char *) "pt", NULL
5399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5401 if (!SWIG_IsOK(res1
)) {
5402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint___sub__" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5404 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5407 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5411 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
5412 wxPyEndAllowThreads(__tstate
);
5413 if (PyErr_Occurred()) SWIG_fail
;
5415 resultobj
= SWIG_NewPointerObj((new wxRealPoint(static_cast< const wxRealPoint
& >(result
))), SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_OWN
| 0 );
5422 SWIGINTERN PyObject
*_wrap_RealPoint_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5423 PyObject
*resultobj
= 0;
5424 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5433 PyObject
* obj0
= 0 ;
5434 PyObject
* obj1
= 0 ;
5435 PyObject
* obj2
= 0 ;
5436 char * kwnames
[] = {
5437 (char *) "self",(char *) "x",(char *) "y", NULL
5440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5442 if (!SWIG_IsOK(res1
)) {
5443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint_Set" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5445 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5446 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
5447 if (!SWIG_IsOK(ecode2
)) {
5448 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RealPoint_Set" "', expected argument " "2"" of type '" "double""'");
5450 arg2
= static_cast< double >(val2
);
5451 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
5452 if (!SWIG_IsOK(ecode3
)) {
5453 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RealPoint_Set" "', expected argument " "3"" of type '" "double""'");
5455 arg3
= static_cast< double >(val3
);
5457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5458 wxRealPoint_Set(arg1
,arg2
,arg3
);
5459 wxPyEndAllowThreads(__tstate
);
5460 if (PyErr_Occurred()) SWIG_fail
;
5462 resultobj
= SWIG_Py_Void();
5469 SWIGINTERN PyObject
*_wrap_RealPoint_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5470 PyObject
*resultobj
= 0;
5471 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5472 PyObject
*result
= 0 ;
5475 PyObject
*swig_obj
[1] ;
5477 if (!args
) SWIG_fail
;
5479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5480 if (!SWIG_IsOK(res1
)) {
5481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint_Get" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5483 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5486 result
= (PyObject
*)wxRealPoint_Get(arg1
);
5487 wxPyEndAllowThreads(__tstate
);
5488 if (PyErr_Occurred()) SWIG_fail
;
5497 SWIGINTERN PyObject
*RealPoint_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5499 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5500 SWIG_TypeNewClientData(SWIGTYPE_p_wxRealPoint
, SWIG_NewClientData(obj
));
5501 return SWIG_Py_Void();
5504 SWIGINTERN PyObject
*RealPoint_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5505 return SWIG_Python_InitShadowInstance(args
);
5508 SWIGINTERN PyObject
*_wrap_Point_x_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5509 PyObject
*resultobj
= 0;
5510 wxPoint
*arg1
= (wxPoint
*) 0 ;
5516 PyObject
*swig_obj
[2] ;
5518 if (!SWIG_Python_UnpackTuple(args
,"Point_x_set",2,2,swig_obj
)) SWIG_fail
;
5519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5520 if (!SWIG_IsOK(res1
)) {
5521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point_x_set" "', expected argument " "1"" of type '" "wxPoint *""'");
5523 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5524 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
5525 if (!SWIG_IsOK(ecode2
)) {
5526 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point_x_set" "', expected argument " "2"" of type '" "int""'");
5528 arg2
= static_cast< int >(val2
);
5529 if (arg1
) (arg1
)->x
= arg2
;
5531 resultobj
= SWIG_Py_Void();
5538 SWIGINTERN PyObject
*_wrap_Point_x_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5539 PyObject
*resultobj
= 0;
5540 wxPoint
*arg1
= (wxPoint
*) 0 ;
5544 PyObject
*swig_obj
[1] ;
5546 if (!args
) SWIG_fail
;
5548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5549 if (!SWIG_IsOK(res1
)) {
5550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point_x_get" "', expected argument " "1"" of type '" "wxPoint *""'");
5552 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5553 result
= (int) ((arg1
)->x
);
5554 resultobj
= SWIG_From_int(static_cast< int >(result
));
5561 SWIGINTERN PyObject
*_wrap_Point_y_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5562 PyObject
*resultobj
= 0;
5563 wxPoint
*arg1
= (wxPoint
*) 0 ;
5569 PyObject
*swig_obj
[2] ;
5571 if (!SWIG_Python_UnpackTuple(args
,"Point_y_set",2,2,swig_obj
)) SWIG_fail
;
5572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5573 if (!SWIG_IsOK(res1
)) {
5574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point_y_set" "', expected argument " "1"" of type '" "wxPoint *""'");
5576 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5577 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
5578 if (!SWIG_IsOK(ecode2
)) {
5579 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point_y_set" "', expected argument " "2"" of type '" "int""'");
5581 arg2
= static_cast< int >(val2
);
5582 if (arg1
) (arg1
)->y
= arg2
;
5584 resultobj
= SWIG_Py_Void();
5591 SWIGINTERN PyObject
*_wrap_Point_y_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5592 PyObject
*resultobj
= 0;
5593 wxPoint
*arg1
= (wxPoint
*) 0 ;
5597 PyObject
*swig_obj
[1] ;
5599 if (!args
) SWIG_fail
;
5601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5602 if (!SWIG_IsOK(res1
)) {
5603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point_y_get" "', expected argument " "1"" of type '" "wxPoint *""'");
5605 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5606 result
= (int) ((arg1
)->y
);
5607 resultobj
= SWIG_From_int(static_cast< int >(result
));
5614 SWIGINTERN PyObject
*_wrap_new_Point(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5615 PyObject
*resultobj
= 0;
5616 int arg1
= (int) 0 ;
5617 int arg2
= (int) 0 ;
5618 wxPoint
*result
= 0 ;
5623 PyObject
* obj0
= 0 ;
5624 PyObject
* obj1
= 0 ;
5625 char * kwnames
[] = {
5626 (char *) "x",(char *) "y", NULL
5629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5631 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5632 if (!SWIG_IsOK(ecode1
)) {
5633 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Point" "', expected argument " "1"" of type '" "int""'");
5635 arg1
= static_cast< int >(val1
);
5638 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5639 if (!SWIG_IsOK(ecode2
)) {
5640 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Point" "', expected argument " "2"" of type '" "int""'");
5642 arg2
= static_cast< int >(val2
);
5645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5646 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
5647 wxPyEndAllowThreads(__tstate
);
5648 if (PyErr_Occurred()) SWIG_fail
;
5650 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, SWIG_POINTER_NEW
| 0 );
5657 SWIGINTERN PyObject
*_wrap_delete_Point(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5658 PyObject
*resultobj
= 0;
5659 wxPoint
*arg1
= (wxPoint
*) 0 ;
5662 PyObject
*swig_obj
[1] ;
5664 if (!args
) SWIG_fail
;
5666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint
, SWIG_POINTER_DISOWN
| 0 );
5667 if (!SWIG_IsOK(res1
)) {
5668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Point" "', expected argument " "1"" of type '" "wxPoint *""'");
5670 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5675 wxPyEndAllowThreads(__tstate
);
5676 if (PyErr_Occurred()) SWIG_fail
;
5678 resultobj
= SWIG_Py_Void();
5685 SWIGINTERN PyObject
*_wrap_Point___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5686 PyObject
*resultobj
= 0;
5687 wxPoint
*arg1
= (wxPoint
*) 0 ;
5688 PyObject
*arg2
= (PyObject
*) 0 ;
5692 PyObject
* obj0
= 0 ;
5693 PyObject
* obj1
= 0 ;
5694 char * kwnames
[] = {
5695 (char *) "self",(char *) "other", NULL
5698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5700 if (!SWIG_IsOK(res1
)) {
5701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point___eq__" "', expected argument " "1"" of type '" "wxPoint *""'");
5703 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5706 result
= (bool)wxPoint___eq__(arg1
,arg2
);
5707 if (PyErr_Occurred()) SWIG_fail
;
5710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5718 SWIGINTERN PyObject
*_wrap_Point___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5719 PyObject
*resultobj
= 0;
5720 wxPoint
*arg1
= (wxPoint
*) 0 ;
5721 PyObject
*arg2
= (PyObject
*) 0 ;
5725 PyObject
* obj0
= 0 ;
5726 PyObject
* obj1
= 0 ;
5727 char * kwnames
[] = {
5728 (char *) "self",(char *) "other", NULL
5731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5733 if (!SWIG_IsOK(res1
)) {
5734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point___ne__" "', expected argument " "1"" of type '" "wxPoint *""'");
5736 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5739 result
= (bool)wxPoint___ne__(arg1
,arg2
);
5740 if (PyErr_Occurred()) SWIG_fail
;
5743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5751 SWIGINTERN PyObject
*_wrap_Point___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5752 PyObject
*resultobj
= 0;
5753 wxPoint
*arg1
= (wxPoint
*) 0 ;
5759 PyObject
* obj0
= 0 ;
5760 PyObject
* obj1
= 0 ;
5761 char * kwnames
[] = {
5762 (char *) "self",(char *) "pt", NULL
5765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5767 if (!SWIG_IsOK(res1
)) {
5768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point___add__" "', expected argument " "1"" of type '" "wxPoint *""'");
5770 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5773 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5777 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
5778 wxPyEndAllowThreads(__tstate
);
5779 if (PyErr_Occurred()) SWIG_fail
;
5781 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
5788 SWIGINTERN PyObject
*_wrap_Point___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5789 PyObject
*resultobj
= 0;
5790 wxPoint
*arg1
= (wxPoint
*) 0 ;
5796 PyObject
* obj0
= 0 ;
5797 PyObject
* obj1
= 0 ;
5798 char * kwnames
[] = {
5799 (char *) "self",(char *) "pt", NULL
5802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5804 if (!SWIG_IsOK(res1
)) {
5805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point___sub__" "', expected argument " "1"" of type '" "wxPoint *""'");
5807 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5810 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5814 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
5815 wxPyEndAllowThreads(__tstate
);
5816 if (PyErr_Occurred()) SWIG_fail
;
5818 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
5825 SWIGINTERN PyObject
*_wrap_Point___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5826 PyObject
*resultobj
= 0;
5827 wxPoint
*arg1
= (wxPoint
*) 0 ;
5829 wxPoint
*result
= 0 ;
5833 PyObject
* obj0
= 0 ;
5834 PyObject
* obj1
= 0 ;
5835 char * kwnames
[] = {
5836 (char *) "self",(char *) "pt", NULL
5839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, SWIG_POINTER_DISOWN
| 0 );
5841 if (!SWIG_IsOK(res1
)) {
5842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point___iadd__" "', expected argument " "1"" of type '" "wxPoint *""'");
5844 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5847 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5852 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
5853 result
= (wxPoint
*) &_result_ref
;
5855 wxPyEndAllowThreads(__tstate
);
5856 if (PyErr_Occurred()) SWIG_fail
;
5858 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
5865 SWIGINTERN PyObject
*_wrap_Point___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5866 PyObject
*resultobj
= 0;
5867 wxPoint
*arg1
= (wxPoint
*) 0 ;
5869 wxPoint
*result
= 0 ;
5873 PyObject
* obj0
= 0 ;
5874 PyObject
* obj1
= 0 ;
5875 char * kwnames
[] = {
5876 (char *) "self",(char *) "pt", NULL
5879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, SWIG_POINTER_DISOWN
| 0 );
5881 if (!SWIG_IsOK(res1
)) {
5882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point___isub__" "', expected argument " "1"" of type '" "wxPoint *""'");
5884 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5887 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5892 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
5893 result
= (wxPoint
*) &_result_ref
;
5895 wxPyEndAllowThreads(__tstate
);
5896 if (PyErr_Occurred()) SWIG_fail
;
5898 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
5905 SWIGINTERN PyObject
*_wrap_Point_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5906 PyObject
*resultobj
= 0;
5907 wxPoint
*arg1
= (wxPoint
*) 0 ;
5916 PyObject
* obj0
= 0 ;
5917 PyObject
* obj1
= 0 ;
5918 PyObject
* obj2
= 0 ;
5919 char * kwnames
[] = {
5920 (char *) "self",(char *) "x",(char *) "y", NULL
5923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5925 if (!SWIG_IsOK(res1
)) {
5926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point_Set" "', expected argument " "1"" of type '" "wxPoint *""'");
5928 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5929 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
5930 if (!SWIG_IsOK(ecode2
)) {
5931 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point_Set" "', expected argument " "2"" of type '" "long""'");
5933 arg2
= static_cast< long >(val2
);
5934 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5935 if (!SWIG_IsOK(ecode3
)) {
5936 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Point_Set" "', expected argument " "3"" of type '" "long""'");
5938 arg3
= static_cast< long >(val3
);
5940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5941 wxPoint_Set(arg1
,arg2
,arg3
);
5942 wxPyEndAllowThreads(__tstate
);
5943 if (PyErr_Occurred()) SWIG_fail
;
5945 resultobj
= SWIG_Py_Void();
5952 SWIGINTERN PyObject
*_wrap_Point_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5953 PyObject
*resultobj
= 0;
5954 wxPoint
*arg1
= (wxPoint
*) 0 ;
5955 PyObject
*result
= 0 ;
5958 PyObject
*swig_obj
[1] ;
5960 if (!args
) SWIG_fail
;
5962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5963 if (!SWIG_IsOK(res1
)) {
5964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point_Get" "', expected argument " "1"" of type '" "wxPoint *""'");
5966 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5969 result
= (PyObject
*)wxPoint_Get(arg1
);
5970 wxPyEndAllowThreads(__tstate
);
5971 if (PyErr_Occurred()) SWIG_fail
;
5980 SWIGINTERN PyObject
*Point_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5982 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5983 SWIG_TypeNewClientData(SWIGTYPE_p_wxPoint
, SWIG_NewClientData(obj
));
5984 return SWIG_Py_Void();
5987 SWIGINTERN PyObject
*Point_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5988 return SWIG_Python_InitShadowInstance(args
);
5991 SWIGINTERN PyObject
*_wrap_new_Rect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5992 PyObject
*resultobj
= 0;
5993 int arg1
= (int) 0 ;
5994 int arg2
= (int) 0 ;
5995 int arg3
= (int) 0 ;
5996 int arg4
= (int) 0 ;
5997 wxRect
*result
= 0 ;
6006 PyObject
* obj0
= 0 ;
6007 PyObject
* obj1
= 0 ;
6008 PyObject
* obj2
= 0 ;
6009 PyObject
* obj3
= 0 ;
6010 char * kwnames
[] = {
6011 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6016 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6017 if (!SWIG_IsOK(ecode1
)) {
6018 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Rect" "', expected argument " "1"" of type '" "int""'");
6020 arg1
= static_cast< int >(val1
);
6023 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6024 if (!SWIG_IsOK(ecode2
)) {
6025 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Rect" "', expected argument " "2"" of type '" "int""'");
6027 arg2
= static_cast< int >(val2
);
6030 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6031 if (!SWIG_IsOK(ecode3
)) {
6032 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Rect" "', expected argument " "3"" of type '" "int""'");
6034 arg3
= static_cast< int >(val3
);
6037 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6038 if (!SWIG_IsOK(ecode4
)) {
6039 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Rect" "', expected argument " "4"" of type '" "int""'");
6041 arg4
= static_cast< int >(val4
);
6044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6045 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
6046 wxPyEndAllowThreads(__tstate
);
6047 if (PyErr_Occurred()) SWIG_fail
;
6049 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, SWIG_POINTER_NEW
| 0 );
6056 SWIGINTERN PyObject
*_wrap_new_RectPP(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6057 PyObject
*resultobj
= 0;
6060 wxRect
*result
= 0 ;
6063 PyObject
* obj0
= 0 ;
6064 PyObject
* obj1
= 0 ;
6065 char * kwnames
[] = {
6066 (char *) "topLeft",(char *) "bottomRight", NULL
6069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6072 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6076 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6080 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
6081 wxPyEndAllowThreads(__tstate
);
6082 if (PyErr_Occurred()) SWIG_fail
;
6084 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
6091 SWIGINTERN PyObject
*_wrap_new_RectPS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6092 PyObject
*resultobj
= 0;
6095 wxRect
*result
= 0 ;
6098 PyObject
* obj0
= 0 ;
6099 PyObject
* obj1
= 0 ;
6100 char * kwnames
[] = {
6101 (char *) "pos",(char *) "size", NULL
6104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6107 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6111 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6115 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
6116 wxPyEndAllowThreads(__tstate
);
6117 if (PyErr_Occurred()) SWIG_fail
;
6119 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
6126 SWIGINTERN PyObject
*_wrap_new_RectS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6127 PyObject
*resultobj
= 0;
6129 wxRect
*result
= 0 ;
6131 PyObject
* obj0
= 0 ;
6132 char * kwnames
[] = {
6133 (char *) "size", NULL
6136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RectS",kwnames
,&obj0
)) SWIG_fail
;
6139 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
6142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6143 result
= (wxRect
*)new wxRect((wxSize
const &)*arg1
);
6144 wxPyEndAllowThreads(__tstate
);
6145 if (PyErr_Occurred()) SWIG_fail
;
6147 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
6154 SWIGINTERN PyObject
*_wrap_delete_Rect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6155 PyObject
*resultobj
= 0;
6156 wxRect
*arg1
= (wxRect
*) 0 ;
6159 PyObject
*swig_obj
[1] ;
6161 if (!args
) SWIG_fail
;
6163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, SWIG_POINTER_DISOWN
| 0 );
6164 if (!SWIG_IsOK(res1
)) {
6165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Rect" "', expected argument " "1"" of type '" "wxRect *""'");
6167 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6172 wxPyEndAllowThreads(__tstate
);
6173 if (PyErr_Occurred()) SWIG_fail
;
6175 resultobj
= SWIG_Py_Void();
6182 SWIGINTERN PyObject
*_wrap_Rect_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6183 PyObject
*resultobj
= 0;
6184 wxRect
*arg1
= (wxRect
*) 0 ;
6188 PyObject
*swig_obj
[1] ;
6190 if (!args
) SWIG_fail
;
6192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6193 if (!SWIG_IsOK(res1
)) {
6194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetX" "', expected argument " "1"" of type '" "wxRect const *""'");
6196 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6199 result
= (int)((wxRect
const *)arg1
)->GetX();
6200 wxPyEndAllowThreads(__tstate
);
6201 if (PyErr_Occurred()) SWIG_fail
;
6203 resultobj
= SWIG_From_int(static_cast< int >(result
));
6210 SWIGINTERN PyObject
*_wrap_Rect_SetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6211 PyObject
*resultobj
= 0;
6212 wxRect
*arg1
= (wxRect
*) 0 ;
6218 PyObject
* obj0
= 0 ;
6219 PyObject
* obj1
= 0 ;
6220 char * kwnames
[] = {
6221 (char *) "self",(char *) "x", NULL
6224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6226 if (!SWIG_IsOK(res1
)) {
6227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetX" "', expected argument " "1"" of type '" "wxRect *""'");
6229 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6230 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6231 if (!SWIG_IsOK(ecode2
)) {
6232 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetX" "', expected argument " "2"" of type '" "int""'");
6234 arg2
= static_cast< int >(val2
);
6236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6238 wxPyEndAllowThreads(__tstate
);
6239 if (PyErr_Occurred()) SWIG_fail
;
6241 resultobj
= SWIG_Py_Void();
6248 SWIGINTERN PyObject
*_wrap_Rect_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6249 PyObject
*resultobj
= 0;
6250 wxRect
*arg1
= (wxRect
*) 0 ;
6254 PyObject
*swig_obj
[1] ;
6256 if (!args
) SWIG_fail
;
6258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6259 if (!SWIG_IsOK(res1
)) {
6260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetY" "', expected argument " "1"" of type '" "wxRect *""'");
6262 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6265 result
= (int)(arg1
)->GetY();
6266 wxPyEndAllowThreads(__tstate
);
6267 if (PyErr_Occurred()) SWIG_fail
;
6269 resultobj
= SWIG_From_int(static_cast< int >(result
));
6276 SWIGINTERN PyObject
*_wrap_Rect_SetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6277 PyObject
*resultobj
= 0;
6278 wxRect
*arg1
= (wxRect
*) 0 ;
6284 PyObject
* obj0
= 0 ;
6285 PyObject
* obj1
= 0 ;
6286 char * kwnames
[] = {
6287 (char *) "self",(char *) "y", NULL
6290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6292 if (!SWIG_IsOK(res1
)) {
6293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetY" "', expected argument " "1"" of type '" "wxRect *""'");
6295 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6296 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6297 if (!SWIG_IsOK(ecode2
)) {
6298 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetY" "', expected argument " "2"" of type '" "int""'");
6300 arg2
= static_cast< int >(val2
);
6302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6304 wxPyEndAllowThreads(__tstate
);
6305 if (PyErr_Occurred()) SWIG_fail
;
6307 resultobj
= SWIG_Py_Void();
6314 SWIGINTERN PyObject
*_wrap_Rect_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6315 PyObject
*resultobj
= 0;
6316 wxRect
*arg1
= (wxRect
*) 0 ;
6320 PyObject
*swig_obj
[1] ;
6322 if (!args
) SWIG_fail
;
6324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6325 if (!SWIG_IsOK(res1
)) {
6326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetWidth" "', expected argument " "1"" of type '" "wxRect const *""'");
6328 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6331 result
= (int)((wxRect
const *)arg1
)->GetWidth();
6332 wxPyEndAllowThreads(__tstate
);
6333 if (PyErr_Occurred()) SWIG_fail
;
6335 resultobj
= SWIG_From_int(static_cast< int >(result
));
6342 SWIGINTERN PyObject
*_wrap_Rect_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6343 PyObject
*resultobj
= 0;
6344 wxRect
*arg1
= (wxRect
*) 0 ;
6350 PyObject
* obj0
= 0 ;
6351 PyObject
* obj1
= 0 ;
6352 char * kwnames
[] = {
6353 (char *) "self",(char *) "w", NULL
6356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6358 if (!SWIG_IsOK(res1
)) {
6359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetWidth" "', expected argument " "1"" of type '" "wxRect *""'");
6361 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6362 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6363 if (!SWIG_IsOK(ecode2
)) {
6364 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetWidth" "', expected argument " "2"" of type '" "int""'");
6366 arg2
= static_cast< int >(val2
);
6368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6369 (arg1
)->SetWidth(arg2
);
6370 wxPyEndAllowThreads(__tstate
);
6371 if (PyErr_Occurred()) SWIG_fail
;
6373 resultobj
= SWIG_Py_Void();
6380 SWIGINTERN PyObject
*_wrap_Rect_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6381 PyObject
*resultobj
= 0;
6382 wxRect
*arg1
= (wxRect
*) 0 ;
6386 PyObject
*swig_obj
[1] ;
6388 if (!args
) SWIG_fail
;
6390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6391 if (!SWIG_IsOK(res1
)) {
6392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetHeight" "', expected argument " "1"" of type '" "wxRect const *""'");
6394 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6397 result
= (int)((wxRect
const *)arg1
)->GetHeight();
6398 wxPyEndAllowThreads(__tstate
);
6399 if (PyErr_Occurred()) SWIG_fail
;
6401 resultobj
= SWIG_From_int(static_cast< int >(result
));
6408 SWIGINTERN PyObject
*_wrap_Rect_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6409 PyObject
*resultobj
= 0;
6410 wxRect
*arg1
= (wxRect
*) 0 ;
6416 PyObject
* obj0
= 0 ;
6417 PyObject
* obj1
= 0 ;
6418 char * kwnames
[] = {
6419 (char *) "self",(char *) "h", NULL
6422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6424 if (!SWIG_IsOK(res1
)) {
6425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetHeight" "', expected argument " "1"" of type '" "wxRect *""'");
6427 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6428 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6429 if (!SWIG_IsOK(ecode2
)) {
6430 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetHeight" "', expected argument " "2"" of type '" "int""'");
6432 arg2
= static_cast< int >(val2
);
6434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6435 (arg1
)->SetHeight(arg2
);
6436 wxPyEndAllowThreads(__tstate
);
6437 if (PyErr_Occurred()) SWIG_fail
;
6439 resultobj
= SWIG_Py_Void();
6446 SWIGINTERN PyObject
*_wrap_Rect_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6447 PyObject
*resultobj
= 0;
6448 wxRect
*arg1
= (wxRect
*) 0 ;
6452 PyObject
*swig_obj
[1] ;
6454 if (!args
) SWIG_fail
;
6456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6457 if (!SWIG_IsOK(res1
)) {
6458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetPosition" "', expected argument " "1"" of type '" "wxRect const *""'");
6460 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6463 result
= ((wxRect
const *)arg1
)->GetPosition();
6464 wxPyEndAllowThreads(__tstate
);
6465 if (PyErr_Occurred()) SWIG_fail
;
6467 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6474 SWIGINTERN PyObject
*_wrap_Rect_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6475 PyObject
*resultobj
= 0;
6476 wxRect
*arg1
= (wxRect
*) 0 ;
6481 PyObject
* obj0
= 0 ;
6482 PyObject
* obj1
= 0 ;
6483 char * kwnames
[] = {
6484 (char *) "self",(char *) "p", NULL
6487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6489 if (!SWIG_IsOK(res1
)) {
6490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetPosition" "', expected argument " "1"" of type '" "wxRect *""'");
6492 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6495 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6499 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
6500 wxPyEndAllowThreads(__tstate
);
6501 if (PyErr_Occurred()) SWIG_fail
;
6503 resultobj
= SWIG_Py_Void();
6510 SWIGINTERN PyObject
*_wrap_Rect_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6511 PyObject
*resultobj
= 0;
6512 wxRect
*arg1
= (wxRect
*) 0 ;
6516 PyObject
*swig_obj
[1] ;
6518 if (!args
) SWIG_fail
;
6520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6521 if (!SWIG_IsOK(res1
)) {
6522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetSize" "', expected argument " "1"" of type '" "wxRect const *""'");
6524 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6527 result
= ((wxRect
const *)arg1
)->GetSize();
6528 wxPyEndAllowThreads(__tstate
);
6529 if (PyErr_Occurred()) SWIG_fail
;
6531 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6538 SWIGINTERN PyObject
*_wrap_Rect_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6539 PyObject
*resultobj
= 0;
6540 wxRect
*arg1
= (wxRect
*) 0 ;
6545 PyObject
* obj0
= 0 ;
6546 PyObject
* obj1
= 0 ;
6547 char * kwnames
[] = {
6548 (char *) "self",(char *) "s", NULL
6551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6553 if (!SWIG_IsOK(res1
)) {
6554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetSize" "', expected argument " "1"" of type '" "wxRect *""'");
6556 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6559 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6563 (arg1
)->SetSize((wxSize
const &)*arg2
);
6564 wxPyEndAllowThreads(__tstate
);
6565 if (PyErr_Occurred()) SWIG_fail
;
6567 resultobj
= SWIG_Py_Void();
6574 SWIGINTERN PyObject
*_wrap_Rect_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6575 PyObject
*resultobj
= 0;
6576 wxRect
*arg1
= (wxRect
*) 0 ;
6580 PyObject
*swig_obj
[1] ;
6582 if (!args
) SWIG_fail
;
6584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6585 if (!SWIG_IsOK(res1
)) {
6586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_IsEmpty" "', expected argument " "1"" of type '" "wxRect const *""'");
6588 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6591 result
= (bool)((wxRect
const *)arg1
)->IsEmpty();
6592 wxPyEndAllowThreads(__tstate
);
6593 if (PyErr_Occurred()) SWIG_fail
;
6596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6604 SWIGINTERN PyObject
*_wrap_Rect_GetTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6605 PyObject
*resultobj
= 0;
6606 wxRect
*arg1
= (wxRect
*) 0 ;
6610 PyObject
*swig_obj
[1] ;
6612 if (!args
) SWIG_fail
;
6614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6615 if (!SWIG_IsOK(res1
)) {
6616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetTopLeft" "', expected argument " "1"" of type '" "wxRect const *""'");
6618 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6621 result
= ((wxRect
const *)arg1
)->GetTopLeft();
6622 wxPyEndAllowThreads(__tstate
);
6623 if (PyErr_Occurred()) SWIG_fail
;
6625 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6632 SWIGINTERN PyObject
*_wrap_Rect_SetTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6633 PyObject
*resultobj
= 0;
6634 wxRect
*arg1
= (wxRect
*) 0 ;
6639 PyObject
* obj0
= 0 ;
6640 PyObject
* obj1
= 0 ;
6641 char * kwnames
[] = {
6642 (char *) "self",(char *) "p", NULL
6645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6647 if (!SWIG_IsOK(res1
)) {
6648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetTopLeft" "', expected argument " "1"" of type '" "wxRect *""'");
6650 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6653 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6657 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
6658 wxPyEndAllowThreads(__tstate
);
6659 if (PyErr_Occurred()) SWIG_fail
;
6661 resultobj
= SWIG_Py_Void();
6668 SWIGINTERN PyObject
*_wrap_Rect_GetBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6669 PyObject
*resultobj
= 0;
6670 wxRect
*arg1
= (wxRect
*) 0 ;
6674 PyObject
*swig_obj
[1] ;
6676 if (!args
) SWIG_fail
;
6678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6679 if (!SWIG_IsOK(res1
)) {
6680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetBottomRight" "', expected argument " "1"" of type '" "wxRect const *""'");
6682 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6685 result
= ((wxRect
const *)arg1
)->GetBottomRight();
6686 wxPyEndAllowThreads(__tstate
);
6687 if (PyErr_Occurred()) SWIG_fail
;
6689 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6696 SWIGINTERN PyObject
*_wrap_Rect_SetBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6697 PyObject
*resultobj
= 0;
6698 wxRect
*arg1
= (wxRect
*) 0 ;
6703 PyObject
* obj0
= 0 ;
6704 PyObject
* obj1
= 0 ;
6705 char * kwnames
[] = {
6706 (char *) "self",(char *) "p", NULL
6709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6711 if (!SWIG_IsOK(res1
)) {
6712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetBottomRight" "', expected argument " "1"" of type '" "wxRect *""'");
6714 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6717 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6721 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
6722 wxPyEndAllowThreads(__tstate
);
6723 if (PyErr_Occurred()) SWIG_fail
;
6725 resultobj
= SWIG_Py_Void();
6732 SWIGINTERN PyObject
*_wrap_Rect_GetLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6733 PyObject
*resultobj
= 0;
6734 wxRect
*arg1
= (wxRect
*) 0 ;
6738 PyObject
*swig_obj
[1] ;
6740 if (!args
) SWIG_fail
;
6742 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6743 if (!SWIG_IsOK(res1
)) {
6744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetLeft" "', expected argument " "1"" of type '" "wxRect const *""'");
6746 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6749 result
= (int)((wxRect
const *)arg1
)->GetLeft();
6750 wxPyEndAllowThreads(__tstate
);
6751 if (PyErr_Occurred()) SWIG_fail
;
6753 resultobj
= SWIG_From_int(static_cast< int >(result
));
6760 SWIGINTERN PyObject
*_wrap_Rect_GetTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6761 PyObject
*resultobj
= 0;
6762 wxRect
*arg1
= (wxRect
*) 0 ;
6766 PyObject
*swig_obj
[1] ;
6768 if (!args
) SWIG_fail
;
6770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6771 if (!SWIG_IsOK(res1
)) {
6772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetTop" "', expected argument " "1"" of type '" "wxRect const *""'");
6774 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6777 result
= (int)((wxRect
const *)arg1
)->GetTop();
6778 wxPyEndAllowThreads(__tstate
);
6779 if (PyErr_Occurred()) SWIG_fail
;
6781 resultobj
= SWIG_From_int(static_cast< int >(result
));
6788 SWIGINTERN PyObject
*_wrap_Rect_GetBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6789 PyObject
*resultobj
= 0;
6790 wxRect
*arg1
= (wxRect
*) 0 ;
6794 PyObject
*swig_obj
[1] ;
6796 if (!args
) SWIG_fail
;
6798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6799 if (!SWIG_IsOK(res1
)) {
6800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetBottom" "', expected argument " "1"" of type '" "wxRect const *""'");
6802 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6805 result
= (int)((wxRect
const *)arg1
)->GetBottom();
6806 wxPyEndAllowThreads(__tstate
);
6807 if (PyErr_Occurred()) SWIG_fail
;
6809 resultobj
= SWIG_From_int(static_cast< int >(result
));
6816 SWIGINTERN PyObject
*_wrap_Rect_GetRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6817 PyObject
*resultobj
= 0;
6818 wxRect
*arg1
= (wxRect
*) 0 ;
6822 PyObject
*swig_obj
[1] ;
6824 if (!args
) SWIG_fail
;
6826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6827 if (!SWIG_IsOK(res1
)) {
6828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetRight" "', expected argument " "1"" of type '" "wxRect const *""'");
6830 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6833 result
= (int)((wxRect
const *)arg1
)->GetRight();
6834 wxPyEndAllowThreads(__tstate
);
6835 if (PyErr_Occurred()) SWIG_fail
;
6837 resultobj
= SWIG_From_int(static_cast< int >(result
));
6844 SWIGINTERN PyObject
*_wrap_Rect_SetLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6845 PyObject
*resultobj
= 0;
6846 wxRect
*arg1
= (wxRect
*) 0 ;
6852 PyObject
* obj0
= 0 ;
6853 PyObject
* obj1
= 0 ;
6854 char * kwnames
[] = {
6855 (char *) "self",(char *) "left", NULL
6858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6860 if (!SWIG_IsOK(res1
)) {
6861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetLeft" "', expected argument " "1"" of type '" "wxRect *""'");
6863 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6864 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6865 if (!SWIG_IsOK(ecode2
)) {
6866 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetLeft" "', expected argument " "2"" of type '" "int""'");
6868 arg2
= static_cast< int >(val2
);
6870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6871 (arg1
)->SetLeft(arg2
);
6872 wxPyEndAllowThreads(__tstate
);
6873 if (PyErr_Occurred()) SWIG_fail
;
6875 resultobj
= SWIG_Py_Void();
6882 SWIGINTERN PyObject
*_wrap_Rect_SetRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6883 PyObject
*resultobj
= 0;
6884 wxRect
*arg1
= (wxRect
*) 0 ;
6890 PyObject
* obj0
= 0 ;
6891 PyObject
* obj1
= 0 ;
6892 char * kwnames
[] = {
6893 (char *) "self",(char *) "right", NULL
6896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6898 if (!SWIG_IsOK(res1
)) {
6899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetRight" "', expected argument " "1"" of type '" "wxRect *""'");
6901 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6902 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6903 if (!SWIG_IsOK(ecode2
)) {
6904 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetRight" "', expected argument " "2"" of type '" "int""'");
6906 arg2
= static_cast< int >(val2
);
6908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6909 (arg1
)->SetRight(arg2
);
6910 wxPyEndAllowThreads(__tstate
);
6911 if (PyErr_Occurred()) SWIG_fail
;
6913 resultobj
= SWIG_Py_Void();
6920 SWIGINTERN PyObject
*_wrap_Rect_SetTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6921 PyObject
*resultobj
= 0;
6922 wxRect
*arg1
= (wxRect
*) 0 ;
6928 PyObject
* obj0
= 0 ;
6929 PyObject
* obj1
= 0 ;
6930 char * kwnames
[] = {
6931 (char *) "self",(char *) "top", NULL
6934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6936 if (!SWIG_IsOK(res1
)) {
6937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetTop" "', expected argument " "1"" of type '" "wxRect *""'");
6939 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6940 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6941 if (!SWIG_IsOK(ecode2
)) {
6942 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetTop" "', expected argument " "2"" of type '" "int""'");
6944 arg2
= static_cast< int >(val2
);
6946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6947 (arg1
)->SetTop(arg2
);
6948 wxPyEndAllowThreads(__tstate
);
6949 if (PyErr_Occurred()) SWIG_fail
;
6951 resultobj
= SWIG_Py_Void();
6958 SWIGINTERN PyObject
*_wrap_Rect_SetBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6959 PyObject
*resultobj
= 0;
6960 wxRect
*arg1
= (wxRect
*) 0 ;
6966 PyObject
* obj0
= 0 ;
6967 PyObject
* obj1
= 0 ;
6968 char * kwnames
[] = {
6969 (char *) "self",(char *) "bottom", NULL
6972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6974 if (!SWIG_IsOK(res1
)) {
6975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetBottom" "', expected argument " "1"" of type '" "wxRect *""'");
6977 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6978 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6979 if (!SWIG_IsOK(ecode2
)) {
6980 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetBottom" "', expected argument " "2"" of type '" "int""'");
6982 arg2
= static_cast< int >(val2
);
6984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6985 (arg1
)->SetBottom(arg2
);
6986 wxPyEndAllowThreads(__tstate
);
6987 if (PyErr_Occurred()) SWIG_fail
;
6989 resultobj
= SWIG_Py_Void();
6996 SWIGINTERN PyObject
*_wrap_Rect_Inflate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6997 PyObject
*resultobj
= 0;
6998 wxRect
*arg1
= (wxRect
*) 0 ;
7001 wxRect
*result
= 0 ;
7008 PyObject
* obj0
= 0 ;
7009 PyObject
* obj1
= 0 ;
7010 PyObject
* obj2
= 0 ;
7011 char * kwnames
[] = {
7012 (char *) "self",(char *) "dx",(char *) "dy", NULL
7015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7017 if (!SWIG_IsOK(res1
)) {
7018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Inflate" "', expected argument " "1"" of type '" "wxRect *""'");
7020 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7021 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7022 if (!SWIG_IsOK(ecode2
)) {
7023 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_Inflate" "', expected argument " "2"" of type '" "int""'");
7025 arg2
= static_cast< int >(val2
);
7026 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7027 if (!SWIG_IsOK(ecode3
)) {
7028 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect_Inflate" "', expected argument " "3"" of type '" "int""'");
7030 arg3
= static_cast< int >(val3
);
7032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7034 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
7035 result
= (wxRect
*) &_result_ref
;
7037 wxPyEndAllowThreads(__tstate
);
7038 if (PyErr_Occurred()) SWIG_fail
;
7040 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, 0 | 0 );
7047 SWIGINTERN PyObject
*_wrap_Rect_Deflate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7048 PyObject
*resultobj
= 0;
7049 wxRect
*arg1
= (wxRect
*) 0 ;
7052 wxRect
*result
= 0 ;
7059 PyObject
* obj0
= 0 ;
7060 PyObject
* obj1
= 0 ;
7061 PyObject
* obj2
= 0 ;
7062 char * kwnames
[] = {
7063 (char *) "self",(char *) "dx",(char *) "dy", NULL
7066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7068 if (!SWIG_IsOK(res1
)) {
7069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Deflate" "', expected argument " "1"" of type '" "wxRect *""'");
7071 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7072 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7073 if (!SWIG_IsOK(ecode2
)) {
7074 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_Deflate" "', expected argument " "2"" of type '" "int""'");
7076 arg2
= static_cast< int >(val2
);
7077 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7078 if (!SWIG_IsOK(ecode3
)) {
7079 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect_Deflate" "', expected argument " "3"" of type '" "int""'");
7081 arg3
= static_cast< int >(val3
);
7083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7085 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
7086 result
= (wxRect
*) &_result_ref
;
7088 wxPyEndAllowThreads(__tstate
);
7089 if (PyErr_Occurred()) SWIG_fail
;
7091 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, 0 | 0 );
7098 SWIGINTERN PyObject
*_wrap_Rect_OffsetXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7099 PyObject
*resultobj
= 0;
7100 wxRect
*arg1
= (wxRect
*) 0 ;
7109 PyObject
* obj0
= 0 ;
7110 PyObject
* obj1
= 0 ;
7111 PyObject
* obj2
= 0 ;
7112 char * kwnames
[] = {
7113 (char *) "self",(char *) "dx",(char *) "dy", NULL
7116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7118 if (!SWIG_IsOK(res1
)) {
7119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_OffsetXY" "', expected argument " "1"" of type '" "wxRect *""'");
7121 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7122 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7123 if (!SWIG_IsOK(ecode2
)) {
7124 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_OffsetXY" "', expected argument " "2"" of type '" "int""'");
7126 arg2
= static_cast< int >(val2
);
7127 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7128 if (!SWIG_IsOK(ecode3
)) {
7129 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect_OffsetXY" "', expected argument " "3"" of type '" "int""'");
7131 arg3
= static_cast< int >(val3
);
7133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7134 (arg1
)->Offset(arg2
,arg3
);
7135 wxPyEndAllowThreads(__tstate
);
7136 if (PyErr_Occurred()) SWIG_fail
;
7138 resultobj
= SWIG_Py_Void();
7145 SWIGINTERN PyObject
*_wrap_Rect_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7146 PyObject
*resultobj
= 0;
7147 wxRect
*arg1
= (wxRect
*) 0 ;
7152 PyObject
* obj0
= 0 ;
7153 PyObject
* obj1
= 0 ;
7154 char * kwnames
[] = {
7155 (char *) "self",(char *) "pt", NULL
7158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7160 if (!SWIG_IsOK(res1
)) {
7161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Offset" "', expected argument " "1"" of type '" "wxRect *""'");
7163 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7166 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7170 (arg1
)->Offset((wxPoint
const &)*arg2
);
7171 wxPyEndAllowThreads(__tstate
);
7172 if (PyErr_Occurred()) SWIG_fail
;
7174 resultobj
= SWIG_Py_Void();
7181 SWIGINTERN PyObject
*_wrap_Rect_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7182 PyObject
*resultobj
= 0;
7183 wxRect
*arg1
= (wxRect
*) 0 ;
7189 PyObject
* obj0
= 0 ;
7190 PyObject
* obj1
= 0 ;
7191 char * kwnames
[] = {
7192 (char *) "self",(char *) "rect", NULL
7195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7197 if (!SWIG_IsOK(res1
)) {
7198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Intersect" "', expected argument " "1"" of type '" "wxRect *""'");
7200 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7203 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7207 result
= (arg1
)->Intersect((wxRect
const &)*arg2
);
7208 wxPyEndAllowThreads(__tstate
);
7209 if (PyErr_Occurred()) SWIG_fail
;
7211 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
7218 SWIGINTERN PyObject
*_wrap_Rect_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7219 PyObject
*resultobj
= 0;
7220 wxRect
*arg1
= (wxRect
*) 0 ;
7226 PyObject
* obj0
= 0 ;
7227 PyObject
* obj1
= 0 ;
7228 char * kwnames
[] = {
7229 (char *) "self",(char *) "rect", NULL
7232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Union",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7234 if (!SWIG_IsOK(res1
)) {
7235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Union" "', expected argument " "1"" of type '" "wxRect *""'");
7237 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7240 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7244 result
= (arg1
)->Union((wxRect
const &)*arg2
);
7245 wxPyEndAllowThreads(__tstate
);
7246 if (PyErr_Occurred()) SWIG_fail
;
7248 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
7255 SWIGINTERN PyObject
*_wrap_Rect___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7256 PyObject
*resultobj
= 0;
7257 wxRect
*arg1
= (wxRect
*) 0 ;
7263 PyObject
* obj0
= 0 ;
7264 PyObject
* obj1
= 0 ;
7265 char * kwnames
[] = {
7266 (char *) "self",(char *) "rect", NULL
7269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7271 if (!SWIG_IsOK(res1
)) {
7272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect___add__" "', expected argument " "1"" of type '" "wxRect const *""'");
7274 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7277 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7281 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
7282 wxPyEndAllowThreads(__tstate
);
7283 if (PyErr_Occurred()) SWIG_fail
;
7285 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
7292 SWIGINTERN PyObject
*_wrap_Rect___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7293 PyObject
*resultobj
= 0;
7294 wxRect
*arg1
= (wxRect
*) 0 ;
7296 wxRect
*result
= 0 ;
7300 PyObject
* obj0
= 0 ;
7301 PyObject
* obj1
= 0 ;
7302 char * kwnames
[] = {
7303 (char *) "self",(char *) "rect", NULL
7306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, SWIG_POINTER_DISOWN
| 0 );
7308 if (!SWIG_IsOK(res1
)) {
7309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect___iadd__" "', expected argument " "1"" of type '" "wxRect *""'");
7311 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7314 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7319 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
7320 result
= (wxRect
*) &_result_ref
;
7322 wxPyEndAllowThreads(__tstate
);
7323 if (PyErr_Occurred()) SWIG_fail
;
7325 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
7332 SWIGINTERN PyObject
*_wrap_Rect___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7333 PyObject
*resultobj
= 0;
7334 wxRect
*arg1
= (wxRect
*) 0 ;
7335 PyObject
*arg2
= (PyObject
*) 0 ;
7339 PyObject
* obj0
= 0 ;
7340 PyObject
* obj1
= 0 ;
7341 char * kwnames
[] = {
7342 (char *) "self",(char *) "other", NULL
7345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7347 if (!SWIG_IsOK(res1
)) {
7348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect___eq__" "', expected argument " "1"" of type '" "wxRect *""'");
7350 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7353 result
= (bool)wxRect___eq__(arg1
,arg2
);
7354 if (PyErr_Occurred()) SWIG_fail
;
7357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7365 SWIGINTERN PyObject
*_wrap_Rect___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7366 PyObject
*resultobj
= 0;
7367 wxRect
*arg1
= (wxRect
*) 0 ;
7368 PyObject
*arg2
= (PyObject
*) 0 ;
7372 PyObject
* obj0
= 0 ;
7373 PyObject
* obj1
= 0 ;
7374 char * kwnames
[] = {
7375 (char *) "self",(char *) "other", NULL
7378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7380 if (!SWIG_IsOK(res1
)) {
7381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect___ne__" "', expected argument " "1"" of type '" "wxRect *""'");
7383 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7386 result
= (bool)wxRect___ne__(arg1
,arg2
);
7387 if (PyErr_Occurred()) SWIG_fail
;
7390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7398 SWIGINTERN PyObject
*_wrap_Rect_InsideXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7399 PyObject
*resultobj
= 0;
7400 wxRect
*arg1
= (wxRect
*) 0 ;
7410 PyObject
* obj0
= 0 ;
7411 PyObject
* obj1
= 0 ;
7412 PyObject
* obj2
= 0 ;
7413 char * kwnames
[] = {
7414 (char *) "self",(char *) "x",(char *) "y", NULL
7417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7419 if (!SWIG_IsOK(res1
)) {
7420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_InsideXY" "', expected argument " "1"" of type '" "wxRect const *""'");
7422 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7423 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7424 if (!SWIG_IsOK(ecode2
)) {
7425 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_InsideXY" "', expected argument " "2"" of type '" "int""'");
7427 arg2
= static_cast< int >(val2
);
7428 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7429 if (!SWIG_IsOK(ecode3
)) {
7430 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect_InsideXY" "', expected argument " "3"" of type '" "int""'");
7432 arg3
= static_cast< int >(val3
);
7434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7435 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
7436 wxPyEndAllowThreads(__tstate
);
7437 if (PyErr_Occurred()) SWIG_fail
;
7440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7448 SWIGINTERN PyObject
*_wrap_Rect_Inside(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7449 PyObject
*resultobj
= 0;
7450 wxRect
*arg1
= (wxRect
*) 0 ;
7456 PyObject
* obj0
= 0 ;
7457 PyObject
* obj1
= 0 ;
7458 char * kwnames
[] = {
7459 (char *) "self",(char *) "pt", NULL
7462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7464 if (!SWIG_IsOK(res1
)) {
7465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Inside" "', expected argument " "1"" of type '" "wxRect const *""'");
7467 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7470 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7474 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
7475 wxPyEndAllowThreads(__tstate
);
7476 if (PyErr_Occurred()) SWIG_fail
;
7479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7487 SWIGINTERN PyObject
*_wrap_Rect_Intersects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7488 PyObject
*resultobj
= 0;
7489 wxRect
*arg1
= (wxRect
*) 0 ;
7495 PyObject
* obj0
= 0 ;
7496 PyObject
* obj1
= 0 ;
7497 char * kwnames
[] = {
7498 (char *) "self",(char *) "rect", NULL
7501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7503 if (!SWIG_IsOK(res1
)) {
7504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Intersects" "', expected argument " "1"" of type '" "wxRect const *""'");
7506 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7509 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7513 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
7514 wxPyEndAllowThreads(__tstate
);
7515 if (PyErr_Occurred()) SWIG_fail
;
7518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7526 SWIGINTERN PyObject
*_wrap_Rect_CenterIn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7527 PyObject
*resultobj
= 0;
7528 wxRect
*arg1
= (wxRect
*) 0 ;
7530 int arg3
= (int) wxBOTH
;
7537 PyObject
* obj0
= 0 ;
7538 PyObject
* obj1
= 0 ;
7539 PyObject
* obj2
= 0 ;
7540 char * kwnames
[] = {
7541 (char *) "self",(char *) "r",(char *) "dir", NULL
7544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Rect_CenterIn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7546 if (!SWIG_IsOK(res1
)) {
7547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_CenterIn" "', expected argument " "1"" of type '" "wxRect *""'");
7549 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7552 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7555 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7556 if (!SWIG_IsOK(ecode3
)) {
7557 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect_CenterIn" "', expected argument " "3"" of type '" "int""'");
7559 arg3
= static_cast< int >(val3
);
7562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7563 result
= (arg1
)->CenterIn((wxRect
const &)*arg2
,arg3
);
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_x_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7575 PyObject
*resultobj
= 0;
7576 wxRect
*arg1
= (wxRect
*) 0 ;
7582 PyObject
*swig_obj
[2] ;
7584 if (!SWIG_Python_UnpackTuple(args
,"Rect_x_set",2,2,swig_obj
)) SWIG_fail
;
7585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7586 if (!SWIG_IsOK(res1
)) {
7587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_x_set" "', expected argument " "1"" of type '" "wxRect *""'");
7589 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7590 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
7591 if (!SWIG_IsOK(ecode2
)) {
7592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_x_set" "', expected argument " "2"" of type '" "int""'");
7594 arg2
= static_cast< int >(val2
);
7595 if (arg1
) (arg1
)->x
= arg2
;
7597 resultobj
= SWIG_Py_Void();
7604 SWIGINTERN PyObject
*_wrap_Rect_x_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7605 PyObject
*resultobj
= 0;
7606 wxRect
*arg1
= (wxRect
*) 0 ;
7610 PyObject
*swig_obj
[1] ;
7612 if (!args
) SWIG_fail
;
7614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7615 if (!SWIG_IsOK(res1
)) {
7616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_x_get" "', expected argument " "1"" of type '" "wxRect *""'");
7618 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7619 result
= (int) ((arg1
)->x
);
7620 resultobj
= SWIG_From_int(static_cast< int >(result
));
7627 SWIGINTERN PyObject
*_wrap_Rect_y_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7628 PyObject
*resultobj
= 0;
7629 wxRect
*arg1
= (wxRect
*) 0 ;
7635 PyObject
*swig_obj
[2] ;
7637 if (!SWIG_Python_UnpackTuple(args
,"Rect_y_set",2,2,swig_obj
)) SWIG_fail
;
7638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7639 if (!SWIG_IsOK(res1
)) {
7640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_y_set" "', expected argument " "1"" of type '" "wxRect *""'");
7642 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7643 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
7644 if (!SWIG_IsOK(ecode2
)) {
7645 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_y_set" "', expected argument " "2"" of type '" "int""'");
7647 arg2
= static_cast< int >(val2
);
7648 if (arg1
) (arg1
)->y
= arg2
;
7650 resultobj
= SWIG_Py_Void();
7657 SWIGINTERN PyObject
*_wrap_Rect_y_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7658 PyObject
*resultobj
= 0;
7659 wxRect
*arg1
= (wxRect
*) 0 ;
7663 PyObject
*swig_obj
[1] ;
7665 if (!args
) SWIG_fail
;
7667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7668 if (!SWIG_IsOK(res1
)) {
7669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_y_get" "', expected argument " "1"" of type '" "wxRect *""'");
7671 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7672 result
= (int) ((arg1
)->y
);
7673 resultobj
= SWIG_From_int(static_cast< int >(result
));
7680 SWIGINTERN PyObject
*_wrap_Rect_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7681 PyObject
*resultobj
= 0;
7682 wxRect
*arg1
= (wxRect
*) 0 ;
7688 PyObject
*swig_obj
[2] ;
7690 if (!SWIG_Python_UnpackTuple(args
,"Rect_width_set",2,2,swig_obj
)) SWIG_fail
;
7691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7692 if (!SWIG_IsOK(res1
)) {
7693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_width_set" "', expected argument " "1"" of type '" "wxRect *""'");
7695 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7696 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
7697 if (!SWIG_IsOK(ecode2
)) {
7698 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_width_set" "', expected argument " "2"" of type '" "int""'");
7700 arg2
= static_cast< int >(val2
);
7701 if (arg1
) (arg1
)->width
= arg2
;
7703 resultobj
= SWIG_Py_Void();
7710 SWIGINTERN PyObject
*_wrap_Rect_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7711 PyObject
*resultobj
= 0;
7712 wxRect
*arg1
= (wxRect
*) 0 ;
7716 PyObject
*swig_obj
[1] ;
7718 if (!args
) SWIG_fail
;
7720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7721 if (!SWIG_IsOK(res1
)) {
7722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_width_get" "', expected argument " "1"" of type '" "wxRect *""'");
7724 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7725 result
= (int) ((arg1
)->width
);
7726 resultobj
= SWIG_From_int(static_cast< int >(result
));
7733 SWIGINTERN PyObject
*_wrap_Rect_height_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7734 PyObject
*resultobj
= 0;
7735 wxRect
*arg1
= (wxRect
*) 0 ;
7741 PyObject
*swig_obj
[2] ;
7743 if (!SWIG_Python_UnpackTuple(args
,"Rect_height_set",2,2,swig_obj
)) SWIG_fail
;
7744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7745 if (!SWIG_IsOK(res1
)) {
7746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_height_set" "', expected argument " "1"" of type '" "wxRect *""'");
7748 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7749 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
7750 if (!SWIG_IsOK(ecode2
)) {
7751 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_height_set" "', expected argument " "2"" of type '" "int""'");
7753 arg2
= static_cast< int >(val2
);
7754 if (arg1
) (arg1
)->height
= arg2
;
7756 resultobj
= SWIG_Py_Void();
7763 SWIGINTERN PyObject
*_wrap_Rect_height_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7764 PyObject
*resultobj
= 0;
7765 wxRect
*arg1
= (wxRect
*) 0 ;
7769 PyObject
*swig_obj
[1] ;
7771 if (!args
) SWIG_fail
;
7773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7774 if (!SWIG_IsOK(res1
)) {
7775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_height_get" "', expected argument " "1"" of type '" "wxRect *""'");
7777 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7778 result
= (int) ((arg1
)->height
);
7779 resultobj
= SWIG_From_int(static_cast< int >(result
));
7786 SWIGINTERN PyObject
*_wrap_Rect_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7787 PyObject
*resultobj
= 0;
7788 wxRect
*arg1
= (wxRect
*) 0 ;
7789 int arg2
= (int) 0 ;
7790 int arg3
= (int) 0 ;
7791 int arg4
= (int) 0 ;
7792 int arg5
= (int) 0 ;
7803 PyObject
* obj0
= 0 ;
7804 PyObject
* obj1
= 0 ;
7805 PyObject
* obj2
= 0 ;
7806 PyObject
* obj3
= 0 ;
7807 PyObject
* obj4
= 0 ;
7808 char * kwnames
[] = {
7809 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
7812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
7813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7814 if (!SWIG_IsOK(res1
)) {
7815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Set" "', expected argument " "1"" of type '" "wxRect *""'");
7817 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7819 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7820 if (!SWIG_IsOK(ecode2
)) {
7821 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_Set" "', expected argument " "2"" of type '" "int""'");
7823 arg2
= static_cast< int >(val2
);
7826 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7827 if (!SWIG_IsOK(ecode3
)) {
7828 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect_Set" "', expected argument " "3"" of type '" "int""'");
7830 arg3
= static_cast< int >(val3
);
7833 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7834 if (!SWIG_IsOK(ecode4
)) {
7835 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Rect_Set" "', expected argument " "4"" of type '" "int""'");
7837 arg4
= static_cast< int >(val4
);
7840 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
7841 if (!SWIG_IsOK(ecode5
)) {
7842 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Rect_Set" "', expected argument " "5"" of type '" "int""'");
7844 arg5
= static_cast< int >(val5
);
7847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7848 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
7849 wxPyEndAllowThreads(__tstate
);
7850 if (PyErr_Occurred()) SWIG_fail
;
7852 resultobj
= SWIG_Py_Void();
7859 SWIGINTERN PyObject
*_wrap_Rect_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7860 PyObject
*resultobj
= 0;
7861 wxRect
*arg1
= (wxRect
*) 0 ;
7862 PyObject
*result
= 0 ;
7865 PyObject
*swig_obj
[1] ;
7867 if (!args
) SWIG_fail
;
7869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7870 if (!SWIG_IsOK(res1
)) {
7871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Get" "', expected argument " "1"" of type '" "wxRect *""'");
7873 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7876 result
= (PyObject
*)wxRect_Get(arg1
);
7877 wxPyEndAllowThreads(__tstate
);
7878 if (PyErr_Occurred()) SWIG_fail
;
7887 SWIGINTERN PyObject
*Rect_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7889 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7890 SWIG_TypeNewClientData(SWIGTYPE_p_wxRect
, SWIG_NewClientData(obj
));
7891 return SWIG_Py_Void();
7894 SWIGINTERN PyObject
*Rect_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7895 return SWIG_Python_InitShadowInstance(args
);
7898 SWIGINTERN PyObject
*_wrap_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7899 PyObject
*resultobj
= 0;
7900 wxRect
*arg1
= (wxRect
*) 0 ;
7901 wxRect
*arg2
= (wxRect
*) 0 ;
7902 PyObject
*result
= 0 ;
7907 PyObject
* obj0
= 0 ;
7908 PyObject
* obj1
= 0 ;
7909 char * kwnames
[] = {
7910 (char *) "r1",(char *) "r2", NULL
7913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7915 if (!SWIG_IsOK(res1
)) {
7916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IntersectRect" "', expected argument " "1"" of type '" "wxRect *""'");
7918 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7919 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
7920 if (!SWIG_IsOK(res2
)) {
7921 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IntersectRect" "', expected argument " "2"" of type '" "wxRect *""'");
7923 arg2
= reinterpret_cast< wxRect
* >(argp2
);
7925 if (!wxPyCheckForApp()) SWIG_fail
;
7926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7927 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
7928 wxPyEndAllowThreads(__tstate
);
7929 if (PyErr_Occurred()) SWIG_fail
;
7938 SWIGINTERN PyObject
*_wrap_new_Point2D(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7939 PyObject
*resultobj
= 0;
7940 double arg1
= (double) 0.0 ;
7941 double arg2
= (double) 0.0 ;
7942 wxPoint2D
*result
= 0 ;
7947 PyObject
* obj0
= 0 ;
7948 PyObject
* obj1
= 0 ;
7949 char * kwnames
[] = {
7950 (char *) "x",(char *) "y", NULL
7953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7955 ecode1
= SWIG_AsVal_double(obj0
, &val1
);
7956 if (!SWIG_IsOK(ecode1
)) {
7957 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Point2D" "', expected argument " "1"" of type '" "double""'");
7959 arg1
= static_cast< double >(val1
);
7962 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
7963 if (!SWIG_IsOK(ecode2
)) {
7964 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Point2D" "', expected argument " "2"" of type '" "double""'");
7966 arg2
= static_cast< double >(val2
);
7969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7970 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
7971 wxPyEndAllowThreads(__tstate
);
7972 if (PyErr_Occurred()) SWIG_fail
;
7974 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_NEW
| 0 );
7981 SWIGINTERN PyObject
*_wrap_new_Point2DCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7982 PyObject
*resultobj
= 0;
7983 wxPoint2D
*arg1
= 0 ;
7984 wxPoint2D
*result
= 0 ;
7986 PyObject
* obj0
= 0 ;
7987 char * kwnames
[] = {
7991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) SWIG_fail
;
7994 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
7997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7998 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
7999 wxPyEndAllowThreads(__tstate
);
8000 if (PyErr_Occurred()) SWIG_fail
;
8002 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8009 SWIGINTERN PyObject
*_wrap_new_Point2DFromPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8010 PyObject
*resultobj
= 0;
8012 wxPoint2D
*result
= 0 ;
8014 PyObject
* obj0
= 0 ;
8015 char * kwnames
[] = {
8019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) SWIG_fail
;
8022 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
8025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8026 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
8027 wxPyEndAllowThreads(__tstate
);
8028 if (PyErr_Occurred()) SWIG_fail
;
8030 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8037 SWIGINTERN PyObject
*_wrap_Point2D_GetFloor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8038 PyObject
*resultobj
= 0;
8039 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8040 int *arg2
= (int *) 0 ;
8041 int *arg3
= (int *) 0 ;
8045 int res2
= SWIG_TMPOBJ
;
8047 int res3
= SWIG_TMPOBJ
;
8048 PyObject
*swig_obj
[1] ;
8052 if (!args
) SWIG_fail
;
8054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8055 if (!SWIG_IsOK(res1
)) {
8056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetFloor" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8058 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8061 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
8062 wxPyEndAllowThreads(__tstate
);
8063 if (PyErr_Occurred()) SWIG_fail
;
8065 resultobj
= SWIG_Py_Void();
8066 if (SWIG_IsTmpObj(res2
)) {
8067 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8069 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8070 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8072 if (SWIG_IsTmpObj(res3
)) {
8073 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8075 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8076 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8084 SWIGINTERN PyObject
*_wrap_Point2D_GetRounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8085 PyObject
*resultobj
= 0;
8086 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8087 int *arg2
= (int *) 0 ;
8088 int *arg3
= (int *) 0 ;
8092 int res2
= SWIG_TMPOBJ
;
8094 int res3
= SWIG_TMPOBJ
;
8095 PyObject
*swig_obj
[1] ;
8099 if (!args
) SWIG_fail
;
8101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8102 if (!SWIG_IsOK(res1
)) {
8103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetRounded" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8105 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8108 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
8109 wxPyEndAllowThreads(__tstate
);
8110 if (PyErr_Occurred()) SWIG_fail
;
8112 resultobj
= SWIG_Py_Void();
8113 if (SWIG_IsTmpObj(res2
)) {
8114 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8116 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8117 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8119 if (SWIG_IsTmpObj(res3
)) {
8120 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8122 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8123 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8131 SWIGINTERN PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8132 PyObject
*resultobj
= 0;
8133 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8137 PyObject
*swig_obj
[1] ;
8139 if (!args
) SWIG_fail
;
8141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8142 if (!SWIG_IsOK(res1
)) {
8143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetVectorLength" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8145 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8148 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
8149 wxPyEndAllowThreads(__tstate
);
8150 if (PyErr_Occurred()) SWIG_fail
;
8152 resultobj
= SWIG_From_double(static_cast< double >(result
));
8159 SWIGINTERN PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8160 PyObject
*resultobj
= 0;
8161 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8165 PyObject
*swig_obj
[1] ;
8167 if (!args
) SWIG_fail
;
8169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8170 if (!SWIG_IsOK(res1
)) {
8171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetVectorAngle" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8173 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8176 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
8177 wxPyEndAllowThreads(__tstate
);
8178 if (PyErr_Occurred()) SWIG_fail
;
8180 resultobj
= SWIG_From_double(static_cast< double >(result
));
8187 SWIGINTERN PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8188 PyObject
*resultobj
= 0;
8189 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8195 PyObject
* obj0
= 0 ;
8196 PyObject
* obj1
= 0 ;
8197 char * kwnames
[] = {
8198 (char *) "self",(char *) "length", NULL
8201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8203 if (!SWIG_IsOK(res1
)) {
8204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_SetVectorLength" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8206 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8207 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
8208 if (!SWIG_IsOK(ecode2
)) {
8209 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point2D_SetVectorLength" "', expected argument " "2"" of type '" "double""'");
8211 arg2
= static_cast< double >(val2
);
8213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8214 (arg1
)->SetVectorLength(arg2
);
8215 wxPyEndAllowThreads(__tstate
);
8216 if (PyErr_Occurred()) SWIG_fail
;
8218 resultobj
= SWIG_Py_Void();
8225 SWIGINTERN PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8226 PyObject
*resultobj
= 0;
8227 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8233 PyObject
* obj0
= 0 ;
8234 PyObject
* obj1
= 0 ;
8235 char * kwnames
[] = {
8236 (char *) "self",(char *) "degrees", NULL
8239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8241 if (!SWIG_IsOK(res1
)) {
8242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_SetVectorAngle" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8244 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8245 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
8246 if (!SWIG_IsOK(ecode2
)) {
8247 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point2D_SetVectorAngle" "', expected argument " "2"" of type '" "double""'");
8249 arg2
= static_cast< double >(val2
);
8251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8252 (arg1
)->SetVectorAngle(arg2
);
8253 wxPyEndAllowThreads(__tstate
);
8254 if (PyErr_Occurred()) SWIG_fail
;
8256 resultobj
= SWIG_Py_Void();
8263 SWIGINTERN PyObject
*_wrap_Point2D_GetDistance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8264 PyObject
*resultobj
= 0;
8265 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8266 wxPoint2D
*arg2
= 0 ;
8271 PyObject
* obj0
= 0 ;
8272 PyObject
* obj1
= 0 ;
8273 char * kwnames
[] = {
8274 (char *) "self",(char *) "pt", NULL
8277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8279 if (!SWIG_IsOK(res1
)) {
8280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetDistance" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8282 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8285 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8289 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
8290 wxPyEndAllowThreads(__tstate
);
8291 if (PyErr_Occurred()) SWIG_fail
;
8293 resultobj
= SWIG_From_double(static_cast< double >(result
));
8300 SWIGINTERN PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8301 PyObject
*resultobj
= 0;
8302 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8303 wxPoint2D
*arg2
= 0 ;
8308 PyObject
* obj0
= 0 ;
8309 PyObject
* obj1
= 0 ;
8310 char * kwnames
[] = {
8311 (char *) "self",(char *) "pt", NULL
8314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8316 if (!SWIG_IsOK(res1
)) {
8317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetDistanceSquare" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8319 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8322 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8326 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
8327 wxPyEndAllowThreads(__tstate
);
8328 if (PyErr_Occurred()) SWIG_fail
;
8330 resultobj
= SWIG_From_double(static_cast< double >(result
));
8337 SWIGINTERN PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8338 PyObject
*resultobj
= 0;
8339 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8340 wxPoint2D
*arg2
= 0 ;
8345 PyObject
* obj0
= 0 ;
8346 PyObject
* obj1
= 0 ;
8347 char * kwnames
[] = {
8348 (char *) "self",(char *) "vec", NULL
8351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8353 if (!SWIG_IsOK(res1
)) {
8354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetDotProduct" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8356 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8359 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8363 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
8364 wxPyEndAllowThreads(__tstate
);
8365 if (PyErr_Occurred()) SWIG_fail
;
8367 resultobj
= SWIG_From_double(static_cast< double >(result
));
8374 SWIGINTERN PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8375 PyObject
*resultobj
= 0;
8376 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8377 wxPoint2D
*arg2
= 0 ;
8382 PyObject
* obj0
= 0 ;
8383 PyObject
* obj1
= 0 ;
8384 char * kwnames
[] = {
8385 (char *) "self",(char *) "vec", NULL
8388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8390 if (!SWIG_IsOK(res1
)) {
8391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetCrossProduct" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8393 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8396 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8400 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
8401 wxPyEndAllowThreads(__tstate
);
8402 if (PyErr_Occurred()) SWIG_fail
;
8404 resultobj
= SWIG_From_double(static_cast< double >(result
));
8411 SWIGINTERN PyObject
*_wrap_Point2D___neg__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8412 PyObject
*resultobj
= 0;
8413 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8417 PyObject
*swig_obj
[1] ;
8419 if (!args
) SWIG_fail
;
8421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8422 if (!SWIG_IsOK(res1
)) {
8423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___neg__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8425 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8428 result
= (arg1
)->operator -();
8429 wxPyEndAllowThreads(__tstate
);
8430 if (PyErr_Occurred()) SWIG_fail
;
8432 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8439 SWIGINTERN PyObject
*_wrap_Point2D___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8440 PyObject
*resultobj
= 0;
8441 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8442 wxPoint2D
*arg2
= 0 ;
8443 wxPoint2D
*result
= 0 ;
8447 PyObject
* obj0
= 0 ;
8448 PyObject
* obj1
= 0 ;
8449 char * kwnames
[] = {
8450 (char *) "self",(char *) "pt", NULL
8453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_DISOWN
| 0 );
8455 if (!SWIG_IsOK(res1
)) {
8456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___iadd__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8458 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8461 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8466 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
8467 result
= (wxPoint2D
*) &_result_ref
;
8469 wxPyEndAllowThreads(__tstate
);
8470 if (PyErr_Occurred()) SWIG_fail
;
8472 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8479 SWIGINTERN PyObject
*_wrap_Point2D___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8480 PyObject
*resultobj
= 0;
8481 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8482 wxPoint2D
*arg2
= 0 ;
8483 wxPoint2D
*result
= 0 ;
8487 PyObject
* obj0
= 0 ;
8488 PyObject
* obj1
= 0 ;
8489 char * kwnames
[] = {
8490 (char *) "self",(char *) "pt", NULL
8493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_DISOWN
| 0 );
8495 if (!SWIG_IsOK(res1
)) {
8496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___isub__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8498 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8501 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8506 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
8507 result
= (wxPoint2D
*) &_result_ref
;
8509 wxPyEndAllowThreads(__tstate
);
8510 if (PyErr_Occurred()) SWIG_fail
;
8512 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8519 SWIGINTERN PyObject
*_wrap_Point2D___imul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8520 PyObject
*resultobj
= 0;
8521 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8522 wxPoint2D
*arg2
= 0 ;
8523 wxPoint2D
*result
= 0 ;
8527 PyObject
* obj0
= 0 ;
8528 PyObject
* obj1
= 0 ;
8529 char * kwnames
[] = {
8530 (char *) "self",(char *) "pt", NULL
8533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_DISOWN
| 0 );
8535 if (!SWIG_IsOK(res1
)) {
8536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___imul__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8538 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8541 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8546 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
8547 result
= (wxPoint2D
*) &_result_ref
;
8549 wxPyEndAllowThreads(__tstate
);
8550 if (PyErr_Occurred()) SWIG_fail
;
8552 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8559 SWIGINTERN PyObject
*_wrap_Point2D___idiv__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8560 PyObject
*resultobj
= 0;
8561 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8562 wxPoint2D
*arg2
= 0 ;
8563 wxPoint2D
*result
= 0 ;
8567 PyObject
* obj0
= 0 ;
8568 PyObject
* obj1
= 0 ;
8569 char * kwnames
[] = {
8570 (char *) "self",(char *) "pt", NULL
8573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_DISOWN
| 0 );
8575 if (!SWIG_IsOK(res1
)) {
8576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___idiv__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8578 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8581 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8586 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
8587 result
= (wxPoint2D
*) &_result_ref
;
8589 wxPyEndAllowThreads(__tstate
);
8590 if (PyErr_Occurred()) SWIG_fail
;
8592 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8599 SWIGINTERN PyObject
*_wrap_Point2D___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8600 PyObject
*resultobj
= 0;
8601 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8602 PyObject
*arg2
= (PyObject
*) 0 ;
8606 PyObject
* obj0
= 0 ;
8607 PyObject
* obj1
= 0 ;
8608 char * kwnames
[] = {
8609 (char *) "self",(char *) "other", NULL
8612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8614 if (!SWIG_IsOK(res1
)) {
8615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___eq__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8617 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8620 result
= (bool)wxPoint2D___eq__(arg1
,arg2
);
8621 if (PyErr_Occurred()) SWIG_fail
;
8624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8632 SWIGINTERN PyObject
*_wrap_Point2D___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8633 PyObject
*resultobj
= 0;
8634 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8635 PyObject
*arg2
= (PyObject
*) 0 ;
8639 PyObject
* obj0
= 0 ;
8640 PyObject
* obj1
= 0 ;
8641 char * kwnames
[] = {
8642 (char *) "self",(char *) "other", NULL
8645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8647 if (!SWIG_IsOK(res1
)) {
8648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___ne__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8650 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8653 result
= (bool)wxPoint2D___ne__(arg1
,arg2
);
8654 if (PyErr_Occurred()) SWIG_fail
;
8657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8665 SWIGINTERN PyObject
*_wrap_Point2D_x_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8666 PyObject
*resultobj
= 0;
8667 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8673 PyObject
*swig_obj
[2] ;
8675 if (!SWIG_Python_UnpackTuple(args
,"Point2D_x_set",2,2,swig_obj
)) SWIG_fail
;
8676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8677 if (!SWIG_IsOK(res1
)) {
8678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_x_set" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8680 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8681 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
8682 if (!SWIG_IsOK(ecode2
)) {
8683 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point2D_x_set" "', expected argument " "2"" of type '" "double""'");
8685 arg2
= static_cast< double >(val2
);
8686 if (arg1
) (arg1
)->m_x
= arg2
;
8688 resultobj
= SWIG_Py_Void();
8695 SWIGINTERN PyObject
*_wrap_Point2D_x_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8696 PyObject
*resultobj
= 0;
8697 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8701 PyObject
*swig_obj
[1] ;
8703 if (!args
) SWIG_fail
;
8705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8706 if (!SWIG_IsOK(res1
)) {
8707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_x_get" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8709 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8710 result
= (double) ((arg1
)->m_x
);
8711 resultobj
= SWIG_From_double(static_cast< double >(result
));
8718 SWIGINTERN PyObject
*_wrap_Point2D_y_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8719 PyObject
*resultobj
= 0;
8720 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8726 PyObject
*swig_obj
[2] ;
8728 if (!SWIG_Python_UnpackTuple(args
,"Point2D_y_set",2,2,swig_obj
)) SWIG_fail
;
8729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8730 if (!SWIG_IsOK(res1
)) {
8731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_y_set" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8733 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8734 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
8735 if (!SWIG_IsOK(ecode2
)) {
8736 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point2D_y_set" "', expected argument " "2"" of type '" "double""'");
8738 arg2
= static_cast< double >(val2
);
8739 if (arg1
) (arg1
)->m_y
= arg2
;
8741 resultobj
= SWIG_Py_Void();
8748 SWIGINTERN PyObject
*_wrap_Point2D_y_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8749 PyObject
*resultobj
= 0;
8750 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8754 PyObject
*swig_obj
[1] ;
8756 if (!args
) SWIG_fail
;
8758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8759 if (!SWIG_IsOK(res1
)) {
8760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_y_get" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8762 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8763 result
= (double) ((arg1
)->m_y
);
8764 resultobj
= SWIG_From_double(static_cast< double >(result
));
8771 SWIGINTERN PyObject
*_wrap_Point2D_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8772 PyObject
*resultobj
= 0;
8773 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8774 double arg2
= (double) 0 ;
8775 double arg3
= (double) 0 ;
8782 PyObject
* obj0
= 0 ;
8783 PyObject
* obj1
= 0 ;
8784 PyObject
* obj2
= 0 ;
8785 char * kwnames
[] = {
8786 (char *) "self",(char *) "x",(char *) "y", NULL
8789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8791 if (!SWIG_IsOK(res1
)) {
8792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_Set" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8794 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8796 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
8797 if (!SWIG_IsOK(ecode2
)) {
8798 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point2D_Set" "', expected argument " "2"" of type '" "double""'");
8800 arg2
= static_cast< double >(val2
);
8803 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
8804 if (!SWIG_IsOK(ecode3
)) {
8805 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Point2D_Set" "', expected argument " "3"" of type '" "double""'");
8807 arg3
= static_cast< double >(val3
);
8810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8811 wxPoint2D_Set(arg1
,arg2
,arg3
);
8812 wxPyEndAllowThreads(__tstate
);
8813 if (PyErr_Occurred()) SWIG_fail
;
8815 resultobj
= SWIG_Py_Void();
8822 SWIGINTERN PyObject
*_wrap_Point2D_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8823 PyObject
*resultobj
= 0;
8824 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8825 PyObject
*result
= 0 ;
8828 PyObject
*swig_obj
[1] ;
8830 if (!args
) SWIG_fail
;
8832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8833 if (!SWIG_IsOK(res1
)) {
8834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_Get" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8836 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8839 result
= (PyObject
*)wxPoint2D_Get(arg1
);
8840 wxPyEndAllowThreads(__tstate
);
8841 if (PyErr_Occurred()) SWIG_fail
;
8850 SWIGINTERN PyObject
*Point2D_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8852 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8853 SWIG_TypeNewClientData(SWIGTYPE_p_wxPoint2D
, SWIG_NewClientData(obj
));
8854 return SWIG_Py_Void();
8857 SWIGINTERN PyObject
*Point2D_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8858 return SWIG_Python_InitShadowInstance(args
);
8861 SWIGINTERN
int DefaultPosition_set(PyObject
*) {
8862 SWIG_Error(SWIG_AttributeError
,"Variable DefaultPosition is read-only.");
8867 SWIGINTERN PyObject
*DefaultPosition_get(void) {
8868 PyObject
*pyobj
= 0;
8870 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0 );
8875 SWIGINTERN
int DefaultSize_set(PyObject
*) {
8876 SWIG_Error(SWIG_AttributeError
,"Variable DefaultSize is read-only.");
8881 SWIGINTERN PyObject
*DefaultSize_get(void) {
8882 PyObject
*pyobj
= 0;
8884 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0 );
8889 SWIGINTERN PyObject
*_wrap_new_InputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8890 PyObject
*resultobj
= 0;
8891 PyObject
*arg1
= (PyObject
*) 0 ;
8892 wxPyInputStream
*result
= 0 ;
8893 PyObject
* obj0
= 0 ;
8894 char * kwnames
[] = {
8898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) SWIG_fail
;
8901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8902 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
8903 wxPyEndAllowThreads(__tstate
);
8904 if (PyErr_Occurred()) SWIG_fail
;
8906 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_NEW
| 0 );
8913 SWIGINTERN PyObject
*_wrap_delete_InputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8914 PyObject
*resultobj
= 0;
8915 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
8918 PyObject
*swig_obj
[1] ;
8920 if (!args
) SWIG_fail
;
8922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_DISOWN
| 0 );
8923 if (!SWIG_IsOK(res1
)) {
8924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_InputStream" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
8926 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
8928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8931 wxPyEndAllowThreads(__tstate
);
8932 if (PyErr_Occurred()) SWIG_fail
;
8934 resultobj
= SWIG_Py_Void();
8941 SWIGINTERN PyObject
*_wrap_InputStream_close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8942 PyObject
*resultobj
= 0;
8943 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
8946 PyObject
*swig_obj
[1] ;
8948 if (!args
) SWIG_fail
;
8950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
8951 if (!SWIG_IsOK(res1
)) {
8952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_close" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
8954 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
8956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8958 wxPyEndAllowThreads(__tstate
);
8959 if (PyErr_Occurred()) SWIG_fail
;
8961 resultobj
= SWIG_Py_Void();
8968 SWIGINTERN PyObject
*_wrap_InputStream_flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8969 PyObject
*resultobj
= 0;
8970 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
8973 PyObject
*swig_obj
[1] ;
8975 if (!args
) SWIG_fail
;
8977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
8978 if (!SWIG_IsOK(res1
)) {
8979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_flush" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
8981 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
8983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8985 wxPyEndAllowThreads(__tstate
);
8986 if (PyErr_Occurred()) SWIG_fail
;
8988 resultobj
= SWIG_Py_Void();
8995 SWIGINTERN PyObject
*_wrap_InputStream_eof(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8996 PyObject
*resultobj
= 0;
8997 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9001 PyObject
*swig_obj
[1] ;
9003 if (!args
) SWIG_fail
;
9005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9006 if (!SWIG_IsOK(res1
)) {
9007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_eof" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9009 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9012 result
= (bool)(arg1
)->eof();
9013 wxPyEndAllowThreads(__tstate
);
9014 if (PyErr_Occurred()) SWIG_fail
;
9017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9025 SWIGINTERN PyObject
*_wrap_InputStream_read(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9026 PyObject
*resultobj
= 0;
9027 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9028 int arg2
= (int) -1 ;
9029 PyObject
*result
= 0 ;
9034 PyObject
* obj0
= 0 ;
9035 PyObject
* obj1
= 0 ;
9036 char * kwnames
[] = {
9037 (char *) "self",(char *) "size", NULL
9040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9042 if (!SWIG_IsOK(res1
)) {
9043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_read" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9045 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9047 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9048 if (!SWIG_IsOK(ecode2
)) {
9049 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "InputStream_read" "', expected argument " "2"" of type '" "int""'");
9051 arg2
= static_cast< int >(val2
);
9054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9055 result
= (PyObject
*)(arg1
)->read(arg2
);
9056 wxPyEndAllowThreads(__tstate
);
9057 if (PyErr_Occurred()) SWIG_fail
;
9066 SWIGINTERN PyObject
*_wrap_InputStream_readline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9067 PyObject
*resultobj
= 0;
9068 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9069 int arg2
= (int) -1 ;
9070 PyObject
*result
= 0 ;
9075 PyObject
* obj0
= 0 ;
9076 PyObject
* obj1
= 0 ;
9077 char * kwnames
[] = {
9078 (char *) "self",(char *) "size", NULL
9081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9083 if (!SWIG_IsOK(res1
)) {
9084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_readline" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9086 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9088 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9089 if (!SWIG_IsOK(ecode2
)) {
9090 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "InputStream_readline" "', expected argument " "2"" of type '" "int""'");
9092 arg2
= static_cast< int >(val2
);
9095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9096 result
= (PyObject
*)(arg1
)->readline(arg2
);
9097 wxPyEndAllowThreads(__tstate
);
9098 if (PyErr_Occurred()) SWIG_fail
;
9107 SWIGINTERN PyObject
*_wrap_InputStream_readlines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9108 PyObject
*resultobj
= 0;
9109 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9110 int arg2
= (int) -1 ;
9111 PyObject
*result
= 0 ;
9116 PyObject
* obj0
= 0 ;
9117 PyObject
* obj1
= 0 ;
9118 char * kwnames
[] = {
9119 (char *) "self",(char *) "sizehint", NULL
9122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9124 if (!SWIG_IsOK(res1
)) {
9125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_readlines" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9127 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9129 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9130 if (!SWIG_IsOK(ecode2
)) {
9131 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "InputStream_readlines" "', expected argument " "2"" of type '" "int""'");
9133 arg2
= static_cast< int >(val2
);
9136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9137 result
= (PyObject
*)(arg1
)->readlines(arg2
);
9138 wxPyEndAllowThreads(__tstate
);
9139 if (PyErr_Occurred()) SWIG_fail
;
9148 SWIGINTERN PyObject
*_wrap_InputStream_seek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9149 PyObject
*resultobj
= 0;
9150 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9152 int arg3
= (int) 0 ;
9159 PyObject
* obj0
= 0 ;
9160 PyObject
* obj1
= 0 ;
9161 PyObject
* obj2
= 0 ;
9162 char * kwnames
[] = {
9163 (char *) "self",(char *) "offset",(char *) "whence", NULL
9166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9168 if (!SWIG_IsOK(res1
)) {
9169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_seek" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9171 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9172 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9173 if (!SWIG_IsOK(ecode2
)) {
9174 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "InputStream_seek" "', expected argument " "2"" of type '" "int""'");
9176 arg2
= static_cast< int >(val2
);
9178 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9179 if (!SWIG_IsOK(ecode3
)) {
9180 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "InputStream_seek" "', expected argument " "3"" of type '" "int""'");
9182 arg3
= static_cast< int >(val3
);
9185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9186 (arg1
)->seek(arg2
,arg3
);
9187 wxPyEndAllowThreads(__tstate
);
9188 if (PyErr_Occurred()) SWIG_fail
;
9190 resultobj
= SWIG_Py_Void();
9197 SWIGINTERN PyObject
*_wrap_InputStream_tell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9198 PyObject
*resultobj
= 0;
9199 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9203 PyObject
*swig_obj
[1] ;
9205 if (!args
) SWIG_fail
;
9207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9208 if (!SWIG_IsOK(res1
)) {
9209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_tell" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9211 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9214 result
= (int)(arg1
)->tell();
9215 wxPyEndAllowThreads(__tstate
);
9216 if (PyErr_Occurred()) SWIG_fail
;
9218 resultobj
= SWIG_From_int(static_cast< int >(result
));
9225 SWIGINTERN PyObject
*_wrap_InputStream_Peek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9226 PyObject
*resultobj
= 0;
9227 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9231 PyObject
*swig_obj
[1] ;
9233 if (!args
) SWIG_fail
;
9235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9236 if (!SWIG_IsOK(res1
)) {
9237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_Peek" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9239 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9242 result
= (char)(arg1
)->Peek();
9243 wxPyEndAllowThreads(__tstate
);
9244 if (PyErr_Occurred()) SWIG_fail
;
9246 resultobj
= SWIG_From_char(static_cast< char >(result
));
9253 SWIGINTERN PyObject
*_wrap_InputStream_GetC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9254 PyObject
*resultobj
= 0;
9255 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9259 PyObject
*swig_obj
[1] ;
9261 if (!args
) SWIG_fail
;
9263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9264 if (!SWIG_IsOK(res1
)) {
9265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_GetC" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9267 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9270 result
= (char)(arg1
)->GetC();
9271 wxPyEndAllowThreads(__tstate
);
9272 if (PyErr_Occurred()) SWIG_fail
;
9274 resultobj
= SWIG_From_char(static_cast< char >(result
));
9281 SWIGINTERN PyObject
*_wrap_InputStream_LastRead(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9282 PyObject
*resultobj
= 0;
9283 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9287 PyObject
*swig_obj
[1] ;
9289 if (!args
) SWIG_fail
;
9291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9292 if (!SWIG_IsOK(res1
)) {
9293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_LastRead" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9295 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9298 result
= (size_t)(arg1
)->LastRead();
9299 wxPyEndAllowThreads(__tstate
);
9300 if (PyErr_Occurred()) SWIG_fail
;
9302 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
9309 SWIGINTERN PyObject
*_wrap_InputStream_CanRead(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9310 PyObject
*resultobj
= 0;
9311 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9315 PyObject
*swig_obj
[1] ;
9317 if (!args
) SWIG_fail
;
9319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9320 if (!SWIG_IsOK(res1
)) {
9321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_CanRead" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9323 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9326 result
= (bool)(arg1
)->CanRead();
9327 wxPyEndAllowThreads(__tstate
);
9328 if (PyErr_Occurred()) SWIG_fail
;
9331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9339 SWIGINTERN PyObject
*_wrap_InputStream_Eof(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9340 PyObject
*resultobj
= 0;
9341 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9345 PyObject
*swig_obj
[1] ;
9347 if (!args
) SWIG_fail
;
9349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9350 if (!SWIG_IsOK(res1
)) {
9351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_Eof" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9353 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9356 result
= (bool)(arg1
)->Eof();
9357 wxPyEndAllowThreads(__tstate
);
9358 if (PyErr_Occurred()) SWIG_fail
;
9361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9369 SWIGINTERN PyObject
*_wrap_InputStream_Ungetch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9370 PyObject
*resultobj
= 0;
9371 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9378 PyObject
* obj0
= 0 ;
9379 PyObject
* obj1
= 0 ;
9380 char * kwnames
[] = {
9381 (char *) "self",(char *) "c", NULL
9384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9386 if (!SWIG_IsOK(res1
)) {
9387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_Ungetch" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9389 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9390 ecode2
= SWIG_AsVal_char(obj1
, &val2
);
9391 if (!SWIG_IsOK(ecode2
)) {
9392 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "InputStream_Ungetch" "', expected argument " "2"" of type '" "char""'");
9394 arg2
= static_cast< char >(val2
);
9396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9397 result
= (bool)(arg1
)->Ungetch(arg2
);
9398 wxPyEndAllowThreads(__tstate
);
9399 if (PyErr_Occurred()) SWIG_fail
;
9402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9410 SWIGINTERN PyObject
*_wrap_InputStream_SeekI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9411 PyObject
*resultobj
= 0;
9412 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9414 wxSeekMode arg3
= (wxSeekMode
) wxFromStart
;
9422 PyObject
* obj0
= 0 ;
9423 PyObject
* obj1
= 0 ;
9424 PyObject
* obj2
= 0 ;
9425 char * kwnames
[] = {
9426 (char *) "self",(char *) "pos",(char *) "mode", NULL
9429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9431 if (!SWIG_IsOK(res1
)) {
9432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_SeekI" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9434 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9435 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9436 if (!SWIG_IsOK(ecode2
)) {
9437 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "InputStream_SeekI" "', expected argument " "2"" of type '" "long""'");
9439 arg2
= static_cast< long >(val2
);
9441 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9442 if (!SWIG_IsOK(ecode3
)) {
9443 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "InputStream_SeekI" "', expected argument " "3"" of type '" "wxSeekMode""'");
9445 arg3
= static_cast< wxSeekMode
>(val3
);
9448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9449 result
= (long)(arg1
)->SeekI(arg2
,arg3
);
9450 wxPyEndAllowThreads(__tstate
);
9451 if (PyErr_Occurred()) SWIG_fail
;
9453 resultobj
= SWIG_From_long(static_cast< long >(result
));
9460 SWIGINTERN PyObject
*_wrap_InputStream_TellI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9461 PyObject
*resultobj
= 0;
9462 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9466 PyObject
*swig_obj
[1] ;
9468 if (!args
) SWIG_fail
;
9470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9471 if (!SWIG_IsOK(res1
)) {
9472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_TellI" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9474 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9477 result
= (long)(arg1
)->TellI();
9478 wxPyEndAllowThreads(__tstate
);
9479 if (PyErr_Occurred()) SWIG_fail
;
9481 resultobj
= SWIG_From_long(static_cast< long >(result
));
9488 SWIGINTERN PyObject
*InputStream_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9490 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9491 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyInputStream
, SWIG_NewClientData(obj
));
9492 return SWIG_Py_Void();
9495 SWIGINTERN PyObject
*InputStream_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9496 return SWIG_Python_InitShadowInstance(args
);
9499 SWIGINTERN PyObject
*_wrap_OutputStream_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9500 PyObject
*resultobj
= 0;
9501 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
9502 PyObject
*arg2
= (PyObject
*) 0 ;
9505 PyObject
* obj0
= 0 ;
9506 PyObject
* obj1
= 0 ;
9507 char * kwnames
[] = {
9508 (char *) "self",(char *) "obj", NULL
9511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxOutputStream
, 0 | 0 );
9513 if (!SWIG_IsOK(res1
)) {
9514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "OutputStream_write" "', expected argument " "1"" of type '" "wxOutputStream *""'");
9516 arg1
= reinterpret_cast< wxOutputStream
* >(argp1
);
9519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9520 wxOutputStream_write(arg1
,arg2
);
9521 wxPyEndAllowThreads(__tstate
);
9522 if (PyErr_Occurred()) SWIG_fail
;
9524 resultobj
= SWIG_Py_Void();
9531 SWIGINTERN PyObject
*_wrap_OutputStream_LastWrite(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9532 PyObject
*resultobj
= 0;
9533 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
9537 PyObject
*swig_obj
[1] ;
9539 if (!args
) SWIG_fail
;
9541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOutputStream
, 0 | 0 );
9542 if (!SWIG_IsOK(res1
)) {
9543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "OutputStream_LastWrite" "', expected argument " "1"" of type '" "wxOutputStream const *""'");
9545 arg1
= reinterpret_cast< wxOutputStream
* >(argp1
);
9547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9548 result
= (size_t)((wxOutputStream
const *)arg1
)->LastWrite();
9549 wxPyEndAllowThreads(__tstate
);
9550 if (PyErr_Occurred()) SWIG_fail
;
9552 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
9559 SWIGINTERN PyObject
*OutputStream_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9561 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9562 SWIG_TypeNewClientData(SWIGTYPE_p_wxOutputStream
, SWIG_NewClientData(obj
));
9563 return SWIG_Py_Void();
9566 SWIGINTERN PyObject
*_wrap_new_FSFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9567 PyObject
*resultobj
= 0;
9568 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
9569 wxString
*arg2
= 0 ;
9570 wxString
*arg3
= 0 ;
9571 wxString
*arg4
= 0 ;
9573 wxFSFile
*result
= 0 ;
9574 wxPyInputStream
*temp1
;
9575 bool temp2
= false ;
9576 bool temp3
= false ;
9577 bool temp4
= false ;
9580 PyObject
* obj0
= 0 ;
9581 PyObject
* obj1
= 0 ;
9582 PyObject
* obj2
= 0 ;
9583 PyObject
* obj3
= 0 ;
9584 PyObject
* obj4
= 0 ;
9585 char * kwnames
[] = {
9586 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
9589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
9591 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9592 arg1
= wxPyCBInputStream_copy((wxPyCBInputStream
*)temp1
->m_wxis
);
9594 PyErr_Clear(); // clear the failure of the wxPyConvert above
9595 arg1
= wxPyCBInputStream_create(obj0
, true);
9597 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
9603 arg2
= wxString_in_helper(obj1
);
9604 if (arg2
== NULL
) SWIG_fail
;
9608 arg3
= wxString_in_helper(obj2
);
9609 if (arg3
== NULL
) SWIG_fail
;
9613 arg4
= wxString_in_helper(obj3
);
9614 if (arg4
== NULL
) SWIG_fail
;
9618 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxDateTime
, 0 | 0);
9619 if (!SWIG_IsOK(res5
)) {
9620 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "new_FSFile" "', expected argument " "5"" of type '" "wxDateTime""'");
9623 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FSFile" "', expected argument " "5"" of type '" "wxDateTime""'");
9625 wxDateTime
* temp
= reinterpret_cast< wxDateTime
* >(argp5
);
9627 if (SWIG_IsNewObj(res5
)) delete temp
;
9631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9632 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
9633 wxPyEndAllowThreads(__tstate
);
9634 if (PyErr_Occurred()) SWIG_fail
;
9637 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
9669 SWIGINTERN PyObject
*_wrap_delete_FSFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9670 PyObject
*resultobj
= 0;
9671 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
9674 PyObject
*swig_obj
[1] ;
9676 if (!args
) SWIG_fail
;
9678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFSFile
, SWIG_POINTER_DISOWN
| 0 );
9679 if (!SWIG_IsOK(res1
)) {
9680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FSFile" "', expected argument " "1"" of type '" "wxFSFile *""'");
9682 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
9684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9687 wxPyEndAllowThreads(__tstate
);
9688 if (PyErr_Occurred()) SWIG_fail
;
9690 resultobj
= SWIG_Py_Void();
9697 SWIGINTERN PyObject
*_wrap_FSFile_GetStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9698 PyObject
*resultobj
= 0;
9699 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
9700 wxInputStream
*result
= 0 ;
9703 PyObject
*swig_obj
[1] ;
9705 if (!args
) SWIG_fail
;
9707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFSFile
, 0 | 0 );
9708 if (!SWIG_IsOK(res1
)) {
9709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FSFile_GetStream" "', expected argument " "1"" of type '" "wxFSFile *""'");
9711 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
9713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9714 result
= (wxInputStream
*)(arg1
)->GetStream();
9715 wxPyEndAllowThreads(__tstate
);
9716 if (PyErr_Occurred()) SWIG_fail
;
9719 wxPyInputStream
* _ptr
= NULL
;
9722 _ptr
= new wxPyInputStream(result
);
9724 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
9732 SWIGINTERN PyObject
*_wrap_FSFile_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9733 PyObject
*resultobj
= 0;
9734 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
9735 wxString
*result
= 0 ;
9738 PyObject
*swig_obj
[1] ;
9740 if (!args
) SWIG_fail
;
9742 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFSFile
, 0 | 0 );
9743 if (!SWIG_IsOK(res1
)) {
9744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FSFile_GetMimeType" "', expected argument " "1"" of type '" "wxFSFile *""'");
9746 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
9748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9750 wxString
const &_result_ref
= (arg1
)->GetMimeType();
9751 result
= (wxString
*) &_result_ref
;
9753 wxPyEndAllowThreads(__tstate
);
9754 if (PyErr_Occurred()) SWIG_fail
;
9758 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9760 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9769 SWIGINTERN PyObject
*_wrap_FSFile_GetLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9770 PyObject
*resultobj
= 0;
9771 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
9772 wxString
*result
= 0 ;
9775 PyObject
*swig_obj
[1] ;
9777 if (!args
) SWIG_fail
;
9779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFSFile
, 0 | 0 );
9780 if (!SWIG_IsOK(res1
)) {
9781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FSFile_GetLocation" "', expected argument " "1"" of type '" "wxFSFile *""'");
9783 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
9785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9787 wxString
const &_result_ref
= (arg1
)->GetLocation();
9788 result
= (wxString
*) &_result_ref
;
9790 wxPyEndAllowThreads(__tstate
);
9791 if (PyErr_Occurred()) SWIG_fail
;
9795 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9797 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9806 SWIGINTERN PyObject
*_wrap_FSFile_GetAnchor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9807 PyObject
*resultobj
= 0;
9808 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
9809 wxString
*result
= 0 ;
9812 PyObject
*swig_obj
[1] ;
9814 if (!args
) SWIG_fail
;
9816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFSFile
, 0 | 0 );
9817 if (!SWIG_IsOK(res1
)) {
9818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FSFile_GetAnchor" "', expected argument " "1"" of type '" "wxFSFile *""'");
9820 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
9822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9824 wxString
const &_result_ref
= (arg1
)->GetAnchor();
9825 result
= (wxString
*) &_result_ref
;
9827 wxPyEndAllowThreads(__tstate
);
9828 if (PyErr_Occurred()) SWIG_fail
;
9832 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9834 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9843 SWIGINTERN PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9844 PyObject
*resultobj
= 0;
9845 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
9849 PyObject
*swig_obj
[1] ;
9851 if (!args
) SWIG_fail
;
9853 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFSFile
, 0 | 0 );
9854 if (!SWIG_IsOK(res1
)) {
9855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FSFile_GetModificationTime" "', expected argument " "1"" of type '" "wxFSFile *""'");
9857 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
9859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9860 result
= (arg1
)->GetModificationTime();
9861 wxPyEndAllowThreads(__tstate
);
9862 if (PyErr_Occurred()) SWIG_fail
;
9864 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
9871 SWIGINTERN PyObject
*FSFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9873 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9874 SWIG_TypeNewClientData(SWIGTYPE_p_wxFSFile
, SWIG_NewClientData(obj
));
9875 return SWIG_Py_Void();
9878 SWIGINTERN PyObject
*FSFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9879 return SWIG_Python_InitShadowInstance(args
);
9882 SWIGINTERN PyObject
*_wrap_delete_CPPFileSystemHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9883 PyObject
*resultobj
= 0;
9884 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
9887 PyObject
*swig_obj
[1] ;
9889 if (!args
) SWIG_fail
;
9891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileSystemHandler
, SWIG_POINTER_DISOWN
| 0 );
9892 if (!SWIG_IsOK(res1
)) {
9893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_CPPFileSystemHandler" "', expected argument " "1"" of type '" "wxFileSystemHandler *""'");
9895 arg1
= reinterpret_cast< wxFileSystemHandler
* >(argp1
);
9897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9900 wxPyEndAllowThreads(__tstate
);
9901 if (PyErr_Occurred()) SWIG_fail
;
9903 resultobj
= SWIG_Py_Void();
9910 SWIGINTERN PyObject
*CPPFileSystemHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9912 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9913 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileSystemHandler
, SWIG_NewClientData(obj
));
9914 return SWIG_Py_Void();
9917 SWIGINTERN PyObject
*_wrap_new_FileSystemHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9918 PyObject
*resultobj
= 0;
9919 wxPyFileSystemHandler
*result
= 0 ;
9921 if (!SWIG_Python_UnpackTuple(args
,"new_FileSystemHandler",0,0,0)) SWIG_fail
;
9923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9924 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
9925 wxPyEndAllowThreads(__tstate
);
9926 if (PyErr_Occurred()) SWIG_fail
;
9928 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_NEW
| 0 );
9935 SWIGINTERN PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9936 PyObject
*resultobj
= 0;
9937 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
9938 PyObject
*arg2
= (PyObject
*) 0 ;
9939 PyObject
*arg3
= (PyObject
*) 0 ;
9942 PyObject
* obj0
= 0 ;
9943 PyObject
* obj1
= 0 ;
9944 PyObject
* obj2
= 0 ;
9945 char * kwnames
[] = {
9946 (char *) "self",(char *) "self",(char *) "_class", NULL
9949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
9951 if (!SWIG_IsOK(res1
)) {
9952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
9954 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
9958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9959 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9960 wxPyEndAllowThreads(__tstate
);
9961 if (PyErr_Occurred()) SWIG_fail
;
9963 resultobj
= SWIG_Py_Void();
9970 SWIGINTERN PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9971 PyObject
*resultobj
= 0;
9972 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
9973 wxString
*arg2
= 0 ;
9977 bool temp2
= false ;
9978 PyObject
* obj0
= 0 ;
9979 PyObject
* obj1
= 0 ;
9980 char * kwnames
[] = {
9981 (char *) "self",(char *) "location", NULL
9984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
9986 if (!SWIG_IsOK(res1
)) {
9987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_CanOpen" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
9989 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
9991 arg2
= wxString_in_helper(obj1
);
9992 if (arg2
== NULL
) SWIG_fail
;
9996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9997 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9998 wxPyEndAllowThreads(__tstate
);
9999 if (PyErr_Occurred()) SWIG_fail
;
10002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10018 SWIGINTERN PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10019 PyObject
*resultobj
= 0;
10020 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
10021 wxFileSystem
*arg2
= 0 ;
10022 wxString
*arg3
= 0 ;
10023 wxFSFile
*result
= 0 ;
10028 bool temp3
= false ;
10029 PyObject
* obj0
= 0 ;
10030 PyObject
* obj1
= 0 ;
10031 PyObject
* obj2
= 0 ;
10032 char * kwnames
[] = {
10033 (char *) "self",(char *) "fs",(char *) "location", NULL
10036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
10038 if (!SWIG_IsOK(res1
)) {
10039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_OpenFile" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
10041 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
10042 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileSystem
, 0 );
10043 if (!SWIG_IsOK(res2
)) {
10044 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileSystemHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
10047 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FileSystemHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
10049 arg2
= reinterpret_cast< wxFileSystem
* >(argp2
);
10051 arg3
= wxString_in_helper(obj2
);
10052 if (arg3
== NULL
) SWIG_fail
;
10056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10057 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
10058 wxPyEndAllowThreads(__tstate
);
10059 if (PyErr_Occurred()) SWIG_fail
;
10062 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
10078 SWIGINTERN PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10079 PyObject
*resultobj
= 0;
10080 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
10081 wxString
*arg2
= 0 ;
10082 int arg3
= (int) 0 ;
10086 bool temp2
= false ;
10089 PyObject
* obj0
= 0 ;
10090 PyObject
* obj1
= 0 ;
10091 PyObject
* obj2
= 0 ;
10092 char * kwnames
[] = {
10093 (char *) "self",(char *) "spec",(char *) "flags", NULL
10096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
10098 if (!SWIG_IsOK(res1
)) {
10099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_FindFirst" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
10101 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
10103 arg2
= wxString_in_helper(obj1
);
10104 if (arg2
== NULL
) SWIG_fail
;
10108 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10109 if (!SWIG_IsOK(ecode3
)) {
10110 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileSystemHandler_FindFirst" "', expected argument " "3"" of type '" "int""'");
10112 arg3
= static_cast< int >(val3
);
10115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10116 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
10117 wxPyEndAllowThreads(__tstate
);
10118 if (PyErr_Occurred()) SWIG_fail
;
10122 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10124 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10141 SWIGINTERN PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10142 PyObject
*resultobj
= 0;
10143 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
10147 PyObject
*swig_obj
[1] ;
10149 if (!args
) SWIG_fail
;
10150 swig_obj
[0] = args
;
10151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
10152 if (!SWIG_IsOK(res1
)) {
10153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_FindNext" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
10155 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
10157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10158 result
= (arg1
)->FindNext();
10159 wxPyEndAllowThreads(__tstate
);
10160 if (PyErr_Occurred()) SWIG_fail
;
10164 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10166 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10175 SWIGINTERN PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10176 PyObject
*resultobj
= 0;
10177 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
10178 wxString
*arg2
= 0 ;
10182 bool temp2
= false ;
10183 PyObject
* obj0
= 0 ;
10184 PyObject
* obj1
= 0 ;
10185 char * kwnames
[] = {
10186 (char *) "self",(char *) "location", NULL
10189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
10191 if (!SWIG_IsOK(res1
)) {
10192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_GetProtocol" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
10194 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
10196 arg2
= wxString_in_helper(obj1
);
10197 if (arg2
== NULL
) SWIG_fail
;
10201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10202 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
10203 wxPyEndAllowThreads(__tstate
);
10204 if (PyErr_Occurred()) SWIG_fail
;
10208 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10210 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10227 SWIGINTERN PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10228 PyObject
*resultobj
= 0;
10229 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
10230 wxString
*arg2
= 0 ;
10234 bool temp2
= false ;
10235 PyObject
* obj0
= 0 ;
10236 PyObject
* obj1
= 0 ;
10237 char * kwnames
[] = {
10238 (char *) "self",(char *) "location", NULL
10241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
10243 if (!SWIG_IsOK(res1
)) {
10244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_GetLeftLocation" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
10246 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
10248 arg2
= wxString_in_helper(obj1
);
10249 if (arg2
== NULL
) SWIG_fail
;
10253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10254 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
10255 wxPyEndAllowThreads(__tstate
);
10256 if (PyErr_Occurred()) SWIG_fail
;
10260 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10262 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10279 SWIGINTERN PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10280 PyObject
*resultobj
= 0;
10281 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
10282 wxString
*arg2
= 0 ;
10286 bool temp2
= false ;
10287 PyObject
* obj0
= 0 ;
10288 PyObject
* obj1
= 0 ;
10289 char * kwnames
[] = {
10290 (char *) "self",(char *) "location", NULL
10293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
10295 if (!SWIG_IsOK(res1
)) {
10296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_GetAnchor" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
10298 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
10300 arg2
= wxString_in_helper(obj1
);
10301 if (arg2
== NULL
) SWIG_fail
;
10305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10306 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
10307 wxPyEndAllowThreads(__tstate
);
10308 if (PyErr_Occurred()) SWIG_fail
;
10312 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10314 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10331 SWIGINTERN PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10332 PyObject
*resultobj
= 0;
10333 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
10334 wxString
*arg2
= 0 ;
10338 bool temp2
= false ;
10339 PyObject
* obj0
= 0 ;
10340 PyObject
* obj1
= 0 ;
10341 char * kwnames
[] = {
10342 (char *) "self",(char *) "location", NULL
10345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
10347 if (!SWIG_IsOK(res1
)) {
10348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_GetRightLocation" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
10350 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
10352 arg2
= wxString_in_helper(obj1
);
10353 if (arg2
== NULL
) SWIG_fail
;
10357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10358 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
10359 wxPyEndAllowThreads(__tstate
);
10360 if (PyErr_Occurred()) SWIG_fail
;
10364 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10366 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10383 SWIGINTERN PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10384 PyObject
*resultobj
= 0;
10385 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
10386 wxString
*arg2
= 0 ;
10390 bool temp2
= false ;
10391 PyObject
* obj0
= 0 ;
10392 PyObject
* obj1
= 0 ;
10393 char * kwnames
[] = {
10394 (char *) "self",(char *) "location", NULL
10397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
10399 if (!SWIG_IsOK(res1
)) {
10400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_GetMimeTypeFromExt" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
10402 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
10404 arg2
= wxString_in_helper(obj1
);
10405 if (arg2
== NULL
) SWIG_fail
;
10409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10410 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
10411 wxPyEndAllowThreads(__tstate
);
10412 if (PyErr_Occurred()) SWIG_fail
;
10416 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10418 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10435 SWIGINTERN PyObject
*FileSystemHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10437 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10438 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_NewClientData(obj
));
10439 return SWIG_Py_Void();
10442 SWIGINTERN PyObject
*FileSystemHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10443 return SWIG_Python_InitShadowInstance(args
);
10446 SWIGINTERN PyObject
*_wrap_new_FileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10447 PyObject
*resultobj
= 0;
10448 wxFileSystem
*result
= 0 ;
10450 if (!SWIG_Python_UnpackTuple(args
,"new_FileSystem",0,0,0)) SWIG_fail
;
10452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10453 result
= (wxFileSystem
*)new wxFileSystem();
10454 wxPyEndAllowThreads(__tstate
);
10455 if (PyErr_Occurred()) SWIG_fail
;
10458 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
10466 SWIGINTERN PyObject
*_wrap_delete_FileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10467 PyObject
*resultobj
= 0;
10468 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
10471 PyObject
*swig_obj
[1] ;
10473 if (!args
) SWIG_fail
;
10474 swig_obj
[0] = args
;
10475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_DISOWN
| 0 );
10476 if (!SWIG_IsOK(res1
)) {
10477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileSystem" "', expected argument " "1"" of type '" "wxFileSystem *""'");
10479 arg1
= reinterpret_cast< wxFileSystem
* >(argp1
);
10481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10484 wxPyEndAllowThreads(__tstate
);
10485 if (PyErr_Occurred()) SWIG_fail
;
10487 resultobj
= SWIG_Py_Void();
10494 SWIGINTERN PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10495 PyObject
*resultobj
= 0;
10496 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
10497 wxString
*arg2
= 0 ;
10498 bool arg3
= (bool) false ;
10501 bool temp2
= false ;
10504 PyObject
* obj0
= 0 ;
10505 PyObject
* obj1
= 0 ;
10506 PyObject
* obj2
= 0 ;
10507 char * kwnames
[] = {
10508 (char *) "self",(char *) "location",(char *) "is_dir", NULL
10511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileSystem
, 0 | 0 );
10513 if (!SWIG_IsOK(res1
)) {
10514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_ChangePathTo" "', expected argument " "1"" of type '" "wxFileSystem *""'");
10516 arg1
= reinterpret_cast< wxFileSystem
* >(argp1
);
10518 arg2
= wxString_in_helper(obj1
);
10519 if (arg2
== NULL
) SWIG_fail
;
10523 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10524 if (!SWIG_IsOK(ecode3
)) {
10525 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileSystem_ChangePathTo" "', expected argument " "3"" of type '" "bool""'");
10527 arg3
= static_cast< bool >(val3
);
10530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10531 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
10532 wxPyEndAllowThreads(__tstate
);
10533 if (PyErr_Occurred()) SWIG_fail
;
10535 resultobj
= SWIG_Py_Void();
10550 SWIGINTERN PyObject
*_wrap_FileSystem_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10551 PyObject
*resultobj
= 0;
10552 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
10556 PyObject
*swig_obj
[1] ;
10558 if (!args
) SWIG_fail
;
10559 swig_obj
[0] = args
;
10560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileSystem
, 0 | 0 );
10561 if (!SWIG_IsOK(res1
)) {
10562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_GetPath" "', expected argument " "1"" of type '" "wxFileSystem *""'");
10564 arg1
= reinterpret_cast< wxFileSystem
* >(argp1
);
10566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10567 result
= (arg1
)->GetPath();
10568 wxPyEndAllowThreads(__tstate
);
10569 if (PyErr_Occurred()) SWIG_fail
;
10573 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10575 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10584 SWIGINTERN PyObject
*_wrap_FileSystem_OpenFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10585 PyObject
*resultobj
= 0;
10586 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
10587 wxString
*arg2
= 0 ;
10588 wxFSFile
*result
= 0 ;
10591 bool temp2
= false ;
10592 PyObject
* obj0
= 0 ;
10593 PyObject
* obj1
= 0 ;
10594 char * kwnames
[] = {
10595 (char *) "self",(char *) "location", NULL
10598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileSystem
, 0 | 0 );
10600 if (!SWIG_IsOK(res1
)) {
10601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_OpenFile" "', expected argument " "1"" of type '" "wxFileSystem *""'");
10603 arg1
= reinterpret_cast< wxFileSystem
* >(argp1
);
10605 arg2
= wxString_in_helper(obj1
);
10606 if (arg2
== NULL
) SWIG_fail
;
10610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10611 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
10612 wxPyEndAllowThreads(__tstate
);
10613 if (PyErr_Occurred()) SWIG_fail
;
10616 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
10632 SWIGINTERN PyObject
*_wrap_FileSystem_FindFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10633 PyObject
*resultobj
= 0;
10634 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
10635 wxString
*arg2
= 0 ;
10636 int arg3
= (int) 0 ;
10640 bool temp2
= false ;
10643 PyObject
* obj0
= 0 ;
10644 PyObject
* obj1
= 0 ;
10645 PyObject
* obj2
= 0 ;
10646 char * kwnames
[] = {
10647 (char *) "self",(char *) "spec",(char *) "flags", NULL
10650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileSystem
, 0 | 0 );
10652 if (!SWIG_IsOK(res1
)) {
10653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_FindFirst" "', expected argument " "1"" of type '" "wxFileSystem *""'");
10655 arg1
= reinterpret_cast< wxFileSystem
* >(argp1
);
10657 arg2
= wxString_in_helper(obj1
);
10658 if (arg2
== NULL
) SWIG_fail
;
10662 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10663 if (!SWIG_IsOK(ecode3
)) {
10664 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileSystem_FindFirst" "', expected argument " "3"" of type '" "int""'");
10666 arg3
= static_cast< int >(val3
);
10669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10670 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
10671 wxPyEndAllowThreads(__tstate
);
10672 if (PyErr_Occurred()) SWIG_fail
;
10676 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10678 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10695 SWIGINTERN PyObject
*_wrap_FileSystem_FindNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10696 PyObject
*resultobj
= 0;
10697 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
10701 PyObject
*swig_obj
[1] ;
10703 if (!args
) SWIG_fail
;
10704 swig_obj
[0] = args
;
10705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileSystem
, 0 | 0 );
10706 if (!SWIG_IsOK(res1
)) {
10707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_FindNext" "', expected argument " "1"" of type '" "wxFileSystem *""'");
10709 arg1
= reinterpret_cast< wxFileSystem
* >(argp1
);
10711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10712 result
= (arg1
)->FindNext();
10713 wxPyEndAllowThreads(__tstate
);
10714 if (PyErr_Occurred()) SWIG_fail
;
10718 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10720 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10729 SWIGINTERN PyObject
*_wrap_FileSystem_AddHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10730 PyObject
*resultobj
= 0;
10731 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
10733 PyObject
* obj0
= 0 ;
10734 char * kwnames
[] = {
10735 (char *) "handler", NULL
10738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) SWIG_fail
;
10739 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxFileSystemHandler
, SWIG_POINTER_DISOWN
| 0 );
10740 if (!SWIG_IsOK(res1
)) {
10741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_AddHandler" "', expected argument " "1"" of type '" "wxFileSystemHandler *""'");
10744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10745 wxFileSystem::AddHandler(arg1
);
10746 wxPyEndAllowThreads(__tstate
);
10747 if (PyErr_Occurred()) SWIG_fail
;
10749 resultobj
= SWIG_Py_Void();
10756 SWIGINTERN PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10757 PyObject
*resultobj
= 0;
10759 if (!SWIG_Python_UnpackTuple(args
,"FileSystem_CleanUpHandlers",0,0,0)) SWIG_fail
;
10761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10762 wxFileSystem::CleanUpHandlers();
10763 wxPyEndAllowThreads(__tstate
);
10764 if (PyErr_Occurred()) SWIG_fail
;
10766 resultobj
= SWIG_Py_Void();
10773 SWIGINTERN PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10774 PyObject
*resultobj
= 0;
10775 wxString
*arg1
= 0 ;
10777 bool temp1
= false ;
10778 PyObject
* obj0
= 0 ;
10779 char * kwnames
[] = {
10780 (char *) "filename", NULL
10783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) SWIG_fail
;
10785 arg1
= wxString_in_helper(obj0
);
10786 if (arg1
== NULL
) SWIG_fail
;
10790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10791 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
10792 wxPyEndAllowThreads(__tstate
);
10793 if (PyErr_Occurred()) SWIG_fail
;
10797 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10799 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10816 SWIGINTERN PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10817 PyObject
*resultobj
= 0;
10818 wxString
*arg1
= 0 ;
10820 bool temp1
= false ;
10821 PyObject
* obj0
= 0 ;
10822 char * kwnames
[] = {
10823 (char *) "url", NULL
10826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) SWIG_fail
;
10828 arg1
= wxString_in_helper(obj0
);
10829 if (arg1
== NULL
) SWIG_fail
;
10833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10834 result
= wxFileSystem_URLToFileName((wxString
const &)*arg1
);
10835 wxPyEndAllowThreads(__tstate
);
10836 if (PyErr_Occurred()) SWIG_fail
;
10840 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10842 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10859 SWIGINTERN PyObject
*FileSystem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10861 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10862 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileSystem
, SWIG_NewClientData(obj
));
10863 return SWIG_Py_Void();
10866 SWIGINTERN PyObject
*FileSystem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10867 return SWIG_Python_InitShadowInstance(args
);
10870 SWIGINTERN PyObject
*_wrap_new_InternetFSHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10871 PyObject
*resultobj
= 0;
10872 wxInternetFSHandler
*result
= 0 ;
10874 if (!SWIG_Python_UnpackTuple(args
,"new_InternetFSHandler",0,0,0)) SWIG_fail
;
10876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10877 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
10878 wxPyEndAllowThreads(__tstate
);
10879 if (PyErr_Occurred()) SWIG_fail
;
10881 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_NEW
| 0 );
10888 SWIGINTERN PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10889 PyObject
*resultobj
= 0;
10890 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
10891 wxString
*arg2
= 0 ;
10895 bool temp2
= false ;
10896 PyObject
* obj0
= 0 ;
10897 PyObject
* obj1
= 0 ;
10898 char * kwnames
[] = {
10899 (char *) "self",(char *) "location", NULL
10902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxInternetFSHandler
, 0 | 0 );
10904 if (!SWIG_IsOK(res1
)) {
10905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InternetFSHandler_CanOpen" "', expected argument " "1"" of type '" "wxInternetFSHandler *""'");
10907 arg1
= reinterpret_cast< wxInternetFSHandler
* >(argp1
);
10909 arg2
= wxString_in_helper(obj1
);
10910 if (arg2
== NULL
) SWIG_fail
;
10914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10915 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
10916 wxPyEndAllowThreads(__tstate
);
10917 if (PyErr_Occurred()) SWIG_fail
;
10920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10936 SWIGINTERN PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10937 PyObject
*resultobj
= 0;
10938 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
10939 wxFileSystem
*arg2
= 0 ;
10940 wxString
*arg3
= 0 ;
10941 wxFSFile
*result
= 0 ;
10946 bool temp3
= false ;
10947 PyObject
* obj0
= 0 ;
10948 PyObject
* obj1
= 0 ;
10949 PyObject
* obj2
= 0 ;
10950 char * kwnames
[] = {
10951 (char *) "self",(char *) "fs",(char *) "location", NULL
10954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxInternetFSHandler
, 0 | 0 );
10956 if (!SWIG_IsOK(res1
)) {
10957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InternetFSHandler_OpenFile" "', expected argument " "1"" of type '" "wxInternetFSHandler *""'");
10959 arg1
= reinterpret_cast< wxInternetFSHandler
* >(argp1
);
10960 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileSystem
, 0 );
10961 if (!SWIG_IsOK(res2
)) {
10962 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "InternetFSHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
10965 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "InternetFSHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
10967 arg2
= reinterpret_cast< wxFileSystem
* >(argp2
);
10969 arg3
= wxString_in_helper(obj2
);
10970 if (arg3
== NULL
) SWIG_fail
;
10974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10975 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
10976 wxPyEndAllowThreads(__tstate
);
10977 if (PyErr_Occurred()) SWIG_fail
;
10980 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
10996 SWIGINTERN PyObject
*InternetFSHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10998 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10999 SWIG_TypeNewClientData(SWIGTYPE_p_wxInternetFSHandler
, SWIG_NewClientData(obj
));
11000 return SWIG_Py_Void();
11003 SWIGINTERN PyObject
*InternetFSHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11004 return SWIG_Python_InitShadowInstance(args
);
11007 SWIGINTERN PyObject
*_wrap_new_ZipFSHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11008 PyObject
*resultobj
= 0;
11009 wxZipFSHandler
*result
= 0 ;
11011 if (!SWIG_Python_UnpackTuple(args
,"new_ZipFSHandler",0,0,0)) SWIG_fail
;
11013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11014 result
= (wxZipFSHandler
*)new wxZipFSHandler();
11015 wxPyEndAllowThreads(__tstate
);
11016 if (PyErr_Occurred()) SWIG_fail
;
11018 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_NEW
| 0 );
11025 SWIGINTERN PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11026 PyObject
*resultobj
= 0;
11027 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
11028 wxString
*arg2
= 0 ;
11032 bool temp2
= false ;
11033 PyObject
* obj0
= 0 ;
11034 PyObject
* obj1
= 0 ;
11035 char * kwnames
[] = {
11036 (char *) "self",(char *) "location", NULL
11039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxZipFSHandler
, 0 | 0 );
11041 if (!SWIG_IsOK(res1
)) {
11042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ZipFSHandler_CanOpen" "', expected argument " "1"" of type '" "wxZipFSHandler *""'");
11044 arg1
= reinterpret_cast< wxZipFSHandler
* >(argp1
);
11046 arg2
= wxString_in_helper(obj1
);
11047 if (arg2
== NULL
) SWIG_fail
;
11051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11052 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
11053 wxPyEndAllowThreads(__tstate
);
11054 if (PyErr_Occurred()) SWIG_fail
;
11057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11073 SWIGINTERN PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11074 PyObject
*resultobj
= 0;
11075 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
11076 wxFileSystem
*arg2
= 0 ;
11077 wxString
*arg3
= 0 ;
11078 wxFSFile
*result
= 0 ;
11083 bool temp3
= false ;
11084 PyObject
* obj0
= 0 ;
11085 PyObject
* obj1
= 0 ;
11086 PyObject
* obj2
= 0 ;
11087 char * kwnames
[] = {
11088 (char *) "self",(char *) "fs",(char *) "location", NULL
11091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxZipFSHandler
, 0 | 0 );
11093 if (!SWIG_IsOK(res1
)) {
11094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ZipFSHandler_OpenFile" "', expected argument " "1"" of type '" "wxZipFSHandler *""'");
11096 arg1
= reinterpret_cast< wxZipFSHandler
* >(argp1
);
11097 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileSystem
, 0 );
11098 if (!SWIG_IsOK(res2
)) {
11099 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ZipFSHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
11102 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ZipFSHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
11104 arg2
= reinterpret_cast< wxFileSystem
* >(argp2
);
11106 arg3
= wxString_in_helper(obj2
);
11107 if (arg3
== NULL
) SWIG_fail
;
11111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11112 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
11113 wxPyEndAllowThreads(__tstate
);
11114 if (PyErr_Occurred()) SWIG_fail
;
11117 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
11133 SWIGINTERN PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11134 PyObject
*resultobj
= 0;
11135 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
11136 wxString
*arg2
= 0 ;
11137 int arg3
= (int) 0 ;
11141 bool temp2
= false ;
11144 PyObject
* obj0
= 0 ;
11145 PyObject
* obj1
= 0 ;
11146 PyObject
* obj2
= 0 ;
11147 char * kwnames
[] = {
11148 (char *) "self",(char *) "spec",(char *) "flags", NULL
11151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxZipFSHandler
, 0 | 0 );
11153 if (!SWIG_IsOK(res1
)) {
11154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ZipFSHandler_FindFirst" "', expected argument " "1"" of type '" "wxZipFSHandler *""'");
11156 arg1
= reinterpret_cast< wxZipFSHandler
* >(argp1
);
11158 arg2
= wxString_in_helper(obj1
);
11159 if (arg2
== NULL
) SWIG_fail
;
11163 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11164 if (!SWIG_IsOK(ecode3
)) {
11165 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ZipFSHandler_FindFirst" "', expected argument " "3"" of type '" "int""'");
11167 arg3
= static_cast< int >(val3
);
11170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11171 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
11172 wxPyEndAllowThreads(__tstate
);
11173 if (PyErr_Occurred()) SWIG_fail
;
11177 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11179 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11196 SWIGINTERN PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11197 PyObject
*resultobj
= 0;
11198 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
11202 PyObject
*swig_obj
[1] ;
11204 if (!args
) SWIG_fail
;
11205 swig_obj
[0] = args
;
11206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxZipFSHandler
, 0 | 0 );
11207 if (!SWIG_IsOK(res1
)) {
11208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ZipFSHandler_FindNext" "', expected argument " "1"" of type '" "wxZipFSHandler *""'");
11210 arg1
= reinterpret_cast< wxZipFSHandler
* >(argp1
);
11212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11213 result
= (arg1
)->FindNext();
11214 wxPyEndAllowThreads(__tstate
);
11215 if (PyErr_Occurred()) SWIG_fail
;
11219 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11221 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11230 SWIGINTERN PyObject
*ZipFSHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11232 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11233 SWIG_TypeNewClientData(SWIGTYPE_p_wxZipFSHandler
, SWIG_NewClientData(obj
));
11234 return SWIG_Py_Void();
11237 SWIGINTERN PyObject
*ZipFSHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11238 return SWIG_Python_InitShadowInstance(args
);
11241 SWIGINTERN PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11242 PyObject
*resultobj
= 0;
11243 wxString
*arg1
= 0 ;
11244 wxImage
*arg2
= 0 ;
11246 bool temp1
= false ;
11251 PyObject
* obj0
= 0 ;
11252 PyObject
* obj1
= 0 ;
11253 PyObject
* obj2
= 0 ;
11254 char * kwnames
[] = {
11255 (char *) "filename",(char *) "image",(char *) "type", NULL
11258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11260 arg1
= wxString_in_helper(obj0
);
11261 if (arg1
== NULL
) SWIG_fail
;
11264 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImage
, 0 );
11265 if (!SWIG_IsOK(res2
)) {
11266 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "__wxMemoryFSHandler_AddFile_wxImage" "', expected argument " "2"" of type '" "wxImage &""'");
11269 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "__wxMemoryFSHandler_AddFile_wxImage" "', expected argument " "2"" of type '" "wxImage &""'");
11271 arg2
= reinterpret_cast< wxImage
* >(argp2
);
11272 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
11273 if (!SWIG_IsOK(ecode3
)) {
11274 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "__wxMemoryFSHandler_AddFile_wxImage" "', expected argument " "3"" of type '" "long""'");
11276 arg3
= static_cast< long >(val3
);
11278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11279 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
11280 wxPyEndAllowThreads(__tstate
);
11281 if (PyErr_Occurred()) SWIG_fail
;
11283 resultobj
= SWIG_Py_Void();
11298 SWIGINTERN PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11299 PyObject
*resultobj
= 0;
11300 wxString
*arg1
= 0 ;
11301 wxBitmap
*arg2
= 0 ;
11303 bool temp1
= false ;
11308 PyObject
* obj0
= 0 ;
11309 PyObject
* obj1
= 0 ;
11310 PyObject
* obj2
= 0 ;
11311 char * kwnames
[] = {
11312 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
11315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11317 arg1
= wxString_in_helper(obj0
);
11318 if (arg1
== NULL
) SWIG_fail
;
11321 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11322 if (!SWIG_IsOK(res2
)) {
11323 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "__wxMemoryFSHandler_AddFile_wxBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11326 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "__wxMemoryFSHandler_AddFile_wxBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11328 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11329 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
11330 if (!SWIG_IsOK(ecode3
)) {
11331 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "__wxMemoryFSHandler_AddFile_wxBitmap" "', expected argument " "3"" of type '" "long""'");
11333 arg3
= static_cast< long >(val3
);
11335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11336 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
11337 wxPyEndAllowThreads(__tstate
);
11338 if (PyErr_Occurred()) SWIG_fail
;
11340 resultobj
= SWIG_Py_Void();
11355 SWIGINTERN PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11356 PyObject
*resultobj
= 0;
11357 wxString
*arg1
= 0 ;
11358 PyObject
*arg2
= (PyObject
*) 0 ;
11359 bool temp1
= false ;
11360 PyObject
* obj0
= 0 ;
11361 PyObject
* obj1
= 0 ;
11362 char * kwnames
[] = {
11363 (char *) "filename",(char *) "data", NULL
11366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11368 arg1
= wxString_in_helper(obj0
);
11369 if (arg1
== NULL
) SWIG_fail
;
11374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11375 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
11376 wxPyEndAllowThreads(__tstate
);
11377 if (PyErr_Occurred()) SWIG_fail
;
11379 resultobj
= SWIG_Py_Void();
11394 SWIGINTERN PyObject
*_wrap_new_MemoryFSHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11395 PyObject
*resultobj
= 0;
11396 wxMemoryFSHandler
*result
= 0 ;
11398 if (!SWIG_Python_UnpackTuple(args
,"new_MemoryFSHandler",0,0,0)) SWIG_fail
;
11400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11401 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
11402 wxPyEndAllowThreads(__tstate
);
11403 if (PyErr_Occurred()) SWIG_fail
;
11405 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_NEW
| 0 );
11412 SWIGINTERN PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11413 PyObject
*resultobj
= 0;
11414 wxString
*arg1
= 0 ;
11415 bool temp1
= false ;
11416 PyObject
* obj0
= 0 ;
11417 char * kwnames
[] = {
11418 (char *) "filename", NULL
11421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) SWIG_fail
;
11423 arg1
= wxString_in_helper(obj0
);
11424 if (arg1
== NULL
) SWIG_fail
;
11428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11429 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
11430 wxPyEndAllowThreads(__tstate
);
11431 if (PyErr_Occurred()) SWIG_fail
;
11433 resultobj
= SWIG_Py_Void();
11448 SWIGINTERN PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11449 PyObject
*resultobj
= 0;
11450 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
11451 wxString
*arg2
= 0 ;
11455 bool temp2
= false ;
11456 PyObject
* obj0
= 0 ;
11457 PyObject
* obj1
= 0 ;
11458 char * kwnames
[] = {
11459 (char *) "self",(char *) "location", NULL
11462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryFSHandler
, 0 | 0 );
11464 if (!SWIG_IsOK(res1
)) {
11465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryFSHandler_CanOpen" "', expected argument " "1"" of type '" "wxMemoryFSHandler *""'");
11467 arg1
= reinterpret_cast< wxMemoryFSHandler
* >(argp1
);
11469 arg2
= wxString_in_helper(obj1
);
11470 if (arg2
== NULL
) SWIG_fail
;
11474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11475 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
11476 wxPyEndAllowThreads(__tstate
);
11477 if (PyErr_Occurred()) SWIG_fail
;
11480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11496 SWIGINTERN PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11497 PyObject
*resultobj
= 0;
11498 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
11499 wxFileSystem
*arg2
= 0 ;
11500 wxString
*arg3
= 0 ;
11501 wxFSFile
*result
= 0 ;
11506 bool temp3
= false ;
11507 PyObject
* obj0
= 0 ;
11508 PyObject
* obj1
= 0 ;
11509 PyObject
* obj2
= 0 ;
11510 char * kwnames
[] = {
11511 (char *) "self",(char *) "fs",(char *) "location", NULL
11514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryFSHandler
, 0 | 0 );
11516 if (!SWIG_IsOK(res1
)) {
11517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryFSHandler_OpenFile" "', expected argument " "1"" of type '" "wxMemoryFSHandler *""'");
11519 arg1
= reinterpret_cast< wxMemoryFSHandler
* >(argp1
);
11520 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileSystem
, 0 );
11521 if (!SWIG_IsOK(res2
)) {
11522 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryFSHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
11525 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryFSHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
11527 arg2
= reinterpret_cast< wxFileSystem
* >(argp2
);
11529 arg3
= wxString_in_helper(obj2
);
11530 if (arg3
== NULL
) SWIG_fail
;
11534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11535 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
11536 wxPyEndAllowThreads(__tstate
);
11537 if (PyErr_Occurred()) SWIG_fail
;
11540 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
11556 SWIGINTERN PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11557 PyObject
*resultobj
= 0;
11558 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
11559 wxString
*arg2
= 0 ;
11560 int arg3
= (int) 0 ;
11564 bool temp2
= false ;
11567 PyObject
* obj0
= 0 ;
11568 PyObject
* obj1
= 0 ;
11569 PyObject
* obj2
= 0 ;
11570 char * kwnames
[] = {
11571 (char *) "self",(char *) "spec",(char *) "flags", NULL
11574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryFSHandler
, 0 | 0 );
11576 if (!SWIG_IsOK(res1
)) {
11577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryFSHandler_FindFirst" "', expected argument " "1"" of type '" "wxMemoryFSHandler *""'");
11579 arg1
= reinterpret_cast< wxMemoryFSHandler
* >(argp1
);
11581 arg2
= wxString_in_helper(obj1
);
11582 if (arg2
== NULL
) SWIG_fail
;
11586 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11587 if (!SWIG_IsOK(ecode3
)) {
11588 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MemoryFSHandler_FindFirst" "', expected argument " "3"" of type '" "int""'");
11590 arg3
= static_cast< int >(val3
);
11593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11594 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
11595 wxPyEndAllowThreads(__tstate
);
11596 if (PyErr_Occurred()) SWIG_fail
;
11600 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11602 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11619 SWIGINTERN PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11620 PyObject
*resultobj
= 0;
11621 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
11625 PyObject
*swig_obj
[1] ;
11627 if (!args
) SWIG_fail
;
11628 swig_obj
[0] = args
;
11629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMemoryFSHandler
, 0 | 0 );
11630 if (!SWIG_IsOK(res1
)) {
11631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryFSHandler_FindNext" "', expected argument " "1"" of type '" "wxMemoryFSHandler *""'");
11633 arg1
= reinterpret_cast< wxMemoryFSHandler
* >(argp1
);
11635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11636 result
= (arg1
)->FindNext();
11637 wxPyEndAllowThreads(__tstate
);
11638 if (PyErr_Occurred()) SWIG_fail
;
11642 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11644 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11653 SWIGINTERN PyObject
*MemoryFSHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11655 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11656 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryFSHandler
, SWIG_NewClientData(obj
));
11657 return SWIG_Py_Void();
11660 SWIGINTERN PyObject
*MemoryFSHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11661 return SWIG_Python_InitShadowInstance(args
);
11664 SWIGINTERN PyObject
*_wrap_ImageHandler_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11665 PyObject
*resultobj
= 0;
11666 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11670 PyObject
*swig_obj
[1] ;
11672 if (!args
) SWIG_fail
;
11673 swig_obj
[0] = args
;
11674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
11675 if (!SWIG_IsOK(res1
)) {
11676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_GetName" "', expected argument " "1"" of type '" "wxImageHandler *""'");
11678 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
11680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11681 result
= (arg1
)->GetName();
11682 wxPyEndAllowThreads(__tstate
);
11683 if (PyErr_Occurred()) SWIG_fail
;
11687 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11689 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11698 SWIGINTERN PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11699 PyObject
*resultobj
= 0;
11700 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11704 PyObject
*swig_obj
[1] ;
11706 if (!args
) SWIG_fail
;
11707 swig_obj
[0] = args
;
11708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
11709 if (!SWIG_IsOK(res1
)) {
11710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_GetExtension" "', expected argument " "1"" of type '" "wxImageHandler *""'");
11712 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
11714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11715 result
= (arg1
)->GetExtension();
11716 wxPyEndAllowThreads(__tstate
);
11717 if (PyErr_Occurred()) SWIG_fail
;
11721 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11723 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11732 SWIGINTERN PyObject
*_wrap_ImageHandler_GetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11733 PyObject
*resultobj
= 0;
11734 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11738 PyObject
*swig_obj
[1] ;
11740 if (!args
) SWIG_fail
;
11741 swig_obj
[0] = args
;
11742 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
11743 if (!SWIG_IsOK(res1
)) {
11744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_GetType" "', expected argument " "1"" of type '" "wxImageHandler *""'");
11746 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
11748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11749 result
= (long)(arg1
)->GetType();
11750 wxPyEndAllowThreads(__tstate
);
11751 if (PyErr_Occurred()) SWIG_fail
;
11753 resultobj
= SWIG_From_long(static_cast< long >(result
));
11760 SWIGINTERN PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11761 PyObject
*resultobj
= 0;
11762 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11766 PyObject
*swig_obj
[1] ;
11768 if (!args
) SWIG_fail
;
11769 swig_obj
[0] = args
;
11770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
11771 if (!SWIG_IsOK(res1
)) {
11772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_GetMimeType" "', expected argument " "1"" of type '" "wxImageHandler *""'");
11774 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
11776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11777 result
= (arg1
)->GetMimeType();
11778 wxPyEndAllowThreads(__tstate
);
11779 if (PyErr_Occurred()) SWIG_fail
;
11783 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11785 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11794 SWIGINTERN PyObject
*_wrap_ImageHandler_CanRead(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11795 PyObject
*resultobj
= 0;
11796 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11797 wxString
*arg2
= 0 ;
11801 bool temp2
= false ;
11802 PyObject
* obj0
= 0 ;
11803 PyObject
* obj1
= 0 ;
11804 char * kwnames
[] = {
11805 (char *) "self",(char *) "name", NULL
11808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
11810 if (!SWIG_IsOK(res1
)) {
11811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_CanRead" "', expected argument " "1"" of type '" "wxImageHandler *""'");
11813 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
11815 arg2
= wxString_in_helper(obj1
);
11816 if (arg2
== NULL
) SWIG_fail
;
11820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11821 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
11822 wxPyEndAllowThreads(__tstate
);
11823 if (PyErr_Occurred()) SWIG_fail
;
11826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11842 SWIGINTERN PyObject
*_wrap_ImageHandler_SetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11843 PyObject
*resultobj
= 0;
11844 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11845 wxString
*arg2
= 0 ;
11848 bool temp2
= false ;
11849 PyObject
* obj0
= 0 ;
11850 PyObject
* obj1
= 0 ;
11851 char * kwnames
[] = {
11852 (char *) "self",(char *) "name", NULL
11855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
11857 if (!SWIG_IsOK(res1
)) {
11858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_SetName" "', expected argument " "1"" of type '" "wxImageHandler *""'");
11860 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
11862 arg2
= wxString_in_helper(obj1
);
11863 if (arg2
== NULL
) SWIG_fail
;
11867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11868 (arg1
)->SetName((wxString
const &)*arg2
);
11869 wxPyEndAllowThreads(__tstate
);
11870 if (PyErr_Occurred()) SWIG_fail
;
11872 resultobj
= SWIG_Py_Void();
11887 SWIGINTERN PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11888 PyObject
*resultobj
= 0;
11889 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11890 wxString
*arg2
= 0 ;
11893 bool temp2
= false ;
11894 PyObject
* obj0
= 0 ;
11895 PyObject
* obj1
= 0 ;
11896 char * kwnames
[] = {
11897 (char *) "self",(char *) "extension", NULL
11900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
11902 if (!SWIG_IsOK(res1
)) {
11903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_SetExtension" "', expected argument " "1"" of type '" "wxImageHandler *""'");
11905 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
11907 arg2
= wxString_in_helper(obj1
);
11908 if (arg2
== NULL
) SWIG_fail
;
11912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11913 (arg1
)->SetExtension((wxString
const &)*arg2
);
11914 wxPyEndAllowThreads(__tstate
);
11915 if (PyErr_Occurred()) SWIG_fail
;
11917 resultobj
= SWIG_Py_Void();
11932 SWIGINTERN PyObject
*_wrap_ImageHandler_SetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11933 PyObject
*resultobj
= 0;
11934 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11940 PyObject
* obj0
= 0 ;
11941 PyObject
* obj1
= 0 ;
11942 char * kwnames
[] = {
11943 (char *) "self",(char *) "type", NULL
11946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
11948 if (!SWIG_IsOK(res1
)) {
11949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_SetType" "', expected argument " "1"" of type '" "wxImageHandler *""'");
11951 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
11952 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11953 if (!SWIG_IsOK(ecode2
)) {
11954 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageHandler_SetType" "', expected argument " "2"" of type '" "long""'");
11956 arg2
= static_cast< long >(val2
);
11958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11959 (arg1
)->SetType(arg2
);
11960 wxPyEndAllowThreads(__tstate
);
11961 if (PyErr_Occurred()) SWIG_fail
;
11963 resultobj
= SWIG_Py_Void();
11970 SWIGINTERN PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11971 PyObject
*resultobj
= 0;
11972 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11973 wxString
*arg2
= 0 ;
11976 bool temp2
= false ;
11977 PyObject
* obj0
= 0 ;
11978 PyObject
* obj1
= 0 ;
11979 char * kwnames
[] = {
11980 (char *) "self",(char *) "mimetype", NULL
11983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
11985 if (!SWIG_IsOK(res1
)) {
11986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_SetMimeType" "', expected argument " "1"" of type '" "wxImageHandler *""'");
11988 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
11990 arg2
= wxString_in_helper(obj1
);
11991 if (arg2
== NULL
) SWIG_fail
;
11995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11996 (arg1
)->SetMimeType((wxString
const &)*arg2
);
11997 wxPyEndAllowThreads(__tstate
);
11998 if (PyErr_Occurred()) SWIG_fail
;
12000 resultobj
= SWIG_Py_Void();
12015 SWIGINTERN PyObject
*ImageHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12017 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12018 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageHandler
, SWIG_NewClientData(obj
));
12019 return SWIG_Py_Void();
12022 SWIGINTERN PyObject
*_wrap_new_PyImageHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12023 PyObject
*resultobj
= 0;
12024 wxPyImageHandler
*result
= 0 ;
12026 if (!SWIG_Python_UnpackTuple(args
,"new_PyImageHandler",0,0,0)) SWIG_fail
;
12028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12029 result
= (wxPyImageHandler
*)new wxPyImageHandler();
12030 wxPyEndAllowThreads(__tstate
);
12031 if (PyErr_Occurred()) SWIG_fail
;
12033 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyImageHandler
, SWIG_POINTER_NEW
| 0 );
12040 SWIGINTERN PyObject
*_wrap_PyImageHandler__SetSelf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12041 PyObject
*resultobj
= 0;
12042 wxPyImageHandler
*arg1
= (wxPyImageHandler
*) 0 ;
12043 PyObject
*arg2
= (PyObject
*) 0 ;
12046 PyObject
* obj0
= 0 ;
12047 PyObject
* obj1
= 0 ;
12048 char * kwnames
[] = {
12049 (char *) "self",(char *) "self", NULL
12052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyImageHandler__SetSelf",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyImageHandler
, 0 | 0 );
12054 if (!SWIG_IsOK(res1
)) {
12055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyImageHandler__SetSelf" "', expected argument " "1"" of type '" "wxPyImageHandler *""'");
12057 arg1
= reinterpret_cast< wxPyImageHandler
* >(argp1
);
12060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12061 (arg1
)->_SetSelf(arg2
);
12062 wxPyEndAllowThreads(__tstate
);
12063 if (PyErr_Occurred()) SWIG_fail
;
12065 resultobj
= SWIG_Py_Void();
12072 SWIGINTERN PyObject
*PyImageHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12074 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12075 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyImageHandler
, SWIG_NewClientData(obj
));
12076 return SWIG_Py_Void();
12079 SWIGINTERN PyObject
*PyImageHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12080 return SWIG_Python_InitShadowInstance(args
);
12083 SWIGINTERN PyObject
*_wrap_new_ImageHistogram(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12084 PyObject
*resultobj
= 0;
12085 wxImageHistogram
*result
= 0 ;
12087 if (!SWIG_Python_UnpackTuple(args
,"new_ImageHistogram",0,0,0)) SWIG_fail
;
12089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12090 result
= (wxImageHistogram
*)new wxImageHistogram();
12091 wxPyEndAllowThreads(__tstate
);
12092 if (PyErr_Occurred()) SWIG_fail
;
12094 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_NEW
| 0 );
12101 SWIGINTERN PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12102 PyObject
*resultobj
= 0;
12106 unsigned long result
;
12107 unsigned char val1
;
12109 unsigned char val2
;
12111 unsigned char val3
;
12113 PyObject
* obj0
= 0 ;
12114 PyObject
* obj1
= 0 ;
12115 PyObject
* obj2
= 0 ;
12116 char * kwnames
[] = {
12117 (char *) "r",(char *) "g",(char *) "b", NULL
12120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12121 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
12122 if (!SWIG_IsOK(ecode1
)) {
12123 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ImageHistogram_MakeKey" "', expected argument " "1"" of type '" "byte""'");
12125 arg1
= static_cast< byte
>(val1
);
12126 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
12127 if (!SWIG_IsOK(ecode2
)) {
12128 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageHistogram_MakeKey" "', expected argument " "2"" of type '" "byte""'");
12130 arg2
= static_cast< byte
>(val2
);
12131 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
12132 if (!SWIG_IsOK(ecode3
)) {
12133 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ImageHistogram_MakeKey" "', expected argument " "3"" of type '" "byte""'");
12135 arg3
= static_cast< byte
>(val3
);
12137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12138 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
12139 wxPyEndAllowThreads(__tstate
);
12140 if (PyErr_Occurred()) SWIG_fail
;
12142 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12149 SWIGINTERN PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12150 PyObject
*resultobj
= 0;
12151 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
12152 byte
*arg2
= (byte
*) 0 ;
12153 byte
*arg3
= (byte
*) 0 ;
12154 byte
*arg4
= (byte
*) 0 ;
12155 byte arg5
= (byte
) 1 ;
12156 byte arg6
= (byte
) 0 ;
12157 byte arg7
= (byte
) 0 ;
12162 int res2
= SWIG_TMPOBJ
;
12164 int res3
= SWIG_TMPOBJ
;
12166 int res4
= SWIG_TMPOBJ
;
12167 unsigned char val5
;
12169 unsigned char val6
;
12171 unsigned char val7
;
12173 PyObject
* obj0
= 0 ;
12174 PyObject
* obj1
= 0 ;
12175 PyObject
* obj2
= 0 ;
12176 PyObject
* obj3
= 0 ;
12177 char * kwnames
[] = {
12178 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
12184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHistogram
, 0 | 0 );
12186 if (!SWIG_IsOK(res1
)) {
12187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHistogram_FindFirstUnusedColour" "', expected argument " "1"" of type '" "wxImageHistogram const *""'");
12189 arg1
= reinterpret_cast< wxImageHistogram
* >(argp1
);
12191 ecode5
= SWIG_AsVal_unsigned_SS_char(obj1
, &val5
);
12192 if (!SWIG_IsOK(ecode5
)) {
12193 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageHistogram_FindFirstUnusedColour" "', expected argument " "5"" of type '" "byte""'");
12195 arg5
= static_cast< byte
>(val5
);
12198 ecode6
= SWIG_AsVal_unsigned_SS_char(obj2
, &val6
);
12199 if (!SWIG_IsOK(ecode6
)) {
12200 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageHistogram_FindFirstUnusedColour" "', expected argument " "6"" of type '" "byte""'");
12202 arg6
= static_cast< byte
>(val6
);
12205 ecode7
= SWIG_AsVal_unsigned_SS_char(obj3
, &val7
);
12206 if (!SWIG_IsOK(ecode7
)) {
12207 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageHistogram_FindFirstUnusedColour" "', expected argument " "7"" of type '" "byte""'");
12209 arg7
= static_cast< byte
>(val7
);
12212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12213 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12214 wxPyEndAllowThreads(__tstate
);
12215 if (PyErr_Occurred()) SWIG_fail
;
12218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12220 if (SWIG_IsTmpObj(res2
)) {
12221 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg2
)));
12223 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12224 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, new_flags
));
12226 if (SWIG_IsTmpObj(res3
)) {
12227 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
12229 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12230 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
12232 if (SWIG_IsTmpObj(res4
)) {
12233 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
12235 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12236 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
12244 SWIGINTERN PyObject
*_wrap_ImageHistogram_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12245 PyObject
*resultobj
= 0;
12246 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
12247 unsigned long arg2
;
12248 unsigned long result
;
12251 unsigned long val2
;
12253 PyObject
* obj0
= 0 ;
12254 PyObject
* obj1
= 0 ;
12255 char * kwnames
[] = {
12256 (char *) "self",(char *) "key", NULL
12259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHistogram_GetCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHistogram
, 0 | 0 );
12261 if (!SWIG_IsOK(res1
)) {
12262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHistogram_GetCount" "', expected argument " "1"" of type '" "wxImageHistogram *""'");
12264 arg1
= reinterpret_cast< wxImageHistogram
* >(argp1
);
12265 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12266 if (!SWIG_IsOK(ecode2
)) {
12267 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageHistogram_GetCount" "', expected argument " "2"" of type '" "unsigned long""'");
12269 arg2
= static_cast< unsigned long >(val2
);
12271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12272 result
= (unsigned long)wxImageHistogram_GetCount(arg1
,arg2
);
12273 wxPyEndAllowThreads(__tstate
);
12274 if (PyErr_Occurred()) SWIG_fail
;
12276 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12283 SWIGINTERN PyObject
*_wrap_ImageHistogram_GetCountRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12284 PyObject
*resultobj
= 0;
12285 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
12289 unsigned long result
;
12292 unsigned char val2
;
12294 unsigned char val3
;
12296 unsigned char val4
;
12298 PyObject
* obj0
= 0 ;
12299 PyObject
* obj1
= 0 ;
12300 PyObject
* obj2
= 0 ;
12301 PyObject
* obj3
= 0 ;
12302 char * kwnames
[] = {
12303 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
12306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ImageHistogram_GetCountRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHistogram
, 0 | 0 );
12308 if (!SWIG_IsOK(res1
)) {
12309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHistogram_GetCountRGB" "', expected argument " "1"" of type '" "wxImageHistogram *""'");
12311 arg1
= reinterpret_cast< wxImageHistogram
* >(argp1
);
12312 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
12313 if (!SWIG_IsOK(ecode2
)) {
12314 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageHistogram_GetCountRGB" "', expected argument " "2"" of type '" "byte""'");
12316 arg2
= static_cast< byte
>(val2
);
12317 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
12318 if (!SWIG_IsOK(ecode3
)) {
12319 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ImageHistogram_GetCountRGB" "', expected argument " "3"" of type '" "byte""'");
12321 arg3
= static_cast< byte
>(val3
);
12322 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
12323 if (!SWIG_IsOK(ecode4
)) {
12324 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageHistogram_GetCountRGB" "', expected argument " "4"" of type '" "byte""'");
12326 arg4
= static_cast< byte
>(val4
);
12328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12329 result
= (unsigned long)wxImageHistogram_GetCountRGB(arg1
,arg2
,arg3
,arg4
);
12330 wxPyEndAllowThreads(__tstate
);
12331 if (PyErr_Occurred()) SWIG_fail
;
12333 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12340 SWIGINTERN PyObject
*_wrap_ImageHistogram_GetCountColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12341 PyObject
*resultobj
= 0;
12342 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
12343 wxColour
*arg2
= 0 ;
12344 unsigned long result
;
12348 PyObject
* obj0
= 0 ;
12349 PyObject
* obj1
= 0 ;
12350 char * kwnames
[] = {
12351 (char *) "self",(char *) "colour", NULL
12354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHistogram_GetCountColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHistogram
, 0 | 0 );
12356 if (!SWIG_IsOK(res1
)) {
12357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHistogram_GetCountColour" "', expected argument " "1"" of type '" "wxImageHistogram *""'");
12359 arg1
= reinterpret_cast< wxImageHistogram
* >(argp1
);
12362 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12366 result
= (unsigned long)wxImageHistogram_GetCountColour(arg1
,(wxColour
const &)*arg2
);
12367 wxPyEndAllowThreads(__tstate
);
12368 if (PyErr_Occurred()) SWIG_fail
;
12370 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12377 SWIGINTERN PyObject
*ImageHistogram_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12379 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12380 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageHistogram
, SWIG_NewClientData(obj
));
12381 return SWIG_Py_Void();
12384 SWIGINTERN PyObject
*ImageHistogram_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12385 return SWIG_Python_InitShadowInstance(args
);
12388 SWIGINTERN PyObject
*_wrap_new_Image_RGBValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12389 PyObject
*resultobj
= 0;
12390 byte arg1
= (byte
) 0 ;
12391 byte arg2
= (byte
) 0 ;
12392 byte arg3
= (byte
) 0 ;
12393 wxImage_RGBValue
*result
= 0 ;
12394 unsigned char val1
;
12396 unsigned char val2
;
12398 unsigned char val3
;
12400 PyObject
* obj0
= 0 ;
12401 PyObject
* obj1
= 0 ;
12402 PyObject
* obj2
= 0 ;
12403 char * kwnames
[] = {
12404 (char *) "r",(char *) "g",(char *) "b", NULL
12407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Image_RGBValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12409 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
12410 if (!SWIG_IsOK(ecode1
)) {
12411 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Image_RGBValue" "', expected argument " "1"" of type '" "byte""'");
12413 arg1
= static_cast< byte
>(val1
);
12416 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
12417 if (!SWIG_IsOK(ecode2
)) {
12418 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Image_RGBValue" "', expected argument " "2"" of type '" "byte""'");
12420 arg2
= static_cast< byte
>(val2
);
12423 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
12424 if (!SWIG_IsOK(ecode3
)) {
12425 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Image_RGBValue" "', expected argument " "3"" of type '" "byte""'");
12427 arg3
= static_cast< byte
>(val3
);
12430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12431 result
= (wxImage_RGBValue
*)new wxImage_RGBValue(arg1
,arg2
,arg3
);
12432 wxPyEndAllowThreads(__tstate
);
12433 if (PyErr_Occurred()) SWIG_fail
;
12435 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage_RGBValue
, SWIG_POINTER_NEW
| 0 );
12442 SWIGINTERN PyObject
*_wrap_Image_RGBValue_red_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12443 PyObject
*resultobj
= 0;
12444 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
12448 unsigned char val2
;
12450 PyObject
*swig_obj
[2] ;
12452 if (!SWIG_Python_UnpackTuple(args
,"Image_RGBValue_red_set",2,2,swig_obj
)) SWIG_fail
;
12453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_RGBValue
, 0 | 0 );
12454 if (!SWIG_IsOK(res1
)) {
12455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBValue_red_set" "', expected argument " "1"" of type '" "wxImage_RGBValue *""'");
12457 arg1
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
12458 ecode2
= SWIG_AsVal_unsigned_SS_char(swig_obj
[1], &val2
);
12459 if (!SWIG_IsOK(ecode2
)) {
12460 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_RGBValue_red_set" "', expected argument " "2"" of type '" "byte""'");
12462 arg2
= static_cast< byte
>(val2
);
12463 if (arg1
) (arg1
)->red
= arg2
;
12465 resultobj
= SWIG_Py_Void();
12472 SWIGINTERN PyObject
*_wrap_Image_RGBValue_red_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12473 PyObject
*resultobj
= 0;
12474 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
12478 PyObject
*swig_obj
[1] ;
12480 if (!args
) SWIG_fail
;
12481 swig_obj
[0] = args
;
12482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_RGBValue
, 0 | 0 );
12483 if (!SWIG_IsOK(res1
)) {
12484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBValue_red_get" "', expected argument " "1"" of type '" "wxImage_RGBValue *""'");
12486 arg1
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
12487 result
= (byte
) ((arg1
)->red
);
12488 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
12495 SWIGINTERN PyObject
*_wrap_Image_RGBValue_green_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12496 PyObject
*resultobj
= 0;
12497 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
12501 unsigned char val2
;
12503 PyObject
*swig_obj
[2] ;
12505 if (!SWIG_Python_UnpackTuple(args
,"Image_RGBValue_green_set",2,2,swig_obj
)) SWIG_fail
;
12506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_RGBValue
, 0 | 0 );
12507 if (!SWIG_IsOK(res1
)) {
12508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBValue_green_set" "', expected argument " "1"" of type '" "wxImage_RGBValue *""'");
12510 arg1
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
12511 ecode2
= SWIG_AsVal_unsigned_SS_char(swig_obj
[1], &val2
);
12512 if (!SWIG_IsOK(ecode2
)) {
12513 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_RGBValue_green_set" "', expected argument " "2"" of type '" "byte""'");
12515 arg2
= static_cast< byte
>(val2
);
12516 if (arg1
) (arg1
)->green
= arg2
;
12518 resultobj
= SWIG_Py_Void();
12525 SWIGINTERN PyObject
*_wrap_Image_RGBValue_green_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12526 PyObject
*resultobj
= 0;
12527 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
12531 PyObject
*swig_obj
[1] ;
12533 if (!args
) SWIG_fail
;
12534 swig_obj
[0] = args
;
12535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_RGBValue
, 0 | 0 );
12536 if (!SWIG_IsOK(res1
)) {
12537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBValue_green_get" "', expected argument " "1"" of type '" "wxImage_RGBValue *""'");
12539 arg1
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
12540 result
= (byte
) ((arg1
)->green
);
12541 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
12548 SWIGINTERN PyObject
*_wrap_Image_RGBValue_blue_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12549 PyObject
*resultobj
= 0;
12550 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
12554 unsigned char val2
;
12556 PyObject
*swig_obj
[2] ;
12558 if (!SWIG_Python_UnpackTuple(args
,"Image_RGBValue_blue_set",2,2,swig_obj
)) SWIG_fail
;
12559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_RGBValue
, 0 | 0 );
12560 if (!SWIG_IsOK(res1
)) {
12561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBValue_blue_set" "', expected argument " "1"" of type '" "wxImage_RGBValue *""'");
12563 arg1
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
12564 ecode2
= SWIG_AsVal_unsigned_SS_char(swig_obj
[1], &val2
);
12565 if (!SWIG_IsOK(ecode2
)) {
12566 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_RGBValue_blue_set" "', expected argument " "2"" of type '" "byte""'");
12568 arg2
= static_cast< byte
>(val2
);
12569 if (arg1
) (arg1
)->blue
= arg2
;
12571 resultobj
= SWIG_Py_Void();
12578 SWIGINTERN PyObject
*_wrap_Image_RGBValue_blue_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12579 PyObject
*resultobj
= 0;
12580 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
12584 PyObject
*swig_obj
[1] ;
12586 if (!args
) SWIG_fail
;
12587 swig_obj
[0] = args
;
12588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_RGBValue
, 0 | 0 );
12589 if (!SWIG_IsOK(res1
)) {
12590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBValue_blue_get" "', expected argument " "1"" of type '" "wxImage_RGBValue *""'");
12592 arg1
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
12593 result
= (byte
) ((arg1
)->blue
);
12594 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
12601 SWIGINTERN PyObject
*Image_RGBValue_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12603 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12604 SWIG_TypeNewClientData(SWIGTYPE_p_wxImage_RGBValue
, SWIG_NewClientData(obj
));
12605 return SWIG_Py_Void();
12608 SWIGINTERN PyObject
*Image_RGBValue_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12609 return SWIG_Python_InitShadowInstance(args
);
12612 SWIGINTERN PyObject
*_wrap_new_Image_HSVValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12613 PyObject
*resultobj
= 0;
12614 double arg1
= (double) 0.0 ;
12615 double arg2
= (double) 0.0 ;
12616 double arg3
= (double) 0.0 ;
12617 wxImage_HSVValue
*result
= 0 ;
12624 PyObject
* obj0
= 0 ;
12625 PyObject
* obj1
= 0 ;
12626 PyObject
* obj2
= 0 ;
12627 char * kwnames
[] = {
12628 (char *) "h",(char *) "s",(char *) "v", NULL
12631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Image_HSVValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12633 ecode1
= SWIG_AsVal_double(obj0
, &val1
);
12634 if (!SWIG_IsOK(ecode1
)) {
12635 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Image_HSVValue" "', expected argument " "1"" of type '" "double""'");
12637 arg1
= static_cast< double >(val1
);
12640 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
12641 if (!SWIG_IsOK(ecode2
)) {
12642 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Image_HSVValue" "', expected argument " "2"" of type '" "double""'");
12644 arg2
= static_cast< double >(val2
);
12647 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
12648 if (!SWIG_IsOK(ecode3
)) {
12649 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Image_HSVValue" "', expected argument " "3"" of type '" "double""'");
12651 arg3
= static_cast< double >(val3
);
12654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12655 result
= (wxImage_HSVValue
*)new wxImage_HSVValue(arg1
,arg2
,arg3
);
12656 wxPyEndAllowThreads(__tstate
);
12657 if (PyErr_Occurred()) SWIG_fail
;
12659 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage_HSVValue
, SWIG_POINTER_NEW
| 0 );
12666 SWIGINTERN PyObject
*_wrap_Image_HSVValue_hue_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12667 PyObject
*resultobj
= 0;
12668 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
12674 PyObject
*swig_obj
[2] ;
12676 if (!SWIG_Python_UnpackTuple(args
,"Image_HSVValue_hue_set",2,2,swig_obj
)) SWIG_fail
;
12677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_HSVValue
, 0 | 0 );
12678 if (!SWIG_IsOK(res1
)) {
12679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVValue_hue_set" "', expected argument " "1"" of type '" "wxImage_HSVValue *""'");
12681 arg1
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
12682 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
12683 if (!SWIG_IsOK(ecode2
)) {
12684 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_HSVValue_hue_set" "', expected argument " "2"" of type '" "double""'");
12686 arg2
= static_cast< double >(val2
);
12687 if (arg1
) (arg1
)->hue
= arg2
;
12689 resultobj
= SWIG_Py_Void();
12696 SWIGINTERN PyObject
*_wrap_Image_HSVValue_hue_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12697 PyObject
*resultobj
= 0;
12698 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
12702 PyObject
*swig_obj
[1] ;
12704 if (!args
) SWIG_fail
;
12705 swig_obj
[0] = args
;
12706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_HSVValue
, 0 | 0 );
12707 if (!SWIG_IsOK(res1
)) {
12708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVValue_hue_get" "', expected argument " "1"" of type '" "wxImage_HSVValue *""'");
12710 arg1
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
12711 result
= (double) ((arg1
)->hue
);
12712 resultobj
= SWIG_From_double(static_cast< double >(result
));
12719 SWIGINTERN PyObject
*_wrap_Image_HSVValue_saturation_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12720 PyObject
*resultobj
= 0;
12721 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
12727 PyObject
*swig_obj
[2] ;
12729 if (!SWIG_Python_UnpackTuple(args
,"Image_HSVValue_saturation_set",2,2,swig_obj
)) SWIG_fail
;
12730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_HSVValue
, 0 | 0 );
12731 if (!SWIG_IsOK(res1
)) {
12732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVValue_saturation_set" "', expected argument " "1"" of type '" "wxImage_HSVValue *""'");
12734 arg1
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
12735 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
12736 if (!SWIG_IsOK(ecode2
)) {
12737 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_HSVValue_saturation_set" "', expected argument " "2"" of type '" "double""'");
12739 arg2
= static_cast< double >(val2
);
12740 if (arg1
) (arg1
)->saturation
= arg2
;
12742 resultobj
= SWIG_Py_Void();
12749 SWIGINTERN PyObject
*_wrap_Image_HSVValue_saturation_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12750 PyObject
*resultobj
= 0;
12751 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
12755 PyObject
*swig_obj
[1] ;
12757 if (!args
) SWIG_fail
;
12758 swig_obj
[0] = args
;
12759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_HSVValue
, 0 | 0 );
12760 if (!SWIG_IsOK(res1
)) {
12761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVValue_saturation_get" "', expected argument " "1"" of type '" "wxImage_HSVValue *""'");
12763 arg1
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
12764 result
= (double) ((arg1
)->saturation
);
12765 resultobj
= SWIG_From_double(static_cast< double >(result
));
12772 SWIGINTERN PyObject
*_wrap_Image_HSVValue_value_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12773 PyObject
*resultobj
= 0;
12774 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
12780 PyObject
*swig_obj
[2] ;
12782 if (!SWIG_Python_UnpackTuple(args
,"Image_HSVValue_value_set",2,2,swig_obj
)) SWIG_fail
;
12783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_HSVValue
, 0 | 0 );
12784 if (!SWIG_IsOK(res1
)) {
12785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVValue_value_set" "', expected argument " "1"" of type '" "wxImage_HSVValue *""'");
12787 arg1
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
12788 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
12789 if (!SWIG_IsOK(ecode2
)) {
12790 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_HSVValue_value_set" "', expected argument " "2"" of type '" "double""'");
12792 arg2
= static_cast< double >(val2
);
12793 if (arg1
) (arg1
)->value
= arg2
;
12795 resultobj
= SWIG_Py_Void();
12802 SWIGINTERN PyObject
*_wrap_Image_HSVValue_value_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12803 PyObject
*resultobj
= 0;
12804 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
12808 PyObject
*swig_obj
[1] ;
12810 if (!args
) SWIG_fail
;
12811 swig_obj
[0] = args
;
12812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_HSVValue
, 0 | 0 );
12813 if (!SWIG_IsOK(res1
)) {
12814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVValue_value_get" "', expected argument " "1"" of type '" "wxImage_HSVValue *""'");
12816 arg1
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
12817 result
= (double) ((arg1
)->value
);
12818 resultobj
= SWIG_From_double(static_cast< double >(result
));
12825 SWIGINTERN PyObject
*Image_HSVValue_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12827 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12828 SWIG_TypeNewClientData(SWIGTYPE_p_wxImage_HSVValue
, SWIG_NewClientData(obj
));
12829 return SWIG_Py_Void();
12832 SWIGINTERN PyObject
*Image_HSVValue_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12833 return SWIG_Python_InitShadowInstance(args
);
12836 SWIGINTERN PyObject
*_wrap_new_Image(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12837 PyObject
*resultobj
= 0;
12838 wxString
*arg1
= 0 ;
12839 long arg2
= (long) wxBITMAP_TYPE_ANY
;
12840 int arg3
= (int) -1 ;
12841 wxImage
*result
= 0 ;
12842 bool temp1
= false ;
12847 PyObject
* obj0
= 0 ;
12848 PyObject
* obj1
= 0 ;
12849 PyObject
* obj2
= 0 ;
12850 char * kwnames
[] = {
12851 (char *) "name",(char *) "type",(char *) "index", NULL
12854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12856 arg1
= wxString_in_helper(obj0
);
12857 if (arg1
== NULL
) SWIG_fail
;
12861 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12862 if (!SWIG_IsOK(ecode2
)) {
12863 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Image" "', expected argument " "2"" of type '" "long""'");
12865 arg2
= static_cast< long >(val2
);
12868 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12869 if (!SWIG_IsOK(ecode3
)) {
12870 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Image" "', expected argument " "3"" of type '" "int""'");
12872 arg3
= static_cast< int >(val3
);
12875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12876 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
12877 wxPyEndAllowThreads(__tstate
);
12878 if (PyErr_Occurred()) SWIG_fail
;
12880 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_NEW
| 0 );
12895 SWIGINTERN PyObject
*_wrap_delete_Image(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12896 PyObject
*resultobj
= 0;
12897 wxImage
*arg1
= (wxImage
*) 0 ;
12900 PyObject
*swig_obj
[1] ;
12902 if (!args
) SWIG_fail
;
12903 swig_obj
[0] = args
;
12904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, SWIG_POINTER_DISOWN
| 0 );
12905 if (!SWIG_IsOK(res1
)) {
12906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Image" "', expected argument " "1"" of type '" "wxImage *""'");
12908 arg1
= reinterpret_cast< wxImage
* >(argp1
);
12910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12913 wxPyEndAllowThreads(__tstate
);
12914 if (PyErr_Occurred()) SWIG_fail
;
12916 resultobj
= SWIG_Py_Void();
12923 SWIGINTERN PyObject
*_wrap_new_ImageFromMime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12924 PyObject
*resultobj
= 0;
12925 wxString
*arg1
= 0 ;
12926 wxString
*arg2
= 0 ;
12927 int arg3
= (int) -1 ;
12928 wxImage
*result
= 0 ;
12929 bool temp1
= false ;
12930 bool temp2
= false ;
12933 PyObject
* obj0
= 0 ;
12934 PyObject
* obj1
= 0 ;
12935 PyObject
* obj2
= 0 ;
12936 char * kwnames
[] = {
12937 (char *) "name",(char *) "mimetype",(char *) "index", NULL
12940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12942 arg1
= wxString_in_helper(obj0
);
12943 if (arg1
== NULL
) SWIG_fail
;
12947 arg2
= wxString_in_helper(obj1
);
12948 if (arg2
== NULL
) SWIG_fail
;
12952 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12953 if (!SWIG_IsOK(ecode3
)) {
12954 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageFromMime" "', expected argument " "3"" of type '" "int""'");
12956 arg3
= static_cast< int >(val3
);
12959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12960 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
12961 wxPyEndAllowThreads(__tstate
);
12962 if (PyErr_Occurred()) SWIG_fail
;
12964 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
12987 SWIGINTERN PyObject
*_wrap_new_ImageFromStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12988 PyObject
*resultobj
= 0;
12989 wxInputStream
*arg1
= 0 ;
12990 long arg2
= (long) wxBITMAP_TYPE_ANY
;
12991 int arg3
= (int) -1 ;
12992 wxImage
*result
= 0 ;
12993 wxPyInputStream
*temp1
;
12999 PyObject
* obj0
= 0 ;
13000 PyObject
* obj1
= 0 ;
13001 PyObject
* obj2
= 0 ;
13002 char * kwnames
[] = {
13003 (char *) "stream",(char *) "type",(char *) "index", NULL
13006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13008 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
13009 arg1
= temp1
->m_wxis
;
13012 PyErr_Clear(); // clear the failure of the wxPyConvert above
13013 arg1
= wxPyCBInputStream_create(obj0
, false);
13014 if (arg1
== NULL
) {
13015 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
13022 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13023 if (!SWIG_IsOK(ecode2
)) {
13024 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageFromStream" "', expected argument " "2"" of type '" "long""'");
13026 arg2
= static_cast< long >(val2
);
13029 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13030 if (!SWIG_IsOK(ecode3
)) {
13031 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageFromStream" "', expected argument " "3"" of type '" "int""'");
13033 arg3
= static_cast< int >(val3
);
13036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13037 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
13038 wxPyEndAllowThreads(__tstate
);
13039 if (PyErr_Occurred()) SWIG_fail
;
13041 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
13043 if (created1
) delete arg1
;
13048 if (created1
) delete arg1
;
13054 SWIGINTERN PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13055 PyObject
*resultobj
= 0;
13056 wxInputStream
*arg1
= 0 ;
13057 wxString
*arg2
= 0 ;
13058 int arg3
= (int) -1 ;
13059 wxImage
*result
= 0 ;
13060 wxPyInputStream
*temp1
;
13062 bool temp2
= false ;
13065 PyObject
* obj0
= 0 ;
13066 PyObject
* obj1
= 0 ;
13067 PyObject
* obj2
= 0 ;
13068 char * kwnames
[] = {
13069 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
13072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13074 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
13075 arg1
= temp1
->m_wxis
;
13078 PyErr_Clear(); // clear the failure of the wxPyConvert above
13079 arg1
= wxPyCBInputStream_create(obj0
, false);
13080 if (arg1
== NULL
) {
13081 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
13088 arg2
= wxString_in_helper(obj1
);
13089 if (arg2
== NULL
) SWIG_fail
;
13093 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13094 if (!SWIG_IsOK(ecode3
)) {
13095 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageFromStreamMime" "', expected argument " "3"" of type '" "int""'");
13097 arg3
= static_cast< int >(val3
);
13100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13101 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
13102 wxPyEndAllowThreads(__tstate
);
13103 if (PyErr_Occurred()) SWIG_fail
;
13105 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
13107 if (created1
) delete arg1
;
13116 if (created1
) delete arg1
;
13126 SWIGINTERN PyObject
*_wrap_new_EmptyImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13127 PyObject
*resultobj
= 0;
13128 int arg1
= (int) 0 ;
13129 int arg2
= (int) 0 ;
13130 bool arg3
= (bool) true ;
13131 wxImage
*result
= 0 ;
13138 PyObject
* obj0
= 0 ;
13139 PyObject
* obj1
= 0 ;
13140 PyObject
* obj2
= 0 ;
13141 char * kwnames
[] = {
13142 (char *) "width",(char *) "height",(char *) "clear", NULL
13145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13147 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13148 if (!SWIG_IsOK(ecode1
)) {
13149 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyImage" "', expected argument " "1"" of type '" "int""'");
13151 arg1
= static_cast< int >(val1
);
13154 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13155 if (!SWIG_IsOK(ecode2
)) {
13156 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyImage" "', expected argument " "2"" of type '" "int""'");
13158 arg2
= static_cast< int >(val2
);
13161 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13162 if (!SWIG_IsOK(ecode3
)) {
13163 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyImage" "', expected argument " "3"" of type '" "bool""'");
13165 arg3
= static_cast< bool >(val3
);
13168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13169 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
13170 wxPyEndAllowThreads(__tstate
);
13171 if (PyErr_Occurred()) SWIG_fail
;
13173 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
13180 SWIGINTERN PyObject
*_wrap_new_ImageFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13181 PyObject
*resultobj
= 0;
13182 wxBitmap
*arg1
= 0 ;
13183 wxImage
*result
= 0 ;
13186 PyObject
* obj0
= 0 ;
13187 char * kwnames
[] = {
13188 (char *) "bitmap", NULL
13191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
13192 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
13193 if (!SWIG_IsOK(res1
)) {
13194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ImageFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
13197 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ImageFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
13199 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
13201 if (!wxPyCheckForApp()) SWIG_fail
;
13202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13203 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
13204 wxPyEndAllowThreads(__tstate
);
13205 if (PyErr_Occurred()) SWIG_fail
;
13207 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
13214 SWIGINTERN PyObject
*_wrap_new_ImageFromData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13215 PyObject
*resultobj
= 0;
13220 wxImage
*result
= 0 ;
13225 PyObject
* obj0
= 0 ;
13226 PyObject
* obj1
= 0 ;
13227 PyObject
* obj2
= 0 ;
13228 char * kwnames
[] = {
13229 (char *) "width",(char *) "height",(char *) "data", NULL
13232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13233 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13234 if (!SWIG_IsOK(ecode1
)) {
13235 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageFromData" "', expected argument " "1"" of type '" "int""'");
13237 arg1
= static_cast< int >(val1
);
13238 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13239 if (!SWIG_IsOK(ecode2
)) {
13240 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageFromData" "', expected argument " "2"" of type '" "int""'");
13242 arg2
= static_cast< int >(val2
);
13244 if (!PyArg_Parse(obj2
, "t#", &arg3
, &arg4
)) SWIG_fail
;
13247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13248 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
);
13249 wxPyEndAllowThreads(__tstate
);
13250 if (PyErr_Occurred()) SWIG_fail
;
13252 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
13259 SWIGINTERN PyObject
*_wrap_new_ImageFromDataWithAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13260 PyObject
*resultobj
= 0;
13267 wxImage
*result
= 0 ;
13272 PyObject
* obj0
= 0 ;
13273 PyObject
* obj1
= 0 ;
13274 PyObject
* obj2
= 0 ;
13275 PyObject
* obj3
= 0 ;
13276 char * kwnames
[] = {
13277 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
13280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_ImageFromDataWithAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13281 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13282 if (!SWIG_IsOK(ecode1
)) {
13283 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageFromDataWithAlpha" "', expected argument " "1"" of type '" "int""'");
13285 arg1
= static_cast< int >(val1
);
13286 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13287 if (!SWIG_IsOK(ecode2
)) {
13288 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageFromDataWithAlpha" "', expected argument " "2"" of type '" "int""'");
13290 arg2
= static_cast< int >(val2
);
13292 if (!PyArg_Parse(obj2
, "t#", &arg3
, &arg4
)) SWIG_fail
;
13295 if (!PyArg_Parse(obj3
, "t#", &arg5
, &arg6
)) SWIG_fail
;
13298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13299 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
13300 wxPyEndAllowThreads(__tstate
);
13301 if (PyErr_Occurred()) SWIG_fail
;
13303 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
13310 SWIGINTERN PyObject
*_wrap_Image_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13311 PyObject
*resultobj
= 0;
13312 wxImage
*arg1
= (wxImage
*) 0 ;
13315 bool arg4
= (bool) true ;
13324 PyObject
* obj0
= 0 ;
13325 PyObject
* obj1
= 0 ;
13326 PyObject
* obj2
= 0 ;
13327 PyObject
* obj3
= 0 ;
13328 char * kwnames
[] = {
13329 (char *) "self",(char *) "width",(char *) "height",(char *) "clear", NULL
13332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13334 if (!SWIG_IsOK(res1
)) {
13335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Create" "', expected argument " "1"" of type '" "wxImage *""'");
13337 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13338 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13339 if (!SWIG_IsOK(ecode2
)) {
13340 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Create" "', expected argument " "2"" of type '" "int""'");
13342 arg2
= static_cast< int >(val2
);
13343 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13344 if (!SWIG_IsOK(ecode3
)) {
13345 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_Create" "', expected argument " "3"" of type '" "int""'");
13347 arg3
= static_cast< int >(val3
);
13349 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13350 if (!SWIG_IsOK(ecode4
)) {
13351 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Create" "', expected argument " "4"" of type '" "bool""'");
13353 arg4
= static_cast< bool >(val4
);
13356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13357 (arg1
)->Create(arg2
,arg3
,arg4
);
13358 wxPyEndAllowThreads(__tstate
);
13359 if (PyErr_Occurred()) SWIG_fail
;
13361 resultobj
= SWIG_Py_Void();
13368 SWIGINTERN PyObject
*_wrap_Image_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13369 PyObject
*resultobj
= 0;
13370 wxImage
*arg1
= (wxImage
*) 0 ;
13373 PyObject
*swig_obj
[1] ;
13375 if (!args
) SWIG_fail
;
13376 swig_obj
[0] = args
;
13377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13378 if (!SWIG_IsOK(res1
)) {
13379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Destroy" "', expected argument " "1"" of type '" "wxImage *""'");
13381 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13385 wxPyEndAllowThreads(__tstate
);
13386 if (PyErr_Occurred()) SWIG_fail
;
13388 resultobj
= SWIG_Py_Void();
13395 SWIGINTERN PyObject
*_wrap_Image_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13396 PyObject
*resultobj
= 0;
13397 wxImage
*arg1
= (wxImage
*) 0 ;
13400 SwigValueWrapper
<wxImage
> result
;
13407 PyObject
* obj0
= 0 ;
13408 PyObject
* obj1
= 0 ;
13409 PyObject
* obj2
= 0 ;
13410 char * kwnames
[] = {
13411 (char *) "self",(char *) "width",(char *) "height", NULL
13414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13416 if (!SWIG_IsOK(res1
)) {
13417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Scale" "', expected argument " "1"" of type '" "wxImage *""'");
13419 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13420 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13421 if (!SWIG_IsOK(ecode2
)) {
13422 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Scale" "', expected argument " "2"" of type '" "int""'");
13424 arg2
= static_cast< int >(val2
);
13425 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13426 if (!SWIG_IsOK(ecode3
)) {
13427 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_Scale" "', expected argument " "3"" of type '" "int""'");
13429 arg3
= static_cast< int >(val3
);
13431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13432 result
= (arg1
)->Scale(arg2
,arg3
);
13433 wxPyEndAllowThreads(__tstate
);
13434 if (PyErr_Occurred()) SWIG_fail
;
13436 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
13443 SWIGINTERN PyObject
*_wrap_Image_ShrinkBy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13444 PyObject
*resultobj
= 0;
13445 wxImage
*arg1
= (wxImage
*) 0 ;
13448 SwigValueWrapper
<wxImage
> result
;
13455 PyObject
* obj0
= 0 ;
13456 PyObject
* obj1
= 0 ;
13457 PyObject
* obj2
= 0 ;
13458 char * kwnames
[] = {
13459 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
13462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13464 if (!SWIG_IsOK(res1
)) {
13465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ShrinkBy" "', expected argument " "1"" of type '" "wxImage const *""'");
13467 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13468 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13469 if (!SWIG_IsOK(ecode2
)) {
13470 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ShrinkBy" "', expected argument " "2"" of type '" "int""'");
13472 arg2
= static_cast< int >(val2
);
13473 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13474 if (!SWIG_IsOK(ecode3
)) {
13475 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_ShrinkBy" "', expected argument " "3"" of type '" "int""'");
13477 arg3
= static_cast< int >(val3
);
13479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13480 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
13481 wxPyEndAllowThreads(__tstate
);
13482 if (PyErr_Occurred()) SWIG_fail
;
13484 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
13491 SWIGINTERN PyObject
*_wrap_Image_Rescale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13492 PyObject
*resultobj
= 0;
13493 wxImage
*arg1
= (wxImage
*) 0 ;
13496 wxImage
*result
= 0 ;
13503 PyObject
* obj0
= 0 ;
13504 PyObject
* obj1
= 0 ;
13505 PyObject
* obj2
= 0 ;
13506 char * kwnames
[] = {
13507 (char *) "self",(char *) "width",(char *) "height", NULL
13510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13512 if (!SWIG_IsOK(res1
)) {
13513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Rescale" "', expected argument " "1"" of type '" "wxImage *""'");
13515 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13516 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13517 if (!SWIG_IsOK(ecode2
)) {
13518 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Rescale" "', expected argument " "2"" of type '" "int""'");
13520 arg2
= static_cast< int >(val2
);
13521 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13522 if (!SWIG_IsOK(ecode3
)) {
13523 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_Rescale" "', expected argument " "3"" of type '" "int""'");
13525 arg3
= static_cast< int >(val3
);
13527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13529 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
13530 result
= (wxImage
*) &_result_ref
;
13532 wxPyEndAllowThreads(__tstate
);
13533 if (PyErr_Occurred()) SWIG_fail
;
13535 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, 0 | 0 );
13542 SWIGINTERN PyObject
*_wrap_Image_Resize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13543 PyObject
*resultobj
= 0;
13544 wxImage
*arg1
= (wxImage
*) 0 ;
13546 wxPoint
*arg3
= 0 ;
13547 int arg4
= (int) -1 ;
13548 int arg5
= (int) -1 ;
13549 int arg6
= (int) -1 ;
13550 wxImage
*result
= 0 ;
13561 PyObject
* obj0
= 0 ;
13562 PyObject
* obj1
= 0 ;
13563 PyObject
* obj2
= 0 ;
13564 PyObject
* obj3
= 0 ;
13565 PyObject
* obj4
= 0 ;
13566 PyObject
* obj5
= 0 ;
13567 char * kwnames
[] = {
13568 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
13571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Image_Resize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13573 if (!SWIG_IsOK(res1
)) {
13574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Resize" "', expected argument " "1"" of type '" "wxImage *""'");
13576 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13579 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13583 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13586 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13587 if (!SWIG_IsOK(ecode4
)) {
13588 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Resize" "', expected argument " "4"" of type '" "int""'");
13590 arg4
= static_cast< int >(val4
);
13593 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
13594 if (!SWIG_IsOK(ecode5
)) {
13595 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_Resize" "', expected argument " "5"" of type '" "int""'");
13597 arg5
= static_cast< int >(val5
);
13600 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
13601 if (!SWIG_IsOK(ecode6
)) {
13602 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Image_Resize" "', expected argument " "6"" of type '" "int""'");
13604 arg6
= static_cast< int >(val6
);
13607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13609 wxImage
&_result_ref
= (arg1
)->Resize((wxSize
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
,arg6
);
13610 result
= (wxImage
*) &_result_ref
;
13612 wxPyEndAllowThreads(__tstate
);
13613 if (PyErr_Occurred()) SWIG_fail
;
13615 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, 0 | 0 );
13622 SWIGINTERN PyObject
*_wrap_Image_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13623 PyObject
*resultobj
= 0;
13624 wxImage
*arg1
= (wxImage
*) 0 ;
13636 unsigned char val4
;
13638 unsigned char val5
;
13640 unsigned char val6
;
13642 PyObject
* obj0
= 0 ;
13643 PyObject
* obj1
= 0 ;
13644 PyObject
* obj2
= 0 ;
13645 PyObject
* obj3
= 0 ;
13646 PyObject
* obj4
= 0 ;
13647 PyObject
* obj5
= 0 ;
13648 char * kwnames
[] = {
13649 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
13652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13654 if (!SWIG_IsOK(res1
)) {
13655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetRGB" "', expected argument " "1"" of type '" "wxImage *""'");
13657 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13658 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13659 if (!SWIG_IsOK(ecode2
)) {
13660 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_SetRGB" "', expected argument " "2"" of type '" "int""'");
13662 arg2
= static_cast< int >(val2
);
13663 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13664 if (!SWIG_IsOK(ecode3
)) {
13665 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SetRGB" "', expected argument " "3"" of type '" "int""'");
13667 arg3
= static_cast< int >(val3
);
13668 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
13669 if (!SWIG_IsOK(ecode4
)) {
13670 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_SetRGB" "', expected argument " "4"" of type '" "byte""'");
13672 arg4
= static_cast< byte
>(val4
);
13673 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
13674 if (!SWIG_IsOK(ecode5
)) {
13675 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_SetRGB" "', expected argument " "5"" of type '" "byte""'");
13677 arg5
= static_cast< byte
>(val5
);
13678 ecode6
= SWIG_AsVal_unsigned_SS_char(obj5
, &val6
);
13679 if (!SWIG_IsOK(ecode6
)) {
13680 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Image_SetRGB" "', expected argument " "6"" of type '" "byte""'");
13682 arg6
= static_cast< byte
>(val6
);
13684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13685 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
13686 wxPyEndAllowThreads(__tstate
);
13687 if (PyErr_Occurred()) SWIG_fail
;
13689 resultobj
= SWIG_Py_Void();
13696 SWIGINTERN PyObject
*_wrap_Image_SetRGBRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13697 PyObject
*resultobj
= 0;
13698 wxImage
*arg1
= (wxImage
*) 0 ;
13706 unsigned char val3
;
13708 unsigned char val4
;
13710 unsigned char val5
;
13712 PyObject
* obj0
= 0 ;
13713 PyObject
* obj1
= 0 ;
13714 PyObject
* obj2
= 0 ;
13715 PyObject
* obj3
= 0 ;
13716 PyObject
* obj4
= 0 ;
13717 char * kwnames
[] = {
13718 (char *) "self",(char *) "rect",(char *) "r",(char *) "g",(char *) "b", NULL
13721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetRGBRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13723 if (!SWIG_IsOK(res1
)) {
13724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetRGBRect" "', expected argument " "1"" of type '" "wxImage *""'");
13726 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13729 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13731 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
13732 if (!SWIG_IsOK(ecode3
)) {
13733 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SetRGBRect" "', expected argument " "3"" of type '" "byte""'");
13735 arg3
= static_cast< byte
>(val3
);
13736 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
13737 if (!SWIG_IsOK(ecode4
)) {
13738 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_SetRGBRect" "', expected argument " "4"" of type '" "byte""'");
13740 arg4
= static_cast< byte
>(val4
);
13741 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
13742 if (!SWIG_IsOK(ecode5
)) {
13743 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_SetRGBRect" "', expected argument " "5"" of type '" "byte""'");
13745 arg5
= static_cast< byte
>(val5
);
13747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13748 (arg1
)->SetRGB((wxRect
const &)*arg2
,arg3
,arg4
,arg5
);
13749 wxPyEndAllowThreads(__tstate
);
13750 if (PyErr_Occurred()) SWIG_fail
;
13752 resultobj
= SWIG_Py_Void();
13759 SWIGINTERN PyObject
*_wrap_Image_GetRed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13760 PyObject
*resultobj
= 0;
13761 wxImage
*arg1
= (wxImage
*) 0 ;
13771 PyObject
* obj0
= 0 ;
13772 PyObject
* obj1
= 0 ;
13773 PyObject
* obj2
= 0 ;
13774 char * kwnames
[] = {
13775 (char *) "self",(char *) "x",(char *) "y", NULL
13778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13780 if (!SWIG_IsOK(res1
)) {
13781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetRed" "', expected argument " "1"" of type '" "wxImage *""'");
13783 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13784 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13785 if (!SWIG_IsOK(ecode2
)) {
13786 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_GetRed" "', expected argument " "2"" of type '" "int""'");
13788 arg2
= static_cast< int >(val2
);
13789 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13790 if (!SWIG_IsOK(ecode3
)) {
13791 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_GetRed" "', expected argument " "3"" of type '" "int""'");
13793 arg3
= static_cast< int >(val3
);
13795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13796 result
= (byte
)(arg1
)->GetRed(arg2
,arg3
);
13797 wxPyEndAllowThreads(__tstate
);
13798 if (PyErr_Occurred()) SWIG_fail
;
13800 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
13807 SWIGINTERN PyObject
*_wrap_Image_GetGreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13808 PyObject
*resultobj
= 0;
13809 wxImage
*arg1
= (wxImage
*) 0 ;
13819 PyObject
* obj0
= 0 ;
13820 PyObject
* obj1
= 0 ;
13821 PyObject
* obj2
= 0 ;
13822 char * kwnames
[] = {
13823 (char *) "self",(char *) "x",(char *) "y", NULL
13826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13828 if (!SWIG_IsOK(res1
)) {
13829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetGreen" "', expected argument " "1"" of type '" "wxImage *""'");
13831 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13832 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13833 if (!SWIG_IsOK(ecode2
)) {
13834 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_GetGreen" "', expected argument " "2"" of type '" "int""'");
13836 arg2
= static_cast< int >(val2
);
13837 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13838 if (!SWIG_IsOK(ecode3
)) {
13839 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_GetGreen" "', expected argument " "3"" of type '" "int""'");
13841 arg3
= static_cast< int >(val3
);
13843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13844 result
= (byte
)(arg1
)->GetGreen(arg2
,arg3
);
13845 wxPyEndAllowThreads(__tstate
);
13846 if (PyErr_Occurred()) SWIG_fail
;
13848 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
13855 SWIGINTERN PyObject
*_wrap_Image_GetBlue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13856 PyObject
*resultobj
= 0;
13857 wxImage
*arg1
= (wxImage
*) 0 ;
13867 PyObject
* obj0
= 0 ;
13868 PyObject
* obj1
= 0 ;
13869 PyObject
* obj2
= 0 ;
13870 char * kwnames
[] = {
13871 (char *) "self",(char *) "x",(char *) "y", NULL
13874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13876 if (!SWIG_IsOK(res1
)) {
13877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetBlue" "', expected argument " "1"" of type '" "wxImage *""'");
13879 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13880 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13881 if (!SWIG_IsOK(ecode2
)) {
13882 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_GetBlue" "', expected argument " "2"" of type '" "int""'");
13884 arg2
= static_cast< int >(val2
);
13885 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13886 if (!SWIG_IsOK(ecode3
)) {
13887 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_GetBlue" "', expected argument " "3"" of type '" "int""'");
13889 arg3
= static_cast< int >(val3
);
13891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13892 result
= (byte
)(arg1
)->GetBlue(arg2
,arg3
);
13893 wxPyEndAllowThreads(__tstate
);
13894 if (PyErr_Occurred()) SWIG_fail
;
13896 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
13903 SWIGINTERN PyObject
*_wrap_Image_SetAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13904 PyObject
*resultobj
= 0;
13905 wxImage
*arg1
= (wxImage
*) 0 ;
13915 unsigned char val4
;
13917 PyObject
* obj0
= 0 ;
13918 PyObject
* obj1
= 0 ;
13919 PyObject
* obj2
= 0 ;
13920 PyObject
* obj3
= 0 ;
13921 char * kwnames
[] = {
13922 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
13925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13927 if (!SWIG_IsOK(res1
)) {
13928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetAlpha" "', expected argument " "1"" of type '" "wxImage *""'");
13930 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13931 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13932 if (!SWIG_IsOK(ecode2
)) {
13933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_SetAlpha" "', expected argument " "2"" of type '" "int""'");
13935 arg2
= static_cast< int >(val2
);
13936 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13937 if (!SWIG_IsOK(ecode3
)) {
13938 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SetAlpha" "', expected argument " "3"" of type '" "int""'");
13940 arg3
= static_cast< int >(val3
);
13941 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
13942 if (!SWIG_IsOK(ecode4
)) {
13943 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_SetAlpha" "', expected argument " "4"" of type '" "byte""'");
13945 arg4
= static_cast< byte
>(val4
);
13947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13948 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
13949 wxPyEndAllowThreads(__tstate
);
13950 if (PyErr_Occurred()) SWIG_fail
;
13952 resultobj
= SWIG_Py_Void();
13959 SWIGINTERN PyObject
*_wrap_Image_GetAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13960 PyObject
*resultobj
= 0;
13961 wxImage
*arg1
= (wxImage
*) 0 ;
13971 PyObject
* obj0
= 0 ;
13972 PyObject
* obj1
= 0 ;
13973 PyObject
* obj2
= 0 ;
13974 char * kwnames
[] = {
13975 (char *) "self",(char *) "x",(char *) "y", NULL
13978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13980 if (!SWIG_IsOK(res1
)) {
13981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetAlpha" "', expected argument " "1"" of type '" "wxImage *""'");
13983 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13984 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13985 if (!SWIG_IsOK(ecode2
)) {
13986 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_GetAlpha" "', expected argument " "2"" of type '" "int""'");
13988 arg2
= static_cast< int >(val2
);
13989 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13990 if (!SWIG_IsOK(ecode3
)) {
13991 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_GetAlpha" "', expected argument " "3"" of type '" "int""'");
13993 arg3
= static_cast< int >(val3
);
13995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13996 result
= (byte
)(arg1
)->GetAlpha(arg2
,arg3
);
13997 wxPyEndAllowThreads(__tstate
);
13998 if (PyErr_Occurred()) SWIG_fail
;
14000 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
14007 SWIGINTERN PyObject
*_wrap_Image_HasAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14008 PyObject
*resultobj
= 0;
14009 wxImage
*arg1
= (wxImage
*) 0 ;
14013 PyObject
*swig_obj
[1] ;
14015 if (!args
) SWIG_fail
;
14016 swig_obj
[0] = args
;
14017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14018 if (!SWIG_IsOK(res1
)) {
14019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HasAlpha" "', expected argument " "1"" of type '" "wxImage *""'");
14021 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14024 result
= (bool)(arg1
)->HasAlpha();
14025 wxPyEndAllowThreads(__tstate
);
14026 if (PyErr_Occurred()) SWIG_fail
;
14029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14037 SWIGINTERN PyObject
*_wrap_Image_InitAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14038 PyObject
*resultobj
= 0;
14039 wxImage
*arg1
= (wxImage
*) 0 ;
14042 PyObject
*swig_obj
[1] ;
14044 if (!args
) SWIG_fail
;
14045 swig_obj
[0] = args
;
14046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14047 if (!SWIG_IsOK(res1
)) {
14048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_InitAlpha" "', expected argument " "1"" of type '" "wxImage *""'");
14050 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14053 (arg1
)->InitAlpha();
14054 wxPyEndAllowThreads(__tstate
);
14055 if (PyErr_Occurred()) SWIG_fail
;
14057 resultobj
= SWIG_Py_Void();
14064 SWIGINTERN PyObject
*_wrap_Image_IsTransparent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14065 PyObject
*resultobj
= 0;
14066 wxImage
*arg1
= (wxImage
*) 0 ;
14069 byte arg4
= (byte
) wxIMAGE_ALPHA_THRESHOLD
;
14077 unsigned char val4
;
14079 PyObject
* obj0
= 0 ;
14080 PyObject
* obj1
= 0 ;
14081 PyObject
* obj2
= 0 ;
14082 PyObject
* obj3
= 0 ;
14083 char * kwnames
[] = {
14084 (char *) "self",(char *) "x",(char *) "y",(char *) "threshold", NULL
14087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_IsTransparent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14089 if (!SWIG_IsOK(res1
)) {
14090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_IsTransparent" "', expected argument " "1"" of type '" "wxImage const *""'");
14092 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14093 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14094 if (!SWIG_IsOK(ecode2
)) {
14095 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_IsTransparent" "', expected argument " "2"" of type '" "int""'");
14097 arg2
= static_cast< int >(val2
);
14098 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14099 if (!SWIG_IsOK(ecode3
)) {
14100 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_IsTransparent" "', expected argument " "3"" of type '" "int""'");
14102 arg3
= static_cast< int >(val3
);
14104 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
14105 if (!SWIG_IsOK(ecode4
)) {
14106 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_IsTransparent" "', expected argument " "4"" of type '" "byte""'");
14108 arg4
= static_cast< byte
>(val4
);
14111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14112 result
= (bool)((wxImage
const *)arg1
)->IsTransparent(arg2
,arg3
,arg4
);
14113 wxPyEndAllowThreads(__tstate
);
14114 if (PyErr_Occurred()) SWIG_fail
;
14117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14125 SWIGINTERN PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14126 PyObject
*resultobj
= 0;
14127 wxImage
*arg1
= (wxImage
*) 0 ;
14128 byte
*arg2
= (byte
*) 0 ;
14129 byte
*arg3
= (byte
*) 0 ;
14130 byte
*arg4
= (byte
*) 0 ;
14131 byte arg5
= (byte
) 0 ;
14132 byte arg6
= (byte
) 0 ;
14133 byte arg7
= (byte
) 0 ;
14138 int res2
= SWIG_TMPOBJ
;
14140 int res3
= SWIG_TMPOBJ
;
14142 int res4
= SWIG_TMPOBJ
;
14143 unsigned char val5
;
14145 unsigned char val6
;
14147 unsigned char val7
;
14149 PyObject
* obj0
= 0 ;
14150 PyObject
* obj1
= 0 ;
14151 PyObject
* obj2
= 0 ;
14152 PyObject
* obj3
= 0 ;
14153 char * kwnames
[] = {
14154 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
14160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14162 if (!SWIG_IsOK(res1
)) {
14163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_FindFirstUnusedColour" "', expected argument " "1"" of type '" "wxImage const *""'");
14165 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14167 ecode5
= SWIG_AsVal_unsigned_SS_char(obj1
, &val5
);
14168 if (!SWIG_IsOK(ecode5
)) {
14169 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_FindFirstUnusedColour" "', expected argument " "5"" of type '" "byte""'");
14171 arg5
= static_cast< byte
>(val5
);
14174 ecode6
= SWIG_AsVal_unsigned_SS_char(obj2
, &val6
);
14175 if (!SWIG_IsOK(ecode6
)) {
14176 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Image_FindFirstUnusedColour" "', expected argument " "6"" of type '" "byte""'");
14178 arg6
= static_cast< byte
>(val6
);
14181 ecode7
= SWIG_AsVal_unsigned_SS_char(obj3
, &val7
);
14182 if (!SWIG_IsOK(ecode7
)) {
14183 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Image_FindFirstUnusedColour" "', expected argument " "7"" of type '" "byte""'");
14185 arg7
= static_cast< byte
>(val7
);
14188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14189 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
14190 wxPyEndAllowThreads(__tstate
);
14191 if (PyErr_Occurred()) SWIG_fail
;
14194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14196 if (SWIG_IsTmpObj(res2
)) {
14197 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg2
)));
14199 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
14200 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, new_flags
));
14202 if (SWIG_IsTmpObj(res3
)) {
14203 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
14205 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
14206 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
14208 if (SWIG_IsTmpObj(res4
)) {
14209 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
14211 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
14212 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
14220 SWIGINTERN PyObject
*_wrap_Image_ConvertAlphaToMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14221 PyObject
*resultobj
= 0;
14222 wxImage
*arg1
= (wxImage
*) 0 ;
14223 byte arg2
= (byte
) wxIMAGE_ALPHA_THRESHOLD
;
14227 unsigned char val2
;
14229 PyObject
* obj0
= 0 ;
14230 PyObject
* obj1
= 0 ;
14231 char * kwnames
[] = {
14232 (char *) "self",(char *) "threshold", NULL
14235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14237 if (!SWIG_IsOK(res1
)) {
14238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ConvertAlphaToMask" "', expected argument " "1"" of type '" "wxImage *""'");
14240 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14242 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
14243 if (!SWIG_IsOK(ecode2
)) {
14244 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ConvertAlphaToMask" "', expected argument " "2"" of type '" "byte""'");
14246 arg2
= static_cast< byte
>(val2
);
14249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14250 result
= (bool)(arg1
)->ConvertAlphaToMask(arg2
);
14251 wxPyEndAllowThreads(__tstate
);
14252 if (PyErr_Occurred()) SWIG_fail
;
14255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14263 SWIGINTERN PyObject
*_wrap_Image_ConvertColourToAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14264 PyObject
*resultobj
= 0;
14265 wxImage
*arg1
= (wxImage
*) 0 ;
14272 unsigned char val2
;
14274 unsigned char val3
;
14276 unsigned char val4
;
14278 PyObject
* obj0
= 0 ;
14279 PyObject
* obj1
= 0 ;
14280 PyObject
* obj2
= 0 ;
14281 PyObject
* obj3
= 0 ;
14282 char * kwnames
[] = {
14283 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
14286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertColourToAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14288 if (!SWIG_IsOK(res1
)) {
14289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ConvertColourToAlpha" "', expected argument " "1"" of type '" "wxImage *""'");
14291 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14292 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
14293 if (!SWIG_IsOK(ecode2
)) {
14294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ConvertColourToAlpha" "', expected argument " "2"" of type '" "byte""'");
14296 arg2
= static_cast< byte
>(val2
);
14297 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
14298 if (!SWIG_IsOK(ecode3
)) {
14299 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_ConvertColourToAlpha" "', expected argument " "3"" of type '" "byte""'");
14301 arg3
= static_cast< byte
>(val3
);
14302 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
14303 if (!SWIG_IsOK(ecode4
)) {
14304 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_ConvertColourToAlpha" "', expected argument " "4"" of type '" "byte""'");
14306 arg4
= static_cast< byte
>(val4
);
14308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14309 result
= (bool)(arg1
)->ConvertColourToAlpha(arg2
,arg3
,arg4
);
14310 wxPyEndAllowThreads(__tstate
);
14311 if (PyErr_Occurred()) SWIG_fail
;
14314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14322 SWIGINTERN PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14323 PyObject
*resultobj
= 0;
14324 wxImage
*arg1
= (wxImage
*) 0 ;
14325 wxImage
*arg2
= 0 ;
14334 unsigned char val3
;
14336 unsigned char val4
;
14338 unsigned char val5
;
14340 PyObject
* obj0
= 0 ;
14341 PyObject
* obj1
= 0 ;
14342 PyObject
* obj2
= 0 ;
14343 PyObject
* obj3
= 0 ;
14344 PyObject
* obj4
= 0 ;
14345 char * kwnames
[] = {
14346 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
14349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14351 if (!SWIG_IsOK(res1
)) {
14352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetMaskFromImage" "', expected argument " "1"" of type '" "wxImage *""'");
14354 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14355 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImage
, 0 | 0);
14356 if (!SWIG_IsOK(res2
)) {
14357 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Image_SetMaskFromImage" "', expected argument " "2"" of type '" "wxImage const &""'");
14360 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Image_SetMaskFromImage" "', expected argument " "2"" of type '" "wxImage const &""'");
14362 arg2
= reinterpret_cast< wxImage
* >(argp2
);
14363 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
14364 if (!SWIG_IsOK(ecode3
)) {
14365 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SetMaskFromImage" "', expected argument " "3"" of type '" "byte""'");
14367 arg3
= static_cast< byte
>(val3
);
14368 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
14369 if (!SWIG_IsOK(ecode4
)) {
14370 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_SetMaskFromImage" "', expected argument " "4"" of type '" "byte""'");
14372 arg4
= static_cast< byte
>(val4
);
14373 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
14374 if (!SWIG_IsOK(ecode5
)) {
14375 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_SetMaskFromImage" "', expected argument " "5"" of type '" "byte""'");
14377 arg5
= static_cast< byte
>(val5
);
14379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14380 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
14381 wxPyEndAllowThreads(__tstate
);
14382 if (PyErr_Occurred()) SWIG_fail
;
14385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14393 SWIGINTERN PyObject
*_wrap_Image_CanRead(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14394 PyObject
*resultobj
= 0;
14395 wxString
*arg1
= 0 ;
14397 bool temp1
= false ;
14398 PyObject
* obj0
= 0 ;
14399 char * kwnames
[] = {
14400 (char *) "filename", NULL
14403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) SWIG_fail
;
14405 arg1
= wxString_in_helper(obj0
);
14406 if (arg1
== NULL
) SWIG_fail
;
14410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14411 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
14412 wxPyEndAllowThreads(__tstate
);
14413 if (PyErr_Occurred()) SWIG_fail
;
14416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14432 SWIGINTERN PyObject
*_wrap_Image_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14433 PyObject
*resultobj
= 0;
14434 wxString
*arg1
= 0 ;
14435 long arg2
= (long) wxBITMAP_TYPE_ANY
;
14437 bool temp1
= false ;
14440 PyObject
* obj0
= 0 ;
14441 PyObject
* obj1
= 0 ;
14442 char * kwnames
[] = {
14443 (char *) "filename",(char *) "type", NULL
14446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14448 arg1
= wxString_in_helper(obj0
);
14449 if (arg1
== NULL
) SWIG_fail
;
14453 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
14454 if (!SWIG_IsOK(ecode2
)) {
14455 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_GetImageCount" "', expected argument " "2"" of type '" "long""'");
14457 arg2
= static_cast< long >(val2
);
14460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14461 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
14462 wxPyEndAllowThreads(__tstate
);
14463 if (PyErr_Occurred()) SWIG_fail
;
14465 resultobj
= SWIG_From_int(static_cast< int >(result
));
14480 SWIGINTERN PyObject
*_wrap_Image_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14481 PyObject
*resultobj
= 0;
14482 wxImage
*arg1
= (wxImage
*) 0 ;
14483 wxString
*arg2
= 0 ;
14484 long arg3
= (long) wxBITMAP_TYPE_ANY
;
14485 int arg4
= (int) -1 ;
14489 bool temp2
= false ;
14494 PyObject
* obj0
= 0 ;
14495 PyObject
* obj1
= 0 ;
14496 PyObject
* obj2
= 0 ;
14497 PyObject
* obj3
= 0 ;
14498 char * kwnames
[] = {
14499 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
14502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14504 if (!SWIG_IsOK(res1
)) {
14505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_LoadFile" "', expected argument " "1"" of type '" "wxImage *""'");
14507 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14509 arg2
= wxString_in_helper(obj1
);
14510 if (arg2
== NULL
) SWIG_fail
;
14514 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
14515 if (!SWIG_IsOK(ecode3
)) {
14516 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_LoadFile" "', expected argument " "3"" of type '" "long""'");
14518 arg3
= static_cast< long >(val3
);
14521 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14522 if (!SWIG_IsOK(ecode4
)) {
14523 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_LoadFile" "', expected argument " "4"" of type '" "int""'");
14525 arg4
= static_cast< int >(val4
);
14528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14529 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
14530 wxPyEndAllowThreads(__tstate
);
14531 if (PyErr_Occurred()) SWIG_fail
;
14534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14550 SWIGINTERN PyObject
*_wrap_Image_LoadMimeFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14551 PyObject
*resultobj
= 0;
14552 wxImage
*arg1
= (wxImage
*) 0 ;
14553 wxString
*arg2
= 0 ;
14554 wxString
*arg3
= 0 ;
14555 int arg4
= (int) -1 ;
14559 bool temp2
= false ;
14560 bool temp3
= false ;
14563 PyObject
* obj0
= 0 ;
14564 PyObject
* obj1
= 0 ;
14565 PyObject
* obj2
= 0 ;
14566 PyObject
* obj3
= 0 ;
14567 char * kwnames
[] = {
14568 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
14571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14573 if (!SWIG_IsOK(res1
)) {
14574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_LoadMimeFile" "', expected argument " "1"" of type '" "wxImage *""'");
14576 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14578 arg2
= wxString_in_helper(obj1
);
14579 if (arg2
== NULL
) SWIG_fail
;
14583 arg3
= wxString_in_helper(obj2
);
14584 if (arg3
== NULL
) SWIG_fail
;
14588 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14589 if (!SWIG_IsOK(ecode4
)) {
14590 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_LoadMimeFile" "', expected argument " "4"" of type '" "int""'");
14592 arg4
= static_cast< int >(val4
);
14595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14596 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
14597 wxPyEndAllowThreads(__tstate
);
14598 if (PyErr_Occurred()) SWIG_fail
;
14601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14625 SWIGINTERN PyObject
*_wrap_Image_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14626 PyObject
*resultobj
= 0;
14627 wxImage
*arg1
= (wxImage
*) 0 ;
14628 wxString
*arg2
= 0 ;
14633 bool temp2
= false ;
14636 PyObject
* obj0
= 0 ;
14637 PyObject
* obj1
= 0 ;
14638 PyObject
* obj2
= 0 ;
14639 char * kwnames
[] = {
14640 (char *) "self",(char *) "name",(char *) "type", NULL
14643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14645 if (!SWIG_IsOK(res1
)) {
14646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SaveFile" "', expected argument " "1"" of type '" "wxImage *""'");
14648 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14650 arg2
= wxString_in_helper(obj1
);
14651 if (arg2
== NULL
) SWIG_fail
;
14654 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14655 if (!SWIG_IsOK(ecode3
)) {
14656 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SaveFile" "', expected argument " "3"" of type '" "int""'");
14658 arg3
= static_cast< int >(val3
);
14660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14661 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
14662 wxPyEndAllowThreads(__tstate
);
14663 if (PyErr_Occurred()) SWIG_fail
;
14666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14682 SWIGINTERN PyObject
*_wrap_Image_SaveMimeFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14683 PyObject
*resultobj
= 0;
14684 wxImage
*arg1
= (wxImage
*) 0 ;
14685 wxString
*arg2
= 0 ;
14686 wxString
*arg3
= 0 ;
14690 bool temp2
= false ;
14691 bool temp3
= false ;
14692 PyObject
* obj0
= 0 ;
14693 PyObject
* obj1
= 0 ;
14694 PyObject
* obj2
= 0 ;
14695 char * kwnames
[] = {
14696 (char *) "self",(char *) "name",(char *) "mimetype", NULL
14699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14701 if (!SWIG_IsOK(res1
)) {
14702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SaveMimeFile" "', expected argument " "1"" of type '" "wxImage *""'");
14704 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14706 arg2
= wxString_in_helper(obj1
);
14707 if (arg2
== NULL
) SWIG_fail
;
14711 arg3
= wxString_in_helper(obj2
);
14712 if (arg3
== NULL
) SWIG_fail
;
14716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14717 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
14718 wxPyEndAllowThreads(__tstate
);
14719 if (PyErr_Occurred()) SWIG_fail
;
14722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14746 SWIGINTERN PyObject
*_wrap_Image_CanReadStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14747 PyObject
*resultobj
= 0;
14748 wxInputStream
*arg1
= 0 ;
14750 wxPyInputStream
*temp1
;
14752 PyObject
* obj0
= 0 ;
14753 char * kwnames
[] = {
14754 (char *) "stream", NULL
14757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) SWIG_fail
;
14759 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
14760 arg1
= temp1
->m_wxis
;
14763 PyErr_Clear(); // clear the failure of the wxPyConvert above
14764 arg1
= wxPyCBInputStream_create(obj0
, false);
14765 if (arg1
== NULL
) {
14766 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
14773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14774 result
= (bool)wxImage::CanRead(*arg1
);
14775 wxPyEndAllowThreads(__tstate
);
14776 if (PyErr_Occurred()) SWIG_fail
;
14779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14782 if (created1
) delete arg1
;
14787 if (created1
) delete arg1
;
14793 SWIGINTERN PyObject
*_wrap_Image_LoadStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14794 PyObject
*resultobj
= 0;
14795 wxImage
*arg1
= (wxImage
*) 0 ;
14796 wxInputStream
*arg2
= 0 ;
14797 long arg3
= (long) wxBITMAP_TYPE_ANY
;
14798 int arg4
= (int) -1 ;
14802 wxPyInputStream
*temp2
;
14808 PyObject
* obj0
= 0 ;
14809 PyObject
* obj1
= 0 ;
14810 PyObject
* obj2
= 0 ;
14811 PyObject
* obj3
= 0 ;
14812 char * kwnames
[] = {
14813 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
14816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14818 if (!SWIG_IsOK(res1
)) {
14819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_LoadStream" "', expected argument " "1"" of type '" "wxImage *""'");
14821 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14823 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
14824 arg2
= temp2
->m_wxis
;
14827 PyErr_Clear(); // clear the failure of the wxPyConvert above
14828 arg2
= wxPyCBInputStream_create(obj1
, false);
14829 if (arg2
== NULL
) {
14830 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
14837 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
14838 if (!SWIG_IsOK(ecode3
)) {
14839 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_LoadStream" "', expected argument " "3"" of type '" "long""'");
14841 arg3
= static_cast< long >(val3
);
14844 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14845 if (!SWIG_IsOK(ecode4
)) {
14846 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_LoadStream" "', expected argument " "4"" of type '" "int""'");
14848 arg4
= static_cast< int >(val4
);
14851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14852 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
14853 wxPyEndAllowThreads(__tstate
);
14854 if (PyErr_Occurred()) SWIG_fail
;
14857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14860 if (created2
) delete arg2
;
14865 if (created2
) delete arg2
;
14871 SWIGINTERN PyObject
*_wrap_Image_LoadMimeStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14872 PyObject
*resultobj
= 0;
14873 wxImage
*arg1
= (wxImage
*) 0 ;
14874 wxInputStream
*arg2
= 0 ;
14875 wxString
*arg3
= 0 ;
14876 int arg4
= (int) -1 ;
14880 wxPyInputStream
*temp2
;
14882 bool temp3
= false ;
14885 PyObject
* obj0
= 0 ;
14886 PyObject
* obj1
= 0 ;
14887 PyObject
* obj2
= 0 ;
14888 PyObject
* obj3
= 0 ;
14889 char * kwnames
[] = {
14890 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
14893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14895 if (!SWIG_IsOK(res1
)) {
14896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_LoadMimeStream" "', expected argument " "1"" of type '" "wxImage *""'");
14898 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14900 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
14901 arg2
= temp2
->m_wxis
;
14904 PyErr_Clear(); // clear the failure of the wxPyConvert above
14905 arg2
= wxPyCBInputStream_create(obj1
, false);
14906 if (arg2
== NULL
) {
14907 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
14914 arg3
= wxString_in_helper(obj2
);
14915 if (arg3
== NULL
) SWIG_fail
;
14919 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14920 if (!SWIG_IsOK(ecode4
)) {
14921 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_LoadMimeStream" "', expected argument " "4"" of type '" "int""'");
14923 arg4
= static_cast< int >(val4
);
14926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14927 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
14928 wxPyEndAllowThreads(__tstate
);
14929 if (PyErr_Occurred()) SWIG_fail
;
14932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14935 if (created2
) delete arg2
;
14944 if (created2
) delete arg2
;
14954 SWIGINTERN PyObject
*_wrap_Image_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14955 PyObject
*resultobj
= 0;
14956 wxImage
*arg1
= (wxImage
*) 0 ;
14960 PyObject
*swig_obj
[1] ;
14962 if (!args
) SWIG_fail
;
14963 swig_obj
[0] = args
;
14964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14965 if (!SWIG_IsOK(res1
)) {
14966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Ok" "', expected argument " "1"" of type '" "wxImage *""'");
14968 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14971 result
= (bool)(arg1
)->Ok();
14972 wxPyEndAllowThreads(__tstate
);
14973 if (PyErr_Occurred()) SWIG_fail
;
14976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14984 SWIGINTERN PyObject
*_wrap_Image_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14985 PyObject
*resultobj
= 0;
14986 wxImage
*arg1
= (wxImage
*) 0 ;
14990 PyObject
*swig_obj
[1] ;
14992 if (!args
) SWIG_fail
;
14993 swig_obj
[0] = args
;
14994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14995 if (!SWIG_IsOK(res1
)) {
14996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetWidth" "', expected argument " "1"" of type '" "wxImage *""'");
14998 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15001 result
= (int)(arg1
)->GetWidth();
15002 wxPyEndAllowThreads(__tstate
);
15003 if (PyErr_Occurred()) SWIG_fail
;
15005 resultobj
= SWIG_From_int(static_cast< int >(result
));
15012 SWIGINTERN PyObject
*_wrap_Image_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15013 PyObject
*resultobj
= 0;
15014 wxImage
*arg1
= (wxImage
*) 0 ;
15018 PyObject
*swig_obj
[1] ;
15020 if (!args
) SWIG_fail
;
15021 swig_obj
[0] = args
;
15022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15023 if (!SWIG_IsOK(res1
)) {
15024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetHeight" "', expected argument " "1"" of type '" "wxImage *""'");
15026 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15029 result
= (int)(arg1
)->GetHeight();
15030 wxPyEndAllowThreads(__tstate
);
15031 if (PyErr_Occurred()) SWIG_fail
;
15033 resultobj
= SWIG_From_int(static_cast< int >(result
));
15040 SWIGINTERN PyObject
*_wrap_Image_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15041 PyObject
*resultobj
= 0;
15042 wxImage
*arg1
= (wxImage
*) 0 ;
15046 PyObject
*swig_obj
[1] ;
15048 if (!args
) SWIG_fail
;
15049 swig_obj
[0] = args
;
15050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15051 if (!SWIG_IsOK(res1
)) {
15052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetSize" "', expected argument " "1"" of type '" "wxImage *""'");
15054 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15057 result
= wxImage_GetSize(arg1
);
15058 wxPyEndAllowThreads(__tstate
);
15059 if (PyErr_Occurred()) SWIG_fail
;
15061 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
15068 SWIGINTERN PyObject
*_wrap_Image_GetSubImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15069 PyObject
*resultobj
= 0;
15070 wxImage
*arg1
= (wxImage
*) 0 ;
15072 SwigValueWrapper
<wxImage
> result
;
15076 PyObject
* obj0
= 0 ;
15077 PyObject
* obj1
= 0 ;
15078 char * kwnames
[] = {
15079 (char *) "self",(char *) "rect", NULL
15082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15084 if (!SWIG_IsOK(res1
)) {
15085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetSubImage" "', expected argument " "1"" of type '" "wxImage *""'");
15087 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15090 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15094 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
15095 wxPyEndAllowThreads(__tstate
);
15096 if (PyErr_Occurred()) SWIG_fail
;
15098 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
15105 SWIGINTERN PyObject
*_wrap_Image_Size(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15106 PyObject
*resultobj
= 0;
15107 wxImage
*arg1
= (wxImage
*) 0 ;
15109 wxPoint
*arg3
= 0 ;
15110 int arg4
= (int) -1 ;
15111 int arg5
= (int) -1 ;
15112 int arg6
= (int) -1 ;
15113 SwigValueWrapper
<wxImage
> result
;
15124 PyObject
* obj0
= 0 ;
15125 PyObject
* obj1
= 0 ;
15126 PyObject
* obj2
= 0 ;
15127 PyObject
* obj3
= 0 ;
15128 PyObject
* obj4
= 0 ;
15129 PyObject
* obj5
= 0 ;
15130 char * kwnames
[] = {
15131 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
15134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Image_Size",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15136 if (!SWIG_IsOK(res1
)) {
15137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Size" "', expected argument " "1"" of type '" "wxImage const *""'");
15139 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15142 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15146 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15149 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15150 if (!SWIG_IsOK(ecode4
)) {
15151 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Size" "', expected argument " "4"" of type '" "int""'");
15153 arg4
= static_cast< int >(val4
);
15156 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15157 if (!SWIG_IsOK(ecode5
)) {
15158 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_Size" "', expected argument " "5"" of type '" "int""'");
15160 arg5
= static_cast< int >(val5
);
15163 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
15164 if (!SWIG_IsOK(ecode6
)) {
15165 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Image_Size" "', expected argument " "6"" of type '" "int""'");
15167 arg6
= static_cast< int >(val6
);
15170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15171 result
= ((wxImage
const *)arg1
)->Size((wxSize
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
,arg6
);
15172 wxPyEndAllowThreads(__tstate
);
15173 if (PyErr_Occurred()) SWIG_fail
;
15175 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
15182 SWIGINTERN PyObject
*_wrap_Image_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15183 PyObject
*resultobj
= 0;
15184 wxImage
*arg1
= (wxImage
*) 0 ;
15185 SwigValueWrapper
<wxImage
> result
;
15188 PyObject
*swig_obj
[1] ;
15190 if (!args
) SWIG_fail
;
15191 swig_obj
[0] = args
;
15192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15193 if (!SWIG_IsOK(res1
)) {
15194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Copy" "', expected argument " "1"" of type '" "wxImage *""'");
15196 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15199 result
= (arg1
)->Copy();
15200 wxPyEndAllowThreads(__tstate
);
15201 if (PyErr_Occurred()) SWIG_fail
;
15203 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
15210 SWIGINTERN PyObject
*_wrap_Image_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15211 PyObject
*resultobj
= 0;
15212 wxImage
*arg1
= (wxImage
*) 0 ;
15213 wxImage
*arg2
= 0 ;
15224 PyObject
* obj0
= 0 ;
15225 PyObject
* obj1
= 0 ;
15226 PyObject
* obj2
= 0 ;
15227 PyObject
* obj3
= 0 ;
15228 char * kwnames
[] = {
15229 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
15232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15234 if (!SWIG_IsOK(res1
)) {
15235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Paste" "', expected argument " "1"" of type '" "wxImage *""'");
15237 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15238 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImage
, 0 | 0);
15239 if (!SWIG_IsOK(res2
)) {
15240 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Image_Paste" "', expected argument " "2"" of type '" "wxImage const &""'");
15243 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Image_Paste" "', expected argument " "2"" of type '" "wxImage const &""'");
15245 arg2
= reinterpret_cast< wxImage
* >(argp2
);
15246 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15247 if (!SWIG_IsOK(ecode3
)) {
15248 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_Paste" "', expected argument " "3"" of type '" "int""'");
15250 arg3
= static_cast< int >(val3
);
15251 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15252 if (!SWIG_IsOK(ecode4
)) {
15253 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Paste" "', expected argument " "4"" of type '" "int""'");
15255 arg4
= static_cast< int >(val4
);
15257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15258 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
15259 wxPyEndAllowThreads(__tstate
);
15260 if (PyErr_Occurred()) SWIG_fail
;
15262 resultobj
= SWIG_Py_Void();
15269 SWIGINTERN PyObject
*_wrap_Image_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15270 PyObject
*resultobj
= 0;
15271 wxImage
*arg1
= (wxImage
*) 0 ;
15272 PyObject
*result
= 0 ;
15275 PyObject
*swig_obj
[1] ;
15277 if (!args
) SWIG_fail
;
15278 swig_obj
[0] = args
;
15279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15280 if (!SWIG_IsOK(res1
)) {
15281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetData" "', expected argument " "1"" of type '" "wxImage *""'");
15283 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15286 result
= (PyObject
*)wxImage_GetData(arg1
);
15287 wxPyEndAllowThreads(__tstate
);
15288 if (PyErr_Occurred()) SWIG_fail
;
15290 resultobj
= result
;
15297 SWIGINTERN PyObject
*_wrap_Image_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15298 PyObject
*resultobj
= 0;
15299 wxImage
*arg1
= (wxImage
*) 0 ;
15304 PyObject
* obj0
= 0 ;
15305 PyObject
* obj1
= 0 ;
15306 char * kwnames
[] = {
15307 (char *) "self",(char *) "data", NULL
15310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15312 if (!SWIG_IsOK(res1
)) {
15313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetData" "', expected argument " "1"" of type '" "wxImage *""'");
15315 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15317 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
15320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15321 wxImage_SetData(arg1
,arg2
,arg3
);
15322 wxPyEndAllowThreads(__tstate
);
15323 if (PyErr_Occurred()) SWIG_fail
;
15325 resultobj
= SWIG_Py_Void();
15332 SWIGINTERN PyObject
*_wrap_Image_GetDataBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15333 PyObject
*resultobj
= 0;
15334 wxImage
*arg1
= (wxImage
*) 0 ;
15335 PyObject
*result
= 0 ;
15338 PyObject
*swig_obj
[1] ;
15340 if (!args
) SWIG_fail
;
15341 swig_obj
[0] = args
;
15342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15343 if (!SWIG_IsOK(res1
)) {
15344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetDataBuffer" "', expected argument " "1"" of type '" "wxImage *""'");
15346 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15349 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
15350 wxPyEndAllowThreads(__tstate
);
15351 if (PyErr_Occurred()) SWIG_fail
;
15353 resultobj
= result
;
15360 SWIGINTERN PyObject
*_wrap_Image_SetDataBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15361 PyObject
*resultobj
= 0;
15362 wxImage
*arg1
= (wxImage
*) 0 ;
15367 PyObject
* obj0
= 0 ;
15368 PyObject
* obj1
= 0 ;
15369 char * kwnames
[] = {
15370 (char *) "self",(char *) "data", NULL
15373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15375 if (!SWIG_IsOK(res1
)) {
15376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetDataBuffer" "', expected argument " "1"" of type '" "wxImage *""'");
15378 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15380 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
15383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15384 wxImage_SetDataBuffer(arg1
,arg2
,arg3
);
15385 wxPyEndAllowThreads(__tstate
);
15386 if (PyErr_Occurred()) SWIG_fail
;
15388 resultobj
= SWIG_Py_Void();
15395 SWIGINTERN PyObject
*_wrap_Image_GetAlphaData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15396 PyObject
*resultobj
= 0;
15397 wxImage
*arg1
= (wxImage
*) 0 ;
15398 PyObject
*result
= 0 ;
15401 PyObject
*swig_obj
[1] ;
15403 if (!args
) SWIG_fail
;
15404 swig_obj
[0] = args
;
15405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15406 if (!SWIG_IsOK(res1
)) {
15407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetAlphaData" "', expected argument " "1"" of type '" "wxImage *""'");
15409 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15412 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
15413 wxPyEndAllowThreads(__tstate
);
15414 if (PyErr_Occurred()) SWIG_fail
;
15416 resultobj
= result
;
15423 SWIGINTERN PyObject
*_wrap_Image_SetAlphaData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15424 PyObject
*resultobj
= 0;
15425 wxImage
*arg1
= (wxImage
*) 0 ;
15430 PyObject
* obj0
= 0 ;
15431 PyObject
* obj1
= 0 ;
15432 char * kwnames
[] = {
15433 (char *) "self",(char *) "alpha", NULL
15436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15438 if (!SWIG_IsOK(res1
)) {
15439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetAlphaData" "', expected argument " "1"" of type '" "wxImage *""'");
15441 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15443 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
15446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15447 wxImage_SetAlphaData(arg1
,arg2
,arg3
);
15448 wxPyEndAllowThreads(__tstate
);
15449 if (PyErr_Occurred()) SWIG_fail
;
15451 resultobj
= SWIG_Py_Void();
15458 SWIGINTERN PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15459 PyObject
*resultobj
= 0;
15460 wxImage
*arg1
= (wxImage
*) 0 ;
15461 PyObject
*result
= 0 ;
15464 PyObject
*swig_obj
[1] ;
15466 if (!args
) SWIG_fail
;
15467 swig_obj
[0] = args
;
15468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15469 if (!SWIG_IsOK(res1
)) {
15470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetAlphaBuffer" "', expected argument " "1"" of type '" "wxImage *""'");
15472 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15475 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
15476 wxPyEndAllowThreads(__tstate
);
15477 if (PyErr_Occurred()) SWIG_fail
;
15479 resultobj
= result
;
15486 SWIGINTERN PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15487 PyObject
*resultobj
= 0;
15488 wxImage
*arg1
= (wxImage
*) 0 ;
15493 PyObject
* obj0
= 0 ;
15494 PyObject
* obj1
= 0 ;
15495 char * kwnames
[] = {
15496 (char *) "self",(char *) "alpha", NULL
15499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15501 if (!SWIG_IsOK(res1
)) {
15502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetAlphaBuffer" "', expected argument " "1"" of type '" "wxImage *""'");
15504 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15506 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
15509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15510 wxImage_SetAlphaBuffer(arg1
,arg2
,arg3
);
15511 wxPyEndAllowThreads(__tstate
);
15512 if (PyErr_Occurred()) SWIG_fail
;
15514 resultobj
= SWIG_Py_Void();
15521 SWIGINTERN PyObject
*_wrap_Image_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15522 PyObject
*resultobj
= 0;
15523 wxImage
*arg1
= (wxImage
*) 0 ;
15529 unsigned char val2
;
15531 unsigned char val3
;
15533 unsigned char val4
;
15535 PyObject
* obj0
= 0 ;
15536 PyObject
* obj1
= 0 ;
15537 PyObject
* obj2
= 0 ;
15538 PyObject
* obj3
= 0 ;
15539 char * kwnames
[] = {
15540 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
15543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15545 if (!SWIG_IsOK(res1
)) {
15546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetMaskColour" "', expected argument " "1"" of type '" "wxImage *""'");
15548 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15549 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
15550 if (!SWIG_IsOK(ecode2
)) {
15551 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_SetMaskColour" "', expected argument " "2"" of type '" "byte""'");
15553 arg2
= static_cast< byte
>(val2
);
15554 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
15555 if (!SWIG_IsOK(ecode3
)) {
15556 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SetMaskColour" "', expected argument " "3"" of type '" "byte""'");
15558 arg3
= static_cast< byte
>(val3
);
15559 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
15560 if (!SWIG_IsOK(ecode4
)) {
15561 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_SetMaskColour" "', expected argument " "4"" of type '" "byte""'");
15563 arg4
= static_cast< byte
>(val4
);
15565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15566 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
15567 wxPyEndAllowThreads(__tstate
);
15568 if (PyErr_Occurred()) SWIG_fail
;
15570 resultobj
= SWIG_Py_Void();
15577 SWIGINTERN PyObject
*_wrap_Image_GetOrFindMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15578 PyObject
*resultobj
= 0;
15579 wxImage
*arg1
= (wxImage
*) 0 ;
15580 byte
*arg2
= (byte
*) 0 ;
15581 byte
*arg3
= (byte
*) 0 ;
15582 byte
*arg4
= (byte
*) 0 ;
15586 int res2
= SWIG_TMPOBJ
;
15588 int res3
= SWIG_TMPOBJ
;
15590 int res4
= SWIG_TMPOBJ
;
15591 PyObject
*swig_obj
[1] ;
15596 if (!args
) SWIG_fail
;
15597 swig_obj
[0] = args
;
15598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15599 if (!SWIG_IsOK(res1
)) {
15600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetOrFindMaskColour" "', expected argument " "1"" of type '" "wxImage const *""'");
15602 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15605 ((wxImage
const *)arg1
)->GetOrFindMaskColour(arg2
,arg3
,arg4
);
15606 wxPyEndAllowThreads(__tstate
);
15607 if (PyErr_Occurred()) SWIG_fail
;
15609 resultobj
= SWIG_Py_Void();
15610 if (SWIG_IsTmpObj(res2
)) {
15611 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg2
)));
15613 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
15614 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, new_flags
));
15616 if (SWIG_IsTmpObj(res3
)) {
15617 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
15619 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
15620 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
15622 if (SWIG_IsTmpObj(res4
)) {
15623 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
15625 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
15626 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
15634 SWIGINTERN PyObject
*_wrap_Image_GetMaskRed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15635 PyObject
*resultobj
= 0;
15636 wxImage
*arg1
= (wxImage
*) 0 ;
15640 PyObject
*swig_obj
[1] ;
15642 if (!args
) SWIG_fail
;
15643 swig_obj
[0] = args
;
15644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15645 if (!SWIG_IsOK(res1
)) {
15646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetMaskRed" "', expected argument " "1"" of type '" "wxImage *""'");
15648 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15651 result
= (byte
)(arg1
)->GetMaskRed();
15652 wxPyEndAllowThreads(__tstate
);
15653 if (PyErr_Occurred()) SWIG_fail
;
15655 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
15662 SWIGINTERN PyObject
*_wrap_Image_GetMaskGreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15663 PyObject
*resultobj
= 0;
15664 wxImage
*arg1
= (wxImage
*) 0 ;
15668 PyObject
*swig_obj
[1] ;
15670 if (!args
) SWIG_fail
;
15671 swig_obj
[0] = args
;
15672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15673 if (!SWIG_IsOK(res1
)) {
15674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetMaskGreen" "', expected argument " "1"" of type '" "wxImage *""'");
15676 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15679 result
= (byte
)(arg1
)->GetMaskGreen();
15680 wxPyEndAllowThreads(__tstate
);
15681 if (PyErr_Occurred()) SWIG_fail
;
15683 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
15690 SWIGINTERN PyObject
*_wrap_Image_GetMaskBlue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15691 PyObject
*resultobj
= 0;
15692 wxImage
*arg1
= (wxImage
*) 0 ;
15696 PyObject
*swig_obj
[1] ;
15698 if (!args
) SWIG_fail
;
15699 swig_obj
[0] = args
;
15700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15701 if (!SWIG_IsOK(res1
)) {
15702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetMaskBlue" "', expected argument " "1"" of type '" "wxImage *""'");
15704 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15707 result
= (byte
)(arg1
)->GetMaskBlue();
15708 wxPyEndAllowThreads(__tstate
);
15709 if (PyErr_Occurred()) SWIG_fail
;
15711 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
15718 SWIGINTERN PyObject
*_wrap_Image_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15719 PyObject
*resultobj
= 0;
15720 wxImage
*arg1
= (wxImage
*) 0 ;
15721 bool arg2
= (bool) true ;
15726 PyObject
* obj0
= 0 ;
15727 PyObject
* obj1
= 0 ;
15728 char * kwnames
[] = {
15729 (char *) "self",(char *) "mask", NULL
15732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15734 if (!SWIG_IsOK(res1
)) {
15735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetMask" "', expected argument " "1"" of type '" "wxImage *""'");
15737 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15739 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15740 if (!SWIG_IsOK(ecode2
)) {
15741 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_SetMask" "', expected argument " "2"" of type '" "bool""'");
15743 arg2
= static_cast< bool >(val2
);
15746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15747 (arg1
)->SetMask(arg2
);
15748 wxPyEndAllowThreads(__tstate
);
15749 if (PyErr_Occurred()) SWIG_fail
;
15751 resultobj
= SWIG_Py_Void();
15758 SWIGINTERN PyObject
*_wrap_Image_HasMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15759 PyObject
*resultobj
= 0;
15760 wxImage
*arg1
= (wxImage
*) 0 ;
15764 PyObject
*swig_obj
[1] ;
15766 if (!args
) SWIG_fail
;
15767 swig_obj
[0] = args
;
15768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15769 if (!SWIG_IsOK(res1
)) {
15770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HasMask" "', expected argument " "1"" of type '" "wxImage *""'");
15772 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15775 result
= (bool)(arg1
)->HasMask();
15776 wxPyEndAllowThreads(__tstate
);
15777 if (PyErr_Occurred()) SWIG_fail
;
15780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15788 SWIGINTERN PyObject
*_wrap_Image_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15789 PyObject
*resultobj
= 0;
15790 wxImage
*arg1
= (wxImage
*) 0 ;
15792 wxPoint
*arg3
= 0 ;
15793 bool arg4
= (bool) true ;
15794 wxPoint
*arg5
= (wxPoint
*) NULL
;
15795 SwigValueWrapper
<wxImage
> result
;
15805 PyObject
* obj0
= 0 ;
15806 PyObject
* obj1
= 0 ;
15807 PyObject
* obj2
= 0 ;
15808 PyObject
* obj3
= 0 ;
15809 PyObject
* obj4
= 0 ;
15810 char * kwnames
[] = {
15811 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
15814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15816 if (!SWIG_IsOK(res1
)) {
15817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Rotate" "', expected argument " "1"" of type '" "wxImage const *""'");
15819 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15820 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
15821 if (!SWIG_IsOK(ecode2
)) {
15822 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Rotate" "', expected argument " "2"" of type '" "double""'");
15824 arg2
= static_cast< double >(val2
);
15827 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15830 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
15831 if (!SWIG_IsOK(ecode4
)) {
15832 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Rotate" "', expected argument " "4"" of type '" "bool""'");
15834 arg4
= static_cast< bool >(val4
);
15837 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxPoint
, 0 | 0 );
15838 if (!SWIG_IsOK(res5
)) {
15839 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "Image_Rotate" "', expected argument " "5"" of type '" "wxPoint *""'");
15841 arg5
= reinterpret_cast< wxPoint
* >(argp5
);
15844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15845 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
15846 wxPyEndAllowThreads(__tstate
);
15847 if (PyErr_Occurred()) SWIG_fail
;
15849 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
15856 SWIGINTERN PyObject
*_wrap_Image_Rotate90(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15857 PyObject
*resultobj
= 0;
15858 wxImage
*arg1
= (wxImage
*) 0 ;
15859 bool arg2
= (bool) true ;
15860 SwigValueWrapper
<wxImage
> result
;
15865 PyObject
* obj0
= 0 ;
15866 PyObject
* obj1
= 0 ;
15867 char * kwnames
[] = {
15868 (char *) "self",(char *) "clockwise", NULL
15871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15873 if (!SWIG_IsOK(res1
)) {
15874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Rotate90" "', expected argument " "1"" of type '" "wxImage *""'");
15876 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15878 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15879 if (!SWIG_IsOK(ecode2
)) {
15880 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Rotate90" "', expected argument " "2"" of type '" "bool""'");
15882 arg2
= static_cast< bool >(val2
);
15885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15886 result
= (arg1
)->Rotate90(arg2
);
15887 wxPyEndAllowThreads(__tstate
);
15888 if (PyErr_Occurred()) SWIG_fail
;
15890 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
15897 SWIGINTERN PyObject
*_wrap_Image_Mirror(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15898 PyObject
*resultobj
= 0;
15899 wxImage
*arg1
= (wxImage
*) 0 ;
15900 bool arg2
= (bool) true ;
15901 SwigValueWrapper
<wxImage
> result
;
15906 PyObject
* obj0
= 0 ;
15907 PyObject
* obj1
= 0 ;
15908 char * kwnames
[] = {
15909 (char *) "self",(char *) "horizontally", NULL
15912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15914 if (!SWIG_IsOK(res1
)) {
15915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Mirror" "', expected argument " "1"" of type '" "wxImage *""'");
15917 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15919 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15920 if (!SWIG_IsOK(ecode2
)) {
15921 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Mirror" "', expected argument " "2"" of type '" "bool""'");
15923 arg2
= static_cast< bool >(val2
);
15926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15927 result
= (arg1
)->Mirror(arg2
);
15928 wxPyEndAllowThreads(__tstate
);
15929 if (PyErr_Occurred()) SWIG_fail
;
15931 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
15938 SWIGINTERN PyObject
*_wrap_Image_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15939 PyObject
*resultobj
= 0;
15940 wxImage
*arg1
= (wxImage
*) 0 ;
15949 unsigned char val2
;
15951 unsigned char val3
;
15953 unsigned char val4
;
15955 unsigned char val5
;
15957 unsigned char val6
;
15959 unsigned char val7
;
15961 PyObject
* obj0
= 0 ;
15962 PyObject
* obj1
= 0 ;
15963 PyObject
* obj2
= 0 ;
15964 PyObject
* obj3
= 0 ;
15965 PyObject
* obj4
= 0 ;
15966 PyObject
* obj5
= 0 ;
15967 PyObject
* obj6
= 0 ;
15968 char * kwnames
[] = {
15969 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
15972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15974 if (!SWIG_IsOK(res1
)) {
15975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Replace" "', expected argument " "1"" of type '" "wxImage *""'");
15977 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15978 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
15979 if (!SWIG_IsOK(ecode2
)) {
15980 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Replace" "', expected argument " "2"" of type '" "byte""'");
15982 arg2
= static_cast< byte
>(val2
);
15983 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
15984 if (!SWIG_IsOK(ecode3
)) {
15985 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_Replace" "', expected argument " "3"" of type '" "byte""'");
15987 arg3
= static_cast< byte
>(val3
);
15988 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
15989 if (!SWIG_IsOK(ecode4
)) {
15990 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Replace" "', expected argument " "4"" of type '" "byte""'");
15992 arg4
= static_cast< byte
>(val4
);
15993 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
15994 if (!SWIG_IsOK(ecode5
)) {
15995 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_Replace" "', expected argument " "5"" of type '" "byte""'");
15997 arg5
= static_cast< byte
>(val5
);
15998 ecode6
= SWIG_AsVal_unsigned_SS_char(obj5
, &val6
);
15999 if (!SWIG_IsOK(ecode6
)) {
16000 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Image_Replace" "', expected argument " "6"" of type '" "byte""'");
16002 arg6
= static_cast< byte
>(val6
);
16003 ecode7
= SWIG_AsVal_unsigned_SS_char(obj6
, &val7
);
16004 if (!SWIG_IsOK(ecode7
)) {
16005 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Image_Replace" "', expected argument " "7"" of type '" "byte""'");
16007 arg7
= static_cast< byte
>(val7
);
16009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16010 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
16011 wxPyEndAllowThreads(__tstate
);
16012 if (PyErr_Occurred()) SWIG_fail
;
16014 resultobj
= SWIG_Py_Void();
16021 SWIGINTERN PyObject
*_wrap_Image_ConvertToGreyscale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16022 PyObject
*resultobj
= 0;
16023 wxImage
*arg1
= (wxImage
*) 0 ;
16024 double arg2
= (double) 0.299 ;
16025 double arg3
= (double) 0.587 ;
16026 double arg4
= (double) 0.114 ;
16027 SwigValueWrapper
<wxImage
> result
;
16036 PyObject
* obj0
= 0 ;
16037 PyObject
* obj1
= 0 ;
16038 PyObject
* obj2
= 0 ;
16039 PyObject
* obj3
= 0 ;
16040 char * kwnames
[] = {
16041 (char *) "self",(char *) "lr",(char *) "lg",(char *) "lb", NULL
16044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_ConvertToGreyscale",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16046 if (!SWIG_IsOK(res1
)) {
16047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ConvertToGreyscale" "', expected argument " "1"" of type '" "wxImage const *""'");
16049 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16051 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
16052 if (!SWIG_IsOK(ecode2
)) {
16053 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ConvertToGreyscale" "', expected argument " "2"" of type '" "double""'");
16055 arg2
= static_cast< double >(val2
);
16058 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
16059 if (!SWIG_IsOK(ecode3
)) {
16060 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_ConvertToGreyscale" "', expected argument " "3"" of type '" "double""'");
16062 arg3
= static_cast< double >(val3
);
16065 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
16066 if (!SWIG_IsOK(ecode4
)) {
16067 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_ConvertToGreyscale" "', expected argument " "4"" of type '" "double""'");
16069 arg4
= static_cast< double >(val4
);
16072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16073 result
= ((wxImage
const *)arg1
)->ConvertToGreyscale(arg2
,arg3
,arg4
);
16074 wxPyEndAllowThreads(__tstate
);
16075 if (PyErr_Occurred()) SWIG_fail
;
16077 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
16084 SWIGINTERN PyObject
*_wrap_Image_ConvertToMono(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16085 PyObject
*resultobj
= 0;
16086 wxImage
*arg1
= (wxImage
*) 0 ;
16090 SwigValueWrapper
<wxImage
> result
;
16093 unsigned char val2
;
16095 unsigned char val3
;
16097 unsigned char val4
;
16099 PyObject
* obj0
= 0 ;
16100 PyObject
* obj1
= 0 ;
16101 PyObject
* obj2
= 0 ;
16102 PyObject
* obj3
= 0 ;
16103 char * kwnames
[] = {
16104 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
16107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16109 if (!SWIG_IsOK(res1
)) {
16110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ConvertToMono" "', expected argument " "1"" of type '" "wxImage const *""'");
16112 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16113 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
16114 if (!SWIG_IsOK(ecode2
)) {
16115 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ConvertToMono" "', expected argument " "2"" of type '" "byte""'");
16117 arg2
= static_cast< byte
>(val2
);
16118 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
16119 if (!SWIG_IsOK(ecode3
)) {
16120 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_ConvertToMono" "', expected argument " "3"" of type '" "byte""'");
16122 arg3
= static_cast< byte
>(val3
);
16123 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
16124 if (!SWIG_IsOK(ecode4
)) {
16125 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_ConvertToMono" "', expected argument " "4"" of type '" "byte""'");
16127 arg4
= static_cast< byte
>(val4
);
16129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16130 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
16131 wxPyEndAllowThreads(__tstate
);
16132 if (PyErr_Occurred()) SWIG_fail
;
16134 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
16141 SWIGINTERN PyObject
*_wrap_Image_SetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16142 PyObject
*resultobj
= 0;
16143 wxImage
*arg1
= (wxImage
*) 0 ;
16144 wxString
*arg2
= 0 ;
16145 wxString
*arg3
= 0 ;
16148 bool temp2
= false ;
16149 bool temp3
= false ;
16150 PyObject
* obj0
= 0 ;
16151 PyObject
* obj1
= 0 ;
16152 PyObject
* obj2
= 0 ;
16153 char * kwnames
[] = {
16154 (char *) "self",(char *) "name",(char *) "value", NULL
16157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16159 if (!SWIG_IsOK(res1
)) {
16160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetOption" "', expected argument " "1"" of type '" "wxImage *""'");
16162 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16164 arg2
= wxString_in_helper(obj1
);
16165 if (arg2
== NULL
) SWIG_fail
;
16169 arg3
= wxString_in_helper(obj2
);
16170 if (arg3
== NULL
) SWIG_fail
;
16174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16175 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16176 wxPyEndAllowThreads(__tstate
);
16177 if (PyErr_Occurred()) SWIG_fail
;
16179 resultobj
= SWIG_Py_Void();
16202 SWIGINTERN PyObject
*_wrap_Image_SetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16203 PyObject
*resultobj
= 0;
16204 wxImage
*arg1
= (wxImage
*) 0 ;
16205 wxString
*arg2
= 0 ;
16209 bool temp2
= false ;
16212 PyObject
* obj0
= 0 ;
16213 PyObject
* obj1
= 0 ;
16214 PyObject
* obj2
= 0 ;
16215 char * kwnames
[] = {
16216 (char *) "self",(char *) "name",(char *) "value", NULL
16219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16221 if (!SWIG_IsOK(res1
)) {
16222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetOptionInt" "', expected argument " "1"" of type '" "wxImage *""'");
16224 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16226 arg2
= wxString_in_helper(obj1
);
16227 if (arg2
== NULL
) SWIG_fail
;
16230 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16231 if (!SWIG_IsOK(ecode3
)) {
16232 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SetOptionInt" "', expected argument " "3"" of type '" "int""'");
16234 arg3
= static_cast< int >(val3
);
16236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16237 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
16238 wxPyEndAllowThreads(__tstate
);
16239 if (PyErr_Occurred()) SWIG_fail
;
16241 resultobj
= SWIG_Py_Void();
16256 SWIGINTERN PyObject
*_wrap_Image_GetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16257 PyObject
*resultobj
= 0;
16258 wxImage
*arg1
= (wxImage
*) 0 ;
16259 wxString
*arg2
= 0 ;
16263 bool temp2
= false ;
16264 PyObject
* obj0
= 0 ;
16265 PyObject
* obj1
= 0 ;
16266 char * kwnames
[] = {
16267 (char *) "self",(char *) "name", NULL
16270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16272 if (!SWIG_IsOK(res1
)) {
16273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetOption" "', expected argument " "1"" of type '" "wxImage const *""'");
16275 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16277 arg2
= wxString_in_helper(obj1
);
16278 if (arg2
== NULL
) SWIG_fail
;
16282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16283 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
16284 wxPyEndAllowThreads(__tstate
);
16285 if (PyErr_Occurred()) SWIG_fail
;
16289 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16291 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16308 SWIGINTERN PyObject
*_wrap_Image_GetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16309 PyObject
*resultobj
= 0;
16310 wxImage
*arg1
= (wxImage
*) 0 ;
16311 wxString
*arg2
= 0 ;
16315 bool temp2
= false ;
16316 PyObject
* obj0
= 0 ;
16317 PyObject
* obj1
= 0 ;
16318 char * kwnames
[] = {
16319 (char *) "self",(char *) "name", NULL
16322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16324 if (!SWIG_IsOK(res1
)) {
16325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetOptionInt" "', expected argument " "1"" of type '" "wxImage const *""'");
16327 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16329 arg2
= wxString_in_helper(obj1
);
16330 if (arg2
== NULL
) SWIG_fail
;
16334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16335 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
16336 wxPyEndAllowThreads(__tstate
);
16337 if (PyErr_Occurred()) SWIG_fail
;
16339 resultobj
= SWIG_From_int(static_cast< int >(result
));
16354 SWIGINTERN PyObject
*_wrap_Image_HasOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16355 PyObject
*resultobj
= 0;
16356 wxImage
*arg1
= (wxImage
*) 0 ;
16357 wxString
*arg2
= 0 ;
16361 bool temp2
= false ;
16362 PyObject
* obj0
= 0 ;
16363 PyObject
* obj1
= 0 ;
16364 char * kwnames
[] = {
16365 (char *) "self",(char *) "name", NULL
16368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16370 if (!SWIG_IsOK(res1
)) {
16371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HasOption" "', expected argument " "1"" of type '" "wxImage const *""'");
16373 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16375 arg2
= wxString_in_helper(obj1
);
16376 if (arg2
== NULL
) SWIG_fail
;
16380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16381 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
16382 wxPyEndAllowThreads(__tstate
);
16383 if (PyErr_Occurred()) SWIG_fail
;
16386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16402 SWIGINTERN PyObject
*_wrap_Image_CountColours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16403 PyObject
*resultobj
= 0;
16404 wxImage
*arg1
= (wxImage
*) 0 ;
16405 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
16406 unsigned long result
;
16409 unsigned long val2
;
16411 PyObject
* obj0
= 0 ;
16412 PyObject
* obj1
= 0 ;
16413 char * kwnames
[] = {
16414 (char *) "self",(char *) "stopafter", NULL
16417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16419 if (!SWIG_IsOK(res1
)) {
16420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_CountColours" "', expected argument " "1"" of type '" "wxImage *""'");
16422 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16424 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
16425 if (!SWIG_IsOK(ecode2
)) {
16426 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_CountColours" "', expected argument " "2"" of type '" "unsigned long""'");
16428 arg2
= static_cast< unsigned long >(val2
);
16431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16432 result
= (unsigned long)(arg1
)->CountColours(arg2
);
16433 wxPyEndAllowThreads(__tstate
);
16434 if (PyErr_Occurred()) SWIG_fail
;
16436 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
16443 SWIGINTERN PyObject
*_wrap_Image_ComputeHistogram(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16444 PyObject
*resultobj
= 0;
16445 wxImage
*arg1
= (wxImage
*) 0 ;
16446 wxImageHistogram
*arg2
= 0 ;
16447 unsigned long result
;
16452 PyObject
* obj0
= 0 ;
16453 PyObject
* obj1
= 0 ;
16454 char * kwnames
[] = {
16455 (char *) "self",(char *) "h", NULL
16458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16460 if (!SWIG_IsOK(res1
)) {
16461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ComputeHistogram" "', expected argument " "1"" of type '" "wxImage *""'");
16463 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16464 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImageHistogram
, 0 );
16465 if (!SWIG_IsOK(res2
)) {
16466 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Image_ComputeHistogram" "', expected argument " "2"" of type '" "wxImageHistogram &""'");
16469 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Image_ComputeHistogram" "', expected argument " "2"" of type '" "wxImageHistogram &""'");
16471 arg2
= reinterpret_cast< wxImageHistogram
* >(argp2
);
16473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16474 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
16475 wxPyEndAllowThreads(__tstate
);
16476 if (PyErr_Occurred()) SWIG_fail
;
16478 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
16485 SWIGINTERN PyObject
*_wrap_Image_AddHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16486 PyObject
*resultobj
= 0;
16487 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
16490 PyObject
* obj0
= 0 ;
16491 char * kwnames
[] = {
16492 (char *) "handler", NULL
16495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) SWIG_fail
;
16496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
16497 if (!SWIG_IsOK(res1
)) {
16498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_AddHandler" "', expected argument " "1"" of type '" "wxImageHandler *""'");
16500 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
16502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16503 wxImage::AddHandler(arg1
);
16504 wxPyEndAllowThreads(__tstate
);
16505 if (PyErr_Occurred()) SWIG_fail
;
16507 resultobj
= SWIG_Py_Void();
16514 SWIGINTERN PyObject
*_wrap_Image_InsertHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16515 PyObject
*resultobj
= 0;
16516 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
16519 PyObject
* obj0
= 0 ;
16520 char * kwnames
[] = {
16521 (char *) "handler", NULL
16524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) SWIG_fail
;
16525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
16526 if (!SWIG_IsOK(res1
)) {
16527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_InsertHandler" "', expected argument " "1"" of type '" "wxImageHandler *""'");
16529 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
16531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16532 wxImage::InsertHandler(arg1
);
16533 wxPyEndAllowThreads(__tstate
);
16534 if (PyErr_Occurred()) SWIG_fail
;
16536 resultobj
= SWIG_Py_Void();
16543 SWIGINTERN PyObject
*_wrap_Image_RemoveHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16544 PyObject
*resultobj
= 0;
16545 wxString
*arg1
= 0 ;
16547 bool temp1
= false ;
16548 PyObject
* obj0
= 0 ;
16549 char * kwnames
[] = {
16550 (char *) "name", NULL
16553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) SWIG_fail
;
16555 arg1
= wxString_in_helper(obj0
);
16556 if (arg1
== NULL
) SWIG_fail
;
16560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16561 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
16562 wxPyEndAllowThreads(__tstate
);
16563 if (PyErr_Occurred()) SWIG_fail
;
16566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16582 SWIGINTERN PyObject
*_wrap_Image_GetHandlers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16583 PyObject
*resultobj
= 0;
16584 PyObject
*result
= 0 ;
16586 if (!SWIG_Python_UnpackTuple(args
,"Image_GetHandlers",0,0,0)) SWIG_fail
;
16588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16589 result
= (PyObject
*)wxImage_GetHandlers();
16590 wxPyEndAllowThreads(__tstate
);
16591 if (PyErr_Occurred()) SWIG_fail
;
16593 resultobj
= result
;
16600 SWIGINTERN PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16601 PyObject
*resultobj
= 0;
16604 if (!SWIG_Python_UnpackTuple(args
,"Image_GetImageExtWildcard",0,0,0)) SWIG_fail
;
16606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16607 result
= wxImage::GetImageExtWildcard();
16608 wxPyEndAllowThreads(__tstate
);
16609 if (PyErr_Occurred()) SWIG_fail
;
16613 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16615 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16624 SWIGINTERN PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16625 PyObject
*resultobj
= 0;
16626 wxImage
*arg1
= (wxImage
*) 0 ;
16627 int arg2
= (int) -1 ;
16633 PyObject
* obj0
= 0 ;
16634 PyObject
* obj1
= 0 ;
16635 char * kwnames
[] = {
16636 (char *) "self",(char *) "depth", NULL
16639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertToBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16641 if (!SWIG_IsOK(res1
)) {
16642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ConvertToBitmap" "', expected argument " "1"" of type '" "wxImage *""'");
16644 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16646 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16647 if (!SWIG_IsOK(ecode2
)) {
16648 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ConvertToBitmap" "', expected argument " "2"" of type '" "int""'");
16650 arg2
= static_cast< int >(val2
);
16653 if (!wxPyCheckForApp()) SWIG_fail
;
16654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16655 result
= wxImage_ConvertToBitmap(arg1
,arg2
);
16656 wxPyEndAllowThreads(__tstate
);
16657 if (PyErr_Occurred()) SWIG_fail
;
16659 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
16666 SWIGINTERN PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16667 PyObject
*resultobj
= 0;
16668 wxImage
*arg1
= (wxImage
*) 0 ;
16675 unsigned char val2
;
16677 unsigned char val3
;
16679 unsigned char val4
;
16681 PyObject
* obj0
= 0 ;
16682 PyObject
* obj1
= 0 ;
16683 PyObject
* obj2
= 0 ;
16684 PyObject
* obj3
= 0 ;
16685 char * kwnames
[] = {
16686 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
16689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16691 if (!SWIG_IsOK(res1
)) {
16692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ConvertToMonoBitmap" "', expected argument " "1"" of type '" "wxImage *""'");
16694 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16695 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
16696 if (!SWIG_IsOK(ecode2
)) {
16697 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ConvertToMonoBitmap" "', expected argument " "2"" of type '" "byte""'");
16699 arg2
= static_cast< byte
>(val2
);
16700 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
16701 if (!SWIG_IsOK(ecode3
)) {
16702 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_ConvertToMonoBitmap" "', expected argument " "3"" of type '" "byte""'");
16704 arg3
= static_cast< byte
>(val3
);
16705 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
16706 if (!SWIG_IsOK(ecode4
)) {
16707 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_ConvertToMonoBitmap" "', expected argument " "4"" of type '" "byte""'");
16709 arg4
= static_cast< byte
>(val4
);
16711 if (!wxPyCheckForApp()) SWIG_fail
;
16712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16713 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
16714 wxPyEndAllowThreads(__tstate
);
16715 if (PyErr_Occurred()) SWIG_fail
;
16717 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
16724 SWIGINTERN PyObject
*_wrap_Image_RotateHue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16725 PyObject
*resultobj
= 0;
16726 wxImage
*arg1
= (wxImage
*) 0 ;
16732 PyObject
* obj0
= 0 ;
16733 PyObject
* obj1
= 0 ;
16734 char * kwnames
[] = {
16735 (char *) "self",(char *) "angle", NULL
16738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_RotateHue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16740 if (!SWIG_IsOK(res1
)) {
16741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RotateHue" "', expected argument " "1"" of type '" "wxImage *""'");
16743 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16744 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
16745 if (!SWIG_IsOK(ecode2
)) {
16746 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_RotateHue" "', expected argument " "2"" of type '" "double""'");
16748 arg2
= static_cast< double >(val2
);
16750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16751 (arg1
)->RotateHue(arg2
);
16752 wxPyEndAllowThreads(__tstate
);
16753 if (PyErr_Occurred()) SWIG_fail
;
16755 resultobj
= SWIG_Py_Void();
16762 SWIGINTERN PyObject
*_wrap_Image_RGBtoHSV(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16763 PyObject
*resultobj
= 0;
16764 wxImage_RGBValue arg1
;
16765 wxImage_HSVValue result
;
16768 PyObject
* obj0
= 0 ;
16769 char * kwnames
[] = {
16770 (char *) "rgb", NULL
16773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RGBtoHSV",kwnames
,&obj0
)) SWIG_fail
;
16775 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage_RGBValue
, 0 | 0);
16776 if (!SWIG_IsOK(res1
)) {
16777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBtoHSV" "', expected argument " "1"" of type '" "wxImage_RGBValue""'");
16780 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Image_RGBtoHSV" "', expected argument " "1"" of type '" "wxImage_RGBValue""'");
16782 wxImage_RGBValue
* temp
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
16784 if (SWIG_IsNewObj(res1
)) delete temp
;
16788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16789 result
= wxImage::RGBtoHSV(arg1
);
16790 wxPyEndAllowThreads(__tstate
);
16791 if (PyErr_Occurred()) SWIG_fail
;
16793 resultobj
= SWIG_NewPointerObj((new wxImage_HSVValue(static_cast< const wxImage_HSVValue
& >(result
))), SWIGTYPE_p_wxImage_HSVValue
, SWIG_POINTER_OWN
| 0 );
16800 SWIGINTERN PyObject
*_wrap_Image_HSVtoRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16801 PyObject
*resultobj
= 0;
16802 wxImage_HSVValue arg1
;
16803 wxImage_RGBValue result
;
16806 PyObject
* obj0
= 0 ;
16807 char * kwnames
[] = {
16808 (char *) "hsv", NULL
16811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HSVtoRGB",kwnames
,&obj0
)) SWIG_fail
;
16813 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage_HSVValue
, 0 | 0);
16814 if (!SWIG_IsOK(res1
)) {
16815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVtoRGB" "', expected argument " "1"" of type '" "wxImage_HSVValue""'");
16818 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Image_HSVtoRGB" "', expected argument " "1"" of type '" "wxImage_HSVValue""'");
16820 wxImage_HSVValue
* temp
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
16822 if (SWIG_IsNewObj(res1
)) delete temp
;
16826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16827 result
= wxImage::HSVtoRGB(arg1
);
16828 wxPyEndAllowThreads(__tstate
);
16829 if (PyErr_Occurred()) SWIG_fail
;
16831 resultobj
= SWIG_NewPointerObj((new wxImage_RGBValue(static_cast< const wxImage_RGBValue
& >(result
))), SWIGTYPE_p_wxImage_RGBValue
, SWIG_POINTER_OWN
| 0 );
16838 SWIGINTERN PyObject
*Image_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16840 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16841 SWIG_TypeNewClientData(SWIGTYPE_p_wxImage
, SWIG_NewClientData(obj
));
16842 return SWIG_Py_Void();
16845 SWIGINTERN PyObject
*Image_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16846 return SWIG_Python_InitShadowInstance(args
);
16849 SWIGINTERN
int NullImage_set(PyObject
*) {
16850 SWIG_Error(SWIG_AttributeError
,"Variable NullImage is read-only.");
16855 SWIGINTERN PyObject
*NullImage_get(void) {
16856 PyObject
*pyobj
= 0;
16858 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullImage
), SWIGTYPE_p_wxImage
, 0 );
16863 SWIGINTERN
int IMAGE_OPTION_FILENAME_set(PyObject
*) {
16864 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_FILENAME is read-only.");
16869 SWIGINTERN PyObject
*IMAGE_OPTION_FILENAME_get(void) {
16870 PyObject
*pyobj
= 0;
16874 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
16876 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
16883 SWIGINTERN
int IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
16884 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
16889 SWIGINTERN PyObject
*IMAGE_OPTION_BMP_FORMAT_get(void) {
16890 PyObject
*pyobj
= 0;
16894 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
16896 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
16903 SWIGINTERN
int IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
16904 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
16909 SWIGINTERN PyObject
*IMAGE_OPTION_CUR_HOTSPOT_X_get(void) {
16910 PyObject
*pyobj
= 0;
16914 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
16916 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
16923 SWIGINTERN
int IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
16924 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
16929 SWIGINTERN PyObject
*IMAGE_OPTION_CUR_HOTSPOT_Y_get(void) {
16930 PyObject
*pyobj
= 0;
16934 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
16936 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
16943 SWIGINTERN
int IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
16944 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
16949 SWIGINTERN PyObject
*IMAGE_OPTION_RESOLUTION_get(void) {
16950 PyObject
*pyobj
= 0;
16954 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
16956 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
16963 SWIGINTERN
int IMAGE_OPTION_RESOLUTIONX_set(PyObject
*) {
16964 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_RESOLUTIONX is read-only.");
16969 SWIGINTERN PyObject
*IMAGE_OPTION_RESOLUTIONX_get(void) {
16970 PyObject
*pyobj
= 0;
16974 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
16976 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
16983 SWIGINTERN
int IMAGE_OPTION_RESOLUTIONY_set(PyObject
*) {
16984 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_RESOLUTIONY is read-only.");
16989 SWIGINTERN PyObject
*IMAGE_OPTION_RESOLUTIONY_get(void) {
16990 PyObject
*pyobj
= 0;
16994 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
16996 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
17003 SWIGINTERN
int IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
17004 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
17009 SWIGINTERN PyObject
*IMAGE_OPTION_RESOLUTIONUNIT_get(void) {
17010 PyObject
*pyobj
= 0;
17014 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
17016 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
17023 SWIGINTERN
int IMAGE_OPTION_QUALITY_set(PyObject
*) {
17024 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_QUALITY is read-only.");
17029 SWIGINTERN PyObject
*IMAGE_OPTION_QUALITY_get(void) {
17030 PyObject
*pyobj
= 0;
17034 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
17036 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
17043 SWIGINTERN
int IMAGE_OPTION_BITSPERSAMPLE_set(PyObject
*) {
17044 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_BITSPERSAMPLE is read-only.");
17049 SWIGINTERN PyObject
*IMAGE_OPTION_BITSPERSAMPLE_get(void) {
17050 PyObject
*pyobj
= 0;
17054 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
17056 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
17063 SWIGINTERN
int IMAGE_OPTION_SAMPLESPERPIXEL_set(PyObject
*) {
17064 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_SAMPLESPERPIXEL is read-only.");
17069 SWIGINTERN PyObject
*IMAGE_OPTION_SAMPLESPERPIXEL_get(void) {
17070 PyObject
*pyobj
= 0;
17074 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
17076 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
17083 SWIGINTERN
int IMAGE_OPTION_COMPRESSION_set(PyObject
*) {
17084 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_COMPRESSION is read-only.");
17089 SWIGINTERN PyObject
*IMAGE_OPTION_COMPRESSION_get(void) {
17090 PyObject
*pyobj
= 0;
17094 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
17096 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
17103 SWIGINTERN
int IMAGE_OPTION_IMAGEDESCRIPTOR_set(PyObject
*) {
17104 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_IMAGEDESCRIPTOR is read-only.");
17109 SWIGINTERN PyObject
*IMAGE_OPTION_IMAGEDESCRIPTOR_get(void) {
17110 PyObject
*pyobj
= 0;
17114 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
17116 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
17123 SWIGINTERN
int IMAGE_OPTION_PNG_FORMAT_set(PyObject
*) {
17124 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_PNG_FORMAT is read-only.");
17129 SWIGINTERN PyObject
*IMAGE_OPTION_PNG_FORMAT_get(void) {
17130 PyObject
*pyobj
= 0;
17134 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
17136 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
17143 SWIGINTERN
int IMAGE_OPTION_PNG_BITDEPTH_set(PyObject
*) {
17144 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_PNG_BITDEPTH is read-only.");
17149 SWIGINTERN PyObject
*IMAGE_OPTION_PNG_BITDEPTH_get(void) {
17150 PyObject
*pyobj
= 0;
17154 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
17156 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
17163 SWIGINTERN PyObject
*_wrap_new_BMPHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17164 PyObject
*resultobj
= 0;
17165 wxBMPHandler
*result
= 0 ;
17167 if (!SWIG_Python_UnpackTuple(args
,"new_BMPHandler",0,0,0)) SWIG_fail
;
17169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17170 result
= (wxBMPHandler
*)new wxBMPHandler();
17171 wxPyEndAllowThreads(__tstate
);
17172 if (PyErr_Occurred()) SWIG_fail
;
17174 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBMPHandler
, SWIG_POINTER_NEW
| 0 );
17181 SWIGINTERN PyObject
*BMPHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17183 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17184 SWIG_TypeNewClientData(SWIGTYPE_p_wxBMPHandler
, SWIG_NewClientData(obj
));
17185 return SWIG_Py_Void();
17188 SWIGINTERN PyObject
*BMPHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17189 return SWIG_Python_InitShadowInstance(args
);
17192 SWIGINTERN PyObject
*_wrap_new_ICOHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17193 PyObject
*resultobj
= 0;
17194 wxICOHandler
*result
= 0 ;
17196 if (!SWIG_Python_UnpackTuple(args
,"new_ICOHandler",0,0,0)) SWIG_fail
;
17198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17199 result
= (wxICOHandler
*)new wxICOHandler();
17200 wxPyEndAllowThreads(__tstate
);
17201 if (PyErr_Occurred()) SWIG_fail
;
17203 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxICOHandler
, SWIG_POINTER_NEW
| 0 );
17210 SWIGINTERN PyObject
*ICOHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17212 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17213 SWIG_TypeNewClientData(SWIGTYPE_p_wxICOHandler
, SWIG_NewClientData(obj
));
17214 return SWIG_Py_Void();
17217 SWIGINTERN PyObject
*ICOHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17218 return SWIG_Python_InitShadowInstance(args
);
17221 SWIGINTERN PyObject
*_wrap_new_CURHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17222 PyObject
*resultobj
= 0;
17223 wxCURHandler
*result
= 0 ;
17225 if (!SWIG_Python_UnpackTuple(args
,"new_CURHandler",0,0,0)) SWIG_fail
;
17227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17228 result
= (wxCURHandler
*)new wxCURHandler();
17229 wxPyEndAllowThreads(__tstate
);
17230 if (PyErr_Occurred()) SWIG_fail
;
17232 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCURHandler
, SWIG_POINTER_NEW
| 0 );
17239 SWIGINTERN PyObject
*CURHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17241 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17242 SWIG_TypeNewClientData(SWIGTYPE_p_wxCURHandler
, SWIG_NewClientData(obj
));
17243 return SWIG_Py_Void();
17246 SWIGINTERN PyObject
*CURHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17247 return SWIG_Python_InitShadowInstance(args
);
17250 SWIGINTERN PyObject
*_wrap_new_ANIHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17251 PyObject
*resultobj
= 0;
17252 wxANIHandler
*result
= 0 ;
17254 if (!SWIG_Python_UnpackTuple(args
,"new_ANIHandler",0,0,0)) SWIG_fail
;
17256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17257 result
= (wxANIHandler
*)new wxANIHandler();
17258 wxPyEndAllowThreads(__tstate
);
17259 if (PyErr_Occurred()) SWIG_fail
;
17261 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxANIHandler
, SWIG_POINTER_NEW
| 0 );
17268 SWIGINTERN PyObject
*ANIHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17270 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17271 SWIG_TypeNewClientData(SWIGTYPE_p_wxANIHandler
, SWIG_NewClientData(obj
));
17272 return SWIG_Py_Void();
17275 SWIGINTERN PyObject
*ANIHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17276 return SWIG_Python_InitShadowInstance(args
);
17279 SWIGINTERN PyObject
*_wrap_new_PNGHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17280 PyObject
*resultobj
= 0;
17281 wxPNGHandler
*result
= 0 ;
17283 if (!SWIG_Python_UnpackTuple(args
,"new_PNGHandler",0,0,0)) SWIG_fail
;
17285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17286 result
= (wxPNGHandler
*)new wxPNGHandler();
17287 wxPyEndAllowThreads(__tstate
);
17288 if (PyErr_Occurred()) SWIG_fail
;
17290 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPNGHandler
, SWIG_POINTER_NEW
| 0 );
17297 SWIGINTERN PyObject
*PNGHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17299 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17300 SWIG_TypeNewClientData(SWIGTYPE_p_wxPNGHandler
, SWIG_NewClientData(obj
));
17301 return SWIG_Py_Void();
17304 SWIGINTERN PyObject
*PNGHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17305 return SWIG_Python_InitShadowInstance(args
);
17308 SWIGINTERN PyObject
*_wrap_new_GIFHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17309 PyObject
*resultobj
= 0;
17310 wxGIFHandler
*result
= 0 ;
17312 if (!SWIG_Python_UnpackTuple(args
,"new_GIFHandler",0,0,0)) SWIG_fail
;
17314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17315 result
= (wxGIFHandler
*)new wxGIFHandler();
17316 wxPyEndAllowThreads(__tstate
);
17317 if (PyErr_Occurred()) SWIG_fail
;
17319 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGIFHandler
, SWIG_POINTER_NEW
| 0 );
17326 SWIGINTERN PyObject
*GIFHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17328 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17329 SWIG_TypeNewClientData(SWIGTYPE_p_wxGIFHandler
, SWIG_NewClientData(obj
));
17330 return SWIG_Py_Void();
17333 SWIGINTERN PyObject
*GIFHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17334 return SWIG_Python_InitShadowInstance(args
);
17337 SWIGINTERN PyObject
*_wrap_new_PCXHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17338 PyObject
*resultobj
= 0;
17339 wxPCXHandler
*result
= 0 ;
17341 if (!SWIG_Python_UnpackTuple(args
,"new_PCXHandler",0,0,0)) SWIG_fail
;
17343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17344 result
= (wxPCXHandler
*)new wxPCXHandler();
17345 wxPyEndAllowThreads(__tstate
);
17346 if (PyErr_Occurred()) SWIG_fail
;
17348 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPCXHandler
, SWIG_POINTER_NEW
| 0 );
17355 SWIGINTERN PyObject
*PCXHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17357 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17358 SWIG_TypeNewClientData(SWIGTYPE_p_wxPCXHandler
, SWIG_NewClientData(obj
));
17359 return SWIG_Py_Void();
17362 SWIGINTERN PyObject
*PCXHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17363 return SWIG_Python_InitShadowInstance(args
);
17366 SWIGINTERN PyObject
*_wrap_new_JPEGHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17367 PyObject
*resultobj
= 0;
17368 wxJPEGHandler
*result
= 0 ;
17370 if (!SWIG_Python_UnpackTuple(args
,"new_JPEGHandler",0,0,0)) SWIG_fail
;
17372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17373 result
= (wxJPEGHandler
*)new wxJPEGHandler();
17374 wxPyEndAllowThreads(__tstate
);
17375 if (PyErr_Occurred()) SWIG_fail
;
17377 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxJPEGHandler
, SWIG_POINTER_NEW
| 0 );
17384 SWIGINTERN PyObject
*JPEGHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17386 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17387 SWIG_TypeNewClientData(SWIGTYPE_p_wxJPEGHandler
, SWIG_NewClientData(obj
));
17388 return SWIG_Py_Void();
17391 SWIGINTERN PyObject
*JPEGHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17392 return SWIG_Python_InitShadowInstance(args
);
17395 SWIGINTERN PyObject
*_wrap_new_PNMHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17396 PyObject
*resultobj
= 0;
17397 wxPNMHandler
*result
= 0 ;
17399 if (!SWIG_Python_UnpackTuple(args
,"new_PNMHandler",0,0,0)) SWIG_fail
;
17401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17402 result
= (wxPNMHandler
*)new wxPNMHandler();
17403 wxPyEndAllowThreads(__tstate
);
17404 if (PyErr_Occurred()) SWIG_fail
;
17406 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPNMHandler
, SWIG_POINTER_NEW
| 0 );
17413 SWIGINTERN PyObject
*PNMHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17415 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17416 SWIG_TypeNewClientData(SWIGTYPE_p_wxPNMHandler
, SWIG_NewClientData(obj
));
17417 return SWIG_Py_Void();
17420 SWIGINTERN PyObject
*PNMHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17421 return SWIG_Python_InitShadowInstance(args
);
17424 SWIGINTERN PyObject
*_wrap_new_XPMHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17425 PyObject
*resultobj
= 0;
17426 wxXPMHandler
*result
= 0 ;
17428 if (!SWIG_Python_UnpackTuple(args
,"new_XPMHandler",0,0,0)) SWIG_fail
;
17430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17431 result
= (wxXPMHandler
*)new wxXPMHandler();
17432 wxPyEndAllowThreads(__tstate
);
17433 if (PyErr_Occurred()) SWIG_fail
;
17435 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxXPMHandler
, SWIG_POINTER_NEW
| 0 );
17442 SWIGINTERN PyObject
*XPMHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17444 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17445 SWIG_TypeNewClientData(SWIGTYPE_p_wxXPMHandler
, SWIG_NewClientData(obj
));
17446 return SWIG_Py_Void();
17449 SWIGINTERN PyObject
*XPMHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17450 return SWIG_Python_InitShadowInstance(args
);
17453 SWIGINTERN PyObject
*_wrap_new_TIFFHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17454 PyObject
*resultobj
= 0;
17455 wxTIFFHandler
*result
= 0 ;
17457 if (!SWIG_Python_UnpackTuple(args
,"new_TIFFHandler",0,0,0)) SWIG_fail
;
17459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17460 result
= (wxTIFFHandler
*)new wxTIFFHandler();
17461 wxPyEndAllowThreads(__tstate
);
17462 if (PyErr_Occurred()) SWIG_fail
;
17464 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTIFFHandler
, SWIG_POINTER_NEW
| 0 );
17471 SWIGINTERN PyObject
*TIFFHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17473 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17474 SWIG_TypeNewClientData(SWIGTYPE_p_wxTIFFHandler
, SWIG_NewClientData(obj
));
17475 return SWIG_Py_Void();
17478 SWIGINTERN PyObject
*TIFFHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17479 return SWIG_Python_InitShadowInstance(args
);
17482 SWIGINTERN PyObject
*_wrap_Quantize_Quantize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17483 PyObject
*resultobj
= 0;
17484 wxImage
*arg1
= 0 ;
17485 wxImage
*arg2
= 0 ;
17486 int arg3
= (int) 236 ;
17487 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
17497 PyObject
* obj0
= 0 ;
17498 PyObject
* obj1
= 0 ;
17499 PyObject
* obj2
= 0 ;
17500 PyObject
* obj3
= 0 ;
17501 char * kwnames
[] = {
17502 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
17505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17506 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
17507 if (!SWIG_IsOK(res1
)) {
17508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Quantize_Quantize" "', expected argument " "1"" of type '" "wxImage const &""'");
17511 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Quantize_Quantize" "', expected argument " "1"" of type '" "wxImage const &""'");
17513 arg1
= reinterpret_cast< wxImage
* >(argp1
);
17514 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImage
, 0 );
17515 if (!SWIG_IsOK(res2
)) {
17516 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Quantize_Quantize" "', expected argument " "2"" of type '" "wxImage &""'");
17519 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Quantize_Quantize" "', expected argument " "2"" of type '" "wxImage &""'");
17521 arg2
= reinterpret_cast< wxImage
* >(argp2
);
17523 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17524 if (!SWIG_IsOK(ecode3
)) {
17525 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Quantize_Quantize" "', expected argument " "3"" of type '" "int""'");
17527 arg3
= static_cast< int >(val3
);
17530 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17531 if (!SWIG_IsOK(ecode4
)) {
17532 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Quantize_Quantize" "', expected argument " "4"" of type '" "int""'");
17534 arg4
= static_cast< int >(val4
);
17537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17538 result
= (bool)wxQuantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
17539 wxPyEndAllowThreads(__tstate
);
17540 if (PyErr_Occurred()) SWIG_fail
;
17543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17551 SWIGINTERN PyObject
*Quantize_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17553 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17554 SWIG_TypeNewClientData(SWIGTYPE_p_wxQuantize
, SWIG_NewClientData(obj
));
17555 return SWIG_Py_Void();
17558 SWIGINTERN PyObject
*_wrap_new_EvtHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17559 PyObject
*resultobj
= 0;
17560 wxEvtHandler
*result
= 0 ;
17562 if (!SWIG_Python_UnpackTuple(args
,"new_EvtHandler",0,0,0)) SWIG_fail
;
17564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17565 result
= (wxEvtHandler
*)new wxEvtHandler();
17566 wxPyEndAllowThreads(__tstate
);
17567 if (PyErr_Occurred()) SWIG_fail
;
17569 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_NEW
| 0 );
17576 SWIGINTERN PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17577 PyObject
*resultobj
= 0;
17578 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
17579 wxEvtHandler
*result
= 0 ;
17582 PyObject
*swig_obj
[1] ;
17584 if (!args
) SWIG_fail
;
17585 swig_obj
[0] = args
;
17586 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17587 if (!SWIG_IsOK(res1
)) {
17588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_GetNextHandler" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
17590 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
17592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17593 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
17594 wxPyEndAllowThreads(__tstate
);
17595 if (PyErr_Occurred()) SWIG_fail
;
17598 resultobj
= wxPyMake_wxObject(result
, 0);
17606 SWIGINTERN PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17607 PyObject
*resultobj
= 0;
17608 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
17609 wxEvtHandler
*result
= 0 ;
17612 PyObject
*swig_obj
[1] ;
17614 if (!args
) SWIG_fail
;
17615 swig_obj
[0] = args
;
17616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17617 if (!SWIG_IsOK(res1
)) {
17618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_GetPreviousHandler" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
17620 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
17622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17623 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
17624 wxPyEndAllowThreads(__tstate
);
17625 if (PyErr_Occurred()) SWIG_fail
;
17628 resultobj
= wxPyMake_wxObject(result
, 0);
17636 SWIGINTERN PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17637 PyObject
*resultobj
= 0;
17638 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
17639 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
17644 PyObject
* obj0
= 0 ;
17645 PyObject
* obj1
= 0 ;
17646 char * kwnames
[] = {
17647 (char *) "self",(char *) "handler", NULL
17650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17652 if (!SWIG_IsOK(res1
)) {
17653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_SetNextHandler" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
17655 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
17656 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17657 if (!SWIG_IsOK(res2
)) {
17658 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "EvtHandler_SetNextHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
17660 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
17662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17663 (arg1
)->SetNextHandler(arg2
);
17664 wxPyEndAllowThreads(__tstate
);
17665 if (PyErr_Occurred()) SWIG_fail
;
17667 resultobj
= SWIG_Py_Void();
17674 SWIGINTERN PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17675 PyObject
*resultobj
= 0;
17676 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
17677 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
17682 PyObject
* obj0
= 0 ;
17683 PyObject
* obj1
= 0 ;
17684 char * kwnames
[] = {
17685 (char *) "self",(char *) "handler", NULL
17688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17690 if (!SWIG_IsOK(res1
)) {
17691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_SetPreviousHandler" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
17693 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
17694 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17695 if (!SWIG_IsOK(res2
)) {
17696 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "EvtHandler_SetPreviousHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
17698 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
17700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17701 (arg1
)->SetPreviousHandler(arg2
);
17702 wxPyEndAllowThreads(__tstate
);
17703 if (PyErr_Occurred()) SWIG_fail
;
17705 resultobj
= SWIG_Py_Void();
17712 SWIGINTERN PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17713 PyObject
*resultobj
= 0;
17714 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
17718 PyObject
*swig_obj
[1] ;
17720 if (!args
) SWIG_fail
;
17721 swig_obj
[0] = args
;
17722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17723 if (!SWIG_IsOK(res1
)) {
17724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_GetEvtHandlerEnabled" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
17726 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
17728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17729 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
17730 wxPyEndAllowThreads(__tstate
);
17731 if (PyErr_Occurred()) SWIG_fail
;
17734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17742 SWIGINTERN PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17743 PyObject
*resultobj
= 0;
17744 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
17750 PyObject
* obj0
= 0 ;
17751 PyObject
* obj1
= 0 ;
17752 char * kwnames
[] = {
17753 (char *) "self",(char *) "enabled", NULL
17756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17758 if (!SWIG_IsOK(res1
)) {
17759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_SetEvtHandlerEnabled" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
17761 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
17762 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17763 if (!SWIG_IsOK(ecode2
)) {
17764 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EvtHandler_SetEvtHandlerEnabled" "', expected argument " "2"" of type '" "bool""'");
17766 arg2
= static_cast< bool >(val2
);
17768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17769 (arg1
)->SetEvtHandlerEnabled(arg2
);
17770 wxPyEndAllowThreads(__tstate
);
17771 if (PyErr_Occurred()) SWIG_fail
;
17773 resultobj
= SWIG_Py_Void();
17780 SWIGINTERN PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17781 PyObject
*resultobj
= 0;
17782 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
17783 wxEvent
*arg2
= 0 ;
17789 PyObject
* obj0
= 0 ;
17790 PyObject
* obj1
= 0 ;
17791 char * kwnames
[] = {
17792 (char *) "self",(char *) "event", NULL
17795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17797 if (!SWIG_IsOK(res1
)) {
17798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_ProcessEvent" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
17800 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
17801 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxEvent
, 0 );
17802 if (!SWIG_IsOK(res2
)) {
17803 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "EvtHandler_ProcessEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
17806 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "EvtHandler_ProcessEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
17808 arg2
= reinterpret_cast< wxEvent
* >(argp2
);
17810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17811 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
17812 wxPyEndAllowThreads(__tstate
);
17813 if (PyErr_Occurred()) SWIG_fail
;
17816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17824 SWIGINTERN PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17825 PyObject
*resultobj
= 0;
17826 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
17827 wxEvent
*arg2
= 0 ;
17832 PyObject
* obj0
= 0 ;
17833 PyObject
* obj1
= 0 ;
17834 char * kwnames
[] = {
17835 (char *) "self",(char *) "event", NULL
17838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17840 if (!SWIG_IsOK(res1
)) {
17841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_AddPendingEvent" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
17843 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
17844 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxEvent
, 0 );
17845 if (!SWIG_IsOK(res2
)) {
17846 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "EvtHandler_AddPendingEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
17849 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "EvtHandler_AddPendingEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
17851 arg2
= reinterpret_cast< wxEvent
* >(argp2
);
17853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17854 (arg1
)->AddPendingEvent(*arg2
);
17855 wxPyEndAllowThreads(__tstate
);
17856 if (PyErr_Occurred()) SWIG_fail
;
17858 resultobj
= SWIG_Py_Void();
17865 SWIGINTERN PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17866 PyObject
*resultobj
= 0;
17867 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
17870 PyObject
*swig_obj
[1] ;
17872 if (!args
) SWIG_fail
;
17873 swig_obj
[0] = args
;
17874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17875 if (!SWIG_IsOK(res1
)) {
17876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_ProcessPendingEvents" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
17878 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
17880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17881 (arg1
)->ProcessPendingEvents();
17882 wxPyEndAllowThreads(__tstate
);
17883 if (PyErr_Occurred()) SWIG_fail
;
17885 resultobj
= SWIG_Py_Void();
17892 SWIGINTERN PyObject
*_wrap_EvtHandler_Connect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17893 PyObject
*resultobj
= 0;
17894 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
17898 PyObject
*arg5
= (PyObject
*) 0 ;
17907 PyObject
* obj0
= 0 ;
17908 PyObject
* obj1
= 0 ;
17909 PyObject
* obj2
= 0 ;
17910 PyObject
* obj3
= 0 ;
17911 PyObject
* obj4
= 0 ;
17912 char * kwnames
[] = {
17913 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
17916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17918 if (!SWIG_IsOK(res1
)) {
17919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_Connect" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
17921 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
17922 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17923 if (!SWIG_IsOK(ecode2
)) {
17924 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EvtHandler_Connect" "', expected argument " "2"" of type '" "int""'");
17926 arg2
= static_cast< int >(val2
);
17927 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17928 if (!SWIG_IsOK(ecode3
)) {
17929 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EvtHandler_Connect" "', expected argument " "3"" of type '" "int""'");
17931 arg3
= static_cast< int >(val3
);
17932 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17933 if (!SWIG_IsOK(ecode4
)) {
17934 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EvtHandler_Connect" "', expected argument " "4"" of type '" "int""'");
17936 arg4
= static_cast< int >(val4
);
17939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17940 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
17941 wxPyEndAllowThreads(__tstate
);
17942 if (PyErr_Occurred()) SWIG_fail
;
17944 resultobj
= SWIG_Py_Void();
17951 SWIGINTERN PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17952 PyObject
*resultobj
= 0;
17953 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
17955 int arg3
= (int) -1 ;
17956 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
17966 PyObject
* obj0
= 0 ;
17967 PyObject
* obj1
= 0 ;
17968 PyObject
* obj2
= 0 ;
17969 PyObject
* obj3
= 0 ;
17970 char * kwnames
[] = {
17971 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
17974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17976 if (!SWIG_IsOK(res1
)) {
17977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_Disconnect" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
17979 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
17980 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17981 if (!SWIG_IsOK(ecode2
)) {
17982 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EvtHandler_Disconnect" "', expected argument " "2"" of type '" "int""'");
17984 arg2
= static_cast< int >(val2
);
17986 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17987 if (!SWIG_IsOK(ecode3
)) {
17988 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EvtHandler_Disconnect" "', expected argument " "3"" of type '" "int""'");
17990 arg3
= static_cast< int >(val3
);
17993 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17994 if (!SWIG_IsOK(ecode4
)) {
17995 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EvtHandler_Disconnect" "', expected argument " "4"" of type '" "wxEventType""'");
17997 arg4
= static_cast< wxEventType
>(val4
);
18000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18001 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
18002 wxPyEndAllowThreads(__tstate
);
18003 if (PyErr_Occurred()) SWIG_fail
;
18006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18014 SWIGINTERN PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18015 PyObject
*resultobj
= 0;
18016 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
18017 PyObject
*arg2
= (PyObject
*) 0 ;
18018 bool arg3
= (bool) true ;
18023 PyObject
* obj0
= 0 ;
18024 PyObject
* obj1
= 0 ;
18025 PyObject
* obj2
= 0 ;
18026 char * kwnames
[] = {
18027 (char *) "self",(char *) "_self",(char *) "incref", NULL
18030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
18032 if (!SWIG_IsOK(res1
)) {
18033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler__setOORInfo" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
18035 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
18038 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
18039 if (!SWIG_IsOK(ecode3
)) {
18040 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EvtHandler__setOORInfo" "', expected argument " "3"" of type '" "bool""'");
18042 arg3
= static_cast< bool >(val3
);
18045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18046 wxEvtHandler__setOORInfo(arg1
,arg2
,arg3
);
18047 wxPyEndAllowThreads(__tstate
);
18048 if (PyErr_Occurred()) SWIG_fail
;
18050 resultobj
= SWIG_Py_Void();
18057 SWIGINTERN PyObject
*EvtHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18059 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18060 SWIG_TypeNewClientData(SWIGTYPE_p_wxEvtHandler
, SWIG_NewClientData(obj
));
18061 return SWIG_Py_Void();
18064 SWIGINTERN PyObject
*EvtHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18065 return SWIG_Python_InitShadowInstance(args
);
18068 SWIGINTERN PyObject
*_wrap_NewEventType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18069 PyObject
*resultobj
= 0;
18070 wxEventType result
;
18072 if (!SWIG_Python_UnpackTuple(args
,"NewEventType",0,0,0)) SWIG_fail
;
18074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18075 result
= (wxEventType
)wxNewEventType();
18076 wxPyEndAllowThreads(__tstate
);
18077 if (PyErr_Occurred()) SWIG_fail
;
18079 resultobj
= SWIG_From_int(static_cast< int >(result
));
18086 SWIGINTERN PyObject
*_wrap_delete_Event(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18087 PyObject
*resultobj
= 0;
18088 wxEvent
*arg1
= (wxEvent
*) 0 ;
18091 PyObject
*swig_obj
[1] ;
18093 if (!args
) SWIG_fail
;
18094 swig_obj
[0] = args
;
18095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, SWIG_POINTER_DISOWN
| 0 );
18096 if (!SWIG_IsOK(res1
)) {
18097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Event" "', expected argument " "1"" of type '" "wxEvent *""'");
18099 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18104 wxPyEndAllowThreads(__tstate
);
18105 if (PyErr_Occurred()) SWIG_fail
;
18107 resultobj
= SWIG_Py_Void();
18114 SWIGINTERN PyObject
*_wrap_Event_SetEventType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18115 PyObject
*resultobj
= 0;
18116 wxEvent
*arg1
= (wxEvent
*) 0 ;
18122 PyObject
* obj0
= 0 ;
18123 PyObject
* obj1
= 0 ;
18124 char * kwnames
[] = {
18125 (char *) "self",(char *) "typ", NULL
18128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18130 if (!SWIG_IsOK(res1
)) {
18131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_SetEventType" "', expected argument " "1"" of type '" "wxEvent *""'");
18133 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18134 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18135 if (!SWIG_IsOK(ecode2
)) {
18136 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Event_SetEventType" "', expected argument " "2"" of type '" "wxEventType""'");
18138 arg2
= static_cast< wxEventType
>(val2
);
18140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18141 (arg1
)->SetEventType(arg2
);
18142 wxPyEndAllowThreads(__tstate
);
18143 if (PyErr_Occurred()) SWIG_fail
;
18145 resultobj
= SWIG_Py_Void();
18152 SWIGINTERN PyObject
*_wrap_Event_GetEventType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18153 PyObject
*resultobj
= 0;
18154 wxEvent
*arg1
= (wxEvent
*) 0 ;
18155 wxEventType result
;
18158 PyObject
*swig_obj
[1] ;
18160 if (!args
) SWIG_fail
;
18161 swig_obj
[0] = args
;
18162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18163 if (!SWIG_IsOK(res1
)) {
18164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_GetEventType" "', expected argument " "1"" of type '" "wxEvent const *""'");
18166 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18169 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
18170 wxPyEndAllowThreads(__tstate
);
18171 if (PyErr_Occurred()) SWIG_fail
;
18173 resultobj
= SWIG_From_int(static_cast< int >(result
));
18180 SWIGINTERN PyObject
*_wrap_Event_GetEventObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18181 PyObject
*resultobj
= 0;
18182 wxEvent
*arg1
= (wxEvent
*) 0 ;
18183 wxObject
*result
= 0 ;
18186 PyObject
*swig_obj
[1] ;
18188 if (!args
) SWIG_fail
;
18189 swig_obj
[0] = args
;
18190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18191 if (!SWIG_IsOK(res1
)) {
18192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_GetEventObject" "', expected argument " "1"" of type '" "wxEvent const *""'");
18194 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18197 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
18198 wxPyEndAllowThreads(__tstate
);
18199 if (PyErr_Occurred()) SWIG_fail
;
18202 resultobj
= wxPyMake_wxObject(result
, (bool)0);
18210 SWIGINTERN PyObject
*_wrap_Event_SetEventObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18211 PyObject
*resultobj
= 0;
18212 wxEvent
*arg1
= (wxEvent
*) 0 ;
18213 wxObject
*arg2
= (wxObject
*) 0 ;
18218 PyObject
* obj0
= 0 ;
18219 PyObject
* obj1
= 0 ;
18220 char * kwnames
[] = {
18221 (char *) "self",(char *) "obj", NULL
18224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18226 if (!SWIG_IsOK(res1
)) {
18227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_SetEventObject" "', expected argument " "1"" of type '" "wxEvent *""'");
18229 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18230 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxObject
, 0 | 0 );
18231 if (!SWIG_IsOK(res2
)) {
18232 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Event_SetEventObject" "', expected argument " "2"" of type '" "wxObject *""'");
18234 arg2
= reinterpret_cast< wxObject
* >(argp2
);
18236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18237 (arg1
)->SetEventObject(arg2
);
18238 wxPyEndAllowThreads(__tstate
);
18239 if (PyErr_Occurred()) SWIG_fail
;
18241 resultobj
= SWIG_Py_Void();
18248 SWIGINTERN PyObject
*_wrap_Event_GetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18249 PyObject
*resultobj
= 0;
18250 wxEvent
*arg1
= (wxEvent
*) 0 ;
18254 PyObject
*swig_obj
[1] ;
18256 if (!args
) SWIG_fail
;
18257 swig_obj
[0] = args
;
18258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18259 if (!SWIG_IsOK(res1
)) {
18260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_GetTimestamp" "', expected argument " "1"" of type '" "wxEvent const *""'");
18262 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18265 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
18266 wxPyEndAllowThreads(__tstate
);
18267 if (PyErr_Occurred()) SWIG_fail
;
18269 resultobj
= SWIG_From_long(static_cast< long >(result
));
18276 SWIGINTERN PyObject
*_wrap_Event_SetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18277 PyObject
*resultobj
= 0;
18278 wxEvent
*arg1
= (wxEvent
*) 0 ;
18279 long arg2
= (long) 0 ;
18284 PyObject
* obj0
= 0 ;
18285 PyObject
* obj1
= 0 ;
18286 char * kwnames
[] = {
18287 (char *) "self",(char *) "ts", NULL
18290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18292 if (!SWIG_IsOK(res1
)) {
18293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_SetTimestamp" "', expected argument " "1"" of type '" "wxEvent *""'");
18295 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18297 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
18298 if (!SWIG_IsOK(ecode2
)) {
18299 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Event_SetTimestamp" "', expected argument " "2"" of type '" "long""'");
18301 arg2
= static_cast< long >(val2
);
18304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18305 (arg1
)->SetTimestamp(arg2
);
18306 wxPyEndAllowThreads(__tstate
);
18307 if (PyErr_Occurred()) SWIG_fail
;
18309 resultobj
= SWIG_Py_Void();
18316 SWIGINTERN PyObject
*_wrap_Event_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18317 PyObject
*resultobj
= 0;
18318 wxEvent
*arg1
= (wxEvent
*) 0 ;
18322 PyObject
*swig_obj
[1] ;
18324 if (!args
) SWIG_fail
;
18325 swig_obj
[0] = args
;
18326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18327 if (!SWIG_IsOK(res1
)) {
18328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_GetId" "', expected argument " "1"" of type '" "wxEvent const *""'");
18330 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18333 result
= (int)((wxEvent
const *)arg1
)->GetId();
18334 wxPyEndAllowThreads(__tstate
);
18335 if (PyErr_Occurred()) SWIG_fail
;
18337 resultobj
= SWIG_From_int(static_cast< int >(result
));
18344 SWIGINTERN PyObject
*_wrap_Event_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18345 PyObject
*resultobj
= 0;
18346 wxEvent
*arg1
= (wxEvent
*) 0 ;
18352 PyObject
* obj0
= 0 ;
18353 PyObject
* obj1
= 0 ;
18354 char * kwnames
[] = {
18355 (char *) "self",(char *) "Id", NULL
18358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18360 if (!SWIG_IsOK(res1
)) {
18361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_SetId" "', expected argument " "1"" of type '" "wxEvent *""'");
18363 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18364 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18365 if (!SWIG_IsOK(ecode2
)) {
18366 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Event_SetId" "', expected argument " "2"" of type '" "int""'");
18368 arg2
= static_cast< int >(val2
);
18370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18371 (arg1
)->SetId(arg2
);
18372 wxPyEndAllowThreads(__tstate
);
18373 if (PyErr_Occurred()) SWIG_fail
;
18375 resultobj
= SWIG_Py_Void();
18382 SWIGINTERN PyObject
*_wrap_Event_IsCommandEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18383 PyObject
*resultobj
= 0;
18384 wxEvent
*arg1
= (wxEvent
*) 0 ;
18388 PyObject
*swig_obj
[1] ;
18390 if (!args
) SWIG_fail
;
18391 swig_obj
[0] = args
;
18392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18393 if (!SWIG_IsOK(res1
)) {
18394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_IsCommandEvent" "', expected argument " "1"" of type '" "wxEvent const *""'");
18396 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18399 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
18400 wxPyEndAllowThreads(__tstate
);
18401 if (PyErr_Occurred()) SWIG_fail
;
18404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18412 SWIGINTERN PyObject
*_wrap_Event_Skip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18413 PyObject
*resultobj
= 0;
18414 wxEvent
*arg1
= (wxEvent
*) 0 ;
18415 bool arg2
= (bool) true ;
18420 PyObject
* obj0
= 0 ;
18421 PyObject
* obj1
= 0 ;
18422 char * kwnames
[] = {
18423 (char *) "self",(char *) "skip", NULL
18426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18428 if (!SWIG_IsOK(res1
)) {
18429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_Skip" "', expected argument " "1"" of type '" "wxEvent *""'");
18431 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18433 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18434 if (!SWIG_IsOK(ecode2
)) {
18435 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Event_Skip" "', expected argument " "2"" of type '" "bool""'");
18437 arg2
= static_cast< bool >(val2
);
18440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18441 (arg1
)->Skip(arg2
);
18442 wxPyEndAllowThreads(__tstate
);
18443 if (PyErr_Occurred()) SWIG_fail
;
18445 resultobj
= SWIG_Py_Void();
18452 SWIGINTERN PyObject
*_wrap_Event_GetSkipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18453 PyObject
*resultobj
= 0;
18454 wxEvent
*arg1
= (wxEvent
*) 0 ;
18458 PyObject
*swig_obj
[1] ;
18460 if (!args
) SWIG_fail
;
18461 swig_obj
[0] = args
;
18462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18463 if (!SWIG_IsOK(res1
)) {
18464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_GetSkipped" "', expected argument " "1"" of type '" "wxEvent const *""'");
18466 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18469 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
18470 wxPyEndAllowThreads(__tstate
);
18471 if (PyErr_Occurred()) SWIG_fail
;
18474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18482 SWIGINTERN PyObject
*_wrap_Event_ShouldPropagate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18483 PyObject
*resultobj
= 0;
18484 wxEvent
*arg1
= (wxEvent
*) 0 ;
18488 PyObject
*swig_obj
[1] ;
18490 if (!args
) SWIG_fail
;
18491 swig_obj
[0] = args
;
18492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18493 if (!SWIG_IsOK(res1
)) {
18494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_ShouldPropagate" "', expected argument " "1"" of type '" "wxEvent const *""'");
18496 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18499 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
18500 wxPyEndAllowThreads(__tstate
);
18501 if (PyErr_Occurred()) SWIG_fail
;
18504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18512 SWIGINTERN PyObject
*_wrap_Event_StopPropagation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18513 PyObject
*resultobj
= 0;
18514 wxEvent
*arg1
= (wxEvent
*) 0 ;
18518 PyObject
*swig_obj
[1] ;
18520 if (!args
) SWIG_fail
;
18521 swig_obj
[0] = args
;
18522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18523 if (!SWIG_IsOK(res1
)) {
18524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_StopPropagation" "', expected argument " "1"" of type '" "wxEvent *""'");
18526 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18529 result
= (int)(arg1
)->StopPropagation();
18530 wxPyEndAllowThreads(__tstate
);
18531 if (PyErr_Occurred()) SWIG_fail
;
18533 resultobj
= SWIG_From_int(static_cast< int >(result
));
18540 SWIGINTERN PyObject
*_wrap_Event_ResumePropagation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18541 PyObject
*resultobj
= 0;
18542 wxEvent
*arg1
= (wxEvent
*) 0 ;
18548 PyObject
* obj0
= 0 ;
18549 PyObject
* obj1
= 0 ;
18550 char * kwnames
[] = {
18551 (char *) "self",(char *) "propagationLevel", NULL
18554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18556 if (!SWIG_IsOK(res1
)) {
18557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_ResumePropagation" "', expected argument " "1"" of type '" "wxEvent *""'");
18559 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18560 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18561 if (!SWIG_IsOK(ecode2
)) {
18562 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Event_ResumePropagation" "', expected argument " "2"" of type '" "int""'");
18564 arg2
= static_cast< int >(val2
);
18566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18567 (arg1
)->ResumePropagation(arg2
);
18568 wxPyEndAllowThreads(__tstate
);
18569 if (PyErr_Occurred()) SWIG_fail
;
18571 resultobj
= SWIG_Py_Void();
18578 SWIGINTERN PyObject
*_wrap_Event_Clone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18579 PyObject
*resultobj
= 0;
18580 wxEvent
*arg1
= (wxEvent
*) 0 ;
18581 wxEvent
*result
= 0 ;
18584 PyObject
*swig_obj
[1] ;
18586 if (!args
) SWIG_fail
;
18587 swig_obj
[0] = args
;
18588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18589 if (!SWIG_IsOK(res1
)) {
18590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_Clone" "', expected argument " "1"" of type '" "wxEvent *""'");
18592 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18595 result
= (wxEvent
*)(arg1
)->Clone();
18596 wxPyEndAllowThreads(__tstate
);
18597 if (PyErr_Occurred()) SWIG_fail
;
18599 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEvent
, 0 | 0 );
18606 SWIGINTERN PyObject
*Event_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18608 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18609 SWIG_TypeNewClientData(SWIGTYPE_p_wxEvent
, SWIG_NewClientData(obj
));
18610 return SWIG_Py_Void();
18613 SWIGINTERN PyObject
*_wrap_new_PropagationDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18614 PyObject
*resultobj
= 0;
18615 wxEvent
*arg1
= 0 ;
18616 wxPropagationDisabler
*result
= 0 ;
18619 PyObject
* obj0
= 0 ;
18620 char * kwnames
[] = {
18621 (char *) "event", NULL
18624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) SWIG_fail
;
18625 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxEvent
, 0 );
18626 if (!SWIG_IsOK(res1
)) {
18627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PropagationDisabler" "', expected argument " "1"" of type '" "wxEvent &""'");
18630 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PropagationDisabler" "', expected argument " "1"" of type '" "wxEvent &""'");
18632 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18635 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
18636 wxPyEndAllowThreads(__tstate
);
18637 if (PyErr_Occurred()) SWIG_fail
;
18639 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPropagationDisabler
, SWIG_POINTER_NEW
| 0 );
18646 SWIGINTERN PyObject
*_wrap_delete_PropagationDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18647 PyObject
*resultobj
= 0;
18648 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
18651 PyObject
*swig_obj
[1] ;
18653 if (!args
) SWIG_fail
;
18654 swig_obj
[0] = args
;
18655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPropagationDisabler
, SWIG_POINTER_DISOWN
| 0 );
18656 if (!SWIG_IsOK(res1
)) {
18657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PropagationDisabler" "', expected argument " "1"" of type '" "wxPropagationDisabler *""'");
18659 arg1
= reinterpret_cast< wxPropagationDisabler
* >(argp1
);
18661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18664 wxPyEndAllowThreads(__tstate
);
18665 if (PyErr_Occurred()) SWIG_fail
;
18667 resultobj
= SWIG_Py_Void();
18674 SWIGINTERN PyObject
*PropagationDisabler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18676 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18677 SWIG_TypeNewClientData(SWIGTYPE_p_wxPropagationDisabler
, SWIG_NewClientData(obj
));
18678 return SWIG_Py_Void();
18681 SWIGINTERN PyObject
*PropagationDisabler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18682 return SWIG_Python_InitShadowInstance(args
);
18685 SWIGINTERN PyObject
*_wrap_new_PropagateOnce(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18686 PyObject
*resultobj
= 0;
18687 wxEvent
*arg1
= 0 ;
18688 wxPropagateOnce
*result
= 0 ;
18691 PyObject
* obj0
= 0 ;
18692 char * kwnames
[] = {
18693 (char *) "event", NULL
18696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) SWIG_fail
;
18697 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxEvent
, 0 );
18698 if (!SWIG_IsOK(res1
)) {
18699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PropagateOnce" "', expected argument " "1"" of type '" "wxEvent &""'");
18702 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PropagateOnce" "', expected argument " "1"" of type '" "wxEvent &""'");
18704 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18707 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
18708 wxPyEndAllowThreads(__tstate
);
18709 if (PyErr_Occurred()) SWIG_fail
;
18711 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPropagateOnce
, SWIG_POINTER_NEW
| 0 );
18718 SWIGINTERN PyObject
*_wrap_delete_PropagateOnce(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18719 PyObject
*resultobj
= 0;
18720 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
18723 PyObject
*swig_obj
[1] ;
18725 if (!args
) SWIG_fail
;
18726 swig_obj
[0] = args
;
18727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPropagateOnce
, SWIG_POINTER_DISOWN
| 0 );
18728 if (!SWIG_IsOK(res1
)) {
18729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PropagateOnce" "', expected argument " "1"" of type '" "wxPropagateOnce *""'");
18731 arg1
= reinterpret_cast< wxPropagateOnce
* >(argp1
);
18733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18736 wxPyEndAllowThreads(__tstate
);
18737 if (PyErr_Occurred()) SWIG_fail
;
18739 resultobj
= SWIG_Py_Void();
18746 SWIGINTERN PyObject
*PropagateOnce_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18748 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18749 SWIG_TypeNewClientData(SWIGTYPE_p_wxPropagateOnce
, SWIG_NewClientData(obj
));
18750 return SWIG_Py_Void();
18753 SWIGINTERN PyObject
*PropagateOnce_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18754 return SWIG_Python_InitShadowInstance(args
);
18757 SWIGINTERN PyObject
*_wrap_new_CommandEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18758 PyObject
*resultobj
= 0;
18759 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18760 int arg2
= (int) 0 ;
18761 wxCommandEvent
*result
= 0 ;
18766 PyObject
* obj0
= 0 ;
18767 PyObject
* obj1
= 0 ;
18768 char * kwnames
[] = {
18769 (char *) "commandType",(char *) "winid", NULL
18772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18774 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18775 if (!SWIG_IsOK(ecode1
)) {
18776 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CommandEvent" "', expected argument " "1"" of type '" "wxEventType""'");
18778 arg1
= static_cast< wxEventType
>(val1
);
18781 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18782 if (!SWIG_IsOK(ecode2
)) {
18783 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CommandEvent" "', expected argument " "2"" of type '" "int""'");
18785 arg2
= static_cast< int >(val2
);
18788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18789 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
18790 wxPyEndAllowThreads(__tstate
);
18791 if (PyErr_Occurred()) SWIG_fail
;
18793 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_NEW
| 0 );
18800 SWIGINTERN PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18801 PyObject
*resultobj
= 0;
18802 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
18806 PyObject
*swig_obj
[1] ;
18808 if (!args
) SWIG_fail
;
18809 swig_obj
[0] = args
;
18810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
18811 if (!SWIG_IsOK(res1
)) {
18812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_GetSelection" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
18814 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
18816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18817 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
18818 wxPyEndAllowThreads(__tstate
);
18819 if (PyErr_Occurred()) SWIG_fail
;
18821 resultobj
= SWIG_From_int(static_cast< int >(result
));
18828 SWIGINTERN PyObject
*_wrap_CommandEvent_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18829 PyObject
*resultobj
= 0;
18830 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
18831 wxString
*arg2
= 0 ;
18834 bool temp2
= false ;
18835 PyObject
* obj0
= 0 ;
18836 PyObject
* obj1
= 0 ;
18837 char * kwnames
[] = {
18838 (char *) "self",(char *) "s", NULL
18841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
18843 if (!SWIG_IsOK(res1
)) {
18844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_SetString" "', expected argument " "1"" of type '" "wxCommandEvent *""'");
18846 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
18848 arg2
= wxString_in_helper(obj1
);
18849 if (arg2
== NULL
) SWIG_fail
;
18853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18854 (arg1
)->SetString((wxString
const &)*arg2
);
18855 wxPyEndAllowThreads(__tstate
);
18856 if (PyErr_Occurred()) SWIG_fail
;
18858 resultobj
= SWIG_Py_Void();
18873 SWIGINTERN PyObject
*_wrap_CommandEvent_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18874 PyObject
*resultobj
= 0;
18875 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
18879 PyObject
*swig_obj
[1] ;
18881 if (!args
) SWIG_fail
;
18882 swig_obj
[0] = args
;
18883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
18884 if (!SWIG_IsOK(res1
)) {
18885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_GetString" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
18887 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
18889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18890 result
= ((wxCommandEvent
const *)arg1
)->GetString();
18891 wxPyEndAllowThreads(__tstate
);
18892 if (PyErr_Occurred()) SWIG_fail
;
18896 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18898 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18907 SWIGINTERN PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18908 PyObject
*resultobj
= 0;
18909 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
18913 PyObject
*swig_obj
[1] ;
18915 if (!args
) SWIG_fail
;
18916 swig_obj
[0] = args
;
18917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
18918 if (!SWIG_IsOK(res1
)) {
18919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_IsChecked" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
18921 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
18923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18924 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
18925 wxPyEndAllowThreads(__tstate
);
18926 if (PyErr_Occurred()) SWIG_fail
;
18929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18937 SWIGINTERN PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18938 PyObject
*resultobj
= 0;
18939 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
18943 PyObject
*swig_obj
[1] ;
18945 if (!args
) SWIG_fail
;
18946 swig_obj
[0] = args
;
18947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
18948 if (!SWIG_IsOK(res1
)) {
18949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_IsSelection" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
18951 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
18953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18954 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
18955 wxPyEndAllowThreads(__tstate
);
18956 if (PyErr_Occurred()) SWIG_fail
;
18959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18967 SWIGINTERN PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18968 PyObject
*resultobj
= 0;
18969 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
18975 PyObject
* obj0
= 0 ;
18976 PyObject
* obj1
= 0 ;
18977 char * kwnames
[] = {
18978 (char *) "self",(char *) "extraLong", NULL
18981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
18983 if (!SWIG_IsOK(res1
)) {
18984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_SetExtraLong" "', expected argument " "1"" of type '" "wxCommandEvent *""'");
18986 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
18987 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
18988 if (!SWIG_IsOK(ecode2
)) {
18989 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CommandEvent_SetExtraLong" "', expected argument " "2"" of type '" "long""'");
18991 arg2
= static_cast< long >(val2
);
18993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18994 (arg1
)->SetExtraLong(arg2
);
18995 wxPyEndAllowThreads(__tstate
);
18996 if (PyErr_Occurred()) SWIG_fail
;
18998 resultobj
= SWIG_Py_Void();
19005 SWIGINTERN PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19006 PyObject
*resultobj
= 0;
19007 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
19011 PyObject
*swig_obj
[1] ;
19013 if (!args
) SWIG_fail
;
19014 swig_obj
[0] = args
;
19015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
19016 if (!SWIG_IsOK(res1
)) {
19017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_GetExtraLong" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
19019 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
19021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19022 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
19023 wxPyEndAllowThreads(__tstate
);
19024 if (PyErr_Occurred()) SWIG_fail
;
19026 resultobj
= SWIG_From_long(static_cast< long >(result
));
19033 SWIGINTERN PyObject
*_wrap_CommandEvent_SetInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19034 PyObject
*resultobj
= 0;
19035 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
19041 PyObject
* obj0
= 0 ;
19042 PyObject
* obj1
= 0 ;
19043 char * kwnames
[] = {
19044 (char *) "self",(char *) "i", NULL
19047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
19049 if (!SWIG_IsOK(res1
)) {
19050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_SetInt" "', expected argument " "1"" of type '" "wxCommandEvent *""'");
19052 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
19053 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19054 if (!SWIG_IsOK(ecode2
)) {
19055 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CommandEvent_SetInt" "', expected argument " "2"" of type '" "int""'");
19057 arg2
= static_cast< int >(val2
);
19059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19060 (arg1
)->SetInt(arg2
);
19061 wxPyEndAllowThreads(__tstate
);
19062 if (PyErr_Occurred()) SWIG_fail
;
19064 resultobj
= SWIG_Py_Void();
19071 SWIGINTERN PyObject
*_wrap_CommandEvent_GetInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19072 PyObject
*resultobj
= 0;
19073 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
19077 PyObject
*swig_obj
[1] ;
19079 if (!args
) SWIG_fail
;
19080 swig_obj
[0] = args
;
19081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
19082 if (!SWIG_IsOK(res1
)) {
19083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_GetInt" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
19085 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
19087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19088 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
19089 wxPyEndAllowThreads(__tstate
);
19090 if (PyErr_Occurred()) SWIG_fail
;
19092 resultobj
= SWIG_From_long(static_cast< long >(result
));
19099 SWIGINTERN PyObject
*_wrap_CommandEvent_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19100 PyObject
*resultobj
= 0;
19101 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
19102 PyObject
*result
= 0 ;
19105 PyObject
*swig_obj
[1] ;
19107 if (!args
) SWIG_fail
;
19108 swig_obj
[0] = args
;
19109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
19110 if (!SWIG_IsOK(res1
)) {
19111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_GetClientData" "', expected argument " "1"" of type '" "wxCommandEvent *""'");
19113 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
19115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19116 result
= (PyObject
*)wxCommandEvent_GetClientData(arg1
);
19117 wxPyEndAllowThreads(__tstate
);
19118 if (PyErr_Occurred()) SWIG_fail
;
19120 resultobj
= result
;
19127 SWIGINTERN PyObject
*_wrap_CommandEvent_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19128 PyObject
*resultobj
= 0;
19129 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
19130 PyObject
*arg2
= (PyObject
*) 0 ;
19133 PyObject
* obj0
= 0 ;
19134 PyObject
* obj1
= 0 ;
19135 char * kwnames
[] = {
19136 (char *) "self",(char *) "clientData", NULL
19139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
19141 if (!SWIG_IsOK(res1
)) {
19142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_SetClientData" "', expected argument " "1"" of type '" "wxCommandEvent *""'");
19144 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
19147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19148 wxCommandEvent_SetClientData(arg1
,arg2
);
19149 wxPyEndAllowThreads(__tstate
);
19150 if (PyErr_Occurred()) SWIG_fail
;
19152 resultobj
= SWIG_Py_Void();
19159 SWIGINTERN PyObject
*_wrap_CommandEvent_Clone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19160 PyObject
*resultobj
= 0;
19161 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
19162 wxEvent
*result
= 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_wxCommandEvent
, 0 | 0 );
19170 if (!SWIG_IsOK(res1
)) {
19171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_Clone" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
19173 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
19175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19176 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
19177 wxPyEndAllowThreads(__tstate
);
19178 if (PyErr_Occurred()) SWIG_fail
;
19180 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEvent
, 0 | 0 );
19187 SWIGINTERN PyObject
*CommandEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19189 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19190 SWIG_TypeNewClientData(SWIGTYPE_p_wxCommandEvent
, SWIG_NewClientData(obj
));
19191 return SWIG_Py_Void();
19194 SWIGINTERN PyObject
*CommandEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19195 return SWIG_Python_InitShadowInstance(args
);
19198 SWIGINTERN PyObject
*_wrap_new_NotifyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19199 PyObject
*resultobj
= 0;
19200 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19201 int arg2
= (int) 0 ;
19202 wxNotifyEvent
*result
= 0 ;
19207 PyObject
* obj0
= 0 ;
19208 PyObject
* obj1
= 0 ;
19209 char * kwnames
[] = {
19210 (char *) "commandType",(char *) "winid", NULL
19213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19215 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19216 if (!SWIG_IsOK(ecode1
)) {
19217 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotifyEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19219 arg1
= static_cast< wxEventType
>(val1
);
19222 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19223 if (!SWIG_IsOK(ecode2
)) {
19224 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotifyEvent" "', expected argument " "2"" of type '" "int""'");
19226 arg2
= static_cast< int >(val2
);
19229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19230 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
19231 wxPyEndAllowThreads(__tstate
);
19232 if (PyErr_Occurred()) SWIG_fail
;
19234 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_NEW
| 0 );
19241 SWIGINTERN PyObject
*_wrap_NotifyEvent_Veto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19242 PyObject
*resultobj
= 0;
19243 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
19246 PyObject
*swig_obj
[1] ;
19248 if (!args
) SWIG_fail
;
19249 swig_obj
[0] = args
;
19250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotifyEvent
, 0 | 0 );
19251 if (!SWIG_IsOK(res1
)) {
19252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NotifyEvent_Veto" "', expected argument " "1"" of type '" "wxNotifyEvent *""'");
19254 arg1
= reinterpret_cast< wxNotifyEvent
* >(argp1
);
19256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19258 wxPyEndAllowThreads(__tstate
);
19259 if (PyErr_Occurred()) SWIG_fail
;
19261 resultobj
= SWIG_Py_Void();
19268 SWIGINTERN PyObject
*_wrap_NotifyEvent_Allow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19269 PyObject
*resultobj
= 0;
19270 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
19273 PyObject
*swig_obj
[1] ;
19275 if (!args
) SWIG_fail
;
19276 swig_obj
[0] = args
;
19277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotifyEvent
, 0 | 0 );
19278 if (!SWIG_IsOK(res1
)) {
19279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NotifyEvent_Allow" "', expected argument " "1"" of type '" "wxNotifyEvent *""'");
19281 arg1
= reinterpret_cast< wxNotifyEvent
* >(argp1
);
19283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19285 wxPyEndAllowThreads(__tstate
);
19286 if (PyErr_Occurred()) SWIG_fail
;
19288 resultobj
= SWIG_Py_Void();
19295 SWIGINTERN PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19296 PyObject
*resultobj
= 0;
19297 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
19301 PyObject
*swig_obj
[1] ;
19303 if (!args
) SWIG_fail
;
19304 swig_obj
[0] = args
;
19305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotifyEvent
, 0 | 0 );
19306 if (!SWIG_IsOK(res1
)) {
19307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NotifyEvent_IsAllowed" "', expected argument " "1"" of type '" "wxNotifyEvent *""'");
19309 arg1
= reinterpret_cast< wxNotifyEvent
* >(argp1
);
19311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19312 result
= (bool)(arg1
)->IsAllowed();
19313 wxPyEndAllowThreads(__tstate
);
19314 if (PyErr_Occurred()) SWIG_fail
;
19317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19325 SWIGINTERN PyObject
*NotifyEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19327 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19328 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotifyEvent
, SWIG_NewClientData(obj
));
19329 return SWIG_Py_Void();
19332 SWIGINTERN PyObject
*NotifyEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19333 return SWIG_Python_InitShadowInstance(args
);
19336 SWIGINTERN PyObject
*_wrap_new_ScrollEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19337 PyObject
*resultobj
= 0;
19338 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19339 int arg2
= (int) 0 ;
19340 int arg3
= (int) 0 ;
19341 int arg4
= (int) 0 ;
19342 wxScrollEvent
*result
= 0 ;
19351 PyObject
* obj0
= 0 ;
19352 PyObject
* obj1
= 0 ;
19353 PyObject
* obj2
= 0 ;
19354 PyObject
* obj3
= 0 ;
19355 char * kwnames
[] = {
19356 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
19359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19361 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19362 if (!SWIG_IsOK(ecode1
)) {
19363 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ScrollEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19365 arg1
= static_cast< wxEventType
>(val1
);
19368 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19369 if (!SWIG_IsOK(ecode2
)) {
19370 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollEvent" "', expected argument " "2"" of type '" "int""'");
19372 arg2
= static_cast< int >(val2
);
19375 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19376 if (!SWIG_IsOK(ecode3
)) {
19377 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ScrollEvent" "', expected argument " "3"" of type '" "int""'");
19379 arg3
= static_cast< int >(val3
);
19382 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19383 if (!SWIG_IsOK(ecode4
)) {
19384 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ScrollEvent" "', expected argument " "4"" of type '" "int""'");
19386 arg4
= static_cast< int >(val4
);
19389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19390 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
19391 wxPyEndAllowThreads(__tstate
);
19392 if (PyErr_Occurred()) SWIG_fail
;
19394 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_NEW
| 0 );
19401 SWIGINTERN PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19402 PyObject
*resultobj
= 0;
19403 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
19407 PyObject
*swig_obj
[1] ;
19409 if (!args
) SWIG_fail
;
19410 swig_obj
[0] = args
;
19411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollEvent
, 0 | 0 );
19412 if (!SWIG_IsOK(res1
)) {
19413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollEvent_GetOrientation" "', expected argument " "1"" of type '" "wxScrollEvent const *""'");
19415 arg1
= reinterpret_cast< wxScrollEvent
* >(argp1
);
19417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19418 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
19419 wxPyEndAllowThreads(__tstate
);
19420 if (PyErr_Occurred()) SWIG_fail
;
19422 resultobj
= SWIG_From_int(static_cast< int >(result
));
19429 SWIGINTERN PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19430 PyObject
*resultobj
= 0;
19431 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
19435 PyObject
*swig_obj
[1] ;
19437 if (!args
) SWIG_fail
;
19438 swig_obj
[0] = args
;
19439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollEvent
, 0 | 0 );
19440 if (!SWIG_IsOK(res1
)) {
19441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollEvent_GetPosition" "', expected argument " "1"" of type '" "wxScrollEvent const *""'");
19443 arg1
= reinterpret_cast< wxScrollEvent
* >(argp1
);
19445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19446 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
19447 wxPyEndAllowThreads(__tstate
);
19448 if (PyErr_Occurred()) SWIG_fail
;
19450 resultobj
= SWIG_From_int(static_cast< int >(result
));
19457 SWIGINTERN PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19458 PyObject
*resultobj
= 0;
19459 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
19465 PyObject
* obj0
= 0 ;
19466 PyObject
* obj1
= 0 ;
19467 char * kwnames
[] = {
19468 (char *) "self",(char *) "orient", NULL
19471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollEvent
, 0 | 0 );
19473 if (!SWIG_IsOK(res1
)) {
19474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollEvent_SetOrientation" "', expected argument " "1"" of type '" "wxScrollEvent *""'");
19476 arg1
= reinterpret_cast< wxScrollEvent
* >(argp1
);
19477 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19478 if (!SWIG_IsOK(ecode2
)) {
19479 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollEvent_SetOrientation" "', expected argument " "2"" of type '" "int""'");
19481 arg2
= static_cast< int >(val2
);
19483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19484 (arg1
)->SetOrientation(arg2
);
19485 wxPyEndAllowThreads(__tstate
);
19486 if (PyErr_Occurred()) SWIG_fail
;
19488 resultobj
= SWIG_Py_Void();
19495 SWIGINTERN PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19496 PyObject
*resultobj
= 0;
19497 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
19503 PyObject
* obj0
= 0 ;
19504 PyObject
* obj1
= 0 ;
19505 char * kwnames
[] = {
19506 (char *) "self",(char *) "pos", NULL
19509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollEvent
, 0 | 0 );
19511 if (!SWIG_IsOK(res1
)) {
19512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollEvent_SetPosition" "', expected argument " "1"" of type '" "wxScrollEvent *""'");
19514 arg1
= reinterpret_cast< wxScrollEvent
* >(argp1
);
19515 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19516 if (!SWIG_IsOK(ecode2
)) {
19517 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
19519 arg2
= static_cast< int >(val2
);
19521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19522 (arg1
)->SetPosition(arg2
);
19523 wxPyEndAllowThreads(__tstate
);
19524 if (PyErr_Occurred()) SWIG_fail
;
19526 resultobj
= SWIG_Py_Void();
19533 SWIGINTERN PyObject
*ScrollEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19535 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19536 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollEvent
, SWIG_NewClientData(obj
));
19537 return SWIG_Py_Void();
19540 SWIGINTERN PyObject
*ScrollEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19541 return SWIG_Python_InitShadowInstance(args
);
19544 SWIGINTERN PyObject
*_wrap_new_ScrollWinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19545 PyObject
*resultobj
= 0;
19546 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19547 int arg2
= (int) 0 ;
19548 int arg3
= (int) 0 ;
19549 wxScrollWinEvent
*result
= 0 ;
19556 PyObject
* obj0
= 0 ;
19557 PyObject
* obj1
= 0 ;
19558 PyObject
* obj2
= 0 ;
19559 char * kwnames
[] = {
19560 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
19563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19565 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19566 if (!SWIG_IsOK(ecode1
)) {
19567 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ScrollWinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19569 arg1
= static_cast< wxEventType
>(val1
);
19572 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19573 if (!SWIG_IsOK(ecode2
)) {
19574 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollWinEvent" "', expected argument " "2"" of type '" "int""'");
19576 arg2
= static_cast< int >(val2
);
19579 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19580 if (!SWIG_IsOK(ecode3
)) {
19581 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ScrollWinEvent" "', expected argument " "3"" of type '" "int""'");
19583 arg3
= static_cast< int >(val3
);
19586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19587 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
19588 wxPyEndAllowThreads(__tstate
);
19589 if (PyErr_Occurred()) SWIG_fail
;
19591 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_NEW
| 0 );
19598 SWIGINTERN PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19599 PyObject
*resultobj
= 0;
19600 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
19604 PyObject
*swig_obj
[1] ;
19606 if (!args
) SWIG_fail
;
19607 swig_obj
[0] = args
;
19608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollWinEvent
, 0 | 0 );
19609 if (!SWIG_IsOK(res1
)) {
19610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollWinEvent_GetOrientation" "', expected argument " "1"" of type '" "wxScrollWinEvent const *""'");
19612 arg1
= reinterpret_cast< wxScrollWinEvent
* >(argp1
);
19614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19615 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
19616 wxPyEndAllowThreads(__tstate
);
19617 if (PyErr_Occurred()) SWIG_fail
;
19619 resultobj
= SWIG_From_int(static_cast< int >(result
));
19626 SWIGINTERN PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19627 PyObject
*resultobj
= 0;
19628 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
19632 PyObject
*swig_obj
[1] ;
19634 if (!args
) SWIG_fail
;
19635 swig_obj
[0] = args
;
19636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollWinEvent
, 0 | 0 );
19637 if (!SWIG_IsOK(res1
)) {
19638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollWinEvent_GetPosition" "', expected argument " "1"" of type '" "wxScrollWinEvent const *""'");
19640 arg1
= reinterpret_cast< wxScrollWinEvent
* >(argp1
);
19642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19643 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
19644 wxPyEndAllowThreads(__tstate
);
19645 if (PyErr_Occurred()) SWIG_fail
;
19647 resultobj
= SWIG_From_int(static_cast< int >(result
));
19654 SWIGINTERN PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19655 PyObject
*resultobj
= 0;
19656 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
19662 PyObject
* obj0
= 0 ;
19663 PyObject
* obj1
= 0 ;
19664 char * kwnames
[] = {
19665 (char *) "self",(char *) "orient", NULL
19668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollWinEvent
, 0 | 0 );
19670 if (!SWIG_IsOK(res1
)) {
19671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollWinEvent_SetOrientation" "', expected argument " "1"" of type '" "wxScrollWinEvent *""'");
19673 arg1
= reinterpret_cast< wxScrollWinEvent
* >(argp1
);
19674 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19675 if (!SWIG_IsOK(ecode2
)) {
19676 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollWinEvent_SetOrientation" "', expected argument " "2"" of type '" "int""'");
19678 arg2
= static_cast< int >(val2
);
19680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19681 (arg1
)->SetOrientation(arg2
);
19682 wxPyEndAllowThreads(__tstate
);
19683 if (PyErr_Occurred()) SWIG_fail
;
19685 resultobj
= SWIG_Py_Void();
19692 SWIGINTERN PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19693 PyObject
*resultobj
= 0;
19694 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
19700 PyObject
* obj0
= 0 ;
19701 PyObject
* obj1
= 0 ;
19702 char * kwnames
[] = {
19703 (char *) "self",(char *) "pos", NULL
19706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollWinEvent
, 0 | 0 );
19708 if (!SWIG_IsOK(res1
)) {
19709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollWinEvent_SetPosition" "', expected argument " "1"" of type '" "wxScrollWinEvent *""'");
19711 arg1
= reinterpret_cast< wxScrollWinEvent
* >(argp1
);
19712 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19713 if (!SWIG_IsOK(ecode2
)) {
19714 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollWinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
19716 arg2
= static_cast< int >(val2
);
19718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19719 (arg1
)->SetPosition(arg2
);
19720 wxPyEndAllowThreads(__tstate
);
19721 if (PyErr_Occurred()) SWIG_fail
;
19723 resultobj
= SWIG_Py_Void();
19730 SWIGINTERN PyObject
*ScrollWinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19732 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19733 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollWinEvent
, SWIG_NewClientData(obj
));
19734 return SWIG_Py_Void();
19737 SWIGINTERN PyObject
*ScrollWinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19738 return SWIG_Python_InitShadowInstance(args
);
19741 SWIGINTERN PyObject
*_wrap_new_MouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19742 PyObject
*resultobj
= 0;
19743 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19744 wxMouseEvent
*result
= 0 ;
19747 PyObject
* obj0
= 0 ;
19748 char * kwnames
[] = {
19749 (char *) "mouseType", NULL
19752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) SWIG_fail
;
19754 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19755 if (!SWIG_IsOK(ecode1
)) {
19756 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_MouseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19758 arg1
= static_cast< wxEventType
>(val1
);
19761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19762 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
19763 wxPyEndAllowThreads(__tstate
);
19764 if (PyErr_Occurred()) SWIG_fail
;
19767 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
19775 SWIGINTERN PyObject
*_wrap_MouseEvent_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19776 PyObject
*resultobj
= 0;
19777 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
19781 PyObject
*swig_obj
[1] ;
19783 if (!args
) SWIG_fail
;
19784 swig_obj
[0] = args
;
19785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
19786 if (!SWIG_IsOK(res1
)) {
19787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_IsButton" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
19789 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
19791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19792 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
19793 wxPyEndAllowThreads(__tstate
);
19794 if (PyErr_Occurred()) SWIG_fail
;
19797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19805 SWIGINTERN PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19806 PyObject
*resultobj
= 0;
19807 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
19808 int arg2
= (int) wxMOUSE_BTN_ANY
;
19814 PyObject
* obj0
= 0 ;
19815 PyObject
* obj1
= 0 ;
19816 char * kwnames
[] = {
19817 (char *) "self",(char *) "but", NULL
19820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
19822 if (!SWIG_IsOK(res1
)) {
19823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_ButtonDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
19825 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
19827 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19828 if (!SWIG_IsOK(ecode2
)) {
19829 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_ButtonDown" "', expected argument " "2"" of type '" "int""'");
19831 arg2
= static_cast< int >(val2
);
19834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19835 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
19836 wxPyEndAllowThreads(__tstate
);
19837 if (PyErr_Occurred()) SWIG_fail
;
19840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19848 SWIGINTERN PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19849 PyObject
*resultobj
= 0;
19850 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
19851 int arg2
= (int) wxMOUSE_BTN_ANY
;
19857 PyObject
* obj0
= 0 ;
19858 PyObject
* obj1
= 0 ;
19859 char * kwnames
[] = {
19860 (char *) "self",(char *) "but", NULL
19863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
19865 if (!SWIG_IsOK(res1
)) {
19866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_ButtonDClick" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
19868 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
19870 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19871 if (!SWIG_IsOK(ecode2
)) {
19872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_ButtonDClick" "', expected argument " "2"" of type '" "int""'");
19874 arg2
= static_cast< int >(val2
);
19877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19878 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
19879 wxPyEndAllowThreads(__tstate
);
19880 if (PyErr_Occurred()) SWIG_fail
;
19883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19891 SWIGINTERN PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19892 PyObject
*resultobj
= 0;
19893 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
19894 int arg2
= (int) wxMOUSE_BTN_ANY
;
19900 PyObject
* obj0
= 0 ;
19901 PyObject
* obj1
= 0 ;
19902 char * kwnames
[] = {
19903 (char *) "self",(char *) "but", NULL
19906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
19908 if (!SWIG_IsOK(res1
)) {
19909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_ButtonUp" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
19911 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
19913 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19914 if (!SWIG_IsOK(ecode2
)) {
19915 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_ButtonUp" "', expected argument " "2"" of type '" "int""'");
19917 arg2
= static_cast< int >(val2
);
19920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19921 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
19922 wxPyEndAllowThreads(__tstate
);
19923 if (PyErr_Occurred()) SWIG_fail
;
19926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19934 SWIGINTERN PyObject
*_wrap_MouseEvent_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19935 PyObject
*resultobj
= 0;
19936 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
19943 PyObject
* obj0
= 0 ;
19944 PyObject
* obj1
= 0 ;
19945 char * kwnames
[] = {
19946 (char *) "self",(char *) "button", NULL
19949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
19951 if (!SWIG_IsOK(res1
)) {
19952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_Button" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
19954 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
19955 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19956 if (!SWIG_IsOK(ecode2
)) {
19957 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_Button" "', expected argument " "2"" of type '" "int""'");
19959 arg2
= static_cast< int >(val2
);
19961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19962 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
19963 wxPyEndAllowThreads(__tstate
);
19964 if (PyErr_Occurred()) SWIG_fail
;
19967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19975 SWIGINTERN PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19976 PyObject
*resultobj
= 0;
19977 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
19984 PyObject
* obj0
= 0 ;
19985 PyObject
* obj1
= 0 ;
19986 char * kwnames
[] = {
19987 (char *) "self",(char *) "but", NULL
19990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
19992 if (!SWIG_IsOK(res1
)) {
19993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_ButtonIsDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
19995 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
19996 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19997 if (!SWIG_IsOK(ecode2
)) {
19998 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_ButtonIsDown" "', expected argument " "2"" of type '" "int""'");
20000 arg2
= static_cast< int >(val2
);
20002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20003 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
20004 wxPyEndAllowThreads(__tstate
);
20005 if (PyErr_Occurred()) SWIG_fail
;
20008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20016 SWIGINTERN PyObject
*_wrap_MouseEvent_GetButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20017 PyObject
*resultobj
= 0;
20018 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20022 PyObject
*swig_obj
[1] ;
20024 if (!args
) SWIG_fail
;
20025 swig_obj
[0] = args
;
20026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20027 if (!SWIG_IsOK(res1
)) {
20028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetButton" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20030 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20033 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
20034 wxPyEndAllowThreads(__tstate
);
20035 if (PyErr_Occurred()) SWIG_fail
;
20037 resultobj
= SWIG_From_int(static_cast< int >(result
));
20044 SWIGINTERN PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20045 PyObject
*resultobj
= 0;
20046 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20050 PyObject
*swig_obj
[1] ;
20052 if (!args
) SWIG_fail
;
20053 swig_obj
[0] = args
;
20054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20055 if (!SWIG_IsOK(res1
)) {
20056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_ControlDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20058 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20061 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
20062 wxPyEndAllowThreads(__tstate
);
20063 if (PyErr_Occurred()) SWIG_fail
;
20066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20074 SWIGINTERN PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20075 PyObject
*resultobj
= 0;
20076 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20080 PyObject
*swig_obj
[1] ;
20082 if (!args
) SWIG_fail
;
20083 swig_obj
[0] = args
;
20084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20085 if (!SWIG_IsOK(res1
)) {
20086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_MetaDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20088 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20091 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
20092 wxPyEndAllowThreads(__tstate
);
20093 if (PyErr_Occurred()) SWIG_fail
;
20096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20104 SWIGINTERN PyObject
*_wrap_MouseEvent_AltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20105 PyObject
*resultobj
= 0;
20106 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20110 PyObject
*swig_obj
[1] ;
20112 if (!args
) SWIG_fail
;
20113 swig_obj
[0] = args
;
20114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20115 if (!SWIG_IsOK(res1
)) {
20116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_AltDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20118 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20121 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
20122 wxPyEndAllowThreads(__tstate
);
20123 if (PyErr_Occurred()) SWIG_fail
;
20126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20134 SWIGINTERN PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20135 PyObject
*resultobj
= 0;
20136 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20140 PyObject
*swig_obj
[1] ;
20142 if (!args
) SWIG_fail
;
20143 swig_obj
[0] = args
;
20144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20145 if (!SWIG_IsOK(res1
)) {
20146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_ShiftDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20148 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20151 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
20152 wxPyEndAllowThreads(__tstate
);
20153 if (PyErr_Occurred()) SWIG_fail
;
20156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20164 SWIGINTERN PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20165 PyObject
*resultobj
= 0;
20166 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20170 PyObject
*swig_obj
[1] ;
20172 if (!args
) SWIG_fail
;
20173 swig_obj
[0] = args
;
20174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20175 if (!SWIG_IsOK(res1
)) {
20176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_CmdDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20178 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20181 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
20182 wxPyEndAllowThreads(__tstate
);
20183 if (PyErr_Occurred()) SWIG_fail
;
20186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20194 SWIGINTERN PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20195 PyObject
*resultobj
= 0;
20196 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20200 PyObject
*swig_obj
[1] ;
20202 if (!args
) SWIG_fail
;
20203 swig_obj
[0] = args
;
20204 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20205 if (!SWIG_IsOK(res1
)) {
20206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_LeftDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20208 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20211 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
20212 wxPyEndAllowThreads(__tstate
);
20213 if (PyErr_Occurred()) SWIG_fail
;
20216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20224 SWIGINTERN PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20225 PyObject
*resultobj
= 0;
20226 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20230 PyObject
*swig_obj
[1] ;
20232 if (!args
) SWIG_fail
;
20233 swig_obj
[0] = args
;
20234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20235 if (!SWIG_IsOK(res1
)) {
20236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_MiddleDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20238 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20241 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
20242 wxPyEndAllowThreads(__tstate
);
20243 if (PyErr_Occurred()) SWIG_fail
;
20246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20254 SWIGINTERN PyObject
*_wrap_MouseEvent_RightDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20255 PyObject
*resultobj
= 0;
20256 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20260 PyObject
*swig_obj
[1] ;
20262 if (!args
) SWIG_fail
;
20263 swig_obj
[0] = args
;
20264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20265 if (!SWIG_IsOK(res1
)) {
20266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_RightDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20268 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20271 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
20272 wxPyEndAllowThreads(__tstate
);
20273 if (PyErr_Occurred()) SWIG_fail
;
20276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20284 SWIGINTERN PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20285 PyObject
*resultobj
= 0;
20286 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20290 PyObject
*swig_obj
[1] ;
20292 if (!args
) SWIG_fail
;
20293 swig_obj
[0] = args
;
20294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20295 if (!SWIG_IsOK(res1
)) {
20296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_LeftUp" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20298 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20301 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
20302 wxPyEndAllowThreads(__tstate
);
20303 if (PyErr_Occurred()) SWIG_fail
;
20306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20314 SWIGINTERN PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20315 PyObject
*resultobj
= 0;
20316 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20320 PyObject
*swig_obj
[1] ;
20322 if (!args
) SWIG_fail
;
20323 swig_obj
[0] = args
;
20324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20325 if (!SWIG_IsOK(res1
)) {
20326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_MiddleUp" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20328 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20331 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
20332 wxPyEndAllowThreads(__tstate
);
20333 if (PyErr_Occurred()) SWIG_fail
;
20336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20344 SWIGINTERN PyObject
*_wrap_MouseEvent_RightUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20345 PyObject
*resultobj
= 0;
20346 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20350 PyObject
*swig_obj
[1] ;
20352 if (!args
) SWIG_fail
;
20353 swig_obj
[0] = args
;
20354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20355 if (!SWIG_IsOK(res1
)) {
20356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_RightUp" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20358 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20361 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
20362 wxPyEndAllowThreads(__tstate
);
20363 if (PyErr_Occurred()) SWIG_fail
;
20366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20374 SWIGINTERN PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20375 PyObject
*resultobj
= 0;
20376 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20380 PyObject
*swig_obj
[1] ;
20382 if (!args
) SWIG_fail
;
20383 swig_obj
[0] = args
;
20384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20385 if (!SWIG_IsOK(res1
)) {
20386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_LeftDClick" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20388 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20391 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
20392 wxPyEndAllowThreads(__tstate
);
20393 if (PyErr_Occurred()) SWIG_fail
;
20396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20404 SWIGINTERN PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20405 PyObject
*resultobj
= 0;
20406 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20410 PyObject
*swig_obj
[1] ;
20412 if (!args
) SWIG_fail
;
20413 swig_obj
[0] = args
;
20414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20415 if (!SWIG_IsOK(res1
)) {
20416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_MiddleDClick" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20418 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20421 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
20422 wxPyEndAllowThreads(__tstate
);
20423 if (PyErr_Occurred()) SWIG_fail
;
20426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20434 SWIGINTERN PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20435 PyObject
*resultobj
= 0;
20436 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20440 PyObject
*swig_obj
[1] ;
20442 if (!args
) SWIG_fail
;
20443 swig_obj
[0] = args
;
20444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20445 if (!SWIG_IsOK(res1
)) {
20446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_RightDClick" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20448 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20451 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
20452 wxPyEndAllowThreads(__tstate
);
20453 if (PyErr_Occurred()) SWIG_fail
;
20456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20464 SWIGINTERN PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20465 PyObject
*resultobj
= 0;
20466 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20470 PyObject
*swig_obj
[1] ;
20472 if (!args
) SWIG_fail
;
20473 swig_obj
[0] = args
;
20474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20475 if (!SWIG_IsOK(res1
)) {
20476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_LeftIsDown" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
20478 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20481 result
= (bool)(arg1
)->LeftIsDown();
20482 wxPyEndAllowThreads(__tstate
);
20483 if (PyErr_Occurred()) SWIG_fail
;
20486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20494 SWIGINTERN PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20495 PyObject
*resultobj
= 0;
20496 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20500 PyObject
*swig_obj
[1] ;
20502 if (!args
) SWIG_fail
;
20503 swig_obj
[0] = args
;
20504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20505 if (!SWIG_IsOK(res1
)) {
20506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_MiddleIsDown" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
20508 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20511 result
= (bool)(arg1
)->MiddleIsDown();
20512 wxPyEndAllowThreads(__tstate
);
20513 if (PyErr_Occurred()) SWIG_fail
;
20516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20524 SWIGINTERN PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20525 PyObject
*resultobj
= 0;
20526 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20530 PyObject
*swig_obj
[1] ;
20532 if (!args
) SWIG_fail
;
20533 swig_obj
[0] = args
;
20534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20535 if (!SWIG_IsOK(res1
)) {
20536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_RightIsDown" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
20538 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20541 result
= (bool)(arg1
)->RightIsDown();
20542 wxPyEndAllowThreads(__tstate
);
20543 if (PyErr_Occurred()) SWIG_fail
;
20546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20554 SWIGINTERN PyObject
*_wrap_MouseEvent_Dragging(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20555 PyObject
*resultobj
= 0;
20556 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20560 PyObject
*swig_obj
[1] ;
20562 if (!args
) SWIG_fail
;
20563 swig_obj
[0] = args
;
20564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20565 if (!SWIG_IsOK(res1
)) {
20566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_Dragging" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20568 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20571 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
20572 wxPyEndAllowThreads(__tstate
);
20573 if (PyErr_Occurred()) SWIG_fail
;
20576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20584 SWIGINTERN PyObject
*_wrap_MouseEvent_Moving(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20585 PyObject
*resultobj
= 0;
20586 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20590 PyObject
*swig_obj
[1] ;
20592 if (!args
) SWIG_fail
;
20593 swig_obj
[0] = args
;
20594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20595 if (!SWIG_IsOK(res1
)) {
20596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_Moving" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20598 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20601 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
20602 wxPyEndAllowThreads(__tstate
);
20603 if (PyErr_Occurred()) SWIG_fail
;
20606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20614 SWIGINTERN PyObject
*_wrap_MouseEvent_Entering(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20615 PyObject
*resultobj
= 0;
20616 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20620 PyObject
*swig_obj
[1] ;
20622 if (!args
) SWIG_fail
;
20623 swig_obj
[0] = args
;
20624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20625 if (!SWIG_IsOK(res1
)) {
20626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_Entering" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20628 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20631 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
20632 wxPyEndAllowThreads(__tstate
);
20633 if (PyErr_Occurred()) SWIG_fail
;
20636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20644 SWIGINTERN PyObject
*_wrap_MouseEvent_Leaving(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20645 PyObject
*resultobj
= 0;
20646 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20650 PyObject
*swig_obj
[1] ;
20652 if (!args
) SWIG_fail
;
20653 swig_obj
[0] = args
;
20654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20655 if (!SWIG_IsOK(res1
)) {
20656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_Leaving" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20658 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20661 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
20662 wxPyEndAllowThreads(__tstate
);
20663 if (PyErr_Occurred()) SWIG_fail
;
20666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20674 SWIGINTERN PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20675 PyObject
*resultobj
= 0;
20676 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20680 PyObject
*swig_obj
[1] ;
20682 if (!args
) SWIG_fail
;
20683 swig_obj
[0] = args
;
20684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20685 if (!SWIG_IsOK(res1
)) {
20686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetPosition" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
20688 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20691 result
= (arg1
)->GetPosition();
20692 wxPyEndAllowThreads(__tstate
);
20693 if (PyErr_Occurred()) SWIG_fail
;
20695 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
20702 SWIGINTERN PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20703 PyObject
*resultobj
= 0;
20704 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20705 long *arg2
= (long *) 0 ;
20706 long *arg3
= (long *) 0 ;
20710 int res2
= SWIG_TMPOBJ
;
20712 int res3
= SWIG_TMPOBJ
;
20713 PyObject
*swig_obj
[1] ;
20717 if (!args
) SWIG_fail
;
20718 swig_obj
[0] = args
;
20719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20720 if (!SWIG_IsOK(res1
)) {
20721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetPositionTuple" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
20723 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20726 (arg1
)->GetPosition(arg2
,arg3
);
20727 wxPyEndAllowThreads(__tstate
);
20728 if (PyErr_Occurred()) SWIG_fail
;
20730 resultobj
= SWIG_Py_Void();
20731 if (SWIG_IsTmpObj(res2
)) {
20732 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
20734 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20735 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
20737 if (SWIG_IsTmpObj(res3
)) {
20738 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20740 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20741 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20749 SWIGINTERN PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20750 PyObject
*resultobj
= 0;
20751 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20758 PyObject
* obj0
= 0 ;
20759 PyObject
* obj1
= 0 ;
20760 char * kwnames
[] = {
20761 (char *) "self",(char *) "dc", NULL
20764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20766 if (!SWIG_IsOK(res1
)) {
20767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetLogicalPosition" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20769 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20770 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 | 0);
20771 if (!SWIG_IsOK(res2
)) {
20772 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MouseEvent_GetLogicalPosition" "', expected argument " "2"" of type '" "wxDC const &""'");
20775 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MouseEvent_GetLogicalPosition" "', expected argument " "2"" of type '" "wxDC const &""'");
20777 arg2
= reinterpret_cast< wxDC
* >(argp2
);
20779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20780 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
20781 wxPyEndAllowThreads(__tstate
);
20782 if (PyErr_Occurred()) SWIG_fail
;
20784 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
20791 SWIGINTERN PyObject
*_wrap_MouseEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20792 PyObject
*resultobj
= 0;
20793 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20797 PyObject
*swig_obj
[1] ;
20799 if (!args
) SWIG_fail
;
20800 swig_obj
[0] = args
;
20801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20802 if (!SWIG_IsOK(res1
)) {
20803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetX" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20805 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20808 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
20809 wxPyEndAllowThreads(__tstate
);
20810 if (PyErr_Occurred()) SWIG_fail
;
20812 resultobj
= SWIG_From_int(static_cast< int >(result
));
20819 SWIGINTERN PyObject
*_wrap_MouseEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20820 PyObject
*resultobj
= 0;
20821 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20825 PyObject
*swig_obj
[1] ;
20827 if (!args
) SWIG_fail
;
20828 swig_obj
[0] = args
;
20829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20830 if (!SWIG_IsOK(res1
)) {
20831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetY" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20833 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20836 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
20837 wxPyEndAllowThreads(__tstate
);
20838 if (PyErr_Occurred()) SWIG_fail
;
20840 resultobj
= SWIG_From_int(static_cast< int >(result
));
20847 SWIGINTERN PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20848 PyObject
*resultobj
= 0;
20849 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20853 PyObject
*swig_obj
[1] ;
20855 if (!args
) SWIG_fail
;
20856 swig_obj
[0] = args
;
20857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20858 if (!SWIG_IsOK(res1
)) {
20859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetWheelRotation" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20861 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20864 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
20865 wxPyEndAllowThreads(__tstate
);
20866 if (PyErr_Occurred()) SWIG_fail
;
20868 resultobj
= SWIG_From_int(static_cast< int >(result
));
20875 SWIGINTERN PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20876 PyObject
*resultobj
= 0;
20877 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20881 PyObject
*swig_obj
[1] ;
20883 if (!args
) SWIG_fail
;
20884 swig_obj
[0] = args
;
20885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20886 if (!SWIG_IsOK(res1
)) {
20887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetWheelDelta" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20889 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20892 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
20893 wxPyEndAllowThreads(__tstate
);
20894 if (PyErr_Occurred()) SWIG_fail
;
20896 resultobj
= SWIG_From_int(static_cast< int >(result
));
20903 SWIGINTERN PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20904 PyObject
*resultobj
= 0;
20905 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20909 PyObject
*swig_obj
[1] ;
20911 if (!args
) SWIG_fail
;
20912 swig_obj
[0] = args
;
20913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20914 if (!SWIG_IsOK(res1
)) {
20915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetLinesPerAction" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20917 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20920 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
20921 wxPyEndAllowThreads(__tstate
);
20922 if (PyErr_Occurred()) SWIG_fail
;
20924 resultobj
= SWIG_From_int(static_cast< int >(result
));
20931 SWIGINTERN PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20932 PyObject
*resultobj
= 0;
20933 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20937 PyObject
*swig_obj
[1] ;
20939 if (!args
) SWIG_fail
;
20940 swig_obj
[0] = args
;
20941 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20942 if (!SWIG_IsOK(res1
)) {
20943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_IsPageScroll" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20945 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20948 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
20949 wxPyEndAllowThreads(__tstate
);
20950 if (PyErr_Occurred()) SWIG_fail
;
20953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20961 SWIGINTERN PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20962 PyObject
*resultobj
= 0;
20963 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20969 PyObject
*swig_obj
[2] ;
20971 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_x_set",2,2,swig_obj
)) SWIG_fail
;
20972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20973 if (!SWIG_IsOK(res1
)) {
20974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_x_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
20976 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20977 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
20978 if (!SWIG_IsOK(ecode2
)) {
20979 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_x_set" "', expected argument " "2"" of type '" "int""'");
20981 arg2
= static_cast< int >(val2
);
20982 if (arg1
) (arg1
)->m_x
= arg2
;
20984 resultobj
= SWIG_Py_Void();
20991 SWIGINTERN PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20992 PyObject
*resultobj
= 0;
20993 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20997 PyObject
*swig_obj
[1] ;
20999 if (!args
) SWIG_fail
;
21000 swig_obj
[0] = args
;
21001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21002 if (!SWIG_IsOK(res1
)) {
21003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_x_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21005 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21006 result
= (int) ((arg1
)->m_x
);
21007 resultobj
= SWIG_From_int(static_cast< int >(result
));
21014 SWIGINTERN PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21015 PyObject
*resultobj
= 0;
21016 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21022 PyObject
*swig_obj
[2] ;
21024 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_y_set",2,2,swig_obj
)) SWIG_fail
;
21025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21026 if (!SWIG_IsOK(res1
)) {
21027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_y_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21029 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21030 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
21031 if (!SWIG_IsOK(ecode2
)) {
21032 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_y_set" "', expected argument " "2"" of type '" "int""'");
21034 arg2
= static_cast< int >(val2
);
21035 if (arg1
) (arg1
)->m_y
= arg2
;
21037 resultobj
= SWIG_Py_Void();
21044 SWIGINTERN PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21045 PyObject
*resultobj
= 0;
21046 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21050 PyObject
*swig_obj
[1] ;
21052 if (!args
) SWIG_fail
;
21053 swig_obj
[0] = args
;
21054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21055 if (!SWIG_IsOK(res1
)) {
21056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_y_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21058 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21059 result
= (int) ((arg1
)->m_y
);
21060 resultobj
= SWIG_From_int(static_cast< int >(result
));
21067 SWIGINTERN PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21068 PyObject
*resultobj
= 0;
21069 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21075 PyObject
*swig_obj
[2] ;
21077 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_leftDown_set",2,2,swig_obj
)) SWIG_fail
;
21078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21079 if (!SWIG_IsOK(res1
)) {
21080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_leftDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21082 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21083 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
21084 if (!SWIG_IsOK(ecode2
)) {
21085 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_leftDown_set" "', expected argument " "2"" of type '" "bool""'");
21087 arg2
= static_cast< bool >(val2
);
21088 if (arg1
) (arg1
)->m_leftDown
= arg2
;
21090 resultobj
= SWIG_Py_Void();
21097 SWIGINTERN PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21098 PyObject
*resultobj
= 0;
21099 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21103 PyObject
*swig_obj
[1] ;
21105 if (!args
) SWIG_fail
;
21106 swig_obj
[0] = args
;
21107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21108 if (!SWIG_IsOK(res1
)) {
21109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_leftDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21111 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21112 result
= (bool) ((arg1
)->m_leftDown
);
21114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21122 SWIGINTERN PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21123 PyObject
*resultobj
= 0;
21124 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21130 PyObject
*swig_obj
[2] ;
21132 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_middleDown_set",2,2,swig_obj
)) SWIG_fail
;
21133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21134 if (!SWIG_IsOK(res1
)) {
21135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_middleDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21137 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21138 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
21139 if (!SWIG_IsOK(ecode2
)) {
21140 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_middleDown_set" "', expected argument " "2"" of type '" "bool""'");
21142 arg2
= static_cast< bool >(val2
);
21143 if (arg1
) (arg1
)->m_middleDown
= arg2
;
21145 resultobj
= SWIG_Py_Void();
21152 SWIGINTERN PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21153 PyObject
*resultobj
= 0;
21154 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21158 PyObject
*swig_obj
[1] ;
21160 if (!args
) SWIG_fail
;
21161 swig_obj
[0] = args
;
21162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21163 if (!SWIG_IsOK(res1
)) {
21164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_middleDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21166 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21167 result
= (bool) ((arg1
)->m_middleDown
);
21169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21177 SWIGINTERN PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21178 PyObject
*resultobj
= 0;
21179 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21185 PyObject
*swig_obj
[2] ;
21187 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_rightDown_set",2,2,swig_obj
)) SWIG_fail
;
21188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21189 if (!SWIG_IsOK(res1
)) {
21190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_rightDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21192 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21193 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
21194 if (!SWIG_IsOK(ecode2
)) {
21195 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_rightDown_set" "', expected argument " "2"" of type '" "bool""'");
21197 arg2
= static_cast< bool >(val2
);
21198 if (arg1
) (arg1
)->m_rightDown
= arg2
;
21200 resultobj
= SWIG_Py_Void();
21207 SWIGINTERN PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21208 PyObject
*resultobj
= 0;
21209 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21213 PyObject
*swig_obj
[1] ;
21215 if (!args
) SWIG_fail
;
21216 swig_obj
[0] = args
;
21217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21218 if (!SWIG_IsOK(res1
)) {
21219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_rightDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21221 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21222 result
= (bool) ((arg1
)->m_rightDown
);
21224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21232 SWIGINTERN PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21233 PyObject
*resultobj
= 0;
21234 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21240 PyObject
*swig_obj
[2] ;
21242 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_controlDown_set",2,2,swig_obj
)) SWIG_fail
;
21243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21244 if (!SWIG_IsOK(res1
)) {
21245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_controlDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21247 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21248 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
21249 if (!SWIG_IsOK(ecode2
)) {
21250 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_controlDown_set" "', expected argument " "2"" of type '" "bool""'");
21252 arg2
= static_cast< bool >(val2
);
21253 if (arg1
) (arg1
)->m_controlDown
= arg2
;
21255 resultobj
= SWIG_Py_Void();
21262 SWIGINTERN PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21263 PyObject
*resultobj
= 0;
21264 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21268 PyObject
*swig_obj
[1] ;
21270 if (!args
) SWIG_fail
;
21271 swig_obj
[0] = args
;
21272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21273 if (!SWIG_IsOK(res1
)) {
21274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_controlDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21276 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21277 result
= (bool) ((arg1
)->m_controlDown
);
21279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21287 SWIGINTERN PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21288 PyObject
*resultobj
= 0;
21289 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21295 PyObject
*swig_obj
[2] ;
21297 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_shiftDown_set",2,2,swig_obj
)) SWIG_fail
;
21298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21299 if (!SWIG_IsOK(res1
)) {
21300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_shiftDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21302 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21303 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
21304 if (!SWIG_IsOK(ecode2
)) {
21305 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_shiftDown_set" "', expected argument " "2"" of type '" "bool""'");
21307 arg2
= static_cast< bool >(val2
);
21308 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
21310 resultobj
= SWIG_Py_Void();
21317 SWIGINTERN PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21318 PyObject
*resultobj
= 0;
21319 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21323 PyObject
*swig_obj
[1] ;
21325 if (!args
) SWIG_fail
;
21326 swig_obj
[0] = args
;
21327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21328 if (!SWIG_IsOK(res1
)) {
21329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_shiftDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21331 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21332 result
= (bool) ((arg1
)->m_shiftDown
);
21334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21342 SWIGINTERN PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21343 PyObject
*resultobj
= 0;
21344 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21350 PyObject
*swig_obj
[2] ;
21352 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_altDown_set",2,2,swig_obj
)) SWIG_fail
;
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_m_altDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21357 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21358 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
21359 if (!SWIG_IsOK(ecode2
)) {
21360 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_altDown_set" "', expected argument " "2"" of type '" "bool""'");
21362 arg2
= static_cast< bool >(val2
);
21363 if (arg1
) (arg1
)->m_altDown
= arg2
;
21365 resultobj
= SWIG_Py_Void();
21372 SWIGINTERN PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21373 PyObject
*resultobj
= 0;
21374 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21378 PyObject
*swig_obj
[1] ;
21380 if (!args
) SWIG_fail
;
21381 swig_obj
[0] = args
;
21382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21383 if (!SWIG_IsOK(res1
)) {
21384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_altDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21386 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21387 result
= (bool) ((arg1
)->m_altDown
);
21389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21397 SWIGINTERN PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21398 PyObject
*resultobj
= 0;
21399 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21405 PyObject
*swig_obj
[2] ;
21407 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_metaDown_set",2,2,swig_obj
)) SWIG_fail
;
21408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21409 if (!SWIG_IsOK(res1
)) {
21410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_metaDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21412 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21413 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
21414 if (!SWIG_IsOK(ecode2
)) {
21415 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_metaDown_set" "', expected argument " "2"" of type '" "bool""'");
21417 arg2
= static_cast< bool >(val2
);
21418 if (arg1
) (arg1
)->m_metaDown
= arg2
;
21420 resultobj
= SWIG_Py_Void();
21427 SWIGINTERN PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21428 PyObject
*resultobj
= 0;
21429 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21433 PyObject
*swig_obj
[1] ;
21435 if (!args
) SWIG_fail
;
21436 swig_obj
[0] = args
;
21437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21438 if (!SWIG_IsOK(res1
)) {
21439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_metaDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21441 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21442 result
= (bool) ((arg1
)->m_metaDown
);
21444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21452 SWIGINTERN PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21453 PyObject
*resultobj
= 0;
21454 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21460 PyObject
*swig_obj
[2] ;
21462 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_wheelRotation_set",2,2,swig_obj
)) SWIG_fail
;
21463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21464 if (!SWIG_IsOK(res1
)) {
21465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_wheelRotation_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21467 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21468 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
21469 if (!SWIG_IsOK(ecode2
)) {
21470 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_wheelRotation_set" "', expected argument " "2"" of type '" "int""'");
21472 arg2
= static_cast< int >(val2
);
21473 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
21475 resultobj
= SWIG_Py_Void();
21482 SWIGINTERN PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21483 PyObject
*resultobj
= 0;
21484 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21488 PyObject
*swig_obj
[1] ;
21490 if (!args
) SWIG_fail
;
21491 swig_obj
[0] = args
;
21492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21493 if (!SWIG_IsOK(res1
)) {
21494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_wheelRotation_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21496 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21497 result
= (int) ((arg1
)->m_wheelRotation
);
21498 resultobj
= SWIG_From_int(static_cast< int >(result
));
21505 SWIGINTERN PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21506 PyObject
*resultobj
= 0;
21507 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21513 PyObject
*swig_obj
[2] ;
21515 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_wheelDelta_set",2,2,swig_obj
)) SWIG_fail
;
21516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21517 if (!SWIG_IsOK(res1
)) {
21518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_wheelDelta_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21520 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21521 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
21522 if (!SWIG_IsOK(ecode2
)) {
21523 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_wheelDelta_set" "', expected argument " "2"" of type '" "int""'");
21525 arg2
= static_cast< int >(val2
);
21526 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
21528 resultobj
= SWIG_Py_Void();
21535 SWIGINTERN PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21536 PyObject
*resultobj
= 0;
21537 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21541 PyObject
*swig_obj
[1] ;
21543 if (!args
) SWIG_fail
;
21544 swig_obj
[0] = args
;
21545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21546 if (!SWIG_IsOK(res1
)) {
21547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_wheelDelta_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21549 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21550 result
= (int) ((arg1
)->m_wheelDelta
);
21551 resultobj
= SWIG_From_int(static_cast< int >(result
));
21558 SWIGINTERN PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21559 PyObject
*resultobj
= 0;
21560 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21566 PyObject
*swig_obj
[2] ;
21568 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_linesPerAction_set",2,2,swig_obj
)) SWIG_fail
;
21569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21570 if (!SWIG_IsOK(res1
)) {
21571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_linesPerAction_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21573 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21574 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
21575 if (!SWIG_IsOK(ecode2
)) {
21576 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_linesPerAction_set" "', expected argument " "2"" of type '" "int""'");
21578 arg2
= static_cast< int >(val2
);
21579 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
21581 resultobj
= SWIG_Py_Void();
21588 SWIGINTERN PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21589 PyObject
*resultobj
= 0;
21590 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21594 PyObject
*swig_obj
[1] ;
21596 if (!args
) SWIG_fail
;
21597 swig_obj
[0] = args
;
21598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21599 if (!SWIG_IsOK(res1
)) {
21600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_linesPerAction_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21602 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21603 result
= (int) ((arg1
)->m_linesPerAction
);
21604 resultobj
= SWIG_From_int(static_cast< int >(result
));
21611 SWIGINTERN PyObject
*MouseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21613 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21614 SWIG_TypeNewClientData(SWIGTYPE_p_wxMouseEvent
, SWIG_NewClientData(obj
));
21615 return SWIG_Py_Void();
21618 SWIGINTERN PyObject
*MouseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21619 return SWIG_Python_InitShadowInstance(args
);
21622 SWIGINTERN PyObject
*_wrap_new_SetCursorEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21623 PyObject
*resultobj
= 0;
21624 int arg1
= (int) 0 ;
21625 int arg2
= (int) 0 ;
21626 wxSetCursorEvent
*result
= 0 ;
21631 PyObject
* obj0
= 0 ;
21632 PyObject
* obj1
= 0 ;
21633 char * kwnames
[] = {
21634 (char *) "x",(char *) "y", NULL
21637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21639 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21640 if (!SWIG_IsOK(ecode1
)) {
21641 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SetCursorEvent" "', expected argument " "1"" of type '" "int""'");
21643 arg1
= static_cast< int >(val1
);
21646 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21647 if (!SWIG_IsOK(ecode2
)) {
21648 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SetCursorEvent" "', expected argument " "2"" of type '" "int""'");
21650 arg2
= static_cast< int >(val2
);
21653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21654 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
21655 wxPyEndAllowThreads(__tstate
);
21656 if (PyErr_Occurred()) SWIG_fail
;
21658 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_NEW
| 0 );
21665 SWIGINTERN PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21666 PyObject
*resultobj
= 0;
21667 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
21671 PyObject
*swig_obj
[1] ;
21673 if (!args
) SWIG_fail
;
21674 swig_obj
[0] = args
;
21675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSetCursorEvent
, 0 | 0 );
21676 if (!SWIG_IsOK(res1
)) {
21677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursorEvent_GetX" "', expected argument " "1"" of type '" "wxSetCursorEvent const *""'");
21679 arg1
= reinterpret_cast< wxSetCursorEvent
* >(argp1
);
21681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21682 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
21683 wxPyEndAllowThreads(__tstate
);
21684 if (PyErr_Occurred()) SWIG_fail
;
21686 resultobj
= SWIG_From_int(static_cast< int >(result
));
21693 SWIGINTERN PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21694 PyObject
*resultobj
= 0;
21695 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
21699 PyObject
*swig_obj
[1] ;
21701 if (!args
) SWIG_fail
;
21702 swig_obj
[0] = args
;
21703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSetCursorEvent
, 0 | 0 );
21704 if (!SWIG_IsOK(res1
)) {
21705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursorEvent_GetY" "', expected argument " "1"" of type '" "wxSetCursorEvent const *""'");
21707 arg1
= reinterpret_cast< wxSetCursorEvent
* >(argp1
);
21709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21710 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
21711 wxPyEndAllowThreads(__tstate
);
21712 if (PyErr_Occurred()) SWIG_fail
;
21714 resultobj
= SWIG_From_int(static_cast< int >(result
));
21721 SWIGINTERN PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21722 PyObject
*resultobj
= 0;
21723 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
21724 wxCursor
*arg2
= 0 ;
21729 PyObject
* obj0
= 0 ;
21730 PyObject
* obj1
= 0 ;
21731 char * kwnames
[] = {
21732 (char *) "self",(char *) "cursor", NULL
21735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSetCursorEvent
, 0 | 0 );
21737 if (!SWIG_IsOK(res1
)) {
21738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursorEvent_SetCursor" "', expected argument " "1"" of type '" "wxSetCursorEvent *""'");
21740 arg1
= reinterpret_cast< wxSetCursorEvent
* >(argp1
);
21741 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
21742 if (!SWIG_IsOK(res2
)) {
21743 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SetCursorEvent_SetCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
21746 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SetCursorEvent_SetCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
21748 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
21750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21751 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
21752 wxPyEndAllowThreads(__tstate
);
21753 if (PyErr_Occurred()) SWIG_fail
;
21755 resultobj
= SWIG_Py_Void();
21762 SWIGINTERN PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21763 PyObject
*resultobj
= 0;
21764 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
21765 wxCursor
*result
= 0 ;
21768 PyObject
*swig_obj
[1] ;
21770 if (!args
) SWIG_fail
;
21771 swig_obj
[0] = args
;
21772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSetCursorEvent
, 0 | 0 );
21773 if (!SWIG_IsOK(res1
)) {
21774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursorEvent_GetCursor" "', expected argument " "1"" of type '" "wxSetCursorEvent const *""'");
21776 arg1
= reinterpret_cast< wxSetCursorEvent
* >(argp1
);
21778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21780 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
21781 result
= (wxCursor
*) &_result_ref
;
21783 wxPyEndAllowThreads(__tstate
);
21784 if (PyErr_Occurred()) SWIG_fail
;
21787 wxCursor
* resultptr
= new wxCursor(*result
);
21788 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
21796 SWIGINTERN PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21797 PyObject
*resultobj
= 0;
21798 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
21802 PyObject
*swig_obj
[1] ;
21804 if (!args
) SWIG_fail
;
21805 swig_obj
[0] = args
;
21806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSetCursorEvent
, 0 | 0 );
21807 if (!SWIG_IsOK(res1
)) {
21808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursorEvent_HasCursor" "', expected argument " "1"" of type '" "wxSetCursorEvent const *""'");
21810 arg1
= reinterpret_cast< wxSetCursorEvent
* >(argp1
);
21812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21813 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
21814 wxPyEndAllowThreads(__tstate
);
21815 if (PyErr_Occurred()) SWIG_fail
;
21818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21826 SWIGINTERN PyObject
*SetCursorEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21828 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21829 SWIG_TypeNewClientData(SWIGTYPE_p_wxSetCursorEvent
, SWIG_NewClientData(obj
));
21830 return SWIG_Py_Void();
21833 SWIGINTERN PyObject
*SetCursorEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21834 return SWIG_Python_InitShadowInstance(args
);
21837 SWIGINTERN PyObject
*_wrap_new_KeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21838 PyObject
*resultobj
= 0;
21839 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21840 wxKeyEvent
*result
= 0 ;
21843 PyObject
* obj0
= 0 ;
21844 char * kwnames
[] = {
21845 (char *) "eventType", NULL
21848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) SWIG_fail
;
21850 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21851 if (!SWIG_IsOK(ecode1
)) {
21852 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_KeyEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21854 arg1
= static_cast< wxEventType
>(val1
);
21857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21858 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
21859 wxPyEndAllowThreads(__tstate
);
21860 if (PyErr_Occurred()) SWIG_fail
;
21862 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_NEW
| 0 );
21869 SWIGINTERN PyObject
*_wrap_KeyEvent_GetModifiers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21870 PyObject
*resultobj
= 0;
21871 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
21875 PyObject
*swig_obj
[1] ;
21877 if (!args
) SWIG_fail
;
21878 swig_obj
[0] = args
;
21879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
21880 if (!SWIG_IsOK(res1
)) {
21881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetModifiers" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
21883 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
21885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21886 result
= (int)((wxKeyEvent
const *)arg1
)->GetModifiers();
21887 wxPyEndAllowThreads(__tstate
);
21888 if (PyErr_Occurred()) SWIG_fail
;
21890 resultobj
= SWIG_From_int(static_cast< int >(result
));
21897 SWIGINTERN PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21898 PyObject
*resultobj
= 0;
21899 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
21903 PyObject
*swig_obj
[1] ;
21905 if (!args
) SWIG_fail
;
21906 swig_obj
[0] = args
;
21907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
21908 if (!SWIG_IsOK(res1
)) {
21909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_ControlDown" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
21911 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
21913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21914 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
21915 wxPyEndAllowThreads(__tstate
);
21916 if (PyErr_Occurred()) SWIG_fail
;
21919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21927 SWIGINTERN PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21928 PyObject
*resultobj
= 0;
21929 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
21933 PyObject
*swig_obj
[1] ;
21935 if (!args
) SWIG_fail
;
21936 swig_obj
[0] = args
;
21937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
21938 if (!SWIG_IsOK(res1
)) {
21939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_MetaDown" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
21941 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
21943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21944 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
21945 wxPyEndAllowThreads(__tstate
);
21946 if (PyErr_Occurred()) SWIG_fail
;
21949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21957 SWIGINTERN PyObject
*_wrap_KeyEvent_AltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21958 PyObject
*resultobj
= 0;
21959 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
21963 PyObject
*swig_obj
[1] ;
21965 if (!args
) SWIG_fail
;
21966 swig_obj
[0] = args
;
21967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
21968 if (!SWIG_IsOK(res1
)) {
21969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_AltDown" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
21971 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
21973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21974 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
21975 wxPyEndAllowThreads(__tstate
);
21976 if (PyErr_Occurred()) SWIG_fail
;
21979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21987 SWIGINTERN PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21988 PyObject
*resultobj
= 0;
21989 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
21993 PyObject
*swig_obj
[1] ;
21995 if (!args
) SWIG_fail
;
21996 swig_obj
[0] = args
;
21997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
21998 if (!SWIG_IsOK(res1
)) {
21999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_ShiftDown" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
22001 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22004 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
22005 wxPyEndAllowThreads(__tstate
);
22006 if (PyErr_Occurred()) SWIG_fail
;
22009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22017 SWIGINTERN PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22018 PyObject
*resultobj
= 0;
22019 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22023 PyObject
*swig_obj
[1] ;
22025 if (!args
) SWIG_fail
;
22026 swig_obj
[0] = args
;
22027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22028 if (!SWIG_IsOK(res1
)) {
22029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_CmdDown" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
22031 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22034 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
22035 wxPyEndAllowThreads(__tstate
);
22036 if (PyErr_Occurred()) SWIG_fail
;
22039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22047 SWIGINTERN PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22048 PyObject
*resultobj
= 0;
22049 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22053 PyObject
*swig_obj
[1] ;
22055 if (!args
) SWIG_fail
;
22056 swig_obj
[0] = args
;
22057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22058 if (!SWIG_IsOK(res1
)) {
22059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_HasModifiers" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
22061 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22064 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
22065 wxPyEndAllowThreads(__tstate
);
22066 if (PyErr_Occurred()) SWIG_fail
;
22069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22077 SWIGINTERN PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22078 PyObject
*resultobj
= 0;
22079 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22083 PyObject
*swig_obj
[1] ;
22085 if (!args
) SWIG_fail
;
22086 swig_obj
[0] = args
;
22087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22088 if (!SWIG_IsOK(res1
)) {
22089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
22091 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22094 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
22095 wxPyEndAllowThreads(__tstate
);
22096 if (PyErr_Occurred()) SWIG_fail
;
22098 resultobj
= SWIG_From_int(static_cast< int >(result
));
22105 SWIGINTERN PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22106 PyObject
*resultobj
= 0;
22107 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22111 PyObject
*swig_obj
[1] ;
22113 if (!args
) SWIG_fail
;
22114 swig_obj
[0] = args
;
22115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22116 if (!SWIG_IsOK(res1
)) {
22117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetUnicodeKey" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22119 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22122 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
22123 wxPyEndAllowThreads(__tstate
);
22124 if (PyErr_Occurred()) SWIG_fail
;
22126 resultobj
= SWIG_From_int(static_cast< int >(result
));
22133 SWIGINTERN PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22134 PyObject
*resultobj
= 0;
22135 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22136 unsigned int result
;
22139 PyObject
*swig_obj
[1] ;
22141 if (!args
) SWIG_fail
;
22142 swig_obj
[0] = args
;
22143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22144 if (!SWIG_IsOK(res1
)) {
22145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetRawKeyCode" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
22147 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22150 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
22151 wxPyEndAllowThreads(__tstate
);
22152 if (PyErr_Occurred()) SWIG_fail
;
22154 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
22161 SWIGINTERN PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22162 PyObject
*resultobj
= 0;
22163 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22164 unsigned int result
;
22167 PyObject
*swig_obj
[1] ;
22169 if (!args
) SWIG_fail
;
22170 swig_obj
[0] = args
;
22171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22172 if (!SWIG_IsOK(res1
)) {
22173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetRawKeyFlags" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
22175 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22178 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
22179 wxPyEndAllowThreads(__tstate
);
22180 if (PyErr_Occurred()) SWIG_fail
;
22182 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
22189 SWIGINTERN PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22190 PyObject
*resultobj
= 0;
22191 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22195 PyObject
*swig_obj
[1] ;
22197 if (!args
) SWIG_fail
;
22198 swig_obj
[0] = args
;
22199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22200 if (!SWIG_IsOK(res1
)) {
22201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetPosition" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22203 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22206 result
= (arg1
)->GetPosition();
22207 wxPyEndAllowThreads(__tstate
);
22208 if (PyErr_Occurred()) SWIG_fail
;
22210 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22217 SWIGINTERN PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22218 PyObject
*resultobj
= 0;
22219 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22220 long *arg2
= (long *) 0 ;
22221 long *arg3
= (long *) 0 ;
22225 int res2
= SWIG_TMPOBJ
;
22227 int res3
= SWIG_TMPOBJ
;
22228 PyObject
*swig_obj
[1] ;
22232 if (!args
) SWIG_fail
;
22233 swig_obj
[0] = args
;
22234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22235 if (!SWIG_IsOK(res1
)) {
22236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetPositionTuple" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22238 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22241 (arg1
)->GetPosition(arg2
,arg3
);
22242 wxPyEndAllowThreads(__tstate
);
22243 if (PyErr_Occurred()) SWIG_fail
;
22245 resultobj
= SWIG_Py_Void();
22246 if (SWIG_IsTmpObj(res2
)) {
22247 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
22249 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22250 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
22252 if (SWIG_IsTmpObj(res3
)) {
22253 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
22255 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22256 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
22264 SWIGINTERN PyObject
*_wrap_KeyEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22265 PyObject
*resultobj
= 0;
22266 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22270 PyObject
*swig_obj
[1] ;
22272 if (!args
) SWIG_fail
;
22273 swig_obj
[0] = args
;
22274 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22275 if (!SWIG_IsOK(res1
)) {
22276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetX" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
22278 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22281 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
22282 wxPyEndAllowThreads(__tstate
);
22283 if (PyErr_Occurred()) SWIG_fail
;
22285 resultobj
= SWIG_From_int(static_cast< int >(result
));
22292 SWIGINTERN PyObject
*_wrap_KeyEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22293 PyObject
*resultobj
= 0;
22294 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22298 PyObject
*swig_obj
[1] ;
22300 if (!args
) SWIG_fail
;
22301 swig_obj
[0] = args
;
22302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22303 if (!SWIG_IsOK(res1
)) {
22304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetY" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
22306 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22309 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
22310 wxPyEndAllowThreads(__tstate
);
22311 if (PyErr_Occurred()) SWIG_fail
;
22313 resultobj
= SWIG_From_int(static_cast< int >(result
));
22320 SWIGINTERN PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22321 PyObject
*resultobj
= 0;
22322 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22328 PyObject
*swig_obj
[2] ;
22330 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_x_set",2,2,swig_obj
)) SWIG_fail
;
22331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22332 if (!SWIG_IsOK(res1
)) {
22333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_x_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22335 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22336 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
22337 if (!SWIG_IsOK(ecode2
)) {
22338 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_x_set" "', expected argument " "2"" of type '" "int""'");
22340 arg2
= static_cast< int >(val2
);
22341 if (arg1
) (arg1
)->m_x
= arg2
;
22343 resultobj
= SWIG_Py_Void();
22350 SWIGINTERN PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22351 PyObject
*resultobj
= 0;
22352 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22356 PyObject
*swig_obj
[1] ;
22358 if (!args
) SWIG_fail
;
22359 swig_obj
[0] = args
;
22360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22361 if (!SWIG_IsOK(res1
)) {
22362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_x_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22364 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22365 result
= (int) ((arg1
)->m_x
);
22366 resultobj
= SWIG_From_int(static_cast< int >(result
));
22373 SWIGINTERN PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22374 PyObject
*resultobj
= 0;
22375 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22381 PyObject
*swig_obj
[2] ;
22383 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_y_set",2,2,swig_obj
)) SWIG_fail
;
22384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22385 if (!SWIG_IsOK(res1
)) {
22386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_y_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22388 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22389 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
22390 if (!SWIG_IsOK(ecode2
)) {
22391 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_y_set" "', expected argument " "2"" of type '" "int""'");
22393 arg2
= static_cast< int >(val2
);
22394 if (arg1
) (arg1
)->m_y
= arg2
;
22396 resultobj
= SWIG_Py_Void();
22403 SWIGINTERN PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22404 PyObject
*resultobj
= 0;
22405 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22409 PyObject
*swig_obj
[1] ;
22411 if (!args
) SWIG_fail
;
22412 swig_obj
[0] = args
;
22413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22414 if (!SWIG_IsOK(res1
)) {
22415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_y_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22417 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22418 result
= (int) ((arg1
)->m_y
);
22419 resultobj
= SWIG_From_int(static_cast< int >(result
));
22426 SWIGINTERN PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22427 PyObject
*resultobj
= 0;
22428 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22434 PyObject
*swig_obj
[2] ;
22436 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_keyCode_set",2,2,swig_obj
)) SWIG_fail
;
22437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22438 if (!SWIG_IsOK(res1
)) {
22439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_keyCode_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22441 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22442 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
22443 if (!SWIG_IsOK(ecode2
)) {
22444 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_keyCode_set" "', expected argument " "2"" of type '" "long""'");
22446 arg2
= static_cast< long >(val2
);
22447 if (arg1
) (arg1
)->m_keyCode
= arg2
;
22449 resultobj
= SWIG_Py_Void();
22456 SWIGINTERN PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22457 PyObject
*resultobj
= 0;
22458 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22462 PyObject
*swig_obj
[1] ;
22464 if (!args
) SWIG_fail
;
22465 swig_obj
[0] = args
;
22466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22467 if (!SWIG_IsOK(res1
)) {
22468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_keyCode_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22470 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22471 result
= (long) ((arg1
)->m_keyCode
);
22472 resultobj
= SWIG_From_long(static_cast< long >(result
));
22479 SWIGINTERN PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22480 PyObject
*resultobj
= 0;
22481 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22487 PyObject
*swig_obj
[2] ;
22489 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_controlDown_set",2,2,swig_obj
)) SWIG_fail
;
22490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22491 if (!SWIG_IsOK(res1
)) {
22492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_controlDown_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22494 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22495 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
22496 if (!SWIG_IsOK(ecode2
)) {
22497 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_controlDown_set" "', expected argument " "2"" of type '" "bool""'");
22499 arg2
= static_cast< bool >(val2
);
22500 if (arg1
) (arg1
)->m_controlDown
= arg2
;
22502 resultobj
= SWIG_Py_Void();
22509 SWIGINTERN PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22510 PyObject
*resultobj
= 0;
22511 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22515 PyObject
*swig_obj
[1] ;
22517 if (!args
) SWIG_fail
;
22518 swig_obj
[0] = args
;
22519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22520 if (!SWIG_IsOK(res1
)) {
22521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_controlDown_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22523 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22524 result
= (bool) ((arg1
)->m_controlDown
);
22526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22534 SWIGINTERN PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22535 PyObject
*resultobj
= 0;
22536 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22542 PyObject
*swig_obj
[2] ;
22544 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_shiftDown_set",2,2,swig_obj
)) SWIG_fail
;
22545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22546 if (!SWIG_IsOK(res1
)) {
22547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_shiftDown_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22549 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22550 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
22551 if (!SWIG_IsOK(ecode2
)) {
22552 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_shiftDown_set" "', expected argument " "2"" of type '" "bool""'");
22554 arg2
= static_cast< bool >(val2
);
22555 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
22557 resultobj
= SWIG_Py_Void();
22564 SWIGINTERN PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22565 PyObject
*resultobj
= 0;
22566 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22570 PyObject
*swig_obj
[1] ;
22572 if (!args
) SWIG_fail
;
22573 swig_obj
[0] = args
;
22574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22575 if (!SWIG_IsOK(res1
)) {
22576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_shiftDown_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22578 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22579 result
= (bool) ((arg1
)->m_shiftDown
);
22581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22589 SWIGINTERN PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22590 PyObject
*resultobj
= 0;
22591 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22597 PyObject
*swig_obj
[2] ;
22599 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_altDown_set",2,2,swig_obj
)) SWIG_fail
;
22600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22601 if (!SWIG_IsOK(res1
)) {
22602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_altDown_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22604 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22605 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
22606 if (!SWIG_IsOK(ecode2
)) {
22607 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_altDown_set" "', expected argument " "2"" of type '" "bool""'");
22609 arg2
= static_cast< bool >(val2
);
22610 if (arg1
) (arg1
)->m_altDown
= arg2
;
22612 resultobj
= SWIG_Py_Void();
22619 SWIGINTERN PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22620 PyObject
*resultobj
= 0;
22621 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22625 PyObject
*swig_obj
[1] ;
22627 if (!args
) SWIG_fail
;
22628 swig_obj
[0] = args
;
22629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22630 if (!SWIG_IsOK(res1
)) {
22631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_altDown_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22633 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22634 result
= (bool) ((arg1
)->m_altDown
);
22636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22644 SWIGINTERN PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22645 PyObject
*resultobj
= 0;
22646 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22652 PyObject
*swig_obj
[2] ;
22654 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_metaDown_set",2,2,swig_obj
)) SWIG_fail
;
22655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22656 if (!SWIG_IsOK(res1
)) {
22657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_metaDown_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22659 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22660 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
22661 if (!SWIG_IsOK(ecode2
)) {
22662 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_metaDown_set" "', expected argument " "2"" of type '" "bool""'");
22664 arg2
= static_cast< bool >(val2
);
22665 if (arg1
) (arg1
)->m_metaDown
= arg2
;
22667 resultobj
= SWIG_Py_Void();
22674 SWIGINTERN PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22675 PyObject
*resultobj
= 0;
22676 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22680 PyObject
*swig_obj
[1] ;
22682 if (!args
) SWIG_fail
;
22683 swig_obj
[0] = args
;
22684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22685 if (!SWIG_IsOK(res1
)) {
22686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_metaDown_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22688 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22689 result
= (bool) ((arg1
)->m_metaDown
);
22691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22699 SWIGINTERN PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22700 PyObject
*resultobj
= 0;
22701 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22707 PyObject
*swig_obj
[2] ;
22709 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_scanCode_set",2,2,swig_obj
)) SWIG_fail
;
22710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22711 if (!SWIG_IsOK(res1
)) {
22712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_scanCode_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22714 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22715 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
22716 if (!SWIG_IsOK(ecode2
)) {
22717 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_scanCode_set" "', expected argument " "2"" of type '" "bool""'");
22719 arg2
= static_cast< bool >(val2
);
22720 if (arg1
) (arg1
)->m_scanCode
= arg2
;
22722 resultobj
= SWIG_Py_Void();
22729 SWIGINTERN PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22730 PyObject
*resultobj
= 0;
22731 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22735 PyObject
*swig_obj
[1] ;
22737 if (!args
) SWIG_fail
;
22738 swig_obj
[0] = args
;
22739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22740 if (!SWIG_IsOK(res1
)) {
22741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_scanCode_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22743 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22744 result
= (bool) ((arg1
)->m_scanCode
);
22746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22754 SWIGINTERN PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22755 PyObject
*resultobj
= 0;
22756 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22757 unsigned int arg2
;
22760 unsigned int val2
;
22762 PyObject
*swig_obj
[2] ;
22764 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_rawCode_set",2,2,swig_obj
)) SWIG_fail
;
22765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22766 if (!SWIG_IsOK(res1
)) {
22767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_rawCode_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22769 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22770 ecode2
= SWIG_AsVal_unsigned_SS_int(swig_obj
[1], &val2
);
22771 if (!SWIG_IsOK(ecode2
)) {
22772 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_rawCode_set" "', expected argument " "2"" of type '" "unsigned int""'");
22774 arg2
= static_cast< unsigned int >(val2
);
22775 if (arg1
) (arg1
)->m_rawCode
= arg2
;
22777 resultobj
= SWIG_Py_Void();
22784 SWIGINTERN PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22785 PyObject
*resultobj
= 0;
22786 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22787 unsigned int result
;
22790 PyObject
*swig_obj
[1] ;
22792 if (!args
) SWIG_fail
;
22793 swig_obj
[0] = args
;
22794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22795 if (!SWIG_IsOK(res1
)) {
22796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_rawCode_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22798 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22799 result
= (unsigned int) ((arg1
)->m_rawCode
);
22800 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
22807 SWIGINTERN PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22808 PyObject
*resultobj
= 0;
22809 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22810 unsigned int arg2
;
22813 unsigned int val2
;
22815 PyObject
*swig_obj
[2] ;
22817 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_rawFlags_set",2,2,swig_obj
)) SWIG_fail
;
22818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22819 if (!SWIG_IsOK(res1
)) {
22820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_rawFlags_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22822 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22823 ecode2
= SWIG_AsVal_unsigned_SS_int(swig_obj
[1], &val2
);
22824 if (!SWIG_IsOK(ecode2
)) {
22825 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_rawFlags_set" "', expected argument " "2"" of type '" "unsigned int""'");
22827 arg2
= static_cast< unsigned int >(val2
);
22828 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
22830 resultobj
= SWIG_Py_Void();
22837 SWIGINTERN PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22838 PyObject
*resultobj
= 0;
22839 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22840 unsigned int result
;
22843 PyObject
*swig_obj
[1] ;
22845 if (!args
) SWIG_fail
;
22846 swig_obj
[0] = args
;
22847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22848 if (!SWIG_IsOK(res1
)) {
22849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_rawFlags_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22851 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22852 result
= (unsigned int) ((arg1
)->m_rawFlags
);
22853 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
22860 SWIGINTERN PyObject
*KeyEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22862 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22863 SWIG_TypeNewClientData(SWIGTYPE_p_wxKeyEvent
, SWIG_NewClientData(obj
));
22864 return SWIG_Py_Void();
22867 SWIGINTERN PyObject
*KeyEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22868 return SWIG_Python_InitShadowInstance(args
);
22871 SWIGINTERN PyObject
*_wrap_new_SizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22872 PyObject
*resultobj
= 0;
22873 wxSize
const &arg1_defvalue
= wxDefaultSize
;
22874 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
22875 int arg2
= (int) 0 ;
22876 wxSizeEvent
*result
= 0 ;
22880 PyObject
* obj0
= 0 ;
22881 PyObject
* obj1
= 0 ;
22882 char * kwnames
[] = {
22883 (char *) "sz",(char *) "winid", NULL
22886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22890 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
22894 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22895 if (!SWIG_IsOK(ecode2
)) {
22896 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SizeEvent" "', expected argument " "2"" of type '" "int""'");
22898 arg2
= static_cast< int >(val2
);
22901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22902 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
22903 wxPyEndAllowThreads(__tstate
);
22904 if (PyErr_Occurred()) SWIG_fail
;
22906 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_NEW
| 0 );
22913 SWIGINTERN PyObject
*_wrap_SizeEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22914 PyObject
*resultobj
= 0;
22915 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
22919 PyObject
*swig_obj
[1] ;
22921 if (!args
) SWIG_fail
;
22922 swig_obj
[0] = args
;
22923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
22924 if (!SWIG_IsOK(res1
)) {
22925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_GetSize" "', expected argument " "1"" of type '" "wxSizeEvent const *""'");
22927 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
22929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22930 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
22931 wxPyEndAllowThreads(__tstate
);
22932 if (PyErr_Occurred()) SWIG_fail
;
22934 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22941 SWIGINTERN PyObject
*_wrap_SizeEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22942 PyObject
*resultobj
= 0;
22943 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
22947 PyObject
*swig_obj
[1] ;
22949 if (!args
) SWIG_fail
;
22950 swig_obj
[0] = args
;
22951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
22952 if (!SWIG_IsOK(res1
)) {
22953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_GetRect" "', expected argument " "1"" of type '" "wxSizeEvent const *""'");
22955 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
22957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22958 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
22959 wxPyEndAllowThreads(__tstate
);
22960 if (PyErr_Occurred()) SWIG_fail
;
22962 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
22969 SWIGINTERN PyObject
*_wrap_SizeEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22970 PyObject
*resultobj
= 0;
22971 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
22977 PyObject
* obj0
= 0 ;
22978 PyObject
* obj1
= 0 ;
22979 char * kwnames
[] = {
22980 (char *) "self",(char *) "rect", NULL
22983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
22985 if (!SWIG_IsOK(res1
)) {
22986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_SetRect" "', expected argument " "1"" of type '" "wxSizeEvent *""'");
22988 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
22990 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRect
, 0 | 0);
22991 if (!SWIG_IsOK(res2
)) {
22992 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SizeEvent_SetRect" "', expected argument " "2"" of type '" "wxRect""'");
22995 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SizeEvent_SetRect" "', expected argument " "2"" of type '" "wxRect""'");
22997 wxRect
* temp
= reinterpret_cast< wxRect
* >(argp2
);
22999 if (SWIG_IsNewObj(res2
)) delete temp
;
23003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23004 (arg1
)->SetRect(arg2
);
23005 wxPyEndAllowThreads(__tstate
);
23006 if (PyErr_Occurred()) SWIG_fail
;
23008 resultobj
= SWIG_Py_Void();
23015 SWIGINTERN PyObject
*_wrap_SizeEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23016 PyObject
*resultobj
= 0;
23017 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
23023 PyObject
* obj0
= 0 ;
23024 PyObject
* obj1
= 0 ;
23025 char * kwnames
[] = {
23026 (char *) "self",(char *) "size", NULL
23029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
23031 if (!SWIG_IsOK(res1
)) {
23032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_SetSize" "', expected argument " "1"" of type '" "wxSizeEvent *""'");
23034 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
23036 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxSize
, 0 | 0);
23037 if (!SWIG_IsOK(res2
)) {
23038 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SizeEvent_SetSize" "', expected argument " "2"" of type '" "wxSize""'");
23041 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SizeEvent_SetSize" "', expected argument " "2"" of type '" "wxSize""'");
23043 wxSize
* temp
= reinterpret_cast< wxSize
* >(argp2
);
23045 if (SWIG_IsNewObj(res2
)) delete temp
;
23049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23050 wxSizeEvent_SetSize(arg1
,arg2
);
23051 wxPyEndAllowThreads(__tstate
);
23052 if (PyErr_Occurred()) SWIG_fail
;
23054 resultobj
= SWIG_Py_Void();
23061 SWIGINTERN PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23062 PyObject
*resultobj
= 0;
23063 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
23064 wxSize
*arg2
= (wxSize
*) 0 ;
23069 PyObject
*swig_obj
[2] ;
23071 if (!SWIG_Python_UnpackTuple(args
,"SizeEvent_m_size_set",2,2,swig_obj
)) SWIG_fail
;
23072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
23073 if (!SWIG_IsOK(res1
)) {
23074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_m_size_set" "', expected argument " "1"" of type '" "wxSizeEvent *""'");
23076 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
23077 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxSize
, 0 | 0 );
23078 if (!SWIG_IsOK(res2
)) {
23079 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SizeEvent_m_size_set" "', expected argument " "2"" of type '" "wxSize *""'");
23081 arg2
= reinterpret_cast< wxSize
* >(argp2
);
23082 if (arg1
) (arg1
)->m_size
= *arg2
;
23084 resultobj
= SWIG_Py_Void();
23091 SWIGINTERN PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23092 PyObject
*resultobj
= 0;
23093 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
23094 wxSize
*result
= 0 ;
23097 PyObject
*swig_obj
[1] ;
23099 if (!args
) SWIG_fail
;
23100 swig_obj
[0] = args
;
23101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
23102 if (!SWIG_IsOK(res1
)) {
23103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_m_size_get" "', expected argument " "1"" of type '" "wxSizeEvent *""'");
23105 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
23106 result
= (wxSize
*)& ((arg1
)->m_size
);
23107 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
23114 SWIGINTERN PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23115 PyObject
*resultobj
= 0;
23116 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
23117 wxRect
*arg2
= (wxRect
*) 0 ;
23122 PyObject
*swig_obj
[2] ;
23124 if (!SWIG_Python_UnpackTuple(args
,"SizeEvent_m_rect_set",2,2,swig_obj
)) SWIG_fail
;
23125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
23126 if (!SWIG_IsOK(res1
)) {
23127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_m_rect_set" "', expected argument " "1"" of type '" "wxSizeEvent *""'");
23129 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
23130 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
23131 if (!SWIG_IsOK(res2
)) {
23132 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SizeEvent_m_rect_set" "', expected argument " "2"" of type '" "wxRect *""'");
23134 arg2
= reinterpret_cast< wxRect
* >(argp2
);
23135 if (arg1
) (arg1
)->m_rect
= *arg2
;
23137 resultobj
= SWIG_Py_Void();
23144 SWIGINTERN PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23145 PyObject
*resultobj
= 0;
23146 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
23147 wxRect
*result
= 0 ;
23150 PyObject
*swig_obj
[1] ;
23152 if (!args
) SWIG_fail
;
23153 swig_obj
[0] = args
;
23154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
23155 if (!SWIG_IsOK(res1
)) {
23156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_m_rect_get" "', expected argument " "1"" of type '" "wxSizeEvent *""'");
23158 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
23159 result
= (wxRect
*)& ((arg1
)->m_rect
);
23160 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, 0 | 0 );
23167 SWIGINTERN PyObject
*SizeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23169 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23170 SWIG_TypeNewClientData(SWIGTYPE_p_wxSizeEvent
, SWIG_NewClientData(obj
));
23171 return SWIG_Py_Void();
23174 SWIGINTERN PyObject
*SizeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23175 return SWIG_Python_InitShadowInstance(args
);
23178 SWIGINTERN PyObject
*_wrap_new_MoveEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23179 PyObject
*resultobj
= 0;
23180 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
23181 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
23182 int arg2
= (int) 0 ;
23183 wxMoveEvent
*result
= 0 ;
23187 PyObject
* obj0
= 0 ;
23188 PyObject
* obj1
= 0 ;
23189 char * kwnames
[] = {
23190 (char *) "pos",(char *) "winid", NULL
23193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23197 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
23201 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23202 if (!SWIG_IsOK(ecode2
)) {
23203 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MoveEvent" "', expected argument " "2"" of type '" "int""'");
23205 arg2
= static_cast< int >(val2
);
23208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23209 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
23210 wxPyEndAllowThreads(__tstate
);
23211 if (PyErr_Occurred()) SWIG_fail
;
23213 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_NEW
| 0 );
23220 SWIGINTERN PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23221 PyObject
*resultobj
= 0;
23222 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
23226 PyObject
*swig_obj
[1] ;
23228 if (!args
) SWIG_fail
;
23229 swig_obj
[0] = args
;
23230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMoveEvent
, 0 | 0 );
23231 if (!SWIG_IsOK(res1
)) {
23232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MoveEvent_GetPosition" "', expected argument " "1"" of type '" "wxMoveEvent const *""'");
23234 arg1
= reinterpret_cast< wxMoveEvent
* >(argp1
);
23236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23237 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
23238 wxPyEndAllowThreads(__tstate
);
23239 if (PyErr_Occurred()) SWIG_fail
;
23241 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
23248 SWIGINTERN PyObject
*_wrap_MoveEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23249 PyObject
*resultobj
= 0;
23250 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
23254 PyObject
*swig_obj
[1] ;
23256 if (!args
) SWIG_fail
;
23257 swig_obj
[0] = args
;
23258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMoveEvent
, 0 | 0 );
23259 if (!SWIG_IsOK(res1
)) {
23260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MoveEvent_GetRect" "', expected argument " "1"" of type '" "wxMoveEvent const *""'");
23262 arg1
= reinterpret_cast< wxMoveEvent
* >(argp1
);
23264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23265 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
23266 wxPyEndAllowThreads(__tstate
);
23267 if (PyErr_Occurred()) SWIG_fail
;
23269 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
23276 SWIGINTERN PyObject
*_wrap_MoveEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23277 PyObject
*resultobj
= 0;
23278 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
23283 PyObject
* obj0
= 0 ;
23284 PyObject
* obj1
= 0 ;
23285 char * kwnames
[] = {
23286 (char *) "self",(char *) "rect", NULL
23289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMoveEvent
, 0 | 0 );
23291 if (!SWIG_IsOK(res1
)) {
23292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MoveEvent_SetRect" "', expected argument " "1"" of type '" "wxMoveEvent *""'");
23294 arg1
= reinterpret_cast< wxMoveEvent
* >(argp1
);
23297 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
23300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23301 (arg1
)->SetRect((wxRect
const &)*arg2
);
23302 wxPyEndAllowThreads(__tstate
);
23303 if (PyErr_Occurred()) SWIG_fail
;
23305 resultobj
= SWIG_Py_Void();
23312 SWIGINTERN PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23313 PyObject
*resultobj
= 0;
23314 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
23315 wxPoint
*arg2
= 0 ;
23319 PyObject
* obj0
= 0 ;
23320 PyObject
* obj1
= 0 ;
23321 char * kwnames
[] = {
23322 (char *) "self",(char *) "pos", NULL
23325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMoveEvent
, 0 | 0 );
23327 if (!SWIG_IsOK(res1
)) {
23328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MoveEvent_SetPosition" "', expected argument " "1"" of type '" "wxMoveEvent *""'");
23330 arg1
= reinterpret_cast< wxMoveEvent
* >(argp1
);
23333 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23337 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
23338 wxPyEndAllowThreads(__tstate
);
23339 if (PyErr_Occurred()) SWIG_fail
;
23341 resultobj
= SWIG_Py_Void();
23348 SWIGINTERN PyObject
*MoveEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23350 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23351 SWIG_TypeNewClientData(SWIGTYPE_p_wxMoveEvent
, SWIG_NewClientData(obj
));
23352 return SWIG_Py_Void();
23355 SWIGINTERN PyObject
*MoveEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23356 return SWIG_Python_InitShadowInstance(args
);
23359 SWIGINTERN PyObject
*_wrap_new_PaintEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23360 PyObject
*resultobj
= 0;
23361 int arg1
= (int) 0 ;
23362 wxPaintEvent
*result
= 0 ;
23365 PyObject
* obj0
= 0 ;
23366 char * kwnames
[] = {
23367 (char *) "Id", NULL
23370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) SWIG_fail
;
23372 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23373 if (!SWIG_IsOK(ecode1
)) {
23374 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PaintEvent" "', expected argument " "1"" of type '" "int""'");
23376 arg1
= static_cast< int >(val1
);
23379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23380 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
23381 wxPyEndAllowThreads(__tstate
);
23382 if (PyErr_Occurred()) SWIG_fail
;
23384 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintEvent
, SWIG_POINTER_NEW
| 0 );
23391 SWIGINTERN PyObject
*PaintEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23393 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23394 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintEvent
, SWIG_NewClientData(obj
));
23395 return SWIG_Py_Void();
23398 SWIGINTERN PyObject
*PaintEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23399 return SWIG_Python_InitShadowInstance(args
);
23402 SWIGINTERN PyObject
*_wrap_new_NcPaintEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23403 PyObject
*resultobj
= 0;
23404 int arg1
= (int) 0 ;
23405 wxNcPaintEvent
*result
= 0 ;
23408 PyObject
* obj0
= 0 ;
23409 char * kwnames
[] = {
23410 (char *) "winid", NULL
23413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) SWIG_fail
;
23415 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23416 if (!SWIG_IsOK(ecode1
)) {
23417 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NcPaintEvent" "', expected argument " "1"" of type '" "int""'");
23419 arg1
= static_cast< int >(val1
);
23422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23423 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
23424 wxPyEndAllowThreads(__tstate
);
23425 if (PyErr_Occurred()) SWIG_fail
;
23427 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNcPaintEvent
, SWIG_POINTER_NEW
| 0 );
23434 SWIGINTERN PyObject
*NcPaintEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23436 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23437 SWIG_TypeNewClientData(SWIGTYPE_p_wxNcPaintEvent
, SWIG_NewClientData(obj
));
23438 return SWIG_Py_Void();
23441 SWIGINTERN PyObject
*NcPaintEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23442 return SWIG_Python_InitShadowInstance(args
);
23445 SWIGINTERN PyObject
*_wrap_new_EraseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23446 PyObject
*resultobj
= 0;
23447 int arg1
= (int) 0 ;
23448 wxDC
*arg2
= (wxDC
*) NULL
;
23449 wxEraseEvent
*result
= 0 ;
23454 PyObject
* obj0
= 0 ;
23455 PyObject
* obj1
= 0 ;
23456 char * kwnames
[] = {
23457 (char *) "Id",(char *) "dc", NULL
23460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23462 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23463 if (!SWIG_IsOK(ecode1
)) {
23464 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EraseEvent" "', expected argument " "1"" of type '" "int""'");
23466 arg1
= static_cast< int >(val1
);
23469 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
23470 if (!SWIG_IsOK(res2
)) {
23471 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_EraseEvent" "', expected argument " "2"" of type '" "wxDC *""'");
23473 arg2
= reinterpret_cast< wxDC
* >(argp2
);
23476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23477 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
23478 wxPyEndAllowThreads(__tstate
);
23479 if (PyErr_Occurred()) SWIG_fail
;
23481 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEraseEvent
, SWIG_POINTER_NEW
| 0 );
23488 SWIGINTERN PyObject
*_wrap_EraseEvent_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23489 PyObject
*resultobj
= 0;
23490 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
23494 PyObject
*swig_obj
[1] ;
23496 if (!args
) SWIG_fail
;
23497 swig_obj
[0] = args
;
23498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEraseEvent
, 0 | 0 );
23499 if (!SWIG_IsOK(res1
)) {
23500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EraseEvent_GetDC" "', expected argument " "1"" of type '" "wxEraseEvent const *""'");
23502 arg1
= reinterpret_cast< wxEraseEvent
* >(argp1
);
23504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23505 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
23506 wxPyEndAllowThreads(__tstate
);
23507 if (PyErr_Occurred()) SWIG_fail
;
23510 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23518 SWIGINTERN PyObject
*EraseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23520 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23521 SWIG_TypeNewClientData(SWIGTYPE_p_wxEraseEvent
, SWIG_NewClientData(obj
));
23522 return SWIG_Py_Void();
23525 SWIGINTERN PyObject
*EraseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23526 return SWIG_Python_InitShadowInstance(args
);
23529 SWIGINTERN PyObject
*_wrap_new_FocusEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23530 PyObject
*resultobj
= 0;
23531 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23532 int arg2
= (int) 0 ;
23533 wxFocusEvent
*result
= 0 ;
23538 PyObject
* obj0
= 0 ;
23539 PyObject
* obj1
= 0 ;
23540 char * kwnames
[] = {
23541 (char *) "type",(char *) "winid", NULL
23544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23546 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23547 if (!SWIG_IsOK(ecode1
)) {
23548 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FocusEvent" "', expected argument " "1"" of type '" "wxEventType""'");
23550 arg1
= static_cast< wxEventType
>(val1
);
23553 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23554 if (!SWIG_IsOK(ecode2
)) {
23555 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FocusEvent" "', expected argument " "2"" of type '" "int""'");
23557 arg2
= static_cast< int >(val2
);
23560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23561 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
23562 wxPyEndAllowThreads(__tstate
);
23563 if (PyErr_Occurred()) SWIG_fail
;
23565 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_NEW
| 0 );
23572 SWIGINTERN PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23573 PyObject
*resultobj
= 0;
23574 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
23575 wxWindow
*result
= 0 ;
23578 PyObject
*swig_obj
[1] ;
23580 if (!args
) SWIG_fail
;
23581 swig_obj
[0] = args
;
23582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFocusEvent
, 0 | 0 );
23583 if (!SWIG_IsOK(res1
)) {
23584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FocusEvent_GetWindow" "', expected argument " "1"" of type '" "wxFocusEvent const *""'");
23586 arg1
= reinterpret_cast< wxFocusEvent
* >(argp1
);
23588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23589 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
23590 wxPyEndAllowThreads(__tstate
);
23591 if (PyErr_Occurred()) SWIG_fail
;
23594 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23602 SWIGINTERN PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23603 PyObject
*resultobj
= 0;
23604 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
23605 wxWindow
*arg2
= (wxWindow
*) 0 ;
23610 PyObject
* obj0
= 0 ;
23611 PyObject
* obj1
= 0 ;
23612 char * kwnames
[] = {
23613 (char *) "self",(char *) "win", NULL
23616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFocusEvent
, 0 | 0 );
23618 if (!SWIG_IsOK(res1
)) {
23619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FocusEvent_SetWindow" "', expected argument " "1"" of type '" "wxFocusEvent *""'");
23621 arg1
= reinterpret_cast< wxFocusEvent
* >(argp1
);
23622 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23623 if (!SWIG_IsOK(res2
)) {
23624 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FocusEvent_SetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
23626 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
23628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23629 (arg1
)->SetWindow(arg2
);
23630 wxPyEndAllowThreads(__tstate
);
23631 if (PyErr_Occurred()) SWIG_fail
;
23633 resultobj
= SWIG_Py_Void();
23640 SWIGINTERN PyObject
*FocusEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23642 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23643 SWIG_TypeNewClientData(SWIGTYPE_p_wxFocusEvent
, SWIG_NewClientData(obj
));
23644 return SWIG_Py_Void();
23647 SWIGINTERN PyObject
*FocusEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23648 return SWIG_Python_InitShadowInstance(args
);
23651 SWIGINTERN PyObject
*_wrap_new_ChildFocusEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23652 PyObject
*resultobj
= 0;
23653 wxWindow
*arg1
= (wxWindow
*) NULL
;
23654 wxChildFocusEvent
*result
= 0 ;
23657 PyObject
* obj0
= 0 ;
23658 char * kwnames
[] = {
23659 (char *) "win", NULL
23662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) SWIG_fail
;
23664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23665 if (!SWIG_IsOK(res1
)) {
23666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ChildFocusEvent" "', expected argument " "1"" of type '" "wxWindow *""'");
23668 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23672 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
23673 wxPyEndAllowThreads(__tstate
);
23674 if (PyErr_Occurred()) SWIG_fail
;
23676 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChildFocusEvent
, SWIG_POINTER_NEW
| 0 );
23683 SWIGINTERN PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23684 PyObject
*resultobj
= 0;
23685 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
23686 wxWindow
*result
= 0 ;
23689 PyObject
*swig_obj
[1] ;
23691 if (!args
) SWIG_fail
;
23692 swig_obj
[0] = args
;
23693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChildFocusEvent
, 0 | 0 );
23694 if (!SWIG_IsOK(res1
)) {
23695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ChildFocusEvent_GetWindow" "', expected argument " "1"" of type '" "wxChildFocusEvent const *""'");
23697 arg1
= reinterpret_cast< wxChildFocusEvent
* >(argp1
);
23699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23700 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
23701 wxPyEndAllowThreads(__tstate
);
23702 if (PyErr_Occurred()) SWIG_fail
;
23705 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23713 SWIGINTERN PyObject
*ChildFocusEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23715 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23716 SWIG_TypeNewClientData(SWIGTYPE_p_wxChildFocusEvent
, SWIG_NewClientData(obj
));
23717 return SWIG_Py_Void();
23720 SWIGINTERN PyObject
*ChildFocusEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23721 return SWIG_Python_InitShadowInstance(args
);
23724 SWIGINTERN PyObject
*_wrap_new_ActivateEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23725 PyObject
*resultobj
= 0;
23726 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23727 bool arg2
= (bool) true ;
23728 int arg3
= (int) 0 ;
23729 wxActivateEvent
*result
= 0 ;
23736 PyObject
* obj0
= 0 ;
23737 PyObject
* obj1
= 0 ;
23738 PyObject
* obj2
= 0 ;
23739 char * kwnames
[] = {
23740 (char *) "type",(char *) "active",(char *) "Id", NULL
23743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23745 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23746 if (!SWIG_IsOK(ecode1
)) {
23747 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ActivateEvent" "', expected argument " "1"" of type '" "wxEventType""'");
23749 arg1
= static_cast< wxEventType
>(val1
);
23752 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23753 if (!SWIG_IsOK(ecode2
)) {
23754 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ActivateEvent" "', expected argument " "2"" of type '" "bool""'");
23756 arg2
= static_cast< bool >(val2
);
23759 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23760 if (!SWIG_IsOK(ecode3
)) {
23761 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ActivateEvent" "', expected argument " "3"" of type '" "int""'");
23763 arg3
= static_cast< int >(val3
);
23766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23767 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
23768 wxPyEndAllowThreads(__tstate
);
23769 if (PyErr_Occurred()) SWIG_fail
;
23771 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxActivateEvent
, SWIG_POINTER_NEW
| 0 );
23778 SWIGINTERN PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23779 PyObject
*resultobj
= 0;
23780 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
23784 PyObject
*swig_obj
[1] ;
23786 if (!args
) SWIG_fail
;
23787 swig_obj
[0] = args
;
23788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxActivateEvent
, 0 | 0 );
23789 if (!SWIG_IsOK(res1
)) {
23790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ActivateEvent_GetActive" "', expected argument " "1"" of type '" "wxActivateEvent const *""'");
23792 arg1
= reinterpret_cast< wxActivateEvent
* >(argp1
);
23794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23795 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
23796 wxPyEndAllowThreads(__tstate
);
23797 if (PyErr_Occurred()) SWIG_fail
;
23800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23808 SWIGINTERN PyObject
*ActivateEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23810 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23811 SWIG_TypeNewClientData(SWIGTYPE_p_wxActivateEvent
, SWIG_NewClientData(obj
));
23812 return SWIG_Py_Void();
23815 SWIGINTERN PyObject
*ActivateEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23816 return SWIG_Python_InitShadowInstance(args
);
23819 SWIGINTERN PyObject
*_wrap_new_InitDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23820 PyObject
*resultobj
= 0;
23821 int arg1
= (int) 0 ;
23822 wxInitDialogEvent
*result
= 0 ;
23825 PyObject
* obj0
= 0 ;
23826 char * kwnames
[] = {
23827 (char *) "Id", NULL
23830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) SWIG_fail
;
23832 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23833 if (!SWIG_IsOK(ecode1
)) {
23834 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_InitDialogEvent" "', expected argument " "1"" of type '" "int""'");
23836 arg1
= static_cast< int >(val1
);
23839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23840 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
23841 wxPyEndAllowThreads(__tstate
);
23842 if (PyErr_Occurred()) SWIG_fail
;
23844 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxInitDialogEvent
, SWIG_POINTER_NEW
| 0 );
23851 SWIGINTERN PyObject
*InitDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23853 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23854 SWIG_TypeNewClientData(SWIGTYPE_p_wxInitDialogEvent
, SWIG_NewClientData(obj
));
23855 return SWIG_Py_Void();
23858 SWIGINTERN PyObject
*InitDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23859 return SWIG_Python_InitShadowInstance(args
);
23862 SWIGINTERN PyObject
*_wrap_new_MenuEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23863 PyObject
*resultobj
= 0;
23864 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23865 int arg2
= (int) 0 ;
23866 wxMenu
*arg3
= (wxMenu
*) NULL
;
23867 wxMenuEvent
*result
= 0 ;
23874 PyObject
* obj0
= 0 ;
23875 PyObject
* obj1
= 0 ;
23876 PyObject
* obj2
= 0 ;
23877 char * kwnames
[] = {
23878 (char *) "type",(char *) "winid",(char *) "menu", NULL
23881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23883 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23884 if (!SWIG_IsOK(ecode1
)) {
23885 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_MenuEvent" "', expected argument " "1"" of type '" "wxEventType""'");
23887 arg1
= static_cast< wxEventType
>(val1
);
23890 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23891 if (!SWIG_IsOK(ecode2
)) {
23892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MenuEvent" "', expected argument " "2"" of type '" "int""'");
23894 arg2
= static_cast< int >(val2
);
23897 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxMenu
, 0 | 0 );
23898 if (!SWIG_IsOK(res3
)) {
23899 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_MenuEvent" "', expected argument " "3"" of type '" "wxMenu *""'");
23901 arg3
= reinterpret_cast< wxMenu
* >(argp3
);
23904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23905 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
23906 wxPyEndAllowThreads(__tstate
);
23907 if (PyErr_Occurred()) SWIG_fail
;
23909 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_NEW
| 0 );
23916 SWIGINTERN PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23917 PyObject
*resultobj
= 0;
23918 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
23922 PyObject
*swig_obj
[1] ;
23924 if (!args
) SWIG_fail
;
23925 swig_obj
[0] = args
;
23926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuEvent
, 0 | 0 );
23927 if (!SWIG_IsOK(res1
)) {
23928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuEvent_GetMenuId" "', expected argument " "1"" of type '" "wxMenuEvent const *""'");
23930 arg1
= reinterpret_cast< wxMenuEvent
* >(argp1
);
23932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23933 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
23934 wxPyEndAllowThreads(__tstate
);
23935 if (PyErr_Occurred()) SWIG_fail
;
23937 resultobj
= SWIG_From_int(static_cast< int >(result
));
23944 SWIGINTERN PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23945 PyObject
*resultobj
= 0;
23946 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
23950 PyObject
*swig_obj
[1] ;
23952 if (!args
) SWIG_fail
;
23953 swig_obj
[0] = args
;
23954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuEvent
, 0 | 0 );
23955 if (!SWIG_IsOK(res1
)) {
23956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuEvent_IsPopup" "', expected argument " "1"" of type '" "wxMenuEvent const *""'");
23958 arg1
= reinterpret_cast< wxMenuEvent
* >(argp1
);
23960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23961 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
23962 wxPyEndAllowThreads(__tstate
);
23963 if (PyErr_Occurred()) SWIG_fail
;
23966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23974 SWIGINTERN PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23975 PyObject
*resultobj
= 0;
23976 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
23977 wxMenu
*result
= 0 ;
23980 PyObject
*swig_obj
[1] ;
23982 if (!args
) SWIG_fail
;
23983 swig_obj
[0] = args
;
23984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuEvent
, 0 | 0 );
23985 if (!SWIG_IsOK(res1
)) {
23986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuEvent_GetMenu" "', expected argument " "1"" of type '" "wxMenuEvent const *""'");
23988 arg1
= reinterpret_cast< wxMenuEvent
* >(argp1
);
23990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23991 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
23992 wxPyEndAllowThreads(__tstate
);
23993 if (PyErr_Occurred()) SWIG_fail
;
23996 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24004 SWIGINTERN PyObject
*MenuEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24006 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24007 SWIG_TypeNewClientData(SWIGTYPE_p_wxMenuEvent
, SWIG_NewClientData(obj
));
24008 return SWIG_Py_Void();
24011 SWIGINTERN PyObject
*MenuEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24012 return SWIG_Python_InitShadowInstance(args
);
24015 SWIGINTERN PyObject
*_wrap_new_CloseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24016 PyObject
*resultobj
= 0;
24017 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
24018 int arg2
= (int) 0 ;
24019 wxCloseEvent
*result
= 0 ;
24024 PyObject
* obj0
= 0 ;
24025 PyObject
* obj1
= 0 ;
24026 char * kwnames
[] = {
24027 (char *) "type",(char *) "winid", NULL
24030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24032 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24033 if (!SWIG_IsOK(ecode1
)) {
24034 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CloseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
24036 arg1
= static_cast< wxEventType
>(val1
);
24039 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24040 if (!SWIG_IsOK(ecode2
)) {
24041 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CloseEvent" "', expected argument " "2"" of type '" "int""'");
24043 arg2
= static_cast< int >(val2
);
24046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24047 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
24048 wxPyEndAllowThreads(__tstate
);
24049 if (PyErr_Occurred()) SWIG_fail
;
24051 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_NEW
| 0 );
24058 SWIGINTERN PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24059 PyObject
*resultobj
= 0;
24060 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
24066 PyObject
* obj0
= 0 ;
24067 PyObject
* obj1
= 0 ;
24068 char * kwnames
[] = {
24069 (char *) "self",(char *) "logOff", NULL
24072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCloseEvent
, 0 | 0 );
24074 if (!SWIG_IsOK(res1
)) {
24075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CloseEvent_SetLoggingOff" "', expected argument " "1"" of type '" "wxCloseEvent *""'");
24077 arg1
= reinterpret_cast< wxCloseEvent
* >(argp1
);
24078 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24079 if (!SWIG_IsOK(ecode2
)) {
24080 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CloseEvent_SetLoggingOff" "', expected argument " "2"" of type '" "bool""'");
24082 arg2
= static_cast< bool >(val2
);
24084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24085 (arg1
)->SetLoggingOff(arg2
);
24086 wxPyEndAllowThreads(__tstate
);
24087 if (PyErr_Occurred()) SWIG_fail
;
24089 resultobj
= SWIG_Py_Void();
24096 SWIGINTERN PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24097 PyObject
*resultobj
= 0;
24098 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
24102 PyObject
*swig_obj
[1] ;
24104 if (!args
) SWIG_fail
;
24105 swig_obj
[0] = args
;
24106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCloseEvent
, 0 | 0 );
24107 if (!SWIG_IsOK(res1
)) {
24108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CloseEvent_GetLoggingOff" "', expected argument " "1"" of type '" "wxCloseEvent const *""'");
24110 arg1
= reinterpret_cast< wxCloseEvent
* >(argp1
);
24112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24113 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
24114 wxPyEndAllowThreads(__tstate
);
24115 if (PyErr_Occurred()) SWIG_fail
;
24118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24126 SWIGINTERN PyObject
*_wrap_CloseEvent_Veto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24127 PyObject
*resultobj
= 0;
24128 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
24129 bool arg2
= (bool) true ;
24134 PyObject
* obj0
= 0 ;
24135 PyObject
* obj1
= 0 ;
24136 char * kwnames
[] = {
24137 (char *) "self",(char *) "veto", NULL
24140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCloseEvent
, 0 | 0 );
24142 if (!SWIG_IsOK(res1
)) {
24143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CloseEvent_Veto" "', expected argument " "1"" of type '" "wxCloseEvent *""'");
24145 arg1
= reinterpret_cast< wxCloseEvent
* >(argp1
);
24147 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24148 if (!SWIG_IsOK(ecode2
)) {
24149 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CloseEvent_Veto" "', expected argument " "2"" of type '" "bool""'");
24151 arg2
= static_cast< bool >(val2
);
24154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24155 (arg1
)->Veto(arg2
);
24156 wxPyEndAllowThreads(__tstate
);
24157 if (PyErr_Occurred()) SWIG_fail
;
24159 resultobj
= SWIG_Py_Void();
24166 SWIGINTERN PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24167 PyObject
*resultobj
= 0;
24168 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
24172 PyObject
*swig_obj
[1] ;
24174 if (!args
) SWIG_fail
;
24175 swig_obj
[0] = args
;
24176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCloseEvent
, 0 | 0 );
24177 if (!SWIG_IsOK(res1
)) {
24178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CloseEvent_GetVeto" "', expected argument " "1"" of type '" "wxCloseEvent const *""'");
24180 arg1
= reinterpret_cast< wxCloseEvent
* >(argp1
);
24182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24183 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
24184 wxPyEndAllowThreads(__tstate
);
24185 if (PyErr_Occurred()) SWIG_fail
;
24188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24196 SWIGINTERN PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24197 PyObject
*resultobj
= 0;
24198 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
24204 PyObject
* obj0
= 0 ;
24205 PyObject
* obj1
= 0 ;
24206 char * kwnames
[] = {
24207 (char *) "self",(char *) "canVeto", NULL
24210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCloseEvent
, 0 | 0 );
24212 if (!SWIG_IsOK(res1
)) {
24213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CloseEvent_SetCanVeto" "', expected argument " "1"" of type '" "wxCloseEvent *""'");
24215 arg1
= reinterpret_cast< wxCloseEvent
* >(argp1
);
24216 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24217 if (!SWIG_IsOK(ecode2
)) {
24218 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CloseEvent_SetCanVeto" "', expected argument " "2"" of type '" "bool""'");
24220 arg2
= static_cast< bool >(val2
);
24222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24223 (arg1
)->SetCanVeto(arg2
);
24224 wxPyEndAllowThreads(__tstate
);
24225 if (PyErr_Occurred()) SWIG_fail
;
24227 resultobj
= SWIG_Py_Void();
24234 SWIGINTERN PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24235 PyObject
*resultobj
= 0;
24236 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
24240 PyObject
*swig_obj
[1] ;
24242 if (!args
) SWIG_fail
;
24243 swig_obj
[0] = args
;
24244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCloseEvent
, 0 | 0 );
24245 if (!SWIG_IsOK(res1
)) {
24246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CloseEvent_CanVeto" "', expected argument " "1"" of type '" "wxCloseEvent const *""'");
24248 arg1
= reinterpret_cast< wxCloseEvent
* >(argp1
);
24250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24251 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
24252 wxPyEndAllowThreads(__tstate
);
24253 if (PyErr_Occurred()) SWIG_fail
;
24256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24264 SWIGINTERN PyObject
*CloseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24266 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24267 SWIG_TypeNewClientData(SWIGTYPE_p_wxCloseEvent
, SWIG_NewClientData(obj
));
24268 return SWIG_Py_Void();
24271 SWIGINTERN PyObject
*CloseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24272 return SWIG_Python_InitShadowInstance(args
);
24275 SWIGINTERN PyObject
*_wrap_new_ShowEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24276 PyObject
*resultobj
= 0;
24277 int arg1
= (int) 0 ;
24278 bool arg2
= (bool) false ;
24279 wxShowEvent
*result
= 0 ;
24284 PyObject
* obj0
= 0 ;
24285 PyObject
* obj1
= 0 ;
24286 char * kwnames
[] = {
24287 (char *) "winid",(char *) "show", NULL
24290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24292 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24293 if (!SWIG_IsOK(ecode1
)) {
24294 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ShowEvent" "', expected argument " "1"" of type '" "int""'");
24296 arg1
= static_cast< int >(val1
);
24299 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24300 if (!SWIG_IsOK(ecode2
)) {
24301 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ShowEvent" "', expected argument " "2"" of type '" "bool""'");
24303 arg2
= static_cast< bool >(val2
);
24306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24307 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
24308 wxPyEndAllowThreads(__tstate
);
24309 if (PyErr_Occurred()) SWIG_fail
;
24311 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_NEW
| 0 );
24318 SWIGINTERN PyObject
*_wrap_ShowEvent_SetShow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24319 PyObject
*resultobj
= 0;
24320 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
24326 PyObject
* obj0
= 0 ;
24327 PyObject
* obj1
= 0 ;
24328 char * kwnames
[] = {
24329 (char *) "self",(char *) "show", NULL
24332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxShowEvent
, 0 | 0 );
24334 if (!SWIG_IsOK(res1
)) {
24335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ShowEvent_SetShow" "', expected argument " "1"" of type '" "wxShowEvent *""'");
24337 arg1
= reinterpret_cast< wxShowEvent
* >(argp1
);
24338 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24339 if (!SWIG_IsOK(ecode2
)) {
24340 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ShowEvent_SetShow" "', expected argument " "2"" of type '" "bool""'");
24342 arg2
= static_cast< bool >(val2
);
24344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24345 (arg1
)->SetShow(arg2
);
24346 wxPyEndAllowThreads(__tstate
);
24347 if (PyErr_Occurred()) SWIG_fail
;
24349 resultobj
= SWIG_Py_Void();
24356 SWIGINTERN PyObject
*_wrap_ShowEvent_GetShow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24357 PyObject
*resultobj
= 0;
24358 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
24362 PyObject
*swig_obj
[1] ;
24364 if (!args
) SWIG_fail
;
24365 swig_obj
[0] = args
;
24366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxShowEvent
, 0 | 0 );
24367 if (!SWIG_IsOK(res1
)) {
24368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ShowEvent_GetShow" "', expected argument " "1"" of type '" "wxShowEvent const *""'");
24370 arg1
= reinterpret_cast< wxShowEvent
* >(argp1
);
24372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24373 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
24374 wxPyEndAllowThreads(__tstate
);
24375 if (PyErr_Occurred()) SWIG_fail
;
24378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24386 SWIGINTERN PyObject
*ShowEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24388 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24389 SWIG_TypeNewClientData(SWIGTYPE_p_wxShowEvent
, SWIG_NewClientData(obj
));
24390 return SWIG_Py_Void();
24393 SWIGINTERN PyObject
*ShowEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24394 return SWIG_Python_InitShadowInstance(args
);
24397 SWIGINTERN PyObject
*_wrap_new_IconizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24398 PyObject
*resultobj
= 0;
24399 int arg1
= (int) 0 ;
24400 bool arg2
= (bool) true ;
24401 wxIconizeEvent
*result
= 0 ;
24406 PyObject
* obj0
= 0 ;
24407 PyObject
* obj1
= 0 ;
24408 char * kwnames
[] = {
24409 (char *) "id",(char *) "iconized", NULL
24412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24414 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24415 if (!SWIG_IsOK(ecode1
)) {
24416 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_IconizeEvent" "', expected argument " "1"" of type '" "int""'");
24418 arg1
= static_cast< int >(val1
);
24421 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24422 if (!SWIG_IsOK(ecode2
)) {
24423 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconizeEvent" "', expected argument " "2"" of type '" "bool""'");
24425 arg2
= static_cast< bool >(val2
);
24428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24429 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
24430 wxPyEndAllowThreads(__tstate
);
24431 if (PyErr_Occurred()) SWIG_fail
;
24433 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconizeEvent
, SWIG_POINTER_NEW
| 0 );
24440 SWIGINTERN PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24441 PyObject
*resultobj
= 0;
24442 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
24446 PyObject
*swig_obj
[1] ;
24448 if (!args
) SWIG_fail
;
24449 swig_obj
[0] = args
;
24450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconizeEvent
, 0 | 0 );
24451 if (!SWIG_IsOK(res1
)) {
24452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconizeEvent_Iconized" "', expected argument " "1"" of type '" "wxIconizeEvent *""'");
24454 arg1
= reinterpret_cast< wxIconizeEvent
* >(argp1
);
24456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24457 result
= (bool)(arg1
)->Iconized();
24458 wxPyEndAllowThreads(__tstate
);
24459 if (PyErr_Occurred()) SWIG_fail
;
24462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24470 SWIGINTERN PyObject
*IconizeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24472 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24473 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconizeEvent
, SWIG_NewClientData(obj
));
24474 return SWIG_Py_Void();
24477 SWIGINTERN PyObject
*IconizeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24478 return SWIG_Python_InitShadowInstance(args
);
24481 SWIGINTERN PyObject
*_wrap_new_MaximizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24482 PyObject
*resultobj
= 0;
24483 int arg1
= (int) 0 ;
24484 wxMaximizeEvent
*result
= 0 ;
24487 PyObject
* obj0
= 0 ;
24488 char * kwnames
[] = {
24489 (char *) "id", NULL
24492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) SWIG_fail
;
24494 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24495 if (!SWIG_IsOK(ecode1
)) {
24496 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_MaximizeEvent" "', expected argument " "1"" of type '" "int""'");
24498 arg1
= static_cast< int >(val1
);
24501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24502 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
24503 wxPyEndAllowThreads(__tstate
);
24504 if (PyErr_Occurred()) SWIG_fail
;
24506 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMaximizeEvent
, SWIG_POINTER_NEW
| 0 );
24513 SWIGINTERN PyObject
*MaximizeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24515 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24516 SWIG_TypeNewClientData(SWIGTYPE_p_wxMaximizeEvent
, SWIG_NewClientData(obj
));
24517 return SWIG_Py_Void();
24520 SWIGINTERN PyObject
*MaximizeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24521 return SWIG_Python_InitShadowInstance(args
);
24524 SWIGINTERN PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24525 PyObject
*resultobj
= 0;
24526 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
24530 PyObject
*swig_obj
[1] ;
24532 if (!args
) SWIG_fail
;
24533 swig_obj
[0] = args
;
24534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDropFilesEvent
, 0 | 0 );
24535 if (!SWIG_IsOK(res1
)) {
24536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropFilesEvent_GetPosition" "', expected argument " "1"" of type '" "wxDropFilesEvent *""'");
24538 arg1
= reinterpret_cast< wxDropFilesEvent
* >(argp1
);
24540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24541 result
= (arg1
)->GetPosition();
24542 wxPyEndAllowThreads(__tstate
);
24543 if (PyErr_Occurred()) SWIG_fail
;
24545 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24552 SWIGINTERN PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24553 PyObject
*resultobj
= 0;
24554 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
24558 PyObject
*swig_obj
[1] ;
24560 if (!args
) SWIG_fail
;
24561 swig_obj
[0] = args
;
24562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDropFilesEvent
, 0 | 0 );
24563 if (!SWIG_IsOK(res1
)) {
24564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropFilesEvent_GetNumberOfFiles" "', expected argument " "1"" of type '" "wxDropFilesEvent *""'");
24566 arg1
= reinterpret_cast< wxDropFilesEvent
* >(argp1
);
24568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24569 result
= (int)(arg1
)->GetNumberOfFiles();
24570 wxPyEndAllowThreads(__tstate
);
24571 if (PyErr_Occurred()) SWIG_fail
;
24573 resultobj
= SWIG_From_int(static_cast< int >(result
));
24580 SWIGINTERN PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24581 PyObject
*resultobj
= 0;
24582 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
24583 PyObject
*result
= 0 ;
24586 PyObject
*swig_obj
[1] ;
24588 if (!args
) SWIG_fail
;
24589 swig_obj
[0] = args
;
24590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDropFilesEvent
, 0 | 0 );
24591 if (!SWIG_IsOK(res1
)) {
24592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropFilesEvent_GetFiles" "', expected argument " "1"" of type '" "wxDropFilesEvent *""'");
24594 arg1
= reinterpret_cast< wxDropFilesEvent
* >(argp1
);
24596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24597 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
24598 wxPyEndAllowThreads(__tstate
);
24599 if (PyErr_Occurred()) SWIG_fail
;
24601 resultobj
= result
;
24608 SWIGINTERN PyObject
*DropFilesEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24610 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24611 SWIG_TypeNewClientData(SWIGTYPE_p_wxDropFilesEvent
, SWIG_NewClientData(obj
));
24612 return SWIG_Py_Void();
24615 SWIGINTERN PyObject
*_wrap_new_UpdateUIEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24616 PyObject
*resultobj
= 0;
24617 int arg1
= (int) 0 ;
24618 wxUpdateUIEvent
*result
= 0 ;
24621 PyObject
* obj0
= 0 ;
24622 char * kwnames
[] = {
24623 (char *) "commandId", NULL
24626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) SWIG_fail
;
24628 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24629 if (!SWIG_IsOK(ecode1
)) {
24630 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_UpdateUIEvent" "', expected argument " "1"" of type '" "int""'");
24632 arg1
= static_cast< int >(val1
);
24635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24636 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
24637 wxPyEndAllowThreads(__tstate
);
24638 if (PyErr_Occurred()) SWIG_fail
;
24640 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_NEW
| 0 );
24647 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24648 PyObject
*resultobj
= 0;
24649 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
24653 PyObject
*swig_obj
[1] ;
24655 if (!args
) SWIG_fail
;
24656 swig_obj
[0] = args
;
24657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
24658 if (!SWIG_IsOK(res1
)) {
24659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetChecked" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
24661 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
24663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24664 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
24665 wxPyEndAllowThreads(__tstate
);
24666 if (PyErr_Occurred()) SWIG_fail
;
24669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24677 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24678 PyObject
*resultobj
= 0;
24679 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
24683 PyObject
*swig_obj
[1] ;
24685 if (!args
) SWIG_fail
;
24686 swig_obj
[0] = args
;
24687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
24688 if (!SWIG_IsOK(res1
)) {
24689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetEnabled" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
24691 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
24693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24694 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
24695 wxPyEndAllowThreads(__tstate
);
24696 if (PyErr_Occurred()) SWIG_fail
;
24699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24707 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24708 PyObject
*resultobj
= 0;
24709 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
24713 PyObject
*swig_obj
[1] ;
24715 if (!args
) SWIG_fail
;
24716 swig_obj
[0] = args
;
24717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
24718 if (!SWIG_IsOK(res1
)) {
24719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetShown" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
24721 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
24723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24724 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetShown();
24725 wxPyEndAllowThreads(__tstate
);
24726 if (PyErr_Occurred()) SWIG_fail
;
24729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24737 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24738 PyObject
*resultobj
= 0;
24739 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
24743 PyObject
*swig_obj
[1] ;
24745 if (!args
) SWIG_fail
;
24746 swig_obj
[0] = args
;
24747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
24748 if (!SWIG_IsOK(res1
)) {
24749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetText" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
24751 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
24753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24754 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
24755 wxPyEndAllowThreads(__tstate
);
24756 if (PyErr_Occurred()) SWIG_fail
;
24760 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24762 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24771 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24772 PyObject
*resultobj
= 0;
24773 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
24777 PyObject
*swig_obj
[1] ;
24779 if (!args
) SWIG_fail
;
24780 swig_obj
[0] = args
;
24781 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
24782 if (!SWIG_IsOK(res1
)) {
24783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetSetText" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
24785 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
24787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24788 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
24789 wxPyEndAllowThreads(__tstate
);
24790 if (PyErr_Occurred()) SWIG_fail
;
24793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24801 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24802 PyObject
*resultobj
= 0;
24803 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
24807 PyObject
*swig_obj
[1] ;
24809 if (!args
) SWIG_fail
;
24810 swig_obj
[0] = args
;
24811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
24812 if (!SWIG_IsOK(res1
)) {
24813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetSetChecked" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
24815 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
24817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24818 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
24819 wxPyEndAllowThreads(__tstate
);
24820 if (PyErr_Occurred()) SWIG_fail
;
24823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24831 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24832 PyObject
*resultobj
= 0;
24833 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
24837 PyObject
*swig_obj
[1] ;
24839 if (!args
) SWIG_fail
;
24840 swig_obj
[0] = args
;
24841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
24842 if (!SWIG_IsOK(res1
)) {
24843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetSetEnabled" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
24845 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
24847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24848 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
24849 wxPyEndAllowThreads(__tstate
);
24850 if (PyErr_Occurred()) SWIG_fail
;
24853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24861 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetSetShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24862 PyObject
*resultobj
= 0;
24863 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
24867 PyObject
*swig_obj
[1] ;
24869 if (!args
) SWIG_fail
;
24870 swig_obj
[0] = args
;
24871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
24872 if (!SWIG_IsOK(res1
)) {
24873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetSetShown" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
24875 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
24877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24878 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetShown();
24879 wxPyEndAllowThreads(__tstate
);
24880 if (PyErr_Occurred()) SWIG_fail
;
24883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24891 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24892 PyObject
*resultobj
= 0;
24893 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
24899 PyObject
* obj0
= 0 ;
24900 PyObject
* obj1
= 0 ;
24901 char * kwnames
[] = {
24902 (char *) "self",(char *) "check", NULL
24905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
24907 if (!SWIG_IsOK(res1
)) {
24908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_Check" "', expected argument " "1"" of type '" "wxUpdateUIEvent *""'");
24910 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
24911 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24912 if (!SWIG_IsOK(ecode2
)) {
24913 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "UpdateUIEvent_Check" "', expected argument " "2"" of type '" "bool""'");
24915 arg2
= static_cast< bool >(val2
);
24917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24918 (arg1
)->Check(arg2
);
24919 wxPyEndAllowThreads(__tstate
);
24920 if (PyErr_Occurred()) SWIG_fail
;
24922 resultobj
= SWIG_Py_Void();
24929 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24930 PyObject
*resultobj
= 0;
24931 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
24937 PyObject
* obj0
= 0 ;
24938 PyObject
* obj1
= 0 ;
24939 char * kwnames
[] = {
24940 (char *) "self",(char *) "enable", NULL
24943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
24945 if (!SWIG_IsOK(res1
)) {
24946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_Enable" "', expected argument " "1"" of type '" "wxUpdateUIEvent *""'");
24948 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
24949 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24950 if (!SWIG_IsOK(ecode2
)) {
24951 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "UpdateUIEvent_Enable" "', expected argument " "2"" of type '" "bool""'");
24953 arg2
= static_cast< bool >(val2
);
24955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24956 (arg1
)->Enable(arg2
);
24957 wxPyEndAllowThreads(__tstate
);
24958 if (PyErr_Occurred()) SWIG_fail
;
24960 resultobj
= SWIG_Py_Void();
24967 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24968 PyObject
*resultobj
= 0;
24969 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
24975 PyObject
* obj0
= 0 ;
24976 PyObject
* obj1
= 0 ;
24977 char * kwnames
[] = {
24978 (char *) "self",(char *) "show", NULL
24981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
24983 if (!SWIG_IsOK(res1
)) {
24984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_Show" "', expected argument " "1"" of type '" "wxUpdateUIEvent *""'");
24986 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
24987 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24988 if (!SWIG_IsOK(ecode2
)) {
24989 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "UpdateUIEvent_Show" "', expected argument " "2"" of type '" "bool""'");
24991 arg2
= static_cast< bool >(val2
);
24993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24994 (arg1
)->Show(arg2
);
24995 wxPyEndAllowThreads(__tstate
);
24996 if (PyErr_Occurred()) SWIG_fail
;
24998 resultobj
= SWIG_Py_Void();
25005 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25006 PyObject
*resultobj
= 0;
25007 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
25008 wxString
*arg2
= 0 ;
25011 bool temp2
= false ;
25012 PyObject
* obj0
= 0 ;
25013 PyObject
* obj1
= 0 ;
25014 char * kwnames
[] = {
25015 (char *) "self",(char *) "text", NULL
25018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
25020 if (!SWIG_IsOK(res1
)) {
25021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_SetText" "', expected argument " "1"" of type '" "wxUpdateUIEvent *""'");
25023 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
25025 arg2
= wxString_in_helper(obj1
);
25026 if (arg2
== NULL
) SWIG_fail
;
25030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25031 (arg1
)->SetText((wxString
const &)*arg2
);
25032 wxPyEndAllowThreads(__tstate
);
25033 if (PyErr_Occurred()) SWIG_fail
;
25035 resultobj
= SWIG_Py_Void();
25050 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25051 PyObject
*resultobj
= 0;
25055 PyObject
* obj0
= 0 ;
25056 char * kwnames
[] = {
25057 (char *) "updateInterval", NULL
25060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) SWIG_fail
;
25061 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
25062 if (!SWIG_IsOK(ecode1
)) {
25063 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "UpdateUIEvent_SetUpdateInterval" "', expected argument " "1"" of type '" "long""'");
25065 arg1
= static_cast< long >(val1
);
25067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25068 wxUpdateUIEvent::SetUpdateInterval(arg1
);
25069 wxPyEndAllowThreads(__tstate
);
25070 if (PyErr_Occurred()) SWIG_fail
;
25072 resultobj
= SWIG_Py_Void();
25079 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25080 PyObject
*resultobj
= 0;
25083 if (!SWIG_Python_UnpackTuple(args
,"UpdateUIEvent_GetUpdateInterval",0,0,0)) SWIG_fail
;
25085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25086 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
25087 wxPyEndAllowThreads(__tstate
);
25088 if (PyErr_Occurred()) SWIG_fail
;
25090 resultobj
= SWIG_From_long(static_cast< long >(result
));
25097 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25098 PyObject
*resultobj
= 0;
25099 wxWindow
*arg1
= (wxWindow
*) 0 ;
25103 PyObject
* obj0
= 0 ;
25104 char * kwnames
[] = {
25105 (char *) "win", NULL
25108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) SWIG_fail
;
25109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25110 if (!SWIG_IsOK(res1
)) {
25111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_CanUpdate" "', expected argument " "1"" of type '" "wxWindow *""'");
25113 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25116 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
25117 wxPyEndAllowThreads(__tstate
);
25118 if (PyErr_Occurred()) SWIG_fail
;
25121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25129 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25130 PyObject
*resultobj
= 0;
25132 if (!SWIG_Python_UnpackTuple(args
,"UpdateUIEvent_ResetUpdateTime",0,0,0)) SWIG_fail
;
25134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25135 wxUpdateUIEvent::ResetUpdateTime();
25136 wxPyEndAllowThreads(__tstate
);
25137 if (PyErr_Occurred()) SWIG_fail
;
25139 resultobj
= SWIG_Py_Void();
25146 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25147 PyObject
*resultobj
= 0;
25148 wxUpdateUIMode arg1
;
25151 PyObject
* obj0
= 0 ;
25152 char * kwnames
[] = {
25153 (char *) "mode", NULL
25156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) SWIG_fail
;
25157 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25158 if (!SWIG_IsOK(ecode1
)) {
25159 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "UpdateUIEvent_SetMode" "', expected argument " "1"" of type '" "wxUpdateUIMode""'");
25161 arg1
= static_cast< wxUpdateUIMode
>(val1
);
25163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25164 wxUpdateUIEvent::SetMode(arg1
);
25165 wxPyEndAllowThreads(__tstate
);
25166 if (PyErr_Occurred()) SWIG_fail
;
25168 resultobj
= SWIG_Py_Void();
25175 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25176 PyObject
*resultobj
= 0;
25177 wxUpdateUIMode result
;
25179 if (!SWIG_Python_UnpackTuple(args
,"UpdateUIEvent_GetMode",0,0,0)) SWIG_fail
;
25181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25182 result
= (wxUpdateUIMode
)wxUpdateUIEvent::GetMode();
25183 wxPyEndAllowThreads(__tstate
);
25184 if (PyErr_Occurred()) SWIG_fail
;
25186 resultobj
= SWIG_From_int(static_cast< int >(result
));
25193 SWIGINTERN PyObject
*UpdateUIEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25195 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25196 SWIG_TypeNewClientData(SWIGTYPE_p_wxUpdateUIEvent
, SWIG_NewClientData(obj
));
25197 return SWIG_Py_Void();
25200 SWIGINTERN PyObject
*UpdateUIEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25201 return SWIG_Python_InitShadowInstance(args
);
25204 SWIGINTERN PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25205 PyObject
*resultobj
= 0;
25206 wxSysColourChangedEvent
*result
= 0 ;
25208 if (!SWIG_Python_UnpackTuple(args
,"new_SysColourChangedEvent",0,0,0)) SWIG_fail
;
25210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25211 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
25212 wxPyEndAllowThreads(__tstate
);
25213 if (PyErr_Occurred()) SWIG_fail
;
25215 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSysColourChangedEvent
, SWIG_POINTER_NEW
| 0 );
25222 SWIGINTERN PyObject
*SysColourChangedEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25224 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25225 SWIG_TypeNewClientData(SWIGTYPE_p_wxSysColourChangedEvent
, SWIG_NewClientData(obj
));
25226 return SWIG_Py_Void();
25229 SWIGINTERN PyObject
*SysColourChangedEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25230 return SWIG_Python_InitShadowInstance(args
);
25233 SWIGINTERN PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25234 PyObject
*resultobj
= 0;
25235 int arg1
= (int) 0 ;
25236 wxWindow
*arg2
= (wxWindow
*) NULL
;
25237 wxMouseCaptureChangedEvent
*result
= 0 ;
25242 PyObject
* obj0
= 0 ;
25243 PyObject
* obj1
= 0 ;
25244 char * kwnames
[] = {
25245 (char *) "winid",(char *) "gainedCapture", NULL
25248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25250 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25251 if (!SWIG_IsOK(ecode1
)) {
25252 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_MouseCaptureChangedEvent" "', expected argument " "1"" of type '" "int""'");
25254 arg1
= static_cast< int >(val1
);
25257 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25258 if (!SWIG_IsOK(res2
)) {
25259 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_MouseCaptureChangedEvent" "', expected argument " "2"" of type '" "wxWindow *""'");
25261 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25265 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
25266 wxPyEndAllowThreads(__tstate
);
25267 if (PyErr_Occurred()) SWIG_fail
;
25269 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, SWIG_POINTER_NEW
| 0 );
25276 SWIGINTERN PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25277 PyObject
*resultobj
= 0;
25278 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
25279 wxWindow
*result
= 0 ;
25282 PyObject
*swig_obj
[1] ;
25284 if (!args
) SWIG_fail
;
25285 swig_obj
[0] = args
;
25286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseCaptureChangedEvent
, 0 | 0 );
25287 if (!SWIG_IsOK(res1
)) {
25288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseCaptureChangedEvent_GetCapturedWindow" "', expected argument " "1"" of type '" "wxMouseCaptureChangedEvent const *""'");
25290 arg1
= reinterpret_cast< wxMouseCaptureChangedEvent
* >(argp1
);
25292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25293 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
25294 wxPyEndAllowThreads(__tstate
);
25295 if (PyErr_Occurred()) SWIG_fail
;
25298 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25306 SWIGINTERN PyObject
*MouseCaptureChangedEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25308 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25309 SWIG_TypeNewClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, SWIG_NewClientData(obj
));
25310 return SWIG_Py_Void();
25313 SWIGINTERN PyObject
*MouseCaptureChangedEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25314 return SWIG_Python_InitShadowInstance(args
);
25317 SWIGINTERN PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25318 PyObject
*resultobj
= 0;
25319 wxDisplayChangedEvent
*result
= 0 ;
25321 if (!SWIG_Python_UnpackTuple(args
,"new_DisplayChangedEvent",0,0,0)) SWIG_fail
;
25323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25324 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
25325 wxPyEndAllowThreads(__tstate
);
25326 if (PyErr_Occurred()) SWIG_fail
;
25328 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDisplayChangedEvent
, SWIG_POINTER_NEW
| 0 );
25335 SWIGINTERN PyObject
*DisplayChangedEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25337 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25338 SWIG_TypeNewClientData(SWIGTYPE_p_wxDisplayChangedEvent
, SWIG_NewClientData(obj
));
25339 return SWIG_Py_Void();
25342 SWIGINTERN PyObject
*DisplayChangedEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25343 return SWIG_Python_InitShadowInstance(args
);
25346 SWIGINTERN PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25347 PyObject
*resultobj
= 0;
25348 int arg1
= (int) 0 ;
25349 wxPaletteChangedEvent
*result
= 0 ;
25352 PyObject
* obj0
= 0 ;
25353 char * kwnames
[] = {
25354 (char *) "id", NULL
25357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) SWIG_fail
;
25359 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25360 if (!SWIG_IsOK(ecode1
)) {
25361 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PaletteChangedEvent" "', expected argument " "1"" of type '" "int""'");
25363 arg1
= static_cast< int >(val1
);
25366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25367 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
25368 wxPyEndAllowThreads(__tstate
);
25369 if (PyErr_Occurred()) SWIG_fail
;
25371 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_NEW
| 0 );
25378 SWIGINTERN PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25379 PyObject
*resultobj
= 0;
25380 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
25381 wxWindow
*arg2
= (wxWindow
*) 0 ;
25386 PyObject
* obj0
= 0 ;
25387 PyObject
* obj1
= 0 ;
25388 char * kwnames
[] = {
25389 (char *) "self",(char *) "win", NULL
25392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPaletteChangedEvent
, 0 | 0 );
25394 if (!SWIG_IsOK(res1
)) {
25395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PaletteChangedEvent_SetChangedWindow" "', expected argument " "1"" of type '" "wxPaletteChangedEvent *""'");
25397 arg1
= reinterpret_cast< wxPaletteChangedEvent
* >(argp1
);
25398 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25399 if (!SWIG_IsOK(res2
)) {
25400 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PaletteChangedEvent_SetChangedWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
25402 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25405 (arg1
)->SetChangedWindow(arg2
);
25406 wxPyEndAllowThreads(__tstate
);
25407 if (PyErr_Occurred()) SWIG_fail
;
25409 resultobj
= SWIG_Py_Void();
25416 SWIGINTERN PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25417 PyObject
*resultobj
= 0;
25418 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
25419 wxWindow
*result
= 0 ;
25422 PyObject
*swig_obj
[1] ;
25424 if (!args
) SWIG_fail
;
25425 swig_obj
[0] = args
;
25426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPaletteChangedEvent
, 0 | 0 );
25427 if (!SWIG_IsOK(res1
)) {
25428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PaletteChangedEvent_GetChangedWindow" "', expected argument " "1"" of type '" "wxPaletteChangedEvent *""'");
25430 arg1
= reinterpret_cast< wxPaletteChangedEvent
* >(argp1
);
25432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25433 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
25434 wxPyEndAllowThreads(__tstate
);
25435 if (PyErr_Occurred()) SWIG_fail
;
25438 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25446 SWIGINTERN PyObject
*PaletteChangedEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25448 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25449 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_NewClientData(obj
));
25450 return SWIG_Py_Void();
25453 SWIGINTERN PyObject
*PaletteChangedEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25454 return SWIG_Python_InitShadowInstance(args
);
25457 SWIGINTERN PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25458 PyObject
*resultobj
= 0;
25459 int arg1
= (int) 0 ;
25460 wxQueryNewPaletteEvent
*result
= 0 ;
25463 PyObject
* obj0
= 0 ;
25464 char * kwnames
[] = {
25465 (char *) "winid", NULL
25468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) SWIG_fail
;
25470 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25471 if (!SWIG_IsOK(ecode1
)) {
25472 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryNewPaletteEvent" "', expected argument " "1"" of type '" "int""'");
25474 arg1
= static_cast< int >(val1
);
25477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25478 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
25479 wxPyEndAllowThreads(__tstate
);
25480 if (PyErr_Occurred()) SWIG_fail
;
25482 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_NEW
| 0 );
25489 SWIGINTERN PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25490 PyObject
*resultobj
= 0;
25491 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
25497 PyObject
* obj0
= 0 ;
25498 PyObject
* obj1
= 0 ;
25499 char * kwnames
[] = {
25500 (char *) "self",(char *) "realized", NULL
25503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryNewPaletteEvent
, 0 | 0 );
25505 if (!SWIG_IsOK(res1
)) {
25506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryNewPaletteEvent_SetPaletteRealized" "', expected argument " "1"" of type '" "wxQueryNewPaletteEvent *""'");
25508 arg1
= reinterpret_cast< wxQueryNewPaletteEvent
* >(argp1
);
25509 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25510 if (!SWIG_IsOK(ecode2
)) {
25511 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryNewPaletteEvent_SetPaletteRealized" "', expected argument " "2"" of type '" "bool""'");
25513 arg2
= static_cast< bool >(val2
);
25515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25516 (arg1
)->SetPaletteRealized(arg2
);
25517 wxPyEndAllowThreads(__tstate
);
25518 if (PyErr_Occurred()) SWIG_fail
;
25520 resultobj
= SWIG_Py_Void();
25527 SWIGINTERN PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25528 PyObject
*resultobj
= 0;
25529 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 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_wxQueryNewPaletteEvent
, 0 | 0 );
25538 if (!SWIG_IsOK(res1
)) {
25539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryNewPaletteEvent_GetPaletteRealized" "', expected argument " "1"" of type '" "wxQueryNewPaletteEvent const *""'");
25541 arg1
= reinterpret_cast< wxQueryNewPaletteEvent
* >(argp1
);
25543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25544 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
25545 wxPyEndAllowThreads(__tstate
);
25546 if (PyErr_Occurred()) SWIG_fail
;
25549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25557 SWIGINTERN PyObject
*QueryNewPaletteEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25559 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25560 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_NewClientData(obj
));
25561 return SWIG_Py_Void();
25564 SWIGINTERN PyObject
*QueryNewPaletteEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25565 return SWIG_Python_InitShadowInstance(args
);
25568 SWIGINTERN PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25569 PyObject
*resultobj
= 0;
25570 wxNavigationKeyEvent
*result
= 0 ;
25572 if (!SWIG_Python_UnpackTuple(args
,"new_NavigationKeyEvent",0,0,0)) SWIG_fail
;
25574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25575 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
25576 wxPyEndAllowThreads(__tstate
);
25577 if (PyErr_Occurred()) SWIG_fail
;
25579 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_NEW
| 0 );
25586 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25587 PyObject
*resultobj
= 0;
25588 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
25592 PyObject
*swig_obj
[1] ;
25594 if (!args
) SWIG_fail
;
25595 swig_obj
[0] = args
;
25596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
25597 if (!SWIG_IsOK(res1
)) {
25598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_GetDirection" "', expected argument " "1"" of type '" "wxNavigationKeyEvent const *""'");
25600 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
25602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25603 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
25604 wxPyEndAllowThreads(__tstate
);
25605 if (PyErr_Occurred()) SWIG_fail
;
25608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25616 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25617 PyObject
*resultobj
= 0;
25618 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
25624 PyObject
* obj0
= 0 ;
25625 PyObject
* obj1
= 0 ;
25626 char * kwnames
[] = {
25627 (char *) "self",(char *) "forward", NULL
25630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
25632 if (!SWIG_IsOK(res1
)) {
25633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_SetDirection" "', expected argument " "1"" of type '" "wxNavigationKeyEvent *""'");
25635 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
25636 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25637 if (!SWIG_IsOK(ecode2
)) {
25638 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NavigationKeyEvent_SetDirection" "', expected argument " "2"" of type '" "bool""'");
25640 arg2
= static_cast< bool >(val2
);
25642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25643 (arg1
)->SetDirection(arg2
);
25644 wxPyEndAllowThreads(__tstate
);
25645 if (PyErr_Occurred()) SWIG_fail
;
25647 resultobj
= SWIG_Py_Void();
25654 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25655 PyObject
*resultobj
= 0;
25656 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 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_wxNavigationKeyEvent
, 0 | 0 );
25665 if (!SWIG_IsOK(res1
)) {
25666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_IsWindowChange" "', expected argument " "1"" of type '" "wxNavigationKeyEvent const *""'");
25668 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
25670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25671 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
25672 wxPyEndAllowThreads(__tstate
);
25673 if (PyErr_Occurred()) SWIG_fail
;
25676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25684 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25685 PyObject
*resultobj
= 0;
25686 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
25692 PyObject
* obj0
= 0 ;
25693 PyObject
* obj1
= 0 ;
25694 char * kwnames
[] = {
25695 (char *) "self",(char *) "ischange", NULL
25698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
25700 if (!SWIG_IsOK(res1
)) {
25701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_SetWindowChange" "', expected argument " "1"" of type '" "wxNavigationKeyEvent *""'");
25703 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
25704 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25705 if (!SWIG_IsOK(ecode2
)) {
25706 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NavigationKeyEvent_SetWindowChange" "', expected argument " "2"" of type '" "bool""'");
25708 arg2
= static_cast< bool >(val2
);
25710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25711 (arg1
)->SetWindowChange(arg2
);
25712 wxPyEndAllowThreads(__tstate
);
25713 if (PyErr_Occurred()) SWIG_fail
;
25715 resultobj
= SWIG_Py_Void();
25722 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_IsFromTab(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25723 PyObject
*resultobj
= 0;
25724 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
25728 PyObject
*swig_obj
[1] ;
25730 if (!args
) SWIG_fail
;
25731 swig_obj
[0] = args
;
25732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
25733 if (!SWIG_IsOK(res1
)) {
25734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_IsFromTab" "', expected argument " "1"" of type '" "wxNavigationKeyEvent const *""'");
25736 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
25738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25739 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsFromTab();
25740 wxPyEndAllowThreads(__tstate
);
25741 if (PyErr_Occurred()) SWIG_fail
;
25744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25752 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_SetFromTab(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25753 PyObject
*resultobj
= 0;
25754 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
25760 PyObject
* obj0
= 0 ;
25761 PyObject
* obj1
= 0 ;
25762 char * kwnames
[] = {
25763 (char *) "self",(char *) "bIs", NULL
25766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFromTab",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
25768 if (!SWIG_IsOK(res1
)) {
25769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_SetFromTab" "', expected argument " "1"" of type '" "wxNavigationKeyEvent *""'");
25771 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
25772 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25773 if (!SWIG_IsOK(ecode2
)) {
25774 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NavigationKeyEvent_SetFromTab" "', expected argument " "2"" of type '" "bool""'");
25776 arg2
= static_cast< bool >(val2
);
25778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25779 (arg1
)->SetFromTab(arg2
);
25780 wxPyEndAllowThreads(__tstate
);
25781 if (PyErr_Occurred()) SWIG_fail
;
25783 resultobj
= SWIG_Py_Void();
25790 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25791 PyObject
*resultobj
= 0;
25792 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
25798 PyObject
* obj0
= 0 ;
25799 PyObject
* obj1
= 0 ;
25800 char * kwnames
[] = {
25801 (char *) "self",(char *) "flags", NULL
25804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
25806 if (!SWIG_IsOK(res1
)) {
25807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_SetFlags" "', expected argument " "1"" of type '" "wxNavigationKeyEvent *""'");
25809 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
25810 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
25811 if (!SWIG_IsOK(ecode2
)) {
25812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NavigationKeyEvent_SetFlags" "', expected argument " "2"" of type '" "long""'");
25814 arg2
= static_cast< long >(val2
);
25816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25817 (arg1
)->SetFlags(arg2
);
25818 wxPyEndAllowThreads(__tstate
);
25819 if (PyErr_Occurred()) SWIG_fail
;
25821 resultobj
= SWIG_Py_Void();
25828 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25829 PyObject
*resultobj
= 0;
25830 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
25831 wxWindow
*result
= 0 ;
25834 PyObject
*swig_obj
[1] ;
25836 if (!args
) SWIG_fail
;
25837 swig_obj
[0] = args
;
25838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
25839 if (!SWIG_IsOK(res1
)) {
25840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_GetCurrentFocus" "', expected argument " "1"" of type '" "wxNavigationKeyEvent const *""'");
25842 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
25844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25845 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
25846 wxPyEndAllowThreads(__tstate
);
25847 if (PyErr_Occurred()) SWIG_fail
;
25850 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25858 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25859 PyObject
*resultobj
= 0;
25860 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
25861 wxWindow
*arg2
= (wxWindow
*) 0 ;
25866 PyObject
* obj0
= 0 ;
25867 PyObject
* obj1
= 0 ;
25868 char * kwnames
[] = {
25869 (char *) "self",(char *) "win", NULL
25872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
25874 if (!SWIG_IsOK(res1
)) {
25875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_SetCurrentFocus" "', expected argument " "1"" of type '" "wxNavigationKeyEvent *""'");
25877 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
25878 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25879 if (!SWIG_IsOK(res2
)) {
25880 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NavigationKeyEvent_SetCurrentFocus" "', expected argument " "2"" of type '" "wxWindow *""'");
25882 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25885 (arg1
)->SetCurrentFocus(arg2
);
25886 wxPyEndAllowThreads(__tstate
);
25887 if (PyErr_Occurred()) SWIG_fail
;
25889 resultobj
= SWIG_Py_Void();
25896 SWIGINTERN PyObject
*NavigationKeyEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25898 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25899 SWIG_TypeNewClientData(SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_NewClientData(obj
));
25900 return SWIG_Py_Void();
25903 SWIGINTERN PyObject
*NavigationKeyEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25904 return SWIG_Python_InitShadowInstance(args
);
25907 SWIGINTERN PyObject
*_wrap_new_WindowCreateEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25908 PyObject
*resultobj
= 0;
25909 wxWindow
*arg1
= (wxWindow
*) NULL
;
25910 wxWindowCreateEvent
*result
= 0 ;
25913 PyObject
* obj0
= 0 ;
25914 char * kwnames
[] = {
25915 (char *) "win", NULL
25918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) SWIG_fail
;
25920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25921 if (!SWIG_IsOK(res1
)) {
25922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowCreateEvent" "', expected argument " "1"" of type '" "wxWindow *""'");
25924 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25928 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
25929 wxPyEndAllowThreads(__tstate
);
25930 if (PyErr_Occurred()) SWIG_fail
;
25932 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowCreateEvent
, SWIG_POINTER_NEW
| 0 );
25939 SWIGINTERN PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25940 PyObject
*resultobj
= 0;
25941 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
25942 wxWindow
*result
= 0 ;
25945 PyObject
*swig_obj
[1] ;
25947 if (!args
) SWIG_fail
;
25948 swig_obj
[0] = args
;
25949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindowCreateEvent
, 0 | 0 );
25950 if (!SWIG_IsOK(res1
)) {
25951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "WindowCreateEvent_GetWindow" "', expected argument " "1"" of type '" "wxWindowCreateEvent const *""'");
25953 arg1
= reinterpret_cast< wxWindowCreateEvent
* >(argp1
);
25955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25956 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
25957 wxPyEndAllowThreads(__tstate
);
25958 if (PyErr_Occurred()) SWIG_fail
;
25961 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25969 SWIGINTERN PyObject
*WindowCreateEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25971 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25972 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowCreateEvent
, SWIG_NewClientData(obj
));
25973 return SWIG_Py_Void();
25976 SWIGINTERN PyObject
*WindowCreateEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25977 return SWIG_Python_InitShadowInstance(args
);
25980 SWIGINTERN PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25981 PyObject
*resultobj
= 0;
25982 wxWindow
*arg1
= (wxWindow
*) NULL
;
25983 wxWindowDestroyEvent
*result
= 0 ;
25986 PyObject
* obj0
= 0 ;
25987 char * kwnames
[] = {
25988 (char *) "win", NULL
25991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) SWIG_fail
;
25993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25994 if (!SWIG_IsOK(res1
)) {
25995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDestroyEvent" "', expected argument " "1"" of type '" "wxWindow *""'");
25997 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
26000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26001 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
26002 wxPyEndAllowThreads(__tstate
);
26003 if (PyErr_Occurred()) SWIG_fail
;
26005 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDestroyEvent
, SWIG_POINTER_NEW
| 0 );
26012 SWIGINTERN PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26013 PyObject
*resultobj
= 0;
26014 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
26015 wxWindow
*result
= 0 ;
26018 PyObject
*swig_obj
[1] ;
26020 if (!args
) SWIG_fail
;
26021 swig_obj
[0] = args
;
26022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindowDestroyEvent
, 0 | 0 );
26023 if (!SWIG_IsOK(res1
)) {
26024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "WindowDestroyEvent_GetWindow" "', expected argument " "1"" of type '" "wxWindowDestroyEvent const *""'");
26026 arg1
= reinterpret_cast< wxWindowDestroyEvent
* >(argp1
);
26028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26029 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
26030 wxPyEndAllowThreads(__tstate
);
26031 if (PyErr_Occurred()) SWIG_fail
;
26034 resultobj
= wxPyMake_wxObject(result
, (bool)0);
26042 SWIGINTERN PyObject
*WindowDestroyEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26044 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26045 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDestroyEvent
, SWIG_NewClientData(obj
));
26046 return SWIG_Py_Void();
26049 SWIGINTERN PyObject
*WindowDestroyEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26050 return SWIG_Python_InitShadowInstance(args
);
26053 SWIGINTERN PyObject
*_wrap_new_ContextMenuEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26054 PyObject
*resultobj
= 0;
26055 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
26056 int arg2
= (int) 0 ;
26057 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
26058 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
26059 wxContextMenuEvent
*result
= 0 ;
26065 PyObject
* obj0
= 0 ;
26066 PyObject
* obj1
= 0 ;
26067 PyObject
* obj2
= 0 ;
26068 char * kwnames
[] = {
26069 (char *) "type",(char *) "winid",(char *) "pt", NULL
26072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26074 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26075 if (!SWIG_IsOK(ecode1
)) {
26076 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ContextMenuEvent" "', expected argument " "1"" of type '" "wxEventType""'");
26078 arg1
= static_cast< wxEventType
>(val1
);
26081 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26082 if (!SWIG_IsOK(ecode2
)) {
26083 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextMenuEvent" "', expected argument " "2"" of type '" "int""'");
26085 arg2
= static_cast< int >(val2
);
26090 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26095 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
26096 wxPyEndAllowThreads(__tstate
);
26097 if (PyErr_Occurred()) SWIG_fail
;
26099 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_NEW
| 0 );
26106 SWIGINTERN PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26107 PyObject
*resultobj
= 0;
26108 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
26109 wxPoint
*result
= 0 ;
26112 PyObject
*swig_obj
[1] ;
26114 if (!args
) SWIG_fail
;
26115 swig_obj
[0] = args
;
26116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextMenuEvent
, 0 | 0 );
26117 if (!SWIG_IsOK(res1
)) {
26118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextMenuEvent_GetPosition" "', expected argument " "1"" of type '" "wxContextMenuEvent const *""'");
26120 arg1
= reinterpret_cast< wxContextMenuEvent
* >(argp1
);
26122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26124 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
26125 result
= (wxPoint
*) &_result_ref
;
26127 wxPyEndAllowThreads(__tstate
);
26128 if (PyErr_Occurred()) SWIG_fail
;
26130 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
26137 SWIGINTERN PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26138 PyObject
*resultobj
= 0;
26139 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
26140 wxPoint
*arg2
= 0 ;
26144 PyObject
* obj0
= 0 ;
26145 PyObject
* obj1
= 0 ;
26146 char * kwnames
[] = {
26147 (char *) "self",(char *) "pos", NULL
26150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextMenuEvent
, 0 | 0 );
26152 if (!SWIG_IsOK(res1
)) {
26153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextMenuEvent_SetPosition" "', expected argument " "1"" of type '" "wxContextMenuEvent *""'");
26155 arg1
= reinterpret_cast< wxContextMenuEvent
* >(argp1
);
26158 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26162 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
26163 wxPyEndAllowThreads(__tstate
);
26164 if (PyErr_Occurred()) SWIG_fail
;
26166 resultobj
= SWIG_Py_Void();
26173 SWIGINTERN PyObject
*ContextMenuEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26175 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26176 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextMenuEvent
, SWIG_NewClientData(obj
));
26177 return SWIG_Py_Void();
26180 SWIGINTERN PyObject
*ContextMenuEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26181 return SWIG_Python_InitShadowInstance(args
);
26184 SWIGINTERN PyObject
*_wrap_new_IdleEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26185 PyObject
*resultobj
= 0;
26186 wxIdleEvent
*result
= 0 ;
26188 if (!SWIG_Python_UnpackTuple(args
,"new_IdleEvent",0,0,0)) SWIG_fail
;
26190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26191 result
= (wxIdleEvent
*)new wxIdleEvent();
26192 wxPyEndAllowThreads(__tstate
);
26193 if (PyErr_Occurred()) SWIG_fail
;
26195 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_NEW
| 0 );
26202 SWIGINTERN PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26203 PyObject
*resultobj
= 0;
26204 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
26205 bool arg2
= (bool) true ;
26210 PyObject
* obj0
= 0 ;
26211 PyObject
* obj1
= 0 ;
26212 char * kwnames
[] = {
26213 (char *) "self",(char *) "needMore", NULL
26216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIdleEvent
, 0 | 0 );
26218 if (!SWIG_IsOK(res1
)) {
26219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IdleEvent_RequestMore" "', expected argument " "1"" of type '" "wxIdleEvent *""'");
26221 arg1
= reinterpret_cast< wxIdleEvent
* >(argp1
);
26223 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26224 if (!SWIG_IsOK(ecode2
)) {
26225 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IdleEvent_RequestMore" "', expected argument " "2"" of type '" "bool""'");
26227 arg2
= static_cast< bool >(val2
);
26230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26231 (arg1
)->RequestMore(arg2
);
26232 wxPyEndAllowThreads(__tstate
);
26233 if (PyErr_Occurred()) SWIG_fail
;
26235 resultobj
= SWIG_Py_Void();
26242 SWIGINTERN PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26243 PyObject
*resultobj
= 0;
26244 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
26248 PyObject
*swig_obj
[1] ;
26250 if (!args
) SWIG_fail
;
26251 swig_obj
[0] = args
;
26252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIdleEvent
, 0 | 0 );
26253 if (!SWIG_IsOK(res1
)) {
26254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IdleEvent_MoreRequested" "', expected argument " "1"" of type '" "wxIdleEvent const *""'");
26256 arg1
= reinterpret_cast< wxIdleEvent
* >(argp1
);
26258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26259 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
26260 wxPyEndAllowThreads(__tstate
);
26261 if (PyErr_Occurred()) SWIG_fail
;
26264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26272 SWIGINTERN PyObject
*_wrap_IdleEvent_SetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26273 PyObject
*resultobj
= 0;
26277 PyObject
* obj0
= 0 ;
26278 char * kwnames
[] = {
26279 (char *) "mode", NULL
26282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) SWIG_fail
;
26283 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26284 if (!SWIG_IsOK(ecode1
)) {
26285 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IdleEvent_SetMode" "', expected argument " "1"" of type '" "wxIdleMode""'");
26287 arg1
= static_cast< wxIdleMode
>(val1
);
26289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26290 wxIdleEvent::SetMode(arg1
);
26291 wxPyEndAllowThreads(__tstate
);
26292 if (PyErr_Occurred()) SWIG_fail
;
26294 resultobj
= SWIG_Py_Void();
26301 SWIGINTERN PyObject
*_wrap_IdleEvent_GetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26302 PyObject
*resultobj
= 0;
26305 if (!SWIG_Python_UnpackTuple(args
,"IdleEvent_GetMode",0,0,0)) SWIG_fail
;
26307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26308 result
= (wxIdleMode
)wxIdleEvent::GetMode();
26309 wxPyEndAllowThreads(__tstate
);
26310 if (PyErr_Occurred()) SWIG_fail
;
26312 resultobj
= SWIG_From_int(static_cast< int >(result
));
26319 SWIGINTERN PyObject
*_wrap_IdleEvent_CanSend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26320 PyObject
*resultobj
= 0;
26321 wxWindow
*arg1
= (wxWindow
*) 0 ;
26325 PyObject
* obj0
= 0 ;
26326 char * kwnames
[] = {
26327 (char *) "win", NULL
26330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) SWIG_fail
;
26331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26332 if (!SWIG_IsOK(res1
)) {
26333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IdleEvent_CanSend" "', expected argument " "1"" of type '" "wxWindow *""'");
26335 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
26337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26338 result
= (bool)wxIdleEvent::CanSend(arg1
);
26339 wxPyEndAllowThreads(__tstate
);
26340 if (PyErr_Occurred()) SWIG_fail
;
26343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26351 SWIGINTERN PyObject
*IdleEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26353 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26354 SWIG_TypeNewClientData(SWIGTYPE_p_wxIdleEvent
, SWIG_NewClientData(obj
));
26355 return SWIG_Py_Void();
26358 SWIGINTERN PyObject
*IdleEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26359 return SWIG_Python_InitShadowInstance(args
);
26362 SWIGINTERN PyObject
*_wrap_new_PyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26363 PyObject
*resultobj
= 0;
26364 int arg1
= (int) 0 ;
26365 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
26366 wxPyEvent
*result
= 0 ;
26371 PyObject
* obj0
= 0 ;
26372 PyObject
* obj1
= 0 ;
26373 char * kwnames
[] = {
26374 (char *) "winid",(char *) "eventType", NULL
26377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26379 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26380 if (!SWIG_IsOK(ecode1
)) {
26381 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyEvent" "', expected argument " "1"" of type '" "int""'");
26383 arg1
= static_cast< int >(val1
);
26386 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26387 if (!SWIG_IsOK(ecode2
)) {
26388 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyEvent" "', expected argument " "2"" of type '" "wxEventType""'");
26390 arg2
= static_cast< wxEventType
>(val2
);
26393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26394 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
26395 wxPyEndAllowThreads(__tstate
);
26396 if (PyErr_Occurred()) SWIG_fail
;
26398 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_NEW
| 0 );
26405 SWIGINTERN PyObject
*_wrap_delete_PyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26406 PyObject
*resultobj
= 0;
26407 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
26410 PyObject
*swig_obj
[1] ;
26412 if (!args
) SWIG_fail
;
26413 swig_obj
[0] = args
;
26414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_DISOWN
| 0 );
26415 if (!SWIG_IsOK(res1
)) {
26416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyEvent" "', expected argument " "1"" of type '" "wxPyEvent *""'");
26418 arg1
= reinterpret_cast< wxPyEvent
* >(argp1
);
26420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26423 wxPyEndAllowThreads(__tstate
);
26424 if (PyErr_Occurred()) SWIG_fail
;
26426 resultobj
= SWIG_Py_Void();
26433 SWIGINTERN PyObject
*_wrap_PyEvent__SetSelf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26434 PyObject
*resultobj
= 0;
26435 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
26436 PyObject
*arg2
= (PyObject
*) 0 ;
26439 PyObject
* obj0
= 0 ;
26440 PyObject
* obj1
= 0 ;
26441 char * kwnames
[] = {
26442 (char *) "self",(char *) "self", NULL
26445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent__SetSelf",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyEvent
, 0 | 0 );
26447 if (!SWIG_IsOK(res1
)) {
26448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyEvent__SetSelf" "', expected argument " "1"" of type '" "wxPyEvent *""'");
26450 arg1
= reinterpret_cast< wxPyEvent
* >(argp1
);
26453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26454 (arg1
)->SetSelf(arg2
);
26455 wxPyEndAllowThreads(__tstate
);
26456 if (PyErr_Occurred()) SWIG_fail
;
26458 resultobj
= SWIG_Py_Void();
26465 SWIGINTERN PyObject
*_wrap_PyEvent__GetSelf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26466 PyObject
*resultobj
= 0;
26467 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
26468 PyObject
*result
= 0 ;
26471 PyObject
*swig_obj
[1] ;
26473 if (!args
) SWIG_fail
;
26474 swig_obj
[0] = args
;
26475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyEvent
, 0 | 0 );
26476 if (!SWIG_IsOK(res1
)) {
26477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyEvent__GetSelf" "', expected argument " "1"" of type '" "wxPyEvent *""'");
26479 arg1
= reinterpret_cast< wxPyEvent
* >(argp1
);
26481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26482 result
= (PyObject
*)(arg1
)->GetSelf();
26483 wxPyEndAllowThreads(__tstate
);
26484 if (PyErr_Occurred()) SWIG_fail
;
26486 resultobj
= result
;
26493 SWIGINTERN PyObject
*PyEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26495 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26496 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyEvent
, SWIG_NewClientData(obj
));
26497 return SWIG_Py_Void();
26500 SWIGINTERN PyObject
*PyEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26501 return SWIG_Python_InitShadowInstance(args
);
26504 SWIGINTERN PyObject
*_wrap_new_PyCommandEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26505 PyObject
*resultobj
= 0;
26506 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
26507 int arg2
= (int) 0 ;
26508 wxPyCommandEvent
*result
= 0 ;
26513 PyObject
* obj0
= 0 ;
26514 PyObject
* obj1
= 0 ;
26515 char * kwnames
[] = {
26516 (char *) "eventType",(char *) "id", NULL
26519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26521 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26522 if (!SWIG_IsOK(ecode1
)) {
26523 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyCommandEvent" "', expected argument " "1"" of type '" "wxEventType""'");
26525 arg1
= static_cast< wxEventType
>(val1
);
26528 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26529 if (!SWIG_IsOK(ecode2
)) {
26530 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyCommandEvent" "', expected argument " "2"" of type '" "int""'");
26532 arg2
= static_cast< int >(val2
);
26535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26536 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
26537 wxPyEndAllowThreads(__tstate
);
26538 if (PyErr_Occurred()) SWIG_fail
;
26540 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_NEW
| 0 );
26547 SWIGINTERN PyObject
*_wrap_delete_PyCommandEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26548 PyObject
*resultobj
= 0;
26549 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
26552 PyObject
*swig_obj
[1] ;
26554 if (!args
) SWIG_fail
;
26555 swig_obj
[0] = args
;
26556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_DISOWN
| 0 );
26557 if (!SWIG_IsOK(res1
)) {
26558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyCommandEvent" "', expected argument " "1"" of type '" "wxPyCommandEvent *""'");
26560 arg1
= reinterpret_cast< wxPyCommandEvent
* >(argp1
);
26562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26565 wxPyEndAllowThreads(__tstate
);
26566 if (PyErr_Occurred()) SWIG_fail
;
26568 resultobj
= SWIG_Py_Void();
26575 SWIGINTERN PyObject
*_wrap_PyCommandEvent__SetSelf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26576 PyObject
*resultobj
= 0;
26577 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
26578 PyObject
*arg2
= (PyObject
*) 0 ;
26581 PyObject
* obj0
= 0 ;
26582 PyObject
* obj1
= 0 ;
26583 char * kwnames
[] = {
26584 (char *) "self",(char *) "self", NULL
26587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent__SetSelf",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyCommandEvent
, 0 | 0 );
26589 if (!SWIG_IsOK(res1
)) {
26590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyCommandEvent__SetSelf" "', expected argument " "1"" of type '" "wxPyCommandEvent *""'");
26592 arg1
= reinterpret_cast< wxPyCommandEvent
* >(argp1
);
26595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26596 (arg1
)->SetSelf(arg2
);
26597 wxPyEndAllowThreads(__tstate
);
26598 if (PyErr_Occurred()) SWIG_fail
;
26600 resultobj
= SWIG_Py_Void();
26607 SWIGINTERN PyObject
*_wrap_PyCommandEvent__GetSelf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26608 PyObject
*resultobj
= 0;
26609 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
26610 PyObject
*result
= 0 ;
26613 PyObject
*swig_obj
[1] ;
26615 if (!args
) SWIG_fail
;
26616 swig_obj
[0] = args
;
26617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyCommandEvent
, 0 | 0 );
26618 if (!SWIG_IsOK(res1
)) {
26619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyCommandEvent__GetSelf" "', expected argument " "1"" of type '" "wxPyCommandEvent *""'");
26621 arg1
= reinterpret_cast< wxPyCommandEvent
* >(argp1
);
26623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26624 result
= (PyObject
*)(arg1
)->GetSelf();
26625 wxPyEndAllowThreads(__tstate
);
26626 if (PyErr_Occurred()) SWIG_fail
;
26628 resultobj
= result
;
26635 SWIGINTERN PyObject
*PyCommandEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26637 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26638 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyCommandEvent
, SWIG_NewClientData(obj
));
26639 return SWIG_Py_Void();
26642 SWIGINTERN PyObject
*PyCommandEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26643 return SWIG_Python_InitShadowInstance(args
);
26646 SWIGINTERN PyObject
*_wrap_new_DateEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26647 PyObject
*resultobj
= 0;
26648 wxWindow
*arg1
= (wxWindow
*) 0 ;
26649 wxDateTime
*arg2
= 0 ;
26651 wxDateEvent
*result
= 0 ;
26658 PyObject
* obj0
= 0 ;
26659 PyObject
* obj1
= 0 ;
26660 PyObject
* obj2
= 0 ;
26661 char * kwnames
[] = {
26662 (char *) "win",(char *) "dt",(char *) "type", NULL
26665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_DateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26667 if (!SWIG_IsOK(res1
)) {
26668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DateEvent" "', expected argument " "1"" of type '" "wxWindow *""'");
26670 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
26671 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26672 if (!SWIG_IsOK(res2
)) {
26673 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DateEvent" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26676 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DateEvent" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26678 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26679 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26680 if (!SWIG_IsOK(ecode3
)) {
26681 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateEvent" "', expected argument " "3"" of type '" "wxEventType""'");
26683 arg3
= static_cast< wxEventType
>(val3
);
26685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26686 result
= (wxDateEvent
*)new wxDateEvent(arg1
,(wxDateTime
const &)*arg2
,arg3
);
26687 wxPyEndAllowThreads(__tstate
);
26688 if (PyErr_Occurred()) SWIG_fail
;
26690 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_NEW
| 0 );
26697 SWIGINTERN PyObject
*_wrap_DateEvent_GetDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26698 PyObject
*resultobj
= 0;
26699 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
26700 wxDateTime
*result
= 0 ;
26703 PyObject
*swig_obj
[1] ;
26705 if (!args
) SWIG_fail
;
26706 swig_obj
[0] = args
;
26707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateEvent
, 0 | 0 );
26708 if (!SWIG_IsOK(res1
)) {
26709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateEvent_GetDate" "', expected argument " "1"" of type '" "wxDateEvent const *""'");
26711 arg1
= reinterpret_cast< wxDateEvent
* >(argp1
);
26713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26715 wxDateTime
const &_result_ref
= ((wxDateEvent
const *)arg1
)->GetDate();
26716 result
= (wxDateTime
*) &_result_ref
;
26718 wxPyEndAllowThreads(__tstate
);
26719 if (PyErr_Occurred()) SWIG_fail
;
26721 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26728 SWIGINTERN PyObject
*_wrap_DateEvent_SetDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26729 PyObject
*resultobj
= 0;
26730 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
26731 wxDateTime
*arg2
= 0 ;
26736 PyObject
* obj0
= 0 ;
26737 PyObject
* obj1
= 0 ;
26738 char * kwnames
[] = {
26739 (char *) "self",(char *) "date", NULL
26742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateEvent_SetDate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateEvent
, 0 | 0 );
26744 if (!SWIG_IsOK(res1
)) {
26745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateEvent_SetDate" "', expected argument " "1"" of type '" "wxDateEvent *""'");
26747 arg1
= reinterpret_cast< wxDateEvent
* >(argp1
);
26748 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26749 if (!SWIG_IsOK(res2
)) {
26750 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateEvent_SetDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26753 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateEvent_SetDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26755 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26758 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
26759 wxPyEndAllowThreads(__tstate
);
26760 if (PyErr_Occurred()) SWIG_fail
;
26762 resultobj
= SWIG_Py_Void();
26769 SWIGINTERN PyObject
*DateEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26771 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26772 SWIG_TypeNewClientData(SWIGTYPE_p_wxDateEvent
, SWIG_NewClientData(obj
));
26773 return SWIG_Py_Void();
26776 SWIGINTERN PyObject
*DateEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26777 return SWIG_Python_InitShadowInstance(args
);
26780 SWIGINTERN PyObject
*_wrap_new_PyApp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26781 PyObject
*resultobj
= 0;
26782 wxPyApp
*result
= 0 ;
26784 if (!SWIG_Python_UnpackTuple(args
,"new_PyApp",0,0,0)) SWIG_fail
;
26786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26787 result
= (wxPyApp
*)new_wxPyApp();
26788 wxPyEndAllowThreads(__tstate
);
26789 if (PyErr_Occurred()) SWIG_fail
;
26791 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyApp
, SWIG_POINTER_NEW
| 0 );
26798 SWIGINTERN PyObject
*_wrap_delete_PyApp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26799 PyObject
*resultobj
= 0;
26800 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
26803 PyObject
*swig_obj
[1] ;
26805 if (!args
) SWIG_fail
;
26806 swig_obj
[0] = args
;
26807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, SWIG_POINTER_DISOWN
| 0 );
26808 if (!SWIG_IsOK(res1
)) {
26809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyApp" "', expected argument " "1"" of type '" "wxPyApp *""'");
26811 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
26813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26816 wxPyEndAllowThreads(__tstate
);
26817 if (PyErr_Occurred()) SWIG_fail
;
26819 resultobj
= SWIG_Py_Void();
26826 SWIGINTERN PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26827 PyObject
*resultobj
= 0;
26828 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
26829 PyObject
*arg2
= (PyObject
*) 0 ;
26830 PyObject
*arg3
= (PyObject
*) 0 ;
26836 PyObject
* obj0
= 0 ;
26837 PyObject
* obj1
= 0 ;
26838 PyObject
* obj2
= 0 ;
26839 PyObject
* obj3
= 0 ;
26840 char * kwnames
[] = {
26841 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
26844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
26846 if (!SWIG_IsOK(res1
)) {
26847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyApp *""'");
26849 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
26852 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
26853 if (!SWIG_IsOK(ecode4
)) {
26854 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyApp__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
26856 arg4
= static_cast< bool >(val4
);
26858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26859 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
26860 wxPyEndAllowThreads(__tstate
);
26861 if (PyErr_Occurred()) SWIG_fail
;
26863 resultobj
= SWIG_Py_Void();
26870 SWIGINTERN PyObject
*_wrap_PyApp_GetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26871 PyObject
*resultobj
= 0;
26872 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
26876 PyObject
*swig_obj
[1] ;
26878 if (!args
) SWIG_fail
;
26879 swig_obj
[0] = args
;
26880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
26881 if (!SWIG_IsOK(res1
)) {
26882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetAppName" "', expected argument " "1"" of type '" "wxPyApp const *""'");
26884 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
26886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26887 result
= ((wxPyApp
const *)arg1
)->GetAppName();
26888 wxPyEndAllowThreads(__tstate
);
26889 if (PyErr_Occurred()) SWIG_fail
;
26893 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26895 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26904 SWIGINTERN PyObject
*_wrap_PyApp_SetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26905 PyObject
*resultobj
= 0;
26906 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
26907 wxString
*arg2
= 0 ;
26910 bool temp2
= false ;
26911 PyObject
* obj0
= 0 ;
26912 PyObject
* obj1
= 0 ;
26913 char * kwnames
[] = {
26914 (char *) "self",(char *) "name", NULL
26917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
26919 if (!SWIG_IsOK(res1
)) {
26920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetAppName" "', expected argument " "1"" of type '" "wxPyApp *""'");
26922 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
26924 arg2
= wxString_in_helper(obj1
);
26925 if (arg2
== NULL
) SWIG_fail
;
26929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26930 (arg1
)->SetAppName((wxString
const &)*arg2
);
26931 wxPyEndAllowThreads(__tstate
);
26932 if (PyErr_Occurred()) SWIG_fail
;
26934 resultobj
= SWIG_Py_Void();
26949 SWIGINTERN PyObject
*_wrap_PyApp_GetClassName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26950 PyObject
*resultobj
= 0;
26951 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
26955 PyObject
*swig_obj
[1] ;
26957 if (!args
) SWIG_fail
;
26958 swig_obj
[0] = args
;
26959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
26960 if (!SWIG_IsOK(res1
)) {
26961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetClassName" "', expected argument " "1"" of type '" "wxPyApp const *""'");
26963 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
26965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26966 result
= ((wxPyApp
const *)arg1
)->GetClassName();
26967 wxPyEndAllowThreads(__tstate
);
26968 if (PyErr_Occurred()) SWIG_fail
;
26972 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26974 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26983 SWIGINTERN PyObject
*_wrap_PyApp_SetClassName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26984 PyObject
*resultobj
= 0;
26985 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
26986 wxString
*arg2
= 0 ;
26989 bool temp2
= false ;
26990 PyObject
* obj0
= 0 ;
26991 PyObject
* obj1
= 0 ;
26992 char * kwnames
[] = {
26993 (char *) "self",(char *) "name", NULL
26996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
26998 if (!SWIG_IsOK(res1
)) {
26999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetClassName" "', expected argument " "1"" of type '" "wxPyApp *""'");
27001 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27003 arg2
= wxString_in_helper(obj1
);
27004 if (arg2
== NULL
) SWIG_fail
;
27008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27009 (arg1
)->SetClassName((wxString
const &)*arg2
);
27010 wxPyEndAllowThreads(__tstate
);
27011 if (PyErr_Occurred()) SWIG_fail
;
27013 resultobj
= SWIG_Py_Void();
27028 SWIGINTERN PyObject
*_wrap_PyApp_GetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27029 PyObject
*resultobj
= 0;
27030 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27031 wxString
*result
= 0 ;
27034 PyObject
*swig_obj
[1] ;
27036 if (!args
) SWIG_fail
;
27037 swig_obj
[0] = args
;
27038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27039 if (!SWIG_IsOK(res1
)) {
27040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetVendorName" "', expected argument " "1"" of type '" "wxPyApp const *""'");
27042 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27046 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
27047 result
= (wxString
*) &_result_ref
;
27049 wxPyEndAllowThreads(__tstate
);
27050 if (PyErr_Occurred()) SWIG_fail
;
27054 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27056 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27065 SWIGINTERN PyObject
*_wrap_PyApp_SetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27066 PyObject
*resultobj
= 0;
27067 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27068 wxString
*arg2
= 0 ;
27071 bool temp2
= false ;
27072 PyObject
* obj0
= 0 ;
27073 PyObject
* obj1
= 0 ;
27074 char * kwnames
[] = {
27075 (char *) "self",(char *) "name", NULL
27078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27080 if (!SWIG_IsOK(res1
)) {
27081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetVendorName" "', expected argument " "1"" of type '" "wxPyApp *""'");
27083 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27085 arg2
= wxString_in_helper(obj1
);
27086 if (arg2
== NULL
) SWIG_fail
;
27090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27091 (arg1
)->SetVendorName((wxString
const &)*arg2
);
27092 wxPyEndAllowThreads(__tstate
);
27093 if (PyErr_Occurred()) SWIG_fail
;
27095 resultobj
= SWIG_Py_Void();
27110 SWIGINTERN PyObject
*_wrap_PyApp_GetTraits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27111 PyObject
*resultobj
= 0;
27112 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27113 wxAppTraits
*result
= 0 ;
27116 PyObject
*swig_obj
[1] ;
27118 if (!args
) SWIG_fail
;
27119 swig_obj
[0] = args
;
27120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27121 if (!SWIG_IsOK(res1
)) {
27122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetTraits" "', expected argument " "1"" of type '" "wxPyApp *""'");
27124 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27127 result
= (wxAppTraits
*)(arg1
)->GetTraits();
27128 wxPyEndAllowThreads(__tstate
);
27129 if (PyErr_Occurred()) SWIG_fail
;
27131 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAppTraits
, 0 | 0 );
27138 SWIGINTERN PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27139 PyObject
*resultobj
= 0;
27140 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27143 PyObject
*swig_obj
[1] ;
27145 if (!args
) SWIG_fail
;
27146 swig_obj
[0] = args
;
27147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27148 if (!SWIG_IsOK(res1
)) {
27149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_ProcessPendingEvents" "', expected argument " "1"" of type '" "wxPyApp *""'");
27151 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27154 (arg1
)->ProcessPendingEvents();
27155 wxPyEndAllowThreads(__tstate
);
27156 if (PyErr_Occurred()) SWIG_fail
;
27158 resultobj
= SWIG_Py_Void();
27165 SWIGINTERN PyObject
*_wrap_PyApp_Yield(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27166 PyObject
*resultobj
= 0;
27167 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27168 bool arg2
= (bool) false ;
27174 PyObject
* obj0
= 0 ;
27175 PyObject
* obj1
= 0 ;
27176 char * kwnames
[] = {
27177 (char *) "self",(char *) "onlyIfNeeded", NULL
27180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27182 if (!SWIG_IsOK(res1
)) {
27183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_Yield" "', expected argument " "1"" of type '" "wxPyApp *""'");
27185 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27187 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27188 if (!SWIG_IsOK(ecode2
)) {
27189 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyApp_Yield" "', expected argument " "2"" of type '" "bool""'");
27191 arg2
= static_cast< bool >(val2
);
27194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27195 result
= (bool)(arg1
)->Yield(arg2
);
27196 wxPyEndAllowThreads(__tstate
);
27197 if (PyErr_Occurred()) SWIG_fail
;
27200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27208 SWIGINTERN PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27209 PyObject
*resultobj
= 0;
27210 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27213 PyObject
*swig_obj
[1] ;
27215 if (!args
) SWIG_fail
;
27216 swig_obj
[0] = args
;
27217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27218 if (!SWIG_IsOK(res1
)) {
27219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_WakeUpIdle" "', expected argument " "1"" of type '" "wxPyApp *""'");
27221 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27224 (arg1
)->WakeUpIdle();
27225 wxPyEndAllowThreads(__tstate
);
27226 if (PyErr_Occurred()) SWIG_fail
;
27228 resultobj
= SWIG_Py_Void();
27235 SWIGINTERN PyObject
*_wrap_PyApp_IsMainLoopRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27236 PyObject
*resultobj
= 0;
27239 if (!SWIG_Python_UnpackTuple(args
,"PyApp_IsMainLoopRunning",0,0,0)) SWIG_fail
;
27241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27242 result
= (bool)wxPyApp::IsMainLoopRunning();
27243 wxPyEndAllowThreads(__tstate
);
27244 if (PyErr_Occurred()) SWIG_fail
;
27247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27255 SWIGINTERN PyObject
*_wrap_PyApp_MainLoop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27256 PyObject
*resultobj
= 0;
27257 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27261 PyObject
*swig_obj
[1] ;
27263 if (!args
) SWIG_fail
;
27264 swig_obj
[0] = args
;
27265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27266 if (!SWIG_IsOK(res1
)) {
27267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_MainLoop" "', expected argument " "1"" of type '" "wxPyApp *""'");
27269 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27272 result
= (int)(arg1
)->MainLoop();
27273 wxPyEndAllowThreads(__tstate
);
27274 if (PyErr_Occurred()) SWIG_fail
;
27276 resultobj
= SWIG_From_int(static_cast< int >(result
));
27283 SWIGINTERN PyObject
*_wrap_PyApp_Exit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27284 PyObject
*resultobj
= 0;
27285 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27288 PyObject
*swig_obj
[1] ;
27290 if (!args
) SWIG_fail
;
27291 swig_obj
[0] = args
;
27292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27293 if (!SWIG_IsOK(res1
)) {
27294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_Exit" "', expected argument " "1"" of type '" "wxPyApp *""'");
27296 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27300 wxPyEndAllowThreads(__tstate
);
27301 if (PyErr_Occurred()) SWIG_fail
;
27303 resultobj
= SWIG_Py_Void();
27310 SWIGINTERN PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27311 PyObject
*resultobj
= 0;
27312 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27315 PyObject
*swig_obj
[1] ;
27317 if (!args
) SWIG_fail
;
27318 swig_obj
[0] = args
;
27319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27320 if (!SWIG_IsOK(res1
)) {
27321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_ExitMainLoop" "', expected argument " "1"" of type '" "wxPyApp *""'");
27323 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27326 (arg1
)->ExitMainLoop();
27327 wxPyEndAllowThreads(__tstate
);
27328 if (PyErr_Occurred()) SWIG_fail
;
27330 resultobj
= SWIG_Py_Void();
27337 SWIGINTERN PyObject
*_wrap_PyApp_Pending(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27338 PyObject
*resultobj
= 0;
27339 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27343 PyObject
*swig_obj
[1] ;
27345 if (!args
) SWIG_fail
;
27346 swig_obj
[0] = args
;
27347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27348 if (!SWIG_IsOK(res1
)) {
27349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_Pending" "', expected argument " "1"" of type '" "wxPyApp *""'");
27351 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27354 result
= (bool)(arg1
)->Pending();
27355 wxPyEndAllowThreads(__tstate
);
27356 if (PyErr_Occurred()) SWIG_fail
;
27359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27367 SWIGINTERN PyObject
*_wrap_PyApp_Dispatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27368 PyObject
*resultobj
= 0;
27369 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27373 PyObject
*swig_obj
[1] ;
27375 if (!args
) SWIG_fail
;
27376 swig_obj
[0] = args
;
27377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27378 if (!SWIG_IsOK(res1
)) {
27379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_Dispatch" "', expected argument " "1"" of type '" "wxPyApp *""'");
27381 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27384 result
= (bool)(arg1
)->Dispatch();
27385 wxPyEndAllowThreads(__tstate
);
27386 if (PyErr_Occurred()) SWIG_fail
;
27389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27397 SWIGINTERN PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27398 PyObject
*resultobj
= 0;
27399 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27403 PyObject
*swig_obj
[1] ;
27405 if (!args
) SWIG_fail
;
27406 swig_obj
[0] = args
;
27407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27408 if (!SWIG_IsOK(res1
)) {
27409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_ProcessIdle" "', expected argument " "1"" of type '" "wxPyApp *""'");
27411 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27414 result
= (bool)(arg1
)->ProcessIdle();
27415 wxPyEndAllowThreads(__tstate
);
27416 if (PyErr_Occurred()) SWIG_fail
;
27419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27427 SWIGINTERN PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27428 PyObject
*resultobj
= 0;
27429 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27430 wxWindow
*arg2
= (wxWindow
*) 0 ;
27431 wxIdleEvent
*arg3
= 0 ;
27439 PyObject
* obj0
= 0 ;
27440 PyObject
* obj1
= 0 ;
27441 PyObject
* obj2
= 0 ;
27442 char * kwnames
[] = {
27443 (char *) "self",(char *) "win",(char *) "event", NULL
27446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27448 if (!SWIG_IsOK(res1
)) {
27449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SendIdleEvents" "', expected argument " "1"" of type '" "wxPyApp *""'");
27451 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27452 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27453 if (!SWIG_IsOK(res2
)) {
27454 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyApp_SendIdleEvents" "', expected argument " "2"" of type '" "wxWindow *""'");
27456 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27457 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxIdleEvent
, 0 );
27458 if (!SWIG_IsOK(res3
)) {
27459 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyApp_SendIdleEvents" "', expected argument " "3"" of type '" "wxIdleEvent &""'");
27462 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PyApp_SendIdleEvents" "', expected argument " "3"" of type '" "wxIdleEvent &""'");
27464 arg3
= reinterpret_cast< wxIdleEvent
* >(argp3
);
27466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27467 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
27468 wxPyEndAllowThreads(__tstate
);
27469 if (PyErr_Occurred()) SWIG_fail
;
27472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27480 SWIGINTERN PyObject
*_wrap_PyApp_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27481 PyObject
*resultobj
= 0;
27482 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27486 PyObject
*swig_obj
[1] ;
27488 if (!args
) SWIG_fail
;
27489 swig_obj
[0] = args
;
27490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27491 if (!SWIG_IsOK(res1
)) {
27492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_IsActive" "', expected argument " "1"" of type '" "wxPyApp const *""'");
27494 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27497 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
27498 wxPyEndAllowThreads(__tstate
);
27499 if (PyErr_Occurred()) SWIG_fail
;
27502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27510 SWIGINTERN PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27511 PyObject
*resultobj
= 0;
27512 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27513 wxWindow
*arg2
= (wxWindow
*) 0 ;
27518 PyObject
* obj0
= 0 ;
27519 PyObject
* obj1
= 0 ;
27520 char * kwnames
[] = {
27521 (char *) "self",(char *) "win", NULL
27524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27526 if (!SWIG_IsOK(res1
)) {
27527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetTopWindow" "', expected argument " "1"" of type '" "wxPyApp *""'");
27529 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27530 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27531 if (!SWIG_IsOK(res2
)) {
27532 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyApp_SetTopWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27534 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27537 (arg1
)->SetTopWindow(arg2
);
27538 wxPyEndAllowThreads(__tstate
);
27539 if (PyErr_Occurred()) SWIG_fail
;
27541 resultobj
= SWIG_Py_Void();
27548 SWIGINTERN PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27549 PyObject
*resultobj
= 0;
27550 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27551 wxWindow
*result
= 0 ;
27554 PyObject
*swig_obj
[1] ;
27556 if (!args
) SWIG_fail
;
27557 swig_obj
[0] = args
;
27558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27559 if (!SWIG_IsOK(res1
)) {
27560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetTopWindow" "', expected argument " "1"" of type '" "wxPyApp const *""'");
27562 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27565 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
27566 wxPyEndAllowThreads(__tstate
);
27567 if (PyErr_Occurred()) SWIG_fail
;
27570 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27578 SWIGINTERN PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27579 PyObject
*resultobj
= 0;
27580 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27586 PyObject
* obj0
= 0 ;
27587 PyObject
* obj1
= 0 ;
27588 char * kwnames
[] = {
27589 (char *) "self",(char *) "flag", NULL
27592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27594 if (!SWIG_IsOK(res1
)) {
27595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetExitOnFrameDelete" "', expected argument " "1"" of type '" "wxPyApp *""'");
27597 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27598 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27599 if (!SWIG_IsOK(ecode2
)) {
27600 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyApp_SetExitOnFrameDelete" "', expected argument " "2"" of type '" "bool""'");
27602 arg2
= static_cast< bool >(val2
);
27604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27605 (arg1
)->SetExitOnFrameDelete(arg2
);
27606 wxPyEndAllowThreads(__tstate
);
27607 if (PyErr_Occurred()) SWIG_fail
;
27609 resultobj
= SWIG_Py_Void();
27616 SWIGINTERN PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27617 PyObject
*resultobj
= 0;
27618 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27622 PyObject
*swig_obj
[1] ;
27624 if (!args
) SWIG_fail
;
27625 swig_obj
[0] = args
;
27626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27627 if (!SWIG_IsOK(res1
)) {
27628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetExitOnFrameDelete" "', expected argument " "1"" of type '" "wxPyApp const *""'");
27630 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27633 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
27634 wxPyEndAllowThreads(__tstate
);
27635 if (PyErr_Occurred()) SWIG_fail
;
27638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27646 SWIGINTERN PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27647 PyObject
*resultobj
= 0;
27648 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27654 PyObject
* obj0
= 0 ;
27655 PyObject
* obj1
= 0 ;
27656 char * kwnames
[] = {
27657 (char *) "self",(char *) "flag", NULL
27660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27662 if (!SWIG_IsOK(res1
)) {
27663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetUseBestVisual" "', expected argument " "1"" of type '" "wxPyApp *""'");
27665 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27666 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27667 if (!SWIG_IsOK(ecode2
)) {
27668 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyApp_SetUseBestVisual" "', expected argument " "2"" of type '" "bool""'");
27670 arg2
= static_cast< bool >(val2
);
27672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27673 (arg1
)->SetUseBestVisual(arg2
);
27674 wxPyEndAllowThreads(__tstate
);
27675 if (PyErr_Occurred()) SWIG_fail
;
27677 resultobj
= SWIG_Py_Void();
27684 SWIGINTERN PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27685 PyObject
*resultobj
= 0;
27686 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27690 PyObject
*swig_obj
[1] ;
27692 if (!args
) SWIG_fail
;
27693 swig_obj
[0] = args
;
27694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27695 if (!SWIG_IsOK(res1
)) {
27696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetUseBestVisual" "', expected argument " "1"" of type '" "wxPyApp const *""'");
27698 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27701 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
27702 wxPyEndAllowThreads(__tstate
);
27703 if (PyErr_Occurred()) SWIG_fail
;
27706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27714 SWIGINTERN PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27715 PyObject
*resultobj
= 0;
27716 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27722 PyObject
* obj0
= 0 ;
27723 PyObject
* obj1
= 0 ;
27724 char * kwnames
[] = {
27725 (char *) "self",(char *) "mode", NULL
27728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27730 if (!SWIG_IsOK(res1
)) {
27731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetPrintMode" "', expected argument " "1"" of type '" "wxPyApp *""'");
27733 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27734 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27735 if (!SWIG_IsOK(ecode2
)) {
27736 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyApp_SetPrintMode" "', expected argument " "2"" of type '" "int""'");
27738 arg2
= static_cast< int >(val2
);
27740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27741 (arg1
)->SetPrintMode(arg2
);
27742 wxPyEndAllowThreads(__tstate
);
27743 if (PyErr_Occurred()) SWIG_fail
;
27745 resultobj
= SWIG_Py_Void();
27752 SWIGINTERN PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27753 PyObject
*resultobj
= 0;
27754 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27758 PyObject
*swig_obj
[1] ;
27760 if (!args
) SWIG_fail
;
27761 swig_obj
[0] = args
;
27762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27763 if (!SWIG_IsOK(res1
)) {
27764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetPrintMode" "', expected argument " "1"" of type '" "wxPyApp const *""'");
27766 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27769 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
27770 wxPyEndAllowThreads(__tstate
);
27771 if (PyErr_Occurred()) SWIG_fail
;
27773 resultobj
= SWIG_From_int(static_cast< int >(result
));
27780 SWIGINTERN PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27781 PyObject
*resultobj
= 0;
27782 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27788 PyObject
* obj0
= 0 ;
27789 PyObject
* obj1
= 0 ;
27790 char * kwnames
[] = {
27791 (char *) "self",(char *) "mode", NULL
27794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27796 if (!SWIG_IsOK(res1
)) {
27797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetAssertMode" "', expected argument " "1"" of type '" "wxPyApp *""'");
27799 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27800 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27801 if (!SWIG_IsOK(ecode2
)) {
27802 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyApp_SetAssertMode" "', expected argument " "2"" of type '" "int""'");
27804 arg2
= static_cast< int >(val2
);
27806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27807 (arg1
)->SetAssertMode(arg2
);
27808 wxPyEndAllowThreads(__tstate
);
27809 if (PyErr_Occurred()) SWIG_fail
;
27811 resultobj
= SWIG_Py_Void();
27818 SWIGINTERN PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27819 PyObject
*resultobj
= 0;
27820 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27824 PyObject
*swig_obj
[1] ;
27826 if (!args
) SWIG_fail
;
27827 swig_obj
[0] = args
;
27828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27829 if (!SWIG_IsOK(res1
)) {
27830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetAssertMode" "', expected argument " "1"" of type '" "wxPyApp *""'");
27832 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27835 result
= (int)(arg1
)->GetAssertMode();
27836 wxPyEndAllowThreads(__tstate
);
27837 if (PyErr_Occurred()) SWIG_fail
;
27839 resultobj
= SWIG_From_int(static_cast< int >(result
));
27846 SWIGINTERN PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27847 PyObject
*resultobj
= 0;
27850 if (!SWIG_Python_UnpackTuple(args
,"PyApp_GetMacSupportPCMenuShortcuts",0,0,0)) SWIG_fail
;
27852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27853 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
27854 wxPyEndAllowThreads(__tstate
);
27855 if (PyErr_Occurred()) SWIG_fail
;
27858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27866 SWIGINTERN PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27867 PyObject
*resultobj
= 0;
27870 if (!SWIG_Python_UnpackTuple(args
,"PyApp_GetMacAboutMenuItemId",0,0,0)) SWIG_fail
;
27872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27873 result
= (long)wxPyApp::GetMacAboutMenuItemId();
27874 wxPyEndAllowThreads(__tstate
);
27875 if (PyErr_Occurred()) SWIG_fail
;
27877 resultobj
= SWIG_From_long(static_cast< long >(result
));
27884 SWIGINTERN PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27885 PyObject
*resultobj
= 0;
27888 if (!SWIG_Python_UnpackTuple(args
,"PyApp_GetMacPreferencesMenuItemId",0,0,0)) SWIG_fail
;
27890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27891 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
27892 wxPyEndAllowThreads(__tstate
);
27893 if (PyErr_Occurred()) SWIG_fail
;
27895 resultobj
= SWIG_From_long(static_cast< long >(result
));
27902 SWIGINTERN PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27903 PyObject
*resultobj
= 0;
27906 if (!SWIG_Python_UnpackTuple(args
,"PyApp_GetMacExitMenuItemId",0,0,0)) SWIG_fail
;
27908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27909 result
= (long)wxPyApp::GetMacExitMenuItemId();
27910 wxPyEndAllowThreads(__tstate
);
27911 if (PyErr_Occurred()) SWIG_fail
;
27913 resultobj
= SWIG_From_long(static_cast< long >(result
));
27920 SWIGINTERN PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27921 PyObject
*resultobj
= 0;
27924 if (!SWIG_Python_UnpackTuple(args
,"PyApp_GetMacHelpMenuTitleName",0,0,0)) SWIG_fail
;
27926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27927 result
= wxPyApp::GetMacHelpMenuTitleName();
27928 wxPyEndAllowThreads(__tstate
);
27929 if (PyErr_Occurred()) SWIG_fail
;
27933 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27935 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27944 SWIGINTERN PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27945 PyObject
*resultobj
= 0;
27949 PyObject
* obj0
= 0 ;
27950 char * kwnames
[] = {
27951 (char *) "val", NULL
27954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) SWIG_fail
;
27955 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
27956 if (!SWIG_IsOK(ecode1
)) {
27957 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PyApp_SetMacSupportPCMenuShortcuts" "', expected argument " "1"" of type '" "bool""'");
27959 arg1
= static_cast< bool >(val1
);
27961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27962 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
27963 wxPyEndAllowThreads(__tstate
);
27964 if (PyErr_Occurred()) SWIG_fail
;
27966 resultobj
= SWIG_Py_Void();
27973 SWIGINTERN PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27974 PyObject
*resultobj
= 0;
27978 PyObject
* obj0
= 0 ;
27979 char * kwnames
[] = {
27980 (char *) "val", NULL
27983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) SWIG_fail
;
27984 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27985 if (!SWIG_IsOK(ecode1
)) {
27986 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PyApp_SetMacAboutMenuItemId" "', expected argument " "1"" of type '" "long""'");
27988 arg1
= static_cast< long >(val1
);
27990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27991 wxPyApp::SetMacAboutMenuItemId(arg1
);
27992 wxPyEndAllowThreads(__tstate
);
27993 if (PyErr_Occurred()) SWIG_fail
;
27995 resultobj
= SWIG_Py_Void();
28002 SWIGINTERN PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28003 PyObject
*resultobj
= 0;
28007 PyObject
* obj0
= 0 ;
28008 char * kwnames
[] = {
28009 (char *) "val", NULL
28012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) SWIG_fail
;
28013 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28014 if (!SWIG_IsOK(ecode1
)) {
28015 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PyApp_SetMacPreferencesMenuItemId" "', expected argument " "1"" of type '" "long""'");
28017 arg1
= static_cast< long >(val1
);
28019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28020 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
28021 wxPyEndAllowThreads(__tstate
);
28022 if (PyErr_Occurred()) SWIG_fail
;
28024 resultobj
= SWIG_Py_Void();
28031 SWIGINTERN PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28032 PyObject
*resultobj
= 0;
28036 PyObject
* obj0
= 0 ;
28037 char * kwnames
[] = {
28038 (char *) "val", NULL
28041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) SWIG_fail
;
28042 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28043 if (!SWIG_IsOK(ecode1
)) {
28044 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PyApp_SetMacExitMenuItemId" "', expected argument " "1"" of type '" "long""'");
28046 arg1
= static_cast< long >(val1
);
28048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28049 wxPyApp::SetMacExitMenuItemId(arg1
);
28050 wxPyEndAllowThreads(__tstate
);
28051 if (PyErr_Occurred()) SWIG_fail
;
28053 resultobj
= SWIG_Py_Void();
28060 SWIGINTERN PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28061 PyObject
*resultobj
= 0;
28062 wxString
*arg1
= 0 ;
28063 bool temp1
= false ;
28064 PyObject
* obj0
= 0 ;
28065 char * kwnames
[] = {
28066 (char *) "val", NULL
28069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) SWIG_fail
;
28071 arg1
= wxString_in_helper(obj0
);
28072 if (arg1
== NULL
) SWIG_fail
;
28076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28077 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
28078 wxPyEndAllowThreads(__tstate
);
28079 if (PyErr_Occurred()) SWIG_fail
;
28081 resultobj
= SWIG_Py_Void();
28096 SWIGINTERN PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28097 PyObject
*resultobj
= 0;
28098 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
28101 PyObject
*swig_obj
[1] ;
28103 if (!args
) SWIG_fail
;
28104 swig_obj
[0] = args
;
28105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
28106 if (!SWIG_IsOK(res1
)) {
28107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp__BootstrapApp" "', expected argument " "1"" of type '" "wxPyApp *""'");
28109 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
28111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28112 (arg1
)->_BootstrapApp();
28113 wxPyEndAllowThreads(__tstate
);
28114 if (PyErr_Occurred()) SWIG_fail
;
28116 resultobj
= SWIG_Py_Void();
28123 SWIGINTERN PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28124 PyObject
*resultobj
= 0;
28127 if (!SWIG_Python_UnpackTuple(args
,"PyApp_GetComCtl32Version",0,0,0)) SWIG_fail
;
28129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28130 result
= (int)wxPyApp::GetComCtl32Version();
28131 wxPyEndAllowThreads(__tstate
);
28132 if (PyErr_Occurred()) SWIG_fail
;
28134 resultobj
= SWIG_From_int(static_cast< int >(result
));
28141 SWIGINTERN PyObject
*PyApp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28143 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28144 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyApp
, SWIG_NewClientData(obj
));
28145 return SWIG_Py_Void();
28148 SWIGINTERN PyObject
*PyApp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28149 return SWIG_Python_InitShadowInstance(args
);
28152 SWIGINTERN PyObject
*_wrap_Exit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28153 PyObject
*resultobj
= 0;
28155 if (!SWIG_Python_UnpackTuple(args
,"Exit",0,0,0)) SWIG_fail
;
28157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28159 wxPyEndAllowThreads(__tstate
);
28160 if (PyErr_Occurred()) SWIG_fail
;
28162 resultobj
= SWIG_Py_Void();
28169 SWIGINTERN PyObject
*_wrap_Yield(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28170 PyObject
*resultobj
= 0;
28173 if (!SWIG_Python_UnpackTuple(args
,"Yield",0,0,0)) SWIG_fail
;
28175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28176 result
= (bool)wxYield();
28177 wxPyEndAllowThreads(__tstate
);
28178 if (PyErr_Occurred()) SWIG_fail
;
28181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28189 SWIGINTERN PyObject
*_wrap_YieldIfNeeded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28190 PyObject
*resultobj
= 0;
28193 if (!SWIG_Python_UnpackTuple(args
,"YieldIfNeeded",0,0,0)) SWIG_fail
;
28195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28196 result
= (bool)wxYieldIfNeeded();
28197 wxPyEndAllowThreads(__tstate
);
28198 if (PyErr_Occurred()) SWIG_fail
;
28201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28209 SWIGINTERN PyObject
*_wrap_SafeYield(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28210 PyObject
*resultobj
= 0;
28211 wxWindow
*arg1
= (wxWindow
*) NULL
;
28212 bool arg2
= (bool) false ;
28218 PyObject
* obj0
= 0 ;
28219 PyObject
* obj1
= 0 ;
28220 char * kwnames
[] = {
28221 (char *) "win",(char *) "onlyIfNeeded", NULL
28224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28227 if (!SWIG_IsOK(res1
)) {
28228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SafeYield" "', expected argument " "1"" of type '" "wxWindow *""'");
28230 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28233 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28234 if (!SWIG_IsOK(ecode2
)) {
28235 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SafeYield" "', expected argument " "2"" of type '" "bool""'");
28237 arg2
= static_cast< bool >(val2
);
28240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28241 result
= (bool)wxSafeYield(arg1
,arg2
);
28242 wxPyEndAllowThreads(__tstate
);
28243 if (PyErr_Occurred()) SWIG_fail
;
28246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28254 SWIGINTERN PyObject
*_wrap_WakeUpIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28255 PyObject
*resultobj
= 0;
28257 if (!SWIG_Python_UnpackTuple(args
,"WakeUpIdle",0,0,0)) SWIG_fail
;
28259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28261 wxPyEndAllowThreads(__tstate
);
28262 if (PyErr_Occurred()) SWIG_fail
;
28264 resultobj
= SWIG_Py_Void();
28271 SWIGINTERN PyObject
*_wrap_PostEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28272 PyObject
*resultobj
= 0;
28273 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
28274 wxEvent
*arg2
= 0 ;
28279 PyObject
* obj0
= 0 ;
28280 PyObject
* obj1
= 0 ;
28281 char * kwnames
[] = {
28282 (char *) "dest",(char *) "event", NULL
28285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
28287 if (!SWIG_IsOK(res1
)) {
28288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostEvent" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
28290 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
28291 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxEvent
, 0 );
28292 if (!SWIG_IsOK(res2
)) {
28293 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
28296 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
28298 arg2
= reinterpret_cast< wxEvent
* >(argp2
);
28300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28301 wxPostEvent(arg1
,*arg2
);
28302 wxPyEndAllowThreads(__tstate
);
28303 if (PyErr_Occurred()) SWIG_fail
;
28305 resultobj
= SWIG_Py_Void();
28312 SWIGINTERN PyObject
*_wrap_App_CleanUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28313 PyObject
*resultobj
= 0;
28315 if (!SWIG_Python_UnpackTuple(args
,"App_CleanUp",0,0,0)) SWIG_fail
;
28317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28319 wxPyEndAllowThreads(__tstate
);
28320 if (PyErr_Occurred()) SWIG_fail
;
28322 resultobj
= SWIG_Py_Void();
28329 SWIGINTERN PyObject
*_wrap_GetApp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28330 PyObject
*resultobj
= 0;
28331 wxPyApp
*result
= 0 ;
28333 if (!SWIG_Python_UnpackTuple(args
,"GetApp",0,0,0)) SWIG_fail
;
28335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28336 result
= (wxPyApp
*)wxPyGetApp();
28337 wxPyEndAllowThreads(__tstate
);
28338 if (PyErr_Occurred()) SWIG_fail
;
28341 resultobj
= wxPyMake_wxObject(result
, 0);
28349 SWIGINTERN PyObject
*_wrap_SetDefaultPyEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28350 PyObject
*resultobj
= 0;
28351 char *arg1
= (char *) 0 ;
28355 PyObject
* obj0
= 0 ;
28356 char * kwnames
[] = {
28357 (char *) "encoding", NULL
28360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetDefaultPyEncoding",kwnames
,&obj0
)) SWIG_fail
;
28361 res1
= SWIG_AsCharPtrAndSize(obj0
, &buf1
, NULL
, &alloc1
);
28362 if (!SWIG_IsOK(res1
)) {
28363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetDefaultPyEncoding" "', expected argument " "1"" of type '" "char const *""'");
28367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28368 wxSetDefaultPyEncoding((char const *)arg1
);
28369 wxPyEndAllowThreads(__tstate
);
28370 if (PyErr_Occurred()) SWIG_fail
;
28372 resultobj
= SWIG_Py_Void();
28373 if (alloc1
== SWIG_NEWOBJ
) delete[] buf1
;
28376 if (alloc1
== SWIG_NEWOBJ
) delete[] buf1
;
28381 SWIGINTERN PyObject
*_wrap_GetDefaultPyEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28382 PyObject
*resultobj
= 0;
28385 if (!SWIG_Python_UnpackTuple(args
,"GetDefaultPyEncoding",0,0,0)) SWIG_fail
;
28387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28388 result
= (char *)wxGetDefaultPyEncoding();
28389 wxPyEndAllowThreads(__tstate
);
28390 if (PyErr_Occurred()) SWIG_fail
;
28392 resultobj
= SWIG_FromCharPtr(result
);
28399 SWIGINTERN PyObject
*_wrap_new_EventLoop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28400 PyObject
*resultobj
= 0;
28401 wxEventLoop
*result
= 0 ;
28403 if (!SWIG_Python_UnpackTuple(args
,"new_EventLoop",0,0,0)) SWIG_fail
;
28405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28406 result
= (wxEventLoop
*)new wxEventLoop();
28407 wxPyEndAllowThreads(__tstate
);
28408 if (PyErr_Occurred()) SWIG_fail
;
28410 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_NEW
| 0 );
28417 SWIGINTERN PyObject
*_wrap_delete_EventLoop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28418 PyObject
*resultobj
= 0;
28419 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
28422 PyObject
*swig_obj
[1] ;
28424 if (!args
) SWIG_fail
;
28425 swig_obj
[0] = args
;
28426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_DISOWN
| 0 );
28427 if (!SWIG_IsOK(res1
)) {
28428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EventLoop" "', expected argument " "1"" of type '" "wxEventLoop *""'");
28430 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
28432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28435 wxPyEndAllowThreads(__tstate
);
28436 if (PyErr_Occurred()) SWIG_fail
;
28438 resultobj
= SWIG_Py_Void();
28445 SWIGINTERN PyObject
*_wrap_EventLoop_Run(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28446 PyObject
*resultobj
= 0;
28447 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
28451 PyObject
*swig_obj
[1] ;
28453 if (!args
) SWIG_fail
;
28454 swig_obj
[0] = args
;
28455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
28456 if (!SWIG_IsOK(res1
)) {
28457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EventLoop_Run" "', expected argument " "1"" of type '" "wxEventLoop *""'");
28459 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
28461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28462 result
= (int)(arg1
)->Run();
28463 wxPyEndAllowThreads(__tstate
);
28464 if (PyErr_Occurred()) SWIG_fail
;
28466 resultobj
= SWIG_From_int(static_cast< int >(result
));
28473 SWIGINTERN PyObject
*_wrap_EventLoop_Exit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28474 PyObject
*resultobj
= 0;
28475 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
28476 int arg2
= (int) 0 ;
28481 PyObject
* obj0
= 0 ;
28482 PyObject
* obj1
= 0 ;
28483 char * kwnames
[] = {
28484 (char *) "self",(char *) "rc", NULL
28487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EventLoop_Exit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
28489 if (!SWIG_IsOK(res1
)) {
28490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EventLoop_Exit" "', expected argument " "1"" of type '" "wxEventLoop *""'");
28492 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
28494 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28495 if (!SWIG_IsOK(ecode2
)) {
28496 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EventLoop_Exit" "', expected argument " "2"" of type '" "int""'");
28498 arg2
= static_cast< int >(val2
);
28501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28502 (arg1
)->Exit(arg2
);
28503 wxPyEndAllowThreads(__tstate
);
28504 if (PyErr_Occurred()) SWIG_fail
;
28506 resultobj
= SWIG_Py_Void();
28513 SWIGINTERN PyObject
*_wrap_EventLoop_Pending(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28514 PyObject
*resultobj
= 0;
28515 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
28519 PyObject
*swig_obj
[1] ;
28521 if (!args
) SWIG_fail
;
28522 swig_obj
[0] = args
;
28523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
28524 if (!SWIG_IsOK(res1
)) {
28525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EventLoop_Pending" "', expected argument " "1"" of type '" "wxEventLoop const *""'");
28527 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
28529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28530 result
= (bool)((wxEventLoop
const *)arg1
)->Pending();
28531 wxPyEndAllowThreads(__tstate
);
28532 if (PyErr_Occurred()) SWIG_fail
;
28535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28543 SWIGINTERN PyObject
*_wrap_EventLoop_Dispatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28544 PyObject
*resultobj
= 0;
28545 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
28549 PyObject
*swig_obj
[1] ;
28551 if (!args
) SWIG_fail
;
28552 swig_obj
[0] = args
;
28553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
28554 if (!SWIG_IsOK(res1
)) {
28555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EventLoop_Dispatch" "', expected argument " "1"" of type '" "wxEventLoop *""'");
28557 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
28559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28560 result
= (bool)(arg1
)->Dispatch();
28561 wxPyEndAllowThreads(__tstate
);
28562 if (PyErr_Occurred()) SWIG_fail
;
28565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28573 SWIGINTERN PyObject
*_wrap_EventLoop_IsRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28574 PyObject
*resultobj
= 0;
28575 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
28579 PyObject
*swig_obj
[1] ;
28581 if (!args
) SWIG_fail
;
28582 swig_obj
[0] = args
;
28583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
28584 if (!SWIG_IsOK(res1
)) {
28585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EventLoop_IsRunning" "', expected argument " "1"" of type '" "wxEventLoop const *""'");
28587 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
28589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28590 result
= (bool)((wxEventLoop
const *)arg1
)->IsRunning();
28591 wxPyEndAllowThreads(__tstate
);
28592 if (PyErr_Occurred()) SWIG_fail
;
28595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28603 SWIGINTERN PyObject
*_wrap_EventLoop_GetActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28604 PyObject
*resultobj
= 0;
28605 wxEventLoop
*result
= 0 ;
28607 if (!SWIG_Python_UnpackTuple(args
,"EventLoop_GetActive",0,0,0)) SWIG_fail
;
28609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28610 result
= (wxEventLoop
*)wxEventLoop::GetActive();
28611 wxPyEndAllowThreads(__tstate
);
28612 if (PyErr_Occurred()) SWIG_fail
;
28614 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEventLoop
, 0 | 0 );
28621 SWIGINTERN PyObject
*_wrap_EventLoop_SetActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28622 PyObject
*resultobj
= 0;
28623 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
28626 PyObject
* obj0
= 0 ;
28627 char * kwnames
[] = {
28628 (char *) "loop", NULL
28631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_SetActive",kwnames
,&obj0
)) SWIG_fail
;
28632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
28633 if (!SWIG_IsOK(res1
)) {
28634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EventLoop_SetActive" "', expected argument " "1"" of type '" "wxEventLoop *""'");
28636 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
28638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28639 wxEventLoop::SetActive(arg1
);
28640 wxPyEndAllowThreads(__tstate
);
28641 if (PyErr_Occurred()) SWIG_fail
;
28643 resultobj
= SWIG_Py_Void();
28650 SWIGINTERN PyObject
*EventLoop_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28652 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28653 SWIG_TypeNewClientData(SWIGTYPE_p_wxEventLoop
, SWIG_NewClientData(obj
));
28654 return SWIG_Py_Void();
28657 SWIGINTERN PyObject
*EventLoop_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28658 return SWIG_Python_InitShadowInstance(args
);
28661 SWIGINTERN PyObject
*_wrap_new_EventLoopActivator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28662 PyObject
*resultobj
= 0;
28663 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
28664 wxEventLoopActivator
*result
= 0 ;
28667 PyObject
* obj0
= 0 ;
28668 char * kwnames
[] = {
28669 (char *) "evtLoop", NULL
28672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_EventLoopActivator",kwnames
,&obj0
)) SWIG_fail
;
28673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
28674 if (!SWIG_IsOK(res1
)) {
28675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_EventLoopActivator" "', expected argument " "1"" of type '" "wxEventLoop *""'");
28677 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
28679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28680 result
= (wxEventLoopActivator
*)new wxEventLoopActivator(arg1
);
28681 wxPyEndAllowThreads(__tstate
);
28682 if (PyErr_Occurred()) SWIG_fail
;
28684 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEventLoopActivator
, SWIG_POINTER_NEW
| 0 );
28691 SWIGINTERN PyObject
*_wrap_delete_EventLoopActivator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28692 PyObject
*resultobj
= 0;
28693 wxEventLoopActivator
*arg1
= (wxEventLoopActivator
*) 0 ;
28696 PyObject
*swig_obj
[1] ;
28698 if (!args
) SWIG_fail
;
28699 swig_obj
[0] = args
;
28700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEventLoopActivator
, SWIG_POINTER_DISOWN
| 0 );
28701 if (!SWIG_IsOK(res1
)) {
28702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EventLoopActivator" "', expected argument " "1"" of type '" "wxEventLoopActivator *""'");
28704 arg1
= reinterpret_cast< wxEventLoopActivator
* >(argp1
);
28706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28709 wxPyEndAllowThreads(__tstate
);
28710 if (PyErr_Occurred()) SWIG_fail
;
28712 resultobj
= SWIG_Py_Void();
28719 SWIGINTERN PyObject
*EventLoopActivator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28721 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28722 SWIG_TypeNewClientData(SWIGTYPE_p_wxEventLoopActivator
, SWIG_NewClientData(obj
));
28723 return SWIG_Py_Void();
28726 SWIGINTERN PyObject
*EventLoopActivator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28727 return SWIG_Python_InitShadowInstance(args
);
28730 SWIGINTERN PyObject
*_wrap_new_AcceleratorEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28731 PyObject
*resultobj
= 0;
28732 int arg1
= (int) 0 ;
28733 int arg2
= (int) 0 ;
28734 int arg3
= (int) 0 ;
28735 wxAcceleratorEntry
*result
= 0 ;
28742 PyObject
* obj0
= 0 ;
28743 PyObject
* obj1
= 0 ;
28744 PyObject
* obj2
= 0 ;
28745 char * kwnames
[] = {
28746 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
28749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28751 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28752 if (!SWIG_IsOK(ecode1
)) {
28753 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_AcceleratorEntry" "', expected argument " "1"" of type '" "int""'");
28755 arg1
= static_cast< int >(val1
);
28758 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28759 if (!SWIG_IsOK(ecode2
)) {
28760 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_AcceleratorEntry" "', expected argument " "2"" of type '" "int""'");
28762 arg2
= static_cast< int >(val2
);
28765 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28766 if (!SWIG_IsOK(ecode3
)) {
28767 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_AcceleratorEntry" "', expected argument " "3"" of type '" "int""'");
28769 arg3
= static_cast< int >(val3
);
28772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28773 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
28774 wxPyEndAllowThreads(__tstate
);
28775 if (PyErr_Occurred()) SWIG_fail
;
28777 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_NEW
| 0 );
28784 SWIGINTERN PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28785 PyObject
*resultobj
= 0;
28786 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
28789 PyObject
*swig_obj
[1] ;
28791 if (!args
) SWIG_fail
;
28792 swig_obj
[0] = args
;
28793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_DISOWN
| 0 );
28794 if (!SWIG_IsOK(res1
)) {
28795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AcceleratorEntry" "', expected argument " "1"" of type '" "wxAcceleratorEntry *""'");
28797 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
28799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28802 wxPyEndAllowThreads(__tstate
);
28803 if (PyErr_Occurred()) SWIG_fail
;
28805 resultobj
= SWIG_Py_Void();
28812 SWIGINTERN PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28813 PyObject
*resultobj
= 0;
28814 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
28826 PyObject
* obj0
= 0 ;
28827 PyObject
* obj1
= 0 ;
28828 PyObject
* obj2
= 0 ;
28829 PyObject
* obj3
= 0 ;
28830 char * kwnames
[] = {
28831 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
28834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
28836 if (!SWIG_IsOK(res1
)) {
28837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AcceleratorEntry_Set" "', expected argument " "1"" of type '" "wxAcceleratorEntry *""'");
28839 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
28840 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28841 if (!SWIG_IsOK(ecode2
)) {
28842 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AcceleratorEntry_Set" "', expected argument " "2"" of type '" "int""'");
28844 arg2
= static_cast< int >(val2
);
28845 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28846 if (!SWIG_IsOK(ecode3
)) {
28847 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AcceleratorEntry_Set" "', expected argument " "3"" of type '" "int""'");
28849 arg3
= static_cast< int >(val3
);
28850 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28851 if (!SWIG_IsOK(ecode4
)) {
28852 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AcceleratorEntry_Set" "', expected argument " "4"" of type '" "int""'");
28854 arg4
= static_cast< int >(val4
);
28856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28857 (arg1
)->Set(arg2
,arg3
,arg4
);
28858 wxPyEndAllowThreads(__tstate
);
28859 if (PyErr_Occurred()) SWIG_fail
;
28861 resultobj
= SWIG_Py_Void();
28868 SWIGINTERN PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28869 PyObject
*resultobj
= 0;
28870 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
28874 PyObject
*swig_obj
[1] ;
28876 if (!args
) SWIG_fail
;
28877 swig_obj
[0] = args
;
28878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
28879 if (!SWIG_IsOK(res1
)) {
28880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AcceleratorEntry_GetFlags" "', expected argument " "1"" of type '" "wxAcceleratorEntry *""'");
28882 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
28884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28885 result
= (int)(arg1
)->GetFlags();
28886 wxPyEndAllowThreads(__tstate
);
28887 if (PyErr_Occurred()) SWIG_fail
;
28889 resultobj
= SWIG_From_int(static_cast< int >(result
));
28896 SWIGINTERN PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28897 PyObject
*resultobj
= 0;
28898 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
28902 PyObject
*swig_obj
[1] ;
28904 if (!args
) SWIG_fail
;
28905 swig_obj
[0] = args
;
28906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
28907 if (!SWIG_IsOK(res1
)) {
28908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AcceleratorEntry_GetKeyCode" "', expected argument " "1"" of type '" "wxAcceleratorEntry *""'");
28910 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
28912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28913 result
= (int)(arg1
)->GetKeyCode();
28914 wxPyEndAllowThreads(__tstate
);
28915 if (PyErr_Occurred()) SWIG_fail
;
28917 resultobj
= SWIG_From_int(static_cast< int >(result
));
28924 SWIGINTERN PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28925 PyObject
*resultobj
= 0;
28926 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
28930 PyObject
*swig_obj
[1] ;
28932 if (!args
) SWIG_fail
;
28933 swig_obj
[0] = args
;
28934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
28935 if (!SWIG_IsOK(res1
)) {
28936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AcceleratorEntry_GetCommand" "', expected argument " "1"" of type '" "wxAcceleratorEntry *""'");
28938 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
28940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28941 result
= (int)(arg1
)->GetCommand();
28942 wxPyEndAllowThreads(__tstate
);
28943 if (PyErr_Occurred()) SWIG_fail
;
28945 resultobj
= SWIG_From_int(static_cast< int >(result
));
28952 SWIGINTERN PyObject
*AcceleratorEntry_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28954 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28955 SWIG_TypeNewClientData(SWIGTYPE_p_wxAcceleratorEntry
, SWIG_NewClientData(obj
));
28956 return SWIG_Py_Void();
28959 SWIGINTERN PyObject
*AcceleratorEntry_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28960 return SWIG_Python_InitShadowInstance(args
);
28963 SWIGINTERN PyObject
*_wrap_new_AcceleratorTable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28964 PyObject
*resultobj
= 0;
28966 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
28967 wxAcceleratorTable
*result
= 0 ;
28968 PyObject
* obj0
= 0 ;
28969 char * kwnames
[] = {
28973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) SWIG_fail
;
28975 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
28976 if (arg2
) arg1
= PyList_Size(obj0
);
28980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28981 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
28982 wxPyEndAllowThreads(__tstate
);
28983 if (PyErr_Occurred()) SWIG_fail
;
28985 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_NEW
| 0 );
28992 SWIGINTERN PyObject
*_wrap_delete_AcceleratorTable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28993 PyObject
*resultobj
= 0;
28994 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
28997 PyObject
*swig_obj
[1] ;
28999 if (!args
) SWIG_fail
;
29000 swig_obj
[0] = args
;
29001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_DISOWN
| 0 );
29002 if (!SWIG_IsOK(res1
)) {
29003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AcceleratorTable" "', expected argument " "1"" of type '" "wxAcceleratorTable *""'");
29005 arg1
= reinterpret_cast< wxAcceleratorTable
* >(argp1
);
29007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29010 wxPyEndAllowThreads(__tstate
);
29011 if (PyErr_Occurred()) SWIG_fail
;
29013 resultobj
= SWIG_Py_Void();
29020 SWIGINTERN PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29021 PyObject
*resultobj
= 0;
29022 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
29026 PyObject
*swig_obj
[1] ;
29028 if (!args
) SWIG_fail
;
29029 swig_obj
[0] = args
;
29030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorTable
, 0 | 0 );
29031 if (!SWIG_IsOK(res1
)) {
29032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AcceleratorTable_Ok" "', expected argument " "1"" of type '" "wxAcceleratorTable const *""'");
29034 arg1
= reinterpret_cast< wxAcceleratorTable
* >(argp1
);
29036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29037 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
29038 wxPyEndAllowThreads(__tstate
);
29039 if (PyErr_Occurred()) SWIG_fail
;
29042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29050 SWIGINTERN PyObject
*AcceleratorTable_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29052 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29053 SWIG_TypeNewClientData(SWIGTYPE_p_wxAcceleratorTable
, SWIG_NewClientData(obj
));
29054 return SWIG_Py_Void();
29057 SWIGINTERN PyObject
*AcceleratorTable_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29058 return SWIG_Python_InitShadowInstance(args
);
29061 SWIGINTERN
int NullAcceleratorTable_set(PyObject
*) {
29062 SWIG_Error(SWIG_AttributeError
,"Variable NullAcceleratorTable is read-only.");
29067 SWIGINTERN PyObject
*NullAcceleratorTable_get(void) {
29068 PyObject
*pyobj
= 0;
29070 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0 );
29075 SWIGINTERN PyObject
*_wrap_GetAccelFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29076 PyObject
*resultobj
= 0;
29077 wxString
*arg1
= 0 ;
29078 wxAcceleratorEntry
*result
= 0 ;
29079 bool temp1
= false ;
29080 PyObject
* obj0
= 0 ;
29081 char * kwnames
[] = {
29082 (char *) "label", NULL
29085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) SWIG_fail
;
29087 arg1
= wxString_in_helper(obj0
);
29088 if (arg1
== NULL
) SWIG_fail
;
29092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29093 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
29094 wxPyEndAllowThreads(__tstate
);
29095 if (PyErr_Occurred()) SWIG_fail
;
29097 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
29112 SWIGINTERN
int PanelNameStr_set(PyObject
*) {
29113 SWIG_Error(SWIG_AttributeError
,"Variable PanelNameStr is read-only.");
29118 SWIGINTERN PyObject
*PanelNameStr_get(void) {
29119 PyObject
*pyobj
= 0;
29123 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
29125 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
29132 SWIGINTERN PyObject
*_wrap_new_VisualAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29133 PyObject
*resultobj
= 0;
29134 wxVisualAttributes
*result
= 0 ;
29136 if (!SWIG_Python_UnpackTuple(args
,"new_VisualAttributes",0,0,0)) SWIG_fail
;
29138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29139 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
29140 wxPyEndAllowThreads(__tstate
);
29141 if (PyErr_Occurred()) SWIG_fail
;
29143 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_NEW
| 0 );
29150 SWIGINTERN PyObject
*_wrap_delete_VisualAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29151 PyObject
*resultobj
= 0;
29152 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
29155 PyObject
*swig_obj
[1] ;
29157 if (!args
) SWIG_fail
;
29158 swig_obj
[0] = args
;
29159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_DISOWN
| 0 );
29160 if (!SWIG_IsOK(res1
)) {
29161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_VisualAttributes" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
29163 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
29165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29166 delete_wxVisualAttributes(arg1
);
29168 wxPyEndAllowThreads(__tstate
);
29169 if (PyErr_Occurred()) SWIG_fail
;
29171 resultobj
= SWIG_Py_Void();
29178 SWIGINTERN PyObject
*_wrap_VisualAttributes_font_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29179 PyObject
*resultobj
= 0;
29180 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
29181 wxFont
*arg2
= (wxFont
*) 0 ;
29186 PyObject
*swig_obj
[2] ;
29188 if (!SWIG_Python_UnpackTuple(args
,"VisualAttributes_font_set",2,2,swig_obj
)) SWIG_fail
;
29189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, 0 | 0 );
29190 if (!SWIG_IsOK(res1
)) {
29191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VisualAttributes_font_set" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
29193 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
29194 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
29195 if (!SWIG_IsOK(res2
)) {
29196 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VisualAttributes_font_set" "', expected argument " "2"" of type '" "wxFont *""'");
29198 arg2
= reinterpret_cast< wxFont
* >(argp2
);
29199 if (arg1
) (arg1
)->font
= *arg2
;
29201 resultobj
= SWIG_Py_Void();
29208 SWIGINTERN PyObject
*_wrap_VisualAttributes_font_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29209 PyObject
*resultobj
= 0;
29210 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
29211 wxFont
*result
= 0 ;
29214 PyObject
*swig_obj
[1] ;
29216 if (!args
) SWIG_fail
;
29217 swig_obj
[0] = args
;
29218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, 0 | 0 );
29219 if (!SWIG_IsOK(res1
)) {
29220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VisualAttributes_font_get" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
29222 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
29223 result
= (wxFont
*)& ((arg1
)->font
);
29224 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
29231 SWIGINTERN PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29232 PyObject
*resultobj
= 0;
29233 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
29234 wxColour
*arg2
= (wxColour
*) 0 ;
29239 PyObject
*swig_obj
[2] ;
29241 if (!SWIG_Python_UnpackTuple(args
,"VisualAttributes_colFg_set",2,2,swig_obj
)) SWIG_fail
;
29242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, 0 | 0 );
29243 if (!SWIG_IsOK(res1
)) {
29244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VisualAttributes_colFg_set" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
29246 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
29247 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxColour
, 0 | 0 );
29248 if (!SWIG_IsOK(res2
)) {
29249 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VisualAttributes_colFg_set" "', expected argument " "2"" of type '" "wxColour *""'");
29251 arg2
= reinterpret_cast< wxColour
* >(argp2
);
29252 if (arg1
) (arg1
)->colFg
= *arg2
;
29254 resultobj
= SWIG_Py_Void();
29261 SWIGINTERN PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29262 PyObject
*resultobj
= 0;
29263 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
29264 wxColour
*result
= 0 ;
29267 PyObject
*swig_obj
[1] ;
29269 if (!args
) SWIG_fail
;
29270 swig_obj
[0] = args
;
29271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, 0 | 0 );
29272 if (!SWIG_IsOK(res1
)) {
29273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VisualAttributes_colFg_get" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
29275 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
29276 result
= (wxColour
*)& ((arg1
)->colFg
);
29277 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
29284 SWIGINTERN PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29285 PyObject
*resultobj
= 0;
29286 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
29287 wxColour
*arg2
= (wxColour
*) 0 ;
29292 PyObject
*swig_obj
[2] ;
29294 if (!SWIG_Python_UnpackTuple(args
,"VisualAttributes_colBg_set",2,2,swig_obj
)) SWIG_fail
;
29295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, 0 | 0 );
29296 if (!SWIG_IsOK(res1
)) {
29297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VisualAttributes_colBg_set" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
29299 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
29300 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxColour
, 0 | 0 );
29301 if (!SWIG_IsOK(res2
)) {
29302 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VisualAttributes_colBg_set" "', expected argument " "2"" of type '" "wxColour *""'");
29304 arg2
= reinterpret_cast< wxColour
* >(argp2
);
29305 if (arg1
) (arg1
)->colBg
= *arg2
;
29307 resultobj
= SWIG_Py_Void();
29314 SWIGINTERN PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29315 PyObject
*resultobj
= 0;
29316 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
29317 wxColour
*result
= 0 ;
29320 PyObject
*swig_obj
[1] ;
29322 if (!args
) SWIG_fail
;
29323 swig_obj
[0] = args
;
29324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, 0 | 0 );
29325 if (!SWIG_IsOK(res1
)) {
29326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VisualAttributes_colBg_get" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
29328 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
29329 result
= (wxColour
*)& ((arg1
)->colBg
);
29330 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
29337 SWIGINTERN PyObject
*VisualAttributes_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29339 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29340 SWIG_TypeNewClientData(SWIGTYPE_p_wxVisualAttributes
, SWIG_NewClientData(obj
));
29341 return SWIG_Py_Void();
29344 SWIGINTERN PyObject
*VisualAttributes_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29345 return SWIG_Python_InitShadowInstance(args
);
29348 SWIGINTERN PyObject
*_wrap_new_Window(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29349 PyObject
*resultobj
= 0;
29350 wxWindow
*arg1
= (wxWindow
*) 0 ;
29351 int arg2
= (int) (int)-1 ;
29352 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29353 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29354 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29355 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29356 long arg5
= (long) 0 ;
29357 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
29358 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
29359 wxWindow
*result
= 0 ;
29368 bool temp6
= false ;
29369 PyObject
* obj0
= 0 ;
29370 PyObject
* obj1
= 0 ;
29371 PyObject
* obj2
= 0 ;
29372 PyObject
* obj3
= 0 ;
29373 PyObject
* obj4
= 0 ;
29374 PyObject
* obj5
= 0 ;
29375 char * kwnames
[] = {
29376 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29381 if (!SWIG_IsOK(res1
)) {
29382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Window" "', expected argument " "1"" of type '" "wxWindow *""'");
29384 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29386 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29387 if (!SWIG_IsOK(ecode2
)) {
29388 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Window" "', expected argument " "2"" of type '" "int""'");
29390 arg2
= static_cast< int >(val2
);
29395 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29401 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29405 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
29406 if (!SWIG_IsOK(ecode5
)) {
29407 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Window" "', expected argument " "5"" of type '" "long""'");
29409 arg5
= static_cast< long >(val5
);
29413 arg6
= wxString_in_helper(obj5
);
29414 if (arg6
== NULL
) SWIG_fail
;
29419 if (!wxPyCheckForApp()) SWIG_fail
;
29420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29421 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
29422 wxPyEndAllowThreads(__tstate
);
29423 if (PyErr_Occurred()) SWIG_fail
;
29425 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindow
, SWIG_POINTER_NEW
| 0 );
29440 SWIGINTERN PyObject
*_wrap_new_PreWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29441 PyObject
*resultobj
= 0;
29442 wxWindow
*result
= 0 ;
29444 if (!SWIG_Python_UnpackTuple(args
,"new_PreWindow",0,0,0)) SWIG_fail
;
29446 if (!wxPyCheckForApp()) SWIG_fail
;
29447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29448 result
= (wxWindow
*)new wxWindow();
29449 wxPyEndAllowThreads(__tstate
);
29450 if (PyErr_Occurred()) SWIG_fail
;
29452 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindow
, SWIG_POINTER_OWN
| 0 );
29459 SWIGINTERN PyObject
*_wrap_Window_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29460 PyObject
*resultobj
= 0;
29461 wxWindow
*arg1
= (wxWindow
*) 0 ;
29462 wxWindow
*arg2
= (wxWindow
*) 0 ;
29463 int arg3
= (int) (int)-1 ;
29464 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29465 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29466 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29467 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29468 long arg6
= (long) 0 ;
29469 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
29470 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29482 bool temp7
= false ;
29483 PyObject
* obj0
= 0 ;
29484 PyObject
* obj1
= 0 ;
29485 PyObject
* obj2
= 0 ;
29486 PyObject
* obj3
= 0 ;
29487 PyObject
* obj4
= 0 ;
29488 PyObject
* obj5
= 0 ;
29489 PyObject
* obj6
= 0 ;
29490 char * kwnames
[] = {
29491 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29496 if (!SWIG_IsOK(res1
)) {
29497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
29499 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29500 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29501 if (!SWIG_IsOK(res2
)) {
29502 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
29504 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29506 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29507 if (!SWIG_IsOK(ecode3
)) {
29508 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_Create" "', expected argument " "3"" of type '" "int""'");
29510 arg3
= static_cast< int >(val3
);
29515 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29521 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29525 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29526 if (!SWIG_IsOK(ecode6
)) {
29527 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Window_Create" "', expected argument " "6"" of type '" "long""'");
29529 arg6
= static_cast< long >(val6
);
29533 arg7
= wxString_in_helper(obj6
);
29534 if (arg7
== NULL
) SWIG_fail
;
29539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29540 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
29541 wxPyEndAllowThreads(__tstate
);
29542 if (PyErr_Occurred()) SWIG_fail
;
29545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29561 SWIGINTERN PyObject
*_wrap_Window_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29562 PyObject
*resultobj
= 0;
29563 wxWindow
*arg1
= (wxWindow
*) 0 ;
29564 bool arg2
= (bool) false ;
29570 PyObject
* obj0
= 0 ;
29571 PyObject
* obj1
= 0 ;
29572 char * kwnames
[] = {
29573 (char *) "self",(char *) "force", NULL
29576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29578 if (!SWIG_IsOK(res1
)) {
29579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Close" "', expected argument " "1"" of type '" "wxWindow *""'");
29581 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29583 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29584 if (!SWIG_IsOK(ecode2
)) {
29585 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_Close" "', expected argument " "2"" of type '" "bool""'");
29587 arg2
= static_cast< bool >(val2
);
29590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29591 result
= (bool)(arg1
)->Close(arg2
);
29592 wxPyEndAllowThreads(__tstate
);
29593 if (PyErr_Occurred()) SWIG_fail
;
29596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29604 SWIGINTERN PyObject
*_wrap_Window_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29605 PyObject
*resultobj
= 0;
29606 wxWindow
*arg1
= (wxWindow
*) 0 ;
29610 PyObject
*swig_obj
[1] ;
29612 if (!args
) SWIG_fail
;
29613 swig_obj
[0] = args
;
29614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29615 if (!SWIG_IsOK(res1
)) {
29616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Destroy" "', expected argument " "1"" of type '" "wxWindow *""'");
29618 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29621 result
= (bool)(arg1
)->Destroy();
29622 wxPyEndAllowThreads(__tstate
);
29623 if (PyErr_Occurred()) SWIG_fail
;
29626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29634 SWIGINTERN PyObject
*_wrap_Window_DestroyChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29635 PyObject
*resultobj
= 0;
29636 wxWindow
*arg1
= (wxWindow
*) 0 ;
29640 PyObject
*swig_obj
[1] ;
29642 if (!args
) SWIG_fail
;
29643 swig_obj
[0] = args
;
29644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29645 if (!SWIG_IsOK(res1
)) {
29646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_DestroyChildren" "', expected argument " "1"" of type '" "wxWindow *""'");
29648 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29651 result
= (bool)(arg1
)->DestroyChildren();
29652 wxPyEndAllowThreads(__tstate
);
29653 if (PyErr_Occurred()) SWIG_fail
;
29656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29664 SWIGINTERN PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29665 PyObject
*resultobj
= 0;
29666 wxWindow
*arg1
= (wxWindow
*) 0 ;
29670 PyObject
*swig_obj
[1] ;
29672 if (!args
) SWIG_fail
;
29673 swig_obj
[0] = args
;
29674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29675 if (!SWIG_IsOK(res1
)) {
29676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsBeingDeleted" "', expected argument " "1"" of type '" "wxWindow const *""'");
29678 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29681 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
29682 wxPyEndAllowThreads(__tstate
);
29683 if (PyErr_Occurred()) SWIG_fail
;
29686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29694 SWIGINTERN PyObject
*_wrap_Window_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29695 PyObject
*resultobj
= 0;
29696 wxWindow
*arg1
= (wxWindow
*) 0 ;
29697 wxString
*arg2
= 0 ;
29700 bool temp2
= false ;
29701 PyObject
* obj0
= 0 ;
29702 PyObject
* obj1
= 0 ;
29703 char * kwnames
[] = {
29704 (char *) "self",(char *) "label", NULL
29707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29709 if (!SWIG_IsOK(res1
)) {
29710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetLabel" "', expected argument " "1"" of type '" "wxWindow *""'");
29712 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29714 arg2
= wxString_in_helper(obj1
);
29715 if (arg2
== NULL
) SWIG_fail
;
29719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29720 (arg1
)->SetLabel((wxString
const &)*arg2
);
29721 wxPyEndAllowThreads(__tstate
);
29722 if (PyErr_Occurred()) SWIG_fail
;
29724 resultobj
= SWIG_Py_Void();
29739 SWIGINTERN PyObject
*_wrap_Window_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29740 PyObject
*resultobj
= 0;
29741 wxWindow
*arg1
= (wxWindow
*) 0 ;
29745 PyObject
*swig_obj
[1] ;
29747 if (!args
) SWIG_fail
;
29748 swig_obj
[0] = args
;
29749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29750 if (!SWIG_IsOK(res1
)) {
29751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetLabel" "', expected argument " "1"" of type '" "wxWindow const *""'");
29753 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29756 result
= ((wxWindow
const *)arg1
)->GetLabel();
29757 wxPyEndAllowThreads(__tstate
);
29758 if (PyErr_Occurred()) SWIG_fail
;
29762 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29764 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29773 SWIGINTERN PyObject
*_wrap_Window_SetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29774 PyObject
*resultobj
= 0;
29775 wxWindow
*arg1
= (wxWindow
*) 0 ;
29776 wxString
*arg2
= 0 ;
29779 bool temp2
= false ;
29780 PyObject
* obj0
= 0 ;
29781 PyObject
* obj1
= 0 ;
29782 char * kwnames
[] = {
29783 (char *) "self",(char *) "name", NULL
29786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29788 if (!SWIG_IsOK(res1
)) {
29789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetName" "', expected argument " "1"" of type '" "wxWindow *""'");
29791 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29793 arg2
= wxString_in_helper(obj1
);
29794 if (arg2
== NULL
) SWIG_fail
;
29798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29799 (arg1
)->SetName((wxString
const &)*arg2
);
29800 wxPyEndAllowThreads(__tstate
);
29801 if (PyErr_Occurred()) SWIG_fail
;
29803 resultobj
= SWIG_Py_Void();
29818 SWIGINTERN PyObject
*_wrap_Window_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29819 PyObject
*resultobj
= 0;
29820 wxWindow
*arg1
= (wxWindow
*) 0 ;
29824 PyObject
*swig_obj
[1] ;
29826 if (!args
) SWIG_fail
;
29827 swig_obj
[0] = args
;
29828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29829 if (!SWIG_IsOK(res1
)) {
29830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetName" "', expected argument " "1"" of type '" "wxWindow const *""'");
29832 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29835 result
= ((wxWindow
const *)arg1
)->GetName();
29836 wxPyEndAllowThreads(__tstate
);
29837 if (PyErr_Occurred()) SWIG_fail
;
29841 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29843 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29852 SWIGINTERN PyObject
*_wrap_Window_SetWindowVariant(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29853 PyObject
*resultobj
= 0;
29854 wxWindow
*arg1
= (wxWindow
*) 0 ;
29855 wxWindowVariant arg2
;
29860 PyObject
* obj0
= 0 ;
29861 PyObject
* obj1
= 0 ;
29862 char * kwnames
[] = {
29863 (char *) "self",(char *) "variant", NULL
29866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29868 if (!SWIG_IsOK(res1
)) {
29869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetWindowVariant" "', expected argument " "1"" of type '" "wxWindow *""'");
29871 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29872 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29873 if (!SWIG_IsOK(ecode2
)) {
29874 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetWindowVariant" "', expected argument " "2"" of type '" "wxWindowVariant""'");
29876 arg2
= static_cast< wxWindowVariant
>(val2
);
29878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29879 (arg1
)->SetWindowVariant(arg2
);
29880 wxPyEndAllowThreads(__tstate
);
29881 if (PyErr_Occurred()) SWIG_fail
;
29883 resultobj
= SWIG_Py_Void();
29890 SWIGINTERN PyObject
*_wrap_Window_GetWindowVariant(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29891 PyObject
*resultobj
= 0;
29892 wxWindow
*arg1
= (wxWindow
*) 0 ;
29893 wxWindowVariant result
;
29896 PyObject
*swig_obj
[1] ;
29898 if (!args
) SWIG_fail
;
29899 swig_obj
[0] = args
;
29900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29901 if (!SWIG_IsOK(res1
)) {
29902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetWindowVariant" "', expected argument " "1"" of type '" "wxWindow const *""'");
29904 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29907 result
= (wxWindowVariant
)((wxWindow
const *)arg1
)->GetWindowVariant();
29908 wxPyEndAllowThreads(__tstate
);
29909 if (PyErr_Occurred()) SWIG_fail
;
29911 resultobj
= SWIG_From_int(static_cast< int >(result
));
29918 SWIGINTERN PyObject
*_wrap_Window_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29919 PyObject
*resultobj
= 0;
29920 wxWindow
*arg1
= (wxWindow
*) 0 ;
29926 PyObject
* obj0
= 0 ;
29927 PyObject
* obj1
= 0 ;
29928 char * kwnames
[] = {
29929 (char *) "self",(char *) "winid", NULL
29932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29934 if (!SWIG_IsOK(res1
)) {
29935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetId" "', expected argument " "1"" of type '" "wxWindow *""'");
29937 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29938 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29939 if (!SWIG_IsOK(ecode2
)) {
29940 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetId" "', expected argument " "2"" of type '" "int""'");
29942 arg2
= static_cast< int >(val2
);
29944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29945 (arg1
)->SetId(arg2
);
29946 wxPyEndAllowThreads(__tstate
);
29947 if (PyErr_Occurred()) SWIG_fail
;
29949 resultobj
= SWIG_Py_Void();
29956 SWIGINTERN PyObject
*_wrap_Window_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29957 PyObject
*resultobj
= 0;
29958 wxWindow
*arg1
= (wxWindow
*) 0 ;
29962 PyObject
*swig_obj
[1] ;
29964 if (!args
) SWIG_fail
;
29965 swig_obj
[0] = args
;
29966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29967 if (!SWIG_IsOK(res1
)) {
29968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetId" "', expected argument " "1"" of type '" "wxWindow const *""'");
29970 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29973 result
= (int)((wxWindow
const *)arg1
)->GetId();
29974 wxPyEndAllowThreads(__tstate
);
29975 if (PyErr_Occurred()) SWIG_fail
;
29977 resultobj
= SWIG_From_int(static_cast< int >(result
));
29984 SWIGINTERN PyObject
*_wrap_Window_NewControlId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29985 PyObject
*resultobj
= 0;
29988 if (!SWIG_Python_UnpackTuple(args
,"Window_NewControlId",0,0,0)) SWIG_fail
;
29990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29991 result
= (int)wxWindow::NewControlId();
29992 wxPyEndAllowThreads(__tstate
);
29993 if (PyErr_Occurred()) SWIG_fail
;
29995 resultobj
= SWIG_From_int(static_cast< int >(result
));
30002 SWIGINTERN PyObject
*_wrap_Window_NextControlId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30003 PyObject
*resultobj
= 0;
30008 PyObject
* obj0
= 0 ;
30009 char * kwnames
[] = {
30010 (char *) "winid", NULL
30013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) SWIG_fail
;
30014 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30015 if (!SWIG_IsOK(ecode1
)) {
30016 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Window_NextControlId" "', expected argument " "1"" of type '" "int""'");
30018 arg1
= static_cast< int >(val1
);
30020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30021 result
= (int)wxWindow::NextControlId(arg1
);
30022 wxPyEndAllowThreads(__tstate
);
30023 if (PyErr_Occurred()) SWIG_fail
;
30025 resultobj
= SWIG_From_int(static_cast< int >(result
));
30032 SWIGINTERN PyObject
*_wrap_Window_PrevControlId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30033 PyObject
*resultobj
= 0;
30038 PyObject
* obj0
= 0 ;
30039 char * kwnames
[] = {
30040 (char *) "winid", NULL
30043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) SWIG_fail
;
30044 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30045 if (!SWIG_IsOK(ecode1
)) {
30046 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Window_PrevControlId" "', expected argument " "1"" of type '" "int""'");
30048 arg1
= static_cast< int >(val1
);
30050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30051 result
= (int)wxWindow::PrevControlId(arg1
);
30052 wxPyEndAllowThreads(__tstate
);
30053 if (PyErr_Occurred()) SWIG_fail
;
30055 resultobj
= SWIG_From_int(static_cast< int >(result
));
30062 SWIGINTERN PyObject
*_wrap_Window_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30063 PyObject
*resultobj
= 0;
30064 wxWindow
*arg1
= (wxWindow
*) 0 ;
30069 PyObject
* obj0
= 0 ;
30070 PyObject
* obj1
= 0 ;
30071 char * kwnames
[] = {
30072 (char *) "self",(char *) "size", NULL
30075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30077 if (!SWIG_IsOK(res1
)) {
30078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetSize" "', expected argument " "1"" of type '" "wxWindow *""'");
30080 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30083 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
30086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30087 (arg1
)->SetSize((wxSize
const &)*arg2
);
30088 wxPyEndAllowThreads(__tstate
);
30089 if (PyErr_Occurred()) SWIG_fail
;
30091 resultobj
= SWIG_Py_Void();
30098 SWIGINTERN PyObject
*_wrap_Window_SetDimensions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30099 PyObject
*resultobj
= 0;
30100 wxWindow
*arg1
= (wxWindow
*) 0 ;
30105 int arg6
= (int) wxSIZE_AUTO
;
30118 PyObject
* obj0
= 0 ;
30119 PyObject
* obj1
= 0 ;
30120 PyObject
* obj2
= 0 ;
30121 PyObject
* obj3
= 0 ;
30122 PyObject
* obj4
= 0 ;
30123 PyObject
* obj5
= 0 ;
30124 char * kwnames
[] = {
30125 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
30128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30130 if (!SWIG_IsOK(res1
)) {
30131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetDimensions" "', expected argument " "1"" of type '" "wxWindow *""'");
30133 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30134 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30135 if (!SWIG_IsOK(ecode2
)) {
30136 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetDimensions" "', expected argument " "2"" of type '" "int""'");
30138 arg2
= static_cast< int >(val2
);
30139 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30140 if (!SWIG_IsOK(ecode3
)) {
30141 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetDimensions" "', expected argument " "3"" of type '" "int""'");
30143 arg3
= static_cast< int >(val3
);
30144 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30145 if (!SWIG_IsOK(ecode4
)) {
30146 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_SetDimensions" "', expected argument " "4"" of type '" "int""'");
30148 arg4
= static_cast< int >(val4
);
30149 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30150 if (!SWIG_IsOK(ecode5
)) {
30151 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Window_SetDimensions" "', expected argument " "5"" of type '" "int""'");
30153 arg5
= static_cast< int >(val5
);
30155 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
30156 if (!SWIG_IsOK(ecode6
)) {
30157 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Window_SetDimensions" "', expected argument " "6"" of type '" "int""'");
30159 arg6
= static_cast< int >(val6
);
30162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30163 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
30164 wxPyEndAllowThreads(__tstate
);
30165 if (PyErr_Occurred()) SWIG_fail
;
30167 resultobj
= SWIG_Py_Void();
30174 SWIGINTERN PyObject
*_wrap_Window_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30175 PyObject
*resultobj
= 0;
30176 wxWindow
*arg1
= (wxWindow
*) 0 ;
30178 int arg3
= (int) wxSIZE_AUTO
;
30184 PyObject
* obj0
= 0 ;
30185 PyObject
* obj1
= 0 ;
30186 PyObject
* obj2
= 0 ;
30187 char * kwnames
[] = {
30188 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
30191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30193 if (!SWIG_IsOK(res1
)) {
30194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetRect" "', expected argument " "1"" of type '" "wxWindow *""'");
30196 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30199 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
30202 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30203 if (!SWIG_IsOK(ecode3
)) {
30204 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetRect" "', expected argument " "3"" of type '" "int""'");
30206 arg3
= static_cast< int >(val3
);
30209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30210 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
30211 wxPyEndAllowThreads(__tstate
);
30212 if (PyErr_Occurred()) SWIG_fail
;
30214 resultobj
= SWIG_Py_Void();
30221 SWIGINTERN PyObject
*_wrap_Window_SetSizeWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30222 PyObject
*resultobj
= 0;
30223 wxWindow
*arg1
= (wxWindow
*) 0 ;
30232 PyObject
* obj0
= 0 ;
30233 PyObject
* obj1
= 0 ;
30234 PyObject
* obj2
= 0 ;
30235 char * kwnames
[] = {
30236 (char *) "self",(char *) "width",(char *) "height", NULL
30239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30241 if (!SWIG_IsOK(res1
)) {
30242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetSizeWH" "', expected argument " "1"" of type '" "wxWindow *""'");
30244 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30245 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30246 if (!SWIG_IsOK(ecode2
)) {
30247 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetSizeWH" "', expected argument " "2"" of type '" "int""'");
30249 arg2
= static_cast< int >(val2
);
30250 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30251 if (!SWIG_IsOK(ecode3
)) {
30252 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetSizeWH" "', expected argument " "3"" of type '" "int""'");
30254 arg3
= static_cast< int >(val3
);
30256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30257 (arg1
)->SetSize(arg2
,arg3
);
30258 wxPyEndAllowThreads(__tstate
);
30259 if (PyErr_Occurred()) SWIG_fail
;
30261 resultobj
= SWIG_Py_Void();
30268 SWIGINTERN PyObject
*_wrap_Window_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30269 PyObject
*resultobj
= 0;
30270 wxWindow
*arg1
= (wxWindow
*) 0 ;
30271 wxPoint
*arg2
= 0 ;
30272 int arg3
= (int) wxSIZE_USE_EXISTING
;
30278 PyObject
* obj0
= 0 ;
30279 PyObject
* obj1
= 0 ;
30280 PyObject
* obj2
= 0 ;
30281 char * kwnames
[] = {
30282 (char *) "self",(char *) "pt",(char *) "flags", NULL
30285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30287 if (!SWIG_IsOK(res1
)) {
30288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Move" "', expected argument " "1"" of type '" "wxWindow *""'");
30290 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30293 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30296 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30297 if (!SWIG_IsOK(ecode3
)) {
30298 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_Move" "', expected argument " "3"" of type '" "int""'");
30300 arg3
= static_cast< int >(val3
);
30303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30304 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
30305 wxPyEndAllowThreads(__tstate
);
30306 if (PyErr_Occurred()) SWIG_fail
;
30308 resultobj
= SWIG_Py_Void();
30315 SWIGINTERN PyObject
*_wrap_Window_MoveXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30316 PyObject
*resultobj
= 0;
30317 wxWindow
*arg1
= (wxWindow
*) 0 ;
30320 int arg4
= (int) wxSIZE_USE_EXISTING
;
30329 PyObject
* obj0
= 0 ;
30330 PyObject
* obj1
= 0 ;
30331 PyObject
* obj2
= 0 ;
30332 PyObject
* obj3
= 0 ;
30333 char * kwnames
[] = {
30334 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
30337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30339 if (!SWIG_IsOK(res1
)) {
30340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_MoveXY" "', expected argument " "1"" of type '" "wxWindow *""'");
30342 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30343 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30344 if (!SWIG_IsOK(ecode2
)) {
30345 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_MoveXY" "', expected argument " "2"" of type '" "int""'");
30347 arg2
= static_cast< int >(val2
);
30348 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30349 if (!SWIG_IsOK(ecode3
)) {
30350 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_MoveXY" "', expected argument " "3"" of type '" "int""'");
30352 arg3
= static_cast< int >(val3
);
30354 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30355 if (!SWIG_IsOK(ecode4
)) {
30356 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_MoveXY" "', expected argument " "4"" of type '" "int""'");
30358 arg4
= static_cast< int >(val4
);
30361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30362 (arg1
)->Move(arg2
,arg3
,arg4
);
30363 wxPyEndAllowThreads(__tstate
);
30364 if (PyErr_Occurred()) SWIG_fail
;
30366 resultobj
= SWIG_Py_Void();
30373 SWIGINTERN PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30374 PyObject
*resultobj
= 0;
30375 wxWindow
*arg1
= (wxWindow
*) 0 ;
30376 wxSize
const &arg2_defvalue
= wxDefaultSize
;
30377 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
30381 PyObject
* obj0
= 0 ;
30382 PyObject
* obj1
= 0 ;
30383 char * kwnames
[] = {
30384 (char *) "self",(char *) "size", NULL
30387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30389 if (!SWIG_IsOK(res1
)) {
30390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetBestFittingSize" "', expected argument " "1"" of type '" "wxWindow *""'");
30392 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30396 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
30400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30401 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
30402 wxPyEndAllowThreads(__tstate
);
30403 if (PyErr_Occurred()) SWIG_fail
;
30405 resultobj
= SWIG_Py_Void();
30412 SWIGINTERN PyObject
*_wrap_Window_Raise(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30413 PyObject
*resultobj
= 0;
30414 wxWindow
*arg1
= (wxWindow
*) 0 ;
30417 PyObject
*swig_obj
[1] ;
30419 if (!args
) SWIG_fail
;
30420 swig_obj
[0] = args
;
30421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30422 if (!SWIG_IsOK(res1
)) {
30423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Raise" "', expected argument " "1"" of type '" "wxWindow *""'");
30425 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30429 wxPyEndAllowThreads(__tstate
);
30430 if (PyErr_Occurred()) SWIG_fail
;
30432 resultobj
= SWIG_Py_Void();
30439 SWIGINTERN PyObject
*_wrap_Window_Lower(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30440 PyObject
*resultobj
= 0;
30441 wxWindow
*arg1
= (wxWindow
*) 0 ;
30444 PyObject
*swig_obj
[1] ;
30446 if (!args
) SWIG_fail
;
30447 swig_obj
[0] = args
;
30448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30449 if (!SWIG_IsOK(res1
)) {
30450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Lower" "', expected argument " "1"" of type '" "wxWindow *""'");
30452 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30456 wxPyEndAllowThreads(__tstate
);
30457 if (PyErr_Occurred()) SWIG_fail
;
30459 resultobj
= SWIG_Py_Void();
30466 SWIGINTERN PyObject
*_wrap_Window_SetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30467 PyObject
*resultobj
= 0;
30468 wxWindow
*arg1
= (wxWindow
*) 0 ;
30473 PyObject
* obj0
= 0 ;
30474 PyObject
* obj1
= 0 ;
30475 char * kwnames
[] = {
30476 (char *) "self",(char *) "size", NULL
30479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30481 if (!SWIG_IsOK(res1
)) {
30482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetClientSize" "', expected argument " "1"" of type '" "wxWindow *""'");
30484 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30487 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
30490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30491 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
30492 wxPyEndAllowThreads(__tstate
);
30493 if (PyErr_Occurred()) SWIG_fail
;
30495 resultobj
= SWIG_Py_Void();
30502 SWIGINTERN PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30503 PyObject
*resultobj
= 0;
30504 wxWindow
*arg1
= (wxWindow
*) 0 ;
30513 PyObject
* obj0
= 0 ;
30514 PyObject
* obj1
= 0 ;
30515 PyObject
* obj2
= 0 ;
30516 char * kwnames
[] = {
30517 (char *) "self",(char *) "width",(char *) "height", NULL
30520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30522 if (!SWIG_IsOK(res1
)) {
30523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetClientSizeWH" "', expected argument " "1"" of type '" "wxWindow *""'");
30525 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30526 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30527 if (!SWIG_IsOK(ecode2
)) {
30528 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetClientSizeWH" "', expected argument " "2"" of type '" "int""'");
30530 arg2
= static_cast< int >(val2
);
30531 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30532 if (!SWIG_IsOK(ecode3
)) {
30533 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetClientSizeWH" "', expected argument " "3"" of type '" "int""'");
30535 arg3
= static_cast< int >(val3
);
30537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30538 (arg1
)->SetClientSize(arg2
,arg3
);
30539 wxPyEndAllowThreads(__tstate
);
30540 if (PyErr_Occurred()) SWIG_fail
;
30542 resultobj
= SWIG_Py_Void();
30549 SWIGINTERN PyObject
*_wrap_Window_SetClientRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30550 PyObject
*resultobj
= 0;
30551 wxWindow
*arg1
= (wxWindow
*) 0 ;
30556 PyObject
* obj0
= 0 ;
30557 PyObject
* obj1
= 0 ;
30558 char * kwnames
[] = {
30559 (char *) "self",(char *) "rect", NULL
30562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30564 if (!SWIG_IsOK(res1
)) {
30565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetClientRect" "', expected argument " "1"" of type '" "wxWindow *""'");
30567 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30570 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
30573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30574 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
30575 wxPyEndAllowThreads(__tstate
);
30576 if (PyErr_Occurred()) SWIG_fail
;
30578 resultobj
= SWIG_Py_Void();
30585 SWIGINTERN PyObject
*_wrap_Window_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30586 PyObject
*resultobj
= 0;
30587 wxWindow
*arg1
= (wxWindow
*) 0 ;
30591 PyObject
*swig_obj
[1] ;
30593 if (!args
) SWIG_fail
;
30594 swig_obj
[0] = args
;
30595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30596 if (!SWIG_IsOK(res1
)) {
30597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetPosition" "', expected argument " "1"" of type '" "wxWindow const *""'");
30599 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30602 result
= ((wxWindow
const *)arg1
)->GetPosition();
30603 wxPyEndAllowThreads(__tstate
);
30604 if (PyErr_Occurred()) SWIG_fail
;
30606 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
30613 SWIGINTERN PyObject
*_wrap_Window_GetPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30614 PyObject
*resultobj
= 0;
30615 wxWindow
*arg1
= (wxWindow
*) 0 ;
30616 int *arg2
= (int *) 0 ;
30617 int *arg3
= (int *) 0 ;
30621 int res2
= SWIG_TMPOBJ
;
30623 int res3
= SWIG_TMPOBJ
;
30624 PyObject
*swig_obj
[1] ;
30628 if (!args
) SWIG_fail
;
30629 swig_obj
[0] = args
;
30630 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30631 if (!SWIG_IsOK(res1
)) {
30632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetPositionTuple" "', expected argument " "1"" of type '" "wxWindow const *""'");
30634 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30637 ((wxWindow
const *)arg1
)->GetPosition(arg2
,arg3
);
30638 wxPyEndAllowThreads(__tstate
);
30639 if (PyErr_Occurred()) SWIG_fail
;
30641 resultobj
= SWIG_Py_Void();
30642 if (SWIG_IsTmpObj(res2
)) {
30643 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
30645 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30646 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
30648 if (SWIG_IsTmpObj(res3
)) {
30649 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30651 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30652 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30660 SWIGINTERN PyObject
*_wrap_Window_GetScreenPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30661 PyObject
*resultobj
= 0;
30662 wxWindow
*arg1
= (wxWindow
*) 0 ;
30666 PyObject
*swig_obj
[1] ;
30668 if (!args
) SWIG_fail
;
30669 swig_obj
[0] = args
;
30670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30671 if (!SWIG_IsOK(res1
)) {
30672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetScreenPosition" "', expected argument " "1"" of type '" "wxWindow const *""'");
30674 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30677 result
= ((wxWindow
const *)arg1
)->GetScreenPosition();
30678 wxPyEndAllowThreads(__tstate
);
30679 if (PyErr_Occurred()) SWIG_fail
;
30681 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
30688 SWIGINTERN PyObject
*_wrap_Window_GetScreenPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30689 PyObject
*resultobj
= 0;
30690 wxWindow
*arg1
= (wxWindow
*) 0 ;
30691 int *arg2
= (int *) 0 ;
30692 int *arg3
= (int *) 0 ;
30696 int res2
= SWIG_TMPOBJ
;
30698 int res3
= SWIG_TMPOBJ
;
30699 PyObject
*swig_obj
[1] ;
30703 if (!args
) SWIG_fail
;
30704 swig_obj
[0] = args
;
30705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30706 if (!SWIG_IsOK(res1
)) {
30707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetScreenPositionTuple" "', expected argument " "1"" of type '" "wxWindow const *""'");
30709 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30712 ((wxWindow
const *)arg1
)->GetScreenPosition(arg2
,arg3
);
30713 wxPyEndAllowThreads(__tstate
);
30714 if (PyErr_Occurred()) SWIG_fail
;
30716 resultobj
= SWIG_Py_Void();
30717 if (SWIG_IsTmpObj(res2
)) {
30718 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
30720 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30721 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
30723 if (SWIG_IsTmpObj(res3
)) {
30724 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30726 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30727 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30735 SWIGINTERN PyObject
*_wrap_Window_GetScreenRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30736 PyObject
*resultobj
= 0;
30737 wxWindow
*arg1
= (wxWindow
*) 0 ;
30741 PyObject
*swig_obj
[1] ;
30743 if (!args
) SWIG_fail
;
30744 swig_obj
[0] = args
;
30745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30746 if (!SWIG_IsOK(res1
)) {
30747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetScreenRect" "', expected argument " "1"" of type '" "wxWindow const *""'");
30749 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30752 result
= ((wxWindow
const *)arg1
)->GetScreenRect();
30753 wxPyEndAllowThreads(__tstate
);
30754 if (PyErr_Occurred()) SWIG_fail
;
30756 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
30763 SWIGINTERN PyObject
*_wrap_Window_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30764 PyObject
*resultobj
= 0;
30765 wxWindow
*arg1
= (wxWindow
*) 0 ;
30769 PyObject
*swig_obj
[1] ;
30771 if (!args
) SWIG_fail
;
30772 swig_obj
[0] = args
;
30773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30774 if (!SWIG_IsOK(res1
)) {
30775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
30777 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30780 result
= ((wxWindow
const *)arg1
)->GetSize();
30781 wxPyEndAllowThreads(__tstate
);
30782 if (PyErr_Occurred()) SWIG_fail
;
30784 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
30791 SWIGINTERN PyObject
*_wrap_Window_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30792 PyObject
*resultobj
= 0;
30793 wxWindow
*arg1
= (wxWindow
*) 0 ;
30794 int *arg2
= (int *) 0 ;
30795 int *arg3
= (int *) 0 ;
30799 int res2
= SWIG_TMPOBJ
;
30801 int res3
= SWIG_TMPOBJ
;
30802 PyObject
*swig_obj
[1] ;
30806 if (!args
) SWIG_fail
;
30807 swig_obj
[0] = args
;
30808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30809 if (!SWIG_IsOK(res1
)) {
30810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetSizeTuple" "', expected argument " "1"" of type '" "wxWindow const *""'");
30812 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30815 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
30816 wxPyEndAllowThreads(__tstate
);
30817 if (PyErr_Occurred()) SWIG_fail
;
30819 resultobj
= SWIG_Py_Void();
30820 if (SWIG_IsTmpObj(res2
)) {
30821 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
30823 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30824 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
30826 if (SWIG_IsTmpObj(res3
)) {
30827 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30829 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30830 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30838 SWIGINTERN PyObject
*_wrap_Window_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30839 PyObject
*resultobj
= 0;
30840 wxWindow
*arg1
= (wxWindow
*) 0 ;
30844 PyObject
*swig_obj
[1] ;
30846 if (!args
) SWIG_fail
;
30847 swig_obj
[0] = args
;
30848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30849 if (!SWIG_IsOK(res1
)) {
30850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetRect" "', expected argument " "1"" of type '" "wxWindow const *""'");
30852 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30855 result
= ((wxWindow
const *)arg1
)->GetRect();
30856 wxPyEndAllowThreads(__tstate
);
30857 if (PyErr_Occurred()) SWIG_fail
;
30859 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
30866 SWIGINTERN PyObject
*_wrap_Window_GetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30867 PyObject
*resultobj
= 0;
30868 wxWindow
*arg1
= (wxWindow
*) 0 ;
30872 PyObject
*swig_obj
[1] ;
30874 if (!args
) SWIG_fail
;
30875 swig_obj
[0] = args
;
30876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30877 if (!SWIG_IsOK(res1
)) {
30878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetClientSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
30880 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30883 result
= ((wxWindow
const *)arg1
)->GetClientSize();
30884 wxPyEndAllowThreads(__tstate
);
30885 if (PyErr_Occurred()) SWIG_fail
;
30887 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
30894 SWIGINTERN PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30895 PyObject
*resultobj
= 0;
30896 wxWindow
*arg1
= (wxWindow
*) 0 ;
30897 int *arg2
= (int *) 0 ;
30898 int *arg3
= (int *) 0 ;
30902 int res2
= SWIG_TMPOBJ
;
30904 int res3
= SWIG_TMPOBJ
;
30905 PyObject
*swig_obj
[1] ;
30909 if (!args
) SWIG_fail
;
30910 swig_obj
[0] = args
;
30911 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30912 if (!SWIG_IsOK(res1
)) {
30913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetClientSizeTuple" "', expected argument " "1"" of type '" "wxWindow const *""'");
30915 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30918 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
30919 wxPyEndAllowThreads(__tstate
);
30920 if (PyErr_Occurred()) SWIG_fail
;
30922 resultobj
= SWIG_Py_Void();
30923 if (SWIG_IsTmpObj(res2
)) {
30924 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
30926 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30927 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
30929 if (SWIG_IsTmpObj(res3
)) {
30930 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30932 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30933 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30941 SWIGINTERN PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30942 PyObject
*resultobj
= 0;
30943 wxWindow
*arg1
= (wxWindow
*) 0 ;
30947 PyObject
*swig_obj
[1] ;
30949 if (!args
) SWIG_fail
;
30950 swig_obj
[0] = args
;
30951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30952 if (!SWIG_IsOK(res1
)) {
30953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetClientAreaOrigin" "', expected argument " "1"" of type '" "wxWindow const *""'");
30955 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30958 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
30959 wxPyEndAllowThreads(__tstate
);
30960 if (PyErr_Occurred()) SWIG_fail
;
30962 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
30969 SWIGINTERN PyObject
*_wrap_Window_GetClientRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30970 PyObject
*resultobj
= 0;
30971 wxWindow
*arg1
= (wxWindow
*) 0 ;
30975 PyObject
*swig_obj
[1] ;
30977 if (!args
) SWIG_fail
;
30978 swig_obj
[0] = args
;
30979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30980 if (!SWIG_IsOK(res1
)) {
30981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetClientRect" "', expected argument " "1"" of type '" "wxWindow const *""'");
30983 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30986 result
= ((wxWindow
const *)arg1
)->GetClientRect();
30987 wxPyEndAllowThreads(__tstate
);
30988 if (PyErr_Occurred()) SWIG_fail
;
30990 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
30997 SWIGINTERN PyObject
*_wrap_Window_GetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30998 PyObject
*resultobj
= 0;
30999 wxWindow
*arg1
= (wxWindow
*) 0 ;
31003 PyObject
*swig_obj
[1] ;
31005 if (!args
) SWIG_fail
;
31006 swig_obj
[0] = args
;
31007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31008 if (!SWIG_IsOK(res1
)) {
31009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBestSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
31011 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31014 result
= ((wxWindow
const *)arg1
)->GetBestSize();
31015 wxPyEndAllowThreads(__tstate
);
31016 if (PyErr_Occurred()) SWIG_fail
;
31018 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
31025 SWIGINTERN PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31026 PyObject
*resultobj
= 0;
31027 wxWindow
*arg1
= (wxWindow
*) 0 ;
31028 int *arg2
= (int *) 0 ;
31029 int *arg3
= (int *) 0 ;
31033 int res2
= SWIG_TMPOBJ
;
31035 int res3
= SWIG_TMPOBJ
;
31036 PyObject
*swig_obj
[1] ;
31040 if (!args
) SWIG_fail
;
31041 swig_obj
[0] = args
;
31042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31043 if (!SWIG_IsOK(res1
)) {
31044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBestSizeTuple" "', expected argument " "1"" of type '" "wxWindow const *""'");
31046 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31049 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
31050 wxPyEndAllowThreads(__tstate
);
31051 if (PyErr_Occurred()) SWIG_fail
;
31053 resultobj
= SWIG_Py_Void();
31054 if (SWIG_IsTmpObj(res2
)) {
31055 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
31057 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31058 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
31060 if (SWIG_IsTmpObj(res3
)) {
31061 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31063 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31064 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31072 SWIGINTERN PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31073 PyObject
*resultobj
= 0;
31074 wxWindow
*arg1
= (wxWindow
*) 0 ;
31077 PyObject
*swig_obj
[1] ;
31079 if (!args
) SWIG_fail
;
31080 swig_obj
[0] = args
;
31081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31082 if (!SWIG_IsOK(res1
)) {
31083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_InvalidateBestSize" "', expected argument " "1"" of type '" "wxWindow *""'");
31085 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31088 (arg1
)->InvalidateBestSize();
31089 wxPyEndAllowThreads(__tstate
);
31090 if (PyErr_Occurred()) SWIG_fail
;
31092 resultobj
= SWIG_Py_Void();
31099 SWIGINTERN PyObject
*_wrap_Window_CacheBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31100 PyObject
*resultobj
= 0;
31101 wxWindow
*arg1
= (wxWindow
*) 0 ;
31106 PyObject
* obj0
= 0 ;
31107 PyObject
* obj1
= 0 ;
31108 char * kwnames
[] = {
31109 (char *) "self",(char *) "size", NULL
31112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_CacheBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31114 if (!SWIG_IsOK(res1
)) {
31115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_CacheBestSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
31117 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31120 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
31123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31124 ((wxWindow
const *)arg1
)->CacheBestSize((wxSize
const &)*arg2
);
31125 wxPyEndAllowThreads(__tstate
);
31126 if (PyErr_Occurred()) SWIG_fail
;
31128 resultobj
= SWIG_Py_Void();
31135 SWIGINTERN PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31136 PyObject
*resultobj
= 0;
31137 wxWindow
*arg1
= (wxWindow
*) 0 ;
31141 PyObject
*swig_obj
[1] ;
31143 if (!args
) SWIG_fail
;
31144 swig_obj
[0] = args
;
31145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31146 if (!SWIG_IsOK(res1
)) {
31147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBestFittingSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
31149 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31152 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
31153 wxPyEndAllowThreads(__tstate
);
31154 if (PyErr_Occurred()) SWIG_fail
;
31156 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
31163 SWIGINTERN PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31164 PyObject
*resultobj
= 0;
31165 wxWindow
*arg1
= (wxWindow
*) 0 ;
31169 PyObject
*swig_obj
[1] ;
31171 if (!args
) SWIG_fail
;
31172 swig_obj
[0] = args
;
31173 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31174 if (!SWIG_IsOK(res1
)) {
31175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetAdjustedBestSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
31177 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31180 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
31181 wxPyEndAllowThreads(__tstate
);
31182 if (PyErr_Occurred()) SWIG_fail
;
31184 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
31191 SWIGINTERN PyObject
*_wrap_Window_Center(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31192 PyObject
*resultobj
= 0;
31193 wxWindow
*arg1
= (wxWindow
*) 0 ;
31194 int arg2
= (int) wxBOTH
;
31199 PyObject
* obj0
= 0 ;
31200 PyObject
* obj1
= 0 ;
31201 char * kwnames
[] = {
31202 (char *) "self",(char *) "direction", NULL
31205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31207 if (!SWIG_IsOK(res1
)) {
31208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Center" "', expected argument " "1"" of type '" "wxWindow *""'");
31210 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31212 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31213 if (!SWIG_IsOK(ecode2
)) {
31214 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_Center" "', expected argument " "2"" of type '" "int""'");
31216 arg2
= static_cast< int >(val2
);
31219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31220 (arg1
)->Center(arg2
);
31221 wxPyEndAllowThreads(__tstate
);
31222 if (PyErr_Occurred()) SWIG_fail
;
31224 resultobj
= SWIG_Py_Void();
31231 SWIGINTERN PyObject
*_wrap_Window_CenterOnParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31232 PyObject
*resultobj
= 0;
31233 wxWindow
*arg1
= (wxWindow
*) 0 ;
31234 int arg2
= (int) wxBOTH
;
31239 PyObject
* obj0
= 0 ;
31240 PyObject
* obj1
= 0 ;
31241 char * kwnames
[] = {
31242 (char *) "self",(char *) "dir", NULL
31245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31247 if (!SWIG_IsOK(res1
)) {
31248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_CenterOnParent" "', expected argument " "1"" of type '" "wxWindow *""'");
31250 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31252 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31253 if (!SWIG_IsOK(ecode2
)) {
31254 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_CenterOnParent" "', expected argument " "2"" of type '" "int""'");
31256 arg2
= static_cast< int >(val2
);
31259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31260 (arg1
)->CenterOnParent(arg2
);
31261 wxPyEndAllowThreads(__tstate
);
31262 if (PyErr_Occurred()) SWIG_fail
;
31264 resultobj
= SWIG_Py_Void();
31271 SWIGINTERN PyObject
*_wrap_Window_Fit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31272 PyObject
*resultobj
= 0;
31273 wxWindow
*arg1
= (wxWindow
*) 0 ;
31276 PyObject
*swig_obj
[1] ;
31278 if (!args
) SWIG_fail
;
31279 swig_obj
[0] = args
;
31280 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31281 if (!SWIG_IsOK(res1
)) {
31282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Fit" "', expected argument " "1"" of type '" "wxWindow *""'");
31284 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31288 wxPyEndAllowThreads(__tstate
);
31289 if (PyErr_Occurred()) SWIG_fail
;
31291 resultobj
= SWIG_Py_Void();
31298 SWIGINTERN PyObject
*_wrap_Window_FitInside(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31299 PyObject
*resultobj
= 0;
31300 wxWindow
*arg1
= (wxWindow
*) 0 ;
31303 PyObject
*swig_obj
[1] ;
31305 if (!args
) SWIG_fail
;
31306 swig_obj
[0] = args
;
31307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31308 if (!SWIG_IsOK(res1
)) {
31309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_FitInside" "', expected argument " "1"" of type '" "wxWindow *""'");
31311 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31314 (arg1
)->FitInside();
31315 wxPyEndAllowThreads(__tstate
);
31316 if (PyErr_Occurred()) SWIG_fail
;
31318 resultobj
= SWIG_Py_Void();
31325 SWIGINTERN PyObject
*_wrap_Window_SetSizeHints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31326 PyObject
*resultobj
= 0;
31327 wxWindow
*arg1
= (wxWindow
*) 0 ;
31330 int arg4
= (int) -1 ;
31331 int arg5
= (int) -1 ;
31332 int arg6
= (int) -1 ;
31333 int arg7
= (int) -1 ;
31348 PyObject
* obj0
= 0 ;
31349 PyObject
* obj1
= 0 ;
31350 PyObject
* obj2
= 0 ;
31351 PyObject
* obj3
= 0 ;
31352 PyObject
* obj4
= 0 ;
31353 PyObject
* obj5
= 0 ;
31354 PyObject
* obj6
= 0 ;
31355 char * kwnames
[] = {
31356 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
31359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31361 if (!SWIG_IsOK(res1
)) {
31362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetSizeHints" "', expected argument " "1"" of type '" "wxWindow *""'");
31364 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31365 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31366 if (!SWIG_IsOK(ecode2
)) {
31367 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetSizeHints" "', expected argument " "2"" of type '" "int""'");
31369 arg2
= static_cast< int >(val2
);
31370 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31371 if (!SWIG_IsOK(ecode3
)) {
31372 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetSizeHints" "', expected argument " "3"" of type '" "int""'");
31374 arg3
= static_cast< int >(val3
);
31376 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31377 if (!SWIG_IsOK(ecode4
)) {
31378 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_SetSizeHints" "', expected argument " "4"" of type '" "int""'");
31380 arg4
= static_cast< int >(val4
);
31383 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31384 if (!SWIG_IsOK(ecode5
)) {
31385 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Window_SetSizeHints" "', expected argument " "5"" of type '" "int""'");
31387 arg5
= static_cast< int >(val5
);
31390 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
31391 if (!SWIG_IsOK(ecode6
)) {
31392 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Window_SetSizeHints" "', expected argument " "6"" of type '" "int""'");
31394 arg6
= static_cast< int >(val6
);
31397 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
31398 if (!SWIG_IsOK(ecode7
)) {
31399 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Window_SetSizeHints" "', expected argument " "7"" of type '" "int""'");
31401 arg7
= static_cast< int >(val7
);
31404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31405 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
31406 wxPyEndAllowThreads(__tstate
);
31407 if (PyErr_Occurred()) SWIG_fail
;
31409 resultobj
= SWIG_Py_Void();
31416 SWIGINTERN PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31417 PyObject
*resultobj
= 0;
31418 wxWindow
*arg1
= (wxWindow
*) 0 ;
31420 wxSize
const &arg3_defvalue
= wxDefaultSize
;
31421 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
31422 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31423 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31429 PyObject
* obj0
= 0 ;
31430 PyObject
* obj1
= 0 ;
31431 PyObject
* obj2
= 0 ;
31432 PyObject
* obj3
= 0 ;
31433 char * kwnames
[] = {
31434 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
31437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31439 if (!SWIG_IsOK(res1
)) {
31440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetSizeHintsSz" "', expected argument " "1"" of type '" "wxWindow *""'");
31442 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31445 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
31450 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
31456 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31461 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
31462 wxPyEndAllowThreads(__tstate
);
31463 if (PyErr_Occurred()) SWIG_fail
;
31465 resultobj
= SWIG_Py_Void();
31472 SWIGINTERN PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31473 PyObject
*resultobj
= 0;
31474 wxWindow
*arg1
= (wxWindow
*) 0 ;
31477 int arg4
= (int) -1 ;
31478 int arg5
= (int) -1 ;
31489 PyObject
* obj0
= 0 ;
31490 PyObject
* obj1
= 0 ;
31491 PyObject
* obj2
= 0 ;
31492 PyObject
* obj3
= 0 ;
31493 PyObject
* obj4
= 0 ;
31494 char * kwnames
[] = {
31495 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
31498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31500 if (!SWIG_IsOK(res1
)) {
31501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetVirtualSizeHints" "', expected argument " "1"" of type '" "wxWindow *""'");
31503 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31504 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31505 if (!SWIG_IsOK(ecode2
)) {
31506 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetVirtualSizeHints" "', expected argument " "2"" of type '" "int""'");
31508 arg2
= static_cast< int >(val2
);
31509 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31510 if (!SWIG_IsOK(ecode3
)) {
31511 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetVirtualSizeHints" "', expected argument " "3"" of type '" "int""'");
31513 arg3
= static_cast< int >(val3
);
31515 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31516 if (!SWIG_IsOK(ecode4
)) {
31517 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_SetVirtualSizeHints" "', expected argument " "4"" of type '" "int""'");
31519 arg4
= static_cast< int >(val4
);
31522 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31523 if (!SWIG_IsOK(ecode5
)) {
31524 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Window_SetVirtualSizeHints" "', expected argument " "5"" of type '" "int""'");
31526 arg5
= static_cast< int >(val5
);
31529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31530 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
31531 wxPyEndAllowThreads(__tstate
);
31532 if (PyErr_Occurred()) SWIG_fail
;
31534 resultobj
= SWIG_Py_Void();
31541 SWIGINTERN PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31542 PyObject
*resultobj
= 0;
31543 wxWindow
*arg1
= (wxWindow
*) 0 ;
31545 wxSize
const &arg3_defvalue
= wxDefaultSize
;
31546 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
31551 PyObject
* obj0
= 0 ;
31552 PyObject
* obj1
= 0 ;
31553 PyObject
* obj2
= 0 ;
31554 char * kwnames
[] = {
31555 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
31558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31560 if (!SWIG_IsOK(res1
)) {
31561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetVirtualSizeHintsSz" "', expected argument " "1"" of type '" "wxWindow *""'");
31563 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31566 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
31571 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
31575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31576 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
31577 wxPyEndAllowThreads(__tstate
);
31578 if (PyErr_Occurred()) SWIG_fail
;
31580 resultobj
= SWIG_Py_Void();
31587 SWIGINTERN PyObject
*_wrap_Window_GetMaxSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31588 PyObject
*resultobj
= 0;
31589 wxWindow
*arg1
= (wxWindow
*) 0 ;
31593 PyObject
*swig_obj
[1] ;
31595 if (!args
) SWIG_fail
;
31596 swig_obj
[0] = args
;
31597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31598 if (!SWIG_IsOK(res1
)) {
31599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetMaxSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
31601 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31604 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
31605 wxPyEndAllowThreads(__tstate
);
31606 if (PyErr_Occurred()) SWIG_fail
;
31608 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
31615 SWIGINTERN PyObject
*_wrap_Window_GetMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31616 PyObject
*resultobj
= 0;
31617 wxWindow
*arg1
= (wxWindow
*) 0 ;
31621 PyObject
*swig_obj
[1] ;
31623 if (!args
) SWIG_fail
;
31624 swig_obj
[0] = args
;
31625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31626 if (!SWIG_IsOK(res1
)) {
31627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetMinSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
31629 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31632 result
= ((wxWindow
const *)arg1
)->GetMinSize();
31633 wxPyEndAllowThreads(__tstate
);
31634 if (PyErr_Occurred()) SWIG_fail
;
31636 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
31643 SWIGINTERN PyObject
*_wrap_Window_SetMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31644 PyObject
*resultobj
= 0;
31645 wxWindow
*arg1
= (wxWindow
*) 0 ;
31650 PyObject
* obj0
= 0 ;
31651 PyObject
* obj1
= 0 ;
31652 char * kwnames
[] = {
31653 (char *) "self",(char *) "minSize", NULL
31656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31658 if (!SWIG_IsOK(res1
)) {
31659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetMinSize" "', expected argument " "1"" of type '" "wxWindow *""'");
31661 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31664 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
31667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31668 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
31669 wxPyEndAllowThreads(__tstate
);
31670 if (PyErr_Occurred()) SWIG_fail
;
31672 resultobj
= SWIG_Py_Void();
31679 SWIGINTERN PyObject
*_wrap_Window_SetMaxSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31680 PyObject
*resultobj
= 0;
31681 wxWindow
*arg1
= (wxWindow
*) 0 ;
31686 PyObject
* obj0
= 0 ;
31687 PyObject
* obj1
= 0 ;
31688 char * kwnames
[] = {
31689 (char *) "self",(char *) "maxSize", NULL
31692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31694 if (!SWIG_IsOK(res1
)) {
31695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetMaxSize" "', expected argument " "1"" of type '" "wxWindow *""'");
31697 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31700 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
31703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31704 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
31705 wxPyEndAllowThreads(__tstate
);
31706 if (PyErr_Occurred()) SWIG_fail
;
31708 resultobj
= SWIG_Py_Void();
31715 SWIGINTERN PyObject
*_wrap_Window_GetMinWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31716 PyObject
*resultobj
= 0;
31717 wxWindow
*arg1
= (wxWindow
*) 0 ;
31721 PyObject
*swig_obj
[1] ;
31723 if (!args
) SWIG_fail
;
31724 swig_obj
[0] = args
;
31725 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31726 if (!SWIG_IsOK(res1
)) {
31727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetMinWidth" "', expected argument " "1"" of type '" "wxWindow const *""'");
31729 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31732 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
31733 wxPyEndAllowThreads(__tstate
);
31734 if (PyErr_Occurred()) SWIG_fail
;
31736 resultobj
= SWIG_From_int(static_cast< int >(result
));
31743 SWIGINTERN PyObject
*_wrap_Window_GetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31744 PyObject
*resultobj
= 0;
31745 wxWindow
*arg1
= (wxWindow
*) 0 ;
31749 PyObject
*swig_obj
[1] ;
31751 if (!args
) SWIG_fail
;
31752 swig_obj
[0] = args
;
31753 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31754 if (!SWIG_IsOK(res1
)) {
31755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetMinHeight" "', expected argument " "1"" of type '" "wxWindow const *""'");
31757 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31760 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
31761 wxPyEndAllowThreads(__tstate
);
31762 if (PyErr_Occurred()) SWIG_fail
;
31764 resultobj
= SWIG_From_int(static_cast< int >(result
));
31771 SWIGINTERN PyObject
*_wrap_Window_GetMaxWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31772 PyObject
*resultobj
= 0;
31773 wxWindow
*arg1
= (wxWindow
*) 0 ;
31777 PyObject
*swig_obj
[1] ;
31779 if (!args
) SWIG_fail
;
31780 swig_obj
[0] = args
;
31781 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31782 if (!SWIG_IsOK(res1
)) {
31783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetMaxWidth" "', expected argument " "1"" of type '" "wxWindow const *""'");
31785 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31788 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
31789 wxPyEndAllowThreads(__tstate
);
31790 if (PyErr_Occurred()) SWIG_fail
;
31792 resultobj
= SWIG_From_int(static_cast< int >(result
));
31799 SWIGINTERN PyObject
*_wrap_Window_GetMaxHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31800 PyObject
*resultobj
= 0;
31801 wxWindow
*arg1
= (wxWindow
*) 0 ;
31805 PyObject
*swig_obj
[1] ;
31807 if (!args
) SWIG_fail
;
31808 swig_obj
[0] = args
;
31809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31810 if (!SWIG_IsOK(res1
)) {
31811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetMaxHeight" "', expected argument " "1"" of type '" "wxWindow const *""'");
31813 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31816 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
31817 wxPyEndAllowThreads(__tstate
);
31818 if (PyErr_Occurred()) SWIG_fail
;
31820 resultobj
= SWIG_From_int(static_cast< int >(result
));
31827 SWIGINTERN PyObject
*_wrap_Window_SetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31828 PyObject
*resultobj
= 0;
31829 wxWindow
*arg1
= (wxWindow
*) 0 ;
31834 PyObject
* obj0
= 0 ;
31835 PyObject
* obj1
= 0 ;
31836 char * kwnames
[] = {
31837 (char *) "self",(char *) "size", NULL
31840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31842 if (!SWIG_IsOK(res1
)) {
31843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetVirtualSize" "', expected argument " "1"" of type '" "wxWindow *""'");
31845 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31848 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
31851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31852 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
31853 wxPyEndAllowThreads(__tstate
);
31854 if (PyErr_Occurred()) SWIG_fail
;
31856 resultobj
= SWIG_Py_Void();
31863 SWIGINTERN PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31864 PyObject
*resultobj
= 0;
31865 wxWindow
*arg1
= (wxWindow
*) 0 ;
31874 PyObject
* obj0
= 0 ;
31875 PyObject
* obj1
= 0 ;
31876 PyObject
* obj2
= 0 ;
31877 char * kwnames
[] = {
31878 (char *) "self",(char *) "w",(char *) "h", NULL
31881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31883 if (!SWIG_IsOK(res1
)) {
31884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetVirtualSizeWH" "', expected argument " "1"" of type '" "wxWindow *""'");
31886 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31887 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31888 if (!SWIG_IsOK(ecode2
)) {
31889 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetVirtualSizeWH" "', expected argument " "2"" of type '" "int""'");
31891 arg2
= static_cast< int >(val2
);
31892 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31893 if (!SWIG_IsOK(ecode3
)) {
31894 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetVirtualSizeWH" "', expected argument " "3"" of type '" "int""'");
31896 arg3
= static_cast< int >(val3
);
31898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31899 (arg1
)->SetVirtualSize(arg2
,arg3
);
31900 wxPyEndAllowThreads(__tstate
);
31901 if (PyErr_Occurred()) SWIG_fail
;
31903 resultobj
= SWIG_Py_Void();
31910 SWIGINTERN PyObject
*_wrap_Window_GetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31911 PyObject
*resultobj
= 0;
31912 wxWindow
*arg1
= (wxWindow
*) 0 ;
31916 PyObject
*swig_obj
[1] ;
31918 if (!args
) SWIG_fail
;
31919 swig_obj
[0] = args
;
31920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31921 if (!SWIG_IsOK(res1
)) {
31922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetVirtualSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
31924 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31927 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
31928 wxPyEndAllowThreads(__tstate
);
31929 if (PyErr_Occurred()) SWIG_fail
;
31931 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
31938 SWIGINTERN PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31939 PyObject
*resultobj
= 0;
31940 wxWindow
*arg1
= (wxWindow
*) 0 ;
31941 int *arg2
= (int *) 0 ;
31942 int *arg3
= (int *) 0 ;
31946 int res2
= SWIG_TMPOBJ
;
31948 int res3
= SWIG_TMPOBJ
;
31949 PyObject
*swig_obj
[1] ;
31953 if (!args
) SWIG_fail
;
31954 swig_obj
[0] = args
;
31955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31956 if (!SWIG_IsOK(res1
)) {
31957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetVirtualSizeTuple" "', expected argument " "1"" of type '" "wxWindow const *""'");
31959 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31962 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
31963 wxPyEndAllowThreads(__tstate
);
31964 if (PyErr_Occurred()) SWIG_fail
;
31966 resultobj
= SWIG_Py_Void();
31967 if (SWIG_IsTmpObj(res2
)) {
31968 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
31970 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31971 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
31973 if (SWIG_IsTmpObj(res3
)) {
31974 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31976 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31977 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31985 SWIGINTERN PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31986 PyObject
*resultobj
= 0;
31987 wxWindow
*arg1
= (wxWindow
*) 0 ;
31991 PyObject
*swig_obj
[1] ;
31993 if (!args
) SWIG_fail
;
31994 swig_obj
[0] = args
;
31995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31996 if (!SWIG_IsOK(res1
)) {
31997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBestVirtualSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
31999 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32002 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
32003 wxPyEndAllowThreads(__tstate
);
32004 if (PyErr_Occurred()) SWIG_fail
;
32006 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
32013 SWIGINTERN PyObject
*_wrap_Window_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32014 PyObject
*resultobj
= 0;
32015 wxWindow
*arg1
= (wxWindow
*) 0 ;
32016 bool arg2
= (bool) true ;
32022 PyObject
* obj0
= 0 ;
32023 PyObject
* obj1
= 0 ;
32024 char * kwnames
[] = {
32025 (char *) "self",(char *) "show", NULL
32028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32030 if (!SWIG_IsOK(res1
)) {
32031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Show" "', expected argument " "1"" of type '" "wxWindow *""'");
32033 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32035 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
32036 if (!SWIG_IsOK(ecode2
)) {
32037 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_Show" "', expected argument " "2"" of type '" "bool""'");
32039 arg2
= static_cast< bool >(val2
);
32042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32043 result
= (bool)(arg1
)->Show(arg2
);
32044 wxPyEndAllowThreads(__tstate
);
32045 if (PyErr_Occurred()) SWIG_fail
;
32048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32056 SWIGINTERN PyObject
*_wrap_Window_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32057 PyObject
*resultobj
= 0;
32058 wxWindow
*arg1
= (wxWindow
*) 0 ;
32062 PyObject
*swig_obj
[1] ;
32064 if (!args
) SWIG_fail
;
32065 swig_obj
[0] = args
;
32066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32067 if (!SWIG_IsOK(res1
)) {
32068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Hide" "', expected argument " "1"" of type '" "wxWindow *""'");
32070 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32073 result
= (bool)(arg1
)->Hide();
32074 wxPyEndAllowThreads(__tstate
);
32075 if (PyErr_Occurred()) SWIG_fail
;
32078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32086 SWIGINTERN PyObject
*_wrap_Window_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32087 PyObject
*resultobj
= 0;
32088 wxWindow
*arg1
= (wxWindow
*) 0 ;
32089 bool arg2
= (bool) true ;
32095 PyObject
* obj0
= 0 ;
32096 PyObject
* obj1
= 0 ;
32097 char * kwnames
[] = {
32098 (char *) "self",(char *) "enable", NULL
32101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32103 if (!SWIG_IsOK(res1
)) {
32104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Enable" "', expected argument " "1"" of type '" "wxWindow *""'");
32106 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32108 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
32109 if (!SWIG_IsOK(ecode2
)) {
32110 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_Enable" "', expected argument " "2"" of type '" "bool""'");
32112 arg2
= static_cast< bool >(val2
);
32115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32116 result
= (bool)(arg1
)->Enable(arg2
);
32117 wxPyEndAllowThreads(__tstate
);
32118 if (PyErr_Occurred()) SWIG_fail
;
32121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32129 SWIGINTERN PyObject
*_wrap_Window_Disable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32130 PyObject
*resultobj
= 0;
32131 wxWindow
*arg1
= (wxWindow
*) 0 ;
32135 PyObject
*swig_obj
[1] ;
32137 if (!args
) SWIG_fail
;
32138 swig_obj
[0] = args
;
32139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32140 if (!SWIG_IsOK(res1
)) {
32141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Disable" "', expected argument " "1"" of type '" "wxWindow *""'");
32143 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32146 result
= (bool)(arg1
)->Disable();
32147 wxPyEndAllowThreads(__tstate
);
32148 if (PyErr_Occurred()) SWIG_fail
;
32151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32159 SWIGINTERN PyObject
*_wrap_Window_IsShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32160 PyObject
*resultobj
= 0;
32161 wxWindow
*arg1
= (wxWindow
*) 0 ;
32165 PyObject
*swig_obj
[1] ;
32167 if (!args
) SWIG_fail
;
32168 swig_obj
[0] = args
;
32169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32170 if (!SWIG_IsOK(res1
)) {
32171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsShown" "', expected argument " "1"" of type '" "wxWindow const *""'");
32173 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32176 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
32177 wxPyEndAllowThreads(__tstate
);
32178 if (PyErr_Occurred()) SWIG_fail
;
32181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32189 SWIGINTERN PyObject
*_wrap_Window_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32190 PyObject
*resultobj
= 0;
32191 wxWindow
*arg1
= (wxWindow
*) 0 ;
32195 PyObject
*swig_obj
[1] ;
32197 if (!args
) SWIG_fail
;
32198 swig_obj
[0] = args
;
32199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32200 if (!SWIG_IsOK(res1
)) {
32201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsEnabled" "', expected argument " "1"" of type '" "wxWindow const *""'");
32203 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32206 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
32207 wxPyEndAllowThreads(__tstate
);
32208 if (PyErr_Occurred()) SWIG_fail
;
32211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32219 SWIGINTERN PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32220 PyObject
*resultobj
= 0;
32221 wxWindow
*arg1
= (wxWindow
*) 0 ;
32227 PyObject
* obj0
= 0 ;
32228 PyObject
* obj1
= 0 ;
32229 char * kwnames
[] = {
32230 (char *) "self",(char *) "style", NULL
32233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32235 if (!SWIG_IsOK(res1
)) {
32236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetWindowStyleFlag" "', expected argument " "1"" of type '" "wxWindow *""'");
32238 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32239 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32240 if (!SWIG_IsOK(ecode2
)) {
32241 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetWindowStyleFlag" "', expected argument " "2"" of type '" "long""'");
32243 arg2
= static_cast< long >(val2
);
32245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32246 (arg1
)->SetWindowStyleFlag(arg2
);
32247 wxPyEndAllowThreads(__tstate
);
32248 if (PyErr_Occurred()) SWIG_fail
;
32250 resultobj
= SWIG_Py_Void();
32257 SWIGINTERN PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32258 PyObject
*resultobj
= 0;
32259 wxWindow
*arg1
= (wxWindow
*) 0 ;
32263 PyObject
*swig_obj
[1] ;
32265 if (!args
) SWIG_fail
;
32266 swig_obj
[0] = args
;
32267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32268 if (!SWIG_IsOK(res1
)) {
32269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetWindowStyleFlag" "', expected argument " "1"" of type '" "wxWindow const *""'");
32271 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32274 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
32275 wxPyEndAllowThreads(__tstate
);
32276 if (PyErr_Occurred()) SWIG_fail
;
32278 resultobj
= SWIG_From_long(static_cast< long >(result
));
32285 SWIGINTERN PyObject
*_wrap_Window_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32286 PyObject
*resultobj
= 0;
32287 wxWindow
*arg1
= (wxWindow
*) 0 ;
32294 PyObject
* obj0
= 0 ;
32295 PyObject
* obj1
= 0 ;
32296 char * kwnames
[] = {
32297 (char *) "self",(char *) "flag", NULL
32300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32302 if (!SWIG_IsOK(res1
)) {
32303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_HasFlag" "', expected argument " "1"" of type '" "wxWindow const *""'");
32305 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32306 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32307 if (!SWIG_IsOK(ecode2
)) {
32308 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_HasFlag" "', expected argument " "2"" of type '" "int""'");
32310 arg2
= static_cast< int >(val2
);
32312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32313 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
32314 wxPyEndAllowThreads(__tstate
);
32315 if (PyErr_Occurred()) SWIG_fail
;
32318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32326 SWIGINTERN PyObject
*_wrap_Window_IsRetained(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32327 PyObject
*resultobj
= 0;
32328 wxWindow
*arg1
= (wxWindow
*) 0 ;
32332 PyObject
*swig_obj
[1] ;
32334 if (!args
) SWIG_fail
;
32335 swig_obj
[0] = args
;
32336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32337 if (!SWIG_IsOK(res1
)) {
32338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsRetained" "', expected argument " "1"" of type '" "wxWindow const *""'");
32340 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32343 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
32344 wxPyEndAllowThreads(__tstate
);
32345 if (PyErr_Occurred()) SWIG_fail
;
32348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32356 SWIGINTERN PyObject
*_wrap_Window_SetExtraStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32357 PyObject
*resultobj
= 0;
32358 wxWindow
*arg1
= (wxWindow
*) 0 ;
32364 PyObject
* obj0
= 0 ;
32365 PyObject
* obj1
= 0 ;
32366 char * kwnames
[] = {
32367 (char *) "self",(char *) "exStyle", NULL
32370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32372 if (!SWIG_IsOK(res1
)) {
32373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetExtraStyle" "', expected argument " "1"" of type '" "wxWindow *""'");
32375 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32376 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32377 if (!SWIG_IsOK(ecode2
)) {
32378 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetExtraStyle" "', expected argument " "2"" of type '" "long""'");
32380 arg2
= static_cast< long >(val2
);
32382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32383 (arg1
)->SetExtraStyle(arg2
);
32384 wxPyEndAllowThreads(__tstate
);
32385 if (PyErr_Occurred()) SWIG_fail
;
32387 resultobj
= SWIG_Py_Void();
32394 SWIGINTERN PyObject
*_wrap_Window_GetExtraStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32395 PyObject
*resultobj
= 0;
32396 wxWindow
*arg1
= (wxWindow
*) 0 ;
32400 PyObject
*swig_obj
[1] ;
32402 if (!args
) SWIG_fail
;
32403 swig_obj
[0] = args
;
32404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32405 if (!SWIG_IsOK(res1
)) {
32406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetExtraStyle" "', expected argument " "1"" of type '" "wxWindow const *""'");
32408 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32411 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
32412 wxPyEndAllowThreads(__tstate
);
32413 if (PyErr_Occurred()) SWIG_fail
;
32415 resultobj
= SWIG_From_long(static_cast< long >(result
));
32422 SWIGINTERN PyObject
*_wrap_Window_MakeModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32423 PyObject
*resultobj
= 0;
32424 wxWindow
*arg1
= (wxWindow
*) 0 ;
32425 bool arg2
= (bool) true ;
32430 PyObject
* obj0
= 0 ;
32431 PyObject
* obj1
= 0 ;
32432 char * kwnames
[] = {
32433 (char *) "self",(char *) "modal", NULL
32436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32438 if (!SWIG_IsOK(res1
)) {
32439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_MakeModal" "', expected argument " "1"" of type '" "wxWindow *""'");
32441 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32443 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
32444 if (!SWIG_IsOK(ecode2
)) {
32445 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_MakeModal" "', expected argument " "2"" of type '" "bool""'");
32447 arg2
= static_cast< bool >(val2
);
32450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32451 (arg1
)->MakeModal(arg2
);
32452 wxPyEndAllowThreads(__tstate
);
32453 if (PyErr_Occurred()) SWIG_fail
;
32455 resultobj
= SWIG_Py_Void();
32462 SWIGINTERN PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32463 PyObject
*resultobj
= 0;
32464 wxWindow
*arg1
= (wxWindow
*) 0 ;
32470 PyObject
* obj0
= 0 ;
32471 PyObject
* obj1
= 0 ;
32472 char * kwnames
[] = {
32473 (char *) "self",(char *) "enableTheme", NULL
32476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",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_SetThemeEnabled" "', expected argument " "1"" of type '" "wxWindow *""'");
32481 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32482 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
32483 if (!SWIG_IsOK(ecode2
)) {
32484 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetThemeEnabled" "', expected argument " "2"" of type '" "bool""'");
32486 arg2
= static_cast< bool >(val2
);
32488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32489 (arg1
)->SetThemeEnabled(arg2
);
32490 wxPyEndAllowThreads(__tstate
);
32491 if (PyErr_Occurred()) SWIG_fail
;
32493 resultobj
= SWIG_Py_Void();
32500 SWIGINTERN PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32501 PyObject
*resultobj
= 0;
32502 wxWindow
*arg1
= (wxWindow
*) 0 ;
32506 PyObject
*swig_obj
[1] ;
32508 if (!args
) SWIG_fail
;
32509 swig_obj
[0] = args
;
32510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32511 if (!SWIG_IsOK(res1
)) {
32512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetThemeEnabled" "', expected argument " "1"" of type '" "wxWindow const *""'");
32514 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32517 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
32518 wxPyEndAllowThreads(__tstate
);
32519 if (PyErr_Occurred()) SWIG_fail
;
32522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32530 SWIGINTERN PyObject
*_wrap_Window_SetFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32531 PyObject
*resultobj
= 0;
32532 wxWindow
*arg1
= (wxWindow
*) 0 ;
32535 PyObject
*swig_obj
[1] ;
32537 if (!args
) SWIG_fail
;
32538 swig_obj
[0] = args
;
32539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32540 if (!SWIG_IsOK(res1
)) {
32541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetFocus" "', expected argument " "1"" of type '" "wxWindow *""'");
32543 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32546 (arg1
)->SetFocus();
32547 wxPyEndAllowThreads(__tstate
);
32548 if (PyErr_Occurred()) SWIG_fail
;
32550 resultobj
= SWIG_Py_Void();
32557 SWIGINTERN PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32558 PyObject
*resultobj
= 0;
32559 wxWindow
*arg1
= (wxWindow
*) 0 ;
32562 PyObject
*swig_obj
[1] ;
32564 if (!args
) SWIG_fail
;
32565 swig_obj
[0] = args
;
32566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32567 if (!SWIG_IsOK(res1
)) {
32568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetFocusFromKbd" "', expected argument " "1"" of type '" "wxWindow *""'");
32570 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32573 (arg1
)->SetFocusFromKbd();
32574 wxPyEndAllowThreads(__tstate
);
32575 if (PyErr_Occurred()) SWIG_fail
;
32577 resultobj
= SWIG_Py_Void();
32584 SWIGINTERN PyObject
*_wrap_Window_FindFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32585 PyObject
*resultobj
= 0;
32586 wxWindow
*result
= 0 ;
32588 if (!SWIG_Python_UnpackTuple(args
,"Window_FindFocus",0,0,0)) SWIG_fail
;
32590 if (!wxPyCheckForApp()) SWIG_fail
;
32591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32592 result
= (wxWindow
*)wxWindow::FindFocus();
32593 wxPyEndAllowThreads(__tstate
);
32594 if (PyErr_Occurred()) SWIG_fail
;
32597 resultobj
= wxPyMake_wxObject(result
, 0);
32605 SWIGINTERN PyObject
*_wrap_Window_AcceptsFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32606 PyObject
*resultobj
= 0;
32607 wxWindow
*arg1
= (wxWindow
*) 0 ;
32611 PyObject
*swig_obj
[1] ;
32613 if (!args
) SWIG_fail
;
32614 swig_obj
[0] = args
;
32615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32616 if (!SWIG_IsOK(res1
)) {
32617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_AcceptsFocus" "', expected argument " "1"" of type '" "wxWindow const *""'");
32619 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32622 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
32623 wxPyEndAllowThreads(__tstate
);
32624 if (PyErr_Occurred()) SWIG_fail
;
32627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32635 SWIGINTERN PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32636 PyObject
*resultobj
= 0;
32637 wxWindow
*arg1
= (wxWindow
*) 0 ;
32641 PyObject
*swig_obj
[1] ;
32643 if (!args
) SWIG_fail
;
32644 swig_obj
[0] = args
;
32645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32646 if (!SWIG_IsOK(res1
)) {
32647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_AcceptsFocusFromKeyboard" "', expected argument " "1"" of type '" "wxWindow const *""'");
32649 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32652 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
32653 wxPyEndAllowThreads(__tstate
);
32654 if (PyErr_Occurred()) SWIG_fail
;
32657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32665 SWIGINTERN PyObject
*_wrap_Window_GetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32666 PyObject
*resultobj
= 0;
32667 wxWindow
*arg1
= (wxWindow
*) 0 ;
32668 wxWindow
*result
= 0 ;
32671 PyObject
*swig_obj
[1] ;
32673 if (!args
) SWIG_fail
;
32674 swig_obj
[0] = args
;
32675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32676 if (!SWIG_IsOK(res1
)) {
32677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetDefaultItem" "', expected argument " "1"" of type '" "wxWindow const *""'");
32679 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32682 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
32683 wxPyEndAllowThreads(__tstate
);
32684 if (PyErr_Occurred()) SWIG_fail
;
32687 resultobj
= wxPyMake_wxObject(result
, 0);
32695 SWIGINTERN PyObject
*_wrap_Window_SetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32696 PyObject
*resultobj
= 0;
32697 wxWindow
*arg1
= (wxWindow
*) 0 ;
32698 wxWindow
*arg2
= (wxWindow
*) 0 ;
32699 wxWindow
*result
= 0 ;
32704 PyObject
* obj0
= 0 ;
32705 PyObject
* obj1
= 0 ;
32706 char * kwnames
[] = {
32707 (char *) "self",(char *) "child", NULL
32710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32712 if (!SWIG_IsOK(res1
)) {
32713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetDefaultItem" "', expected argument " "1"" of type '" "wxWindow *""'");
32715 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32716 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32717 if (!SWIG_IsOK(res2
)) {
32718 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
32720 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
32722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32723 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
32724 wxPyEndAllowThreads(__tstate
);
32725 if (PyErr_Occurred()) SWIG_fail
;
32728 resultobj
= wxPyMake_wxObject(result
, 0);
32736 SWIGINTERN PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32737 PyObject
*resultobj
= 0;
32738 wxWindow
*arg1
= (wxWindow
*) 0 ;
32739 wxWindow
*arg2
= (wxWindow
*) 0 ;
32744 PyObject
* obj0
= 0 ;
32745 PyObject
* obj1
= 0 ;
32746 char * kwnames
[] = {
32747 (char *) "self",(char *) "win", NULL
32750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32752 if (!SWIG_IsOK(res1
)) {
32753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxWindow *""'");
32755 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32756 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32757 if (!SWIG_IsOK(res2
)) {
32758 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
32760 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
32762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32763 (arg1
)->SetTmpDefaultItem(arg2
);
32764 wxPyEndAllowThreads(__tstate
);
32765 if (PyErr_Occurred()) SWIG_fail
;
32767 resultobj
= SWIG_Py_Void();
32774 SWIGINTERN PyObject
*_wrap_Window_Navigate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32775 PyObject
*resultobj
= 0;
32776 wxWindow
*arg1
= (wxWindow
*) 0 ;
32777 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
32783 PyObject
* obj0
= 0 ;
32784 PyObject
* obj1
= 0 ;
32785 char * kwnames
[] = {
32786 (char *) "self",(char *) "flags", NULL
32789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32791 if (!SWIG_IsOK(res1
)) {
32792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Navigate" "', expected argument " "1"" of type '" "wxWindow *""'");
32794 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32796 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32797 if (!SWIG_IsOK(ecode2
)) {
32798 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_Navigate" "', expected argument " "2"" of type '" "int""'");
32800 arg2
= static_cast< int >(val2
);
32803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32804 result
= (bool)(arg1
)->Navigate(arg2
);
32805 wxPyEndAllowThreads(__tstate
);
32806 if (PyErr_Occurred()) SWIG_fail
;
32809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32817 SWIGINTERN PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32818 PyObject
*resultobj
= 0;
32819 wxWindow
*arg1
= (wxWindow
*) 0 ;
32820 wxWindow
*arg2
= (wxWindow
*) 0 ;
32825 PyObject
* obj0
= 0 ;
32826 PyObject
* obj1
= 0 ;
32827 char * kwnames
[] = {
32828 (char *) "self",(char *) "win", NULL
32831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32833 if (!SWIG_IsOK(res1
)) {
32834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_MoveAfterInTabOrder" "', expected argument " "1"" of type '" "wxWindow *""'");
32836 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32837 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32838 if (!SWIG_IsOK(res2
)) {
32839 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_MoveAfterInTabOrder" "', expected argument " "2"" of type '" "wxWindow *""'");
32841 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
32843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32844 (arg1
)->MoveAfterInTabOrder(arg2
);
32845 wxPyEndAllowThreads(__tstate
);
32846 if (PyErr_Occurred()) SWIG_fail
;
32848 resultobj
= SWIG_Py_Void();
32855 SWIGINTERN PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32856 PyObject
*resultobj
= 0;
32857 wxWindow
*arg1
= (wxWindow
*) 0 ;
32858 wxWindow
*arg2
= (wxWindow
*) 0 ;
32863 PyObject
* obj0
= 0 ;
32864 PyObject
* obj1
= 0 ;
32865 char * kwnames
[] = {
32866 (char *) "self",(char *) "win", NULL
32869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32871 if (!SWIG_IsOK(res1
)) {
32872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_MoveBeforeInTabOrder" "', expected argument " "1"" of type '" "wxWindow *""'");
32874 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32875 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32876 if (!SWIG_IsOK(res2
)) {
32877 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_MoveBeforeInTabOrder" "', expected argument " "2"" of type '" "wxWindow *""'");
32879 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
32881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32882 (arg1
)->MoveBeforeInTabOrder(arg2
);
32883 wxPyEndAllowThreads(__tstate
);
32884 if (PyErr_Occurred()) SWIG_fail
;
32886 resultobj
= SWIG_Py_Void();
32893 SWIGINTERN PyObject
*_wrap_Window_GetChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32894 PyObject
*resultobj
= 0;
32895 wxWindow
*arg1
= (wxWindow
*) 0 ;
32896 PyObject
*result
= 0 ;
32899 PyObject
*swig_obj
[1] ;
32901 if (!args
) SWIG_fail
;
32902 swig_obj
[0] = args
;
32903 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32904 if (!SWIG_IsOK(res1
)) {
32905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetChildren" "', expected argument " "1"" of type '" "wxWindow *""'");
32907 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32910 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
32911 wxPyEndAllowThreads(__tstate
);
32912 if (PyErr_Occurred()) SWIG_fail
;
32914 resultobj
= result
;
32921 SWIGINTERN PyObject
*_wrap_Window_GetParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32922 PyObject
*resultobj
= 0;
32923 wxWindow
*arg1
= (wxWindow
*) 0 ;
32924 wxWindow
*result
= 0 ;
32927 PyObject
*swig_obj
[1] ;
32929 if (!args
) SWIG_fail
;
32930 swig_obj
[0] = args
;
32931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32932 if (!SWIG_IsOK(res1
)) {
32933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetParent" "', expected argument " "1"" of type '" "wxWindow const *""'");
32935 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32938 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
32939 wxPyEndAllowThreads(__tstate
);
32940 if (PyErr_Occurred()) SWIG_fail
;
32943 resultobj
= wxPyMake_wxObject(result
, 0);
32951 SWIGINTERN PyObject
*_wrap_Window_GetGrandParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32952 PyObject
*resultobj
= 0;
32953 wxWindow
*arg1
= (wxWindow
*) 0 ;
32954 wxWindow
*result
= 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_GetGrandParent" "', expected argument " "1"" of type '" "wxWindow const *""'");
32965 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32968 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
32969 wxPyEndAllowThreads(__tstate
);
32970 if (PyErr_Occurred()) SWIG_fail
;
32973 resultobj
= wxPyMake_wxObject(result
, 0);
32981 SWIGINTERN PyObject
*_wrap_Window_IsTopLevel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32982 PyObject
*resultobj
= 0;
32983 wxWindow
*arg1
= (wxWindow
*) 0 ;
32987 PyObject
*swig_obj
[1] ;
32989 if (!args
) SWIG_fail
;
32990 swig_obj
[0] = args
;
32991 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32992 if (!SWIG_IsOK(res1
)) {
32993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsTopLevel" "', expected argument " "1"" of type '" "wxWindow const *""'");
32995 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32998 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
32999 wxPyEndAllowThreads(__tstate
);
33000 if (PyErr_Occurred()) SWIG_fail
;
33003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33011 SWIGINTERN PyObject
*_wrap_Window_Reparent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33012 PyObject
*resultobj
= 0;
33013 wxWindow
*arg1
= (wxWindow
*) 0 ;
33014 wxWindow
*arg2
= (wxWindow
*) 0 ;
33020 PyObject
* obj0
= 0 ;
33021 PyObject
* obj1
= 0 ;
33022 char * kwnames
[] = {
33023 (char *) "self",(char *) "newParent", NULL
33026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33028 if (!SWIG_IsOK(res1
)) {
33029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Reparent" "', expected argument " "1"" of type '" "wxWindow *""'");
33031 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33032 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33033 if (!SWIG_IsOK(res2
)) {
33034 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_Reparent" "', expected argument " "2"" of type '" "wxWindow *""'");
33036 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33039 result
= (bool)(arg1
)->Reparent(arg2
);
33040 wxPyEndAllowThreads(__tstate
);
33041 if (PyErr_Occurred()) SWIG_fail
;
33044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33052 SWIGINTERN PyObject
*_wrap_Window_AddChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33053 PyObject
*resultobj
= 0;
33054 wxWindow
*arg1
= (wxWindow
*) 0 ;
33055 wxWindow
*arg2
= (wxWindow
*) 0 ;
33060 PyObject
* obj0
= 0 ;
33061 PyObject
* obj1
= 0 ;
33062 char * kwnames
[] = {
33063 (char *) "self",(char *) "child", NULL
33066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33068 if (!SWIG_IsOK(res1
)) {
33069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_AddChild" "', expected argument " "1"" of type '" "wxWindow *""'");
33071 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33072 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33073 if (!SWIG_IsOK(res2
)) {
33074 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_AddChild" "', expected argument " "2"" of type '" "wxWindow *""'");
33076 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33079 (arg1
)->AddChild(arg2
);
33080 wxPyEndAllowThreads(__tstate
);
33081 if (PyErr_Occurred()) SWIG_fail
;
33083 resultobj
= SWIG_Py_Void();
33090 SWIGINTERN PyObject
*_wrap_Window_RemoveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33091 PyObject
*resultobj
= 0;
33092 wxWindow
*arg1
= (wxWindow
*) 0 ;
33093 wxWindow
*arg2
= (wxWindow
*) 0 ;
33098 PyObject
* obj0
= 0 ;
33099 PyObject
* obj1
= 0 ;
33100 char * kwnames
[] = {
33101 (char *) "self",(char *) "child", NULL
33104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33106 if (!SWIG_IsOK(res1
)) {
33107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_RemoveChild" "', expected argument " "1"" of type '" "wxWindow *""'");
33109 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33110 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33111 if (!SWIG_IsOK(res2
)) {
33112 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_RemoveChild" "', expected argument " "2"" of type '" "wxWindow *""'");
33114 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33117 (arg1
)->RemoveChild(arg2
);
33118 wxPyEndAllowThreads(__tstate
);
33119 if (PyErr_Occurred()) SWIG_fail
;
33121 resultobj
= SWIG_Py_Void();
33128 SWIGINTERN PyObject
*_wrap_Window_FindWindowById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33129 PyObject
*resultobj
= 0;
33130 wxWindow
*arg1
= (wxWindow
*) 0 ;
33132 wxWindow
*result
= 0 ;
33137 PyObject
* obj0
= 0 ;
33138 PyObject
* obj1
= 0 ;
33139 char * kwnames
[] = {
33140 (char *) "self",(char *) "winid", NULL
33143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33145 if (!SWIG_IsOK(res1
)) {
33146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_FindWindowById" "', expected argument " "1"" of type '" "wxWindow *""'");
33148 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33149 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
33150 if (!SWIG_IsOK(ecode2
)) {
33151 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_FindWindowById" "', expected argument " "2"" of type '" "long""'");
33153 arg2
= static_cast< long >(val2
);
33155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33156 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
33157 wxPyEndAllowThreads(__tstate
);
33158 if (PyErr_Occurred()) SWIG_fail
;
33161 resultobj
= wxPyMake_wxObject(result
, 0);
33169 SWIGINTERN PyObject
*_wrap_Window_FindWindowByName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33170 PyObject
*resultobj
= 0;
33171 wxWindow
*arg1
= (wxWindow
*) 0 ;
33172 wxString
*arg2
= 0 ;
33173 wxWindow
*result
= 0 ;
33176 bool temp2
= false ;
33177 PyObject
* obj0
= 0 ;
33178 PyObject
* obj1
= 0 ;
33179 char * kwnames
[] = {
33180 (char *) "self",(char *) "name", NULL
33183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33185 if (!SWIG_IsOK(res1
)) {
33186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_FindWindowByName" "', expected argument " "1"" of type '" "wxWindow *""'");
33188 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33190 arg2
= wxString_in_helper(obj1
);
33191 if (arg2
== NULL
) SWIG_fail
;
33195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33196 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
33197 wxPyEndAllowThreads(__tstate
);
33198 if (PyErr_Occurred()) SWIG_fail
;
33201 resultobj
= wxPyMake_wxObject(result
, 0);
33217 SWIGINTERN PyObject
*_wrap_Window_GetEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33218 PyObject
*resultobj
= 0;
33219 wxWindow
*arg1
= (wxWindow
*) 0 ;
33220 wxEvtHandler
*result
= 0 ;
33223 PyObject
*swig_obj
[1] ;
33225 if (!args
) SWIG_fail
;
33226 swig_obj
[0] = args
;
33227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33228 if (!SWIG_IsOK(res1
)) {
33229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetEventHandler" "', expected argument " "1"" of type '" "wxWindow const *""'");
33231 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33234 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
33235 wxPyEndAllowThreads(__tstate
);
33236 if (PyErr_Occurred()) SWIG_fail
;
33239 resultobj
= wxPyMake_wxObject(result
, 0);
33247 SWIGINTERN PyObject
*_wrap_Window_SetEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33248 PyObject
*resultobj
= 0;
33249 wxWindow
*arg1
= (wxWindow
*) 0 ;
33250 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
33255 PyObject
* obj0
= 0 ;
33256 PyObject
* obj1
= 0 ;
33257 char * kwnames
[] = {
33258 (char *) "self",(char *) "handler", NULL
33261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33263 if (!SWIG_IsOK(res1
)) {
33264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetEventHandler" "', expected argument " "1"" of type '" "wxWindow *""'");
33266 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33267 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
33268 if (!SWIG_IsOK(res2
)) {
33269 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetEventHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
33271 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
33273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33274 (arg1
)->SetEventHandler(arg2
);
33275 wxPyEndAllowThreads(__tstate
);
33276 if (PyErr_Occurred()) SWIG_fail
;
33278 resultobj
= SWIG_Py_Void();
33285 SWIGINTERN PyObject
*_wrap_Window_PushEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33286 PyObject
*resultobj
= 0;
33287 wxWindow
*arg1
= (wxWindow
*) 0 ;
33288 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
33293 PyObject
* obj0
= 0 ;
33294 PyObject
* obj1
= 0 ;
33295 char * kwnames
[] = {
33296 (char *) "self",(char *) "handler", NULL
33299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33301 if (!SWIG_IsOK(res1
)) {
33302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PushEventHandler" "', expected argument " "1"" of type '" "wxWindow *""'");
33304 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33305 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
33306 if (!SWIG_IsOK(res2
)) {
33307 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_PushEventHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
33309 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
33311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33312 (arg1
)->PushEventHandler(arg2
);
33313 wxPyEndAllowThreads(__tstate
);
33314 if (PyErr_Occurred()) SWIG_fail
;
33316 resultobj
= SWIG_Py_Void();
33323 SWIGINTERN PyObject
*_wrap_Window_PopEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33324 PyObject
*resultobj
= 0;
33325 wxWindow
*arg1
= (wxWindow
*) 0 ;
33326 bool arg2
= (bool) false ;
33327 wxEvtHandler
*result
= 0 ;
33332 PyObject
* obj0
= 0 ;
33333 PyObject
* obj1
= 0 ;
33334 char * kwnames
[] = {
33335 (char *) "self",(char *) "deleteHandler", NULL
33338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33340 if (!SWIG_IsOK(res1
)) {
33341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PopEventHandler" "', expected argument " "1"" of type '" "wxWindow *""'");
33343 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33345 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33346 if (!SWIG_IsOK(ecode2
)) {
33347 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_PopEventHandler" "', expected argument " "2"" of type '" "bool""'");
33349 arg2
= static_cast< bool >(val2
);
33352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33353 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
33354 wxPyEndAllowThreads(__tstate
);
33355 if (PyErr_Occurred()) SWIG_fail
;
33358 resultobj
= wxPyMake_wxObject(result
, 0);
33366 SWIGINTERN PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33367 PyObject
*resultobj
= 0;
33368 wxWindow
*arg1
= (wxWindow
*) 0 ;
33369 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
33375 PyObject
* obj0
= 0 ;
33376 PyObject
* obj1
= 0 ;
33377 char * kwnames
[] = {
33378 (char *) "self",(char *) "handler", NULL
33381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33383 if (!SWIG_IsOK(res1
)) {
33384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_RemoveEventHandler" "', expected argument " "1"" of type '" "wxWindow *""'");
33386 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33387 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
33388 if (!SWIG_IsOK(res2
)) {
33389 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_RemoveEventHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
33391 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
33393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33394 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
33395 wxPyEndAllowThreads(__tstate
);
33396 if (PyErr_Occurred()) SWIG_fail
;
33399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33407 SWIGINTERN PyObject
*_wrap_Window_SetValidator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33408 PyObject
*resultobj
= 0;
33409 wxWindow
*arg1
= (wxWindow
*) 0 ;
33410 wxValidator
*arg2
= 0 ;
33415 PyObject
* obj0
= 0 ;
33416 PyObject
* obj1
= 0 ;
33417 char * kwnames
[] = {
33418 (char *) "self",(char *) "validator", NULL
33421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33423 if (!SWIG_IsOK(res1
)) {
33424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetValidator" "', expected argument " "1"" of type '" "wxWindow *""'");
33426 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33427 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxValidator
, 0 | 0);
33428 if (!SWIG_IsOK(res2
)) {
33429 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetValidator" "', expected argument " "2"" of type '" "wxValidator const &""'");
33432 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_SetValidator" "', expected argument " "2"" of type '" "wxValidator const &""'");
33434 arg2
= reinterpret_cast< wxValidator
* >(argp2
);
33436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33437 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
33438 wxPyEndAllowThreads(__tstate
);
33439 if (PyErr_Occurred()) SWIG_fail
;
33441 resultobj
= SWIG_Py_Void();
33448 SWIGINTERN PyObject
*_wrap_Window_GetValidator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33449 PyObject
*resultobj
= 0;
33450 wxWindow
*arg1
= (wxWindow
*) 0 ;
33451 wxValidator
*result
= 0 ;
33454 PyObject
*swig_obj
[1] ;
33456 if (!args
) SWIG_fail
;
33457 swig_obj
[0] = args
;
33458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33459 if (!SWIG_IsOK(res1
)) {
33460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetValidator" "', expected argument " "1"" of type '" "wxWindow *""'");
33462 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33465 result
= (wxValidator
*)(arg1
)->GetValidator();
33466 wxPyEndAllowThreads(__tstate
);
33467 if (PyErr_Occurred()) SWIG_fail
;
33470 resultobj
= wxPyMake_wxObject(result
, (bool)0);
33478 SWIGINTERN PyObject
*_wrap_Window_Validate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33479 PyObject
*resultobj
= 0;
33480 wxWindow
*arg1
= (wxWindow
*) 0 ;
33484 PyObject
*swig_obj
[1] ;
33486 if (!args
) SWIG_fail
;
33487 swig_obj
[0] = args
;
33488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33489 if (!SWIG_IsOK(res1
)) {
33490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Validate" "', expected argument " "1"" of type '" "wxWindow *""'");
33492 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33495 result
= (bool)(arg1
)->Validate();
33496 wxPyEndAllowThreads(__tstate
);
33497 if (PyErr_Occurred()) SWIG_fail
;
33500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33508 SWIGINTERN PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33509 PyObject
*resultobj
= 0;
33510 wxWindow
*arg1
= (wxWindow
*) 0 ;
33514 PyObject
*swig_obj
[1] ;
33516 if (!args
) SWIG_fail
;
33517 swig_obj
[0] = args
;
33518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33519 if (!SWIG_IsOK(res1
)) {
33520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_TransferDataToWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
33522 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33525 result
= (bool)(arg1
)->TransferDataToWindow();
33526 wxPyEndAllowThreads(__tstate
);
33527 if (PyErr_Occurred()) SWIG_fail
;
33530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33538 SWIGINTERN PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33539 PyObject
*resultobj
= 0;
33540 wxWindow
*arg1
= (wxWindow
*) 0 ;
33544 PyObject
*swig_obj
[1] ;
33546 if (!args
) SWIG_fail
;
33547 swig_obj
[0] = args
;
33548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33549 if (!SWIG_IsOK(res1
)) {
33550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_TransferDataFromWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
33552 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33555 result
= (bool)(arg1
)->TransferDataFromWindow();
33556 wxPyEndAllowThreads(__tstate
);
33557 if (PyErr_Occurred()) SWIG_fail
;
33560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33568 SWIGINTERN PyObject
*_wrap_Window_InitDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33569 PyObject
*resultobj
= 0;
33570 wxWindow
*arg1
= (wxWindow
*) 0 ;
33573 PyObject
*swig_obj
[1] ;
33575 if (!args
) SWIG_fail
;
33576 swig_obj
[0] = args
;
33577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33578 if (!SWIG_IsOK(res1
)) {
33579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_InitDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
33581 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33584 (arg1
)->InitDialog();
33585 wxPyEndAllowThreads(__tstate
);
33586 if (PyErr_Occurred()) SWIG_fail
;
33588 resultobj
= SWIG_Py_Void();
33595 SWIGINTERN PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33596 PyObject
*resultobj
= 0;
33597 wxWindow
*arg1
= (wxWindow
*) 0 ;
33598 wxAcceleratorTable
*arg2
= 0 ;
33603 PyObject
* obj0
= 0 ;
33604 PyObject
* obj1
= 0 ;
33605 char * kwnames
[] = {
33606 (char *) "self",(char *) "accel", NULL
33609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33611 if (!SWIG_IsOK(res1
)) {
33612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetAcceleratorTable" "', expected argument " "1"" of type '" "wxWindow *""'");
33614 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33615 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAcceleratorTable
, 0 | 0);
33616 if (!SWIG_IsOK(res2
)) {
33617 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetAcceleratorTable" "', expected argument " "2"" of type '" "wxAcceleratorTable const &""'");
33620 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_SetAcceleratorTable" "', expected argument " "2"" of type '" "wxAcceleratorTable const &""'");
33622 arg2
= reinterpret_cast< wxAcceleratorTable
* >(argp2
);
33624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33625 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
33626 wxPyEndAllowThreads(__tstate
);
33627 if (PyErr_Occurred()) SWIG_fail
;
33629 resultobj
= SWIG_Py_Void();
33636 SWIGINTERN PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33637 PyObject
*resultobj
= 0;
33638 wxWindow
*arg1
= (wxWindow
*) 0 ;
33639 wxAcceleratorTable
*result
= 0 ;
33642 PyObject
*swig_obj
[1] ;
33644 if (!args
) SWIG_fail
;
33645 swig_obj
[0] = args
;
33646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33647 if (!SWIG_IsOK(res1
)) {
33648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetAcceleratorTable" "', expected argument " "1"" of type '" "wxWindow *""'");
33650 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33653 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
33654 wxPyEndAllowThreads(__tstate
);
33655 if (PyErr_Occurred()) SWIG_fail
;
33657 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAcceleratorTable
, 0 | 0 );
33664 SWIGINTERN PyObject
*_wrap_Window_RegisterHotKey(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33665 PyObject
*resultobj
= 0;
33666 wxWindow
*arg1
= (wxWindow
*) 0 ;
33679 PyObject
* obj0
= 0 ;
33680 PyObject
* obj1
= 0 ;
33681 PyObject
* obj2
= 0 ;
33682 PyObject
* obj3
= 0 ;
33683 char * kwnames
[] = {
33684 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
33687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33689 if (!SWIG_IsOK(res1
)) {
33690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_RegisterHotKey" "', expected argument " "1"" of type '" "wxWindow *""'");
33692 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33693 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33694 if (!SWIG_IsOK(ecode2
)) {
33695 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_RegisterHotKey" "', expected argument " "2"" of type '" "int""'");
33697 arg2
= static_cast< int >(val2
);
33698 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33699 if (!SWIG_IsOK(ecode3
)) {
33700 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_RegisterHotKey" "', expected argument " "3"" of type '" "int""'");
33702 arg3
= static_cast< int >(val3
);
33703 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33704 if (!SWIG_IsOK(ecode4
)) {
33705 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_RegisterHotKey" "', expected argument " "4"" of type '" "int""'");
33707 arg4
= static_cast< int >(val4
);
33709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33710 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
33711 wxPyEndAllowThreads(__tstate
);
33712 if (PyErr_Occurred()) SWIG_fail
;
33715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33723 SWIGINTERN PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33724 PyObject
*resultobj
= 0;
33725 wxWindow
*arg1
= (wxWindow
*) 0 ;
33732 PyObject
* obj0
= 0 ;
33733 PyObject
* obj1
= 0 ;
33734 char * kwnames
[] = {
33735 (char *) "self",(char *) "hotkeyId", NULL
33738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33740 if (!SWIG_IsOK(res1
)) {
33741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_UnregisterHotKey" "', expected argument " "1"" of type '" "wxWindow *""'");
33743 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33744 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33745 if (!SWIG_IsOK(ecode2
)) {
33746 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_UnregisterHotKey" "', expected argument " "2"" of type '" "int""'");
33748 arg2
= static_cast< int >(val2
);
33750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33751 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
33752 wxPyEndAllowThreads(__tstate
);
33753 if (PyErr_Occurred()) SWIG_fail
;
33756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33764 SWIGINTERN PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33765 PyObject
*resultobj
= 0;
33766 wxWindow
*arg1
= (wxWindow
*) 0 ;
33767 wxPoint
*arg2
= 0 ;
33772 PyObject
* obj0
= 0 ;
33773 PyObject
* obj1
= 0 ;
33774 char * kwnames
[] = {
33775 (char *) "self",(char *) "pt", NULL
33778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33780 if (!SWIG_IsOK(res1
)) {
33781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ConvertDialogPointToPixels" "', expected argument " "1"" of type '" "wxWindow *""'");
33783 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33786 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33790 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
33791 wxPyEndAllowThreads(__tstate
);
33792 if (PyErr_Occurred()) SWIG_fail
;
33794 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
33801 SWIGINTERN PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33802 PyObject
*resultobj
= 0;
33803 wxWindow
*arg1
= (wxWindow
*) 0 ;
33809 PyObject
* obj0
= 0 ;
33810 PyObject
* obj1
= 0 ;
33811 char * kwnames
[] = {
33812 (char *) "self",(char *) "sz", NULL
33815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33817 if (!SWIG_IsOK(res1
)) {
33818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ConvertDialogSizeToPixels" "', expected argument " "1"" of type '" "wxWindow *""'");
33820 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33823 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
33826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33827 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
33828 wxPyEndAllowThreads(__tstate
);
33829 if (PyErr_Occurred()) SWIG_fail
;
33831 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
33838 SWIGINTERN PyObject
*_wrap_Window_DLG_PNT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33839 PyObject
*resultobj
= 0;
33840 wxWindow
*arg1
= (wxWindow
*) 0 ;
33841 wxPoint
*arg2
= 0 ;
33846 PyObject
* obj0
= 0 ;
33847 PyObject
* obj1
= 0 ;
33848 char * kwnames
[] = {
33849 (char *) "self",(char *) "pt", NULL
33852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33854 if (!SWIG_IsOK(res1
)) {
33855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_DLG_PNT" "', expected argument " "1"" of type '" "wxWindow *""'");
33857 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33860 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33864 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
33865 wxPyEndAllowThreads(__tstate
);
33866 if (PyErr_Occurred()) SWIG_fail
;
33868 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
33875 SWIGINTERN PyObject
*_wrap_Window_DLG_SZE(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33876 PyObject
*resultobj
= 0;
33877 wxWindow
*arg1
= (wxWindow
*) 0 ;
33883 PyObject
* obj0
= 0 ;
33884 PyObject
* obj1
= 0 ;
33885 char * kwnames
[] = {
33886 (char *) "self",(char *) "sz", NULL
33889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33891 if (!SWIG_IsOK(res1
)) {
33892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_DLG_SZE" "', expected argument " "1"" of type '" "wxWindow *""'");
33894 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33897 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
33900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33901 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
33902 wxPyEndAllowThreads(__tstate
);
33903 if (PyErr_Occurred()) SWIG_fail
;
33905 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
33912 SWIGINTERN PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33913 PyObject
*resultobj
= 0;
33914 wxWindow
*arg1
= (wxWindow
*) 0 ;
33915 wxPoint
*arg2
= 0 ;
33920 PyObject
* obj0
= 0 ;
33921 PyObject
* obj1
= 0 ;
33922 char * kwnames
[] = {
33923 (char *) "self",(char *) "pt", NULL
33926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33928 if (!SWIG_IsOK(res1
)) {
33929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ConvertPixelPointToDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
33931 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33934 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33938 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
33939 wxPyEndAllowThreads(__tstate
);
33940 if (PyErr_Occurred()) SWIG_fail
;
33942 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
33949 SWIGINTERN PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33950 PyObject
*resultobj
= 0;
33951 wxWindow
*arg1
= (wxWindow
*) 0 ;
33957 PyObject
* obj0
= 0 ;
33958 PyObject
* obj1
= 0 ;
33959 char * kwnames
[] = {
33960 (char *) "self",(char *) "sz", NULL
33963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33965 if (!SWIG_IsOK(res1
)) {
33966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ConvertPixelSizeToDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
33968 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33971 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
33974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33975 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
33976 wxPyEndAllowThreads(__tstate
);
33977 if (PyErr_Occurred()) SWIG_fail
;
33979 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
33986 SWIGINTERN PyObject
*_wrap_Window_WarpPointer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33987 PyObject
*resultobj
= 0;
33988 wxWindow
*arg1
= (wxWindow
*) 0 ;
33997 PyObject
* obj0
= 0 ;
33998 PyObject
* obj1
= 0 ;
33999 PyObject
* obj2
= 0 ;
34000 char * kwnames
[] = {
34001 (char *) "self",(char *) "x",(char *) "y", NULL
34004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34006 if (!SWIG_IsOK(res1
)) {
34007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_WarpPointer" "', expected argument " "1"" of type '" "wxWindow *""'");
34009 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34010 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34011 if (!SWIG_IsOK(ecode2
)) {
34012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_WarpPointer" "', expected argument " "2"" of type '" "int""'");
34014 arg2
= static_cast< int >(val2
);
34015 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34016 if (!SWIG_IsOK(ecode3
)) {
34017 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_WarpPointer" "', expected argument " "3"" of type '" "int""'");
34019 arg3
= static_cast< int >(val3
);
34021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34022 (arg1
)->WarpPointer(arg2
,arg3
);
34023 wxPyEndAllowThreads(__tstate
);
34024 if (PyErr_Occurred()) SWIG_fail
;
34026 resultobj
= SWIG_Py_Void();
34033 SWIGINTERN PyObject
*_wrap_Window_CaptureMouse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34034 PyObject
*resultobj
= 0;
34035 wxWindow
*arg1
= (wxWindow
*) 0 ;
34038 PyObject
*swig_obj
[1] ;
34040 if (!args
) SWIG_fail
;
34041 swig_obj
[0] = args
;
34042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34043 if (!SWIG_IsOK(res1
)) {
34044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_CaptureMouse" "', expected argument " "1"" of type '" "wxWindow *""'");
34046 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34049 (arg1
)->CaptureMouse();
34050 wxPyEndAllowThreads(__tstate
);
34051 if (PyErr_Occurred()) SWIG_fail
;
34053 resultobj
= SWIG_Py_Void();
34060 SWIGINTERN PyObject
*_wrap_Window_ReleaseMouse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34061 PyObject
*resultobj
= 0;
34062 wxWindow
*arg1
= (wxWindow
*) 0 ;
34065 PyObject
*swig_obj
[1] ;
34067 if (!args
) SWIG_fail
;
34068 swig_obj
[0] = args
;
34069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34070 if (!SWIG_IsOK(res1
)) {
34071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ReleaseMouse" "', expected argument " "1"" of type '" "wxWindow *""'");
34073 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34076 (arg1
)->ReleaseMouse();
34077 wxPyEndAllowThreads(__tstate
);
34078 if (PyErr_Occurred()) SWIG_fail
;
34080 resultobj
= SWIG_Py_Void();
34087 SWIGINTERN PyObject
*_wrap_Window_GetCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34088 PyObject
*resultobj
= 0;
34089 wxWindow
*result
= 0 ;
34091 if (!SWIG_Python_UnpackTuple(args
,"Window_GetCapture",0,0,0)) SWIG_fail
;
34093 if (!wxPyCheckForApp()) SWIG_fail
;
34094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34095 result
= (wxWindow
*)wxWindow::GetCapture();
34096 wxPyEndAllowThreads(__tstate
);
34097 if (PyErr_Occurred()) SWIG_fail
;
34100 resultobj
= wxPyMake_wxObject(result
, 0);
34108 SWIGINTERN PyObject
*_wrap_Window_HasCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34109 PyObject
*resultobj
= 0;
34110 wxWindow
*arg1
= (wxWindow
*) 0 ;
34114 PyObject
*swig_obj
[1] ;
34116 if (!args
) SWIG_fail
;
34117 swig_obj
[0] = args
;
34118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34119 if (!SWIG_IsOK(res1
)) {
34120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_HasCapture" "', expected argument " "1"" of type '" "wxWindow const *""'");
34122 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34125 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
34126 wxPyEndAllowThreads(__tstate
);
34127 if (PyErr_Occurred()) SWIG_fail
;
34130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34138 SWIGINTERN PyObject
*_wrap_Window_Refresh(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34139 PyObject
*resultobj
= 0;
34140 wxWindow
*arg1
= (wxWindow
*) 0 ;
34141 bool arg2
= (bool) true ;
34142 wxRect
*arg3
= (wxRect
*) NULL
;
34149 PyObject
* obj0
= 0 ;
34150 PyObject
* obj1
= 0 ;
34151 PyObject
* obj2
= 0 ;
34152 char * kwnames
[] = {
34153 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
34156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34158 if (!SWIG_IsOK(res1
)) {
34159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Refresh" "', expected argument " "1"" of type '" "wxWindow *""'");
34161 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34163 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
34164 if (!SWIG_IsOK(ecode2
)) {
34165 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_Refresh" "', expected argument " "2"" of type '" "bool""'");
34167 arg2
= static_cast< bool >(val2
);
34170 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
34171 if (!SWIG_IsOK(res3
)) {
34172 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Window_Refresh" "', expected argument " "3"" of type '" "wxRect const *""'");
34174 arg3
= reinterpret_cast< wxRect
* >(argp3
);
34177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34178 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
34179 wxPyEndAllowThreads(__tstate
);
34180 if (PyErr_Occurred()) SWIG_fail
;
34182 resultobj
= SWIG_Py_Void();
34189 SWIGINTERN PyObject
*_wrap_Window_RefreshRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34190 PyObject
*resultobj
= 0;
34191 wxWindow
*arg1
= (wxWindow
*) 0 ;
34193 bool arg3
= (bool) true ;
34199 PyObject
* obj0
= 0 ;
34200 PyObject
* obj1
= 0 ;
34201 PyObject
* obj2
= 0 ;
34202 char * kwnames
[] = {
34203 (char *) "self",(char *) "rect",(char *) "eraseBackground", NULL
34206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_RefreshRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34208 if (!SWIG_IsOK(res1
)) {
34209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_RefreshRect" "', expected argument " "1"" of type '" "wxWindow *""'");
34211 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34214 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
34217 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34218 if (!SWIG_IsOK(ecode3
)) {
34219 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_RefreshRect" "', expected argument " "3"" of type '" "bool""'");
34221 arg3
= static_cast< bool >(val3
);
34224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34225 (arg1
)->RefreshRect((wxRect
const &)*arg2
,arg3
);
34226 wxPyEndAllowThreads(__tstate
);
34227 if (PyErr_Occurred()) SWIG_fail
;
34229 resultobj
= SWIG_Py_Void();
34236 SWIGINTERN PyObject
*_wrap_Window_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34237 PyObject
*resultobj
= 0;
34238 wxWindow
*arg1
= (wxWindow
*) 0 ;
34241 PyObject
*swig_obj
[1] ;
34243 if (!args
) SWIG_fail
;
34244 swig_obj
[0] = args
;
34245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34246 if (!SWIG_IsOK(res1
)) {
34247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Update" "', expected argument " "1"" of type '" "wxWindow *""'");
34249 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34253 wxPyEndAllowThreads(__tstate
);
34254 if (PyErr_Occurred()) SWIG_fail
;
34256 resultobj
= SWIG_Py_Void();
34263 SWIGINTERN PyObject
*_wrap_Window_ClearBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34264 PyObject
*resultobj
= 0;
34265 wxWindow
*arg1
= (wxWindow
*) 0 ;
34268 PyObject
*swig_obj
[1] ;
34270 if (!args
) SWIG_fail
;
34271 swig_obj
[0] = args
;
34272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34273 if (!SWIG_IsOK(res1
)) {
34274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ClearBackground" "', expected argument " "1"" of type '" "wxWindow *""'");
34276 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34279 (arg1
)->ClearBackground();
34280 wxPyEndAllowThreads(__tstate
);
34281 if (PyErr_Occurred()) SWIG_fail
;
34283 resultobj
= SWIG_Py_Void();
34290 SWIGINTERN PyObject
*_wrap_Window_Freeze(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34291 PyObject
*resultobj
= 0;
34292 wxWindow
*arg1
= (wxWindow
*) 0 ;
34295 PyObject
*swig_obj
[1] ;
34297 if (!args
) SWIG_fail
;
34298 swig_obj
[0] = args
;
34299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34300 if (!SWIG_IsOK(res1
)) {
34301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Freeze" "', expected argument " "1"" of type '" "wxWindow *""'");
34303 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34307 wxPyEndAllowThreads(__tstate
);
34308 if (PyErr_Occurred()) SWIG_fail
;
34310 resultobj
= SWIG_Py_Void();
34317 SWIGINTERN PyObject
*_wrap_Window_Thaw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34318 PyObject
*resultobj
= 0;
34319 wxWindow
*arg1
= (wxWindow
*) 0 ;
34322 PyObject
*swig_obj
[1] ;
34324 if (!args
) SWIG_fail
;
34325 swig_obj
[0] = args
;
34326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34327 if (!SWIG_IsOK(res1
)) {
34328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Thaw" "', expected argument " "1"" of type '" "wxWindow *""'");
34330 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34334 wxPyEndAllowThreads(__tstate
);
34335 if (PyErr_Occurred()) SWIG_fail
;
34337 resultobj
= SWIG_Py_Void();
34344 SWIGINTERN PyObject
*_wrap_Window_PrepareDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34345 PyObject
*resultobj
= 0;
34346 wxWindow
*arg1
= (wxWindow
*) 0 ;
34352 PyObject
* obj0
= 0 ;
34353 PyObject
* obj1
= 0 ;
34354 char * kwnames
[] = {
34355 (char *) "self",(char *) "dc", NULL
34358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34360 if (!SWIG_IsOK(res1
)) {
34361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PrepareDC" "', expected argument " "1"" of type '" "wxWindow *""'");
34363 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34364 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
34365 if (!SWIG_IsOK(res2
)) {
34366 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_PrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
34369 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_PrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
34371 arg2
= reinterpret_cast< wxDC
* >(argp2
);
34373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34374 (arg1
)->PrepareDC(*arg2
);
34375 wxPyEndAllowThreads(__tstate
);
34376 if (PyErr_Occurred()) SWIG_fail
;
34378 resultobj
= SWIG_Py_Void();
34385 SWIGINTERN PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34386 PyObject
*resultobj
= 0;
34387 wxWindow
*arg1
= (wxWindow
*) 0 ;
34388 wxRegion
*result
= 0 ;
34391 PyObject
*swig_obj
[1] ;
34393 if (!args
) SWIG_fail
;
34394 swig_obj
[0] = args
;
34395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34396 if (!SWIG_IsOK(res1
)) {
34397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetUpdateRegion" "', expected argument " "1"" of type '" "wxWindow *""'");
34399 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34403 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
34404 result
= (wxRegion
*) &_result_ref
;
34406 wxPyEndAllowThreads(__tstate
);
34407 if (PyErr_Occurred()) SWIG_fail
;
34409 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, 0 | 0 );
34416 SWIGINTERN PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34417 PyObject
*resultobj
= 0;
34418 wxWindow
*arg1
= (wxWindow
*) 0 ;
34422 PyObject
*swig_obj
[1] ;
34424 if (!args
) SWIG_fail
;
34425 swig_obj
[0] = args
;
34426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34427 if (!SWIG_IsOK(res1
)) {
34428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetUpdateClientRect" "', expected argument " "1"" of type '" "wxWindow const *""'");
34430 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34433 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
34434 wxPyEndAllowThreads(__tstate
);
34435 if (PyErr_Occurred()) SWIG_fail
;
34437 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
34444 SWIGINTERN PyObject
*_wrap_Window_IsExposed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34445 PyObject
*resultobj
= 0;
34446 wxWindow
*arg1
= (wxWindow
*) 0 ;
34449 int arg4
= (int) 1 ;
34450 int arg5
= (int) 1 ;
34462 PyObject
* obj0
= 0 ;
34463 PyObject
* obj1
= 0 ;
34464 PyObject
* obj2
= 0 ;
34465 PyObject
* obj3
= 0 ;
34466 PyObject
* obj4
= 0 ;
34467 char * kwnames
[] = {
34468 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
34471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34473 if (!SWIG_IsOK(res1
)) {
34474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsExposed" "', expected argument " "1"" of type '" "wxWindow const *""'");
34476 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34477 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34478 if (!SWIG_IsOK(ecode2
)) {
34479 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_IsExposed" "', expected argument " "2"" of type '" "int""'");
34481 arg2
= static_cast< int >(val2
);
34482 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34483 if (!SWIG_IsOK(ecode3
)) {
34484 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_IsExposed" "', expected argument " "3"" of type '" "int""'");
34486 arg3
= static_cast< int >(val3
);
34488 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34489 if (!SWIG_IsOK(ecode4
)) {
34490 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_IsExposed" "', expected argument " "4"" of type '" "int""'");
34492 arg4
= static_cast< int >(val4
);
34495 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34496 if (!SWIG_IsOK(ecode5
)) {
34497 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Window_IsExposed" "', expected argument " "5"" of type '" "int""'");
34499 arg5
= static_cast< int >(val5
);
34502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34503 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
34504 wxPyEndAllowThreads(__tstate
);
34505 if (PyErr_Occurred()) SWIG_fail
;
34508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34516 SWIGINTERN PyObject
*_wrap_Window_IsExposedPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34517 PyObject
*resultobj
= 0;
34518 wxWindow
*arg1
= (wxWindow
*) 0 ;
34519 wxPoint
*arg2
= 0 ;
34524 PyObject
* obj0
= 0 ;
34525 PyObject
* obj1
= 0 ;
34526 char * kwnames
[] = {
34527 (char *) "self",(char *) "pt", NULL
34530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34532 if (!SWIG_IsOK(res1
)) {
34533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsExposedPoint" "', expected argument " "1"" of type '" "wxWindow const *""'");
34535 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34538 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34542 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
34543 wxPyEndAllowThreads(__tstate
);
34544 if (PyErr_Occurred()) SWIG_fail
;
34547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34555 SWIGINTERN PyObject
*_wrap_Window_IsExposedRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34556 PyObject
*resultobj
= 0;
34557 wxWindow
*arg1
= (wxWindow
*) 0 ;
34563 PyObject
* obj0
= 0 ;
34564 PyObject
* obj1
= 0 ;
34565 char * kwnames
[] = {
34566 (char *) "self",(char *) "rect", NULL
34569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34571 if (!SWIG_IsOK(res1
)) {
34572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsExposedRect" "', expected argument " "1"" of type '" "wxWindow const *""'");
34574 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34577 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
34580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34581 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
34582 wxPyEndAllowThreads(__tstate
);
34583 if (PyErr_Occurred()) SWIG_fail
;
34586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34594 SWIGINTERN PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34595 PyObject
*resultobj
= 0;
34596 wxWindow
*arg1
= (wxWindow
*) 0 ;
34597 SwigValueWrapper
<wxVisualAttributes
> result
;
34600 PyObject
*swig_obj
[1] ;
34602 if (!args
) SWIG_fail
;
34603 swig_obj
[0] = args
;
34604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34605 if (!SWIG_IsOK(res1
)) {
34606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxWindow const *""'");
34608 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34611 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
34612 wxPyEndAllowThreads(__tstate
);
34613 if (PyErr_Occurred()) SWIG_fail
;
34615 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
34622 SWIGINTERN PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34623 PyObject
*resultobj
= 0;
34624 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
34625 SwigValueWrapper
<wxVisualAttributes
> result
;
34628 PyObject
* obj0
= 0 ;
34629 char * kwnames
[] = {
34630 (char *) "variant", NULL
34633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
34635 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
34636 if (!SWIG_IsOK(ecode1
)) {
34637 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Window_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
34639 arg1
= static_cast< wxWindowVariant
>(val1
);
34642 if (!wxPyCheckForApp()) SWIG_fail
;
34643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34644 result
= wxWindow::GetClassDefaultAttributes(arg1
);
34645 wxPyEndAllowThreads(__tstate
);
34646 if (PyErr_Occurred()) SWIG_fail
;
34648 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
34655 SWIGINTERN PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34656 PyObject
*resultobj
= 0;
34657 wxWindow
*arg1
= (wxWindow
*) 0 ;
34658 wxColour
*arg2
= 0 ;
34663 PyObject
* obj0
= 0 ;
34664 PyObject
* obj1
= 0 ;
34665 char * kwnames
[] = {
34666 (char *) "self",(char *) "colour", NULL
34669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34671 if (!SWIG_IsOK(res1
)) {
34672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetBackgroundColour" "', expected argument " "1"" of type '" "wxWindow *""'");
34674 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34677 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34681 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
34682 wxPyEndAllowThreads(__tstate
);
34683 if (PyErr_Occurred()) SWIG_fail
;
34686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34694 SWIGINTERN PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34695 PyObject
*resultobj
= 0;
34696 wxWindow
*arg1
= (wxWindow
*) 0 ;
34697 wxColour
*arg2
= 0 ;
34701 PyObject
* obj0
= 0 ;
34702 PyObject
* obj1
= 0 ;
34703 char * kwnames
[] = {
34704 (char *) "self",(char *) "colour", NULL
34707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34709 if (!SWIG_IsOK(res1
)) {
34710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetOwnBackgroundColour" "', expected argument " "1"" of type '" "wxWindow *""'");
34712 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34715 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34719 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
34720 wxPyEndAllowThreads(__tstate
);
34721 if (PyErr_Occurred()) SWIG_fail
;
34723 resultobj
= SWIG_Py_Void();
34730 SWIGINTERN PyObject
*_wrap_Window_SetForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34731 PyObject
*resultobj
= 0;
34732 wxWindow
*arg1
= (wxWindow
*) 0 ;
34733 wxColour
*arg2
= 0 ;
34738 PyObject
* obj0
= 0 ;
34739 PyObject
* obj1
= 0 ;
34740 char * kwnames
[] = {
34741 (char *) "self",(char *) "colour", NULL
34744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",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_SetForegroundColour" "', expected argument " "1"" of type '" "wxWindow *""'");
34749 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34752 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34756 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
34757 wxPyEndAllowThreads(__tstate
);
34758 if (PyErr_Occurred()) SWIG_fail
;
34761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34769 SWIGINTERN PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34770 PyObject
*resultobj
= 0;
34771 wxWindow
*arg1
= (wxWindow
*) 0 ;
34772 wxColour
*arg2
= 0 ;
34776 PyObject
* obj0
= 0 ;
34777 PyObject
* obj1
= 0 ;
34778 char * kwnames
[] = {
34779 (char *) "self",(char *) "colour", NULL
34782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34784 if (!SWIG_IsOK(res1
)) {
34785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetOwnForegroundColour" "', expected argument " "1"" of type '" "wxWindow *""'");
34787 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34790 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34794 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
34795 wxPyEndAllowThreads(__tstate
);
34796 if (PyErr_Occurred()) SWIG_fail
;
34798 resultobj
= SWIG_Py_Void();
34805 SWIGINTERN PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34806 PyObject
*resultobj
= 0;
34807 wxWindow
*arg1
= (wxWindow
*) 0 ;
34811 PyObject
*swig_obj
[1] ;
34813 if (!args
) SWIG_fail
;
34814 swig_obj
[0] = args
;
34815 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34816 if (!SWIG_IsOK(res1
)) {
34817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBackgroundColour" "', expected argument " "1"" of type '" "wxWindow const *""'");
34819 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34822 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
34823 wxPyEndAllowThreads(__tstate
);
34824 if (PyErr_Occurred()) SWIG_fail
;
34826 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34833 SWIGINTERN PyObject
*_wrap_Window_GetForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34834 PyObject
*resultobj
= 0;
34835 wxWindow
*arg1
= (wxWindow
*) 0 ;
34839 PyObject
*swig_obj
[1] ;
34841 if (!args
) SWIG_fail
;
34842 swig_obj
[0] = args
;
34843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34844 if (!SWIG_IsOK(res1
)) {
34845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetForegroundColour" "', expected argument " "1"" of type '" "wxWindow const *""'");
34847 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34850 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
34851 wxPyEndAllowThreads(__tstate
);
34852 if (PyErr_Occurred()) SWIG_fail
;
34854 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34861 SWIGINTERN PyObject
*_wrap_Window_InheritsBackgroundColour(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_InheritsBackgroundColour" "', expected argument " "1"" of type '" "wxWindow const *""'");
34875 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34878 result
= (bool)((wxWindow
const *)arg1
)->InheritsBackgroundColour();
34879 wxPyEndAllowThreads(__tstate
);
34880 if (PyErr_Occurred()) SWIG_fail
;
34883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34891 SWIGINTERN PyObject
*_wrap_Window_UseBgCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34892 PyObject
*resultobj
= 0;
34893 wxWindow
*arg1
= (wxWindow
*) 0 ;
34897 PyObject
*swig_obj
[1] ;
34899 if (!args
) SWIG_fail
;
34900 swig_obj
[0] = args
;
34901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34902 if (!SWIG_IsOK(res1
)) {
34903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_UseBgCol" "', expected argument " "1"" of type '" "wxWindow const *""'");
34905 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34908 result
= (bool)((wxWindow
const *)arg1
)->UseBgCol();
34909 wxPyEndAllowThreads(__tstate
);
34910 if (PyErr_Occurred()) SWIG_fail
;
34913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34921 SWIGINTERN PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34922 PyObject
*resultobj
= 0;
34923 wxWindow
*arg1
= (wxWindow
*) 0 ;
34924 wxBackgroundStyle arg2
;
34930 PyObject
* obj0
= 0 ;
34931 PyObject
* obj1
= 0 ;
34932 char * kwnames
[] = {
34933 (char *) "self",(char *) "style", NULL
34936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34938 if (!SWIG_IsOK(res1
)) {
34939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetBackgroundStyle" "', expected argument " "1"" of type '" "wxWindow *""'");
34941 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34942 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34943 if (!SWIG_IsOK(ecode2
)) {
34944 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetBackgroundStyle" "', expected argument " "2"" of type '" "wxBackgroundStyle""'");
34946 arg2
= static_cast< wxBackgroundStyle
>(val2
);
34948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34949 result
= (bool)(arg1
)->SetBackgroundStyle(arg2
);
34950 wxPyEndAllowThreads(__tstate
);
34951 if (PyErr_Occurred()) SWIG_fail
;
34954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34962 SWIGINTERN PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34963 PyObject
*resultobj
= 0;
34964 wxWindow
*arg1
= (wxWindow
*) 0 ;
34965 wxBackgroundStyle result
;
34968 PyObject
*swig_obj
[1] ;
34970 if (!args
) SWIG_fail
;
34971 swig_obj
[0] = args
;
34972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34973 if (!SWIG_IsOK(res1
)) {
34974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBackgroundStyle" "', expected argument " "1"" of type '" "wxWindow const *""'");
34976 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34979 result
= (wxBackgroundStyle
)((wxWindow
const *)arg1
)->GetBackgroundStyle();
34980 wxPyEndAllowThreads(__tstate
);
34981 if (PyErr_Occurred()) SWIG_fail
;
34983 resultobj
= SWIG_From_int(static_cast< int >(result
));
34990 SWIGINTERN PyObject
*_wrap_Window_HasTransparentBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34991 PyObject
*resultobj
= 0;
34992 wxWindow
*arg1
= (wxWindow
*) 0 ;
34996 PyObject
*swig_obj
[1] ;
34998 if (!args
) SWIG_fail
;
34999 swig_obj
[0] = args
;
35000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35001 if (!SWIG_IsOK(res1
)) {
35002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_HasTransparentBackground" "', expected argument " "1"" of type '" "wxWindow *""'");
35004 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35007 result
= (bool)(arg1
)->HasTransparentBackground();
35008 wxPyEndAllowThreads(__tstate
);
35009 if (PyErr_Occurred()) SWIG_fail
;
35012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35020 SWIGINTERN PyObject
*_wrap_Window_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35021 PyObject
*resultobj
= 0;
35022 wxWindow
*arg1
= (wxWindow
*) 0 ;
35023 wxCursor
*arg2
= 0 ;
35029 PyObject
* obj0
= 0 ;
35030 PyObject
* obj1
= 0 ;
35031 char * kwnames
[] = {
35032 (char *) "self",(char *) "cursor", NULL
35035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35037 if (!SWIG_IsOK(res1
)) {
35038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetCursor" "', expected argument " "1"" of type '" "wxWindow *""'");
35040 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35041 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
35042 if (!SWIG_IsOK(res2
)) {
35043 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
35046 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_SetCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
35048 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
35050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35051 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
35052 wxPyEndAllowThreads(__tstate
);
35053 if (PyErr_Occurred()) SWIG_fail
;
35056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35064 SWIGINTERN PyObject
*_wrap_Window_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35065 PyObject
*resultobj
= 0;
35066 wxWindow
*arg1
= (wxWindow
*) 0 ;
35070 PyObject
*swig_obj
[1] ;
35072 if (!args
) SWIG_fail
;
35073 swig_obj
[0] = args
;
35074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35075 if (!SWIG_IsOK(res1
)) {
35076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetCursor" "', expected argument " "1"" of type '" "wxWindow *""'");
35078 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35081 result
= (arg1
)->GetCursor();
35082 wxPyEndAllowThreads(__tstate
);
35083 if (PyErr_Occurred()) SWIG_fail
;
35085 resultobj
= SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor
& >(result
))), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
35092 SWIGINTERN PyObject
*_wrap_Window_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35093 PyObject
*resultobj
= 0;
35094 wxWindow
*arg1
= (wxWindow
*) 0 ;
35101 PyObject
* obj0
= 0 ;
35102 PyObject
* obj1
= 0 ;
35103 char * kwnames
[] = {
35104 (char *) "self",(char *) "font", NULL
35107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35109 if (!SWIG_IsOK(res1
)) {
35110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetFont" "', expected argument " "1"" of type '" "wxWindow *""'");
35112 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35113 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
35114 if (!SWIG_IsOK(res2
)) {
35115 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
35118 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
35120 arg2
= reinterpret_cast< wxFont
* >(argp2
);
35122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35123 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
35124 wxPyEndAllowThreads(__tstate
);
35125 if (PyErr_Occurred()) SWIG_fail
;
35128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35136 SWIGINTERN PyObject
*_wrap_Window_SetOwnFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35137 PyObject
*resultobj
= 0;
35138 wxWindow
*arg1
= (wxWindow
*) 0 ;
35144 PyObject
* obj0
= 0 ;
35145 PyObject
* obj1
= 0 ;
35146 char * kwnames
[] = {
35147 (char *) "self",(char *) "font", NULL
35150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35152 if (!SWIG_IsOK(res1
)) {
35153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetOwnFont" "', expected argument " "1"" of type '" "wxWindow *""'");
35155 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35156 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
35157 if (!SWIG_IsOK(res2
)) {
35158 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetOwnFont" "', expected argument " "2"" of type '" "wxFont const &""'");
35161 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_SetOwnFont" "', expected argument " "2"" of type '" "wxFont const &""'");
35163 arg2
= reinterpret_cast< wxFont
* >(argp2
);
35165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35166 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
35167 wxPyEndAllowThreads(__tstate
);
35168 if (PyErr_Occurred()) SWIG_fail
;
35170 resultobj
= SWIG_Py_Void();
35177 SWIGINTERN PyObject
*_wrap_Window_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35178 PyObject
*resultobj
= 0;
35179 wxWindow
*arg1
= (wxWindow
*) 0 ;
35183 PyObject
*swig_obj
[1] ;
35185 if (!args
) SWIG_fail
;
35186 swig_obj
[0] = args
;
35187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35188 if (!SWIG_IsOK(res1
)) {
35189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetFont" "', expected argument " "1"" of type '" "wxWindow *""'");
35191 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35194 result
= (arg1
)->GetFont();
35195 wxPyEndAllowThreads(__tstate
);
35196 if (PyErr_Occurred()) SWIG_fail
;
35198 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
35205 SWIGINTERN PyObject
*_wrap_Window_SetCaret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35206 PyObject
*resultobj
= 0;
35207 wxWindow
*arg1
= (wxWindow
*) 0 ;
35208 wxCaret
*arg2
= (wxCaret
*) 0 ;
35212 PyObject
* obj0
= 0 ;
35213 PyObject
* obj1
= 0 ;
35214 char * kwnames
[] = {
35215 (char *) "self",(char *) "caret", NULL
35218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35220 if (!SWIG_IsOK(res1
)) {
35221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetCaret" "', expected argument " "1"" of type '" "wxWindow *""'");
35223 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35224 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxCaret
, SWIG_POINTER_DISOWN
| 0 );
35225 if (!SWIG_IsOK(res2
)) {
35226 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetCaret" "', expected argument " "2"" of type '" "wxCaret *""'");
35229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35230 (arg1
)->SetCaret(arg2
);
35231 wxPyEndAllowThreads(__tstate
);
35232 if (PyErr_Occurred()) SWIG_fail
;
35234 resultobj
= SWIG_Py_Void();
35241 SWIGINTERN PyObject
*_wrap_Window_GetCaret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35242 PyObject
*resultobj
= 0;
35243 wxWindow
*arg1
= (wxWindow
*) 0 ;
35244 wxCaret
*result
= 0 ;
35247 PyObject
*swig_obj
[1] ;
35249 if (!args
) SWIG_fail
;
35250 swig_obj
[0] = args
;
35251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35252 if (!SWIG_IsOK(res1
)) {
35253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetCaret" "', expected argument " "1"" of type '" "wxWindow const *""'");
35255 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35258 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
35259 wxPyEndAllowThreads(__tstate
);
35260 if (PyErr_Occurred()) SWIG_fail
;
35262 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCaret
, 0 | 0 );
35269 SWIGINTERN PyObject
*_wrap_Window_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35270 PyObject
*resultobj
= 0;
35271 wxWindow
*arg1
= (wxWindow
*) 0 ;
35275 PyObject
*swig_obj
[1] ;
35277 if (!args
) SWIG_fail
;
35278 swig_obj
[0] = args
;
35279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35280 if (!SWIG_IsOK(res1
)) {
35281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetCharHeight" "', expected argument " "1"" of type '" "wxWindow const *""'");
35283 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35286 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
35287 wxPyEndAllowThreads(__tstate
);
35288 if (PyErr_Occurred()) SWIG_fail
;
35290 resultobj
= SWIG_From_int(static_cast< int >(result
));
35297 SWIGINTERN PyObject
*_wrap_Window_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35298 PyObject
*resultobj
= 0;
35299 wxWindow
*arg1
= (wxWindow
*) 0 ;
35303 PyObject
*swig_obj
[1] ;
35305 if (!args
) SWIG_fail
;
35306 swig_obj
[0] = args
;
35307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35308 if (!SWIG_IsOK(res1
)) {
35309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetCharWidth" "', expected argument " "1"" of type '" "wxWindow const *""'");
35311 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35314 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
35315 wxPyEndAllowThreads(__tstate
);
35316 if (PyErr_Occurred()) SWIG_fail
;
35318 resultobj
= SWIG_From_int(static_cast< int >(result
));
35325 SWIGINTERN PyObject
*_wrap_Window_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35326 PyObject
*resultobj
= 0;
35327 wxWindow
*arg1
= (wxWindow
*) 0 ;
35328 wxString
*arg2
= 0 ;
35329 int *arg3
= (int *) 0 ;
35330 int *arg4
= (int *) 0 ;
35333 bool temp2
= false ;
35335 int res3
= SWIG_TMPOBJ
;
35337 int res4
= SWIG_TMPOBJ
;
35338 PyObject
* obj0
= 0 ;
35339 PyObject
* obj1
= 0 ;
35340 char * kwnames
[] = {
35341 (char *) "self",(char *) "string", NULL
35346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35348 if (!SWIG_IsOK(res1
)) {
35349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetTextExtent" "', expected argument " "1"" of type '" "wxWindow *""'");
35351 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35353 arg2
= wxString_in_helper(obj1
);
35354 if (arg2
== NULL
) SWIG_fail
;
35358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35359 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
35360 wxPyEndAllowThreads(__tstate
);
35361 if (PyErr_Occurred()) SWIG_fail
;
35363 resultobj
= SWIG_Py_Void();
35364 if (SWIG_IsTmpObj(res3
)) {
35365 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
35367 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
35368 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
35370 if (SWIG_IsTmpObj(res4
)) {
35371 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
35373 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
35374 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
35390 SWIGINTERN PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35391 PyObject
*resultobj
= 0;
35392 wxWindow
*arg1
= (wxWindow
*) 0 ;
35393 wxString
*arg2
= 0 ;
35394 int *arg3
= (int *) 0 ;
35395 int *arg4
= (int *) 0 ;
35396 int *arg5
= (int *) 0 ;
35397 int *arg6
= (int *) 0 ;
35398 wxFont
*arg7
= (wxFont
*) NULL
;
35401 bool temp2
= false ;
35403 int res3
= SWIG_TMPOBJ
;
35405 int res4
= SWIG_TMPOBJ
;
35407 int res5
= SWIG_TMPOBJ
;
35409 int res6
= SWIG_TMPOBJ
;
35412 PyObject
* obj0
= 0 ;
35413 PyObject
* obj1
= 0 ;
35414 PyObject
* obj2
= 0 ;
35415 char * kwnames
[] = {
35416 (char *) "self",(char *) "string",(char *) "font", NULL
35423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35425 if (!SWIG_IsOK(res1
)) {
35426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetFullTextExtent" "', expected argument " "1"" of type '" "wxWindow *""'");
35428 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35430 arg2
= wxString_in_helper(obj1
);
35431 if (arg2
== NULL
) SWIG_fail
;
35435 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
35436 if (!SWIG_IsOK(res7
)) {
35437 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "Window_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont const *""'");
35439 arg7
= reinterpret_cast< wxFont
* >(argp7
);
35442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35443 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
35444 wxPyEndAllowThreads(__tstate
);
35445 if (PyErr_Occurred()) SWIG_fail
;
35447 resultobj
= SWIG_Py_Void();
35448 if (SWIG_IsTmpObj(res3
)) {
35449 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
35451 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
35452 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
35454 if (SWIG_IsTmpObj(res4
)) {
35455 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
35457 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
35458 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
35460 if (SWIG_IsTmpObj(res5
)) {
35461 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
35463 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
35464 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
35466 if (SWIG_IsTmpObj(res6
)) {
35467 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
35469 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
35470 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
35486 SWIGINTERN PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35487 PyObject
*resultobj
= 0;
35488 wxWindow
*arg1
= (wxWindow
*) 0 ;
35489 int *arg2
= (int *) 0 ;
35490 int *arg3
= (int *) 0 ;
35497 PyObject
* obj0
= 0 ;
35498 PyObject
* obj1
= 0 ;
35499 PyObject
* obj2
= 0 ;
35500 char * kwnames
[] = {
35501 (char *) "self",(char *) "x",(char *) "y", NULL
35504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35506 if (!SWIG_IsOK(res1
)) {
35507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ClientToScreenXY" "', expected argument " "1"" of type '" "wxWindow const *""'");
35509 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35510 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_int
,0))))) {
35512 int ecode
= SWIG_AsVal_int(obj1
, &val
);
35513 if (!SWIG_IsOK(ecode
)) {
35514 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "Window_ClientToScreenXY" "', expected argument " "2"" of type '" "int""'");
35516 temp2
= static_cast< int >(val
);
35518 res2
= SWIG_AddTmpMask(ecode
);
35520 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_int
,0))))) {
35522 int ecode
= SWIG_AsVal_int(obj2
, &val
);
35523 if (!SWIG_IsOK(ecode
)) {
35524 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "Window_ClientToScreenXY" "', expected argument " "3"" of type '" "int""'");
35526 temp3
= static_cast< int >(val
);
35528 res3
= SWIG_AddTmpMask(ecode
);
35531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35532 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
35533 wxPyEndAllowThreads(__tstate
);
35534 if (PyErr_Occurred()) SWIG_fail
;
35536 resultobj
= SWIG_Py_Void();
35537 if (SWIG_IsTmpObj(res2
)) {
35538 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
35540 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
35541 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
35543 if (SWIG_IsTmpObj(res3
)) {
35544 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
35546 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
35547 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
35555 SWIGINTERN PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35556 PyObject
*resultobj
= 0;
35557 wxWindow
*arg1
= (wxWindow
*) 0 ;
35558 int *arg2
= (int *) 0 ;
35559 int *arg3
= (int *) 0 ;
35566 PyObject
* obj0
= 0 ;
35567 PyObject
* obj1
= 0 ;
35568 PyObject
* obj2
= 0 ;
35569 char * kwnames
[] = {
35570 (char *) "self",(char *) "x",(char *) "y", NULL
35573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35575 if (!SWIG_IsOK(res1
)) {
35576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ScreenToClientXY" "', expected argument " "1"" of type '" "wxWindow const *""'");
35578 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35579 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_int
,0))))) {
35581 int ecode
= SWIG_AsVal_int(obj1
, &val
);
35582 if (!SWIG_IsOK(ecode
)) {
35583 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "Window_ScreenToClientXY" "', expected argument " "2"" of type '" "int""'");
35585 temp2
= static_cast< int >(val
);
35587 res2
= SWIG_AddTmpMask(ecode
);
35589 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_int
,0))))) {
35591 int ecode
= SWIG_AsVal_int(obj2
, &val
);
35592 if (!SWIG_IsOK(ecode
)) {
35593 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "Window_ScreenToClientXY" "', expected argument " "3"" of type '" "int""'");
35595 temp3
= static_cast< int >(val
);
35597 res3
= SWIG_AddTmpMask(ecode
);
35600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35601 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
35602 wxPyEndAllowThreads(__tstate
);
35603 if (PyErr_Occurred()) SWIG_fail
;
35605 resultobj
= SWIG_Py_Void();
35606 if (SWIG_IsTmpObj(res2
)) {
35607 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
35609 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
35610 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
35612 if (SWIG_IsTmpObj(res3
)) {
35613 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
35615 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
35616 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
35624 SWIGINTERN PyObject
*_wrap_Window_ClientToScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35625 PyObject
*resultobj
= 0;
35626 wxWindow
*arg1
= (wxWindow
*) 0 ;
35627 wxPoint
*arg2
= 0 ;
35632 PyObject
* obj0
= 0 ;
35633 PyObject
* obj1
= 0 ;
35634 char * kwnames
[] = {
35635 (char *) "self",(char *) "pt", NULL
35638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35640 if (!SWIG_IsOK(res1
)) {
35641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ClientToScreen" "', expected argument " "1"" of type '" "wxWindow const *""'");
35643 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35646 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35650 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
35651 wxPyEndAllowThreads(__tstate
);
35652 if (PyErr_Occurred()) SWIG_fail
;
35654 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
35661 SWIGINTERN PyObject
*_wrap_Window_ScreenToClient(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35662 PyObject
*resultobj
= 0;
35663 wxWindow
*arg1
= (wxWindow
*) 0 ;
35664 wxPoint
*arg2
= 0 ;
35669 PyObject
* obj0
= 0 ;
35670 PyObject
* obj1
= 0 ;
35671 char * kwnames
[] = {
35672 (char *) "self",(char *) "pt", NULL
35675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35677 if (!SWIG_IsOK(res1
)) {
35678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ScreenToClient" "', expected argument " "1"" of type '" "wxWindow const *""'");
35680 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35683 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35687 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
35688 wxPyEndAllowThreads(__tstate
);
35689 if (PyErr_Occurred()) SWIG_fail
;
35691 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
35698 SWIGINTERN PyObject
*_wrap_Window_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35699 PyObject
*resultobj
= 0;
35700 wxWindow
*arg1
= (wxWindow
*) 0 ;
35710 PyObject
* obj0
= 0 ;
35711 PyObject
* obj1
= 0 ;
35712 PyObject
* obj2
= 0 ;
35713 char * kwnames
[] = {
35714 (char *) "self",(char *) "x",(char *) "y", NULL
35717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35719 if (!SWIG_IsOK(res1
)) {
35720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_HitTestXY" "', expected argument " "1"" of type '" "wxWindow const *""'");
35722 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35723 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35724 if (!SWIG_IsOK(ecode2
)) {
35725 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_HitTestXY" "', expected argument " "2"" of type '" "int""'");
35727 arg2
= static_cast< int >(val2
);
35728 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35729 if (!SWIG_IsOK(ecode3
)) {
35730 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_HitTestXY" "', expected argument " "3"" of type '" "int""'");
35732 arg3
= static_cast< int >(val3
);
35734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35735 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
35736 wxPyEndAllowThreads(__tstate
);
35737 if (PyErr_Occurred()) SWIG_fail
;
35739 resultobj
= SWIG_From_int(static_cast< int >(result
));
35746 SWIGINTERN PyObject
*_wrap_Window_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35747 PyObject
*resultobj
= 0;
35748 wxWindow
*arg1
= (wxWindow
*) 0 ;
35749 wxPoint
*arg2
= 0 ;
35754 PyObject
* obj0
= 0 ;
35755 PyObject
* obj1
= 0 ;
35756 char * kwnames
[] = {
35757 (char *) "self",(char *) "pt", NULL
35760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35762 if (!SWIG_IsOK(res1
)) {
35763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_HitTest" "', expected argument " "1"" of type '" "wxWindow const *""'");
35765 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35768 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35772 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
35773 wxPyEndAllowThreads(__tstate
);
35774 if (PyErr_Occurred()) SWIG_fail
;
35776 resultobj
= SWIG_From_int(static_cast< int >(result
));
35783 SWIGINTERN PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
35784 PyObject
*resultobj
= 0;
35785 wxWindow
*arg1
= (wxWindow
*) 0 ;
35793 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
35794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35795 if (!SWIG_IsOK(res1
)) {
35796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBorder" "', expected argument " "1"" of type '" "wxWindow const *""'");
35798 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35799 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
35800 if (!SWIG_IsOK(ecode2
)) {
35801 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_GetBorder" "', expected argument " "2"" of type '" "long""'");
35803 arg2
= static_cast< long >(val2
);
35805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35806 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder(arg2
);
35807 wxPyEndAllowThreads(__tstate
);
35808 if (PyErr_Occurred()) SWIG_fail
;
35810 resultobj
= SWIG_From_int(static_cast< int >(result
));
35817 SWIGINTERN PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
35818 PyObject
*resultobj
= 0;
35819 wxWindow
*arg1
= (wxWindow
*) 0 ;
35824 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
35825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35826 if (!SWIG_IsOK(res1
)) {
35827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBorder" "', expected argument " "1"" of type '" "wxWindow const *""'");
35829 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35832 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder();
35833 wxPyEndAllowThreads(__tstate
);
35834 if (PyErr_Occurred()) SWIG_fail
;
35836 resultobj
= SWIG_From_int(static_cast< int >(result
));
35843 SWIGINTERN PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
35847 if (!(argc
= SWIG_Python_UnpackTuple(args
,"Window_GetBorder",0,2,argv
))) SWIG_fail
;
35850 return _wrap_Window_GetBorder__SWIG_1(self
, argc
, argv
);
35853 return _wrap_Window_GetBorder__SWIG_0(self
, argc
, argv
);
35857 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'Window_GetBorder'");
35862 SWIGINTERN PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35863 PyObject
*resultobj
= 0;
35864 wxWindow
*arg1
= (wxWindow
*) 0 ;
35865 long arg2
= (long) wxUPDATE_UI_NONE
;
35870 PyObject
* obj0
= 0 ;
35871 PyObject
* obj1
= 0 ;
35872 char * kwnames
[] = {
35873 (char *) "self",(char *) "flags", NULL
35876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35878 if (!SWIG_IsOK(res1
)) {
35879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_UpdateWindowUI" "', expected argument " "1"" of type '" "wxWindow *""'");
35881 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35883 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
35884 if (!SWIG_IsOK(ecode2
)) {
35885 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_UpdateWindowUI" "', expected argument " "2"" of type '" "long""'");
35887 arg2
= static_cast< long >(val2
);
35890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35891 (arg1
)->UpdateWindowUI(arg2
);
35892 wxPyEndAllowThreads(__tstate
);
35893 if (PyErr_Occurred()) SWIG_fail
;
35895 resultobj
= SWIG_Py_Void();
35902 SWIGINTERN PyObject
*_wrap_Window_PopupMenuXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35903 PyObject
*resultobj
= 0;
35904 wxWindow
*arg1
= (wxWindow
*) 0 ;
35905 wxMenu
*arg2
= (wxMenu
*) 0 ;
35906 int arg3
= (int) -1 ;
35907 int arg4
= (int) -1 ;
35917 PyObject
* obj0
= 0 ;
35918 PyObject
* obj1
= 0 ;
35919 PyObject
* obj2
= 0 ;
35920 PyObject
* obj3
= 0 ;
35921 char * kwnames
[] = {
35922 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
35925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35927 if (!SWIG_IsOK(res1
)) {
35928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PopupMenuXY" "', expected argument " "1"" of type '" "wxWindow *""'");
35930 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35931 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
35932 if (!SWIG_IsOK(res2
)) {
35933 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_PopupMenuXY" "', expected argument " "2"" of type '" "wxMenu *""'");
35935 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
35937 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35938 if (!SWIG_IsOK(ecode3
)) {
35939 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_PopupMenuXY" "', expected argument " "3"" of type '" "int""'");
35941 arg3
= static_cast< int >(val3
);
35944 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35945 if (!SWIG_IsOK(ecode4
)) {
35946 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_PopupMenuXY" "', expected argument " "4"" of type '" "int""'");
35948 arg4
= static_cast< int >(val4
);
35951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35952 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
35953 wxPyEndAllowThreads(__tstate
);
35954 if (PyErr_Occurred()) SWIG_fail
;
35957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35965 SWIGINTERN PyObject
*_wrap_Window_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35966 PyObject
*resultobj
= 0;
35967 wxWindow
*arg1
= (wxWindow
*) 0 ;
35968 wxMenu
*arg2
= (wxMenu
*) 0 ;
35969 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
35970 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
35977 PyObject
* obj0
= 0 ;
35978 PyObject
* obj1
= 0 ;
35979 PyObject
* obj2
= 0 ;
35980 char * kwnames
[] = {
35981 (char *) "self",(char *) "menu",(char *) "pos", NULL
35984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35986 if (!SWIG_IsOK(res1
)) {
35987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PopupMenu" "', expected argument " "1"" of type '" "wxWindow *""'");
35989 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35990 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
35991 if (!SWIG_IsOK(res2
)) {
35992 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
35994 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
35998 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36003 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
36004 wxPyEndAllowThreads(__tstate
);
36005 if (PyErr_Occurred()) SWIG_fail
;
36008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36016 SWIGINTERN PyObject
*_wrap_Window_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36017 PyObject
*resultobj
= 0;
36018 wxWindow
*arg1
= (wxWindow
*) 0 ;
36022 PyObject
*swig_obj
[1] ;
36024 if (!args
) SWIG_fail
;
36025 swig_obj
[0] = args
;
36026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36027 if (!SWIG_IsOK(res1
)) {
36028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetHandle" "', expected argument " "1"" of type '" "wxWindow *""'");
36030 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36033 result
= (long)wxWindow_GetHandle(arg1
);
36034 wxPyEndAllowThreads(__tstate
);
36035 if (PyErr_Occurred()) SWIG_fail
;
36037 resultobj
= SWIG_From_long(static_cast< long >(result
));
36044 SWIGINTERN PyObject
*_wrap_Window_AssociateHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36045 PyObject
*resultobj
= 0;
36046 wxWindow
*arg1
= (wxWindow
*) 0 ;
36052 PyObject
* obj0
= 0 ;
36053 PyObject
* obj1
= 0 ;
36054 char * kwnames
[] = {
36055 (char *) "self",(char *) "handle", NULL
36058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AssociateHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36060 if (!SWIG_IsOK(res1
)) {
36061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_AssociateHandle" "', expected argument " "1"" of type '" "wxWindow *""'");
36063 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36064 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
36065 if (!SWIG_IsOK(ecode2
)) {
36066 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_AssociateHandle" "', expected argument " "2"" of type '" "long""'");
36068 arg2
= static_cast< long >(val2
);
36070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36071 wxWindow_AssociateHandle(arg1
,arg2
);
36072 wxPyEndAllowThreads(__tstate
);
36073 if (PyErr_Occurred()) SWIG_fail
;
36075 resultobj
= SWIG_Py_Void();
36082 SWIGINTERN PyObject
*_wrap_Window_DissociateHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36083 PyObject
*resultobj
= 0;
36084 wxWindow
*arg1
= (wxWindow
*) 0 ;
36087 PyObject
*swig_obj
[1] ;
36089 if (!args
) SWIG_fail
;
36090 swig_obj
[0] = args
;
36091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36092 if (!SWIG_IsOK(res1
)) {
36093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_DissociateHandle" "', expected argument " "1"" of type '" "wxWindow *""'");
36095 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36098 (arg1
)->DissociateHandle();
36099 wxPyEndAllowThreads(__tstate
);
36100 if (PyErr_Occurred()) SWIG_fail
;
36102 resultobj
= SWIG_Py_Void();
36109 SWIGINTERN PyObject
*_wrap_Window_OnPaint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36110 PyObject
*resultobj
= 0;
36111 wxWindow
*arg1
= (wxWindow
*) 0 ;
36112 wxPaintEvent
*arg2
= 0 ;
36117 PyObject
* obj0
= 0 ;
36118 PyObject
* obj1
= 0 ;
36119 char * kwnames
[] = {
36120 (char *) "self",(char *) "event", NULL
36123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_OnPaint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36125 if (!SWIG_IsOK(res1
)) {
36126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_OnPaint" "', expected argument " "1"" of type '" "wxWindow *""'");
36128 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36129 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPaintEvent
, 0 );
36130 if (!SWIG_IsOK(res2
)) {
36131 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_OnPaint" "', expected argument " "2"" of type '" "wxPaintEvent &""'");
36134 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_OnPaint" "', expected argument " "2"" of type '" "wxPaintEvent &""'");
36136 arg2
= reinterpret_cast< wxPaintEvent
* >(argp2
);
36138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36139 (arg1
)->OnPaint(*arg2
);
36140 wxPyEndAllowThreads(__tstate
);
36141 if (PyErr_Occurred()) SWIG_fail
;
36143 resultobj
= SWIG_Py_Void();
36150 SWIGINTERN PyObject
*_wrap_Window_HasScrollbar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36151 PyObject
*resultobj
= 0;
36152 wxWindow
*arg1
= (wxWindow
*) 0 ;
36159 PyObject
* obj0
= 0 ;
36160 PyObject
* obj1
= 0 ;
36161 char * kwnames
[] = {
36162 (char *) "self",(char *) "orient", NULL
36165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",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_HasScrollbar" "', expected argument " "1"" of type '" "wxWindow const *""'");
36170 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36171 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36172 if (!SWIG_IsOK(ecode2
)) {
36173 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_HasScrollbar" "', expected argument " "2"" of type '" "int""'");
36175 arg2
= static_cast< int >(val2
);
36177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36178 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
36179 wxPyEndAllowThreads(__tstate
);
36180 if (PyErr_Occurred()) SWIG_fail
;
36183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36191 SWIGINTERN PyObject
*_wrap_Window_SetScrollbar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36192 PyObject
*resultobj
= 0;
36193 wxWindow
*arg1
= (wxWindow
*) 0 ;
36198 bool arg6
= (bool) true ;
36211 PyObject
* obj0
= 0 ;
36212 PyObject
* obj1
= 0 ;
36213 PyObject
* obj2
= 0 ;
36214 PyObject
* obj3
= 0 ;
36215 PyObject
* obj4
= 0 ;
36216 PyObject
* obj5
= 0 ;
36217 char * kwnames
[] = {
36218 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
36221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36223 if (!SWIG_IsOK(res1
)) {
36224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetScrollbar" "', expected argument " "1"" of type '" "wxWindow *""'");
36226 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36227 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36228 if (!SWIG_IsOK(ecode2
)) {
36229 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetScrollbar" "', expected argument " "2"" of type '" "int""'");
36231 arg2
= static_cast< int >(val2
);
36232 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36233 if (!SWIG_IsOK(ecode3
)) {
36234 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetScrollbar" "', expected argument " "3"" of type '" "int""'");
36236 arg3
= static_cast< int >(val3
);
36237 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36238 if (!SWIG_IsOK(ecode4
)) {
36239 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_SetScrollbar" "', expected argument " "4"" of type '" "int""'");
36241 arg4
= static_cast< int >(val4
);
36242 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36243 if (!SWIG_IsOK(ecode5
)) {
36244 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Window_SetScrollbar" "', expected argument " "5"" of type '" "int""'");
36246 arg5
= static_cast< int >(val5
);
36248 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
36249 if (!SWIG_IsOK(ecode6
)) {
36250 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Window_SetScrollbar" "', expected argument " "6"" of type '" "bool""'");
36252 arg6
= static_cast< bool >(val6
);
36255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36256 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
36257 wxPyEndAllowThreads(__tstate
);
36258 if (PyErr_Occurred()) SWIG_fail
;
36260 resultobj
= SWIG_Py_Void();
36267 SWIGINTERN PyObject
*_wrap_Window_SetScrollPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36268 PyObject
*resultobj
= 0;
36269 wxWindow
*arg1
= (wxWindow
*) 0 ;
36272 bool arg4
= (bool) true ;
36281 PyObject
* obj0
= 0 ;
36282 PyObject
* obj1
= 0 ;
36283 PyObject
* obj2
= 0 ;
36284 PyObject
* obj3
= 0 ;
36285 char * kwnames
[] = {
36286 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
36289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36291 if (!SWIG_IsOK(res1
)) {
36292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetScrollPos" "', expected argument " "1"" of type '" "wxWindow *""'");
36294 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36295 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36296 if (!SWIG_IsOK(ecode2
)) {
36297 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetScrollPos" "', expected argument " "2"" of type '" "int""'");
36299 arg2
= static_cast< int >(val2
);
36300 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36301 if (!SWIG_IsOK(ecode3
)) {
36302 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetScrollPos" "', expected argument " "3"" of type '" "int""'");
36304 arg3
= static_cast< int >(val3
);
36306 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
36307 if (!SWIG_IsOK(ecode4
)) {
36308 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_SetScrollPos" "', expected argument " "4"" of type '" "bool""'");
36310 arg4
= static_cast< bool >(val4
);
36313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36314 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
36315 wxPyEndAllowThreads(__tstate
);
36316 if (PyErr_Occurred()) SWIG_fail
;
36318 resultobj
= SWIG_Py_Void();
36325 SWIGINTERN PyObject
*_wrap_Window_GetScrollPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36326 PyObject
*resultobj
= 0;
36327 wxWindow
*arg1
= (wxWindow
*) 0 ;
36334 PyObject
* obj0
= 0 ;
36335 PyObject
* obj1
= 0 ;
36336 char * kwnames
[] = {
36337 (char *) "self",(char *) "orientation", NULL
36340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36342 if (!SWIG_IsOK(res1
)) {
36343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetScrollPos" "', expected argument " "1"" of type '" "wxWindow const *""'");
36345 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36346 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36347 if (!SWIG_IsOK(ecode2
)) {
36348 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_GetScrollPos" "', expected argument " "2"" of type '" "int""'");
36350 arg2
= static_cast< int >(val2
);
36352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36353 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
36354 wxPyEndAllowThreads(__tstate
);
36355 if (PyErr_Occurred()) SWIG_fail
;
36357 resultobj
= SWIG_From_int(static_cast< int >(result
));
36364 SWIGINTERN PyObject
*_wrap_Window_GetScrollThumb(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36365 PyObject
*resultobj
= 0;
36366 wxWindow
*arg1
= (wxWindow
*) 0 ;
36373 PyObject
* obj0
= 0 ;
36374 PyObject
* obj1
= 0 ;
36375 char * kwnames
[] = {
36376 (char *) "self",(char *) "orientation", NULL
36379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36381 if (!SWIG_IsOK(res1
)) {
36382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetScrollThumb" "', expected argument " "1"" of type '" "wxWindow const *""'");
36384 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36385 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36386 if (!SWIG_IsOK(ecode2
)) {
36387 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_GetScrollThumb" "', expected argument " "2"" of type '" "int""'");
36389 arg2
= static_cast< int >(val2
);
36391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36392 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
36393 wxPyEndAllowThreads(__tstate
);
36394 if (PyErr_Occurred()) SWIG_fail
;
36396 resultobj
= SWIG_From_int(static_cast< int >(result
));
36403 SWIGINTERN PyObject
*_wrap_Window_GetScrollRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36404 PyObject
*resultobj
= 0;
36405 wxWindow
*arg1
= (wxWindow
*) 0 ;
36412 PyObject
* obj0
= 0 ;
36413 PyObject
* obj1
= 0 ;
36414 char * kwnames
[] = {
36415 (char *) "self",(char *) "orientation", NULL
36418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",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_GetScrollRange" "', expected argument " "1"" of type '" "wxWindow const *""'");
36423 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36424 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36425 if (!SWIG_IsOK(ecode2
)) {
36426 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_GetScrollRange" "', expected argument " "2"" of type '" "int""'");
36428 arg2
= static_cast< int >(val2
);
36430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36431 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
36432 wxPyEndAllowThreads(__tstate
);
36433 if (PyErr_Occurred()) SWIG_fail
;
36435 resultobj
= SWIG_From_int(static_cast< int >(result
));
36442 SWIGINTERN PyObject
*_wrap_Window_ScrollWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36443 PyObject
*resultobj
= 0;
36444 wxWindow
*arg1
= (wxWindow
*) 0 ;
36447 wxRect
*arg4
= (wxRect
*) NULL
;
36456 PyObject
* obj0
= 0 ;
36457 PyObject
* obj1
= 0 ;
36458 PyObject
* obj2
= 0 ;
36459 PyObject
* obj3
= 0 ;
36460 char * kwnames
[] = {
36461 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
36464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36466 if (!SWIG_IsOK(res1
)) {
36467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ScrollWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
36469 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36470 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36471 if (!SWIG_IsOK(ecode2
)) {
36472 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_ScrollWindow" "', expected argument " "2"" of type '" "int""'");
36474 arg2
= static_cast< int >(val2
);
36475 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36476 if (!SWIG_IsOK(ecode3
)) {
36477 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_ScrollWindow" "', expected argument " "3"" of type '" "int""'");
36479 arg3
= static_cast< int >(val3
);
36481 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
36482 if (!SWIG_IsOK(res4
)) {
36483 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Window_ScrollWindow" "', expected argument " "4"" of type '" "wxRect const *""'");
36485 arg4
= reinterpret_cast< wxRect
* >(argp4
);
36488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36489 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
36490 wxPyEndAllowThreads(__tstate
);
36491 if (PyErr_Occurred()) SWIG_fail
;
36493 resultobj
= SWIG_Py_Void();
36500 SWIGINTERN PyObject
*_wrap_Window_ScrollLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36501 PyObject
*resultobj
= 0;
36502 wxWindow
*arg1
= (wxWindow
*) 0 ;
36509 PyObject
* obj0
= 0 ;
36510 PyObject
* obj1
= 0 ;
36511 char * kwnames
[] = {
36512 (char *) "self",(char *) "lines", NULL
36515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36517 if (!SWIG_IsOK(res1
)) {
36518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ScrollLines" "', expected argument " "1"" of type '" "wxWindow *""'");
36520 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36521 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36522 if (!SWIG_IsOK(ecode2
)) {
36523 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_ScrollLines" "', expected argument " "2"" of type '" "int""'");
36525 arg2
= static_cast< int >(val2
);
36527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36528 result
= (bool)(arg1
)->ScrollLines(arg2
);
36529 wxPyEndAllowThreads(__tstate
);
36530 if (PyErr_Occurred()) SWIG_fail
;
36533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36541 SWIGINTERN PyObject
*_wrap_Window_ScrollPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36542 PyObject
*resultobj
= 0;
36543 wxWindow
*arg1
= (wxWindow
*) 0 ;
36550 PyObject
* obj0
= 0 ;
36551 PyObject
* obj1
= 0 ;
36552 char * kwnames
[] = {
36553 (char *) "self",(char *) "pages", NULL
36556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36558 if (!SWIG_IsOK(res1
)) {
36559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ScrollPages" "', expected argument " "1"" of type '" "wxWindow *""'");
36561 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36562 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36563 if (!SWIG_IsOK(ecode2
)) {
36564 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_ScrollPages" "', expected argument " "2"" of type '" "int""'");
36566 arg2
= static_cast< int >(val2
);
36568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36569 result
= (bool)(arg1
)->ScrollPages(arg2
);
36570 wxPyEndAllowThreads(__tstate
);
36571 if (PyErr_Occurred()) SWIG_fail
;
36574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36582 SWIGINTERN PyObject
*_wrap_Window_LineUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36583 PyObject
*resultobj
= 0;
36584 wxWindow
*arg1
= (wxWindow
*) 0 ;
36588 PyObject
*swig_obj
[1] ;
36590 if (!args
) SWIG_fail
;
36591 swig_obj
[0] = args
;
36592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36593 if (!SWIG_IsOK(res1
)) {
36594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_LineUp" "', expected argument " "1"" of type '" "wxWindow *""'");
36596 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36599 result
= (bool)(arg1
)->LineUp();
36600 wxPyEndAllowThreads(__tstate
);
36601 if (PyErr_Occurred()) SWIG_fail
;
36604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36612 SWIGINTERN PyObject
*_wrap_Window_LineDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36613 PyObject
*resultobj
= 0;
36614 wxWindow
*arg1
= (wxWindow
*) 0 ;
36618 PyObject
*swig_obj
[1] ;
36620 if (!args
) SWIG_fail
;
36621 swig_obj
[0] = args
;
36622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36623 if (!SWIG_IsOK(res1
)) {
36624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_LineDown" "', expected argument " "1"" of type '" "wxWindow *""'");
36626 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36629 result
= (bool)(arg1
)->LineDown();
36630 wxPyEndAllowThreads(__tstate
);
36631 if (PyErr_Occurred()) SWIG_fail
;
36634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36642 SWIGINTERN PyObject
*_wrap_Window_PageUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36643 PyObject
*resultobj
= 0;
36644 wxWindow
*arg1
= (wxWindow
*) 0 ;
36648 PyObject
*swig_obj
[1] ;
36650 if (!args
) SWIG_fail
;
36651 swig_obj
[0] = args
;
36652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36653 if (!SWIG_IsOK(res1
)) {
36654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PageUp" "', expected argument " "1"" of type '" "wxWindow *""'");
36656 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36659 result
= (bool)(arg1
)->PageUp();
36660 wxPyEndAllowThreads(__tstate
);
36661 if (PyErr_Occurred()) SWIG_fail
;
36664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36672 SWIGINTERN PyObject
*_wrap_Window_PageDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36673 PyObject
*resultobj
= 0;
36674 wxWindow
*arg1
= (wxWindow
*) 0 ;
36678 PyObject
*swig_obj
[1] ;
36680 if (!args
) SWIG_fail
;
36681 swig_obj
[0] = args
;
36682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36683 if (!SWIG_IsOK(res1
)) {
36684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PageDown" "', expected argument " "1"" of type '" "wxWindow *""'");
36686 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36689 result
= (bool)(arg1
)->PageDown();
36690 wxPyEndAllowThreads(__tstate
);
36691 if (PyErr_Occurred()) SWIG_fail
;
36694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36702 SWIGINTERN PyObject
*_wrap_Window_SetHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36703 PyObject
*resultobj
= 0;
36704 wxWindow
*arg1
= (wxWindow
*) 0 ;
36705 wxString
*arg2
= 0 ;
36708 bool temp2
= false ;
36709 PyObject
* obj0
= 0 ;
36710 PyObject
* obj1
= 0 ;
36711 char * kwnames
[] = {
36712 (char *) "self",(char *) "text", NULL
36715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36717 if (!SWIG_IsOK(res1
)) {
36718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetHelpText" "', expected argument " "1"" of type '" "wxWindow *""'");
36720 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36722 arg2
= wxString_in_helper(obj1
);
36723 if (arg2
== NULL
) SWIG_fail
;
36727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36728 (arg1
)->SetHelpText((wxString
const &)*arg2
);
36729 wxPyEndAllowThreads(__tstate
);
36730 if (PyErr_Occurred()) SWIG_fail
;
36732 resultobj
= SWIG_Py_Void();
36747 SWIGINTERN PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36748 PyObject
*resultobj
= 0;
36749 wxWindow
*arg1
= (wxWindow
*) 0 ;
36750 wxString
*arg2
= 0 ;
36753 bool temp2
= false ;
36754 PyObject
* obj0
= 0 ;
36755 PyObject
* obj1
= 0 ;
36756 char * kwnames
[] = {
36757 (char *) "self",(char *) "text", NULL
36760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36762 if (!SWIG_IsOK(res1
)) {
36763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetHelpTextForId" "', expected argument " "1"" of type '" "wxWindow *""'");
36765 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36767 arg2
= wxString_in_helper(obj1
);
36768 if (arg2
== NULL
) SWIG_fail
;
36772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36773 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
36774 wxPyEndAllowThreads(__tstate
);
36775 if (PyErr_Occurred()) SWIG_fail
;
36777 resultobj
= SWIG_Py_Void();
36792 SWIGINTERN PyObject
*_wrap_Window_GetHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36793 PyObject
*resultobj
= 0;
36794 wxWindow
*arg1
= (wxWindow
*) 0 ;
36798 PyObject
*swig_obj
[1] ;
36800 if (!args
) SWIG_fail
;
36801 swig_obj
[0] = args
;
36802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36803 if (!SWIG_IsOK(res1
)) {
36804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetHelpText" "', expected argument " "1"" of type '" "wxWindow const *""'");
36806 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36809 result
= ((wxWindow
const *)arg1
)->GetHelpText();
36810 wxPyEndAllowThreads(__tstate
);
36811 if (PyErr_Occurred()) SWIG_fail
;
36815 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36817 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36826 SWIGINTERN PyObject
*_wrap_Window_SetToolTipString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36827 PyObject
*resultobj
= 0;
36828 wxWindow
*arg1
= (wxWindow
*) 0 ;
36829 wxString
*arg2
= 0 ;
36832 bool temp2
= false ;
36833 PyObject
* obj0
= 0 ;
36834 PyObject
* obj1
= 0 ;
36835 char * kwnames
[] = {
36836 (char *) "self",(char *) "tip", NULL
36839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36841 if (!SWIG_IsOK(res1
)) {
36842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetToolTipString" "', expected argument " "1"" of type '" "wxWindow *""'");
36844 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36846 arg2
= wxString_in_helper(obj1
);
36847 if (arg2
== NULL
) SWIG_fail
;
36851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36852 (arg1
)->SetToolTip((wxString
const &)*arg2
);
36853 wxPyEndAllowThreads(__tstate
);
36854 if (PyErr_Occurred()) SWIG_fail
;
36856 resultobj
= SWIG_Py_Void();
36871 SWIGINTERN PyObject
*_wrap_Window_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36872 PyObject
*resultobj
= 0;
36873 wxWindow
*arg1
= (wxWindow
*) 0 ;
36874 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
36878 PyObject
* obj0
= 0 ;
36879 PyObject
* obj1
= 0 ;
36880 char * kwnames
[] = {
36881 (char *) "self",(char *) "tip", NULL
36884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36886 if (!SWIG_IsOK(res1
)) {
36887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetToolTip" "', expected argument " "1"" of type '" "wxWindow *""'");
36889 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36890 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxToolTip
, SWIG_POINTER_DISOWN
| 0 );
36891 if (!SWIG_IsOK(res2
)) {
36892 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetToolTip" "', expected argument " "2"" of type '" "wxToolTip *""'");
36895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36896 (arg1
)->SetToolTip(arg2
);
36897 wxPyEndAllowThreads(__tstate
);
36898 if (PyErr_Occurred()) SWIG_fail
;
36900 resultobj
= SWIG_Py_Void();
36907 SWIGINTERN PyObject
*_wrap_Window_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36908 PyObject
*resultobj
= 0;
36909 wxWindow
*arg1
= (wxWindow
*) 0 ;
36910 wxToolTip
*result
= 0 ;
36913 PyObject
*swig_obj
[1] ;
36915 if (!args
) SWIG_fail
;
36916 swig_obj
[0] = args
;
36917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36918 if (!SWIG_IsOK(res1
)) {
36919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetToolTip" "', expected argument " "1"" of type '" "wxWindow const *""'");
36921 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36924 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
36925 wxPyEndAllowThreads(__tstate
);
36926 if (PyErr_Occurred()) SWIG_fail
;
36929 resultobj
= wxPyMake_wxObject(result
, (bool)0);
36937 SWIGINTERN PyObject
*_wrap_Window_SetDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36938 PyObject
*resultobj
= 0;
36939 wxWindow
*arg1
= (wxWindow
*) 0 ;
36940 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
36944 PyObject
* obj0
= 0 ;
36945 PyObject
* obj1
= 0 ;
36946 char * kwnames
[] = {
36947 (char *) "self",(char *) "dropTarget", NULL
36950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36952 if (!SWIG_IsOK(res1
)) {
36953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetDropTarget" "', expected argument " "1"" of type '" "wxWindow *""'");
36955 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36956 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_DISOWN
| 0 );
36957 if (!SWIG_IsOK(res2
)) {
36958 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetDropTarget" "', expected argument " "2"" of type '" "wxPyDropTarget *""'");
36961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36962 (arg1
)->SetDropTarget(arg2
);
36963 wxPyEndAllowThreads(__tstate
);
36964 if (PyErr_Occurred()) SWIG_fail
;
36966 resultobj
= SWIG_Py_Void();
36973 SWIGINTERN PyObject
*_wrap_Window_GetDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36974 PyObject
*resultobj
= 0;
36975 wxWindow
*arg1
= (wxWindow
*) 0 ;
36976 wxPyDropTarget
*result
= 0 ;
36979 PyObject
*swig_obj
[1] ;
36981 if (!args
) SWIG_fail
;
36982 swig_obj
[0] = args
;
36983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36984 if (!SWIG_IsOK(res1
)) {
36985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetDropTarget" "', expected argument " "1"" of type '" "wxWindow const *""'");
36987 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36990 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
36991 wxPyEndAllowThreads(__tstate
);
36992 if (PyErr_Occurred()) SWIG_fail
;
36994 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
37001 SWIGINTERN PyObject
*_wrap_Window_DragAcceptFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37002 PyObject
*resultobj
= 0;
37003 wxWindow
*arg1
= (wxWindow
*) 0 ;
37009 PyObject
* obj0
= 0 ;
37010 PyObject
* obj1
= 0 ;
37011 char * kwnames
[] = {
37012 (char *) "self",(char *) "accept", NULL
37015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DragAcceptFiles",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37017 if (!SWIG_IsOK(res1
)) {
37018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_DragAcceptFiles" "', expected argument " "1"" of type '" "wxWindow *""'");
37020 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37021 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37022 if (!SWIG_IsOK(ecode2
)) {
37023 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_DragAcceptFiles" "', expected argument " "2"" of type '" "bool""'");
37025 arg2
= static_cast< bool >(val2
);
37027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37028 (arg1
)->DragAcceptFiles(arg2
);
37029 wxPyEndAllowThreads(__tstate
);
37030 if (PyErr_Occurred()) SWIG_fail
;
37032 resultobj
= SWIG_Py_Void();
37039 SWIGINTERN PyObject
*_wrap_Window_SetConstraints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37040 PyObject
*resultobj
= 0;
37041 wxWindow
*arg1
= (wxWindow
*) 0 ;
37042 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
37046 PyObject
* obj0
= 0 ;
37047 PyObject
* obj1
= 0 ;
37048 char * kwnames
[] = {
37049 (char *) "self",(char *) "constraints", NULL
37052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37054 if (!SWIG_IsOK(res1
)) {
37055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetConstraints" "', expected argument " "1"" of type '" "wxWindow *""'");
37057 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37058 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_DISOWN
| 0 );
37059 if (!SWIG_IsOK(res2
)) {
37060 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetConstraints" "', expected argument " "2"" of type '" "wxLayoutConstraints *""'");
37063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37064 (arg1
)->SetConstraints(arg2
);
37065 wxPyEndAllowThreads(__tstate
);
37066 if (PyErr_Occurred()) SWIG_fail
;
37068 resultobj
= SWIG_Py_Void();
37075 SWIGINTERN PyObject
*_wrap_Window_GetConstraints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37076 PyObject
*resultobj
= 0;
37077 wxWindow
*arg1
= (wxWindow
*) 0 ;
37078 wxLayoutConstraints
*result
= 0 ;
37081 PyObject
*swig_obj
[1] ;
37083 if (!args
) SWIG_fail
;
37084 swig_obj
[0] = args
;
37085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37086 if (!SWIG_IsOK(res1
)) {
37087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetConstraints" "', expected argument " "1"" of type '" "wxWindow const *""'");
37089 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37092 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
37093 wxPyEndAllowThreads(__tstate
);
37094 if (PyErr_Occurred()) SWIG_fail
;
37096 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
37103 SWIGINTERN PyObject
*_wrap_Window_SetAutoLayout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37104 PyObject
*resultobj
= 0;
37105 wxWindow
*arg1
= (wxWindow
*) 0 ;
37111 PyObject
* obj0
= 0 ;
37112 PyObject
* obj1
= 0 ;
37113 char * kwnames
[] = {
37114 (char *) "self",(char *) "autoLayout", NULL
37117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37119 if (!SWIG_IsOK(res1
)) {
37120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetAutoLayout" "', expected argument " "1"" of type '" "wxWindow *""'");
37122 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37123 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37124 if (!SWIG_IsOK(ecode2
)) {
37125 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetAutoLayout" "', expected argument " "2"" of type '" "bool""'");
37127 arg2
= static_cast< bool >(val2
);
37129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37130 (arg1
)->SetAutoLayout(arg2
);
37131 wxPyEndAllowThreads(__tstate
);
37132 if (PyErr_Occurred()) SWIG_fail
;
37134 resultobj
= SWIG_Py_Void();
37141 SWIGINTERN PyObject
*_wrap_Window_GetAutoLayout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37142 PyObject
*resultobj
= 0;
37143 wxWindow
*arg1
= (wxWindow
*) 0 ;
37147 PyObject
*swig_obj
[1] ;
37149 if (!args
) SWIG_fail
;
37150 swig_obj
[0] = args
;
37151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37152 if (!SWIG_IsOK(res1
)) {
37153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetAutoLayout" "', expected argument " "1"" of type '" "wxWindow const *""'");
37155 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37158 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
37159 wxPyEndAllowThreads(__tstate
);
37160 if (PyErr_Occurred()) SWIG_fail
;
37163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37171 SWIGINTERN PyObject
*_wrap_Window_Layout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37172 PyObject
*resultobj
= 0;
37173 wxWindow
*arg1
= (wxWindow
*) 0 ;
37177 PyObject
*swig_obj
[1] ;
37179 if (!args
) SWIG_fail
;
37180 swig_obj
[0] = args
;
37181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37182 if (!SWIG_IsOK(res1
)) {
37183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Layout" "', expected argument " "1"" of type '" "wxWindow *""'");
37185 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37188 result
= (bool)(arg1
)->Layout();
37189 wxPyEndAllowThreads(__tstate
);
37190 if (PyErr_Occurred()) SWIG_fail
;
37193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37201 SWIGINTERN PyObject
*_wrap_Window_SetSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37202 PyObject
*resultobj
= 0;
37203 wxWindow
*arg1
= (wxWindow
*) 0 ;
37204 wxSizer
*arg2
= (wxSizer
*) 0 ;
37205 bool arg3
= (bool) true ;
37211 PyObject
* obj0
= 0 ;
37212 PyObject
* obj1
= 0 ;
37213 PyObject
* obj2
= 0 ;
37214 char * kwnames
[] = {
37215 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
37218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37220 if (!SWIG_IsOK(res1
)) {
37221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetSizer" "', expected argument " "1"" of type '" "wxWindow *""'");
37223 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37224 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxSizer
, SWIG_POINTER_DISOWN
| 0 );
37225 if (!SWIG_IsOK(res2
)) {
37226 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetSizer" "', expected argument " "2"" of type '" "wxSizer *""'");
37229 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37230 if (!SWIG_IsOK(ecode3
)) {
37231 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetSizer" "', expected argument " "3"" of type '" "bool""'");
37233 arg3
= static_cast< bool >(val3
);
37236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37237 (arg1
)->SetSizer(arg2
,arg3
);
37238 wxPyEndAllowThreads(__tstate
);
37239 if (PyErr_Occurred()) SWIG_fail
;
37241 resultobj
= SWIG_Py_Void();
37248 SWIGINTERN PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37249 PyObject
*resultobj
= 0;
37250 wxWindow
*arg1
= (wxWindow
*) 0 ;
37251 wxSizer
*arg2
= (wxSizer
*) 0 ;
37252 bool arg3
= (bool) true ;
37258 PyObject
* obj0
= 0 ;
37259 PyObject
* obj1
= 0 ;
37260 PyObject
* obj2
= 0 ;
37261 char * kwnames
[] = {
37262 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
37265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37267 if (!SWIG_IsOK(res1
)) {
37268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetSizerAndFit" "', expected argument " "1"" of type '" "wxWindow *""'");
37270 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37271 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxSizer
, SWIG_POINTER_DISOWN
| 0 );
37272 if (!SWIG_IsOK(res2
)) {
37273 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetSizerAndFit" "', expected argument " "2"" of type '" "wxSizer *""'");
37276 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37277 if (!SWIG_IsOK(ecode3
)) {
37278 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetSizerAndFit" "', expected argument " "3"" of type '" "bool""'");
37280 arg3
= static_cast< bool >(val3
);
37283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37284 (arg1
)->SetSizerAndFit(arg2
,arg3
);
37285 wxPyEndAllowThreads(__tstate
);
37286 if (PyErr_Occurred()) SWIG_fail
;
37288 resultobj
= SWIG_Py_Void();
37295 SWIGINTERN PyObject
*_wrap_Window_GetSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37296 PyObject
*resultobj
= 0;
37297 wxWindow
*arg1
= (wxWindow
*) 0 ;
37298 wxSizer
*result
= 0 ;
37301 PyObject
*swig_obj
[1] ;
37303 if (!args
) SWIG_fail
;
37304 swig_obj
[0] = args
;
37305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37306 if (!SWIG_IsOK(res1
)) {
37307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetSizer" "', expected argument " "1"" of type '" "wxWindow const *""'");
37309 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37312 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
37313 wxPyEndAllowThreads(__tstate
);
37314 if (PyErr_Occurred()) SWIG_fail
;
37317 resultobj
= wxPyMake_wxObject(result
, (bool)0);
37325 SWIGINTERN PyObject
*_wrap_Window_SetContainingSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37326 PyObject
*resultobj
= 0;
37327 wxWindow
*arg1
= (wxWindow
*) 0 ;
37328 wxSizer
*arg2
= (wxSizer
*) 0 ;
37333 PyObject
* obj0
= 0 ;
37334 PyObject
* obj1
= 0 ;
37335 char * kwnames
[] = {
37336 (char *) "self",(char *) "sizer", NULL
37339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37341 if (!SWIG_IsOK(res1
)) {
37342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetContainingSizer" "', expected argument " "1"" of type '" "wxWindow *""'");
37344 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37345 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
37346 if (!SWIG_IsOK(res2
)) {
37347 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetContainingSizer" "', expected argument " "2"" of type '" "wxSizer *""'");
37349 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
37351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37352 (arg1
)->SetContainingSizer(arg2
);
37353 wxPyEndAllowThreads(__tstate
);
37354 if (PyErr_Occurred()) SWIG_fail
;
37356 resultobj
= SWIG_Py_Void();
37363 SWIGINTERN PyObject
*_wrap_Window_GetContainingSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37364 PyObject
*resultobj
= 0;
37365 wxWindow
*arg1
= (wxWindow
*) 0 ;
37366 wxSizer
*result
= 0 ;
37369 PyObject
*swig_obj
[1] ;
37371 if (!args
) SWIG_fail
;
37372 swig_obj
[0] = args
;
37373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37374 if (!SWIG_IsOK(res1
)) {
37375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetContainingSizer" "', expected argument " "1"" of type '" "wxWindow const *""'");
37377 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37380 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
37381 wxPyEndAllowThreads(__tstate
);
37382 if (PyErr_Occurred()) SWIG_fail
;
37385 resultobj
= wxPyMake_wxObject(result
, (bool)0);
37393 SWIGINTERN PyObject
*_wrap_Window_InheritAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37394 PyObject
*resultobj
= 0;
37395 wxWindow
*arg1
= (wxWindow
*) 0 ;
37398 PyObject
*swig_obj
[1] ;
37400 if (!args
) SWIG_fail
;
37401 swig_obj
[0] = args
;
37402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37403 if (!SWIG_IsOK(res1
)) {
37404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_InheritAttributes" "', expected argument " "1"" of type '" "wxWindow *""'");
37406 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37409 (arg1
)->InheritAttributes();
37410 wxPyEndAllowThreads(__tstate
);
37411 if (PyErr_Occurred()) SWIG_fail
;
37413 resultobj
= SWIG_Py_Void();
37420 SWIGINTERN PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37421 PyObject
*resultobj
= 0;
37422 wxWindow
*arg1
= (wxWindow
*) 0 ;
37426 PyObject
*swig_obj
[1] ;
37428 if (!args
) SWIG_fail
;
37429 swig_obj
[0] = args
;
37430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37431 if (!SWIG_IsOK(res1
)) {
37432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ShouldInheritColours" "', expected argument " "1"" of type '" "wxWindow const *""'");
37434 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37437 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
37438 wxPyEndAllowThreads(__tstate
);
37439 if (PyErr_Occurred()) SWIG_fail
;
37442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37450 SWIGINTERN PyObject
*Window_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37452 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37453 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindow
, SWIG_NewClientData(obj
));
37454 return SWIG_Py_Void();
37457 SWIGINTERN PyObject
*Window_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37458 return SWIG_Python_InitShadowInstance(args
);
37461 SWIGINTERN PyObject
*_wrap_FindWindowById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37462 PyObject
*resultobj
= 0;
37464 wxWindow
*arg2
= (wxWindow
*) NULL
;
37465 wxWindow
*result
= 0 ;
37470 PyObject
* obj0
= 0 ;
37471 PyObject
* obj1
= 0 ;
37472 char * kwnames
[] = {
37473 (char *) "id",(char *) "parent", NULL
37476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37477 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
37478 if (!SWIG_IsOK(ecode1
)) {
37479 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FindWindowById" "', expected argument " "1"" of type '" "long""'");
37481 arg1
= static_cast< long >(val1
);
37483 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37484 if (!SWIG_IsOK(res2
)) {
37485 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindWindowById" "', expected argument " "2"" of type '" "wxWindow const *""'");
37487 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37490 if (!wxPyCheckForApp()) SWIG_fail
;
37491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37492 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
37493 wxPyEndAllowThreads(__tstate
);
37494 if (PyErr_Occurred()) SWIG_fail
;
37497 resultobj
= wxPyMake_wxObject(result
, 0);
37505 SWIGINTERN PyObject
*_wrap_FindWindowByName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37506 PyObject
*resultobj
= 0;
37507 wxString
*arg1
= 0 ;
37508 wxWindow
*arg2
= (wxWindow
*) NULL
;
37509 wxWindow
*result
= 0 ;
37510 bool temp1
= false ;
37513 PyObject
* obj0
= 0 ;
37514 PyObject
* obj1
= 0 ;
37515 char * kwnames
[] = {
37516 (char *) "name",(char *) "parent", NULL
37519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37521 arg1
= wxString_in_helper(obj0
);
37522 if (arg1
== NULL
) SWIG_fail
;
37526 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37527 if (!SWIG_IsOK(res2
)) {
37528 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindWindowByName" "', expected argument " "2"" of type '" "wxWindow const *""'");
37530 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37533 if (!wxPyCheckForApp()) SWIG_fail
;
37534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37535 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
37536 wxPyEndAllowThreads(__tstate
);
37537 if (PyErr_Occurred()) SWIG_fail
;
37540 resultobj
= wxPyMake_wxObject(result
, 0);
37556 SWIGINTERN PyObject
*_wrap_FindWindowByLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37557 PyObject
*resultobj
= 0;
37558 wxString
*arg1
= 0 ;
37559 wxWindow
*arg2
= (wxWindow
*) NULL
;
37560 wxWindow
*result
= 0 ;
37561 bool temp1
= false ;
37564 PyObject
* obj0
= 0 ;
37565 PyObject
* obj1
= 0 ;
37566 char * kwnames
[] = {
37567 (char *) "label",(char *) "parent", NULL
37570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37572 arg1
= wxString_in_helper(obj0
);
37573 if (arg1
== NULL
) SWIG_fail
;
37577 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37578 if (!SWIG_IsOK(res2
)) {
37579 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindWindowByLabel" "', expected argument " "2"" of type '" "wxWindow const *""'");
37581 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37584 if (!wxPyCheckForApp()) SWIG_fail
;
37585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37586 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
37587 wxPyEndAllowThreads(__tstate
);
37588 if (PyErr_Occurred()) SWIG_fail
;
37591 resultobj
= wxPyMake_wxObject(result
, 0);
37607 SWIGINTERN PyObject
*_wrap_Window_FromHWND(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37608 PyObject
*resultobj
= 0;
37609 wxWindow
*arg1
= (wxWindow
*) 0 ;
37610 unsigned long arg2
;
37611 wxWindow
*result
= 0 ;
37614 unsigned long val2
;
37616 PyObject
* obj0
= 0 ;
37617 PyObject
* obj1
= 0 ;
37618 char * kwnames
[] = {
37619 (char *) "parent",(char *) "_hWnd", NULL
37622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37624 if (!SWIG_IsOK(res1
)) {
37625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_FromHWND" "', expected argument " "1"" of type '" "wxWindow *""'");
37627 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37628 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
37629 if (!SWIG_IsOK(ecode2
)) {
37630 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_FromHWND" "', expected argument " "2"" of type '" "unsigned long""'");
37632 arg2
= static_cast< unsigned long >(val2
);
37634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37635 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
37636 wxPyEndAllowThreads(__tstate
);
37637 if (PyErr_Occurred()) SWIG_fail
;
37640 resultobj
= wxPyMake_wxObject(result
, 0);
37648 SWIGINTERN PyObject
*_wrap_GetTopLevelWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37649 PyObject
*resultobj
= 0;
37650 PyObject
*result
= 0 ;
37652 if (!SWIG_Python_UnpackTuple(args
,"GetTopLevelWindows",0,0,0)) SWIG_fail
;
37654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37655 result
= (PyObject
*)GetTopLevelWindows();
37656 wxPyEndAllowThreads(__tstate
);
37657 if (PyErr_Occurred()) SWIG_fail
;
37659 resultobj
= result
;
37666 SWIGINTERN PyObject
*_wrap_new_Validator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37667 PyObject
*resultobj
= 0;
37668 wxValidator
*result
= 0 ;
37670 if (!SWIG_Python_UnpackTuple(args
,"new_Validator",0,0,0)) SWIG_fail
;
37672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37673 result
= (wxValidator
*)new wxValidator();
37674 wxPyEndAllowThreads(__tstate
);
37675 if (PyErr_Occurred()) SWIG_fail
;
37677 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxValidator
, SWIG_POINTER_NEW
| 0 );
37684 SWIGINTERN PyObject
*_wrap_Validator_Clone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37685 PyObject
*resultobj
= 0;
37686 wxValidator
*arg1
= (wxValidator
*) 0 ;
37687 wxValidator
*result
= 0 ;
37690 PyObject
*swig_obj
[1] ;
37692 if (!args
) SWIG_fail
;
37693 swig_obj
[0] = args
;
37694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxValidator
, 0 | 0 );
37695 if (!SWIG_IsOK(res1
)) {
37696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Validator_Clone" "', expected argument " "1"" of type '" "wxValidator *""'");
37698 arg1
= reinterpret_cast< wxValidator
* >(argp1
);
37700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37701 result
= (wxValidator
*)(arg1
)->Clone();
37702 wxPyEndAllowThreads(__tstate
);
37703 if (PyErr_Occurred()) SWIG_fail
;
37706 resultobj
= wxPyMake_wxObject(result
, 0);
37714 SWIGINTERN PyObject
*_wrap_Validator_Validate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37715 PyObject
*resultobj
= 0;
37716 wxValidator
*arg1
= (wxValidator
*) 0 ;
37717 wxWindow
*arg2
= (wxWindow
*) 0 ;
37723 PyObject
* obj0
= 0 ;
37724 PyObject
* obj1
= 0 ;
37725 char * kwnames
[] = {
37726 (char *) "self",(char *) "parent", NULL
37729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxValidator
, 0 | 0 );
37731 if (!SWIG_IsOK(res1
)) {
37732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Validator_Validate" "', expected argument " "1"" of type '" "wxValidator *""'");
37734 arg1
= reinterpret_cast< wxValidator
* >(argp1
);
37735 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37736 if (!SWIG_IsOK(res2
)) {
37737 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Validator_Validate" "', expected argument " "2"" of type '" "wxWindow *""'");
37739 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37742 result
= (bool)(arg1
)->Validate(arg2
);
37743 wxPyEndAllowThreads(__tstate
);
37744 if (PyErr_Occurred()) SWIG_fail
;
37747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37755 SWIGINTERN PyObject
*_wrap_Validator_TransferToWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37756 PyObject
*resultobj
= 0;
37757 wxValidator
*arg1
= (wxValidator
*) 0 ;
37761 PyObject
*swig_obj
[1] ;
37763 if (!args
) SWIG_fail
;
37764 swig_obj
[0] = args
;
37765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxValidator
, 0 | 0 );
37766 if (!SWIG_IsOK(res1
)) {
37767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Validator_TransferToWindow" "', expected argument " "1"" of type '" "wxValidator *""'");
37769 arg1
= reinterpret_cast< wxValidator
* >(argp1
);
37771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37772 result
= (bool)(arg1
)->TransferToWindow();
37773 wxPyEndAllowThreads(__tstate
);
37774 if (PyErr_Occurred()) SWIG_fail
;
37777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37785 SWIGINTERN PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37786 PyObject
*resultobj
= 0;
37787 wxValidator
*arg1
= (wxValidator
*) 0 ;
37791 PyObject
*swig_obj
[1] ;
37793 if (!args
) SWIG_fail
;
37794 swig_obj
[0] = args
;
37795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxValidator
, 0 | 0 );
37796 if (!SWIG_IsOK(res1
)) {
37797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Validator_TransferFromWindow" "', expected argument " "1"" of type '" "wxValidator *""'");
37799 arg1
= reinterpret_cast< wxValidator
* >(argp1
);
37801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37802 result
= (bool)(arg1
)->TransferFromWindow();
37803 wxPyEndAllowThreads(__tstate
);
37804 if (PyErr_Occurred()) SWIG_fail
;
37807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37815 SWIGINTERN PyObject
*_wrap_Validator_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37816 PyObject
*resultobj
= 0;
37817 wxValidator
*arg1
= (wxValidator
*) 0 ;
37818 wxWindow
*result
= 0 ;
37821 PyObject
*swig_obj
[1] ;
37823 if (!args
) SWIG_fail
;
37824 swig_obj
[0] = args
;
37825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxValidator
, 0 | 0 );
37826 if (!SWIG_IsOK(res1
)) {
37827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Validator_GetWindow" "', expected argument " "1"" of type '" "wxValidator *""'");
37829 arg1
= reinterpret_cast< wxValidator
* >(argp1
);
37831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37832 result
= (wxWindow
*)(arg1
)->GetWindow();
37833 wxPyEndAllowThreads(__tstate
);
37834 if (PyErr_Occurred()) SWIG_fail
;
37837 resultobj
= wxPyMake_wxObject(result
, 0);
37845 SWIGINTERN PyObject
*_wrap_Validator_SetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37846 PyObject
*resultobj
= 0;
37847 wxValidator
*arg1
= (wxValidator
*) 0 ;
37848 wxWindow
*arg2
= (wxWindow
*) 0 ;
37853 PyObject
* obj0
= 0 ;
37854 PyObject
* obj1
= 0 ;
37855 char * kwnames
[] = {
37856 (char *) "self",(char *) "window", NULL
37859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxValidator
, 0 | 0 );
37861 if (!SWIG_IsOK(res1
)) {
37862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Validator_SetWindow" "', expected argument " "1"" of type '" "wxValidator *""'");
37864 arg1
= reinterpret_cast< wxValidator
* >(argp1
);
37865 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37866 if (!SWIG_IsOK(res2
)) {
37867 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Validator_SetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
37869 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37872 (arg1
)->SetWindow(arg2
);
37873 wxPyEndAllowThreads(__tstate
);
37874 if (PyErr_Occurred()) SWIG_fail
;
37876 resultobj
= SWIG_Py_Void();
37883 SWIGINTERN PyObject
*_wrap_Validator_IsSilent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37884 PyObject
*resultobj
= 0;
37887 if (!SWIG_Python_UnpackTuple(args
,"Validator_IsSilent",0,0,0)) SWIG_fail
;
37889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37890 result
= (bool)wxValidator::IsSilent();
37891 wxPyEndAllowThreads(__tstate
);
37892 if (PyErr_Occurred()) SWIG_fail
;
37895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37903 SWIGINTERN PyObject
*_wrap_Validator_SetBellOnError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37904 PyObject
*resultobj
= 0;
37905 int arg1
= (int) true ;
37908 PyObject
* obj0
= 0 ;
37909 char * kwnames
[] = {
37910 (char *) "doIt", NULL
37913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) SWIG_fail
;
37915 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
37916 if (!SWIG_IsOK(ecode1
)) {
37917 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Validator_SetBellOnError" "', expected argument " "1"" of type '" "int""'");
37919 arg1
= static_cast< int >(val1
);
37922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37923 wxValidator::SetBellOnError(arg1
);
37924 wxPyEndAllowThreads(__tstate
);
37925 if (PyErr_Occurred()) SWIG_fail
;
37927 resultobj
= SWIG_Py_Void();
37934 SWIGINTERN PyObject
*Validator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37936 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37937 SWIG_TypeNewClientData(SWIGTYPE_p_wxValidator
, SWIG_NewClientData(obj
));
37938 return SWIG_Py_Void();
37941 SWIGINTERN PyObject
*Validator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37942 return SWIG_Python_InitShadowInstance(args
);
37945 SWIGINTERN PyObject
*_wrap_new_PyValidator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37946 PyObject
*resultobj
= 0;
37947 wxPyValidator
*result
= 0 ;
37949 if (!SWIG_Python_UnpackTuple(args
,"new_PyValidator",0,0,0)) SWIG_fail
;
37951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37952 result
= (wxPyValidator
*)new wxPyValidator();
37953 wxPyEndAllowThreads(__tstate
);
37954 if (PyErr_Occurred()) SWIG_fail
;
37956 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyValidator
, SWIG_POINTER_NEW
| 0 );
37963 SWIGINTERN PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37964 PyObject
*resultobj
= 0;
37965 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
37966 PyObject
*arg2
= (PyObject
*) 0 ;
37967 PyObject
*arg3
= (PyObject
*) 0 ;
37968 int arg4
= (int) true ;
37973 PyObject
* obj0
= 0 ;
37974 PyObject
* obj1
= 0 ;
37975 PyObject
* obj2
= 0 ;
37976 PyObject
* obj3
= 0 ;
37977 char * kwnames
[] = {
37978 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
37981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyValidator
, 0 | 0 );
37983 if (!SWIG_IsOK(res1
)) {
37984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyValidator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyValidator *""'");
37986 arg1
= reinterpret_cast< wxPyValidator
* >(argp1
);
37990 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37991 if (!SWIG_IsOK(ecode4
)) {
37992 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyValidator__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
37994 arg4
= static_cast< int >(val4
);
37997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37998 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
37999 wxPyEndAllowThreads(__tstate
);
38000 if (PyErr_Occurred()) SWIG_fail
;
38002 resultobj
= SWIG_Py_Void();
38009 SWIGINTERN PyObject
*PyValidator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38011 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38012 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyValidator
, SWIG_NewClientData(obj
));
38013 return SWIG_Py_Void();
38016 SWIGINTERN PyObject
*PyValidator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38017 return SWIG_Python_InitShadowInstance(args
);
38020 SWIGINTERN
int DefaultValidator_set(PyObject
*) {
38021 SWIG_Error(SWIG_AttributeError
,"Variable DefaultValidator is read-only.");
38026 SWIGINTERN PyObject
*DefaultValidator_get(void) {
38027 PyObject
*pyobj
= 0;
38029 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0 );
38034 SWIGINTERN PyObject
*_wrap_new_Menu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38035 PyObject
*resultobj
= 0;
38036 wxString
const &arg1_defvalue
= wxPyEmptyString
;
38037 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
38038 long arg2
= (long) 0 ;
38039 wxMenu
*result
= 0 ;
38040 bool temp1
= false ;
38043 PyObject
* obj0
= 0 ;
38044 PyObject
* obj1
= 0 ;
38045 char * kwnames
[] = {
38046 (char *) "title",(char *) "style", NULL
38049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38052 arg1
= wxString_in_helper(obj0
);
38053 if (arg1
== NULL
) SWIG_fail
;
38058 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
38059 if (!SWIG_IsOK(ecode2
)) {
38060 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Menu" "', expected argument " "2"" of type '" "long""'");
38062 arg2
= static_cast< long >(val2
);
38065 if (!wxPyCheckForApp()) SWIG_fail
;
38066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38067 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
38068 wxPyEndAllowThreads(__tstate
);
38069 if (PyErr_Occurred()) SWIG_fail
;
38071 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMenu
, SWIG_POINTER_NEW
| 0 );
38086 SWIGINTERN PyObject
*_wrap_Menu_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38087 PyObject
*resultobj
= 0;
38088 wxMenu
*arg1
= (wxMenu
*) 0 ;
38090 wxString
*arg3
= 0 ;
38091 wxString
const &arg4_defvalue
= wxPyEmptyString
;
38092 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
38093 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
38094 wxMenuItem
*result
= 0 ;
38099 bool temp3
= false ;
38100 bool temp4
= false ;
38103 PyObject
* obj0
= 0 ;
38104 PyObject
* obj1
= 0 ;
38105 PyObject
* obj2
= 0 ;
38106 PyObject
* obj3
= 0 ;
38107 PyObject
* obj4
= 0 ;
38108 char * kwnames
[] = {
38109 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
38112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38114 if (!SWIG_IsOK(res1
)) {
38115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Append" "', expected argument " "1"" of type '" "wxMenu *""'");
38117 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38118 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38119 if (!SWIG_IsOK(ecode2
)) {
38120 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Append" "', expected argument " "2"" of type '" "int""'");
38122 arg2
= static_cast< int >(val2
);
38124 arg3
= wxString_in_helper(obj2
);
38125 if (arg3
== NULL
) SWIG_fail
;
38130 arg4
= wxString_in_helper(obj3
);
38131 if (arg4
== NULL
) SWIG_fail
;
38136 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38137 if (!SWIG_IsOK(ecode5
)) {
38138 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Menu_Append" "', expected argument " "5"" of type '" "wxItemKind""'");
38140 arg5
= static_cast< wxItemKind
>(val5
);
38143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38144 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
38145 wxPyEndAllowThreads(__tstate
);
38146 if (PyErr_Occurred()) SWIG_fail
;
38149 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38173 SWIGINTERN PyObject
*_wrap_Menu_AppendSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38174 PyObject
*resultobj
= 0;
38175 wxMenu
*arg1
= (wxMenu
*) 0 ;
38176 wxMenuItem
*result
= 0 ;
38179 PyObject
*swig_obj
[1] ;
38181 if (!args
) SWIG_fail
;
38182 swig_obj
[0] = args
;
38183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38184 if (!SWIG_IsOK(res1
)) {
38185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_AppendSeparator" "', expected argument " "1"" of type '" "wxMenu *""'");
38187 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38190 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
38191 wxPyEndAllowThreads(__tstate
);
38192 if (PyErr_Occurred()) SWIG_fail
;
38195 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38203 SWIGINTERN PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38204 PyObject
*resultobj
= 0;
38205 wxMenu
*arg1
= (wxMenu
*) 0 ;
38207 wxString
*arg3
= 0 ;
38208 wxString
const &arg4_defvalue
= wxPyEmptyString
;
38209 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
38210 wxMenuItem
*result
= 0 ;
38215 bool temp3
= false ;
38216 bool temp4
= false ;
38217 PyObject
* obj0
= 0 ;
38218 PyObject
* obj1
= 0 ;
38219 PyObject
* obj2
= 0 ;
38220 PyObject
* obj3
= 0 ;
38221 char * kwnames
[] = {
38222 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
38225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38227 if (!SWIG_IsOK(res1
)) {
38228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_AppendCheckItem" "', expected argument " "1"" of type '" "wxMenu *""'");
38230 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38231 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38232 if (!SWIG_IsOK(ecode2
)) {
38233 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_AppendCheckItem" "', expected argument " "2"" of type '" "int""'");
38235 arg2
= static_cast< int >(val2
);
38237 arg3
= wxString_in_helper(obj2
);
38238 if (arg3
== NULL
) SWIG_fail
;
38243 arg4
= wxString_in_helper(obj3
);
38244 if (arg4
== NULL
) SWIG_fail
;
38249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38250 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
38251 wxPyEndAllowThreads(__tstate
);
38252 if (PyErr_Occurred()) SWIG_fail
;
38255 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38279 SWIGINTERN PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38280 PyObject
*resultobj
= 0;
38281 wxMenu
*arg1
= (wxMenu
*) 0 ;
38283 wxString
*arg3
= 0 ;
38284 wxString
const &arg4_defvalue
= wxPyEmptyString
;
38285 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
38286 wxMenuItem
*result
= 0 ;
38291 bool temp3
= false ;
38292 bool temp4
= false ;
38293 PyObject
* obj0
= 0 ;
38294 PyObject
* obj1
= 0 ;
38295 PyObject
* obj2
= 0 ;
38296 PyObject
* obj3
= 0 ;
38297 char * kwnames
[] = {
38298 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
38301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38303 if (!SWIG_IsOK(res1
)) {
38304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_AppendRadioItem" "', expected argument " "1"" of type '" "wxMenu *""'");
38306 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38307 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38308 if (!SWIG_IsOK(ecode2
)) {
38309 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_AppendRadioItem" "', expected argument " "2"" of type '" "int""'");
38311 arg2
= static_cast< int >(val2
);
38313 arg3
= wxString_in_helper(obj2
);
38314 if (arg3
== NULL
) SWIG_fail
;
38319 arg4
= wxString_in_helper(obj3
);
38320 if (arg4
== NULL
) SWIG_fail
;
38325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38326 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
38327 wxPyEndAllowThreads(__tstate
);
38328 if (PyErr_Occurred()) SWIG_fail
;
38331 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38355 SWIGINTERN PyObject
*_wrap_Menu_AppendMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38356 PyObject
*resultobj
= 0;
38357 wxMenu
*arg1
= (wxMenu
*) 0 ;
38359 wxString
*arg3
= 0 ;
38360 wxMenu
*arg4
= (wxMenu
*) 0 ;
38361 wxString
const &arg5_defvalue
= wxPyEmptyString
;
38362 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
38363 wxMenuItem
*result
= 0 ;
38368 bool temp3
= false ;
38371 bool temp5
= false ;
38372 PyObject
* obj0
= 0 ;
38373 PyObject
* obj1
= 0 ;
38374 PyObject
* obj2
= 0 ;
38375 PyObject
* obj3
= 0 ;
38376 PyObject
* obj4
= 0 ;
38377 char * kwnames
[] = {
38378 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
38381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38383 if (!SWIG_IsOK(res1
)) {
38384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_AppendMenu" "', expected argument " "1"" of type '" "wxMenu *""'");
38386 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38387 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38388 if (!SWIG_IsOK(ecode2
)) {
38389 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_AppendMenu" "', expected argument " "2"" of type '" "int""'");
38391 arg2
= static_cast< int >(val2
);
38393 arg3
= wxString_in_helper(obj2
);
38394 if (arg3
== NULL
) SWIG_fail
;
38397 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38398 if (!SWIG_IsOK(res4
)) {
38399 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Menu_AppendMenu" "', expected argument " "4"" of type '" "wxMenu *""'");
38401 arg4
= reinterpret_cast< wxMenu
* >(argp4
);
38404 arg5
= wxString_in_helper(obj4
);
38405 if (arg5
== NULL
) SWIG_fail
;
38410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38411 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
38412 wxPyEndAllowThreads(__tstate
);
38413 if (PyErr_Occurred()) SWIG_fail
;
38416 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38440 SWIGINTERN PyObject
*_wrap_Menu_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38441 PyObject
*resultobj
= 0;
38442 wxMenu
*arg1
= (wxMenu
*) 0 ;
38443 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
38444 wxMenuItem
*result
= 0 ;
38448 PyObject
* obj0
= 0 ;
38449 PyObject
* obj1
= 0 ;
38450 char * kwnames
[] = {
38451 (char *) "self",(char *) "item", NULL
38454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38456 if (!SWIG_IsOK(res1
)) {
38457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_AppendItem" "', expected argument " "1"" of type '" "wxMenu *""'");
38459 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38460 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_DISOWN
| 0 );
38461 if (!SWIG_IsOK(res2
)) {
38462 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_AppendItem" "', expected argument " "2"" of type '" "wxMenuItem *""'");
38465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38466 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
38467 wxPyEndAllowThreads(__tstate
);
38468 if (PyErr_Occurred()) SWIG_fail
;
38471 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38479 SWIGINTERN PyObject
*_wrap_Menu_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38480 PyObject
*resultobj
= 0;
38481 wxMenu
*arg1
= (wxMenu
*) 0 ;
38483 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
38484 wxMenuItem
*result
= 0 ;
38490 PyObject
* obj0
= 0 ;
38491 PyObject
* obj1
= 0 ;
38492 PyObject
* obj2
= 0 ;
38493 char * kwnames
[] = {
38494 (char *) "self",(char *) "pos",(char *) "item", NULL
38497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38499 if (!SWIG_IsOK(res1
)) {
38500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_InsertItem" "', expected argument " "1"" of type '" "wxMenu *""'");
38502 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38503 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
38504 if (!SWIG_IsOK(ecode2
)) {
38505 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_InsertItem" "', expected argument " "2"" of type '" "size_t""'");
38507 arg2
= static_cast< size_t >(val2
);
38508 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_DISOWN
| 0 );
38509 if (!SWIG_IsOK(res3
)) {
38510 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Menu_InsertItem" "', expected argument " "3"" of type '" "wxMenuItem *""'");
38513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38514 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
38515 wxPyEndAllowThreads(__tstate
);
38516 if (PyErr_Occurred()) SWIG_fail
;
38519 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38527 SWIGINTERN PyObject
*_wrap_Menu_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38528 PyObject
*resultobj
= 0;
38529 wxMenu
*arg1
= (wxMenu
*) 0 ;
38530 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
38531 wxMenuItem
*result
= 0 ;
38535 PyObject
* obj0
= 0 ;
38536 PyObject
* obj1
= 0 ;
38537 char * kwnames
[] = {
38538 (char *) "self",(char *) "item", NULL
38541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38543 if (!SWIG_IsOK(res1
)) {
38544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_PrependItem" "', expected argument " "1"" of type '" "wxMenu *""'");
38546 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38547 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_DISOWN
| 0 );
38548 if (!SWIG_IsOK(res2
)) {
38549 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_PrependItem" "', expected argument " "2"" of type '" "wxMenuItem *""'");
38552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38553 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
38554 wxPyEndAllowThreads(__tstate
);
38555 if (PyErr_Occurred()) SWIG_fail
;
38558 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38566 SWIGINTERN PyObject
*_wrap_Menu_Break(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38567 PyObject
*resultobj
= 0;
38568 wxMenu
*arg1
= (wxMenu
*) 0 ;
38571 PyObject
*swig_obj
[1] ;
38573 if (!args
) SWIG_fail
;
38574 swig_obj
[0] = args
;
38575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38576 if (!SWIG_IsOK(res1
)) {
38577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Break" "', expected argument " "1"" of type '" "wxMenu *""'");
38579 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38583 wxPyEndAllowThreads(__tstate
);
38584 if (PyErr_Occurred()) SWIG_fail
;
38586 resultobj
= SWIG_Py_Void();
38593 SWIGINTERN PyObject
*_wrap_Menu_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38594 PyObject
*resultobj
= 0;
38595 wxMenu
*arg1
= (wxMenu
*) 0 ;
38598 wxString
*arg4
= 0 ;
38599 wxString
const &arg5_defvalue
= wxPyEmptyString
;
38600 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
38601 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
38602 wxMenuItem
*result
= 0 ;
38609 bool temp4
= false ;
38610 bool temp5
= false ;
38613 PyObject
* obj0
= 0 ;
38614 PyObject
* obj1
= 0 ;
38615 PyObject
* obj2
= 0 ;
38616 PyObject
* obj3
= 0 ;
38617 PyObject
* obj4
= 0 ;
38618 PyObject
* obj5
= 0 ;
38619 char * kwnames
[] = {
38620 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
38623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38625 if (!SWIG_IsOK(res1
)) {
38626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Insert" "', expected argument " "1"" of type '" "wxMenu *""'");
38628 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38629 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
38630 if (!SWIG_IsOK(ecode2
)) {
38631 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Insert" "', expected argument " "2"" of type '" "size_t""'");
38633 arg2
= static_cast< size_t >(val2
);
38634 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38635 if (!SWIG_IsOK(ecode3
)) {
38636 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Menu_Insert" "', expected argument " "3"" of type '" "int""'");
38638 arg3
= static_cast< int >(val3
);
38640 arg4
= wxString_in_helper(obj3
);
38641 if (arg4
== NULL
) SWIG_fail
;
38646 arg5
= wxString_in_helper(obj4
);
38647 if (arg5
== NULL
) SWIG_fail
;
38652 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38653 if (!SWIG_IsOK(ecode6
)) {
38654 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Menu_Insert" "', expected argument " "6"" of type '" "wxItemKind""'");
38656 arg6
= static_cast< wxItemKind
>(val6
);
38659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38660 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
);
38661 wxPyEndAllowThreads(__tstate
);
38662 if (PyErr_Occurred()) SWIG_fail
;
38665 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38689 SWIGINTERN PyObject
*_wrap_Menu_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38690 PyObject
*resultobj
= 0;
38691 wxMenu
*arg1
= (wxMenu
*) 0 ;
38693 wxMenuItem
*result
= 0 ;
38698 PyObject
* obj0
= 0 ;
38699 PyObject
* obj1
= 0 ;
38700 char * kwnames
[] = {
38701 (char *) "self",(char *) "pos", NULL
38704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38706 if (!SWIG_IsOK(res1
)) {
38707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_InsertSeparator" "', expected argument " "1"" of type '" "wxMenu *""'");
38709 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38710 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
38711 if (!SWIG_IsOK(ecode2
)) {
38712 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
38714 arg2
= static_cast< size_t >(val2
);
38716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38717 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
38718 wxPyEndAllowThreads(__tstate
);
38719 if (PyErr_Occurred()) SWIG_fail
;
38722 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38730 SWIGINTERN PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38731 PyObject
*resultobj
= 0;
38732 wxMenu
*arg1
= (wxMenu
*) 0 ;
38735 wxString
*arg4
= 0 ;
38736 wxString
const &arg5_defvalue
= wxPyEmptyString
;
38737 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
38738 wxMenuItem
*result
= 0 ;
38745 bool temp4
= false ;
38746 bool temp5
= false ;
38747 PyObject
* obj0
= 0 ;
38748 PyObject
* obj1
= 0 ;
38749 PyObject
* obj2
= 0 ;
38750 PyObject
* obj3
= 0 ;
38751 PyObject
* obj4
= 0 ;
38752 char * kwnames
[] = {
38753 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
38756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38758 if (!SWIG_IsOK(res1
)) {
38759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_InsertCheckItem" "', expected argument " "1"" of type '" "wxMenu *""'");
38761 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38762 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
38763 if (!SWIG_IsOK(ecode2
)) {
38764 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_InsertCheckItem" "', expected argument " "2"" of type '" "size_t""'");
38766 arg2
= static_cast< size_t >(val2
);
38767 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38768 if (!SWIG_IsOK(ecode3
)) {
38769 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Menu_InsertCheckItem" "', expected argument " "3"" of type '" "int""'");
38771 arg3
= static_cast< int >(val3
);
38773 arg4
= wxString_in_helper(obj3
);
38774 if (arg4
== NULL
) SWIG_fail
;
38779 arg5
= wxString_in_helper(obj4
);
38780 if (arg5
== NULL
) SWIG_fail
;
38785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38786 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
38787 wxPyEndAllowThreads(__tstate
);
38788 if (PyErr_Occurred()) SWIG_fail
;
38791 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38815 SWIGINTERN PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38816 PyObject
*resultobj
= 0;
38817 wxMenu
*arg1
= (wxMenu
*) 0 ;
38820 wxString
*arg4
= 0 ;
38821 wxString
const &arg5_defvalue
= wxPyEmptyString
;
38822 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
38823 wxMenuItem
*result
= 0 ;
38830 bool temp4
= false ;
38831 bool temp5
= false ;
38832 PyObject
* obj0
= 0 ;
38833 PyObject
* obj1
= 0 ;
38834 PyObject
* obj2
= 0 ;
38835 PyObject
* obj3
= 0 ;
38836 PyObject
* obj4
= 0 ;
38837 char * kwnames
[] = {
38838 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
38841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38843 if (!SWIG_IsOK(res1
)) {
38844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_InsertRadioItem" "', expected argument " "1"" of type '" "wxMenu *""'");
38846 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38847 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
38848 if (!SWIG_IsOK(ecode2
)) {
38849 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_InsertRadioItem" "', expected argument " "2"" of type '" "size_t""'");
38851 arg2
= static_cast< size_t >(val2
);
38852 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38853 if (!SWIG_IsOK(ecode3
)) {
38854 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Menu_InsertRadioItem" "', expected argument " "3"" of type '" "int""'");
38856 arg3
= static_cast< int >(val3
);
38858 arg4
= wxString_in_helper(obj3
);
38859 if (arg4
== NULL
) SWIG_fail
;
38864 arg5
= wxString_in_helper(obj4
);
38865 if (arg5
== NULL
) SWIG_fail
;
38870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38871 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
38872 wxPyEndAllowThreads(__tstate
);
38873 if (PyErr_Occurred()) SWIG_fail
;
38876 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38900 SWIGINTERN PyObject
*_wrap_Menu_InsertMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38901 PyObject
*resultobj
= 0;
38902 wxMenu
*arg1
= (wxMenu
*) 0 ;
38905 wxString
*arg4
= 0 ;
38906 wxMenu
*arg5
= (wxMenu
*) 0 ;
38907 wxString
const &arg6_defvalue
= wxPyEmptyString
;
38908 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
38909 wxMenuItem
*result
= 0 ;
38916 bool temp4
= false ;
38919 bool temp6
= false ;
38920 PyObject
* obj0
= 0 ;
38921 PyObject
* obj1
= 0 ;
38922 PyObject
* obj2
= 0 ;
38923 PyObject
* obj3
= 0 ;
38924 PyObject
* obj4
= 0 ;
38925 PyObject
* obj5
= 0 ;
38926 char * kwnames
[] = {
38927 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
38930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38932 if (!SWIG_IsOK(res1
)) {
38933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_InsertMenu" "', expected argument " "1"" of type '" "wxMenu *""'");
38935 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38936 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
38937 if (!SWIG_IsOK(ecode2
)) {
38938 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_InsertMenu" "', expected argument " "2"" of type '" "size_t""'");
38940 arg2
= static_cast< size_t >(val2
);
38941 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38942 if (!SWIG_IsOK(ecode3
)) {
38943 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Menu_InsertMenu" "', expected argument " "3"" of type '" "int""'");
38945 arg3
= static_cast< int >(val3
);
38947 arg4
= wxString_in_helper(obj3
);
38948 if (arg4
== NULL
) SWIG_fail
;
38951 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38952 if (!SWIG_IsOK(res5
)) {
38953 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "Menu_InsertMenu" "', expected argument " "5"" of type '" "wxMenu *""'");
38955 arg5
= reinterpret_cast< wxMenu
* >(argp5
);
38958 arg6
= wxString_in_helper(obj5
);
38959 if (arg6
== NULL
) SWIG_fail
;
38964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38965 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
38966 wxPyEndAllowThreads(__tstate
);
38967 if (PyErr_Occurred()) SWIG_fail
;
38970 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38994 SWIGINTERN PyObject
*_wrap_Menu_Prepend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38995 PyObject
*resultobj
= 0;
38996 wxMenu
*arg1
= (wxMenu
*) 0 ;
38998 wxString
*arg3
= 0 ;
38999 wxString
const &arg4_defvalue
= wxPyEmptyString
;
39000 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
39001 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
39002 wxMenuItem
*result
= 0 ;
39007 bool temp3
= false ;
39008 bool temp4
= false ;
39011 PyObject
* obj0
= 0 ;
39012 PyObject
* obj1
= 0 ;
39013 PyObject
* obj2
= 0 ;
39014 PyObject
* obj3
= 0 ;
39015 PyObject
* obj4
= 0 ;
39016 char * kwnames
[] = {
39017 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
39020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39022 if (!SWIG_IsOK(res1
)) {
39023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Prepend" "', expected argument " "1"" of type '" "wxMenu *""'");
39025 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39026 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39027 if (!SWIG_IsOK(ecode2
)) {
39028 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Prepend" "', expected argument " "2"" of type '" "int""'");
39030 arg2
= static_cast< int >(val2
);
39032 arg3
= wxString_in_helper(obj2
);
39033 if (arg3
== NULL
) SWIG_fail
;
39038 arg4
= wxString_in_helper(obj3
);
39039 if (arg4
== NULL
) SWIG_fail
;
39044 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
39045 if (!SWIG_IsOK(ecode5
)) {
39046 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Menu_Prepend" "', expected argument " "5"" of type '" "wxItemKind""'");
39048 arg5
= static_cast< wxItemKind
>(val5
);
39051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39052 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
39053 wxPyEndAllowThreads(__tstate
);
39054 if (PyErr_Occurred()) SWIG_fail
;
39057 resultobj
= wxPyMake_wxObject(result
, (bool)0);
39081 SWIGINTERN PyObject
*_wrap_Menu_PrependSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39082 PyObject
*resultobj
= 0;
39083 wxMenu
*arg1
= (wxMenu
*) 0 ;
39084 wxMenuItem
*result
= 0 ;
39087 PyObject
*swig_obj
[1] ;
39089 if (!args
) SWIG_fail
;
39090 swig_obj
[0] = args
;
39091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39092 if (!SWIG_IsOK(res1
)) {
39093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_PrependSeparator" "', expected argument " "1"" of type '" "wxMenu *""'");
39095 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39098 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
39099 wxPyEndAllowThreads(__tstate
);
39100 if (PyErr_Occurred()) SWIG_fail
;
39103 resultobj
= wxPyMake_wxObject(result
, (bool)0);
39111 SWIGINTERN PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39112 PyObject
*resultobj
= 0;
39113 wxMenu
*arg1
= (wxMenu
*) 0 ;
39115 wxString
*arg3
= 0 ;
39116 wxString
const &arg4_defvalue
= wxPyEmptyString
;
39117 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
39118 wxMenuItem
*result
= 0 ;
39123 bool temp3
= false ;
39124 bool temp4
= false ;
39125 PyObject
* obj0
= 0 ;
39126 PyObject
* obj1
= 0 ;
39127 PyObject
* obj2
= 0 ;
39128 PyObject
* obj3
= 0 ;
39129 char * kwnames
[] = {
39130 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
39133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39135 if (!SWIG_IsOK(res1
)) {
39136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_PrependCheckItem" "', expected argument " "1"" of type '" "wxMenu *""'");
39138 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39139 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39140 if (!SWIG_IsOK(ecode2
)) {
39141 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_PrependCheckItem" "', expected argument " "2"" of type '" "int""'");
39143 arg2
= static_cast< int >(val2
);
39145 arg3
= wxString_in_helper(obj2
);
39146 if (arg3
== NULL
) SWIG_fail
;
39151 arg4
= wxString_in_helper(obj3
);
39152 if (arg4
== NULL
) SWIG_fail
;
39157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39158 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
39159 wxPyEndAllowThreads(__tstate
);
39160 if (PyErr_Occurred()) SWIG_fail
;
39163 resultobj
= wxPyMake_wxObject(result
, (bool)0);
39187 SWIGINTERN PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39188 PyObject
*resultobj
= 0;
39189 wxMenu
*arg1
= (wxMenu
*) 0 ;
39191 wxString
*arg3
= 0 ;
39192 wxString
const &arg4_defvalue
= wxPyEmptyString
;
39193 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
39194 wxMenuItem
*result
= 0 ;
39199 bool temp3
= false ;
39200 bool temp4
= false ;
39201 PyObject
* obj0
= 0 ;
39202 PyObject
* obj1
= 0 ;
39203 PyObject
* obj2
= 0 ;
39204 PyObject
* obj3
= 0 ;
39205 char * kwnames
[] = {
39206 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
39209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39211 if (!SWIG_IsOK(res1
)) {
39212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_PrependRadioItem" "', expected argument " "1"" of type '" "wxMenu *""'");
39214 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39215 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39216 if (!SWIG_IsOK(ecode2
)) {
39217 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_PrependRadioItem" "', expected argument " "2"" of type '" "int""'");
39219 arg2
= static_cast< int >(val2
);
39221 arg3
= wxString_in_helper(obj2
);
39222 if (arg3
== NULL
) SWIG_fail
;
39227 arg4
= wxString_in_helper(obj3
);
39228 if (arg4
== NULL
) SWIG_fail
;
39233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39234 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
39235 wxPyEndAllowThreads(__tstate
);
39236 if (PyErr_Occurred()) SWIG_fail
;
39239 resultobj
= wxPyMake_wxObject(result
, (bool)0);
39263 SWIGINTERN PyObject
*_wrap_Menu_PrependMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39264 PyObject
*resultobj
= 0;
39265 wxMenu
*arg1
= (wxMenu
*) 0 ;
39267 wxString
*arg3
= 0 ;
39268 wxMenu
*arg4
= (wxMenu
*) 0 ;
39269 wxString
const &arg5_defvalue
= wxPyEmptyString
;
39270 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
39271 wxMenuItem
*result
= 0 ;
39276 bool temp3
= false ;
39279 bool temp5
= false ;
39280 PyObject
* obj0
= 0 ;
39281 PyObject
* obj1
= 0 ;
39282 PyObject
* obj2
= 0 ;
39283 PyObject
* obj3
= 0 ;
39284 PyObject
* obj4
= 0 ;
39285 char * kwnames
[] = {
39286 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
39289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39291 if (!SWIG_IsOK(res1
)) {
39292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_PrependMenu" "', expected argument " "1"" of type '" "wxMenu *""'");
39294 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39295 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39296 if (!SWIG_IsOK(ecode2
)) {
39297 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_PrependMenu" "', expected argument " "2"" of type '" "int""'");
39299 arg2
= static_cast< int >(val2
);
39301 arg3
= wxString_in_helper(obj2
);
39302 if (arg3
== NULL
) SWIG_fail
;
39305 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39306 if (!SWIG_IsOK(res4
)) {
39307 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Menu_PrependMenu" "', expected argument " "4"" of type '" "wxMenu *""'");
39309 arg4
= reinterpret_cast< wxMenu
* >(argp4
);
39312 arg5
= wxString_in_helper(obj4
);
39313 if (arg5
== NULL
) SWIG_fail
;
39318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39319 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
39320 wxPyEndAllowThreads(__tstate
);
39321 if (PyErr_Occurred()) SWIG_fail
;
39324 resultobj
= wxPyMake_wxObject(result
, (bool)0);
39348 SWIGINTERN PyObject
*_wrap_Menu_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39349 PyObject
*resultobj
= 0;
39350 wxMenu
*arg1
= (wxMenu
*) 0 ;
39352 wxMenuItem
*result
= 0 ;
39357 PyObject
* obj0
= 0 ;
39358 PyObject
* obj1
= 0 ;
39359 char * kwnames
[] = {
39360 (char *) "self",(char *) "id", NULL
39363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39365 if (!SWIG_IsOK(res1
)) {
39366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Remove" "', expected argument " "1"" of type '" "wxMenu *""'");
39368 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39369 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39370 if (!SWIG_IsOK(ecode2
)) {
39371 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Remove" "', expected argument " "2"" of type '" "int""'");
39373 arg2
= static_cast< int >(val2
);
39375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39376 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
39377 wxPyEndAllowThreads(__tstate
);
39378 if (PyErr_Occurred()) SWIG_fail
;
39381 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
39389 SWIGINTERN PyObject
*_wrap_Menu_RemoveItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39390 PyObject
*resultobj
= 0;
39391 wxMenu
*arg1
= (wxMenu
*) 0 ;
39392 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
39393 wxMenuItem
*result
= 0 ;
39398 PyObject
* obj0
= 0 ;
39399 PyObject
* obj1
= 0 ;
39400 char * kwnames
[] = {
39401 (char *) "self",(char *) "item", NULL
39404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39406 if (!SWIG_IsOK(res1
)) {
39407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_RemoveItem" "', expected argument " "1"" of type '" "wxMenu *""'");
39409 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39410 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
39411 if (!SWIG_IsOK(res2
)) {
39412 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_RemoveItem" "', expected argument " "2"" of type '" "wxMenuItem *""'");
39414 arg2
= reinterpret_cast< wxMenuItem
* >(argp2
);
39416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39417 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
39418 wxPyEndAllowThreads(__tstate
);
39419 if (PyErr_Occurred()) SWIG_fail
;
39422 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
39430 SWIGINTERN PyObject
*_wrap_Menu_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39431 PyObject
*resultobj
= 0;
39432 wxMenu
*arg1
= (wxMenu
*) 0 ;
39439 PyObject
* obj0
= 0 ;
39440 PyObject
* obj1
= 0 ;
39441 char * kwnames
[] = {
39442 (char *) "self",(char *) "id", NULL
39445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39447 if (!SWIG_IsOK(res1
)) {
39448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Delete" "', expected argument " "1"" of type '" "wxMenu *""'");
39450 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39451 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39452 if (!SWIG_IsOK(ecode2
)) {
39453 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Delete" "', expected argument " "2"" of type '" "int""'");
39455 arg2
= static_cast< int >(val2
);
39457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39458 result
= (bool)(arg1
)->Delete(arg2
);
39459 wxPyEndAllowThreads(__tstate
);
39460 if (PyErr_Occurred()) SWIG_fail
;
39463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39471 SWIGINTERN PyObject
*_wrap_Menu_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39472 PyObject
*resultobj
= 0;
39473 wxMenu
*arg1
= (wxMenu
*) 0 ;
39474 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
39480 PyObject
* obj0
= 0 ;
39481 PyObject
* obj1
= 0 ;
39482 char * kwnames
[] = {
39483 (char *) "self",(char *) "item", NULL
39486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39488 if (!SWIG_IsOK(res1
)) {
39489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_DeleteItem" "', expected argument " "1"" of type '" "wxMenu *""'");
39491 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39492 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
39493 if (!SWIG_IsOK(res2
)) {
39494 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_DeleteItem" "', expected argument " "2"" of type '" "wxMenuItem *""'");
39496 arg2
= reinterpret_cast< wxMenuItem
* >(argp2
);
39498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39499 result
= (bool)(arg1
)->Delete(arg2
);
39500 wxPyEndAllowThreads(__tstate
);
39501 if (PyErr_Occurred()) SWIG_fail
;
39504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39512 SWIGINTERN PyObject
*_wrap_Menu_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39513 PyObject
*resultobj
= 0;
39514 wxMenu
*arg1
= (wxMenu
*) 0 ;
39517 PyObject
*swig_obj
[1] ;
39519 if (!args
) SWIG_fail
;
39520 swig_obj
[0] = args
;
39521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39522 if (!SWIG_IsOK(res1
)) {
39523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Destroy" "', expected argument " "1"" of type '" "wxMenu *""'");
39525 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39528 wxMenu_Destroy(arg1
);
39529 wxPyEndAllowThreads(__tstate
);
39530 if (PyErr_Occurred()) SWIG_fail
;
39532 resultobj
= SWIG_Py_Void();
39539 SWIGINTERN PyObject
*_wrap_Menu_DestroyId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39540 PyObject
*resultobj
= 0;
39541 wxMenu
*arg1
= (wxMenu
*) 0 ;
39548 PyObject
* obj0
= 0 ;
39549 PyObject
* obj1
= 0 ;
39550 char * kwnames
[] = {
39551 (char *) "self",(char *) "id", NULL
39554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39556 if (!SWIG_IsOK(res1
)) {
39557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_DestroyId" "', expected argument " "1"" of type '" "wxMenu *""'");
39559 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39560 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39561 if (!SWIG_IsOK(ecode2
)) {
39562 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_DestroyId" "', expected argument " "2"" of type '" "int""'");
39564 arg2
= static_cast< int >(val2
);
39566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39567 result
= (bool)(arg1
)->Destroy(arg2
);
39568 wxPyEndAllowThreads(__tstate
);
39569 if (PyErr_Occurred()) SWIG_fail
;
39572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39580 SWIGINTERN PyObject
*_wrap_Menu_DestroyItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39581 PyObject
*resultobj
= 0;
39582 wxMenu
*arg1
= (wxMenu
*) 0 ;
39583 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
39589 PyObject
* obj0
= 0 ;
39590 PyObject
* obj1
= 0 ;
39591 char * kwnames
[] = {
39592 (char *) "self",(char *) "item", NULL
39595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39597 if (!SWIG_IsOK(res1
)) {
39598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_DestroyItem" "', expected argument " "1"" of type '" "wxMenu *""'");
39600 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39601 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
39602 if (!SWIG_IsOK(res2
)) {
39603 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_DestroyItem" "', expected argument " "2"" of type '" "wxMenuItem *""'");
39605 arg2
= reinterpret_cast< wxMenuItem
* >(argp2
);
39607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39608 result
= (bool)(arg1
)->Destroy(arg2
);
39609 wxPyEndAllowThreads(__tstate
);
39610 if (PyErr_Occurred()) SWIG_fail
;
39613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39621 SWIGINTERN PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39622 PyObject
*resultobj
= 0;
39623 wxMenu
*arg1
= (wxMenu
*) 0 ;
39627 PyObject
*swig_obj
[1] ;
39629 if (!args
) SWIG_fail
;
39630 swig_obj
[0] = args
;
39631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39632 if (!SWIG_IsOK(res1
)) {
39633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetMenuItemCount" "', expected argument " "1"" of type '" "wxMenu const *""'");
39635 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39638 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
39639 wxPyEndAllowThreads(__tstate
);
39640 if (PyErr_Occurred()) SWIG_fail
;
39642 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
39649 SWIGINTERN PyObject
*_wrap_Menu_GetMenuItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39650 PyObject
*resultobj
= 0;
39651 wxMenu
*arg1
= (wxMenu
*) 0 ;
39652 PyObject
*result
= 0 ;
39655 PyObject
*swig_obj
[1] ;
39657 if (!args
) SWIG_fail
;
39658 swig_obj
[0] = args
;
39659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39660 if (!SWIG_IsOK(res1
)) {
39661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetMenuItems" "', expected argument " "1"" of type '" "wxMenu *""'");
39663 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39666 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
39667 wxPyEndAllowThreads(__tstate
);
39668 if (PyErr_Occurred()) SWIG_fail
;
39670 resultobj
= result
;
39677 SWIGINTERN PyObject
*_wrap_Menu_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39678 PyObject
*resultobj
= 0;
39679 wxMenu
*arg1
= (wxMenu
*) 0 ;
39680 wxString
*arg2
= 0 ;
39684 bool temp2
= false ;
39685 PyObject
* obj0
= 0 ;
39686 PyObject
* obj1
= 0 ;
39687 char * kwnames
[] = {
39688 (char *) "self",(char *) "item", NULL
39691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39693 if (!SWIG_IsOK(res1
)) {
39694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_FindItem" "', expected argument " "1"" of type '" "wxMenu const *""'");
39696 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39698 arg2
= wxString_in_helper(obj1
);
39699 if (arg2
== NULL
) SWIG_fail
;
39703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39704 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
39705 wxPyEndAllowThreads(__tstate
);
39706 if (PyErr_Occurred()) SWIG_fail
;
39708 resultobj
= SWIG_From_int(static_cast< int >(result
));
39723 SWIGINTERN PyObject
*_wrap_Menu_FindItemById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39724 PyObject
*resultobj
= 0;
39725 wxMenu
*arg1
= (wxMenu
*) 0 ;
39727 wxMenuItem
*result
= 0 ;
39732 PyObject
* obj0
= 0 ;
39733 PyObject
* obj1
= 0 ;
39734 char * kwnames
[] = {
39735 (char *) "self",(char *) "id", NULL
39738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39740 if (!SWIG_IsOK(res1
)) {
39741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_FindItemById" "', expected argument " "1"" of type '" "wxMenu const *""'");
39743 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39744 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39745 if (!SWIG_IsOK(ecode2
)) {
39746 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_FindItemById" "', expected argument " "2"" of type '" "int""'");
39748 arg2
= static_cast< int >(val2
);
39750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39751 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
39752 wxPyEndAllowThreads(__tstate
);
39753 if (PyErr_Occurred()) SWIG_fail
;
39756 resultobj
= wxPyMake_wxObject(result
, (bool)0);
39764 SWIGINTERN PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39765 PyObject
*resultobj
= 0;
39766 wxMenu
*arg1
= (wxMenu
*) 0 ;
39768 wxMenuItem
*result
= 0 ;
39773 PyObject
* obj0
= 0 ;
39774 PyObject
* obj1
= 0 ;
39775 char * kwnames
[] = {
39776 (char *) "self",(char *) "position", NULL
39779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39781 if (!SWIG_IsOK(res1
)) {
39782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_FindItemByPosition" "', expected argument " "1"" of type '" "wxMenu const *""'");
39784 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39785 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
39786 if (!SWIG_IsOK(ecode2
)) {
39787 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_FindItemByPosition" "', expected argument " "2"" of type '" "size_t""'");
39789 arg2
= static_cast< size_t >(val2
);
39791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39792 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
39793 wxPyEndAllowThreads(__tstate
);
39794 if (PyErr_Occurred()) SWIG_fail
;
39797 resultobj
= wxPyMake_wxObject(result
, (bool)0);
39805 SWIGINTERN PyObject
*_wrap_Menu_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39806 PyObject
*resultobj
= 0;
39807 wxMenu
*arg1
= (wxMenu
*) 0 ;
39816 PyObject
* obj0
= 0 ;
39817 PyObject
* obj1
= 0 ;
39818 PyObject
* obj2
= 0 ;
39819 char * kwnames
[] = {
39820 (char *) "self",(char *) "id",(char *) "enable", NULL
39823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39825 if (!SWIG_IsOK(res1
)) {
39826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Enable" "', expected argument " "1"" of type '" "wxMenu *""'");
39828 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39829 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39830 if (!SWIG_IsOK(ecode2
)) {
39831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Enable" "', expected argument " "2"" of type '" "int""'");
39833 arg2
= static_cast< int >(val2
);
39834 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
39835 if (!SWIG_IsOK(ecode3
)) {
39836 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Menu_Enable" "', expected argument " "3"" of type '" "bool""'");
39838 arg3
= static_cast< bool >(val3
);
39840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39841 (arg1
)->Enable(arg2
,arg3
);
39842 wxPyEndAllowThreads(__tstate
);
39843 if (PyErr_Occurred()) SWIG_fail
;
39845 resultobj
= SWIG_Py_Void();
39852 SWIGINTERN PyObject
*_wrap_Menu_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39853 PyObject
*resultobj
= 0;
39854 wxMenu
*arg1
= (wxMenu
*) 0 ;
39861 PyObject
* obj0
= 0 ;
39862 PyObject
* obj1
= 0 ;
39863 char * kwnames
[] = {
39864 (char *) "self",(char *) "id", NULL
39867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39869 if (!SWIG_IsOK(res1
)) {
39870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_IsEnabled" "', expected argument " "1"" of type '" "wxMenu const *""'");
39872 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39873 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39874 if (!SWIG_IsOK(ecode2
)) {
39875 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_IsEnabled" "', expected argument " "2"" of type '" "int""'");
39877 arg2
= static_cast< int >(val2
);
39879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39880 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
39881 wxPyEndAllowThreads(__tstate
);
39882 if (PyErr_Occurred()) SWIG_fail
;
39885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39893 SWIGINTERN PyObject
*_wrap_Menu_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39894 PyObject
*resultobj
= 0;
39895 wxMenu
*arg1
= (wxMenu
*) 0 ;
39904 PyObject
* obj0
= 0 ;
39905 PyObject
* obj1
= 0 ;
39906 PyObject
* obj2
= 0 ;
39907 char * kwnames
[] = {
39908 (char *) "self",(char *) "id",(char *) "check", NULL
39911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39913 if (!SWIG_IsOK(res1
)) {
39914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Check" "', expected argument " "1"" of type '" "wxMenu *""'");
39916 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39917 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39918 if (!SWIG_IsOK(ecode2
)) {
39919 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Check" "', expected argument " "2"" of type '" "int""'");
39921 arg2
= static_cast< int >(val2
);
39922 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
39923 if (!SWIG_IsOK(ecode3
)) {
39924 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Menu_Check" "', expected argument " "3"" of type '" "bool""'");
39926 arg3
= static_cast< bool >(val3
);
39928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39929 (arg1
)->Check(arg2
,arg3
);
39930 wxPyEndAllowThreads(__tstate
);
39931 if (PyErr_Occurred()) SWIG_fail
;
39933 resultobj
= SWIG_Py_Void();
39940 SWIGINTERN PyObject
*_wrap_Menu_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39941 PyObject
*resultobj
= 0;
39942 wxMenu
*arg1
= (wxMenu
*) 0 ;
39949 PyObject
* obj0
= 0 ;
39950 PyObject
* obj1
= 0 ;
39951 char * kwnames
[] = {
39952 (char *) "self",(char *) "id", NULL
39955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39957 if (!SWIG_IsOK(res1
)) {
39958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_IsChecked" "', expected argument " "1"" of type '" "wxMenu const *""'");
39960 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39961 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39962 if (!SWIG_IsOK(ecode2
)) {
39963 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_IsChecked" "', expected argument " "2"" of type '" "int""'");
39965 arg2
= static_cast< int >(val2
);
39967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39968 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
39969 wxPyEndAllowThreads(__tstate
);
39970 if (PyErr_Occurred()) SWIG_fail
;
39973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39981 SWIGINTERN PyObject
*_wrap_Menu_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39982 PyObject
*resultobj
= 0;
39983 wxMenu
*arg1
= (wxMenu
*) 0 ;
39985 wxString
*arg3
= 0 ;
39990 bool temp3
= false ;
39991 PyObject
* obj0
= 0 ;
39992 PyObject
* obj1
= 0 ;
39993 PyObject
* obj2
= 0 ;
39994 char * kwnames
[] = {
39995 (char *) "self",(char *) "id",(char *) "label", NULL
39998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40000 if (!SWIG_IsOK(res1
)) {
40001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_SetLabel" "', expected argument " "1"" of type '" "wxMenu *""'");
40003 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40004 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40005 if (!SWIG_IsOK(ecode2
)) {
40006 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_SetLabel" "', expected argument " "2"" of type '" "int""'");
40008 arg2
= static_cast< int >(val2
);
40010 arg3
= wxString_in_helper(obj2
);
40011 if (arg3
== NULL
) SWIG_fail
;
40015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40016 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
40017 wxPyEndAllowThreads(__tstate
);
40018 if (PyErr_Occurred()) SWIG_fail
;
40020 resultobj
= SWIG_Py_Void();
40035 SWIGINTERN PyObject
*_wrap_Menu_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40036 PyObject
*resultobj
= 0;
40037 wxMenu
*arg1
= (wxMenu
*) 0 ;
40044 PyObject
* obj0
= 0 ;
40045 PyObject
* obj1
= 0 ;
40046 char * kwnames
[] = {
40047 (char *) "self",(char *) "id", NULL
40050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40052 if (!SWIG_IsOK(res1
)) {
40053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetLabel" "', expected argument " "1"" of type '" "wxMenu const *""'");
40055 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40056 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40057 if (!SWIG_IsOK(ecode2
)) {
40058 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_GetLabel" "', expected argument " "2"" of type '" "int""'");
40060 arg2
= static_cast< int >(val2
);
40062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40063 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
40064 wxPyEndAllowThreads(__tstate
);
40065 if (PyErr_Occurred()) SWIG_fail
;
40069 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
40071 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
40080 SWIGINTERN PyObject
*_wrap_Menu_SetHelpString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40081 PyObject
*resultobj
= 0;
40082 wxMenu
*arg1
= (wxMenu
*) 0 ;
40084 wxString
*arg3
= 0 ;
40089 bool temp3
= false ;
40090 PyObject
* obj0
= 0 ;
40091 PyObject
* obj1
= 0 ;
40092 PyObject
* obj2
= 0 ;
40093 char * kwnames
[] = {
40094 (char *) "self",(char *) "id",(char *) "helpString", NULL
40097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40099 if (!SWIG_IsOK(res1
)) {
40100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_SetHelpString" "', expected argument " "1"" of type '" "wxMenu *""'");
40102 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40103 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40104 if (!SWIG_IsOK(ecode2
)) {
40105 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_SetHelpString" "', expected argument " "2"" of type '" "int""'");
40107 arg2
= static_cast< int >(val2
);
40109 arg3
= wxString_in_helper(obj2
);
40110 if (arg3
== NULL
) SWIG_fail
;
40114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40115 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
40116 wxPyEndAllowThreads(__tstate
);
40117 if (PyErr_Occurred()) SWIG_fail
;
40119 resultobj
= SWIG_Py_Void();
40134 SWIGINTERN PyObject
*_wrap_Menu_GetHelpString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40135 PyObject
*resultobj
= 0;
40136 wxMenu
*arg1
= (wxMenu
*) 0 ;
40143 PyObject
* obj0
= 0 ;
40144 PyObject
* obj1
= 0 ;
40145 char * kwnames
[] = {
40146 (char *) "self",(char *) "id", NULL
40149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40151 if (!SWIG_IsOK(res1
)) {
40152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetHelpString" "', expected argument " "1"" of type '" "wxMenu const *""'");
40154 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40155 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40156 if (!SWIG_IsOK(ecode2
)) {
40157 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_GetHelpString" "', expected argument " "2"" of type '" "int""'");
40159 arg2
= static_cast< int >(val2
);
40161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40162 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
40163 wxPyEndAllowThreads(__tstate
);
40164 if (PyErr_Occurred()) SWIG_fail
;
40168 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
40170 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
40179 SWIGINTERN PyObject
*_wrap_Menu_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40180 PyObject
*resultobj
= 0;
40181 wxMenu
*arg1
= (wxMenu
*) 0 ;
40182 wxString
*arg2
= 0 ;
40185 bool temp2
= false ;
40186 PyObject
* obj0
= 0 ;
40187 PyObject
* obj1
= 0 ;
40188 char * kwnames
[] = {
40189 (char *) "self",(char *) "title", NULL
40192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40194 if (!SWIG_IsOK(res1
)) {
40195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_SetTitle" "', expected argument " "1"" of type '" "wxMenu *""'");
40197 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40199 arg2
= wxString_in_helper(obj1
);
40200 if (arg2
== NULL
) SWIG_fail
;
40204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40205 (arg1
)->SetTitle((wxString
const &)*arg2
);
40206 wxPyEndAllowThreads(__tstate
);
40207 if (PyErr_Occurred()) SWIG_fail
;
40209 resultobj
= SWIG_Py_Void();
40224 SWIGINTERN PyObject
*_wrap_Menu_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40225 PyObject
*resultobj
= 0;
40226 wxMenu
*arg1
= (wxMenu
*) 0 ;
40230 PyObject
*swig_obj
[1] ;
40232 if (!args
) SWIG_fail
;
40233 swig_obj
[0] = args
;
40234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40235 if (!SWIG_IsOK(res1
)) {
40236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetTitle" "', expected argument " "1"" of type '" "wxMenu const *""'");
40238 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40241 result
= ((wxMenu
const *)arg1
)->GetTitle();
40242 wxPyEndAllowThreads(__tstate
);
40243 if (PyErr_Occurred()) SWIG_fail
;
40247 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
40249 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
40258 SWIGINTERN PyObject
*_wrap_Menu_SetEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40259 PyObject
*resultobj
= 0;
40260 wxMenu
*arg1
= (wxMenu
*) 0 ;
40261 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
40266 PyObject
* obj0
= 0 ;
40267 PyObject
* obj1
= 0 ;
40268 char * kwnames
[] = {
40269 (char *) "self",(char *) "handler", NULL
40272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40274 if (!SWIG_IsOK(res1
)) {
40275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_SetEventHandler" "', expected argument " "1"" of type '" "wxMenu *""'");
40277 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40278 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
40279 if (!SWIG_IsOK(res2
)) {
40280 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_SetEventHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
40282 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
40284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40285 (arg1
)->SetEventHandler(arg2
);
40286 wxPyEndAllowThreads(__tstate
);
40287 if (PyErr_Occurred()) SWIG_fail
;
40289 resultobj
= SWIG_Py_Void();
40296 SWIGINTERN PyObject
*_wrap_Menu_GetEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40297 PyObject
*resultobj
= 0;
40298 wxMenu
*arg1
= (wxMenu
*) 0 ;
40299 wxEvtHandler
*result
= 0 ;
40302 PyObject
*swig_obj
[1] ;
40304 if (!args
) SWIG_fail
;
40305 swig_obj
[0] = args
;
40306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40307 if (!SWIG_IsOK(res1
)) {
40308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetEventHandler" "', expected argument " "1"" of type '" "wxMenu const *""'");
40310 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40313 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
40314 wxPyEndAllowThreads(__tstate
);
40315 if (PyErr_Occurred()) SWIG_fail
;
40318 resultobj
= wxPyMake_wxObject(result
, 0);
40326 SWIGINTERN PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40327 PyObject
*resultobj
= 0;
40328 wxMenu
*arg1
= (wxMenu
*) 0 ;
40329 wxWindow
*arg2
= (wxWindow
*) 0 ;
40334 PyObject
* obj0
= 0 ;
40335 PyObject
* obj1
= 0 ;
40336 char * kwnames
[] = {
40337 (char *) "self",(char *) "win", NULL
40340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40342 if (!SWIG_IsOK(res1
)) {
40343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_SetInvokingWindow" "', expected argument " "1"" of type '" "wxMenu *""'");
40345 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40346 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40347 if (!SWIG_IsOK(res2
)) {
40348 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_SetInvokingWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
40350 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40353 (arg1
)->SetInvokingWindow(arg2
);
40354 wxPyEndAllowThreads(__tstate
);
40355 if (PyErr_Occurred()) SWIG_fail
;
40357 resultobj
= SWIG_Py_Void();
40364 SWIGINTERN PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40365 PyObject
*resultobj
= 0;
40366 wxMenu
*arg1
= (wxMenu
*) 0 ;
40367 wxWindow
*result
= 0 ;
40370 PyObject
*swig_obj
[1] ;
40372 if (!args
) SWIG_fail
;
40373 swig_obj
[0] = args
;
40374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40375 if (!SWIG_IsOK(res1
)) {
40376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetInvokingWindow" "', expected argument " "1"" of type '" "wxMenu const *""'");
40378 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40381 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
40382 wxPyEndAllowThreads(__tstate
);
40383 if (PyErr_Occurred()) SWIG_fail
;
40386 resultobj
= wxPyMake_wxObject(result
, 0);
40394 SWIGINTERN PyObject
*_wrap_Menu_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40395 PyObject
*resultobj
= 0;
40396 wxMenu
*arg1
= (wxMenu
*) 0 ;
40400 PyObject
*swig_obj
[1] ;
40402 if (!args
) SWIG_fail
;
40403 swig_obj
[0] = args
;
40404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40405 if (!SWIG_IsOK(res1
)) {
40406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetStyle" "', expected argument " "1"" of type '" "wxMenu const *""'");
40408 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40411 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
40412 wxPyEndAllowThreads(__tstate
);
40413 if (PyErr_Occurred()) SWIG_fail
;
40415 resultobj
= SWIG_From_long(static_cast< long >(result
));
40422 SWIGINTERN PyObject
*_wrap_Menu_UpdateUI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40423 PyObject
*resultobj
= 0;
40424 wxMenu
*arg1
= (wxMenu
*) 0 ;
40425 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
40430 PyObject
* obj0
= 0 ;
40431 PyObject
* obj1
= 0 ;
40432 char * kwnames
[] = {
40433 (char *) "self",(char *) "source", NULL
40436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40438 if (!SWIG_IsOK(res1
)) {
40439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_UpdateUI" "', expected argument " "1"" of type '" "wxMenu *""'");
40441 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40443 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
40444 if (!SWIG_IsOK(res2
)) {
40445 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_UpdateUI" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
40447 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
40450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40451 (arg1
)->UpdateUI(arg2
);
40452 wxPyEndAllowThreads(__tstate
);
40453 if (PyErr_Occurred()) SWIG_fail
;
40455 resultobj
= SWIG_Py_Void();
40462 SWIGINTERN PyObject
*_wrap_Menu_GetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40463 PyObject
*resultobj
= 0;
40464 wxMenu
*arg1
= (wxMenu
*) 0 ;
40465 wxMenuBar
*result
= 0 ;
40468 PyObject
*swig_obj
[1] ;
40470 if (!args
) SWIG_fail
;
40471 swig_obj
[0] = args
;
40472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40473 if (!SWIG_IsOK(res1
)) {
40474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetMenuBar" "', expected argument " "1"" of type '" "wxMenu const *""'");
40476 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40479 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
40480 wxPyEndAllowThreads(__tstate
);
40481 if (PyErr_Occurred()) SWIG_fail
;
40484 resultobj
= wxPyMake_wxObject(result
, (bool)0);
40492 SWIGINTERN PyObject
*_wrap_Menu_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40493 PyObject
*resultobj
= 0;
40494 wxMenu
*arg1
= (wxMenu
*) 0 ;
40495 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
40500 PyObject
* obj0
= 0 ;
40501 PyObject
* obj1
= 0 ;
40502 char * kwnames
[] = {
40503 (char *) "self",(char *) "menubar", NULL
40506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40508 if (!SWIG_IsOK(res1
)) {
40509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Attach" "', expected argument " "1"" of type '" "wxMenu *""'");
40511 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40512 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBarBase
, 0 | 0 );
40513 if (!SWIG_IsOK(res2
)) {
40514 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_Attach" "', expected argument " "2"" of type '" "wxMenuBarBase *""'");
40516 arg2
= reinterpret_cast< wxMenuBarBase
* >(argp2
);
40518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40519 (arg1
)->Attach(arg2
);
40520 wxPyEndAllowThreads(__tstate
);
40521 if (PyErr_Occurred()) SWIG_fail
;
40523 resultobj
= SWIG_Py_Void();
40530 SWIGINTERN PyObject
*_wrap_Menu_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40531 PyObject
*resultobj
= 0;
40532 wxMenu
*arg1
= (wxMenu
*) 0 ;
40535 PyObject
*swig_obj
[1] ;
40537 if (!args
) SWIG_fail
;
40538 swig_obj
[0] = args
;
40539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40540 if (!SWIG_IsOK(res1
)) {
40541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Detach" "', expected argument " "1"" of type '" "wxMenu *""'");
40543 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40547 wxPyEndAllowThreads(__tstate
);
40548 if (PyErr_Occurred()) SWIG_fail
;
40550 resultobj
= SWIG_Py_Void();
40557 SWIGINTERN PyObject
*_wrap_Menu_IsAttached(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40558 PyObject
*resultobj
= 0;
40559 wxMenu
*arg1
= (wxMenu
*) 0 ;
40563 PyObject
*swig_obj
[1] ;
40565 if (!args
) SWIG_fail
;
40566 swig_obj
[0] = args
;
40567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40568 if (!SWIG_IsOK(res1
)) {
40569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_IsAttached" "', expected argument " "1"" of type '" "wxMenu const *""'");
40571 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40574 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
40575 wxPyEndAllowThreads(__tstate
);
40576 if (PyErr_Occurred()) SWIG_fail
;
40579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40587 SWIGINTERN PyObject
*_wrap_Menu_SetParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40588 PyObject
*resultobj
= 0;
40589 wxMenu
*arg1
= (wxMenu
*) 0 ;
40590 wxMenu
*arg2
= (wxMenu
*) 0 ;
40595 PyObject
* obj0
= 0 ;
40596 PyObject
* obj1
= 0 ;
40597 char * kwnames
[] = {
40598 (char *) "self",(char *) "parent", NULL
40601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40603 if (!SWIG_IsOK(res1
)) {
40604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_SetParent" "', expected argument " "1"" of type '" "wxMenu *""'");
40606 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40607 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40608 if (!SWIG_IsOK(res2
)) {
40609 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_SetParent" "', expected argument " "2"" of type '" "wxMenu *""'");
40611 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
40613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40614 (arg1
)->SetParent(arg2
);
40615 wxPyEndAllowThreads(__tstate
);
40616 if (PyErr_Occurred()) SWIG_fail
;
40618 resultobj
= SWIG_Py_Void();
40625 SWIGINTERN PyObject
*_wrap_Menu_GetParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40626 PyObject
*resultobj
= 0;
40627 wxMenu
*arg1
= (wxMenu
*) 0 ;
40628 wxMenu
*result
= 0 ;
40631 PyObject
*swig_obj
[1] ;
40633 if (!args
) SWIG_fail
;
40634 swig_obj
[0] = args
;
40635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40636 if (!SWIG_IsOK(res1
)) {
40637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetParent" "', expected argument " "1"" of type '" "wxMenu const *""'");
40639 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40642 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
40643 wxPyEndAllowThreads(__tstate
);
40644 if (PyErr_Occurred()) SWIG_fail
;
40647 resultobj
= wxPyMake_wxObject(result
, 0);
40655 SWIGINTERN PyObject
*Menu_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40657 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40658 SWIG_TypeNewClientData(SWIGTYPE_p_wxMenu
, SWIG_NewClientData(obj
));
40659 return SWIG_Py_Void();
40662 SWIGINTERN PyObject
*Menu_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40663 return SWIG_Python_InitShadowInstance(args
);
40666 SWIGINTERN PyObject
*_wrap_new_MenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40667 PyObject
*resultobj
= 0;
40668 long arg1
= (long) 0 ;
40669 wxMenuBar
*result
= 0 ;
40672 PyObject
* obj0
= 0 ;
40673 char * kwnames
[] = {
40674 (char *) "style", NULL
40677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) SWIG_fail
;
40679 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
40680 if (!SWIG_IsOK(ecode1
)) {
40681 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_MenuBar" "', expected argument " "1"" of type '" "long""'");
40683 arg1
= static_cast< long >(val1
);
40686 if (!wxPyCheckForApp()) SWIG_fail
;
40687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40688 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
40689 wxPyEndAllowThreads(__tstate
);
40690 if (PyErr_Occurred()) SWIG_fail
;
40692 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_NEW
| 0 );
40699 SWIGINTERN PyObject
*_wrap_MenuBar_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40700 PyObject
*resultobj
= 0;
40701 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
40702 wxMenu
*arg2
= (wxMenu
*) 0 ;
40703 wxString
*arg3
= 0 ;
40709 bool temp3
= false ;
40710 PyObject
* obj0
= 0 ;
40711 PyObject
* obj1
= 0 ;
40712 PyObject
* obj2
= 0 ;
40713 char * kwnames
[] = {
40714 (char *) "self",(char *) "menu",(char *) "title", NULL
40717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
40719 if (!SWIG_IsOK(res1
)) {
40720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Append" "', expected argument " "1"" of type '" "wxMenuBar *""'");
40722 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
40723 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40724 if (!SWIG_IsOK(res2
)) {
40725 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuBar_Append" "', expected argument " "2"" of type '" "wxMenu *""'");
40727 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
40729 arg3
= wxString_in_helper(obj2
);
40730 if (arg3
== NULL
) SWIG_fail
;
40734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40735 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
40736 wxPyEndAllowThreads(__tstate
);
40737 if (PyErr_Occurred()) SWIG_fail
;
40740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40756 SWIGINTERN PyObject
*_wrap_MenuBar_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40757 PyObject
*resultobj
= 0;
40758 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
40760 wxMenu
*arg3
= (wxMenu
*) 0 ;
40761 wxString
*arg4
= 0 ;
40769 bool temp4
= false ;
40770 PyObject
* obj0
= 0 ;
40771 PyObject
* obj1
= 0 ;
40772 PyObject
* obj2
= 0 ;
40773 PyObject
* obj3
= 0 ;
40774 char * kwnames
[] = {
40775 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
40778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
40780 if (!SWIG_IsOK(res1
)) {
40781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Insert" "', expected argument " "1"" of type '" "wxMenuBar *""'");
40783 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
40784 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
40785 if (!SWIG_IsOK(ecode2
)) {
40786 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_Insert" "', expected argument " "2"" of type '" "size_t""'");
40788 arg2
= static_cast< size_t >(val2
);
40789 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40790 if (!SWIG_IsOK(res3
)) {
40791 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "MenuBar_Insert" "', expected argument " "3"" of type '" "wxMenu *""'");
40793 arg3
= reinterpret_cast< wxMenu
* >(argp3
);
40795 arg4
= wxString_in_helper(obj3
);
40796 if (arg4
== NULL
) SWIG_fail
;
40800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40801 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
40802 wxPyEndAllowThreads(__tstate
);
40803 if (PyErr_Occurred()) SWIG_fail
;
40806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40822 SWIGINTERN PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40823 PyObject
*resultobj
= 0;
40824 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
40828 PyObject
*swig_obj
[1] ;
40830 if (!args
) SWIG_fail
;
40831 swig_obj
[0] = args
;
40832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
40833 if (!SWIG_IsOK(res1
)) {
40834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_GetMenuCount" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
40836 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
40838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40839 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
40840 wxPyEndAllowThreads(__tstate
);
40841 if (PyErr_Occurred()) SWIG_fail
;
40843 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
40850 SWIGINTERN PyObject
*_wrap_MenuBar_GetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40851 PyObject
*resultobj
= 0;
40852 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
40854 wxMenu
*result
= 0 ;
40859 PyObject
* obj0
= 0 ;
40860 PyObject
* obj1
= 0 ;
40861 char * kwnames
[] = {
40862 (char *) "self",(char *) "pos", NULL
40865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
40867 if (!SWIG_IsOK(res1
)) {
40868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_GetMenu" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
40870 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
40871 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
40872 if (!SWIG_IsOK(ecode2
)) {
40873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_GetMenu" "', expected argument " "2"" of type '" "size_t""'");
40875 arg2
= static_cast< size_t >(val2
);
40877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40878 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
40879 wxPyEndAllowThreads(__tstate
);
40880 if (PyErr_Occurred()) SWIG_fail
;
40883 resultobj
= wxPyMake_wxObject(result
, 0);
40891 SWIGINTERN PyObject
*_wrap_MenuBar_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40892 PyObject
*resultobj
= 0;
40893 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
40895 wxMenu
*arg3
= (wxMenu
*) 0 ;
40896 wxString
*arg4
= 0 ;
40897 wxMenu
*result
= 0 ;
40904 bool temp4
= false ;
40905 PyObject
* obj0
= 0 ;
40906 PyObject
* obj1
= 0 ;
40907 PyObject
* obj2
= 0 ;
40908 PyObject
* obj3
= 0 ;
40909 char * kwnames
[] = {
40910 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
40913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
40915 if (!SWIG_IsOK(res1
)) {
40916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Replace" "', expected argument " "1"" of type '" "wxMenuBar *""'");
40918 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
40919 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
40920 if (!SWIG_IsOK(ecode2
)) {
40921 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_Replace" "', expected argument " "2"" of type '" "size_t""'");
40923 arg2
= static_cast< size_t >(val2
);
40924 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40925 if (!SWIG_IsOK(res3
)) {
40926 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "MenuBar_Replace" "', expected argument " "3"" of type '" "wxMenu *""'");
40928 arg3
= reinterpret_cast< wxMenu
* >(argp3
);
40930 arg4
= wxString_in_helper(obj3
);
40931 if (arg4
== NULL
) SWIG_fail
;
40935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40936 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
40937 wxPyEndAllowThreads(__tstate
);
40938 if (PyErr_Occurred()) SWIG_fail
;
40941 resultobj
= wxPyMake_wxObject(result
, 0);
40957 SWIGINTERN PyObject
*_wrap_MenuBar_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40958 PyObject
*resultobj
= 0;
40959 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
40961 wxMenu
*result
= 0 ;
40966 PyObject
* obj0
= 0 ;
40967 PyObject
* obj1
= 0 ;
40968 char * kwnames
[] = {
40969 (char *) "self",(char *) "pos", NULL
40972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
40974 if (!SWIG_IsOK(res1
)) {
40975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Remove" "', expected argument " "1"" of type '" "wxMenuBar *""'");
40977 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
40978 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
40979 if (!SWIG_IsOK(ecode2
)) {
40980 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_Remove" "', expected argument " "2"" of type '" "size_t""'");
40982 arg2
= static_cast< size_t >(val2
);
40984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40985 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
40986 wxPyEndAllowThreads(__tstate
);
40987 if (PyErr_Occurred()) SWIG_fail
;
40990 resultobj
= wxPyMake_wxObject(result
, 0);
40998 SWIGINTERN PyObject
*_wrap_MenuBar_EnableTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40999 PyObject
*resultobj
= 0;
41000 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41009 PyObject
* obj0
= 0 ;
41010 PyObject
* obj1
= 0 ;
41011 PyObject
* obj2
= 0 ;
41012 char * kwnames
[] = {
41013 (char *) "self",(char *) "pos",(char *) "enable", NULL
41016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41018 if (!SWIG_IsOK(res1
)) {
41019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_EnableTop" "', expected argument " "1"" of type '" "wxMenuBar *""'");
41021 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41022 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
41023 if (!SWIG_IsOK(ecode2
)) {
41024 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_EnableTop" "', expected argument " "2"" of type '" "size_t""'");
41026 arg2
= static_cast< size_t >(val2
);
41027 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
41028 if (!SWIG_IsOK(ecode3
)) {
41029 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MenuBar_EnableTop" "', expected argument " "3"" of type '" "bool""'");
41031 arg3
= static_cast< bool >(val3
);
41033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41034 (arg1
)->EnableTop(arg2
,arg3
);
41035 wxPyEndAllowThreads(__tstate
);
41036 if (PyErr_Occurred()) SWIG_fail
;
41038 resultobj
= SWIG_Py_Void();
41045 SWIGINTERN PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41046 PyObject
*resultobj
= 0;
41047 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41054 PyObject
* obj0
= 0 ;
41055 PyObject
* obj1
= 0 ;
41056 char * kwnames
[] = {
41057 (char *) "self",(char *) "pos", NULL
41060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41062 if (!SWIG_IsOK(res1
)) {
41063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_IsEnabledTop" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
41065 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41066 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
41067 if (!SWIG_IsOK(ecode2
)) {
41068 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_IsEnabledTop" "', expected argument " "2"" of type '" "size_t""'");
41070 arg2
= static_cast< size_t >(val2
);
41072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41073 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
41074 wxPyEndAllowThreads(__tstate
);
41075 if (PyErr_Occurred()) SWIG_fail
;
41078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41086 SWIGINTERN PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41087 PyObject
*resultobj
= 0;
41088 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41090 wxString
*arg3
= 0 ;
41095 bool temp3
= false ;
41096 PyObject
* obj0
= 0 ;
41097 PyObject
* obj1
= 0 ;
41098 PyObject
* obj2
= 0 ;
41099 char * kwnames
[] = {
41100 (char *) "self",(char *) "pos",(char *) "label", NULL
41103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41105 if (!SWIG_IsOK(res1
)) {
41106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_SetLabelTop" "', expected argument " "1"" of type '" "wxMenuBar *""'");
41108 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41109 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
41110 if (!SWIG_IsOK(ecode2
)) {
41111 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_SetLabelTop" "', expected argument " "2"" of type '" "size_t""'");
41113 arg2
= static_cast< size_t >(val2
);
41115 arg3
= wxString_in_helper(obj2
);
41116 if (arg3
== NULL
) SWIG_fail
;
41120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41121 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
41122 wxPyEndAllowThreads(__tstate
);
41123 if (PyErr_Occurred()) SWIG_fail
;
41125 resultobj
= SWIG_Py_Void();
41140 SWIGINTERN PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41141 PyObject
*resultobj
= 0;
41142 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41149 PyObject
* obj0
= 0 ;
41150 PyObject
* obj1
= 0 ;
41151 char * kwnames
[] = {
41152 (char *) "self",(char *) "pos", NULL
41155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41157 if (!SWIG_IsOK(res1
)) {
41158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_GetLabelTop" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
41160 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41161 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
41162 if (!SWIG_IsOK(ecode2
)) {
41163 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_GetLabelTop" "', expected argument " "2"" of type '" "size_t""'");
41165 arg2
= static_cast< size_t >(val2
);
41167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41168 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
41169 wxPyEndAllowThreads(__tstate
);
41170 if (PyErr_Occurred()) SWIG_fail
;
41174 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
41176 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
41185 SWIGINTERN PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41186 PyObject
*resultobj
= 0;
41187 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41188 wxString
*arg2
= 0 ;
41189 wxString
*arg3
= 0 ;
41193 bool temp2
= false ;
41194 bool temp3
= false ;
41195 PyObject
* obj0
= 0 ;
41196 PyObject
* obj1
= 0 ;
41197 PyObject
* obj2
= 0 ;
41198 char * kwnames
[] = {
41199 (char *) "self",(char *) "menu",(char *) "item", NULL
41202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41204 if (!SWIG_IsOK(res1
)) {
41205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_FindMenuItem" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
41207 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41209 arg2
= wxString_in_helper(obj1
);
41210 if (arg2
== NULL
) SWIG_fail
;
41214 arg3
= wxString_in_helper(obj2
);
41215 if (arg3
== NULL
) SWIG_fail
;
41219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41220 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
41221 wxPyEndAllowThreads(__tstate
);
41222 if (PyErr_Occurred()) SWIG_fail
;
41224 resultobj
= SWIG_From_int(static_cast< int >(result
));
41247 SWIGINTERN PyObject
*_wrap_MenuBar_FindItemById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41248 PyObject
*resultobj
= 0;
41249 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41251 wxMenuItem
*result
= 0 ;
41256 PyObject
* obj0
= 0 ;
41257 PyObject
* obj1
= 0 ;
41258 char * kwnames
[] = {
41259 (char *) "self",(char *) "id", NULL
41262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41264 if (!SWIG_IsOK(res1
)) {
41265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_FindItemById" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
41267 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41268 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41269 if (!SWIG_IsOK(ecode2
)) {
41270 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_FindItemById" "', expected argument " "2"" of type '" "int""'");
41272 arg2
= static_cast< int >(val2
);
41274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41275 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
41276 wxPyEndAllowThreads(__tstate
);
41277 if (PyErr_Occurred()) SWIG_fail
;
41280 resultobj
= wxPyMake_wxObject(result
, (bool)0);
41288 SWIGINTERN PyObject
*_wrap_MenuBar_FindMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41289 PyObject
*resultobj
= 0;
41290 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41291 wxString
*arg2
= 0 ;
41295 bool temp2
= false ;
41296 PyObject
* obj0
= 0 ;
41297 PyObject
* obj1
= 0 ;
41298 char * kwnames
[] = {
41299 (char *) "self",(char *) "title", NULL
41302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41304 if (!SWIG_IsOK(res1
)) {
41305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_FindMenu" "', expected argument " "1"" of type '" "wxMenuBar *""'");
41307 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41309 arg2
= wxString_in_helper(obj1
);
41310 if (arg2
== NULL
) SWIG_fail
;
41314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41315 result
= (int)(arg1
)->FindMenu((wxString
const &)*arg2
);
41316 wxPyEndAllowThreads(__tstate
);
41317 if (PyErr_Occurred()) SWIG_fail
;
41319 resultobj
= SWIG_From_int(static_cast< int >(result
));
41334 SWIGINTERN PyObject
*_wrap_MenuBar_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41335 PyObject
*resultobj
= 0;
41336 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41345 PyObject
* obj0
= 0 ;
41346 PyObject
* obj1
= 0 ;
41347 PyObject
* obj2
= 0 ;
41348 char * kwnames
[] = {
41349 (char *) "self",(char *) "id",(char *) "enable", NULL
41352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41354 if (!SWIG_IsOK(res1
)) {
41355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Enable" "', expected argument " "1"" of type '" "wxMenuBar *""'");
41357 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41358 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41359 if (!SWIG_IsOK(ecode2
)) {
41360 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_Enable" "', expected argument " "2"" of type '" "int""'");
41362 arg2
= static_cast< int >(val2
);
41363 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
41364 if (!SWIG_IsOK(ecode3
)) {
41365 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MenuBar_Enable" "', expected argument " "3"" of type '" "bool""'");
41367 arg3
= static_cast< bool >(val3
);
41369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41370 (arg1
)->Enable(arg2
,arg3
);
41371 wxPyEndAllowThreads(__tstate
);
41372 if (PyErr_Occurred()) SWIG_fail
;
41374 resultobj
= SWIG_Py_Void();
41381 SWIGINTERN PyObject
*_wrap_MenuBar_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41382 PyObject
*resultobj
= 0;
41383 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41392 PyObject
* obj0
= 0 ;
41393 PyObject
* obj1
= 0 ;
41394 PyObject
* obj2
= 0 ;
41395 char * kwnames
[] = {
41396 (char *) "self",(char *) "id",(char *) "check", NULL
41399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41401 if (!SWIG_IsOK(res1
)) {
41402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Check" "', expected argument " "1"" of type '" "wxMenuBar *""'");
41404 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41405 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41406 if (!SWIG_IsOK(ecode2
)) {
41407 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_Check" "', expected argument " "2"" of type '" "int""'");
41409 arg2
= static_cast< int >(val2
);
41410 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
41411 if (!SWIG_IsOK(ecode3
)) {
41412 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MenuBar_Check" "', expected argument " "3"" of type '" "bool""'");
41414 arg3
= static_cast< bool >(val3
);
41416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41417 (arg1
)->Check(arg2
,arg3
);
41418 wxPyEndAllowThreads(__tstate
);
41419 if (PyErr_Occurred()) SWIG_fail
;
41421 resultobj
= SWIG_Py_Void();
41428 SWIGINTERN PyObject
*_wrap_MenuBar_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41429 PyObject
*resultobj
= 0;
41430 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41437 PyObject
* obj0
= 0 ;
41438 PyObject
* obj1
= 0 ;
41439 char * kwnames
[] = {
41440 (char *) "self",(char *) "id", NULL
41443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41445 if (!SWIG_IsOK(res1
)) {
41446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_IsChecked" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
41448 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41449 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41450 if (!SWIG_IsOK(ecode2
)) {
41451 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_IsChecked" "', expected argument " "2"" of type '" "int""'");
41453 arg2
= static_cast< int >(val2
);
41455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41456 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
41457 wxPyEndAllowThreads(__tstate
);
41458 if (PyErr_Occurred()) SWIG_fail
;
41461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41469 SWIGINTERN PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41470 PyObject
*resultobj
= 0;
41471 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41478 PyObject
* obj0
= 0 ;
41479 PyObject
* obj1
= 0 ;
41480 char * kwnames
[] = {
41481 (char *) "self",(char *) "id", NULL
41484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41486 if (!SWIG_IsOK(res1
)) {
41487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_IsEnabled" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
41489 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41490 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41491 if (!SWIG_IsOK(ecode2
)) {
41492 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_IsEnabled" "', expected argument " "2"" of type '" "int""'");
41494 arg2
= static_cast< int >(val2
);
41496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41497 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
41498 wxPyEndAllowThreads(__tstate
);
41499 if (PyErr_Occurred()) SWIG_fail
;
41502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41510 SWIGINTERN PyObject
*_wrap_MenuBar_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41511 PyObject
*resultobj
= 0;
41512 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41514 wxString
*arg3
= 0 ;
41519 bool temp3
= false ;
41520 PyObject
* obj0
= 0 ;
41521 PyObject
* obj1
= 0 ;
41522 PyObject
* obj2
= 0 ;
41523 char * kwnames
[] = {
41524 (char *) "self",(char *) "id",(char *) "label", NULL
41527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41529 if (!SWIG_IsOK(res1
)) {
41530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_SetLabel" "', expected argument " "1"" of type '" "wxMenuBar *""'");
41532 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41533 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41534 if (!SWIG_IsOK(ecode2
)) {
41535 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_SetLabel" "', expected argument " "2"" of type '" "int""'");
41537 arg2
= static_cast< int >(val2
);
41539 arg3
= wxString_in_helper(obj2
);
41540 if (arg3
== NULL
) SWIG_fail
;
41544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41545 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
41546 wxPyEndAllowThreads(__tstate
);
41547 if (PyErr_Occurred()) SWIG_fail
;
41549 resultobj
= SWIG_Py_Void();
41564 SWIGINTERN PyObject
*_wrap_MenuBar_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41565 PyObject
*resultobj
= 0;
41566 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41573 PyObject
* obj0
= 0 ;
41574 PyObject
* obj1
= 0 ;
41575 char * kwnames
[] = {
41576 (char *) "self",(char *) "id", NULL
41579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41581 if (!SWIG_IsOK(res1
)) {
41582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_GetLabel" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
41584 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41585 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41586 if (!SWIG_IsOK(ecode2
)) {
41587 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_GetLabel" "', expected argument " "2"" of type '" "int""'");
41589 arg2
= static_cast< int >(val2
);
41591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41592 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
41593 wxPyEndAllowThreads(__tstate
);
41594 if (PyErr_Occurred()) SWIG_fail
;
41598 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
41600 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
41609 SWIGINTERN PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41610 PyObject
*resultobj
= 0;
41611 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41613 wxString
*arg3
= 0 ;
41618 bool temp3
= false ;
41619 PyObject
* obj0
= 0 ;
41620 PyObject
* obj1
= 0 ;
41621 PyObject
* obj2
= 0 ;
41622 char * kwnames
[] = {
41623 (char *) "self",(char *) "id",(char *) "helpString", NULL
41626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41628 if (!SWIG_IsOK(res1
)) {
41629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_SetHelpString" "', expected argument " "1"" of type '" "wxMenuBar *""'");
41631 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41632 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41633 if (!SWIG_IsOK(ecode2
)) {
41634 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_SetHelpString" "', expected argument " "2"" of type '" "int""'");
41636 arg2
= static_cast< int >(val2
);
41638 arg3
= wxString_in_helper(obj2
);
41639 if (arg3
== NULL
) SWIG_fail
;
41643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41644 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
41645 wxPyEndAllowThreads(__tstate
);
41646 if (PyErr_Occurred()) SWIG_fail
;
41648 resultobj
= SWIG_Py_Void();
41663 SWIGINTERN PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41664 PyObject
*resultobj
= 0;
41665 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41672 PyObject
* obj0
= 0 ;
41673 PyObject
* obj1
= 0 ;
41674 char * kwnames
[] = {
41675 (char *) "self",(char *) "id", NULL
41678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41680 if (!SWIG_IsOK(res1
)) {
41681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_GetHelpString" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
41683 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41684 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41685 if (!SWIG_IsOK(ecode2
)) {
41686 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_GetHelpString" "', expected argument " "2"" of type '" "int""'");
41688 arg2
= static_cast< int >(val2
);
41690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41691 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
41692 wxPyEndAllowThreads(__tstate
);
41693 if (PyErr_Occurred()) SWIG_fail
;
41697 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
41699 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
41708 SWIGINTERN PyObject
*_wrap_MenuBar_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41709 PyObject
*resultobj
= 0;
41710 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41711 wxFrame
*result
= 0 ;
41714 PyObject
*swig_obj
[1] ;
41716 if (!args
) SWIG_fail
;
41717 swig_obj
[0] = args
;
41718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41719 if (!SWIG_IsOK(res1
)) {
41720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_GetFrame" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
41722 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41725 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
41726 wxPyEndAllowThreads(__tstate
);
41727 if (PyErr_Occurred()) SWIG_fail
;
41730 resultobj
= wxPyMake_wxObject(result
, (bool)0);
41738 SWIGINTERN PyObject
*_wrap_MenuBar_IsAttached(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41739 PyObject
*resultobj
= 0;
41740 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41744 PyObject
*swig_obj
[1] ;
41746 if (!args
) SWIG_fail
;
41747 swig_obj
[0] = args
;
41748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41749 if (!SWIG_IsOK(res1
)) {
41750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_IsAttached" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
41752 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41755 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
41756 wxPyEndAllowThreads(__tstate
);
41757 if (PyErr_Occurred()) SWIG_fail
;
41760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41768 SWIGINTERN PyObject
*_wrap_MenuBar_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41769 PyObject
*resultobj
= 0;
41770 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41771 wxFrame
*arg2
= (wxFrame
*) 0 ;
41776 PyObject
* obj0
= 0 ;
41777 PyObject
* obj1
= 0 ;
41778 char * kwnames
[] = {
41779 (char *) "self",(char *) "frame", NULL
41782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41784 if (!SWIG_IsOK(res1
)) {
41785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Attach" "', expected argument " "1"" of type '" "wxMenuBar *""'");
41787 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41788 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
41789 if (!SWIG_IsOK(res2
)) {
41790 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuBar_Attach" "', expected argument " "2"" of type '" "wxFrame *""'");
41792 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
41794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41795 (arg1
)->Attach(arg2
);
41796 wxPyEndAllowThreads(__tstate
);
41797 if (PyErr_Occurred()) SWIG_fail
;
41799 resultobj
= SWIG_Py_Void();
41806 SWIGINTERN PyObject
*_wrap_MenuBar_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41807 PyObject
*resultobj
= 0;
41808 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41811 PyObject
*swig_obj
[1] ;
41813 if (!args
) SWIG_fail
;
41814 swig_obj
[0] = args
;
41815 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41816 if (!SWIG_IsOK(res1
)) {
41817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Detach" "', expected argument " "1"" of type '" "wxMenuBar *""'");
41819 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41823 wxPyEndAllowThreads(__tstate
);
41824 if (PyErr_Occurred()) SWIG_fail
;
41826 resultobj
= SWIG_Py_Void();
41833 SWIGINTERN PyObject
*_wrap_MenuBar_SetAutoWindowMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41834 PyObject
*resultobj
= 0;
41838 PyObject
* obj0
= 0 ;
41839 char * kwnames
[] = {
41840 (char *) "enable", NULL
41843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_SetAutoWindowMenu",kwnames
,&obj0
)) SWIG_fail
;
41844 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
41845 if (!SWIG_IsOK(ecode1
)) {
41846 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "MenuBar_SetAutoWindowMenu" "', expected argument " "1"" of type '" "bool""'");
41848 arg1
= static_cast< bool >(val1
);
41850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41851 wxMenuBar_SetAutoWindowMenu(arg1
);
41852 wxPyEndAllowThreads(__tstate
);
41853 if (PyErr_Occurred()) SWIG_fail
;
41855 resultobj
= SWIG_Py_Void();
41862 SWIGINTERN PyObject
*_wrap_MenuBar_GetAutoWindowMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41863 PyObject
*resultobj
= 0;
41866 if (!SWIG_Python_UnpackTuple(args
,"MenuBar_GetAutoWindowMenu",0,0,0)) SWIG_fail
;
41868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41869 result
= (bool)wxMenuBar_GetAutoWindowMenu();
41870 wxPyEndAllowThreads(__tstate
);
41871 if (PyErr_Occurred()) SWIG_fail
;
41874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41882 SWIGINTERN PyObject
*MenuBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41884 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41885 SWIG_TypeNewClientData(SWIGTYPE_p_wxMenuBar
, SWIG_NewClientData(obj
));
41886 return SWIG_Py_Void();
41889 SWIGINTERN PyObject
*MenuBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41890 return SWIG_Python_InitShadowInstance(args
);
41893 SWIGINTERN PyObject
*_wrap_new_MenuItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41894 PyObject
*resultobj
= 0;
41895 wxMenu
*arg1
= (wxMenu
*) NULL
;
41896 int arg2
= (int) wxID_ANY
;
41897 wxString
const &arg3_defvalue
= wxPyEmptyString
;
41898 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
41899 wxString
const &arg4_defvalue
= wxPyEmptyString
;
41900 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
41901 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
41902 wxMenu
*arg6
= (wxMenu
*) NULL
;
41903 wxMenuItem
*result
= 0 ;
41908 bool temp3
= false ;
41909 bool temp4
= false ;
41914 PyObject
* obj0
= 0 ;
41915 PyObject
* obj1
= 0 ;
41916 PyObject
* obj2
= 0 ;
41917 PyObject
* obj3
= 0 ;
41918 PyObject
* obj4
= 0 ;
41919 PyObject
* obj5
= 0 ;
41920 char * kwnames
[] = {
41921 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
41924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
41926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41927 if (!SWIG_IsOK(res1
)) {
41928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MenuItem" "', expected argument " "1"" of type '" "wxMenu *""'");
41930 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
41933 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41934 if (!SWIG_IsOK(ecode2
)) {
41935 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MenuItem" "', expected argument " "2"" of type '" "int""'");
41937 arg2
= static_cast< int >(val2
);
41941 arg3
= wxString_in_helper(obj2
);
41942 if (arg3
== NULL
) SWIG_fail
;
41948 arg4
= wxString_in_helper(obj3
);
41949 if (arg4
== NULL
) SWIG_fail
;
41954 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
41955 if (!SWIG_IsOK(ecode5
)) {
41956 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_MenuItem" "', expected argument " "5"" of type '" "wxItemKind""'");
41958 arg5
= static_cast< wxItemKind
>(val5
);
41961 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41962 if (!SWIG_IsOK(res6
)) {
41963 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_MenuItem" "', expected argument " "6"" of type '" "wxMenu *""'");
41965 arg6
= reinterpret_cast< wxMenu
* >(argp6
);
41968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41969 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
41970 wxPyEndAllowThreads(__tstate
);
41971 if (PyErr_Occurred()) SWIG_fail
;
41974 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
41998 SWIGINTERN PyObject
*_wrap_delete_MenuItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41999 PyObject
*resultobj
= 0;
42000 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42003 PyObject
*swig_obj
[1] ;
42005 if (!args
) SWIG_fail
;
42006 swig_obj
[0] = args
;
42007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_DISOWN
| 0 );
42008 if (!SWIG_IsOK(res1
)) {
42009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MenuItem" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42011 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42016 wxPyEndAllowThreads(__tstate
);
42017 if (PyErr_Occurred()) SWIG_fail
;
42019 resultobj
= SWIG_Py_Void();
42026 SWIGINTERN PyObject
*_wrap_MenuItem_GetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42027 PyObject
*resultobj
= 0;
42028 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42029 wxMenu
*result
= 0 ;
42032 PyObject
*swig_obj
[1] ;
42034 if (!args
) SWIG_fail
;
42035 swig_obj
[0] = args
;
42036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42037 if (!SWIG_IsOK(res1
)) {
42038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetMenu" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42040 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42043 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
42044 wxPyEndAllowThreads(__tstate
);
42045 if (PyErr_Occurred()) SWIG_fail
;
42048 resultobj
= wxPyMake_wxObject(result
, 0);
42056 SWIGINTERN PyObject
*_wrap_MenuItem_SetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42057 PyObject
*resultobj
= 0;
42058 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42059 wxMenu
*arg2
= (wxMenu
*) 0 ;
42064 PyObject
* obj0
= 0 ;
42065 PyObject
* obj1
= 0 ;
42066 char * kwnames
[] = {
42067 (char *) "self",(char *) "menu", NULL
42070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42072 if (!SWIG_IsOK(res1
)) {
42073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetMenu" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42075 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42076 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42077 if (!SWIG_IsOK(res2
)) {
42078 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
42080 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
42082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42083 (arg1
)->SetMenu(arg2
);
42084 wxPyEndAllowThreads(__tstate
);
42085 if (PyErr_Occurred()) SWIG_fail
;
42087 resultobj
= SWIG_Py_Void();
42094 SWIGINTERN PyObject
*_wrap_MenuItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42095 PyObject
*resultobj
= 0;
42096 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42102 PyObject
* obj0
= 0 ;
42103 PyObject
* obj1
= 0 ;
42104 char * kwnames
[] = {
42105 (char *) "self",(char *) "id", NULL
42108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42110 if (!SWIG_IsOK(res1
)) {
42111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetId" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42113 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42114 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42115 if (!SWIG_IsOK(ecode2
)) {
42116 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_SetId" "', expected argument " "2"" of type '" "int""'");
42118 arg2
= static_cast< int >(val2
);
42120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42121 (arg1
)->SetId(arg2
);
42122 wxPyEndAllowThreads(__tstate
);
42123 if (PyErr_Occurred()) SWIG_fail
;
42125 resultobj
= SWIG_Py_Void();
42132 SWIGINTERN PyObject
*_wrap_MenuItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42133 PyObject
*resultobj
= 0;
42134 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42138 PyObject
*swig_obj
[1] ;
42140 if (!args
) SWIG_fail
;
42141 swig_obj
[0] = args
;
42142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42143 if (!SWIG_IsOK(res1
)) {
42144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetId" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42146 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42149 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
42150 wxPyEndAllowThreads(__tstate
);
42151 if (PyErr_Occurred()) SWIG_fail
;
42153 resultobj
= SWIG_From_int(static_cast< int >(result
));
42160 SWIGINTERN PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42161 PyObject
*resultobj
= 0;
42162 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42166 PyObject
*swig_obj
[1] ;
42168 if (!args
) SWIG_fail
;
42169 swig_obj
[0] = args
;
42170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42171 if (!SWIG_IsOK(res1
)) {
42172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_IsSeparator" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42174 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42177 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
42178 wxPyEndAllowThreads(__tstate
);
42179 if (PyErr_Occurred()) SWIG_fail
;
42182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42190 SWIGINTERN PyObject
*_wrap_MenuItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42191 PyObject
*resultobj
= 0;
42192 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42193 wxString
*arg2
= 0 ;
42196 bool temp2
= false ;
42197 PyObject
* obj0
= 0 ;
42198 PyObject
* obj1
= 0 ;
42199 char * kwnames
[] = {
42200 (char *) "self",(char *) "str", NULL
42203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42205 if (!SWIG_IsOK(res1
)) {
42206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetText" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42208 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42210 arg2
= wxString_in_helper(obj1
);
42211 if (arg2
== NULL
) SWIG_fail
;
42215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42216 (arg1
)->SetText((wxString
const &)*arg2
);
42217 wxPyEndAllowThreads(__tstate
);
42218 if (PyErr_Occurred()) SWIG_fail
;
42220 resultobj
= SWIG_Py_Void();
42235 SWIGINTERN PyObject
*_wrap_MenuItem_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42236 PyObject
*resultobj
= 0;
42237 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42241 PyObject
*swig_obj
[1] ;
42243 if (!args
) SWIG_fail
;
42244 swig_obj
[0] = args
;
42245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42246 if (!SWIG_IsOK(res1
)) {
42247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetLabel" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42249 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42252 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
42253 wxPyEndAllowThreads(__tstate
);
42254 if (PyErr_Occurred()) SWIG_fail
;
42258 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42260 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42269 SWIGINTERN PyObject
*_wrap_MenuItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42270 PyObject
*resultobj
= 0;
42271 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42272 wxString
*result
= 0 ;
42275 PyObject
*swig_obj
[1] ;
42277 if (!args
) SWIG_fail
;
42278 swig_obj
[0] = args
;
42279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42280 if (!SWIG_IsOK(res1
)) {
42281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetText" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42283 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42287 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
42288 result
= (wxString
*) &_result_ref
;
42290 wxPyEndAllowThreads(__tstate
);
42291 if (PyErr_Occurred()) SWIG_fail
;
42295 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
42297 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
42306 SWIGINTERN PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42307 PyObject
*resultobj
= 0;
42308 wxString
*arg1
= 0 ;
42310 bool temp1
= false ;
42311 PyObject
* obj0
= 0 ;
42312 char * kwnames
[] = {
42313 (char *) "text", NULL
42316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) SWIG_fail
;
42318 arg1
= wxString_in_helper(obj0
);
42319 if (arg1
== NULL
) SWIG_fail
;
42323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42324 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
42325 wxPyEndAllowThreads(__tstate
);
42326 if (PyErr_Occurred()) SWIG_fail
;
42330 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42332 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42349 SWIGINTERN PyObject
*_wrap_MenuItem_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42350 PyObject
*resultobj
= 0;
42351 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42355 PyObject
*swig_obj
[1] ;
42357 if (!args
) SWIG_fail
;
42358 swig_obj
[0] = args
;
42359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42360 if (!SWIG_IsOK(res1
)) {
42361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetKind" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42363 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42366 result
= (wxItemKind
)((wxMenuItem
const *)arg1
)->GetKind();
42367 wxPyEndAllowThreads(__tstate
);
42368 if (PyErr_Occurred()) SWIG_fail
;
42370 resultobj
= SWIG_From_int(static_cast< int >(result
));
42377 SWIGINTERN PyObject
*_wrap_MenuItem_SetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42378 PyObject
*resultobj
= 0;
42379 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42385 PyObject
* obj0
= 0 ;
42386 PyObject
* obj1
= 0 ;
42387 char * kwnames
[] = {
42388 (char *) "self",(char *) "kind", NULL
42391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42393 if (!SWIG_IsOK(res1
)) {
42394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetKind" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42396 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42397 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42398 if (!SWIG_IsOK(ecode2
)) {
42399 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_SetKind" "', expected argument " "2"" of type '" "wxItemKind""'");
42401 arg2
= static_cast< wxItemKind
>(val2
);
42403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42404 (arg1
)->SetKind(arg2
);
42405 wxPyEndAllowThreads(__tstate
);
42406 if (PyErr_Occurred()) SWIG_fail
;
42408 resultobj
= SWIG_Py_Void();
42415 SWIGINTERN PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42416 PyObject
*resultobj
= 0;
42417 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42423 PyObject
* obj0
= 0 ;
42424 PyObject
* obj1
= 0 ;
42425 char * kwnames
[] = {
42426 (char *) "self",(char *) "checkable", NULL
42429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42431 if (!SWIG_IsOK(res1
)) {
42432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetCheckable" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42434 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42435 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42436 if (!SWIG_IsOK(ecode2
)) {
42437 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_SetCheckable" "', expected argument " "2"" of type '" "bool""'");
42439 arg2
= static_cast< bool >(val2
);
42441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42442 (arg1
)->SetCheckable(arg2
);
42443 wxPyEndAllowThreads(__tstate
);
42444 if (PyErr_Occurred()) SWIG_fail
;
42446 resultobj
= SWIG_Py_Void();
42453 SWIGINTERN PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42454 PyObject
*resultobj
= 0;
42455 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42459 PyObject
*swig_obj
[1] ;
42461 if (!args
) SWIG_fail
;
42462 swig_obj
[0] = args
;
42463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42464 if (!SWIG_IsOK(res1
)) {
42465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_IsCheckable" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42467 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42470 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
42471 wxPyEndAllowThreads(__tstate
);
42472 if (PyErr_Occurred()) SWIG_fail
;
42475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42483 SWIGINTERN PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42484 PyObject
*resultobj
= 0;
42485 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42489 PyObject
*swig_obj
[1] ;
42491 if (!args
) SWIG_fail
;
42492 swig_obj
[0] = args
;
42493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42494 if (!SWIG_IsOK(res1
)) {
42495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_IsSubMenu" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42497 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42500 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
42501 wxPyEndAllowThreads(__tstate
);
42502 if (PyErr_Occurred()) SWIG_fail
;
42505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42513 SWIGINTERN PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42514 PyObject
*resultobj
= 0;
42515 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42516 wxMenu
*arg2
= (wxMenu
*) 0 ;
42521 PyObject
* obj0
= 0 ;
42522 PyObject
* obj1
= 0 ;
42523 char * kwnames
[] = {
42524 (char *) "self",(char *) "menu", NULL
42527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42529 if (!SWIG_IsOK(res1
)) {
42530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetSubMenu" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42532 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42533 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42534 if (!SWIG_IsOK(res2
)) {
42535 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetSubMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
42537 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
42539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42540 (arg1
)->SetSubMenu(arg2
);
42541 wxPyEndAllowThreads(__tstate
);
42542 if (PyErr_Occurred()) SWIG_fail
;
42544 resultobj
= SWIG_Py_Void();
42551 SWIGINTERN PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42552 PyObject
*resultobj
= 0;
42553 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42554 wxMenu
*result
= 0 ;
42557 PyObject
*swig_obj
[1] ;
42559 if (!args
) SWIG_fail
;
42560 swig_obj
[0] = args
;
42561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42562 if (!SWIG_IsOK(res1
)) {
42563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetSubMenu" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42565 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42568 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
42569 wxPyEndAllowThreads(__tstate
);
42570 if (PyErr_Occurred()) SWIG_fail
;
42573 resultobj
= wxPyMake_wxObject(result
, 0);
42581 SWIGINTERN PyObject
*_wrap_MenuItem_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42582 PyObject
*resultobj
= 0;
42583 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42584 bool arg2
= (bool) true ;
42589 PyObject
* obj0
= 0 ;
42590 PyObject
* obj1
= 0 ;
42591 char * kwnames
[] = {
42592 (char *) "self",(char *) "enable", NULL
42595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42597 if (!SWIG_IsOK(res1
)) {
42598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_Enable" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42600 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42602 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42603 if (!SWIG_IsOK(ecode2
)) {
42604 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_Enable" "', expected argument " "2"" of type '" "bool""'");
42606 arg2
= static_cast< bool >(val2
);
42609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42610 (arg1
)->Enable(arg2
);
42611 wxPyEndAllowThreads(__tstate
);
42612 if (PyErr_Occurred()) SWIG_fail
;
42614 resultobj
= SWIG_Py_Void();
42621 SWIGINTERN PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42622 PyObject
*resultobj
= 0;
42623 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42627 PyObject
*swig_obj
[1] ;
42629 if (!args
) SWIG_fail
;
42630 swig_obj
[0] = args
;
42631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42632 if (!SWIG_IsOK(res1
)) {
42633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_IsEnabled" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42635 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42638 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
42639 wxPyEndAllowThreads(__tstate
);
42640 if (PyErr_Occurred()) SWIG_fail
;
42643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42651 SWIGINTERN PyObject
*_wrap_MenuItem_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42652 PyObject
*resultobj
= 0;
42653 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42654 bool arg2
= (bool) true ;
42659 PyObject
* obj0
= 0 ;
42660 PyObject
* obj1
= 0 ;
42661 char * kwnames
[] = {
42662 (char *) "self",(char *) "check", NULL
42665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42667 if (!SWIG_IsOK(res1
)) {
42668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_Check" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42670 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42672 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42673 if (!SWIG_IsOK(ecode2
)) {
42674 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_Check" "', expected argument " "2"" of type '" "bool""'");
42676 arg2
= static_cast< bool >(val2
);
42679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42680 (arg1
)->Check(arg2
);
42681 wxPyEndAllowThreads(__tstate
);
42682 if (PyErr_Occurred()) SWIG_fail
;
42684 resultobj
= SWIG_Py_Void();
42691 SWIGINTERN PyObject
*_wrap_MenuItem_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42692 PyObject
*resultobj
= 0;
42693 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42697 PyObject
*swig_obj
[1] ;
42699 if (!args
) SWIG_fail
;
42700 swig_obj
[0] = args
;
42701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42702 if (!SWIG_IsOK(res1
)) {
42703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_IsChecked" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42705 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42708 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
42709 wxPyEndAllowThreads(__tstate
);
42710 if (PyErr_Occurred()) SWIG_fail
;
42713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42721 SWIGINTERN PyObject
*_wrap_MenuItem_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42722 PyObject
*resultobj
= 0;
42723 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42726 PyObject
*swig_obj
[1] ;
42728 if (!args
) SWIG_fail
;
42729 swig_obj
[0] = args
;
42730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42731 if (!SWIG_IsOK(res1
)) {
42732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_Toggle" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42734 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42738 wxPyEndAllowThreads(__tstate
);
42739 if (PyErr_Occurred()) SWIG_fail
;
42741 resultobj
= SWIG_Py_Void();
42748 SWIGINTERN PyObject
*_wrap_MenuItem_SetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42749 PyObject
*resultobj
= 0;
42750 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42751 wxString
*arg2
= 0 ;
42754 bool temp2
= false ;
42755 PyObject
* obj0
= 0 ;
42756 PyObject
* obj1
= 0 ;
42757 char * kwnames
[] = {
42758 (char *) "self",(char *) "str", NULL
42761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42763 if (!SWIG_IsOK(res1
)) {
42764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetHelp" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42766 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42768 arg2
= wxString_in_helper(obj1
);
42769 if (arg2
== NULL
) SWIG_fail
;
42773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42774 (arg1
)->SetHelp((wxString
const &)*arg2
);
42775 wxPyEndAllowThreads(__tstate
);
42776 if (PyErr_Occurred()) SWIG_fail
;
42778 resultobj
= SWIG_Py_Void();
42793 SWIGINTERN PyObject
*_wrap_MenuItem_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42794 PyObject
*resultobj
= 0;
42795 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42796 wxString
*result
= 0 ;
42799 PyObject
*swig_obj
[1] ;
42801 if (!args
) SWIG_fail
;
42802 swig_obj
[0] = args
;
42803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42804 if (!SWIG_IsOK(res1
)) {
42805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetHelp" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42807 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42811 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
42812 result
= (wxString
*) &_result_ref
;
42814 wxPyEndAllowThreads(__tstate
);
42815 if (PyErr_Occurred()) SWIG_fail
;
42819 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
42821 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
42830 SWIGINTERN PyObject
*_wrap_MenuItem_GetAccel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42831 PyObject
*resultobj
= 0;
42832 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42833 wxAcceleratorEntry
*result
= 0 ;
42836 PyObject
*swig_obj
[1] ;
42838 if (!args
) SWIG_fail
;
42839 swig_obj
[0] = args
;
42840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42841 if (!SWIG_IsOK(res1
)) {
42842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetAccel" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42844 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42847 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
42848 wxPyEndAllowThreads(__tstate
);
42849 if (PyErr_Occurred()) SWIG_fail
;
42851 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
42858 SWIGINTERN PyObject
*_wrap_MenuItem_SetAccel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42859 PyObject
*resultobj
= 0;
42860 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42861 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
42866 PyObject
* obj0
= 0 ;
42867 PyObject
* obj1
= 0 ;
42868 char * kwnames
[] = {
42869 (char *) "self",(char *) "accel", NULL
42872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42874 if (!SWIG_IsOK(res1
)) {
42875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetAccel" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42877 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42878 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
42879 if (!SWIG_IsOK(res2
)) {
42880 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetAccel" "', expected argument " "2"" of type '" "wxAcceleratorEntry *""'");
42882 arg2
= reinterpret_cast< wxAcceleratorEntry
* >(argp2
);
42884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42885 (arg1
)->SetAccel(arg2
);
42886 wxPyEndAllowThreads(__tstate
);
42887 if (PyErr_Occurred()) SWIG_fail
;
42889 resultobj
= SWIG_Py_Void();
42896 SWIGINTERN PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42897 PyObject
*resultobj
= 0;
42898 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42899 wxBitmap
*arg2
= 0 ;
42904 PyObject
* obj0
= 0 ;
42905 PyObject
* obj1
= 0 ;
42906 char * kwnames
[] = {
42907 (char *) "self",(char *) "bitmap", NULL
42910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42912 if (!SWIG_IsOK(res1
)) {
42913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetBitmap" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42915 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42916 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
42917 if (!SWIG_IsOK(res2
)) {
42918 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
42921 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MenuItem_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
42923 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
42925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42926 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
42927 wxPyEndAllowThreads(__tstate
);
42928 if (PyErr_Occurred()) SWIG_fail
;
42930 resultobj
= SWIG_Py_Void();
42937 SWIGINTERN PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42938 PyObject
*resultobj
= 0;
42939 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42940 wxBitmap
*result
= 0 ;
42943 PyObject
*swig_obj
[1] ;
42945 if (!args
) SWIG_fail
;
42946 swig_obj
[0] = args
;
42947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42948 if (!SWIG_IsOK(res1
)) {
42949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetBitmap" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42951 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42955 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
42956 result
= (wxBitmap
*) &_result_ref
;
42958 wxPyEndAllowThreads(__tstate
);
42959 if (PyErr_Occurred()) SWIG_fail
;
42962 wxBitmap
* resultptr
= new wxBitmap(*result
);
42963 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
42971 SWIGINTERN PyObject
*_wrap_MenuItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42972 PyObject
*resultobj
= 0;
42973 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42979 PyObject
* obj0
= 0 ;
42980 PyObject
* obj1
= 0 ;
42981 char * kwnames
[] = {
42982 (char *) "self",(char *) "font", NULL
42985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42987 if (!SWIG_IsOK(res1
)) {
42988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetFont" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42990 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42991 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
42992 if (!SWIG_IsOK(res2
)) {
42993 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
42996 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MenuItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
42998 arg2
= reinterpret_cast< wxFont
* >(argp2
);
43000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43001 (arg1
)->SetFont((wxFont
const &)*arg2
);
43002 wxPyEndAllowThreads(__tstate
);
43003 if (PyErr_Occurred()) SWIG_fail
;
43005 resultobj
= SWIG_Py_Void();
43012 SWIGINTERN PyObject
*_wrap_MenuItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43013 PyObject
*resultobj
= 0;
43014 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43018 PyObject
*swig_obj
[1] ;
43020 if (!args
) SWIG_fail
;
43021 swig_obj
[0] = args
;
43022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43023 if (!SWIG_IsOK(res1
)) {
43024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetFont" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43026 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43029 result
= (arg1
)->GetFont();
43030 wxPyEndAllowThreads(__tstate
);
43031 if (PyErr_Occurred()) SWIG_fail
;
43033 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
43040 SWIGINTERN PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43041 PyObject
*resultobj
= 0;
43042 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43043 wxColour
*arg2
= 0 ;
43047 PyObject
* obj0
= 0 ;
43048 PyObject
* obj1
= 0 ;
43049 char * kwnames
[] = {
43050 (char *) "self",(char *) "colText", NULL
43053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43055 if (!SWIG_IsOK(res1
)) {
43056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetTextColour" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43058 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43061 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43065 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
43066 wxPyEndAllowThreads(__tstate
);
43067 if (PyErr_Occurred()) SWIG_fail
;
43069 resultobj
= SWIG_Py_Void();
43076 SWIGINTERN PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43077 PyObject
*resultobj
= 0;
43078 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43082 PyObject
*swig_obj
[1] ;
43084 if (!args
) SWIG_fail
;
43085 swig_obj
[0] = args
;
43086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43087 if (!SWIG_IsOK(res1
)) {
43088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetTextColour" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43090 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43093 result
= (arg1
)->GetTextColour();
43094 wxPyEndAllowThreads(__tstate
);
43095 if (PyErr_Occurred()) SWIG_fail
;
43097 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43104 SWIGINTERN PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43105 PyObject
*resultobj
= 0;
43106 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43107 wxColour
*arg2
= 0 ;
43111 PyObject
* obj0
= 0 ;
43112 PyObject
* obj1
= 0 ;
43113 char * kwnames
[] = {
43114 (char *) "self",(char *) "colBack", NULL
43117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43119 if (!SWIG_IsOK(res1
)) {
43120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43122 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43125 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43129 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
43130 wxPyEndAllowThreads(__tstate
);
43131 if (PyErr_Occurred()) SWIG_fail
;
43133 resultobj
= SWIG_Py_Void();
43140 SWIGINTERN PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43141 PyObject
*resultobj
= 0;
43142 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43146 PyObject
*swig_obj
[1] ;
43148 if (!args
) SWIG_fail
;
43149 swig_obj
[0] = args
;
43150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43151 if (!SWIG_IsOK(res1
)) {
43152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43154 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43157 result
= (arg1
)->GetBackgroundColour();
43158 wxPyEndAllowThreads(__tstate
);
43159 if (PyErr_Occurred()) SWIG_fail
;
43161 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43168 SWIGINTERN PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43169 PyObject
*resultobj
= 0;
43170 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43171 wxBitmap
*arg2
= 0 ;
43172 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
43173 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
43180 PyObject
* obj0
= 0 ;
43181 PyObject
* obj1
= 0 ;
43182 PyObject
* obj2
= 0 ;
43183 char * kwnames
[] = {
43184 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
43187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43189 if (!SWIG_IsOK(res1
)) {
43190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetBitmaps" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43192 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43193 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
43194 if (!SWIG_IsOK(res2
)) {
43195 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetBitmaps" "', expected argument " "2"" of type '" "wxBitmap const &""'");
43198 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MenuItem_SetBitmaps" "', expected argument " "2"" of type '" "wxBitmap const &""'");
43200 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
43202 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
43203 if (!SWIG_IsOK(res3
)) {
43204 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "MenuItem_SetBitmaps" "', expected argument " "3"" of type '" "wxBitmap const &""'");
43207 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MenuItem_SetBitmaps" "', expected argument " "3"" of type '" "wxBitmap const &""'");
43209 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
43212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43213 (arg1
)->SetBitmaps((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
43214 wxPyEndAllowThreads(__tstate
);
43215 if (PyErr_Occurred()) SWIG_fail
;
43217 resultobj
= SWIG_Py_Void();
43224 SWIGINTERN PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43225 PyObject
*resultobj
= 0;
43226 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43227 wxBitmap
*arg2
= 0 ;
43232 PyObject
* obj0
= 0 ;
43233 PyObject
* obj1
= 0 ;
43234 char * kwnames
[] = {
43235 (char *) "self",(char *) "bmpDisabled", NULL
43238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43240 if (!SWIG_IsOK(res1
)) {
43241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43243 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43244 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
43245 if (!SWIG_IsOK(res2
)) {
43246 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
43249 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MenuItem_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
43251 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
43253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43254 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
43255 wxPyEndAllowThreads(__tstate
);
43256 if (PyErr_Occurred()) SWIG_fail
;
43258 resultobj
= SWIG_Py_Void();
43265 SWIGINTERN PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43266 PyObject
*resultobj
= 0;
43267 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43268 wxBitmap
*result
= 0 ;
43271 PyObject
*swig_obj
[1] ;
43273 if (!args
) SWIG_fail
;
43274 swig_obj
[0] = args
;
43275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43276 if (!SWIG_IsOK(res1
)) {
43277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
43279 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43283 wxBitmap
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetDisabledBitmap();
43284 result
= (wxBitmap
*) &_result_ref
;
43286 wxPyEndAllowThreads(__tstate
);
43287 if (PyErr_Occurred()) SWIG_fail
;
43290 wxBitmap
* resultptr
= new wxBitmap(*result
);
43291 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
43299 SWIGINTERN PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43300 PyObject
*resultobj
= 0;
43301 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43307 PyObject
* obj0
= 0 ;
43308 PyObject
* obj1
= 0 ;
43309 char * kwnames
[] = {
43310 (char *) "self",(char *) "nWidth", NULL
43313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43315 if (!SWIG_IsOK(res1
)) {
43316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetMarginWidth" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43318 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43319 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43320 if (!SWIG_IsOK(ecode2
)) {
43321 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_SetMarginWidth" "', expected argument " "2"" of type '" "int""'");
43323 arg2
= static_cast< int >(val2
);
43325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43326 (arg1
)->SetMarginWidth(arg2
);
43327 wxPyEndAllowThreads(__tstate
);
43328 if (PyErr_Occurred()) SWIG_fail
;
43330 resultobj
= SWIG_Py_Void();
43337 SWIGINTERN PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43338 PyObject
*resultobj
= 0;
43339 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43343 PyObject
*swig_obj
[1] ;
43345 if (!args
) SWIG_fail
;
43346 swig_obj
[0] = args
;
43347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43348 if (!SWIG_IsOK(res1
)) {
43349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetMarginWidth" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43351 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43354 result
= (int)(arg1
)->GetMarginWidth();
43355 wxPyEndAllowThreads(__tstate
);
43356 if (PyErr_Occurred()) SWIG_fail
;
43358 resultobj
= SWIG_From_int(static_cast< int >(result
));
43365 SWIGINTERN PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43366 PyObject
*resultobj
= 0;
43369 if (!SWIG_Python_UnpackTuple(args
,"MenuItem_GetDefaultMarginWidth",0,0,0)) SWIG_fail
;
43371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43372 result
= (int)wxMenuItem::GetDefaultMarginWidth();
43373 wxPyEndAllowThreads(__tstate
);
43374 if (PyErr_Occurred()) SWIG_fail
;
43376 resultobj
= SWIG_From_int(static_cast< int >(result
));
43383 SWIGINTERN PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43384 PyObject
*resultobj
= 0;
43385 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43389 PyObject
*swig_obj
[1] ;
43391 if (!args
) SWIG_fail
;
43392 swig_obj
[0] = args
;
43393 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43394 if (!SWIG_IsOK(res1
)) {
43395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_IsOwnerDrawn" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43397 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43400 result
= (bool)(arg1
)->IsOwnerDrawn();
43401 wxPyEndAllowThreads(__tstate
);
43402 if (PyErr_Occurred()) SWIG_fail
;
43405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43413 SWIGINTERN PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43414 PyObject
*resultobj
= 0;
43415 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43416 bool arg2
= (bool) true ;
43421 PyObject
* obj0
= 0 ;
43422 PyObject
* obj1
= 0 ;
43423 char * kwnames
[] = {
43424 (char *) "self",(char *) "ownerDrawn", NULL
43427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43429 if (!SWIG_IsOK(res1
)) {
43430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetOwnerDrawn" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43432 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43434 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
43435 if (!SWIG_IsOK(ecode2
)) {
43436 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_SetOwnerDrawn" "', expected argument " "2"" of type '" "bool""'");
43438 arg2
= static_cast< bool >(val2
);
43441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43442 (arg1
)->SetOwnerDrawn(arg2
);
43443 wxPyEndAllowThreads(__tstate
);
43444 if (PyErr_Occurred()) SWIG_fail
;
43446 resultobj
= SWIG_Py_Void();
43453 SWIGINTERN PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43454 PyObject
*resultobj
= 0;
43455 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43458 PyObject
*swig_obj
[1] ;
43460 if (!args
) SWIG_fail
;
43461 swig_obj
[0] = args
;
43462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43463 if (!SWIG_IsOK(res1
)) {
43464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_ResetOwnerDrawn" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43466 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43469 (arg1
)->ResetOwnerDrawn();
43470 wxPyEndAllowThreads(__tstate
);
43471 if (PyErr_Occurred()) SWIG_fail
;
43473 resultobj
= SWIG_Py_Void();
43480 SWIGINTERN PyObject
*MenuItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43482 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43483 SWIG_TypeNewClientData(SWIGTYPE_p_wxMenuItem
, SWIG_NewClientData(obj
));
43484 return SWIG_Py_Void();
43487 SWIGINTERN PyObject
*MenuItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43488 return SWIG_Python_InitShadowInstance(args
);
43491 SWIGINTERN
int ControlNameStr_set(PyObject
*) {
43492 SWIG_Error(SWIG_AttributeError
,"Variable ControlNameStr is read-only.");
43497 SWIGINTERN PyObject
*ControlNameStr_get(void) {
43498 PyObject
*pyobj
= 0;
43502 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
43504 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
43511 SWIGINTERN PyObject
*_wrap_new_Control(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43512 PyObject
*resultobj
= 0;
43513 wxWindow
*arg1
= (wxWindow
*) 0 ;
43514 int arg2
= (int) -1 ;
43515 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
43516 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
43517 wxSize
const &arg4_defvalue
= wxDefaultSize
;
43518 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
43519 long arg5
= (long) 0 ;
43520 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
43521 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
43522 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
43523 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
43524 wxControl
*result
= 0 ;
43535 bool temp7
= false ;
43536 PyObject
* obj0
= 0 ;
43537 PyObject
* obj1
= 0 ;
43538 PyObject
* obj2
= 0 ;
43539 PyObject
* obj3
= 0 ;
43540 PyObject
* obj4
= 0 ;
43541 PyObject
* obj5
= 0 ;
43542 PyObject
* obj6
= 0 ;
43543 char * kwnames
[] = {
43544 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
43548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43549 if (!SWIG_IsOK(res1
)) {
43550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Control" "', expected argument " "1"" of type '" "wxWindow *""'");
43552 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43554 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43555 if (!SWIG_IsOK(ecode2
)) {
43556 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Control" "', expected argument " "2"" of type '" "int""'");
43558 arg2
= static_cast< int >(val2
);
43563 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
43569 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
43573 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
43574 if (!SWIG_IsOK(ecode5
)) {
43575 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Control" "', expected argument " "5"" of type '" "long""'");
43577 arg5
= static_cast< long >(val5
);
43580 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
43581 if (!SWIG_IsOK(res6
)) {
43582 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_Control" "', expected argument " "6"" of type '" "wxValidator const &""'");
43585 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Control" "', expected argument " "6"" of type '" "wxValidator const &""'");
43587 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
43591 arg7
= wxString_in_helper(obj6
);
43592 if (arg7
== NULL
) SWIG_fail
;
43597 if (!wxPyCheckForApp()) SWIG_fail
;
43598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43599 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
43600 wxPyEndAllowThreads(__tstate
);
43601 if (PyErr_Occurred()) SWIG_fail
;
43603 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxControl
, SWIG_POINTER_NEW
| 0 );
43618 SWIGINTERN PyObject
*_wrap_new_PreControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43619 PyObject
*resultobj
= 0;
43620 wxControl
*result
= 0 ;
43622 if (!SWIG_Python_UnpackTuple(args
,"new_PreControl",0,0,0)) SWIG_fail
;
43624 if (!wxPyCheckForApp()) SWIG_fail
;
43625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43626 result
= (wxControl
*)new wxControl();
43627 wxPyEndAllowThreads(__tstate
);
43628 if (PyErr_Occurred()) SWIG_fail
;
43630 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxControl
, SWIG_POINTER_OWN
| 0 );
43637 SWIGINTERN PyObject
*_wrap_Control_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43638 PyObject
*resultobj
= 0;
43639 wxControl
*arg1
= (wxControl
*) 0 ;
43640 wxWindow
*arg2
= (wxWindow
*) 0 ;
43641 int arg3
= (int) -1 ;
43642 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
43643 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
43644 wxSize
const &arg5_defvalue
= wxDefaultSize
;
43645 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
43646 long arg6
= (long) 0 ;
43647 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
43648 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
43649 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
43650 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
43664 bool temp8
= false ;
43665 PyObject
* obj0
= 0 ;
43666 PyObject
* obj1
= 0 ;
43667 PyObject
* obj2
= 0 ;
43668 PyObject
* obj3
= 0 ;
43669 PyObject
* obj4
= 0 ;
43670 PyObject
* obj5
= 0 ;
43671 PyObject
* obj6
= 0 ;
43672 PyObject
* obj7
= 0 ;
43673 char * kwnames
[] = {
43674 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
43678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxControl
, 0 | 0 );
43679 if (!SWIG_IsOK(res1
)) {
43680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Control_Create" "', expected argument " "1"" of type '" "wxControl *""'");
43682 arg1
= reinterpret_cast< wxControl
* >(argp1
);
43683 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43684 if (!SWIG_IsOK(res2
)) {
43685 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Control_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43687 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43689 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43690 if (!SWIG_IsOK(ecode3
)) {
43691 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Control_Create" "', expected argument " "3"" of type '" "int""'");
43693 arg3
= static_cast< int >(val3
);
43698 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
43704 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
43708 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
43709 if (!SWIG_IsOK(ecode6
)) {
43710 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Control_Create" "', expected argument " "6"" of type '" "long""'");
43712 arg6
= static_cast< long >(val6
);
43715 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
43716 if (!SWIG_IsOK(res7
)) {
43717 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "Control_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
43720 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Control_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
43722 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
43726 arg8
= wxString_in_helper(obj7
);
43727 if (arg8
== NULL
) SWIG_fail
;
43732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43733 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
43734 wxPyEndAllowThreads(__tstate
);
43735 if (PyErr_Occurred()) SWIG_fail
;
43738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43754 SWIGINTERN PyObject
*_wrap_Control_Command(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43755 PyObject
*resultobj
= 0;
43756 wxControl
*arg1
= (wxControl
*) 0 ;
43757 wxCommandEvent
*arg2
= 0 ;
43762 PyObject
* obj0
= 0 ;
43763 PyObject
* obj1
= 0 ;
43764 char * kwnames
[] = {
43765 (char *) "self",(char *) "event", NULL
43768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxControl
, 0 | 0 );
43770 if (!SWIG_IsOK(res1
)) {
43771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Control_Command" "', expected argument " "1"" of type '" "wxControl *""'");
43773 arg1
= reinterpret_cast< wxControl
* >(argp1
);
43774 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCommandEvent
, 0 );
43775 if (!SWIG_IsOK(res2
)) {
43776 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Control_Command" "', expected argument " "2"" of type '" "wxCommandEvent &""'");
43779 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Control_Command" "', expected argument " "2"" of type '" "wxCommandEvent &""'");
43781 arg2
= reinterpret_cast< wxCommandEvent
* >(argp2
);
43783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43784 (arg1
)->Command(*arg2
);
43785 wxPyEndAllowThreads(__tstate
);
43786 if (PyErr_Occurred()) SWIG_fail
;
43788 resultobj
= SWIG_Py_Void();
43795 SWIGINTERN PyObject
*_wrap_Control_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43796 PyObject
*resultobj
= 0;
43797 wxControl
*arg1
= (wxControl
*) 0 ;
43801 PyObject
*swig_obj
[1] ;
43803 if (!args
) SWIG_fail
;
43804 swig_obj
[0] = args
;
43805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxControl
, 0 | 0 );
43806 if (!SWIG_IsOK(res1
)) {
43807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Control_GetLabel" "', expected argument " "1"" of type '" "wxControl *""'");
43809 arg1
= reinterpret_cast< wxControl
* >(argp1
);
43811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43812 result
= (arg1
)->GetLabel();
43813 wxPyEndAllowThreads(__tstate
);
43814 if (PyErr_Occurred()) SWIG_fail
;
43818 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
43820 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
43829 SWIGINTERN PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43830 PyObject
*resultobj
= 0;
43831 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
43832 SwigValueWrapper
<wxVisualAttributes
> result
;
43835 PyObject
* obj0
= 0 ;
43836 char * kwnames
[] = {
43837 (char *) "variant", NULL
43840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
43842 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
43843 if (!SWIG_IsOK(ecode1
)) {
43844 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Control_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
43846 arg1
= static_cast< wxWindowVariant
>(val1
);
43849 if (!wxPyCheckForApp()) SWIG_fail
;
43850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43851 result
= wxControl::GetClassDefaultAttributes(arg1
);
43852 wxPyEndAllowThreads(__tstate
);
43853 if (PyErr_Occurred()) SWIG_fail
;
43855 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
43862 SWIGINTERN PyObject
*Control_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43864 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43865 SWIG_TypeNewClientData(SWIGTYPE_p_wxControl
, SWIG_NewClientData(obj
));
43866 return SWIG_Py_Void();
43869 SWIGINTERN PyObject
*Control_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43870 return SWIG_Python_InitShadowInstance(args
);
43873 SWIGINTERN PyObject
*_wrap_ItemContainer_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43874 PyObject
*resultobj
= 0;
43875 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
43876 wxString
*arg2
= 0 ;
43877 PyObject
*arg3
= (PyObject
*) NULL
;
43881 bool temp2
= false ;
43882 PyObject
* obj0
= 0 ;
43883 PyObject
* obj1
= 0 ;
43884 PyObject
* obj2
= 0 ;
43885 char * kwnames
[] = {
43886 (char *) "self",(char *) "item",(char *) "clientData", NULL
43889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
43891 if (!SWIG_IsOK(res1
)) {
43892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_Append" "', expected argument " "1"" of type '" "wxItemContainer *""'");
43894 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
43896 arg2
= wxString_in_helper(obj1
);
43897 if (arg2
== NULL
) SWIG_fail
;
43904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43905 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
43906 wxPyEndAllowThreads(__tstate
);
43907 if (PyErr_Occurred()) SWIG_fail
;
43909 resultobj
= SWIG_From_int(static_cast< int >(result
));
43924 SWIGINTERN PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43925 PyObject
*resultobj
= 0;
43926 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
43927 wxArrayString
*arg2
= 0 ;
43930 bool temp2
= false ;
43931 PyObject
* obj0
= 0 ;
43932 PyObject
* obj1
= 0 ;
43933 char * kwnames
[] = {
43934 (char *) "self",(char *) "strings", NULL
43937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
43939 if (!SWIG_IsOK(res1
)) {
43940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_AppendItems" "', expected argument " "1"" of type '" "wxItemContainer *""'");
43942 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
43944 if (! PySequence_Check(obj1
)) {
43945 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
43948 arg2
= new wxArrayString
;
43950 int i
, len
=PySequence_Length(obj1
);
43951 for (i
=0; i
<len
; i
++) {
43952 PyObject
* item
= PySequence_GetItem(obj1
, i
);
43953 wxString
* s
= wxString_in_helper(item
);
43954 if (PyErr_Occurred()) SWIG_fail
;
43961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43962 (arg1
)->Append((wxArrayString
const &)*arg2
);
43963 wxPyEndAllowThreads(__tstate
);
43964 if (PyErr_Occurred()) SWIG_fail
;
43966 resultobj
= SWIG_Py_Void();
43968 if (temp2
) delete arg2
;
43973 if (temp2
) delete arg2
;
43979 SWIGINTERN PyObject
*_wrap_ItemContainer_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43980 PyObject
*resultobj
= 0;
43981 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
43982 wxString
*arg2
= 0 ;
43983 unsigned int arg3
;
43984 PyObject
*arg4
= (PyObject
*) NULL
;
43988 bool temp2
= false ;
43989 unsigned int val3
;
43991 PyObject
* obj0
= 0 ;
43992 PyObject
* obj1
= 0 ;
43993 PyObject
* obj2
= 0 ;
43994 PyObject
* obj3
= 0 ;
43995 char * kwnames
[] = {
43996 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
43999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
44000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44001 if (!SWIG_IsOK(res1
)) {
44002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_Insert" "', expected argument " "1"" of type '" "wxItemContainer *""'");
44004 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44006 arg2
= wxString_in_helper(obj1
);
44007 if (arg2
== NULL
) SWIG_fail
;
44010 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
44011 if (!SWIG_IsOK(ecode3
)) {
44012 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ItemContainer_Insert" "', expected argument " "3"" of type '" "unsigned int""'");
44014 arg3
= static_cast< unsigned int >(val3
);
44019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44020 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
44021 wxPyEndAllowThreads(__tstate
);
44022 if (PyErr_Occurred()) SWIG_fail
;
44024 resultobj
= SWIG_From_int(static_cast< int >(result
));
44039 SWIGINTERN PyObject
*_wrap_ItemContainer_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44040 PyObject
*resultobj
= 0;
44041 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44044 PyObject
*swig_obj
[1] ;
44046 if (!args
) SWIG_fail
;
44047 swig_obj
[0] = args
;
44048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44049 if (!SWIG_IsOK(res1
)) {
44050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_Clear" "', expected argument " "1"" of type '" "wxItemContainer *""'");
44052 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44056 wxPyEndAllowThreads(__tstate
);
44057 if (PyErr_Occurred()) SWIG_fail
;
44059 resultobj
= SWIG_Py_Void();
44066 SWIGINTERN PyObject
*_wrap_ItemContainer_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44067 PyObject
*resultobj
= 0;
44068 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44069 unsigned int arg2
;
44072 unsigned int val2
;
44074 PyObject
* obj0
= 0 ;
44075 PyObject
* obj1
= 0 ;
44076 char * kwnames
[] = {
44077 (char *) "self",(char *) "n", NULL
44080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44082 if (!SWIG_IsOK(res1
)) {
44083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_Delete" "', expected argument " "1"" of type '" "wxItemContainer *""'");
44085 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44086 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
44087 if (!SWIG_IsOK(ecode2
)) {
44088 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_Delete" "', expected argument " "2"" of type '" "unsigned int""'");
44090 arg2
= static_cast< unsigned int >(val2
);
44092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44093 (arg1
)->Delete(arg2
);
44094 wxPyEndAllowThreads(__tstate
);
44095 if (PyErr_Occurred()) SWIG_fail
;
44097 resultobj
= SWIG_Py_Void();
44104 SWIGINTERN PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44105 PyObject
*resultobj
= 0;
44106 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44107 unsigned int arg2
;
44108 PyObject
*result
= 0 ;
44111 unsigned int val2
;
44113 PyObject
* obj0
= 0 ;
44114 PyObject
* obj1
= 0 ;
44115 char * kwnames
[] = {
44116 (char *) "self",(char *) "n", NULL
44119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44121 if (!SWIG_IsOK(res1
)) {
44122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_GetClientData" "', expected argument " "1"" of type '" "wxItemContainer *""'");
44124 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44125 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
44126 if (!SWIG_IsOK(ecode2
)) {
44127 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_GetClientData" "', expected argument " "2"" of type '" "unsigned int""'");
44129 arg2
= static_cast< unsigned int >(val2
);
44131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44132 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
44133 wxPyEndAllowThreads(__tstate
);
44134 if (PyErr_Occurred()) SWIG_fail
;
44136 resultobj
= result
;
44143 SWIGINTERN PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44144 PyObject
*resultobj
= 0;
44145 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44146 unsigned int arg2
;
44147 PyObject
*arg3
= (PyObject
*) 0 ;
44150 unsigned int val2
;
44152 PyObject
* obj0
= 0 ;
44153 PyObject
* obj1
= 0 ;
44154 PyObject
* obj2
= 0 ;
44155 char * kwnames
[] = {
44156 (char *) "self",(char *) "n",(char *) "clientData", NULL
44159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
44160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44161 if (!SWIG_IsOK(res1
)) {
44162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_SetClientData" "', expected argument " "1"" of type '" "wxItemContainer *""'");
44164 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44165 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
44166 if (!SWIG_IsOK(ecode2
)) {
44167 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_SetClientData" "', expected argument " "2"" of type '" "unsigned int""'");
44169 arg2
= static_cast< unsigned int >(val2
);
44172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44173 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
44174 wxPyEndAllowThreads(__tstate
);
44175 if (PyErr_Occurred()) SWIG_fail
;
44177 resultobj
= SWIG_Py_Void();
44184 SWIGINTERN PyObject
*_wrap_ItemContainer_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44185 PyObject
*resultobj
= 0;
44186 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44187 unsigned int result
;
44190 PyObject
*swig_obj
[1] ;
44192 if (!args
) SWIG_fail
;
44193 swig_obj
[0] = args
;
44194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44195 if (!SWIG_IsOK(res1
)) {
44196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_GetCount" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
44198 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44201 result
= (unsigned int)((wxItemContainer
const *)arg1
)->GetCount();
44202 wxPyEndAllowThreads(__tstate
);
44203 if (PyErr_Occurred()) SWIG_fail
;
44205 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
44212 SWIGINTERN PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44213 PyObject
*resultobj
= 0;
44214 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44218 PyObject
*swig_obj
[1] ;
44220 if (!args
) SWIG_fail
;
44221 swig_obj
[0] = args
;
44222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44223 if (!SWIG_IsOK(res1
)) {
44224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_IsEmpty" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
44226 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44229 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
44230 wxPyEndAllowThreads(__tstate
);
44231 if (PyErr_Occurred()) SWIG_fail
;
44234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44242 SWIGINTERN PyObject
*_wrap_ItemContainer_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44243 PyObject
*resultobj
= 0;
44244 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44245 unsigned int arg2
;
44249 unsigned int val2
;
44251 PyObject
* obj0
= 0 ;
44252 PyObject
* obj1
= 0 ;
44253 char * kwnames
[] = {
44254 (char *) "self",(char *) "n", NULL
44257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44259 if (!SWIG_IsOK(res1
)) {
44260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_GetString" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
44262 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44263 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
44264 if (!SWIG_IsOK(ecode2
)) {
44265 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_GetString" "', expected argument " "2"" of type '" "unsigned int""'");
44267 arg2
= static_cast< unsigned int >(val2
);
44269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44270 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
44271 wxPyEndAllowThreads(__tstate
);
44272 if (PyErr_Occurred()) SWIG_fail
;
44276 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44278 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44287 SWIGINTERN PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44288 PyObject
*resultobj
= 0;
44289 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44290 wxArrayString result
;
44293 PyObject
*swig_obj
[1] ;
44295 if (!args
) SWIG_fail
;
44296 swig_obj
[0] = args
;
44297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44298 if (!SWIG_IsOK(res1
)) {
44299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_GetStrings" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
44301 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44304 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
44305 wxPyEndAllowThreads(__tstate
);
44306 if (PyErr_Occurred()) SWIG_fail
;
44309 resultobj
= wxArrayString2PyList_helper(result
);
44317 SWIGINTERN PyObject
*_wrap_ItemContainer_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44318 PyObject
*resultobj
= 0;
44319 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44320 unsigned int arg2
;
44321 wxString
*arg3
= 0 ;
44324 unsigned int val2
;
44326 bool temp3
= false ;
44327 PyObject
* obj0
= 0 ;
44328 PyObject
* obj1
= 0 ;
44329 PyObject
* obj2
= 0 ;
44330 char * kwnames
[] = {
44331 (char *) "self",(char *) "n",(char *) "s", NULL
44334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
44335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44336 if (!SWIG_IsOK(res1
)) {
44337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_SetString" "', expected argument " "1"" of type '" "wxItemContainer *""'");
44339 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44340 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
44341 if (!SWIG_IsOK(ecode2
)) {
44342 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_SetString" "', expected argument " "2"" of type '" "unsigned int""'");
44344 arg2
= static_cast< unsigned int >(val2
);
44346 arg3
= wxString_in_helper(obj2
);
44347 if (arg3
== NULL
) SWIG_fail
;
44351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44352 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
44353 wxPyEndAllowThreads(__tstate
);
44354 if (PyErr_Occurred()) SWIG_fail
;
44356 resultobj
= SWIG_Py_Void();
44371 SWIGINTERN PyObject
*_wrap_ItemContainer_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44372 PyObject
*resultobj
= 0;
44373 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44374 wxString
*arg2
= 0 ;
44378 bool temp2
= false ;
44379 PyObject
* obj0
= 0 ;
44380 PyObject
* obj1
= 0 ;
44381 char * kwnames
[] = {
44382 (char *) "self",(char *) "s", NULL
44385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44387 if (!SWIG_IsOK(res1
)) {
44388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_FindString" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
44390 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44392 arg2
= wxString_in_helper(obj1
);
44393 if (arg2
== NULL
) SWIG_fail
;
44397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44398 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
44399 wxPyEndAllowThreads(__tstate
);
44400 if (PyErr_Occurred()) SWIG_fail
;
44402 resultobj
= SWIG_From_int(static_cast< int >(result
));
44417 SWIGINTERN PyObject
*_wrap_ItemContainer_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44418 PyObject
*resultobj
= 0;
44419 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44425 PyObject
* obj0
= 0 ;
44426 PyObject
* obj1
= 0 ;
44427 char * kwnames
[] = {
44428 (char *) "self",(char *) "n", NULL
44431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44433 if (!SWIG_IsOK(res1
)) {
44434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_SetSelection" "', expected argument " "1"" of type '" "wxItemContainer *""'");
44436 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44437 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44438 if (!SWIG_IsOK(ecode2
)) {
44439 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_SetSelection" "', expected argument " "2"" of type '" "int""'");
44441 arg2
= static_cast< int >(val2
);
44443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44444 (arg1
)->SetSelection(arg2
);
44445 wxPyEndAllowThreads(__tstate
);
44446 if (PyErr_Occurred()) SWIG_fail
;
44448 resultobj
= SWIG_Py_Void();
44455 SWIGINTERN PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44456 PyObject
*resultobj
= 0;
44457 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44461 PyObject
*swig_obj
[1] ;
44463 if (!args
) SWIG_fail
;
44464 swig_obj
[0] = args
;
44465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44466 if (!SWIG_IsOK(res1
)) {
44467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_GetSelection" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
44469 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44472 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
44473 wxPyEndAllowThreads(__tstate
);
44474 if (PyErr_Occurred()) SWIG_fail
;
44476 resultobj
= SWIG_From_int(static_cast< int >(result
));
44483 SWIGINTERN PyObject
*_wrap_ItemContainer_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44484 PyObject
*resultobj
= 0;
44485 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44486 wxString
*arg2
= 0 ;
44490 bool temp2
= false ;
44491 PyObject
* obj0
= 0 ;
44492 PyObject
* obj1
= 0 ;
44493 char * kwnames
[] = {
44494 (char *) "self",(char *) "s", NULL
44497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44499 if (!SWIG_IsOK(res1
)) {
44500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_SetStringSelection" "', expected argument " "1"" of type '" "wxItemContainer *""'");
44502 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44504 arg2
= wxString_in_helper(obj1
);
44505 if (arg2
== NULL
) SWIG_fail
;
44509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44510 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
44511 wxPyEndAllowThreads(__tstate
);
44512 if (PyErr_Occurred()) SWIG_fail
;
44515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44531 SWIGINTERN PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44532 PyObject
*resultobj
= 0;
44533 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44537 PyObject
*swig_obj
[1] ;
44539 if (!args
) SWIG_fail
;
44540 swig_obj
[0] = args
;
44541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44542 if (!SWIG_IsOK(res1
)) {
44543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_GetStringSelection" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
44545 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44548 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
44549 wxPyEndAllowThreads(__tstate
);
44550 if (PyErr_Occurred()) SWIG_fail
;
44554 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44556 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44565 SWIGINTERN PyObject
*_wrap_ItemContainer_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44566 PyObject
*resultobj
= 0;
44567 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44573 PyObject
* obj0
= 0 ;
44574 PyObject
* obj1
= 0 ;
44575 char * kwnames
[] = {
44576 (char *) "self",(char *) "n", NULL
44579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44581 if (!SWIG_IsOK(res1
)) {
44582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_Select" "', expected argument " "1"" of type '" "wxItemContainer *""'");
44584 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44585 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44586 if (!SWIG_IsOK(ecode2
)) {
44587 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_Select" "', expected argument " "2"" of type '" "int""'");
44589 arg2
= static_cast< int >(val2
);
44591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44592 (arg1
)->Select(arg2
);
44593 wxPyEndAllowThreads(__tstate
);
44594 if (PyErr_Occurred()) SWIG_fail
;
44596 resultobj
= SWIG_Py_Void();
44603 SWIGINTERN PyObject
*ItemContainer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44605 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44606 SWIG_TypeNewClientData(SWIGTYPE_p_wxItemContainer
, SWIG_NewClientData(obj
));
44607 return SWIG_Py_Void();
44610 SWIGINTERN PyObject
*ControlWithItems_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44612 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44613 SWIG_TypeNewClientData(SWIGTYPE_p_wxControlWithItems
, SWIG_NewClientData(obj
));
44614 return SWIG_Py_Void();
44617 SWIGINTERN PyObject
*_wrap_new_SizerItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44618 PyObject
*resultobj
= 0;
44619 wxSizerItem
*result
= 0 ;
44621 if (!SWIG_Python_UnpackTuple(args
,"new_SizerItem",0,0,0)) SWIG_fail
;
44623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44624 result
= (wxSizerItem
*)new wxSizerItem();
44625 wxPyEndAllowThreads(__tstate
);
44626 if (PyErr_Occurred()) SWIG_fail
;
44628 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_NEW
| 0 );
44635 SWIGINTERN PyObject
*_wrap_delete_SizerItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44636 PyObject
*resultobj
= 0;
44637 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
44640 PyObject
*swig_obj
[1] ;
44642 if (!args
) SWIG_fail
;
44643 swig_obj
[0] = args
;
44644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_DISOWN
| 0 );
44645 if (!SWIG_IsOK(res1
)) {
44646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SizerItem" "', expected argument " "1"" of type '" "wxSizerItem *""'");
44648 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
44650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44653 wxPyEndAllowThreads(__tstate
);
44654 if (PyErr_Occurred()) SWIG_fail
;
44656 resultobj
= SWIG_Py_Void();
44663 SWIGINTERN PyObject
*_wrap_new_SizerItemWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44664 PyObject
*resultobj
= 0;
44665 wxWindow
*arg1
= (wxWindow
*) 0 ;
44669 PyObject
*arg5
= (PyObject
*) NULL
;
44670 wxSizerItem
*result
= 0 ;
44679 PyObject
* obj0
= 0 ;
44680 PyObject
* obj1
= 0 ;
44681 PyObject
* obj2
= 0 ;
44682 PyObject
* obj3
= 0 ;
44683 PyObject
* obj4
= 0 ;
44684 char * kwnames
[] = {
44685 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
44688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
44689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44690 if (!SWIG_IsOK(res1
)) {
44691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SizerItemWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
44693 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44694 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44695 if (!SWIG_IsOK(ecode2
)) {
44696 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SizerItemWindow" "', expected argument " "2"" of type '" "int""'");
44698 arg2
= static_cast< int >(val2
);
44699 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44700 if (!SWIG_IsOK(ecode3
)) {
44701 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SizerItemWindow" "', expected argument " "3"" of type '" "int""'");
44703 arg3
= static_cast< int >(val3
);
44704 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
44705 if (!SWIG_IsOK(ecode4
)) {
44706 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_SizerItemWindow" "', expected argument " "4"" of type '" "int""'");
44708 arg4
= static_cast< int >(val4
);
44713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44714 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
44715 wxPyEndAllowThreads(__tstate
);
44716 if (PyErr_Occurred()) SWIG_fail
;
44718 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_OWN
| 0 );
44725 SWIGINTERN PyObject
*_wrap_new_SizerItemSpacer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44726 PyObject
*resultobj
= 0;
44732 PyObject
*arg6
= (PyObject
*) NULL
;
44733 wxSizerItem
*result
= 0 ;
44744 PyObject
* obj0
= 0 ;
44745 PyObject
* obj1
= 0 ;
44746 PyObject
* obj2
= 0 ;
44747 PyObject
* obj3
= 0 ;
44748 PyObject
* obj4
= 0 ;
44749 PyObject
* obj5
= 0 ;
44750 char * kwnames
[] = {
44751 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
44754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
44755 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
44756 if (!SWIG_IsOK(ecode1
)) {
44757 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SizerItemSpacer" "', expected argument " "1"" of type '" "int""'");
44759 arg1
= static_cast< int >(val1
);
44760 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44761 if (!SWIG_IsOK(ecode2
)) {
44762 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SizerItemSpacer" "', expected argument " "2"" of type '" "int""'");
44764 arg2
= static_cast< int >(val2
);
44765 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44766 if (!SWIG_IsOK(ecode3
)) {
44767 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SizerItemSpacer" "', expected argument " "3"" of type '" "int""'");
44769 arg3
= static_cast< int >(val3
);
44770 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
44771 if (!SWIG_IsOK(ecode4
)) {
44772 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_SizerItemSpacer" "', expected argument " "4"" of type '" "int""'");
44774 arg4
= static_cast< int >(val4
);
44775 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
44776 if (!SWIG_IsOK(ecode5
)) {
44777 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SizerItemSpacer" "', expected argument " "5"" of type '" "int""'");
44779 arg5
= static_cast< int >(val5
);
44784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44785 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
44786 wxPyEndAllowThreads(__tstate
);
44787 if (PyErr_Occurred()) SWIG_fail
;
44789 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_OWN
| 0 );
44796 SWIGINTERN PyObject
*_wrap_new_SizerItemSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44797 PyObject
*resultobj
= 0;
44798 wxSizer
*arg1
= (wxSizer
*) 0 ;
44802 PyObject
*arg5
= (PyObject
*) NULL
;
44803 wxSizerItem
*result
= 0 ;
44811 PyObject
* obj0
= 0 ;
44812 PyObject
* obj1
= 0 ;
44813 PyObject
* obj2
= 0 ;
44814 PyObject
* obj3
= 0 ;
44815 PyObject
* obj4
= 0 ;
44816 char * kwnames
[] = {
44817 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
44820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
44821 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxSizer
, SWIG_POINTER_DISOWN
| 0 );
44822 if (!SWIG_IsOK(res1
)) {
44823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SizerItemSizer" "', expected argument " "1"" of type '" "wxSizer *""'");
44825 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44826 if (!SWIG_IsOK(ecode2
)) {
44827 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SizerItemSizer" "', expected argument " "2"" of type '" "int""'");
44829 arg2
= static_cast< int >(val2
);
44830 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44831 if (!SWIG_IsOK(ecode3
)) {
44832 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SizerItemSizer" "', expected argument " "3"" of type '" "int""'");
44834 arg3
= static_cast< int >(val3
);
44835 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
44836 if (!SWIG_IsOK(ecode4
)) {
44837 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_SizerItemSizer" "', expected argument " "4"" of type '" "int""'");
44839 arg4
= static_cast< int >(val4
);
44844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44845 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
44846 wxPyEndAllowThreads(__tstate
);
44847 if (PyErr_Occurred()) SWIG_fail
;
44849 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_OWN
| 0 );
44856 SWIGINTERN PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44857 PyObject
*resultobj
= 0;
44858 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
44861 PyObject
*swig_obj
[1] ;
44863 if (!args
) SWIG_fail
;
44864 swig_obj
[0] = args
;
44865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
44866 if (!SWIG_IsOK(res1
)) {
44867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_DeleteWindows" "', expected argument " "1"" of type '" "wxSizerItem *""'");
44869 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
44871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44872 (arg1
)->DeleteWindows();
44873 wxPyEndAllowThreads(__tstate
);
44874 if (PyErr_Occurred()) SWIG_fail
;
44876 resultobj
= SWIG_Py_Void();
44883 SWIGINTERN PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44884 PyObject
*resultobj
= 0;
44885 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
44888 PyObject
*swig_obj
[1] ;
44890 if (!args
) SWIG_fail
;
44891 swig_obj
[0] = args
;
44892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
44893 if (!SWIG_IsOK(res1
)) {
44894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_DetachSizer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
44896 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
44898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44899 (arg1
)->DetachSizer();
44900 wxPyEndAllowThreads(__tstate
);
44901 if (PyErr_Occurred()) SWIG_fail
;
44903 resultobj
= SWIG_Py_Void();
44910 SWIGINTERN PyObject
*_wrap_SizerItem_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44911 PyObject
*resultobj
= 0;
44912 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
44916 PyObject
*swig_obj
[1] ;
44918 if (!args
) SWIG_fail
;
44919 swig_obj
[0] = args
;
44920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
44921 if (!SWIG_IsOK(res1
)) {
44922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetSize" "', expected argument " "1"" of type '" "wxSizerItem *""'");
44924 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
44926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44927 result
= (arg1
)->GetSize();
44928 wxPyEndAllowThreads(__tstate
);
44929 if (PyErr_Occurred()) SWIG_fail
;
44931 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
44938 SWIGINTERN PyObject
*_wrap_SizerItem_CalcMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44939 PyObject
*resultobj
= 0;
44940 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
44944 PyObject
*swig_obj
[1] ;
44946 if (!args
) SWIG_fail
;
44947 swig_obj
[0] = args
;
44948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
44949 if (!SWIG_IsOK(res1
)) {
44950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_CalcMin" "', expected argument " "1"" of type '" "wxSizerItem *""'");
44952 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
44954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44955 result
= (arg1
)->CalcMin();
44956 wxPyEndAllowThreads(__tstate
);
44957 if (PyErr_Occurred()) SWIG_fail
;
44959 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
44966 SWIGINTERN PyObject
*_wrap_SizerItem_SetDimension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44967 PyObject
*resultobj
= 0;
44968 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
44969 wxPoint
*arg2
= 0 ;
44975 PyObject
* obj0
= 0 ;
44976 PyObject
* obj1
= 0 ;
44977 PyObject
* obj2
= 0 ;
44978 char * kwnames
[] = {
44979 (char *) "self",(char *) "pos",(char *) "size", NULL
44982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
44983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
44984 if (!SWIG_IsOK(res1
)) {
44985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetDimension" "', expected argument " "1"" of type '" "wxSizerItem *""'");
44987 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
44990 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
44994 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
44997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44998 (arg1
)->SetDimension((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
44999 wxPyEndAllowThreads(__tstate
);
45000 if (PyErr_Occurred()) SWIG_fail
;
45002 resultobj
= SWIG_Py_Void();
45009 SWIGINTERN PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45010 PyObject
*resultobj
= 0;
45011 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45015 PyObject
*swig_obj
[1] ;
45017 if (!args
) SWIG_fail
;
45018 swig_obj
[0] = args
;
45019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45020 if (!SWIG_IsOK(res1
)) {
45021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetMinSize" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45023 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45026 result
= (arg1
)->GetMinSize();
45027 wxPyEndAllowThreads(__tstate
);
45028 if (PyErr_Occurred()) SWIG_fail
;
45030 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
45037 SWIGINTERN PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45038 PyObject
*resultobj
= 0;
45039 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45043 PyObject
*swig_obj
[1] ;
45045 if (!args
) SWIG_fail
;
45046 swig_obj
[0] = args
;
45047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45048 if (!SWIG_IsOK(res1
)) {
45049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetMinSizeWithBorder" "', expected argument " "1"" of type '" "wxSizerItem const *""'");
45051 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45054 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
45055 wxPyEndAllowThreads(__tstate
);
45056 if (PyErr_Occurred()) SWIG_fail
;
45058 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
45065 SWIGINTERN PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45066 PyObject
*resultobj
= 0;
45067 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45076 PyObject
* obj0
= 0 ;
45077 PyObject
* obj1
= 0 ;
45078 PyObject
* obj2
= 0 ;
45079 char * kwnames
[] = {
45080 (char *) "self",(char *) "x",(char *) "y", NULL
45083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45085 if (!SWIG_IsOK(res1
)) {
45086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetInitSize" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45088 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45089 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45090 if (!SWIG_IsOK(ecode2
)) {
45091 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_SetInitSize" "', expected argument " "2"" of type '" "int""'");
45093 arg2
= static_cast< int >(val2
);
45094 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45095 if (!SWIG_IsOK(ecode3
)) {
45096 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SizerItem_SetInitSize" "', expected argument " "3"" of type '" "int""'");
45098 arg3
= static_cast< int >(val3
);
45100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45101 (arg1
)->SetInitSize(arg2
,arg3
);
45102 wxPyEndAllowThreads(__tstate
);
45103 if (PyErr_Occurred()) SWIG_fail
;
45105 resultobj
= SWIG_Py_Void();
45112 SWIGINTERN PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45113 PyObject
*resultobj
= 0;
45114 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45123 PyObject
* obj0
= 0 ;
45124 PyObject
* obj1
= 0 ;
45125 PyObject
* obj2
= 0 ;
45126 char * kwnames
[] = {
45127 (char *) "self",(char *) "width",(char *) "height", NULL
45130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45132 if (!SWIG_IsOK(res1
)) {
45133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetRatioWH" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45135 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45136 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45137 if (!SWIG_IsOK(ecode2
)) {
45138 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_SetRatioWH" "', expected argument " "2"" of type '" "int""'");
45140 arg2
= static_cast< int >(val2
);
45141 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45142 if (!SWIG_IsOK(ecode3
)) {
45143 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SizerItem_SetRatioWH" "', expected argument " "3"" of type '" "int""'");
45145 arg3
= static_cast< int >(val3
);
45147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45148 (arg1
)->SetRatio(arg2
,arg3
);
45149 wxPyEndAllowThreads(__tstate
);
45150 if (PyErr_Occurred()) SWIG_fail
;
45152 resultobj
= SWIG_Py_Void();
45159 SWIGINTERN PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45160 PyObject
*resultobj
= 0;
45161 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45166 PyObject
* obj0
= 0 ;
45167 PyObject
* obj1
= 0 ;
45168 char * kwnames
[] = {
45169 (char *) "self",(char *) "size", NULL
45172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45174 if (!SWIG_IsOK(res1
)) {
45175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetRatioSize" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45177 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45180 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
45183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45184 (arg1
)->SetRatio((wxSize
const &)*arg2
);
45185 wxPyEndAllowThreads(__tstate
);
45186 if (PyErr_Occurred()) SWIG_fail
;
45188 resultobj
= SWIG_Py_Void();
45195 SWIGINTERN PyObject
*_wrap_SizerItem_SetRatio(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45196 PyObject
*resultobj
= 0;
45197 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45203 PyObject
* obj0
= 0 ;
45204 PyObject
* obj1
= 0 ;
45205 char * kwnames
[] = {
45206 (char *) "self",(char *) "ratio", NULL
45209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45211 if (!SWIG_IsOK(res1
)) {
45212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetRatio" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45214 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45215 ecode2
= SWIG_AsVal_float(obj1
, &val2
);
45216 if (!SWIG_IsOK(ecode2
)) {
45217 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_SetRatio" "', expected argument " "2"" of type '" "float""'");
45219 arg2
= static_cast< float >(val2
);
45221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45222 (arg1
)->SetRatio(arg2
);
45223 wxPyEndAllowThreads(__tstate
);
45224 if (PyErr_Occurred()) SWIG_fail
;
45226 resultobj
= SWIG_Py_Void();
45233 SWIGINTERN PyObject
*_wrap_SizerItem_GetRatio(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45234 PyObject
*resultobj
= 0;
45235 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45239 PyObject
*swig_obj
[1] ;
45241 if (!args
) SWIG_fail
;
45242 swig_obj
[0] = args
;
45243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45244 if (!SWIG_IsOK(res1
)) {
45245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetRatio" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45247 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45250 result
= (float)(arg1
)->GetRatio();
45251 wxPyEndAllowThreads(__tstate
);
45252 if (PyErr_Occurred()) SWIG_fail
;
45254 resultobj
= SWIG_From_float(static_cast< float >(result
));
45261 SWIGINTERN PyObject
*_wrap_SizerItem_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45262 PyObject
*resultobj
= 0;
45263 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45267 PyObject
*swig_obj
[1] ;
45269 if (!args
) SWIG_fail
;
45270 swig_obj
[0] = args
;
45271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45272 if (!SWIG_IsOK(res1
)) {
45273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetRect" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45275 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45278 result
= (arg1
)->GetRect();
45279 wxPyEndAllowThreads(__tstate
);
45280 if (PyErr_Occurred()) SWIG_fail
;
45282 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
45289 SWIGINTERN PyObject
*_wrap_SizerItem_IsWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45290 PyObject
*resultobj
= 0;
45291 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45295 PyObject
*swig_obj
[1] ;
45297 if (!args
) SWIG_fail
;
45298 swig_obj
[0] = args
;
45299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45300 if (!SWIG_IsOK(res1
)) {
45301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_IsWindow" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45303 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45306 result
= (bool)(arg1
)->IsWindow();
45307 wxPyEndAllowThreads(__tstate
);
45308 if (PyErr_Occurred()) SWIG_fail
;
45311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45319 SWIGINTERN PyObject
*_wrap_SizerItem_IsSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45320 PyObject
*resultobj
= 0;
45321 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45325 PyObject
*swig_obj
[1] ;
45327 if (!args
) SWIG_fail
;
45328 swig_obj
[0] = args
;
45329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45330 if (!SWIG_IsOK(res1
)) {
45331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_IsSizer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45333 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45336 result
= (bool)(arg1
)->IsSizer();
45337 wxPyEndAllowThreads(__tstate
);
45338 if (PyErr_Occurred()) SWIG_fail
;
45341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45349 SWIGINTERN PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45350 PyObject
*resultobj
= 0;
45351 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45355 PyObject
*swig_obj
[1] ;
45357 if (!args
) SWIG_fail
;
45358 swig_obj
[0] = args
;
45359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45360 if (!SWIG_IsOK(res1
)) {
45361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_IsSpacer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45363 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45366 result
= (bool)(arg1
)->IsSpacer();
45367 wxPyEndAllowThreads(__tstate
);
45368 if (PyErr_Occurred()) SWIG_fail
;
45371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45379 SWIGINTERN PyObject
*_wrap_SizerItem_SetProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45380 PyObject
*resultobj
= 0;
45381 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45387 PyObject
* obj0
= 0 ;
45388 PyObject
* obj1
= 0 ;
45389 char * kwnames
[] = {
45390 (char *) "self",(char *) "proportion", NULL
45393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45395 if (!SWIG_IsOK(res1
)) {
45396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetProportion" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45398 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45399 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45400 if (!SWIG_IsOK(ecode2
)) {
45401 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_SetProportion" "', expected argument " "2"" of type '" "int""'");
45403 arg2
= static_cast< int >(val2
);
45405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45406 (arg1
)->SetProportion(arg2
);
45407 wxPyEndAllowThreads(__tstate
);
45408 if (PyErr_Occurred()) SWIG_fail
;
45410 resultobj
= SWIG_Py_Void();
45417 SWIGINTERN PyObject
*_wrap_SizerItem_GetProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45418 PyObject
*resultobj
= 0;
45419 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45423 PyObject
*swig_obj
[1] ;
45425 if (!args
) SWIG_fail
;
45426 swig_obj
[0] = args
;
45427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45428 if (!SWIG_IsOK(res1
)) {
45429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetProportion" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45431 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45434 result
= (int)(arg1
)->GetProportion();
45435 wxPyEndAllowThreads(__tstate
);
45436 if (PyErr_Occurred()) SWIG_fail
;
45438 resultobj
= SWIG_From_int(static_cast< int >(result
));
45445 SWIGINTERN PyObject
*_wrap_SizerItem_SetFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45446 PyObject
*resultobj
= 0;
45447 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45453 PyObject
* obj0
= 0 ;
45454 PyObject
* obj1
= 0 ;
45455 char * kwnames
[] = {
45456 (char *) "self",(char *) "flag", NULL
45459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45461 if (!SWIG_IsOK(res1
)) {
45462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetFlag" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45464 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45465 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45466 if (!SWIG_IsOK(ecode2
)) {
45467 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_SetFlag" "', expected argument " "2"" of type '" "int""'");
45469 arg2
= static_cast< int >(val2
);
45471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45472 (arg1
)->SetFlag(arg2
);
45473 wxPyEndAllowThreads(__tstate
);
45474 if (PyErr_Occurred()) SWIG_fail
;
45476 resultobj
= SWIG_Py_Void();
45483 SWIGINTERN PyObject
*_wrap_SizerItem_GetFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45484 PyObject
*resultobj
= 0;
45485 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45489 PyObject
*swig_obj
[1] ;
45491 if (!args
) SWIG_fail
;
45492 swig_obj
[0] = args
;
45493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45494 if (!SWIG_IsOK(res1
)) {
45495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetFlag" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45497 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45500 result
= (int)(arg1
)->GetFlag();
45501 wxPyEndAllowThreads(__tstate
);
45502 if (PyErr_Occurred()) SWIG_fail
;
45504 resultobj
= SWIG_From_int(static_cast< int >(result
));
45511 SWIGINTERN PyObject
*_wrap_SizerItem_SetBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45512 PyObject
*resultobj
= 0;
45513 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45519 PyObject
* obj0
= 0 ;
45520 PyObject
* obj1
= 0 ;
45521 char * kwnames
[] = {
45522 (char *) "self",(char *) "border", NULL
45525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45527 if (!SWIG_IsOK(res1
)) {
45528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetBorder" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45530 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45531 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45532 if (!SWIG_IsOK(ecode2
)) {
45533 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_SetBorder" "', expected argument " "2"" of type '" "int""'");
45535 arg2
= static_cast< int >(val2
);
45537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45538 (arg1
)->SetBorder(arg2
);
45539 wxPyEndAllowThreads(__tstate
);
45540 if (PyErr_Occurred()) SWIG_fail
;
45542 resultobj
= SWIG_Py_Void();
45549 SWIGINTERN PyObject
*_wrap_SizerItem_GetBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45550 PyObject
*resultobj
= 0;
45551 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45555 PyObject
*swig_obj
[1] ;
45557 if (!args
) SWIG_fail
;
45558 swig_obj
[0] = args
;
45559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45560 if (!SWIG_IsOK(res1
)) {
45561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetBorder" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45563 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45566 result
= (int)(arg1
)->GetBorder();
45567 wxPyEndAllowThreads(__tstate
);
45568 if (PyErr_Occurred()) SWIG_fail
;
45570 resultobj
= SWIG_From_int(static_cast< int >(result
));
45577 SWIGINTERN PyObject
*_wrap_SizerItem_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45578 PyObject
*resultobj
= 0;
45579 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45580 wxWindow
*result
= 0 ;
45583 PyObject
*swig_obj
[1] ;
45585 if (!args
) SWIG_fail
;
45586 swig_obj
[0] = args
;
45587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45588 if (!SWIG_IsOK(res1
)) {
45589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetWindow" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45591 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45594 result
= (wxWindow
*)(arg1
)->GetWindow();
45595 wxPyEndAllowThreads(__tstate
);
45596 if (PyErr_Occurred()) SWIG_fail
;
45599 resultobj
= wxPyMake_wxObject(result
, 0);
45607 SWIGINTERN PyObject
*_wrap_SizerItem_SetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45608 PyObject
*resultobj
= 0;
45609 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45610 wxWindow
*arg2
= (wxWindow
*) 0 ;
45615 PyObject
* obj0
= 0 ;
45616 PyObject
* obj1
= 0 ;
45617 char * kwnames
[] = {
45618 (char *) "self",(char *) "window", NULL
45621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45623 if (!SWIG_IsOK(res1
)) {
45624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetWindow" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45626 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45627 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45628 if (!SWIG_IsOK(res2
)) {
45629 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SizerItem_SetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
45631 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
45633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45634 (arg1
)->SetWindow(arg2
);
45635 wxPyEndAllowThreads(__tstate
);
45636 if (PyErr_Occurred()) SWIG_fail
;
45638 resultobj
= SWIG_Py_Void();
45645 SWIGINTERN PyObject
*_wrap_SizerItem_GetSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45646 PyObject
*resultobj
= 0;
45647 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45648 wxSizer
*result
= 0 ;
45651 PyObject
*swig_obj
[1] ;
45653 if (!args
) SWIG_fail
;
45654 swig_obj
[0] = args
;
45655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45656 if (!SWIG_IsOK(res1
)) {
45657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetSizer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45659 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45662 result
= (wxSizer
*)(arg1
)->GetSizer();
45663 wxPyEndAllowThreads(__tstate
);
45664 if (PyErr_Occurred()) SWIG_fail
;
45667 resultobj
= wxPyMake_wxObject(result
, (bool)0);
45675 SWIGINTERN PyObject
*_wrap_SizerItem_SetSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45676 PyObject
*resultobj
= 0;
45677 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45678 wxSizer
*arg2
= (wxSizer
*) 0 ;
45682 PyObject
* obj0
= 0 ;
45683 PyObject
* obj1
= 0 ;
45684 char * kwnames
[] = {
45685 (char *) "self",(char *) "sizer", NULL
45688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45690 if (!SWIG_IsOK(res1
)) {
45691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetSizer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45693 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45694 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxSizer
, SWIG_POINTER_DISOWN
| 0 );
45695 if (!SWIG_IsOK(res2
)) {
45696 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SizerItem_SetSizer" "', expected argument " "2"" of type '" "wxSizer *""'");
45699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45700 (arg1
)->SetSizer(arg2
);
45701 wxPyEndAllowThreads(__tstate
);
45702 if (PyErr_Occurred()) SWIG_fail
;
45704 resultobj
= SWIG_Py_Void();
45711 SWIGINTERN PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45712 PyObject
*resultobj
= 0;
45713 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45714 wxSize
*result
= 0 ;
45717 PyObject
*swig_obj
[1] ;
45719 if (!args
) SWIG_fail
;
45720 swig_obj
[0] = args
;
45721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45722 if (!SWIG_IsOK(res1
)) {
45723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetSpacer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45725 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45729 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
45730 result
= (wxSize
*) &_result_ref
;
45732 wxPyEndAllowThreads(__tstate
);
45733 if (PyErr_Occurred()) SWIG_fail
;
45735 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
45742 SWIGINTERN PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45743 PyObject
*resultobj
= 0;
45744 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45749 PyObject
* obj0
= 0 ;
45750 PyObject
* obj1
= 0 ;
45751 char * kwnames
[] = {
45752 (char *) "self",(char *) "size", NULL
45755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45757 if (!SWIG_IsOK(res1
)) {
45758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetSpacer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45760 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45763 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
45766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45767 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
45768 wxPyEndAllowThreads(__tstate
);
45769 if (PyErr_Occurred()) SWIG_fail
;
45771 resultobj
= SWIG_Py_Void();
45778 SWIGINTERN PyObject
*_wrap_SizerItem_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45779 PyObject
*resultobj
= 0;
45780 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45786 PyObject
* obj0
= 0 ;
45787 PyObject
* obj1
= 0 ;
45788 char * kwnames
[] = {
45789 (char *) "self",(char *) "show", NULL
45792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45794 if (!SWIG_IsOK(res1
)) {
45795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_Show" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45797 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45798 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
45799 if (!SWIG_IsOK(ecode2
)) {
45800 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_Show" "', expected argument " "2"" of type '" "bool""'");
45802 arg2
= static_cast< bool >(val2
);
45804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45805 (arg1
)->Show(arg2
);
45806 wxPyEndAllowThreads(__tstate
);
45807 if (PyErr_Occurred()) SWIG_fail
;
45809 resultobj
= SWIG_Py_Void();
45816 SWIGINTERN PyObject
*_wrap_SizerItem_IsShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45817 PyObject
*resultobj
= 0;
45818 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45822 PyObject
*swig_obj
[1] ;
45824 if (!args
) SWIG_fail
;
45825 swig_obj
[0] = args
;
45826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45827 if (!SWIG_IsOK(res1
)) {
45828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_IsShown" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45830 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45833 result
= (bool)(arg1
)->IsShown();
45834 wxPyEndAllowThreads(__tstate
);
45835 if (PyErr_Occurred()) SWIG_fail
;
45838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45846 SWIGINTERN PyObject
*_wrap_SizerItem_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45847 PyObject
*resultobj
= 0;
45848 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45852 PyObject
*swig_obj
[1] ;
45854 if (!args
) SWIG_fail
;
45855 swig_obj
[0] = args
;
45856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45857 if (!SWIG_IsOK(res1
)) {
45858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetPosition" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45860 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45863 result
= (arg1
)->GetPosition();
45864 wxPyEndAllowThreads(__tstate
);
45865 if (PyErr_Occurred()) SWIG_fail
;
45867 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
45874 SWIGINTERN PyObject
*_wrap_SizerItem_GetUserData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45875 PyObject
*resultobj
= 0;
45876 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45877 PyObject
*result
= 0 ;
45880 PyObject
*swig_obj
[1] ;
45882 if (!args
) SWIG_fail
;
45883 swig_obj
[0] = args
;
45884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45885 if (!SWIG_IsOK(res1
)) {
45886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetUserData" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45888 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45891 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
45892 wxPyEndAllowThreads(__tstate
);
45893 if (PyErr_Occurred()) SWIG_fail
;
45895 resultobj
= result
;
45902 SWIGINTERN PyObject
*_wrap_SizerItem_SetUserData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45903 PyObject
*resultobj
= 0;
45904 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45905 PyObject
*arg2
= (PyObject
*) 0 ;
45908 PyObject
* obj0
= 0 ;
45909 PyObject
* obj1
= 0 ;
45910 char * kwnames
[] = {
45911 (char *) "self",(char *) "userData", NULL
45914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetUserData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45916 if (!SWIG_IsOK(res1
)) {
45917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetUserData" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45919 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45923 wxSizerItem_SetUserData(arg1
,arg2
);
45924 wxPyEndAllowThreads(__tstate
);
45925 if (PyErr_Occurred()) SWIG_fail
;
45927 resultobj
= SWIG_Py_Void();
45934 SWIGINTERN PyObject
*SizerItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45936 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45937 SWIG_TypeNewClientData(SWIGTYPE_p_wxSizerItem
, SWIG_NewClientData(obj
));
45938 return SWIG_Py_Void();
45941 SWIGINTERN PyObject
*SizerItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45942 return SWIG_Python_InitShadowInstance(args
);
45945 SWIGINTERN PyObject
*_wrap_delete_Sizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45946 PyObject
*resultobj
= 0;
45947 wxSizer
*arg1
= (wxSizer
*) 0 ;
45950 PyObject
*swig_obj
[1] ;
45952 if (!args
) SWIG_fail
;
45953 swig_obj
[0] = args
;
45954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, SWIG_POINTER_DISOWN
| 0 );
45955 if (!SWIG_IsOK(res1
)) {
45956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Sizer" "', expected argument " "1"" of type '" "wxSizer *""'");
45958 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
45960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45963 wxPyEndAllowThreads(__tstate
);
45964 if (PyErr_Occurred()) SWIG_fail
;
45966 resultobj
= SWIG_Py_Void();
45973 SWIGINTERN PyObject
*_wrap_Sizer__setOORInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45974 PyObject
*resultobj
= 0;
45975 wxSizer
*arg1
= (wxSizer
*) 0 ;
45976 PyObject
*arg2
= (PyObject
*) 0 ;
45979 PyObject
* obj0
= 0 ;
45980 PyObject
* obj1
= 0 ;
45981 char * kwnames
[] = {
45982 (char *) "self",(char *) "_self", NULL
45985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
45987 if (!SWIG_IsOK(res1
)) {
45988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer__setOORInfo" "', expected argument " "1"" of type '" "wxSizer *""'");
45990 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
45993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45994 wxSizer__setOORInfo(arg1
,arg2
);
45995 wxPyEndAllowThreads(__tstate
);
45996 if (PyErr_Occurred()) SWIG_fail
;
45998 resultobj
= SWIG_Py_Void();
46005 SWIGINTERN PyObject
*_wrap_Sizer_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46006 PyObject
*resultobj
= 0;
46007 wxSizer
*arg1
= (wxSizer
*) 0 ;
46008 PyObject
*arg2
= (PyObject
*) 0 ;
46009 int arg3
= (int) 0 ;
46010 int arg4
= (int) 0 ;
46011 int arg5
= (int) 0 ;
46012 PyObject
*arg6
= (PyObject
*) NULL
;
46013 wxSizerItem
*result
= 0 ;
46022 PyObject
* obj0
= 0 ;
46023 PyObject
* obj1
= 0 ;
46024 PyObject
* obj2
= 0 ;
46025 PyObject
* obj3
= 0 ;
46026 PyObject
* obj4
= 0 ;
46027 PyObject
* obj5
= 0 ;
46028 char * kwnames
[] = {
46029 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
46032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
46033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46034 if (!SWIG_IsOK(res1
)) {
46035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Add" "', expected argument " "1"" of type '" "wxSizer *""'");
46037 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46040 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
46041 if (!SWIG_IsOK(ecode3
)) {
46042 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Sizer_Add" "', expected argument " "3"" of type '" "int""'");
46044 arg3
= static_cast< int >(val3
);
46047 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
46048 if (!SWIG_IsOK(ecode4
)) {
46049 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Sizer_Add" "', expected argument " "4"" of type '" "int""'");
46051 arg4
= static_cast< int >(val4
);
46054 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
46055 if (!SWIG_IsOK(ecode5
)) {
46056 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Sizer_Add" "', expected argument " "5"" of type '" "int""'");
46058 arg5
= static_cast< int >(val5
);
46064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46065 result
= (wxSizerItem
*)wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
46066 wxPyEndAllowThreads(__tstate
);
46067 if (PyErr_Occurred()) SWIG_fail
;
46069 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46076 SWIGINTERN PyObject
*_wrap_Sizer_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46077 PyObject
*resultobj
= 0;
46078 wxSizer
*arg1
= (wxSizer
*) 0 ;
46080 PyObject
*arg3
= (PyObject
*) 0 ;
46081 int arg4
= (int) 0 ;
46082 int arg5
= (int) 0 ;
46083 int arg6
= (int) 0 ;
46084 PyObject
*arg7
= (PyObject
*) NULL
;
46085 wxSizerItem
*result
= 0 ;
46096 PyObject
* obj0
= 0 ;
46097 PyObject
* obj1
= 0 ;
46098 PyObject
* obj2
= 0 ;
46099 PyObject
* obj3
= 0 ;
46100 PyObject
* obj4
= 0 ;
46101 PyObject
* obj5
= 0 ;
46102 PyObject
* obj6
= 0 ;
46103 char * kwnames
[] = {
46104 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
46107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
46108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46109 if (!SWIG_IsOK(res1
)) {
46110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Insert" "', expected argument " "1"" of type '" "wxSizer *""'");
46112 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46113 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
46114 if (!SWIG_IsOK(ecode2
)) {
46115 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sizer_Insert" "', expected argument " "2"" of type '" "int""'");
46117 arg2
= static_cast< int >(val2
);
46120 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
46121 if (!SWIG_IsOK(ecode4
)) {
46122 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Sizer_Insert" "', expected argument " "4"" of type '" "int""'");
46124 arg4
= static_cast< int >(val4
);
46127 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
46128 if (!SWIG_IsOK(ecode5
)) {
46129 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Sizer_Insert" "', expected argument " "5"" of type '" "int""'");
46131 arg5
= static_cast< int >(val5
);
46134 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
46135 if (!SWIG_IsOK(ecode6
)) {
46136 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Sizer_Insert" "', expected argument " "6"" of type '" "int""'");
46138 arg6
= static_cast< int >(val6
);
46144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46145 result
= (wxSizerItem
*)wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
46146 wxPyEndAllowThreads(__tstate
);
46147 if (PyErr_Occurred()) SWIG_fail
;
46149 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46156 SWIGINTERN PyObject
*_wrap_Sizer_Prepend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46157 PyObject
*resultobj
= 0;
46158 wxSizer
*arg1
= (wxSizer
*) 0 ;
46159 PyObject
*arg2
= (PyObject
*) 0 ;
46160 int arg3
= (int) 0 ;
46161 int arg4
= (int) 0 ;
46162 int arg5
= (int) 0 ;
46163 PyObject
*arg6
= (PyObject
*) NULL
;
46164 wxSizerItem
*result
= 0 ;
46173 PyObject
* obj0
= 0 ;
46174 PyObject
* obj1
= 0 ;
46175 PyObject
* obj2
= 0 ;
46176 PyObject
* obj3
= 0 ;
46177 PyObject
* obj4
= 0 ;
46178 PyObject
* obj5
= 0 ;
46179 char * kwnames
[] = {
46180 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
46183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
46184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46185 if (!SWIG_IsOK(res1
)) {
46186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Prepend" "', expected argument " "1"" of type '" "wxSizer *""'");
46188 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46191 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
46192 if (!SWIG_IsOK(ecode3
)) {
46193 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Sizer_Prepend" "', expected argument " "3"" of type '" "int""'");
46195 arg3
= static_cast< int >(val3
);
46198 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
46199 if (!SWIG_IsOK(ecode4
)) {
46200 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Sizer_Prepend" "', expected argument " "4"" of type '" "int""'");
46202 arg4
= static_cast< int >(val4
);
46205 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
46206 if (!SWIG_IsOK(ecode5
)) {
46207 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Sizer_Prepend" "', expected argument " "5"" of type '" "int""'");
46209 arg5
= static_cast< int >(val5
);
46215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46216 result
= (wxSizerItem
*)wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
46217 wxPyEndAllowThreads(__tstate
);
46218 if (PyErr_Occurred()) SWIG_fail
;
46220 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46227 SWIGINTERN PyObject
*_wrap_Sizer_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46228 PyObject
*resultobj
= 0;
46229 wxSizer
*arg1
= (wxSizer
*) 0 ;
46230 PyObject
*arg2
= (PyObject
*) 0 ;
46234 PyObject
* obj0
= 0 ;
46235 PyObject
* obj1
= 0 ;
46236 char * kwnames
[] = {
46237 (char *) "self",(char *) "item", NULL
46240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46242 if (!SWIG_IsOK(res1
)) {
46243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Remove" "', expected argument " "1"" of type '" "wxSizer *""'");
46245 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46249 result
= (bool)wxSizer_Remove(arg1
,arg2
);
46250 wxPyEndAllowThreads(__tstate
);
46251 if (PyErr_Occurred()) SWIG_fail
;
46254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46262 SWIGINTERN PyObject
*_wrap_Sizer_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46263 PyObject
*resultobj
= 0;
46264 wxSizer
*arg1
= (wxSizer
*) 0 ;
46265 PyObject
*arg2
= (PyObject
*) 0 ;
46269 PyObject
* obj0
= 0 ;
46270 PyObject
* obj1
= 0 ;
46271 char * kwnames
[] = {
46272 (char *) "self",(char *) "item", NULL
46275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46277 if (!SWIG_IsOK(res1
)) {
46278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Detach" "', expected argument " "1"" of type '" "wxSizer *""'");
46280 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46284 result
= (bool)wxSizer_Detach(arg1
,arg2
);
46285 wxPyEndAllowThreads(__tstate
);
46286 if (PyErr_Occurred()) SWIG_fail
;
46289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46297 SWIGINTERN PyObject
*_wrap_Sizer_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46298 PyObject
*resultobj
= 0;
46299 wxSizer
*arg1
= (wxSizer
*) 0 ;
46300 PyObject
*arg2
= (PyObject
*) 0 ;
46301 wxSizerItem
*result
= 0 ;
46304 PyObject
* obj0
= 0 ;
46305 PyObject
* obj1
= 0 ;
46306 char * kwnames
[] = {
46307 (char *) "self",(char *) "item", NULL
46310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_GetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46312 if (!SWIG_IsOK(res1
)) {
46313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_GetItem" "', expected argument " "1"" of type '" "wxSizer *""'");
46315 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46319 result
= (wxSizerItem
*)wxSizer_GetItem(arg1
,arg2
);
46320 wxPyEndAllowThreads(__tstate
);
46321 if (PyErr_Occurred()) SWIG_fail
;
46323 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46330 SWIGINTERN PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46331 PyObject
*resultobj
= 0;
46332 wxSizer
*arg1
= (wxSizer
*) 0 ;
46333 PyObject
*arg2
= (PyObject
*) 0 ;
46338 PyObject
* obj0
= 0 ;
46339 PyObject
* obj1
= 0 ;
46340 PyObject
* obj2
= 0 ;
46341 char * kwnames
[] = {
46342 (char *) "self",(char *) "item",(char *) "size", NULL
46345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
46346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46347 if (!SWIG_IsOK(res1
)) {
46348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer__SetItemMinSize" "', expected argument " "1"" of type '" "wxSizer *""'");
46350 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46354 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
46357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46358 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
46359 wxPyEndAllowThreads(__tstate
);
46360 if (PyErr_Occurred()) SWIG_fail
;
46362 resultobj
= SWIG_Py_Void();
46369 SWIGINTERN PyObject
*_wrap_Sizer_AddItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46370 PyObject
*resultobj
= 0;
46371 wxSizer
*arg1
= (wxSizer
*) 0 ;
46372 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
46373 wxSizerItem
*result
= 0 ;
46377 PyObject
* obj0
= 0 ;
46378 PyObject
* obj1
= 0 ;
46379 char * kwnames
[] = {
46380 (char *) "self",(char *) "item", NULL
46383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46385 if (!SWIG_IsOK(res1
)) {
46386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_AddItem" "', expected argument " "1"" of type '" "wxSizer *""'");
46388 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46389 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_DISOWN
| 0 );
46390 if (!SWIG_IsOK(res2
)) {
46391 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_AddItem" "', expected argument " "2"" of type '" "wxSizerItem *""'");
46394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46395 result
= (wxSizerItem
*)(arg1
)->Add(arg2
);
46396 wxPyEndAllowThreads(__tstate
);
46397 if (PyErr_Occurred()) SWIG_fail
;
46399 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46406 SWIGINTERN PyObject
*_wrap_Sizer_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46407 PyObject
*resultobj
= 0;
46408 wxSizer
*arg1
= (wxSizer
*) 0 ;
46410 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
46411 wxSizerItem
*result
= 0 ;
46417 PyObject
* obj0
= 0 ;
46418 PyObject
* obj1
= 0 ;
46419 PyObject
* obj2
= 0 ;
46420 char * kwnames
[] = {
46421 (char *) "self",(char *) "index",(char *) "item", NULL
46424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
46425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46426 if (!SWIG_IsOK(res1
)) {
46427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_InsertItem" "', expected argument " "1"" of type '" "wxSizer *""'");
46429 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46430 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
46431 if (!SWIG_IsOK(ecode2
)) {
46432 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sizer_InsertItem" "', expected argument " "2"" of type '" "size_t""'");
46434 arg2
= static_cast< size_t >(val2
);
46435 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_DISOWN
| 0 );
46436 if (!SWIG_IsOK(res3
)) {
46437 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Sizer_InsertItem" "', expected argument " "3"" of type '" "wxSizerItem *""'");
46440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46441 result
= (wxSizerItem
*)(arg1
)->Insert(arg2
,arg3
);
46442 wxPyEndAllowThreads(__tstate
);
46443 if (PyErr_Occurred()) SWIG_fail
;
46445 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46452 SWIGINTERN PyObject
*_wrap_Sizer_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46453 PyObject
*resultobj
= 0;
46454 wxSizer
*arg1
= (wxSizer
*) 0 ;
46455 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
46456 wxSizerItem
*result
= 0 ;
46460 PyObject
* obj0
= 0 ;
46461 PyObject
* obj1
= 0 ;
46462 char * kwnames
[] = {
46463 (char *) "self",(char *) "item", NULL
46466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46468 if (!SWIG_IsOK(res1
)) {
46469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_PrependItem" "', expected argument " "1"" of type '" "wxSizer *""'");
46471 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46472 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_DISOWN
| 0 );
46473 if (!SWIG_IsOK(res2
)) {
46474 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_PrependItem" "', expected argument " "2"" of type '" "wxSizerItem *""'");
46477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46478 result
= (wxSizerItem
*)(arg1
)->Prepend(arg2
);
46479 wxPyEndAllowThreads(__tstate
);
46480 if (PyErr_Occurred()) SWIG_fail
;
46482 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46489 SWIGINTERN PyObject
*_wrap_Sizer_SetDimension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46490 PyObject
*resultobj
= 0;
46491 wxSizer
*arg1
= (wxSizer
*) 0 ;
46506 PyObject
* obj0
= 0 ;
46507 PyObject
* obj1
= 0 ;
46508 PyObject
* obj2
= 0 ;
46509 PyObject
* obj3
= 0 ;
46510 PyObject
* obj4
= 0 ;
46511 char * kwnames
[] = {
46512 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
46515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
46516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46517 if (!SWIG_IsOK(res1
)) {
46518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_SetDimension" "', expected argument " "1"" of type '" "wxSizer *""'");
46520 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46521 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
46522 if (!SWIG_IsOK(ecode2
)) {
46523 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sizer_SetDimension" "', expected argument " "2"" of type '" "int""'");
46525 arg2
= static_cast< int >(val2
);
46526 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
46527 if (!SWIG_IsOK(ecode3
)) {
46528 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Sizer_SetDimension" "', expected argument " "3"" of type '" "int""'");
46530 arg3
= static_cast< int >(val3
);
46531 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
46532 if (!SWIG_IsOK(ecode4
)) {
46533 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Sizer_SetDimension" "', expected argument " "4"" of type '" "int""'");
46535 arg4
= static_cast< int >(val4
);
46536 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
46537 if (!SWIG_IsOK(ecode5
)) {
46538 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Sizer_SetDimension" "', expected argument " "5"" of type '" "int""'");
46540 arg5
= static_cast< int >(val5
);
46542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46543 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
46544 wxPyEndAllowThreads(__tstate
);
46545 if (PyErr_Occurred()) SWIG_fail
;
46547 resultobj
= SWIG_Py_Void();
46554 SWIGINTERN PyObject
*_wrap_Sizer_SetMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46555 PyObject
*resultobj
= 0;
46556 wxSizer
*arg1
= (wxSizer
*) 0 ;
46561 PyObject
* obj0
= 0 ;
46562 PyObject
* obj1
= 0 ;
46563 char * kwnames
[] = {
46564 (char *) "self",(char *) "size", NULL
46567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46569 if (!SWIG_IsOK(res1
)) {
46570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_SetMinSize" "', expected argument " "1"" of type '" "wxSizer *""'");
46572 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46575 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
46578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46579 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
46580 wxPyEndAllowThreads(__tstate
);
46581 if (PyErr_Occurred()) SWIG_fail
;
46583 resultobj
= SWIG_Py_Void();
46590 SWIGINTERN PyObject
*_wrap_Sizer_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46591 PyObject
*resultobj
= 0;
46592 wxSizer
*arg1
= (wxSizer
*) 0 ;
46596 PyObject
*swig_obj
[1] ;
46598 if (!args
) SWIG_fail
;
46599 swig_obj
[0] = args
;
46600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46601 if (!SWIG_IsOK(res1
)) {
46602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_GetSize" "', expected argument " "1"" of type '" "wxSizer *""'");
46604 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46607 result
= (arg1
)->GetSize();
46608 wxPyEndAllowThreads(__tstate
);
46609 if (PyErr_Occurred()) SWIG_fail
;
46611 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
46618 SWIGINTERN PyObject
*_wrap_Sizer_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46619 PyObject
*resultobj
= 0;
46620 wxSizer
*arg1
= (wxSizer
*) 0 ;
46624 PyObject
*swig_obj
[1] ;
46626 if (!args
) SWIG_fail
;
46627 swig_obj
[0] = args
;
46628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46629 if (!SWIG_IsOK(res1
)) {
46630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_GetPosition" "', expected argument " "1"" of type '" "wxSizer *""'");
46632 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46635 result
= (arg1
)->GetPosition();
46636 wxPyEndAllowThreads(__tstate
);
46637 if (PyErr_Occurred()) SWIG_fail
;
46639 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
46646 SWIGINTERN PyObject
*_wrap_Sizer_GetMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46647 PyObject
*resultobj
= 0;
46648 wxSizer
*arg1
= (wxSizer
*) 0 ;
46652 PyObject
*swig_obj
[1] ;
46654 if (!args
) SWIG_fail
;
46655 swig_obj
[0] = args
;
46656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46657 if (!SWIG_IsOK(res1
)) {
46658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_GetMinSize" "', expected argument " "1"" of type '" "wxSizer *""'");
46660 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46663 result
= (arg1
)->GetMinSize();
46664 wxPyEndAllowThreads(__tstate
);
46665 if (PyErr_Occurred()) SWIG_fail
;
46667 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
46674 SWIGINTERN PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46675 PyObject
*resultobj
= 0;
46676 wxSizer
*arg1
= (wxSizer
*) 0 ;
46679 PyObject
*swig_obj
[1] ;
46681 if (!args
) SWIG_fail
;
46682 swig_obj
[0] = args
;
46683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46684 if (!SWIG_IsOK(res1
)) {
46685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_RecalcSizes" "', expected argument " "1"" of type '" "wxSizer *""'");
46687 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46690 (arg1
)->RecalcSizes();
46691 wxPyEndAllowThreads(__tstate
);
46692 if (PyErr_Occurred()) SWIG_fail
;
46694 resultobj
= SWIG_Py_Void();
46701 SWIGINTERN PyObject
*_wrap_Sizer_CalcMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46702 PyObject
*resultobj
= 0;
46703 wxSizer
*arg1
= (wxSizer
*) 0 ;
46707 PyObject
*swig_obj
[1] ;
46709 if (!args
) SWIG_fail
;
46710 swig_obj
[0] = args
;
46711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46712 if (!SWIG_IsOK(res1
)) {
46713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_CalcMin" "', expected argument " "1"" of type '" "wxSizer *""'");
46715 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46718 result
= (arg1
)->CalcMin();
46719 wxPyEndAllowThreads(__tstate
);
46720 if (PyErr_Occurred()) SWIG_fail
;
46722 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
46729 SWIGINTERN PyObject
*_wrap_Sizer_Layout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46730 PyObject
*resultobj
= 0;
46731 wxSizer
*arg1
= (wxSizer
*) 0 ;
46734 PyObject
*swig_obj
[1] ;
46736 if (!args
) SWIG_fail
;
46737 swig_obj
[0] = args
;
46738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46739 if (!SWIG_IsOK(res1
)) {
46740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Layout" "', expected argument " "1"" of type '" "wxSizer *""'");
46742 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46746 wxPyEndAllowThreads(__tstate
);
46747 if (PyErr_Occurred()) SWIG_fail
;
46749 resultobj
= SWIG_Py_Void();
46756 SWIGINTERN PyObject
*_wrap_Sizer_Fit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46757 PyObject
*resultobj
= 0;
46758 wxSizer
*arg1
= (wxSizer
*) 0 ;
46759 wxWindow
*arg2
= (wxWindow
*) 0 ;
46765 PyObject
* obj0
= 0 ;
46766 PyObject
* obj1
= 0 ;
46767 char * kwnames
[] = {
46768 (char *) "self",(char *) "window", NULL
46771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46773 if (!SWIG_IsOK(res1
)) {
46774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Fit" "', expected argument " "1"" of type '" "wxSizer *""'");
46776 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46777 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
46778 if (!SWIG_IsOK(res2
)) {
46779 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_Fit" "', expected argument " "2"" of type '" "wxWindow *""'");
46781 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
46783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46784 result
= (arg1
)->Fit(arg2
);
46785 wxPyEndAllowThreads(__tstate
);
46786 if (PyErr_Occurred()) SWIG_fail
;
46788 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
46795 SWIGINTERN PyObject
*_wrap_Sizer_FitInside(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46796 PyObject
*resultobj
= 0;
46797 wxSizer
*arg1
= (wxSizer
*) 0 ;
46798 wxWindow
*arg2
= (wxWindow
*) 0 ;
46803 PyObject
* obj0
= 0 ;
46804 PyObject
* obj1
= 0 ;
46805 char * kwnames
[] = {
46806 (char *) "self",(char *) "window", NULL
46809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46811 if (!SWIG_IsOK(res1
)) {
46812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_FitInside" "', expected argument " "1"" of type '" "wxSizer *""'");
46814 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46815 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
46816 if (!SWIG_IsOK(res2
)) {
46817 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_FitInside" "', expected argument " "2"" of type '" "wxWindow *""'");
46819 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
46821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46822 (arg1
)->FitInside(arg2
);
46823 wxPyEndAllowThreads(__tstate
);
46824 if (PyErr_Occurred()) SWIG_fail
;
46826 resultobj
= SWIG_Py_Void();
46833 SWIGINTERN PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46834 PyObject
*resultobj
= 0;
46835 wxSizer
*arg1
= (wxSizer
*) 0 ;
46836 wxWindow
*arg2
= (wxWindow
*) 0 ;
46841 PyObject
* obj0
= 0 ;
46842 PyObject
* obj1
= 0 ;
46843 char * kwnames
[] = {
46844 (char *) "self",(char *) "window", NULL
46847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46849 if (!SWIG_IsOK(res1
)) {
46850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_SetSizeHints" "', expected argument " "1"" of type '" "wxSizer *""'");
46852 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46853 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
46854 if (!SWIG_IsOK(res2
)) {
46855 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_SetSizeHints" "', expected argument " "2"" of type '" "wxWindow *""'");
46857 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
46859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46860 (arg1
)->SetSizeHints(arg2
);
46861 wxPyEndAllowThreads(__tstate
);
46862 if (PyErr_Occurred()) SWIG_fail
;
46864 resultobj
= SWIG_Py_Void();
46871 SWIGINTERN PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46872 PyObject
*resultobj
= 0;
46873 wxSizer
*arg1
= (wxSizer
*) 0 ;
46874 wxWindow
*arg2
= (wxWindow
*) 0 ;
46879 PyObject
* obj0
= 0 ;
46880 PyObject
* obj1
= 0 ;
46881 char * kwnames
[] = {
46882 (char *) "self",(char *) "window", NULL
46885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46887 if (!SWIG_IsOK(res1
)) {
46888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_SetVirtualSizeHints" "', expected argument " "1"" of type '" "wxSizer *""'");
46890 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46891 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
46892 if (!SWIG_IsOK(res2
)) {
46893 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_SetVirtualSizeHints" "', expected argument " "2"" of type '" "wxWindow *""'");
46895 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
46897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46898 (arg1
)->SetVirtualSizeHints(arg2
);
46899 wxPyEndAllowThreads(__tstate
);
46900 if (PyErr_Occurred()) SWIG_fail
;
46902 resultobj
= SWIG_Py_Void();
46909 SWIGINTERN PyObject
*_wrap_Sizer_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46910 PyObject
*resultobj
= 0;
46911 wxSizer
*arg1
= (wxSizer
*) 0 ;
46912 bool arg2
= (bool) false ;
46917 PyObject
* obj0
= 0 ;
46918 PyObject
* obj1
= 0 ;
46919 char * kwnames
[] = {
46920 (char *) "self",(char *) "deleteWindows", NULL
46923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46925 if (!SWIG_IsOK(res1
)) {
46926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Clear" "', expected argument " "1"" of type '" "wxSizer *""'");
46928 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46930 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46931 if (!SWIG_IsOK(ecode2
)) {
46932 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sizer_Clear" "', expected argument " "2"" of type '" "bool""'");
46934 arg2
= static_cast< bool >(val2
);
46937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46938 (arg1
)->Clear(arg2
);
46939 wxPyEndAllowThreads(__tstate
);
46940 if (PyErr_Occurred()) SWIG_fail
;
46942 resultobj
= SWIG_Py_Void();
46949 SWIGINTERN PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46950 PyObject
*resultobj
= 0;
46951 wxSizer
*arg1
= (wxSizer
*) 0 ;
46954 PyObject
*swig_obj
[1] ;
46956 if (!args
) SWIG_fail
;
46957 swig_obj
[0] = args
;
46958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46959 if (!SWIG_IsOK(res1
)) {
46960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_DeleteWindows" "', expected argument " "1"" of type '" "wxSizer *""'");
46962 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46965 (arg1
)->DeleteWindows();
46966 wxPyEndAllowThreads(__tstate
);
46967 if (PyErr_Occurred()) SWIG_fail
;
46969 resultobj
= SWIG_Py_Void();
46976 SWIGINTERN PyObject
*_wrap_Sizer_GetChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46977 PyObject
*resultobj
= 0;
46978 wxSizer
*arg1
= (wxSizer
*) 0 ;
46979 PyObject
*result
= 0 ;
46982 PyObject
*swig_obj
[1] ;
46984 if (!args
) SWIG_fail
;
46985 swig_obj
[0] = args
;
46986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46987 if (!SWIG_IsOK(res1
)) {
46988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_GetChildren" "', expected argument " "1"" of type '" "wxSizer *""'");
46990 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46993 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
46994 wxPyEndAllowThreads(__tstate
);
46995 if (PyErr_Occurred()) SWIG_fail
;
46997 resultobj
= result
;
47004 SWIGINTERN PyObject
*_wrap_Sizer_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47005 PyObject
*resultobj
= 0;
47006 wxSizer
*arg1
= (wxSizer
*) 0 ;
47007 PyObject
*arg2
= (PyObject
*) 0 ;
47008 bool arg3
= (bool) true ;
47009 bool arg4
= (bool) false ;
47017 PyObject
* obj0
= 0 ;
47018 PyObject
* obj1
= 0 ;
47019 PyObject
* obj2
= 0 ;
47020 PyObject
* obj3
= 0 ;
47021 char * kwnames
[] = {
47022 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
47025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
47026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
47027 if (!SWIG_IsOK(res1
)) {
47028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Show" "', expected argument " "1"" of type '" "wxSizer *""'");
47030 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
47033 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
47034 if (!SWIG_IsOK(ecode3
)) {
47035 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Sizer_Show" "', expected argument " "3"" of type '" "bool""'");
47037 arg3
= static_cast< bool >(val3
);
47040 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
47041 if (!SWIG_IsOK(ecode4
)) {
47042 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Sizer_Show" "', expected argument " "4"" of type '" "bool""'");
47044 arg4
= static_cast< bool >(val4
);
47047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47048 result
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
);
47049 wxPyEndAllowThreads(__tstate
);
47050 if (PyErr_Occurred()) SWIG_fail
;
47053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
47061 SWIGINTERN PyObject
*_wrap_Sizer_IsShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47062 PyObject
*resultobj
= 0;
47063 wxSizer
*arg1
= (wxSizer
*) 0 ;
47064 PyObject
*arg2
= (PyObject
*) 0 ;
47068 PyObject
* obj0
= 0 ;
47069 PyObject
* obj1
= 0 ;
47070 char * kwnames
[] = {
47071 (char *) "self",(char *) "item", NULL
47074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
47076 if (!SWIG_IsOK(res1
)) {
47077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_IsShown" "', expected argument " "1"" of type '" "wxSizer *""'");
47079 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
47082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47083 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
47084 wxPyEndAllowThreads(__tstate
);
47085 if (PyErr_Occurred()) SWIG_fail
;
47088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
47096 SWIGINTERN PyObject
*_wrap_Sizer_ShowItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47097 PyObject
*resultobj
= 0;
47098 wxSizer
*arg1
= (wxSizer
*) 0 ;
47104 PyObject
* obj0
= 0 ;
47105 PyObject
* obj1
= 0 ;
47106 char * kwnames
[] = {
47107 (char *) "self",(char *) "show", NULL
47110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
47112 if (!SWIG_IsOK(res1
)) {
47113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_ShowItems" "', expected argument " "1"" of type '" "wxSizer *""'");
47115 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
47116 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
47117 if (!SWIG_IsOK(ecode2
)) {
47118 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sizer_ShowItems" "', expected argument " "2"" of type '" "bool""'");
47120 arg2
= static_cast< bool >(val2
);
47122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47123 (arg1
)->ShowItems(arg2
);
47124 wxPyEndAllowThreads(__tstate
);
47125 if (PyErr_Occurred()) SWIG_fail
;
47127 resultobj
= SWIG_Py_Void();
47134 SWIGINTERN PyObject
*Sizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47136 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
47137 SWIG_TypeNewClientData(SWIGTYPE_p_wxSizer
, SWIG_NewClientData(obj
));
47138 return SWIG_Py_Void();
47141 SWIGINTERN PyObject
*_wrap_new_PySizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47142 PyObject
*resultobj
= 0;
47143 wxPySizer
*result
= 0 ;
47145 if (!SWIG_Python_UnpackTuple(args
,"new_PySizer",0,0,0)) SWIG_fail
;
47147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47148 result
= (wxPySizer
*)new wxPySizer();
47149 wxPyEndAllowThreads(__tstate
);
47150 if (PyErr_Occurred()) SWIG_fail
;
47152 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPySizer
, SWIG_POINTER_NEW
| 0 );
47159 SWIGINTERN PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47160 PyObject
*resultobj
= 0;
47161 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
47162 PyObject
*arg2
= (PyObject
*) 0 ;
47163 PyObject
*arg3
= (PyObject
*) 0 ;
47166 PyObject
* obj0
= 0 ;
47167 PyObject
* obj1
= 0 ;
47168 PyObject
* obj2
= 0 ;
47169 char * kwnames
[] = {
47170 (char *) "self",(char *) "self",(char *) "_class", NULL
47173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
47174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPySizer
, 0 | 0 );
47175 if (!SWIG_IsOK(res1
)) {
47176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PySizer__setCallbackInfo" "', expected argument " "1"" of type '" "wxPySizer *""'");
47178 arg1
= reinterpret_cast< wxPySizer
* >(argp1
);
47182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47183 (arg1
)->_setCallbackInfo(arg2
,arg3
);
47184 wxPyEndAllowThreads(__tstate
);
47185 if (PyErr_Occurred()) SWIG_fail
;
47187 resultobj
= SWIG_Py_Void();
47194 SWIGINTERN PyObject
*PySizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47196 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
47197 SWIG_TypeNewClientData(SWIGTYPE_p_wxPySizer
, SWIG_NewClientData(obj
));
47198 return SWIG_Py_Void();
47201 SWIGINTERN PyObject
*PySizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47202 return SWIG_Python_InitShadowInstance(args
);
47205 SWIGINTERN PyObject
*_wrap_new_BoxSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47206 PyObject
*resultobj
= 0;
47207 int arg1
= (int) wxHORIZONTAL
;
47208 wxBoxSizer
*result
= 0 ;
47211 PyObject
* obj0
= 0 ;
47212 char * kwnames
[] = {
47213 (char *) "orient", NULL
47216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) SWIG_fail
;
47218 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
47219 if (!SWIG_IsOK(ecode1
)) {
47220 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BoxSizer" "', expected argument " "1"" of type '" "int""'");
47222 arg1
= static_cast< int >(val1
);
47225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47226 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
47227 wxPyEndAllowThreads(__tstate
);
47228 if (PyErr_Occurred()) SWIG_fail
;
47230 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_NEW
| 0 );
47237 SWIGINTERN PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47238 PyObject
*resultobj
= 0;
47239 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
47243 PyObject
*swig_obj
[1] ;
47245 if (!args
) SWIG_fail
;
47246 swig_obj
[0] = args
;
47247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBoxSizer
, 0 | 0 );
47248 if (!SWIG_IsOK(res1
)) {
47249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BoxSizer_GetOrientation" "', expected argument " "1"" of type '" "wxBoxSizer *""'");
47251 arg1
= reinterpret_cast< wxBoxSizer
* >(argp1
);
47253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47254 result
= (int)(arg1
)->GetOrientation();
47255 wxPyEndAllowThreads(__tstate
);
47256 if (PyErr_Occurred()) SWIG_fail
;
47258 resultobj
= SWIG_From_int(static_cast< int >(result
));
47265 SWIGINTERN PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47266 PyObject
*resultobj
= 0;
47267 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
47273 PyObject
* obj0
= 0 ;
47274 PyObject
* obj1
= 0 ;
47275 char * kwnames
[] = {
47276 (char *) "self",(char *) "orient", NULL
47279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBoxSizer
, 0 | 0 );
47281 if (!SWIG_IsOK(res1
)) {
47282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BoxSizer_SetOrientation" "', expected argument " "1"" of type '" "wxBoxSizer *""'");
47284 arg1
= reinterpret_cast< wxBoxSizer
* >(argp1
);
47285 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47286 if (!SWIG_IsOK(ecode2
)) {
47287 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BoxSizer_SetOrientation" "', expected argument " "2"" of type '" "int""'");
47289 arg2
= static_cast< int >(val2
);
47291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47292 (arg1
)->SetOrientation(arg2
);
47293 wxPyEndAllowThreads(__tstate
);
47294 if (PyErr_Occurred()) SWIG_fail
;
47296 resultobj
= SWIG_Py_Void();
47303 SWIGINTERN PyObject
*BoxSizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47305 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
47306 SWIG_TypeNewClientData(SWIGTYPE_p_wxBoxSizer
, SWIG_NewClientData(obj
));
47307 return SWIG_Py_Void();
47310 SWIGINTERN PyObject
*BoxSizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47311 return SWIG_Python_InitShadowInstance(args
);
47314 SWIGINTERN PyObject
*_wrap_new_StaticBoxSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47315 PyObject
*resultobj
= 0;
47316 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
47317 int arg2
= (int) wxHORIZONTAL
;
47318 wxStaticBoxSizer
*result
= 0 ;
47323 PyObject
* obj0
= 0 ;
47324 PyObject
* obj1
= 0 ;
47325 char * kwnames
[] = {
47326 (char *) "box",(char *) "orient", NULL
47329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
47331 if (!SWIG_IsOK(res1
)) {
47332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBoxSizer" "', expected argument " "1"" of type '" "wxStaticBox *""'");
47334 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
47336 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47337 if (!SWIG_IsOK(ecode2
)) {
47338 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBoxSizer" "', expected argument " "2"" of type '" "int""'");
47340 arg2
= static_cast< int >(val2
);
47343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47344 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
47345 wxPyEndAllowThreads(__tstate
);
47346 if (PyErr_Occurred()) SWIG_fail
;
47348 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBoxSizer
, SWIG_POINTER_NEW
| 0 );
47355 SWIGINTERN PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47356 PyObject
*resultobj
= 0;
47357 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
47358 wxStaticBox
*result
= 0 ;
47361 PyObject
*swig_obj
[1] ;
47363 if (!args
) SWIG_fail
;
47364 swig_obj
[0] = args
;
47365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBoxSizer
, 0 | 0 );
47366 if (!SWIG_IsOK(res1
)) {
47367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBoxSizer_GetStaticBox" "', expected argument " "1"" of type '" "wxStaticBoxSizer *""'");
47369 arg1
= reinterpret_cast< wxStaticBoxSizer
* >(argp1
);
47371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47372 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
47373 wxPyEndAllowThreads(__tstate
);
47374 if (PyErr_Occurred()) SWIG_fail
;
47377 resultobj
= wxPyMake_wxObject(result
, (bool)0);
47385 SWIGINTERN PyObject
*StaticBoxSizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47387 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
47388 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBoxSizer
, SWIG_NewClientData(obj
));
47389 return SWIG_Py_Void();
47392 SWIGINTERN PyObject
*StaticBoxSizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47393 return SWIG_Python_InitShadowInstance(args
);
47396 SWIGINTERN PyObject
*_wrap_new_GridSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47397 PyObject
*resultobj
= 0;
47398 int arg1
= (int) 1 ;
47399 int arg2
= (int) 0 ;
47400 int arg3
= (int) 0 ;
47401 int arg4
= (int) 0 ;
47402 wxGridSizer
*result
= 0 ;
47411 PyObject
* obj0
= 0 ;
47412 PyObject
* obj1
= 0 ;
47413 PyObject
* obj2
= 0 ;
47414 PyObject
* obj3
= 0 ;
47415 char * kwnames
[] = {
47416 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
47419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
47421 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
47422 if (!SWIG_IsOK(ecode1
)) {
47423 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridSizer" "', expected argument " "1"" of type '" "int""'");
47425 arg1
= static_cast< int >(val1
);
47428 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47429 if (!SWIG_IsOK(ecode2
)) {
47430 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridSizer" "', expected argument " "2"" of type '" "int""'");
47432 arg2
= static_cast< int >(val2
);
47435 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
47436 if (!SWIG_IsOK(ecode3
)) {
47437 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_GridSizer" "', expected argument " "3"" of type '" "int""'");
47439 arg3
= static_cast< int >(val3
);
47442 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
47443 if (!SWIG_IsOK(ecode4
)) {
47444 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_GridSizer" "', expected argument " "4"" of type '" "int""'");
47446 arg4
= static_cast< int >(val4
);
47449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47450 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
47451 wxPyEndAllowThreads(__tstate
);
47452 if (PyErr_Occurred()) SWIG_fail
;
47454 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_NEW
| 0 );
47461 SWIGINTERN PyObject
*_wrap_GridSizer_SetCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47462 PyObject
*resultobj
= 0;
47463 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
47469 PyObject
* obj0
= 0 ;
47470 PyObject
* obj1
= 0 ;
47471 char * kwnames
[] = {
47472 (char *) "self",(char *) "cols", NULL
47475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
47477 if (!SWIG_IsOK(res1
)) {
47478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_SetCols" "', expected argument " "1"" of type '" "wxGridSizer *""'");
47480 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
47481 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47482 if (!SWIG_IsOK(ecode2
)) {
47483 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridSizer_SetCols" "', expected argument " "2"" of type '" "int""'");
47485 arg2
= static_cast< int >(val2
);
47487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47488 (arg1
)->SetCols(arg2
);
47489 wxPyEndAllowThreads(__tstate
);
47490 if (PyErr_Occurred()) SWIG_fail
;
47492 resultobj
= SWIG_Py_Void();
47499 SWIGINTERN PyObject
*_wrap_GridSizer_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47500 PyObject
*resultobj
= 0;
47501 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
47507 PyObject
* obj0
= 0 ;
47508 PyObject
* obj1
= 0 ;
47509 char * kwnames
[] = {
47510 (char *) "self",(char *) "rows", NULL
47513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
47515 if (!SWIG_IsOK(res1
)) {
47516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_SetRows" "', expected argument " "1"" of type '" "wxGridSizer *""'");
47518 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
47519 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47520 if (!SWIG_IsOK(ecode2
)) {
47521 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridSizer_SetRows" "', expected argument " "2"" of type '" "int""'");
47523 arg2
= static_cast< int >(val2
);
47525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47526 (arg1
)->SetRows(arg2
);
47527 wxPyEndAllowThreads(__tstate
);
47528 if (PyErr_Occurred()) SWIG_fail
;
47530 resultobj
= SWIG_Py_Void();
47537 SWIGINTERN PyObject
*_wrap_GridSizer_SetVGap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47538 PyObject
*resultobj
= 0;
47539 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
47545 PyObject
* obj0
= 0 ;
47546 PyObject
* obj1
= 0 ;
47547 char * kwnames
[] = {
47548 (char *) "self",(char *) "gap", NULL
47551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
47553 if (!SWIG_IsOK(res1
)) {
47554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_SetVGap" "', expected argument " "1"" of type '" "wxGridSizer *""'");
47556 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
47557 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47558 if (!SWIG_IsOK(ecode2
)) {
47559 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridSizer_SetVGap" "', expected argument " "2"" of type '" "int""'");
47561 arg2
= static_cast< int >(val2
);
47563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47564 (arg1
)->SetVGap(arg2
);
47565 wxPyEndAllowThreads(__tstate
);
47566 if (PyErr_Occurred()) SWIG_fail
;
47568 resultobj
= SWIG_Py_Void();
47575 SWIGINTERN PyObject
*_wrap_GridSizer_SetHGap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47576 PyObject
*resultobj
= 0;
47577 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
47583 PyObject
* obj0
= 0 ;
47584 PyObject
* obj1
= 0 ;
47585 char * kwnames
[] = {
47586 (char *) "self",(char *) "gap", NULL
47589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
47591 if (!SWIG_IsOK(res1
)) {
47592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_SetHGap" "', expected argument " "1"" of type '" "wxGridSizer *""'");
47594 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
47595 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47596 if (!SWIG_IsOK(ecode2
)) {
47597 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridSizer_SetHGap" "', expected argument " "2"" of type '" "int""'");
47599 arg2
= static_cast< int >(val2
);
47601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47602 (arg1
)->SetHGap(arg2
);
47603 wxPyEndAllowThreads(__tstate
);
47604 if (PyErr_Occurred()) SWIG_fail
;
47606 resultobj
= SWIG_Py_Void();
47613 SWIGINTERN PyObject
*_wrap_GridSizer_GetCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47614 PyObject
*resultobj
= 0;
47615 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
47619 PyObject
*swig_obj
[1] ;
47621 if (!args
) SWIG_fail
;
47622 swig_obj
[0] = args
;
47623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
47624 if (!SWIG_IsOK(res1
)) {
47625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_GetCols" "', expected argument " "1"" of type '" "wxGridSizer *""'");
47627 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
47629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47630 result
= (int)(arg1
)->GetCols();
47631 wxPyEndAllowThreads(__tstate
);
47632 if (PyErr_Occurred()) SWIG_fail
;
47634 resultobj
= SWIG_From_int(static_cast< int >(result
));
47641 SWIGINTERN PyObject
*_wrap_GridSizer_GetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47642 PyObject
*resultobj
= 0;
47643 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
47647 PyObject
*swig_obj
[1] ;
47649 if (!args
) SWIG_fail
;
47650 swig_obj
[0] = args
;
47651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
47652 if (!SWIG_IsOK(res1
)) {
47653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_GetRows" "', expected argument " "1"" of type '" "wxGridSizer *""'");
47655 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
47657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47658 result
= (int)(arg1
)->GetRows();
47659 wxPyEndAllowThreads(__tstate
);
47660 if (PyErr_Occurred()) SWIG_fail
;
47662 resultobj
= SWIG_From_int(static_cast< int >(result
));
47669 SWIGINTERN PyObject
*_wrap_GridSizer_GetVGap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47670 PyObject
*resultobj
= 0;
47671 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
47675 PyObject
*swig_obj
[1] ;
47677 if (!args
) SWIG_fail
;
47678 swig_obj
[0] = args
;
47679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
47680 if (!SWIG_IsOK(res1
)) {
47681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_GetVGap" "', expected argument " "1"" of type '" "wxGridSizer *""'");
47683 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
47685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47686 result
= (int)(arg1
)->GetVGap();
47687 wxPyEndAllowThreads(__tstate
);
47688 if (PyErr_Occurred()) SWIG_fail
;
47690 resultobj
= SWIG_From_int(static_cast< int >(result
));
47697 SWIGINTERN PyObject
*_wrap_GridSizer_GetHGap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47698 PyObject
*resultobj
= 0;
47699 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
47703 PyObject
*swig_obj
[1] ;
47705 if (!args
) SWIG_fail
;
47706 swig_obj
[0] = args
;
47707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
47708 if (!SWIG_IsOK(res1
)) {
47709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_GetHGap" "', expected argument " "1"" of type '" "wxGridSizer *""'");
47711 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
47713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47714 result
= (int)(arg1
)->GetHGap();
47715 wxPyEndAllowThreads(__tstate
);
47716 if (PyErr_Occurred()) SWIG_fail
;
47718 resultobj
= SWIG_From_int(static_cast< int >(result
));
47725 SWIGINTERN PyObject
*GridSizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47727 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
47728 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridSizer
, SWIG_NewClientData(obj
));
47729 return SWIG_Py_Void();
47732 SWIGINTERN PyObject
*GridSizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47733 return SWIG_Python_InitShadowInstance(args
);
47736 SWIGINTERN PyObject
*_wrap_new_FlexGridSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47737 PyObject
*resultobj
= 0;
47738 int arg1
= (int) 1 ;
47739 int arg2
= (int) 0 ;
47740 int arg3
= (int) 0 ;
47741 int arg4
= (int) 0 ;
47742 wxFlexGridSizer
*result
= 0 ;
47751 PyObject
* obj0
= 0 ;
47752 PyObject
* obj1
= 0 ;
47753 PyObject
* obj2
= 0 ;
47754 PyObject
* obj3
= 0 ;
47755 char * kwnames
[] = {
47756 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
47759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
47761 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
47762 if (!SWIG_IsOK(ecode1
)) {
47763 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FlexGridSizer" "', expected argument " "1"" of type '" "int""'");
47765 arg1
= static_cast< int >(val1
);
47768 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47769 if (!SWIG_IsOK(ecode2
)) {
47770 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FlexGridSizer" "', expected argument " "2"" of type '" "int""'");
47772 arg2
= static_cast< int >(val2
);
47775 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
47776 if (!SWIG_IsOK(ecode3
)) {
47777 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FlexGridSizer" "', expected argument " "3"" of type '" "int""'");
47779 arg3
= static_cast< int >(val3
);
47782 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
47783 if (!SWIG_IsOK(ecode4
)) {
47784 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FlexGridSizer" "', expected argument " "4"" of type '" "int""'");
47786 arg4
= static_cast< int >(val4
);
47789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47790 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
47791 wxPyEndAllowThreads(__tstate
);
47792 if (PyErr_Occurred()) SWIG_fail
;
47794 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_NEW
| 0 );
47801 SWIGINTERN PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47802 PyObject
*resultobj
= 0;
47803 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
47805 int arg3
= (int) 0 ;
47812 PyObject
* obj0
= 0 ;
47813 PyObject
* obj1
= 0 ;
47814 PyObject
* obj2
= 0 ;
47815 char * kwnames
[] = {
47816 (char *) "self",(char *) "idx",(char *) "proportion", NULL
47819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
47820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
47821 if (!SWIG_IsOK(res1
)) {
47822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_AddGrowableRow" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
47824 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
47825 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
47826 if (!SWIG_IsOK(ecode2
)) {
47827 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FlexGridSizer_AddGrowableRow" "', expected argument " "2"" of type '" "size_t""'");
47829 arg2
= static_cast< size_t >(val2
);
47831 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
47832 if (!SWIG_IsOK(ecode3
)) {
47833 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FlexGridSizer_AddGrowableRow" "', expected argument " "3"" of type '" "int""'");
47835 arg3
= static_cast< int >(val3
);
47838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47839 (arg1
)->AddGrowableRow(arg2
,arg3
);
47840 wxPyEndAllowThreads(__tstate
);
47841 if (PyErr_Occurred()) SWIG_fail
;
47843 resultobj
= SWIG_Py_Void();
47850 SWIGINTERN PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47851 PyObject
*resultobj
= 0;
47852 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
47858 PyObject
* obj0
= 0 ;
47859 PyObject
* obj1
= 0 ;
47860 char * kwnames
[] = {
47861 (char *) "self",(char *) "idx", NULL
47864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
47866 if (!SWIG_IsOK(res1
)) {
47867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_RemoveGrowableRow" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
47869 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
47870 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
47871 if (!SWIG_IsOK(ecode2
)) {
47872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FlexGridSizer_RemoveGrowableRow" "', expected argument " "2"" of type '" "size_t""'");
47874 arg2
= static_cast< size_t >(val2
);
47876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47877 (arg1
)->RemoveGrowableRow(arg2
);
47878 wxPyEndAllowThreads(__tstate
);
47879 if (PyErr_Occurred()) SWIG_fail
;
47881 resultobj
= SWIG_Py_Void();
47888 SWIGINTERN PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47889 PyObject
*resultobj
= 0;
47890 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
47892 int arg3
= (int) 0 ;
47899 PyObject
* obj0
= 0 ;
47900 PyObject
* obj1
= 0 ;
47901 PyObject
* obj2
= 0 ;
47902 char * kwnames
[] = {
47903 (char *) "self",(char *) "idx",(char *) "proportion", NULL
47906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
47907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
47908 if (!SWIG_IsOK(res1
)) {
47909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_AddGrowableCol" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
47911 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
47912 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
47913 if (!SWIG_IsOK(ecode2
)) {
47914 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FlexGridSizer_AddGrowableCol" "', expected argument " "2"" of type '" "size_t""'");
47916 arg2
= static_cast< size_t >(val2
);
47918 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
47919 if (!SWIG_IsOK(ecode3
)) {
47920 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FlexGridSizer_AddGrowableCol" "', expected argument " "3"" of type '" "int""'");
47922 arg3
= static_cast< int >(val3
);
47925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47926 (arg1
)->AddGrowableCol(arg2
,arg3
);
47927 wxPyEndAllowThreads(__tstate
);
47928 if (PyErr_Occurred()) SWIG_fail
;
47930 resultobj
= SWIG_Py_Void();
47937 SWIGINTERN PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47938 PyObject
*resultobj
= 0;
47939 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
47945 PyObject
* obj0
= 0 ;
47946 PyObject
* obj1
= 0 ;
47947 char * kwnames
[] = {
47948 (char *) "self",(char *) "idx", NULL
47951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
47953 if (!SWIG_IsOK(res1
)) {
47954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_RemoveGrowableCol" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
47956 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
47957 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
47958 if (!SWIG_IsOK(ecode2
)) {
47959 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FlexGridSizer_RemoveGrowableCol" "', expected argument " "2"" of type '" "size_t""'");
47961 arg2
= static_cast< size_t >(val2
);
47963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47964 (arg1
)->RemoveGrowableCol(arg2
);
47965 wxPyEndAllowThreads(__tstate
);
47966 if (PyErr_Occurred()) SWIG_fail
;
47968 resultobj
= SWIG_Py_Void();
47975 SWIGINTERN PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47976 PyObject
*resultobj
= 0;
47977 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
47983 PyObject
* obj0
= 0 ;
47984 PyObject
* obj1
= 0 ;
47985 char * kwnames
[] = {
47986 (char *) "self",(char *) "direction", NULL
47989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
47991 if (!SWIG_IsOK(res1
)) {
47992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_SetFlexibleDirection" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
47994 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
47995 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47996 if (!SWIG_IsOK(ecode2
)) {
47997 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FlexGridSizer_SetFlexibleDirection" "', expected argument " "2"" of type '" "int""'");
47999 arg2
= static_cast< int >(val2
);
48001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48002 (arg1
)->SetFlexibleDirection(arg2
);
48003 wxPyEndAllowThreads(__tstate
);
48004 if (PyErr_Occurred()) SWIG_fail
;
48006 resultobj
= SWIG_Py_Void();
48013 SWIGINTERN PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48014 PyObject
*resultobj
= 0;
48015 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
48019 PyObject
*swig_obj
[1] ;
48021 if (!args
) SWIG_fail
;
48022 swig_obj
[0] = args
;
48023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
48024 if (!SWIG_IsOK(res1
)) {
48025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_GetFlexibleDirection" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
48027 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
48029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48030 result
= (int)(arg1
)->GetFlexibleDirection();
48031 wxPyEndAllowThreads(__tstate
);
48032 if (PyErr_Occurred()) SWIG_fail
;
48034 resultobj
= SWIG_From_int(static_cast< int >(result
));
48041 SWIGINTERN PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48042 PyObject
*resultobj
= 0;
48043 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
48044 wxFlexSizerGrowMode arg2
;
48049 PyObject
* obj0
= 0 ;
48050 PyObject
* obj1
= 0 ;
48051 char * kwnames
[] = {
48052 (char *) "self",(char *) "mode", NULL
48055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
48057 if (!SWIG_IsOK(res1
)) {
48058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_SetNonFlexibleGrowMode" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
48060 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
48061 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
48062 if (!SWIG_IsOK(ecode2
)) {
48063 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FlexGridSizer_SetNonFlexibleGrowMode" "', expected argument " "2"" of type '" "wxFlexSizerGrowMode""'");
48065 arg2
= static_cast< wxFlexSizerGrowMode
>(val2
);
48067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48068 (arg1
)->SetNonFlexibleGrowMode(arg2
);
48069 wxPyEndAllowThreads(__tstate
);
48070 if (PyErr_Occurred()) SWIG_fail
;
48072 resultobj
= SWIG_Py_Void();
48079 SWIGINTERN PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48080 PyObject
*resultobj
= 0;
48081 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
48082 wxFlexSizerGrowMode result
;
48085 PyObject
*swig_obj
[1] ;
48087 if (!args
) SWIG_fail
;
48088 swig_obj
[0] = args
;
48089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
48090 if (!SWIG_IsOK(res1
)) {
48091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_GetNonFlexibleGrowMode" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
48093 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
48095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48096 result
= (wxFlexSizerGrowMode
)(arg1
)->GetNonFlexibleGrowMode();
48097 wxPyEndAllowThreads(__tstate
);
48098 if (PyErr_Occurred()) SWIG_fail
;
48100 resultobj
= SWIG_From_int(static_cast< int >(result
));
48107 SWIGINTERN PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48108 PyObject
*resultobj
= 0;
48109 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
48110 wxArrayInt
*result
= 0 ;
48113 PyObject
*swig_obj
[1] ;
48115 if (!args
) SWIG_fail
;
48116 swig_obj
[0] = args
;
48117 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
48118 if (!SWIG_IsOK(res1
)) {
48119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_GetRowHeights" "', expected argument " "1"" of type '" "wxFlexGridSizer const *""'");
48121 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
48123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48125 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
48126 result
= (wxArrayInt
*) &_result_ref
;
48128 wxPyEndAllowThreads(__tstate
);
48129 if (PyErr_Occurred()) SWIG_fail
;
48132 resultobj
= PyList_New(0);
48134 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
48135 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
48136 PyList_Append(resultobj
, val
);
48146 SWIGINTERN PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48147 PyObject
*resultobj
= 0;
48148 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
48149 wxArrayInt
*result
= 0 ;
48152 PyObject
*swig_obj
[1] ;
48154 if (!args
) SWIG_fail
;
48155 swig_obj
[0] = args
;
48156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
48157 if (!SWIG_IsOK(res1
)) {
48158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_GetColWidths" "', expected argument " "1"" of type '" "wxFlexGridSizer const *""'");
48160 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
48162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48164 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
48165 result
= (wxArrayInt
*) &_result_ref
;
48167 wxPyEndAllowThreads(__tstate
);
48168 if (PyErr_Occurred()) SWIG_fail
;
48171 resultobj
= PyList_New(0);
48173 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
48174 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
48175 PyList_Append(resultobj
, val
);
48185 SWIGINTERN PyObject
*FlexGridSizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48187 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
48188 SWIG_TypeNewClientData(SWIGTYPE_p_wxFlexGridSizer
, SWIG_NewClientData(obj
));
48189 return SWIG_Py_Void();
48192 SWIGINTERN PyObject
*FlexGridSizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48193 return SWIG_Python_InitShadowInstance(args
);
48196 SWIGINTERN PyObject
*_wrap_new_StdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48197 PyObject
*resultobj
= 0;
48198 wxStdDialogButtonSizer
*result
= 0 ;
48200 if (!SWIG_Python_UnpackTuple(args
,"new_StdDialogButtonSizer",0,0,0)) SWIG_fail
;
48202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48203 result
= (wxStdDialogButtonSizer
*)new wxStdDialogButtonSizer();
48204 wxPyEndAllowThreads(__tstate
);
48205 if (PyErr_Occurred()) SWIG_fail
;
48207 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_NEW
| 0 );
48214 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_AddButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48215 PyObject
*resultobj
= 0;
48216 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
48217 wxButton
*arg2
= (wxButton
*) 0 ;
48222 PyObject
* obj0
= 0 ;
48223 PyObject
* obj1
= 0 ;
48224 char * kwnames
[] = {
48225 (char *) "self",(char *) "button", NULL
48228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_AddButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
48230 if (!SWIG_IsOK(res1
)) {
48231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_AddButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer *""'");
48233 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
48234 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxButton
, 0 | 0 );
48235 if (!SWIG_IsOK(res2
)) {
48236 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StdDialogButtonSizer_AddButton" "', expected argument " "2"" of type '" "wxButton *""'");
48238 arg2
= reinterpret_cast< wxButton
* >(argp2
);
48240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48241 (arg1
)->AddButton(arg2
);
48242 wxPyEndAllowThreads(__tstate
);
48243 if (PyErr_Occurred()) SWIG_fail
;
48245 resultobj
= SWIG_Py_Void();
48252 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48253 PyObject
*resultobj
= 0;
48254 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
48257 PyObject
*swig_obj
[1] ;
48259 if (!args
) SWIG_fail
;
48260 swig_obj
[0] = args
;
48261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
48262 if (!SWIG_IsOK(res1
)) {
48263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_Realize" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer *""'");
48265 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
48267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48269 wxPyEndAllowThreads(__tstate
);
48270 if (PyErr_Occurred()) SWIG_fail
;
48272 resultobj
= SWIG_Py_Void();
48279 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_SetAffirmativeButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48280 PyObject
*resultobj
= 0;
48281 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
48282 wxButton
*arg2
= (wxButton
*) 0 ;
48287 PyObject
* obj0
= 0 ;
48288 PyObject
* obj1
= 0 ;
48289 char * kwnames
[] = {
48290 (char *) "self",(char *) "button", NULL
48293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetAffirmativeButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
48295 if (!SWIG_IsOK(res1
)) {
48296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_SetAffirmativeButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer *""'");
48298 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
48299 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxButton
, 0 | 0 );
48300 if (!SWIG_IsOK(res2
)) {
48301 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StdDialogButtonSizer_SetAffirmativeButton" "', expected argument " "2"" of type '" "wxButton *""'");
48303 arg2
= reinterpret_cast< wxButton
* >(argp2
);
48305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48306 (arg1
)->SetAffirmativeButton(arg2
);
48307 wxPyEndAllowThreads(__tstate
);
48308 if (PyErr_Occurred()) SWIG_fail
;
48310 resultobj
= SWIG_Py_Void();
48317 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_SetNegativeButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48318 PyObject
*resultobj
= 0;
48319 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
48320 wxButton
*arg2
= (wxButton
*) 0 ;
48325 PyObject
* obj0
= 0 ;
48326 PyObject
* obj1
= 0 ;
48327 char * kwnames
[] = {
48328 (char *) "self",(char *) "button", NULL
48331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetNegativeButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
48333 if (!SWIG_IsOK(res1
)) {
48334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_SetNegativeButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer *""'");
48336 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
48337 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxButton
, 0 | 0 );
48338 if (!SWIG_IsOK(res2
)) {
48339 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StdDialogButtonSizer_SetNegativeButton" "', expected argument " "2"" of type '" "wxButton *""'");
48341 arg2
= reinterpret_cast< wxButton
* >(argp2
);
48343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48344 (arg1
)->SetNegativeButton(arg2
);
48345 wxPyEndAllowThreads(__tstate
);
48346 if (PyErr_Occurred()) SWIG_fail
;
48348 resultobj
= SWIG_Py_Void();
48355 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_SetCancelButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48356 PyObject
*resultobj
= 0;
48357 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
48358 wxButton
*arg2
= (wxButton
*) 0 ;
48363 PyObject
* obj0
= 0 ;
48364 PyObject
* obj1
= 0 ;
48365 char * kwnames
[] = {
48366 (char *) "self",(char *) "button", NULL
48369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetCancelButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
48371 if (!SWIG_IsOK(res1
)) {
48372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_SetCancelButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer *""'");
48374 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
48375 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxButton
, 0 | 0 );
48376 if (!SWIG_IsOK(res2
)) {
48377 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StdDialogButtonSizer_SetCancelButton" "', expected argument " "2"" of type '" "wxButton *""'");
48379 arg2
= reinterpret_cast< wxButton
* >(argp2
);
48381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48382 (arg1
)->SetCancelButton(arg2
);
48383 wxPyEndAllowThreads(__tstate
);
48384 if (PyErr_Occurred()) SWIG_fail
;
48386 resultobj
= SWIG_Py_Void();
48393 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_GetAffirmativeButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48394 PyObject
*resultobj
= 0;
48395 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
48396 wxButton
*result
= 0 ;
48399 PyObject
*swig_obj
[1] ;
48401 if (!args
) SWIG_fail
;
48402 swig_obj
[0] = args
;
48403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
48404 if (!SWIG_IsOK(res1
)) {
48405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_GetAffirmativeButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer const *""'");
48407 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
48409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48410 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetAffirmativeButton();
48411 wxPyEndAllowThreads(__tstate
);
48412 if (PyErr_Occurred()) SWIG_fail
;
48415 resultobj
= wxPyMake_wxObject(result
, (bool)0);
48423 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_GetApplyButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48424 PyObject
*resultobj
= 0;
48425 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
48426 wxButton
*result
= 0 ;
48429 PyObject
*swig_obj
[1] ;
48431 if (!args
) SWIG_fail
;
48432 swig_obj
[0] = args
;
48433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
48434 if (!SWIG_IsOK(res1
)) {
48435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_GetApplyButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer const *""'");
48437 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
48439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48440 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetApplyButton();
48441 wxPyEndAllowThreads(__tstate
);
48442 if (PyErr_Occurred()) SWIG_fail
;
48445 resultobj
= wxPyMake_wxObject(result
, (bool)0);
48453 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_GetNegativeButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48454 PyObject
*resultobj
= 0;
48455 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
48456 wxButton
*result
= 0 ;
48459 PyObject
*swig_obj
[1] ;
48461 if (!args
) SWIG_fail
;
48462 swig_obj
[0] = args
;
48463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
48464 if (!SWIG_IsOK(res1
)) {
48465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_GetNegativeButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer const *""'");
48467 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
48469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48470 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetNegativeButton();
48471 wxPyEndAllowThreads(__tstate
);
48472 if (PyErr_Occurred()) SWIG_fail
;
48475 resultobj
= wxPyMake_wxObject(result
, (bool)0);
48483 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_GetCancelButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48484 PyObject
*resultobj
= 0;
48485 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
48486 wxButton
*result
= 0 ;
48489 PyObject
*swig_obj
[1] ;
48491 if (!args
) SWIG_fail
;
48492 swig_obj
[0] = args
;
48493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
48494 if (!SWIG_IsOK(res1
)) {
48495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_GetCancelButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer const *""'");
48497 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
48499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48500 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetCancelButton();
48501 wxPyEndAllowThreads(__tstate
);
48502 if (PyErr_Occurred()) SWIG_fail
;
48505 resultobj
= wxPyMake_wxObject(result
, (bool)0);
48513 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_GetHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48514 PyObject
*resultobj
= 0;
48515 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
48516 wxButton
*result
= 0 ;
48519 PyObject
*swig_obj
[1] ;
48521 if (!args
) SWIG_fail
;
48522 swig_obj
[0] = args
;
48523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
48524 if (!SWIG_IsOK(res1
)) {
48525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_GetHelpButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer const *""'");
48527 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
48529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48530 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetHelpButton();
48531 wxPyEndAllowThreads(__tstate
);
48532 if (PyErr_Occurred()) SWIG_fail
;
48535 resultobj
= wxPyMake_wxObject(result
, (bool)0);
48543 SWIGINTERN PyObject
*StdDialogButtonSizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48545 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
48546 SWIG_TypeNewClientData(SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_NewClientData(obj
));
48547 return SWIG_Py_Void();
48550 SWIGINTERN PyObject
*StdDialogButtonSizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48551 return SWIG_Python_InitShadowInstance(args
);
48554 SWIGINTERN PyObject
*_wrap_new_GBPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48555 PyObject
*resultobj
= 0;
48556 int arg1
= (int) 0 ;
48557 int arg2
= (int) 0 ;
48558 wxGBPosition
*result
= 0 ;
48563 PyObject
* obj0
= 0 ;
48564 PyObject
* obj1
= 0 ;
48565 char * kwnames
[] = {
48566 (char *) "row",(char *) "col", NULL
48569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48571 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
48572 if (!SWIG_IsOK(ecode1
)) {
48573 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GBPosition" "', expected argument " "1"" of type '" "int""'");
48575 arg1
= static_cast< int >(val1
);
48578 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
48579 if (!SWIG_IsOK(ecode2
)) {
48580 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GBPosition" "', expected argument " "2"" of type '" "int""'");
48582 arg2
= static_cast< int >(val2
);
48585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48586 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
48587 wxPyEndAllowThreads(__tstate
);
48588 if (PyErr_Occurred()) SWIG_fail
;
48590 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_NEW
| 0 );
48597 SWIGINTERN PyObject
*_wrap_delete_GBPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48598 PyObject
*resultobj
= 0;
48599 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
48602 PyObject
*swig_obj
[1] ;
48604 if (!args
) SWIG_fail
;
48605 swig_obj
[0] = args
;
48606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_DISOWN
| 0 );
48607 if (!SWIG_IsOK(res1
)) {
48608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GBPosition" "', expected argument " "1"" of type '" "wxGBPosition *""'");
48610 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
48612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48615 wxPyEndAllowThreads(__tstate
);
48616 if (PyErr_Occurred()) SWIG_fail
;
48618 resultobj
= SWIG_Py_Void();
48625 SWIGINTERN PyObject
*_wrap_GBPosition_GetRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48626 PyObject
*resultobj
= 0;
48627 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
48631 PyObject
*swig_obj
[1] ;
48633 if (!args
) SWIG_fail
;
48634 swig_obj
[0] = args
;
48635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
48636 if (!SWIG_IsOK(res1
)) {
48637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition_GetRow" "', expected argument " "1"" of type '" "wxGBPosition const *""'");
48639 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
48641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48642 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
48643 wxPyEndAllowThreads(__tstate
);
48644 if (PyErr_Occurred()) SWIG_fail
;
48646 resultobj
= SWIG_From_int(static_cast< int >(result
));
48653 SWIGINTERN PyObject
*_wrap_GBPosition_GetCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48654 PyObject
*resultobj
= 0;
48655 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
48659 PyObject
*swig_obj
[1] ;
48661 if (!args
) SWIG_fail
;
48662 swig_obj
[0] = args
;
48663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
48664 if (!SWIG_IsOK(res1
)) {
48665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition_GetCol" "', expected argument " "1"" of type '" "wxGBPosition const *""'");
48667 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
48669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48670 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
48671 wxPyEndAllowThreads(__tstate
);
48672 if (PyErr_Occurred()) SWIG_fail
;
48674 resultobj
= SWIG_From_int(static_cast< int >(result
));
48681 SWIGINTERN PyObject
*_wrap_GBPosition_SetRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48682 PyObject
*resultobj
= 0;
48683 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
48689 PyObject
* obj0
= 0 ;
48690 PyObject
* obj1
= 0 ;
48691 char * kwnames
[] = {
48692 (char *) "self",(char *) "row", NULL
48695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
48697 if (!SWIG_IsOK(res1
)) {
48698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition_SetRow" "', expected argument " "1"" of type '" "wxGBPosition *""'");
48700 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
48701 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
48702 if (!SWIG_IsOK(ecode2
)) {
48703 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GBPosition_SetRow" "', expected argument " "2"" of type '" "int""'");
48705 arg2
= static_cast< int >(val2
);
48707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48708 (arg1
)->SetRow(arg2
);
48709 wxPyEndAllowThreads(__tstate
);
48710 if (PyErr_Occurred()) SWIG_fail
;
48712 resultobj
= SWIG_Py_Void();
48719 SWIGINTERN PyObject
*_wrap_GBPosition_SetCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48720 PyObject
*resultobj
= 0;
48721 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
48727 PyObject
* obj0
= 0 ;
48728 PyObject
* obj1
= 0 ;
48729 char * kwnames
[] = {
48730 (char *) "self",(char *) "col", NULL
48733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
48735 if (!SWIG_IsOK(res1
)) {
48736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition_SetCol" "', expected argument " "1"" of type '" "wxGBPosition *""'");
48738 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
48739 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
48740 if (!SWIG_IsOK(ecode2
)) {
48741 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GBPosition_SetCol" "', expected argument " "2"" of type '" "int""'");
48743 arg2
= static_cast< int >(val2
);
48745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48746 (arg1
)->SetCol(arg2
);
48747 wxPyEndAllowThreads(__tstate
);
48748 if (PyErr_Occurred()) SWIG_fail
;
48750 resultobj
= SWIG_Py_Void();
48757 SWIGINTERN PyObject
*_wrap_GBPosition___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48758 PyObject
*resultobj
= 0;
48759 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
48760 PyObject
*arg2
= (PyObject
*) 0 ;
48764 PyObject
* obj0
= 0 ;
48765 PyObject
* obj1
= 0 ;
48766 char * kwnames
[] = {
48767 (char *) "self",(char *) "other", NULL
48770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
48772 if (!SWIG_IsOK(res1
)) {
48773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition___eq__" "', expected argument " "1"" of type '" "wxGBPosition *""'");
48775 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
48778 result
= (bool)wxGBPosition___eq__(arg1
,arg2
);
48779 if (PyErr_Occurred()) SWIG_fail
;
48782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
48790 SWIGINTERN PyObject
*_wrap_GBPosition___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48791 PyObject
*resultobj
= 0;
48792 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
48793 PyObject
*arg2
= (PyObject
*) 0 ;
48797 PyObject
* obj0
= 0 ;
48798 PyObject
* obj1
= 0 ;
48799 char * kwnames
[] = {
48800 (char *) "self",(char *) "other", NULL
48803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
48805 if (!SWIG_IsOK(res1
)) {
48806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition___ne__" "', expected argument " "1"" of type '" "wxGBPosition *""'");
48808 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
48811 result
= (bool)wxGBPosition___ne__(arg1
,arg2
);
48812 if (PyErr_Occurred()) SWIG_fail
;
48815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
48823 SWIGINTERN PyObject
*_wrap_GBPosition_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48824 PyObject
*resultobj
= 0;
48825 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
48826 int arg2
= (int) 0 ;
48827 int arg3
= (int) 0 ;
48834 PyObject
* obj0
= 0 ;
48835 PyObject
* obj1
= 0 ;
48836 PyObject
* obj2
= 0 ;
48837 char * kwnames
[] = {
48838 (char *) "self",(char *) "row",(char *) "col", NULL
48841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
48842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
48843 if (!SWIG_IsOK(res1
)) {
48844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition_Set" "', expected argument " "1"" of type '" "wxGBPosition *""'");
48846 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
48848 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
48849 if (!SWIG_IsOK(ecode2
)) {
48850 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GBPosition_Set" "', expected argument " "2"" of type '" "int""'");
48852 arg2
= static_cast< int >(val2
);
48855 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
48856 if (!SWIG_IsOK(ecode3
)) {
48857 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GBPosition_Set" "', expected argument " "3"" of type '" "int""'");
48859 arg3
= static_cast< int >(val3
);
48862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48863 wxGBPosition_Set(arg1
,arg2
,arg3
);
48864 wxPyEndAllowThreads(__tstate
);
48865 if (PyErr_Occurred()) SWIG_fail
;
48867 resultobj
= SWIG_Py_Void();
48874 SWIGINTERN PyObject
*_wrap_GBPosition_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48875 PyObject
*resultobj
= 0;
48876 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
48877 PyObject
*result
= 0 ;
48880 PyObject
*swig_obj
[1] ;
48882 if (!args
) SWIG_fail
;
48883 swig_obj
[0] = args
;
48884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
48885 if (!SWIG_IsOK(res1
)) {
48886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition_Get" "', expected argument " "1"" of type '" "wxGBPosition *""'");
48888 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
48890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48891 result
= (PyObject
*)wxGBPosition_Get(arg1
);
48892 wxPyEndAllowThreads(__tstate
);
48893 if (PyErr_Occurred()) SWIG_fail
;
48895 resultobj
= result
;
48902 SWIGINTERN PyObject
*GBPosition_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48904 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
48905 SWIG_TypeNewClientData(SWIGTYPE_p_wxGBPosition
, SWIG_NewClientData(obj
));
48906 return SWIG_Py_Void();
48909 SWIGINTERN PyObject
*GBPosition_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48910 return SWIG_Python_InitShadowInstance(args
);
48913 SWIGINTERN PyObject
*_wrap_new_GBSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48914 PyObject
*resultobj
= 0;
48915 int arg1
= (int) 1 ;
48916 int arg2
= (int) 1 ;
48917 wxGBSpan
*result
= 0 ;
48922 PyObject
* obj0
= 0 ;
48923 PyObject
* obj1
= 0 ;
48924 char * kwnames
[] = {
48925 (char *) "rowspan",(char *) "colspan", NULL
48928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48930 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
48931 if (!SWIG_IsOK(ecode1
)) {
48932 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GBSpan" "', expected argument " "1"" of type '" "int""'");
48934 arg1
= static_cast< int >(val1
);
48937 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
48938 if (!SWIG_IsOK(ecode2
)) {
48939 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GBSpan" "', expected argument " "2"" of type '" "int""'");
48941 arg2
= static_cast< int >(val2
);
48944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48945 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
48946 wxPyEndAllowThreads(__tstate
);
48947 if (PyErr_Occurred()) SWIG_fail
;
48949 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_NEW
| 0 );
48956 SWIGINTERN PyObject
*_wrap_delete_GBSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48957 PyObject
*resultobj
= 0;
48958 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
48961 PyObject
*swig_obj
[1] ;
48963 if (!args
) SWIG_fail
;
48964 swig_obj
[0] = args
;
48965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_DISOWN
| 0 );
48966 if (!SWIG_IsOK(res1
)) {
48967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GBSpan" "', expected argument " "1"" of type '" "wxGBSpan *""'");
48969 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
48971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48974 wxPyEndAllowThreads(__tstate
);
48975 if (PyErr_Occurred()) SWIG_fail
;
48977 resultobj
= SWIG_Py_Void();
48984 SWIGINTERN PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48985 PyObject
*resultobj
= 0;
48986 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
48990 PyObject
*swig_obj
[1] ;
48992 if (!args
) SWIG_fail
;
48993 swig_obj
[0] = args
;
48994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
48995 if (!SWIG_IsOK(res1
)) {
48996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan_GetRowspan" "', expected argument " "1"" of type '" "wxGBSpan const *""'");
48998 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
49000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49001 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
49002 wxPyEndAllowThreads(__tstate
);
49003 if (PyErr_Occurred()) SWIG_fail
;
49005 resultobj
= SWIG_From_int(static_cast< int >(result
));
49012 SWIGINTERN PyObject
*_wrap_GBSpan_GetColspan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49013 PyObject
*resultobj
= 0;
49014 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
49018 PyObject
*swig_obj
[1] ;
49020 if (!args
) SWIG_fail
;
49021 swig_obj
[0] = args
;
49022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
49023 if (!SWIG_IsOK(res1
)) {
49024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan_GetColspan" "', expected argument " "1"" of type '" "wxGBSpan const *""'");
49026 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
49028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49029 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
49030 wxPyEndAllowThreads(__tstate
);
49031 if (PyErr_Occurred()) SWIG_fail
;
49033 resultobj
= SWIG_From_int(static_cast< int >(result
));
49040 SWIGINTERN PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49041 PyObject
*resultobj
= 0;
49042 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
49048 PyObject
* obj0
= 0 ;
49049 PyObject
* obj1
= 0 ;
49050 char * kwnames
[] = {
49051 (char *) "self",(char *) "rowspan", NULL
49054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
49056 if (!SWIG_IsOK(res1
)) {
49057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan_SetRowspan" "', expected argument " "1"" of type '" "wxGBSpan *""'");
49059 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
49060 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
49061 if (!SWIG_IsOK(ecode2
)) {
49062 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GBSpan_SetRowspan" "', expected argument " "2"" of type '" "int""'");
49064 arg2
= static_cast< int >(val2
);
49066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49067 (arg1
)->SetRowspan(arg2
);
49068 wxPyEndAllowThreads(__tstate
);
49069 if (PyErr_Occurred()) SWIG_fail
;
49071 resultobj
= SWIG_Py_Void();
49078 SWIGINTERN PyObject
*_wrap_GBSpan_SetColspan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49079 PyObject
*resultobj
= 0;
49080 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
49086 PyObject
* obj0
= 0 ;
49087 PyObject
* obj1
= 0 ;
49088 char * kwnames
[] = {
49089 (char *) "self",(char *) "colspan", NULL
49092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
49094 if (!SWIG_IsOK(res1
)) {
49095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan_SetColspan" "', expected argument " "1"" of type '" "wxGBSpan *""'");
49097 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
49098 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
49099 if (!SWIG_IsOK(ecode2
)) {
49100 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GBSpan_SetColspan" "', expected argument " "2"" of type '" "int""'");
49102 arg2
= static_cast< int >(val2
);
49104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49105 (arg1
)->SetColspan(arg2
);
49106 wxPyEndAllowThreads(__tstate
);
49107 if (PyErr_Occurred()) SWIG_fail
;
49109 resultobj
= SWIG_Py_Void();
49116 SWIGINTERN PyObject
*_wrap_GBSpan___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49117 PyObject
*resultobj
= 0;
49118 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
49119 PyObject
*arg2
= (PyObject
*) 0 ;
49123 PyObject
* obj0
= 0 ;
49124 PyObject
* obj1
= 0 ;
49125 char * kwnames
[] = {
49126 (char *) "self",(char *) "other", NULL
49129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
49131 if (!SWIG_IsOK(res1
)) {
49132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan___eq__" "', expected argument " "1"" of type '" "wxGBSpan *""'");
49134 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
49137 result
= (bool)wxGBSpan___eq__(arg1
,arg2
);
49138 if (PyErr_Occurred()) SWIG_fail
;
49141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
49149 SWIGINTERN PyObject
*_wrap_GBSpan___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49150 PyObject
*resultobj
= 0;
49151 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
49152 PyObject
*arg2
= (PyObject
*) 0 ;
49156 PyObject
* obj0
= 0 ;
49157 PyObject
* obj1
= 0 ;
49158 char * kwnames
[] = {
49159 (char *) "self",(char *) "other", NULL
49162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
49164 if (!SWIG_IsOK(res1
)) {
49165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan___ne__" "', expected argument " "1"" of type '" "wxGBSpan *""'");
49167 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
49170 result
= (bool)wxGBSpan___ne__(arg1
,arg2
);
49171 if (PyErr_Occurred()) SWIG_fail
;
49174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
49182 SWIGINTERN PyObject
*_wrap_GBSpan_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49183 PyObject
*resultobj
= 0;
49184 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
49185 int arg2
= (int) 1 ;
49186 int arg3
= (int) 1 ;
49193 PyObject
* obj0
= 0 ;
49194 PyObject
* obj1
= 0 ;
49195 PyObject
* obj2
= 0 ;
49196 char * kwnames
[] = {
49197 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
49200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
49201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
49202 if (!SWIG_IsOK(res1
)) {
49203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan_Set" "', expected argument " "1"" of type '" "wxGBSpan *""'");
49205 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
49207 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
49208 if (!SWIG_IsOK(ecode2
)) {
49209 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GBSpan_Set" "', expected argument " "2"" of type '" "int""'");
49211 arg2
= static_cast< int >(val2
);
49214 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
49215 if (!SWIG_IsOK(ecode3
)) {
49216 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GBSpan_Set" "', expected argument " "3"" of type '" "int""'");
49218 arg3
= static_cast< int >(val3
);
49221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49222 wxGBSpan_Set(arg1
,arg2
,arg3
);
49223 wxPyEndAllowThreads(__tstate
);
49224 if (PyErr_Occurred()) SWIG_fail
;
49226 resultobj
= SWIG_Py_Void();
49233 SWIGINTERN PyObject
*_wrap_GBSpan_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49234 PyObject
*resultobj
= 0;
49235 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
49236 PyObject
*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_wxGBSpan
, 0 | 0 );
49244 if (!SWIG_IsOK(res1
)) {
49245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan_Get" "', expected argument " "1"" of type '" "wxGBSpan *""'");
49247 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
49249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49250 result
= (PyObject
*)wxGBSpan_Get(arg1
);
49251 wxPyEndAllowThreads(__tstate
);
49252 if (PyErr_Occurred()) SWIG_fail
;
49254 resultobj
= result
;
49261 SWIGINTERN PyObject
*GBSpan_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49263 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
49264 SWIG_TypeNewClientData(SWIGTYPE_p_wxGBSpan
, SWIG_NewClientData(obj
));
49265 return SWIG_Py_Void();
49268 SWIGINTERN PyObject
*GBSpan_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49269 return SWIG_Python_InitShadowInstance(args
);
49272 SWIGINTERN
int DefaultSpan_set(PyObject
*) {
49273 SWIG_Error(SWIG_AttributeError
,"Variable DefaultSpan is read-only.");
49278 SWIGINTERN PyObject
*DefaultSpan_get(void) {
49279 PyObject
*pyobj
= 0;
49281 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0 );
49286 SWIGINTERN PyObject
*_wrap_new_GBSizerItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49287 PyObject
*resultobj
= 0;
49288 wxGBSizerItem
*result
= 0 ;
49290 if (!SWIG_Python_UnpackTuple(args
,"new_GBSizerItem",0,0,0)) SWIG_fail
;
49292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49293 result
= (wxGBSizerItem
*)new wxGBSizerItem();
49294 wxPyEndAllowThreads(__tstate
);
49295 if (PyErr_Occurred()) SWIG_fail
;
49297 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_NEW
| 0 );
49304 SWIGINTERN PyObject
*_wrap_delete_GBSizerItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49305 PyObject
*resultobj
= 0;
49306 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
49309 PyObject
*swig_obj
[1] ;
49311 if (!args
) SWIG_fail
;
49312 swig_obj
[0] = args
;
49313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_DISOWN
| 0 );
49314 if (!SWIG_IsOK(res1
)) {
49315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GBSizerItem" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
49317 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
49319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49322 wxPyEndAllowThreads(__tstate
);
49323 if (PyErr_Occurred()) SWIG_fail
;
49325 resultobj
= SWIG_Py_Void();
49332 SWIGINTERN PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49333 PyObject
*resultobj
= 0;
49334 wxWindow
*arg1
= (wxWindow
*) 0 ;
49335 wxGBPosition
*arg2
= 0 ;
49336 wxGBSpan
*arg3
= 0 ;
49339 PyObject
*arg6
= (PyObject
*) NULL
;
49340 wxGBSizerItem
*result
= 0 ;
49343 wxGBPosition temp2
;
49349 PyObject
* obj0
= 0 ;
49350 PyObject
* obj1
= 0 ;
49351 PyObject
* obj2
= 0 ;
49352 PyObject
* obj3
= 0 ;
49353 PyObject
* obj4
= 0 ;
49354 PyObject
* obj5
= 0 ;
49355 char * kwnames
[] = {
49356 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
49359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
49360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
49361 if (!SWIG_IsOK(res1
)) {
49362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GBSizerItemWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
49364 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
49367 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
49371 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
49373 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
49374 if (!SWIG_IsOK(ecode4
)) {
49375 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_GBSizerItemWindow" "', expected argument " "4"" of type '" "int""'");
49377 arg4
= static_cast< int >(val4
);
49378 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
49379 if (!SWIG_IsOK(ecode5
)) {
49380 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_GBSizerItemWindow" "', expected argument " "5"" of type '" "int""'");
49382 arg5
= static_cast< int >(val5
);
49387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49388 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
49389 wxPyEndAllowThreads(__tstate
);
49390 if (PyErr_Occurred()) SWIG_fail
;
49392 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_OWN
| 0 );
49399 SWIGINTERN PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49400 PyObject
*resultobj
= 0;
49401 wxSizer
*arg1
= (wxSizer
*) 0 ;
49402 wxGBPosition
*arg2
= 0 ;
49403 wxGBSpan
*arg3
= 0 ;
49406 PyObject
*arg6
= (PyObject
*) NULL
;
49407 wxGBSizerItem
*result
= 0 ;
49409 wxGBPosition temp2
;
49415 PyObject
* obj0
= 0 ;
49416 PyObject
* obj1
= 0 ;
49417 PyObject
* obj2
= 0 ;
49418 PyObject
* obj3
= 0 ;
49419 PyObject
* obj4
= 0 ;
49420 PyObject
* obj5
= 0 ;
49421 char * kwnames
[] = {
49422 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
49425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
49426 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxSizer
, SWIG_POINTER_DISOWN
| 0 );
49427 if (!SWIG_IsOK(res1
)) {
49428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GBSizerItemSizer" "', expected argument " "1"" of type '" "wxSizer *""'");
49432 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
49436 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
49438 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
49439 if (!SWIG_IsOK(ecode4
)) {
49440 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_GBSizerItemSizer" "', expected argument " "4"" of type '" "int""'");
49442 arg4
= static_cast< int >(val4
);
49443 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
49444 if (!SWIG_IsOK(ecode5
)) {
49445 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_GBSizerItemSizer" "', expected argument " "5"" of type '" "int""'");
49447 arg5
= static_cast< int >(val5
);
49452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49453 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
49454 wxPyEndAllowThreads(__tstate
);
49455 if (PyErr_Occurred()) SWIG_fail
;
49457 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_OWN
| 0 );
49464 SWIGINTERN PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49465 PyObject
*resultobj
= 0;
49468 wxGBPosition
*arg3
= 0 ;
49469 wxGBSpan
*arg4
= 0 ;
49472 PyObject
*arg7
= (PyObject
*) NULL
;
49473 wxGBSizerItem
*result
= 0 ;
49478 wxGBPosition temp3
;
49484 PyObject
* obj0
= 0 ;
49485 PyObject
* obj1
= 0 ;
49486 PyObject
* obj2
= 0 ;
49487 PyObject
* obj3
= 0 ;
49488 PyObject
* obj4
= 0 ;
49489 PyObject
* obj5
= 0 ;
49490 PyObject
* obj6
= 0 ;
49491 char * kwnames
[] = {
49492 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
49495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
49496 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
49497 if (!SWIG_IsOK(ecode1
)) {
49498 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GBSizerItemSpacer" "', expected argument " "1"" of type '" "int""'");
49500 arg1
= static_cast< int >(val1
);
49501 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
49502 if (!SWIG_IsOK(ecode2
)) {
49503 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GBSizerItemSpacer" "', expected argument " "2"" of type '" "int""'");
49505 arg2
= static_cast< int >(val2
);
49508 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
49512 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
49514 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
49515 if (!SWIG_IsOK(ecode5
)) {
49516 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_GBSizerItemSpacer" "', expected argument " "5"" of type '" "int""'");
49518 arg5
= static_cast< int >(val5
);
49519 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
49520 if (!SWIG_IsOK(ecode6
)) {
49521 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GBSizerItemSpacer" "', expected argument " "6"" of type '" "int""'");
49523 arg6
= static_cast< int >(val6
);
49528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49529 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
49530 wxPyEndAllowThreads(__tstate
);
49531 if (PyErr_Occurred()) SWIG_fail
;
49533 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_OWN
| 0 );
49540 SWIGINTERN PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49541 PyObject
*resultobj
= 0;
49542 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
49543 wxGBPosition result
;
49546 PyObject
*swig_obj
[1] ;
49548 if (!args
) SWIG_fail
;
49549 swig_obj
[0] = args
;
49550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
49551 if (!SWIG_IsOK(res1
)) {
49552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_GetPos" "', expected argument " "1"" of type '" "wxGBSizerItem const *""'");
49554 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
49556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49557 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
49558 wxPyEndAllowThreads(__tstate
);
49559 if (PyErr_Occurred()) SWIG_fail
;
49561 resultobj
= SWIG_NewPointerObj((new wxGBPosition(static_cast< const wxGBPosition
& >(result
))), SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_OWN
| 0 );
49568 SWIGINTERN PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49569 PyObject
*resultobj
= 0;
49570 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
49574 PyObject
*swig_obj
[1] ;
49576 if (!args
) SWIG_fail
;
49577 swig_obj
[0] = args
;
49578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
49579 if (!SWIG_IsOK(res1
)) {
49580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_GetSpan" "', expected argument " "1"" of type '" "wxGBSizerItem const *""'");
49582 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
49584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49585 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
49586 wxPyEndAllowThreads(__tstate
);
49587 if (PyErr_Occurred()) SWIG_fail
;
49589 resultobj
= SWIG_NewPointerObj((new wxGBSpan(static_cast< const wxGBSpan
& >(result
))), SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_OWN
| 0 );
49596 SWIGINTERN PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49597 PyObject
*resultobj
= 0;
49598 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
49599 wxGBPosition
*arg2
= 0 ;
49603 wxGBPosition temp2
;
49604 PyObject
* obj0
= 0 ;
49605 PyObject
* obj1
= 0 ;
49606 char * kwnames
[] = {
49607 (char *) "self",(char *) "pos", NULL
49610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
49612 if (!SWIG_IsOK(res1
)) {
49613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_SetPos" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
49615 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
49618 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
49621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49622 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
49623 wxPyEndAllowThreads(__tstate
);
49624 if (PyErr_Occurred()) SWIG_fail
;
49627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
49635 SWIGINTERN PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49636 PyObject
*resultobj
= 0;
49637 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
49638 wxGBSpan
*arg2
= 0 ;
49643 PyObject
* obj0
= 0 ;
49644 PyObject
* obj1
= 0 ;
49645 char * kwnames
[] = {
49646 (char *) "self",(char *) "span", NULL
49649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
49651 if (!SWIG_IsOK(res1
)) {
49652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_SetSpan" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
49654 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
49657 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
49660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49661 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
49662 wxPyEndAllowThreads(__tstate
);
49663 if (PyErr_Occurred()) SWIG_fail
;
49666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
49674 SWIGINTERN PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49675 PyObject
*resultobj
= 0;
49676 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
49677 wxGBSizerItem
*arg2
= 0 ;
49683 PyObject
* obj0
= 0 ;
49684 PyObject
* obj1
= 0 ;
49685 char * kwnames
[] = {
49686 (char *) "self",(char *) "other", NULL
49689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
49691 if (!SWIG_IsOK(res1
)) {
49692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_Intersects" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
49694 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
49695 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGBSizerItem
, 0 | 0);
49696 if (!SWIG_IsOK(res2
)) {
49697 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GBSizerItem_Intersects" "', expected argument " "2"" of type '" "wxGBSizerItem const &""'");
49700 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GBSizerItem_Intersects" "', expected argument " "2"" of type '" "wxGBSizerItem const &""'");
49702 arg2
= reinterpret_cast< wxGBSizerItem
* >(argp2
);
49704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49705 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
49706 wxPyEndAllowThreads(__tstate
);
49707 if (PyErr_Occurred()) SWIG_fail
;
49710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
49718 SWIGINTERN PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49719 PyObject
*resultobj
= 0;
49720 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
49721 wxGBPosition
*arg2
= 0 ;
49722 wxGBSpan
*arg3
= 0 ;
49726 wxGBPosition temp2
;
49728 PyObject
* obj0
= 0 ;
49729 PyObject
* obj1
= 0 ;
49730 PyObject
* obj2
= 0 ;
49731 char * kwnames
[] = {
49732 (char *) "self",(char *) "pos",(char *) "span", NULL
49735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
49736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
49737 if (!SWIG_IsOK(res1
)) {
49738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_IntersectsPos" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
49740 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
49743 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
49747 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
49750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49751 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
49752 wxPyEndAllowThreads(__tstate
);
49753 if (PyErr_Occurred()) SWIG_fail
;
49756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
49764 SWIGINTERN PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49765 PyObject
*resultobj
= 0;
49766 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
49767 wxGBPosition result
;
49770 PyObject
*swig_obj
[1] ;
49772 if (!args
) SWIG_fail
;
49773 swig_obj
[0] = args
;
49774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
49775 if (!SWIG_IsOK(res1
)) {
49776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_GetEndPos" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
49778 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
49780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49781 result
= wxGBSizerItem_GetEndPos(arg1
);
49782 wxPyEndAllowThreads(__tstate
);
49783 if (PyErr_Occurred()) SWIG_fail
;
49785 resultobj
= SWIG_NewPointerObj((new wxGBPosition(static_cast< const wxGBPosition
& >(result
))), SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_OWN
| 0 );
49792 SWIGINTERN PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49793 PyObject
*resultobj
= 0;
49794 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
49795 wxGridBagSizer
*result
= 0 ;
49798 PyObject
*swig_obj
[1] ;
49800 if (!args
) SWIG_fail
;
49801 swig_obj
[0] = args
;
49802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
49803 if (!SWIG_IsOK(res1
)) {
49804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_GetGBSizer" "', expected argument " "1"" of type '" "wxGBSizerItem const *""'");
49806 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
49808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49809 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
49810 wxPyEndAllowThreads(__tstate
);
49811 if (PyErr_Occurred()) SWIG_fail
;
49813 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
49820 SWIGINTERN PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49821 PyObject
*resultobj
= 0;
49822 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
49823 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
49828 PyObject
* obj0
= 0 ;
49829 PyObject
* obj1
= 0 ;
49830 char * kwnames
[] = {
49831 (char *) "self",(char *) "sizer", NULL
49834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
49836 if (!SWIG_IsOK(res1
)) {
49837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_SetGBSizer" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
49839 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
49840 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
49841 if (!SWIG_IsOK(res2
)) {
49842 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GBSizerItem_SetGBSizer" "', expected argument " "2"" of type '" "wxGridBagSizer *""'");
49844 arg2
= reinterpret_cast< wxGridBagSizer
* >(argp2
);
49846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49847 (arg1
)->SetGBSizer(arg2
);
49848 wxPyEndAllowThreads(__tstate
);
49849 if (PyErr_Occurred()) SWIG_fail
;
49851 resultobj
= SWIG_Py_Void();
49858 SWIGINTERN PyObject
*GBSizerItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49860 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
49861 SWIG_TypeNewClientData(SWIGTYPE_p_wxGBSizerItem
, SWIG_NewClientData(obj
));
49862 return SWIG_Py_Void();
49865 SWIGINTERN PyObject
*GBSizerItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49866 return SWIG_Python_InitShadowInstance(args
);
49869 SWIGINTERN PyObject
*_wrap_new_GridBagSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49870 PyObject
*resultobj
= 0;
49871 int arg1
= (int) 0 ;
49872 int arg2
= (int) 0 ;
49873 wxGridBagSizer
*result
= 0 ;
49878 PyObject
* obj0
= 0 ;
49879 PyObject
* obj1
= 0 ;
49880 char * kwnames
[] = {
49881 (char *) "vgap",(char *) "hgap", NULL
49884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49886 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
49887 if (!SWIG_IsOK(ecode1
)) {
49888 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridBagSizer" "', expected argument " "1"" of type '" "int""'");
49890 arg1
= static_cast< int >(val1
);
49893 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
49894 if (!SWIG_IsOK(ecode2
)) {
49895 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridBagSizer" "', expected argument " "2"" of type '" "int""'");
49897 arg2
= static_cast< int >(val2
);
49900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49901 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
49902 wxPyEndAllowThreads(__tstate
);
49903 if (PyErr_Occurred()) SWIG_fail
;
49905 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_NEW
| 0 );
49912 SWIGINTERN PyObject
*_wrap_GridBagSizer_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49913 PyObject
*resultobj
= 0;
49914 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
49915 PyObject
*arg2
= (PyObject
*) 0 ;
49916 wxGBPosition
*arg3
= 0 ;
49917 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
49918 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
49919 int arg5
= (int) 0 ;
49920 int arg6
= (int) 0 ;
49921 PyObject
*arg7
= (PyObject
*) NULL
;
49922 wxGBSizerItem
*result
= 0 ;
49925 wxGBPosition temp3
;
49931 PyObject
* obj0
= 0 ;
49932 PyObject
* obj1
= 0 ;
49933 PyObject
* obj2
= 0 ;
49934 PyObject
* obj3
= 0 ;
49935 PyObject
* obj4
= 0 ;
49936 PyObject
* obj5
= 0 ;
49937 PyObject
* obj6
= 0 ;
49938 char * kwnames
[] = {
49939 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
49942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
49943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
49944 if (!SWIG_IsOK(res1
)) {
49945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_Add" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
49947 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
49951 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
49956 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
49960 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
49961 if (!SWIG_IsOK(ecode5
)) {
49962 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GridBagSizer_Add" "', expected argument " "5"" of type '" "int""'");
49964 arg5
= static_cast< int >(val5
);
49967 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
49968 if (!SWIG_IsOK(ecode6
)) {
49969 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GridBagSizer_Add" "', expected argument " "6"" of type '" "int""'");
49971 arg6
= static_cast< int >(val6
);
49977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49978 result
= (wxGBSizerItem
*)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
49979 wxPyEndAllowThreads(__tstate
);
49980 if (PyErr_Occurred()) SWIG_fail
;
49982 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
49989 SWIGINTERN PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49990 PyObject
*resultobj
= 0;
49991 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
49992 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
49993 wxGBSizerItem
*result
= 0 ;
49997 PyObject
* obj0
= 0 ;
49998 PyObject
* obj1
= 0 ;
49999 char * kwnames
[] = {
50000 (char *) "self",(char *) "item", NULL
50003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50005 if (!SWIG_IsOK(res1
)) {
50006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_AddItem" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50008 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50009 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_DISOWN
| 0 );
50010 if (!SWIG_IsOK(res2
)) {
50011 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_AddItem" "', expected argument " "2"" of type '" "wxGBSizerItem *""'");
50014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50015 result
= (wxGBSizerItem
*)(arg1
)->Add(arg2
);
50016 wxPyEndAllowThreads(__tstate
);
50017 if (PyErr_Occurred()) SWIG_fail
;
50019 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
50026 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetCellSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50027 PyObject
*resultobj
= 0;
50028 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50038 PyObject
* obj0
= 0 ;
50039 PyObject
* obj1
= 0 ;
50040 PyObject
* obj2
= 0 ;
50041 char * kwnames
[] = {
50042 (char *) "self",(char *) "row",(char *) "col", NULL
50045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridBagSizer_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
50046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50047 if (!SWIG_IsOK(res1
)) {
50048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetCellSize" "', expected argument " "1"" of type '" "wxGridBagSizer const *""'");
50050 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50051 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
50052 if (!SWIG_IsOK(ecode2
)) {
50053 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridBagSizer_GetCellSize" "', expected argument " "2"" of type '" "int""'");
50055 arg2
= static_cast< int >(val2
);
50056 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
50057 if (!SWIG_IsOK(ecode3
)) {
50058 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridBagSizer_GetCellSize" "', expected argument " "3"" of type '" "int""'");
50060 arg3
= static_cast< int >(val3
);
50062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50063 result
= ((wxGridBagSizer
const *)arg1
)->GetCellSize(arg2
,arg3
);
50064 wxPyEndAllowThreads(__tstate
);
50065 if (PyErr_Occurred()) SWIG_fail
;
50067 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
50074 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50075 PyObject
*resultobj
= 0;
50076 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50080 PyObject
*swig_obj
[1] ;
50082 if (!args
) SWIG_fail
;
50083 swig_obj
[0] = args
;
50084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50085 if (!SWIG_IsOK(res1
)) {
50086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetEmptyCellSize" "', expected argument " "1"" of type '" "wxGridBagSizer const *""'");
50088 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50091 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
50092 wxPyEndAllowThreads(__tstate
);
50093 if (PyErr_Occurred()) SWIG_fail
;
50095 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
50102 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50103 PyObject
*resultobj
= 0;
50104 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50109 PyObject
* obj0
= 0 ;
50110 PyObject
* obj1
= 0 ;
50111 char * kwnames
[] = {
50112 (char *) "self",(char *) "sz", NULL
50115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50117 if (!SWIG_IsOK(res1
)) {
50118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetEmptyCellSize" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50120 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50123 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
50126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50127 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
50128 wxPyEndAllowThreads(__tstate
);
50129 if (PyErr_Occurred()) SWIG_fail
;
50131 resultobj
= SWIG_Py_Void();
50138 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50139 PyObject
*resultobj
= 0;
50140 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50141 wxWindow
*arg2
= (wxWindow
*) 0 ;
50142 wxGBPosition result
;
50148 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
50149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50150 if (!SWIG_IsOK(res1
)) {
50151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetItemPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50153 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50154 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
50155 if (!SWIG_IsOK(res2
)) {
50156 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_GetItemPosition" "', expected argument " "2"" of type '" "wxWindow *""'");
50158 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
50160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50161 result
= (arg1
)->GetItemPosition(arg2
);
50162 wxPyEndAllowThreads(__tstate
);
50163 if (PyErr_Occurred()) SWIG_fail
;
50165 resultobj
= SWIG_NewPointerObj((new wxGBPosition(static_cast< const wxGBPosition
& >(result
))), SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_OWN
| 0 );
50172 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50173 PyObject
*resultobj
= 0;
50174 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50175 wxSizer
*arg2
= (wxSizer
*) 0 ;
50176 wxGBPosition result
;
50182 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
50183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50184 if (!SWIG_IsOK(res1
)) {
50185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetItemPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50187 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50188 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50189 if (!SWIG_IsOK(res2
)) {
50190 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_GetItemPosition" "', expected argument " "2"" of type '" "wxSizer *""'");
50192 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
50194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50195 result
= (arg1
)->GetItemPosition(arg2
);
50196 wxPyEndAllowThreads(__tstate
);
50197 if (PyErr_Occurred()) SWIG_fail
;
50199 resultobj
= SWIG_NewPointerObj((new wxGBPosition(static_cast< const wxGBPosition
& >(result
))), SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_OWN
| 0 );
50206 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50207 PyObject
*resultobj
= 0;
50208 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50210 wxGBPosition result
;
50216 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
50217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50218 if (!SWIG_IsOK(res1
)) {
50219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetItemPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50221 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50222 ecode2
= SWIG_AsVal_size_t(swig_obj
[1], &val2
);
50223 if (!SWIG_IsOK(ecode2
)) {
50224 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridBagSizer_GetItemPosition" "', expected argument " "2"" of type '" "size_t""'");
50226 arg2
= static_cast< size_t >(val2
);
50228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50229 result
= (arg1
)->GetItemPosition(arg2
);
50230 wxPyEndAllowThreads(__tstate
);
50231 if (PyErr_Occurred()) SWIG_fail
;
50233 resultobj
= SWIG_NewPointerObj((new wxGBPosition(static_cast< const wxGBPosition
& >(result
))), SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_OWN
| 0 );
50240 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
50244 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GridBagSizer_GetItemPosition",0,2,argv
))) SWIG_fail
;
50250 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxWindow
, 0);
50251 _v
= SWIG_CheckState(res
);
50253 if (!_v
) goto check_1
;
50254 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
, argc
, argv
);
50262 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxSizer
, 0);
50263 _v
= SWIG_CheckState(res
);
50265 if (!_v
) goto check_2
;
50266 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
, argc
, argv
);
50271 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
, argc
, argv
);
50275 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
50280 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50281 PyObject
*resultobj
= 0;
50282 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50283 wxWindow
*arg2
= (wxWindow
*) 0 ;
50284 wxGBPosition
*arg3
= 0 ;
50290 wxGBPosition temp3
;
50292 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
50293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50294 if (!SWIG_IsOK(res1
)) {
50295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetItemPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50297 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50298 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
50299 if (!SWIG_IsOK(res2
)) {
50300 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_SetItemPosition" "', expected argument " "2"" of type '" "wxWindow *""'");
50302 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
50305 if ( ! wxGBPosition_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
50308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50309 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
50310 wxPyEndAllowThreads(__tstate
);
50311 if (PyErr_Occurred()) SWIG_fail
;
50314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
50322 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50323 PyObject
*resultobj
= 0;
50324 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50325 wxSizer
*arg2
= (wxSizer
*) 0 ;
50326 wxGBPosition
*arg3
= 0 ;
50332 wxGBPosition temp3
;
50334 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
50335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50336 if (!SWIG_IsOK(res1
)) {
50337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetItemPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50339 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50340 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50341 if (!SWIG_IsOK(res2
)) {
50342 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_SetItemPosition" "', expected argument " "2"" of type '" "wxSizer *""'");
50344 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
50347 if ( ! wxGBPosition_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
50350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50351 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
50352 wxPyEndAllowThreads(__tstate
);
50353 if (PyErr_Occurred()) SWIG_fail
;
50356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
50364 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50365 PyObject
*resultobj
= 0;
50366 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50368 wxGBPosition
*arg3
= 0 ;
50374 wxGBPosition temp3
;
50376 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
50377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50378 if (!SWIG_IsOK(res1
)) {
50379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetItemPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50381 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50382 ecode2
= SWIG_AsVal_size_t(swig_obj
[1], &val2
);
50383 if (!SWIG_IsOK(ecode2
)) {
50384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridBagSizer_SetItemPosition" "', expected argument " "2"" of type '" "size_t""'");
50386 arg2
= static_cast< size_t >(val2
);
50389 if ( ! wxGBPosition_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
50392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50393 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
50394 wxPyEndAllowThreads(__tstate
);
50395 if (PyErr_Occurred()) SWIG_fail
;
50398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
50406 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
50410 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GridBagSizer_SetItemPosition",0,3,argv
))) SWIG_fail
;
50416 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxWindow
, 0);
50417 _v
= SWIG_CheckState(res
);
50419 if (!_v
) goto check_1
;
50420 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
, argc
, argv
);
50428 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxSizer
, 0);
50429 _v
= SWIG_CheckState(res
);
50431 if (!_v
) goto check_2
;
50432 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
, argc
, argv
);
50437 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
, argc
, argv
);
50441 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
50446 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50447 PyObject
*resultobj
= 0;
50448 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50449 wxWindow
*arg2
= (wxWindow
*) 0 ;
50456 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
50457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50458 if (!SWIG_IsOK(res1
)) {
50459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetItemSpan" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50461 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50462 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
50463 if (!SWIG_IsOK(res2
)) {
50464 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_GetItemSpan" "', expected argument " "2"" of type '" "wxWindow *""'");
50466 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
50468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50469 result
= (arg1
)->GetItemSpan(arg2
);
50470 wxPyEndAllowThreads(__tstate
);
50471 if (PyErr_Occurred()) SWIG_fail
;
50473 resultobj
= SWIG_NewPointerObj((new wxGBSpan(static_cast< const wxGBSpan
& >(result
))), SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_OWN
| 0 );
50480 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50481 PyObject
*resultobj
= 0;
50482 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50483 wxSizer
*arg2
= (wxSizer
*) 0 ;
50490 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
50491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50492 if (!SWIG_IsOK(res1
)) {
50493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetItemSpan" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50495 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50496 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50497 if (!SWIG_IsOK(res2
)) {
50498 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_GetItemSpan" "', expected argument " "2"" of type '" "wxSizer *""'");
50500 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
50502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50503 result
= (arg1
)->GetItemSpan(arg2
);
50504 wxPyEndAllowThreads(__tstate
);
50505 if (PyErr_Occurred()) SWIG_fail
;
50507 resultobj
= SWIG_NewPointerObj((new wxGBSpan(static_cast< const wxGBSpan
& >(result
))), SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_OWN
| 0 );
50514 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50515 PyObject
*resultobj
= 0;
50516 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50524 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
50525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50526 if (!SWIG_IsOK(res1
)) {
50527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetItemSpan" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50529 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50530 ecode2
= SWIG_AsVal_size_t(swig_obj
[1], &val2
);
50531 if (!SWIG_IsOK(ecode2
)) {
50532 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridBagSizer_GetItemSpan" "', expected argument " "2"" of type '" "size_t""'");
50534 arg2
= static_cast< size_t >(val2
);
50536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50537 result
= (arg1
)->GetItemSpan(arg2
);
50538 wxPyEndAllowThreads(__tstate
);
50539 if (PyErr_Occurred()) SWIG_fail
;
50541 resultobj
= SWIG_NewPointerObj((new wxGBSpan(static_cast< const wxGBSpan
& >(result
))), SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_OWN
| 0 );
50548 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
50552 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GridBagSizer_GetItemSpan",0,2,argv
))) SWIG_fail
;
50558 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxWindow
, 0);
50559 _v
= SWIG_CheckState(res
);
50561 if (!_v
) goto check_1
;
50562 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
, argc
, argv
);
50570 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxSizer
, 0);
50571 _v
= SWIG_CheckState(res
);
50573 if (!_v
) goto check_2
;
50574 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
, argc
, argv
);
50579 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
, argc
, argv
);
50583 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
50588 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50589 PyObject
*resultobj
= 0;
50590 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50591 wxWindow
*arg2
= (wxWindow
*) 0 ;
50592 wxGBSpan
*arg3
= 0 ;
50600 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
50601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50602 if (!SWIG_IsOK(res1
)) {
50603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetItemSpan" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50605 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50606 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
50607 if (!SWIG_IsOK(res2
)) {
50608 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_SetItemSpan" "', expected argument " "2"" of type '" "wxWindow *""'");
50610 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
50613 if ( ! wxGBSpan_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
50616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50617 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
50618 wxPyEndAllowThreads(__tstate
);
50619 if (PyErr_Occurred()) SWIG_fail
;
50622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
50630 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50631 PyObject
*resultobj
= 0;
50632 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50633 wxSizer
*arg2
= (wxSizer
*) 0 ;
50634 wxGBSpan
*arg3
= 0 ;
50642 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
50643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50644 if (!SWIG_IsOK(res1
)) {
50645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetItemSpan" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50647 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50648 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50649 if (!SWIG_IsOK(res2
)) {
50650 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_SetItemSpan" "', expected argument " "2"" of type '" "wxSizer *""'");
50652 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
50655 if ( ! wxGBSpan_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
50658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50659 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
50660 wxPyEndAllowThreads(__tstate
);
50661 if (PyErr_Occurred()) SWIG_fail
;
50664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
50672 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50673 PyObject
*resultobj
= 0;
50674 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50676 wxGBSpan
*arg3
= 0 ;
50684 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
50685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50686 if (!SWIG_IsOK(res1
)) {
50687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetItemSpan" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50689 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50690 ecode2
= SWIG_AsVal_size_t(swig_obj
[1], &val2
);
50691 if (!SWIG_IsOK(ecode2
)) {
50692 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridBagSizer_SetItemSpan" "', expected argument " "2"" of type '" "size_t""'");
50694 arg2
= static_cast< size_t >(val2
);
50697 if ( ! wxGBSpan_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
50700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50701 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
50702 wxPyEndAllowThreads(__tstate
);
50703 if (PyErr_Occurred()) SWIG_fail
;
50706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
50714 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
50718 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GridBagSizer_SetItemSpan",0,3,argv
))) SWIG_fail
;
50724 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxWindow
, 0);
50725 _v
= SWIG_CheckState(res
);
50727 if (!_v
) goto check_1
;
50728 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
, argc
, argv
);
50736 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxSizer
, 0);
50737 _v
= SWIG_CheckState(res
);
50739 if (!_v
) goto check_2
;
50740 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
, argc
, argv
);
50745 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
, argc
, argv
);
50749 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
50754 SWIGINTERN PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50755 PyObject
*resultobj
= 0;
50756 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50757 wxWindow
*arg2
= (wxWindow
*) 0 ;
50758 wxGBSizerItem
*result
= 0 ;
50764 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
50765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50766 if (!SWIG_IsOK(res1
)) {
50767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_FindItem" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50769 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50770 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
50771 if (!SWIG_IsOK(res2
)) {
50772 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_FindItem" "', expected argument " "2"" of type '" "wxWindow *""'");
50774 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
50776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50777 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
50778 wxPyEndAllowThreads(__tstate
);
50779 if (PyErr_Occurred()) SWIG_fail
;
50781 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
50788 SWIGINTERN PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50789 PyObject
*resultobj
= 0;
50790 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50791 wxSizer
*arg2
= (wxSizer
*) 0 ;
50792 wxGBSizerItem
*result
= 0 ;
50798 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
50799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50800 if (!SWIG_IsOK(res1
)) {
50801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_FindItem" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50803 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50804 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50805 if (!SWIG_IsOK(res2
)) {
50806 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_FindItem" "', expected argument " "2"" of type '" "wxSizer *""'");
50808 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
50810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50811 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
50812 wxPyEndAllowThreads(__tstate
);
50813 if (PyErr_Occurred()) SWIG_fail
;
50815 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
50822 SWIGINTERN PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
50826 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GridBagSizer_FindItem",0,2,argv
))) SWIG_fail
;
50832 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxWindow
, 0);
50833 _v
= SWIG_CheckState(res
);
50835 if (!_v
) goto check_1
;
50836 return _wrap_GridBagSizer_FindItem__SWIG_0(self
, argc
, argv
);
50841 return _wrap_GridBagSizer_FindItem__SWIG_1(self
, argc
, argv
);
50845 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
50850 SWIGINTERN PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50851 PyObject
*resultobj
= 0;
50852 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50853 wxGBPosition
*arg2
= 0 ;
50854 wxGBSizerItem
*result
= 0 ;
50857 wxGBPosition temp2
;
50858 PyObject
* obj0
= 0 ;
50859 PyObject
* obj1
= 0 ;
50860 char * kwnames
[] = {
50861 (char *) "self",(char *) "pos", NULL
50864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50866 if (!SWIG_IsOK(res1
)) {
50867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_FindItemAtPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50869 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50872 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
50875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50876 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
50877 wxPyEndAllowThreads(__tstate
);
50878 if (PyErr_Occurred()) SWIG_fail
;
50880 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
50887 SWIGINTERN PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50888 PyObject
*resultobj
= 0;
50889 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50890 wxPoint
*arg2
= 0 ;
50891 wxGBSizerItem
*result
= 0 ;
50895 PyObject
* obj0
= 0 ;
50896 PyObject
* obj1
= 0 ;
50897 char * kwnames
[] = {
50898 (char *) "self",(char *) "pt", NULL
50901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50903 if (!SWIG_IsOK(res1
)) {
50904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_FindItemAtPoint" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50906 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50909 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
50912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50913 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
50914 wxPyEndAllowThreads(__tstate
);
50915 if (PyErr_Occurred()) SWIG_fail
;
50917 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
50924 SWIGINTERN PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50925 PyObject
*resultobj
= 0;
50926 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50927 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
50928 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
50936 PyObject
* obj0
= 0 ;
50937 PyObject
* obj1
= 0 ;
50938 PyObject
* obj2
= 0 ;
50939 char * kwnames
[] = {
50940 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
50943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
50944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50945 if (!SWIG_IsOK(res1
)) {
50946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_CheckForIntersection" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50948 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50949 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
50950 if (!SWIG_IsOK(res2
)) {
50951 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_CheckForIntersection" "', expected argument " "2"" of type '" "wxGBSizerItem *""'");
50953 arg2
= reinterpret_cast< wxGBSizerItem
* >(argp2
);
50955 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
50956 if (!SWIG_IsOK(res3
)) {
50957 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "GridBagSizer_CheckForIntersection" "', expected argument " "3"" of type '" "wxGBSizerItem *""'");
50959 arg3
= reinterpret_cast< wxGBSizerItem
* >(argp3
);
50962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50963 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
50964 wxPyEndAllowThreads(__tstate
);
50965 if (PyErr_Occurred()) SWIG_fail
;
50968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
50976 SWIGINTERN PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50977 PyObject
*resultobj
= 0;
50978 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50979 wxGBPosition
*arg2
= 0 ;
50980 wxGBSpan
*arg3
= 0 ;
50981 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
50985 wxGBPosition temp2
;
50989 PyObject
* obj0
= 0 ;
50990 PyObject
* obj1
= 0 ;
50991 PyObject
* obj2
= 0 ;
50992 PyObject
* obj3
= 0 ;
50993 char * kwnames
[] = {
50994 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
50997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
50998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50999 if (!SWIG_IsOK(res1
)) {
51000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_CheckForIntersectionPos" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
51002 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
51005 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
51009 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
51012 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
51013 if (!SWIG_IsOK(res4
)) {
51014 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GridBagSizer_CheckForIntersectionPos" "', expected argument " "4"" of type '" "wxGBSizerItem *""'");
51016 arg4
= reinterpret_cast< wxGBSizerItem
* >(argp4
);
51019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51020 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
51021 wxPyEndAllowThreads(__tstate
);
51022 if (PyErr_Occurred()) SWIG_fail
;
51025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
51033 SWIGINTERN PyObject
*GridBagSizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51035 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
51036 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridBagSizer
, SWIG_NewClientData(obj
));
51037 return SWIG_Py_Void();
51040 SWIGINTERN PyObject
*GridBagSizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51041 return SWIG_Python_InitShadowInstance(args
);
51044 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51045 PyObject
*resultobj
= 0;
51046 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51047 wxRelationship arg2
;
51048 wxWindow
*arg3
= (wxWindow
*) 0 ;
51050 int arg5
= (int) 0 ;
51051 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
51064 PyObject
* obj0
= 0 ;
51065 PyObject
* obj1
= 0 ;
51066 PyObject
* obj2
= 0 ;
51067 PyObject
* obj3
= 0 ;
51068 PyObject
* obj4
= 0 ;
51069 PyObject
* obj5
= 0 ;
51070 char * kwnames
[] = {
51071 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
51074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
51075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51076 if (!SWIG_IsOK(res1
)) {
51077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_Set" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51079 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51080 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
51081 if (!SWIG_IsOK(ecode2
)) {
51082 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_Set" "', expected argument " "2"" of type '" "wxRelationship""'");
51084 arg2
= static_cast< wxRelationship
>(val2
);
51085 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
51086 if (!SWIG_IsOK(res3
)) {
51087 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "IndividualLayoutConstraint_Set" "', expected argument " "3"" of type '" "wxWindow *""'");
51089 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
51090 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
51091 if (!SWIG_IsOK(ecode4
)) {
51092 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "IndividualLayoutConstraint_Set" "', expected argument " "4"" of type '" "wxEdge""'");
51094 arg4
= static_cast< wxEdge
>(val4
);
51096 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
51097 if (!SWIG_IsOK(ecode5
)) {
51098 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "IndividualLayoutConstraint_Set" "', expected argument " "5"" of type '" "int""'");
51100 arg5
= static_cast< int >(val5
);
51103 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
51104 if (!SWIG_IsOK(ecode6
)) {
51105 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "IndividualLayoutConstraint_Set" "', expected argument " "6"" of type '" "int""'");
51107 arg6
= static_cast< int >(val6
);
51110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51111 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
);
51112 wxPyEndAllowThreads(__tstate
);
51113 if (PyErr_Occurred()) SWIG_fail
;
51115 resultobj
= SWIG_Py_Void();
51122 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51123 PyObject
*resultobj
= 0;
51124 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51125 wxWindow
*arg2
= (wxWindow
*) 0 ;
51126 int arg3
= (int) 0 ;
51133 PyObject
* obj0
= 0 ;
51134 PyObject
* obj1
= 0 ;
51135 PyObject
* obj2
= 0 ;
51136 char * kwnames
[] = {
51137 (char *) "self",(char *) "sibling",(char *) "marg", NULL
51140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
51141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51142 if (!SWIG_IsOK(res1
)) {
51143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_LeftOf" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51145 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51146 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
51147 if (!SWIG_IsOK(res2
)) {
51148 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_LeftOf" "', expected argument " "2"" of type '" "wxWindow *""'");
51150 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
51152 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
51153 if (!SWIG_IsOK(ecode3
)) {
51154 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IndividualLayoutConstraint_LeftOf" "', expected argument " "3"" of type '" "int""'");
51156 arg3
= static_cast< int >(val3
);
51159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51160 (arg1
)->LeftOf(arg2
,arg3
);
51161 wxPyEndAllowThreads(__tstate
);
51162 if (PyErr_Occurred()) SWIG_fail
;
51164 resultobj
= SWIG_Py_Void();
51171 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51172 PyObject
*resultobj
= 0;
51173 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51174 wxWindow
*arg2
= (wxWindow
*) 0 ;
51175 int arg3
= (int) 0 ;
51182 PyObject
* obj0
= 0 ;
51183 PyObject
* obj1
= 0 ;
51184 PyObject
* obj2
= 0 ;
51185 char * kwnames
[] = {
51186 (char *) "self",(char *) "sibling",(char *) "marg", NULL
51189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
51190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51191 if (!SWIG_IsOK(res1
)) {
51192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_RightOf" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51194 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51195 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
51196 if (!SWIG_IsOK(res2
)) {
51197 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_RightOf" "', expected argument " "2"" of type '" "wxWindow *""'");
51199 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
51201 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
51202 if (!SWIG_IsOK(ecode3
)) {
51203 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IndividualLayoutConstraint_RightOf" "', expected argument " "3"" of type '" "int""'");
51205 arg3
= static_cast< int >(val3
);
51208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51209 (arg1
)->RightOf(arg2
,arg3
);
51210 wxPyEndAllowThreads(__tstate
);
51211 if (PyErr_Occurred()) SWIG_fail
;
51213 resultobj
= SWIG_Py_Void();
51220 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51221 PyObject
*resultobj
= 0;
51222 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51223 wxWindow
*arg2
= (wxWindow
*) 0 ;
51224 int arg3
= (int) 0 ;
51231 PyObject
* obj0
= 0 ;
51232 PyObject
* obj1
= 0 ;
51233 PyObject
* obj2
= 0 ;
51234 char * kwnames
[] = {
51235 (char *) "self",(char *) "sibling",(char *) "marg", NULL
51238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
51239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51240 if (!SWIG_IsOK(res1
)) {
51241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_Above" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51243 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51244 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
51245 if (!SWIG_IsOK(res2
)) {
51246 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_Above" "', expected argument " "2"" of type '" "wxWindow *""'");
51248 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
51250 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
51251 if (!SWIG_IsOK(ecode3
)) {
51252 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IndividualLayoutConstraint_Above" "', expected argument " "3"" of type '" "int""'");
51254 arg3
= static_cast< int >(val3
);
51257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51258 (arg1
)->Above(arg2
,arg3
);
51259 wxPyEndAllowThreads(__tstate
);
51260 if (PyErr_Occurred()) SWIG_fail
;
51262 resultobj
= SWIG_Py_Void();
51269 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51270 PyObject
*resultobj
= 0;
51271 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51272 wxWindow
*arg2
= (wxWindow
*) 0 ;
51273 int arg3
= (int) 0 ;
51280 PyObject
* obj0
= 0 ;
51281 PyObject
* obj1
= 0 ;
51282 PyObject
* obj2
= 0 ;
51283 char * kwnames
[] = {
51284 (char *) "self",(char *) "sibling",(char *) "marg", NULL
51287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
51288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51289 if (!SWIG_IsOK(res1
)) {
51290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_Below" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51292 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51293 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
51294 if (!SWIG_IsOK(res2
)) {
51295 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_Below" "', expected argument " "2"" of type '" "wxWindow *""'");
51297 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
51299 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
51300 if (!SWIG_IsOK(ecode3
)) {
51301 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IndividualLayoutConstraint_Below" "', expected argument " "3"" of type '" "int""'");
51303 arg3
= static_cast< int >(val3
);
51306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51307 (arg1
)->Below(arg2
,arg3
);
51308 wxPyEndAllowThreads(__tstate
);
51309 if (PyErr_Occurred()) SWIG_fail
;
51311 resultobj
= SWIG_Py_Void();
51318 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51319 PyObject
*resultobj
= 0;
51320 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51321 wxWindow
*arg2
= (wxWindow
*) 0 ;
51323 int arg4
= (int) 0 ;
51332 PyObject
* obj0
= 0 ;
51333 PyObject
* obj1
= 0 ;
51334 PyObject
* obj2
= 0 ;
51335 PyObject
* obj3
= 0 ;
51336 char * kwnames
[] = {
51337 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
51340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
51341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51342 if (!SWIG_IsOK(res1
)) {
51343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SameAs" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51345 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51346 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
51347 if (!SWIG_IsOK(res2
)) {
51348 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_SameAs" "', expected argument " "2"" of type '" "wxWindow *""'");
51350 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
51351 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
51352 if (!SWIG_IsOK(ecode3
)) {
51353 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IndividualLayoutConstraint_SameAs" "', expected argument " "3"" of type '" "wxEdge""'");
51355 arg3
= static_cast< wxEdge
>(val3
);
51357 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
51358 if (!SWIG_IsOK(ecode4
)) {
51359 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "IndividualLayoutConstraint_SameAs" "', expected argument " "4"" of type '" "int""'");
51361 arg4
= static_cast< int >(val4
);
51364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51365 (arg1
)->SameAs(arg2
,arg3
,arg4
);
51366 wxPyEndAllowThreads(__tstate
);
51367 if (PyErr_Occurred()) SWIG_fail
;
51369 resultobj
= SWIG_Py_Void();
51376 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51377 PyObject
*resultobj
= 0;
51378 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51379 wxWindow
*arg2
= (wxWindow
*) 0 ;
51390 PyObject
* obj0
= 0 ;
51391 PyObject
* obj1
= 0 ;
51392 PyObject
* obj2
= 0 ;
51393 PyObject
* obj3
= 0 ;
51394 char * kwnames
[] = {
51395 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
51398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
51399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51400 if (!SWIG_IsOK(res1
)) {
51401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_PercentOf" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51403 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51404 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
51405 if (!SWIG_IsOK(res2
)) {
51406 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_PercentOf" "', expected argument " "2"" of type '" "wxWindow *""'");
51408 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
51409 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
51410 if (!SWIG_IsOK(ecode3
)) {
51411 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IndividualLayoutConstraint_PercentOf" "', expected argument " "3"" of type '" "wxEdge""'");
51413 arg3
= static_cast< wxEdge
>(val3
);
51414 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
51415 if (!SWIG_IsOK(ecode4
)) {
51416 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "IndividualLayoutConstraint_PercentOf" "', expected argument " "4"" of type '" "int""'");
51418 arg4
= static_cast< int >(val4
);
51420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51421 (arg1
)->PercentOf(arg2
,arg3
,arg4
);
51422 wxPyEndAllowThreads(__tstate
);
51423 if (PyErr_Occurred()) SWIG_fail
;
51425 resultobj
= SWIG_Py_Void();
51432 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51433 PyObject
*resultobj
= 0;
51434 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51440 PyObject
* obj0
= 0 ;
51441 PyObject
* obj1
= 0 ;
51442 char * kwnames
[] = {
51443 (char *) "self",(char *) "val", NULL
51446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51448 if (!SWIG_IsOK(res1
)) {
51449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_Absolute" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51451 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51452 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
51453 if (!SWIG_IsOK(ecode2
)) {
51454 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_Absolute" "', expected argument " "2"" of type '" "int""'");
51456 arg2
= static_cast< int >(val2
);
51458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51459 (arg1
)->Absolute(arg2
);
51460 wxPyEndAllowThreads(__tstate
);
51461 if (PyErr_Occurred()) SWIG_fail
;
51463 resultobj
= SWIG_Py_Void();
51470 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51471 PyObject
*resultobj
= 0;
51472 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51475 PyObject
*swig_obj
[1] ;
51477 if (!args
) SWIG_fail
;
51478 swig_obj
[0] = args
;
51479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51480 if (!SWIG_IsOK(res1
)) {
51481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_Unconstrained" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51483 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51486 (arg1
)->Unconstrained();
51487 wxPyEndAllowThreads(__tstate
);
51488 if (PyErr_Occurred()) SWIG_fail
;
51490 resultobj
= SWIG_Py_Void();
51497 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51498 PyObject
*resultobj
= 0;
51499 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51502 PyObject
*swig_obj
[1] ;
51504 if (!args
) SWIG_fail
;
51505 swig_obj
[0] = args
;
51506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51507 if (!SWIG_IsOK(res1
)) {
51508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_AsIs" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51510 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51514 wxPyEndAllowThreads(__tstate
);
51515 if (PyErr_Occurred()) SWIG_fail
;
51517 resultobj
= SWIG_Py_Void();
51524 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51525 PyObject
*resultobj
= 0;
51526 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51527 wxWindow
*result
= 0 ;
51530 PyObject
*swig_obj
[1] ;
51532 if (!args
) SWIG_fail
;
51533 swig_obj
[0] = args
;
51534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51535 if (!SWIG_IsOK(res1
)) {
51536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetOtherWindow" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51538 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51541 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
51542 wxPyEndAllowThreads(__tstate
);
51543 if (PyErr_Occurred()) SWIG_fail
;
51546 resultobj
= wxPyMake_wxObject(result
, 0);
51554 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51555 PyObject
*resultobj
= 0;
51556 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51560 PyObject
*swig_obj
[1] ;
51562 if (!args
) SWIG_fail
;
51563 swig_obj
[0] = args
;
51564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51565 if (!SWIG_IsOK(res1
)) {
51566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetMyEdge" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint const *""'");
51568 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51571 result
= (wxEdge
)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
51572 wxPyEndAllowThreads(__tstate
);
51573 if (PyErr_Occurred()) SWIG_fail
;
51575 resultobj
= SWIG_From_int(static_cast< int >(result
));
51582 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51583 PyObject
*resultobj
= 0;
51584 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51590 PyObject
* obj0
= 0 ;
51591 PyObject
* obj1
= 0 ;
51592 char * kwnames
[] = {
51593 (char *) "self",(char *) "which", NULL
51596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51598 if (!SWIG_IsOK(res1
)) {
51599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SetEdge" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51601 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51602 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
51603 if (!SWIG_IsOK(ecode2
)) {
51604 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_SetEdge" "', expected argument " "2"" of type '" "wxEdge""'");
51606 arg2
= static_cast< wxEdge
>(val2
);
51608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51609 (arg1
)->SetEdge(arg2
);
51610 wxPyEndAllowThreads(__tstate
);
51611 if (PyErr_Occurred()) SWIG_fail
;
51613 resultobj
= SWIG_Py_Void();
51620 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51621 PyObject
*resultobj
= 0;
51622 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51628 PyObject
* obj0
= 0 ;
51629 PyObject
* obj1
= 0 ;
51630 char * kwnames
[] = {
51631 (char *) "self",(char *) "v", NULL
51634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51636 if (!SWIG_IsOK(res1
)) {
51637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SetValue" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51639 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51640 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
51641 if (!SWIG_IsOK(ecode2
)) {
51642 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_SetValue" "', expected argument " "2"" of type '" "int""'");
51644 arg2
= static_cast< int >(val2
);
51646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51647 (arg1
)->SetValue(arg2
);
51648 wxPyEndAllowThreads(__tstate
);
51649 if (PyErr_Occurred()) SWIG_fail
;
51651 resultobj
= SWIG_Py_Void();
51658 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51659 PyObject
*resultobj
= 0;
51660 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 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_wxIndividualLayoutConstraint
, 0 | 0 );
51669 if (!SWIG_IsOK(res1
)) {
51670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetMargin" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51672 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51675 result
= (int)(arg1
)->GetMargin();
51676 wxPyEndAllowThreads(__tstate
);
51677 if (PyErr_Occurred()) SWIG_fail
;
51679 resultobj
= SWIG_From_int(static_cast< int >(result
));
51686 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51687 PyObject
*resultobj
= 0;
51688 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51694 PyObject
* obj0
= 0 ;
51695 PyObject
* obj1
= 0 ;
51696 char * kwnames
[] = {
51697 (char *) "self",(char *) "m", NULL
51700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51702 if (!SWIG_IsOK(res1
)) {
51703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SetMargin" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51705 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51706 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
51707 if (!SWIG_IsOK(ecode2
)) {
51708 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_SetMargin" "', expected argument " "2"" of type '" "int""'");
51710 arg2
= static_cast< int >(val2
);
51712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51713 (arg1
)->SetMargin(arg2
);
51714 wxPyEndAllowThreads(__tstate
);
51715 if (PyErr_Occurred()) SWIG_fail
;
51717 resultobj
= SWIG_Py_Void();
51724 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51725 PyObject
*resultobj
= 0;
51726 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51730 PyObject
*swig_obj
[1] ;
51732 if (!args
) SWIG_fail
;
51733 swig_obj
[0] = args
;
51734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51735 if (!SWIG_IsOK(res1
)) {
51736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetValue" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint const *""'");
51738 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51741 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
51742 wxPyEndAllowThreads(__tstate
);
51743 if (PyErr_Occurred()) SWIG_fail
;
51745 resultobj
= SWIG_From_int(static_cast< int >(result
));
51752 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51753 PyObject
*resultobj
= 0;
51754 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51758 PyObject
*swig_obj
[1] ;
51760 if (!args
) SWIG_fail
;
51761 swig_obj
[0] = args
;
51762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51763 if (!SWIG_IsOK(res1
)) {
51764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetPercent" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint const *""'");
51766 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51769 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
51770 wxPyEndAllowThreads(__tstate
);
51771 if (PyErr_Occurred()) SWIG_fail
;
51773 resultobj
= SWIG_From_int(static_cast< int >(result
));
51780 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51781 PyObject
*resultobj
= 0;
51782 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51786 PyObject
*swig_obj
[1] ;
51788 if (!args
) SWIG_fail
;
51789 swig_obj
[0] = args
;
51790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51791 if (!SWIG_IsOK(res1
)) {
51792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetOtherEdge" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint const *""'");
51794 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51797 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
51798 wxPyEndAllowThreads(__tstate
);
51799 if (PyErr_Occurred()) SWIG_fail
;
51801 resultobj
= SWIG_From_int(static_cast< int >(result
));
51808 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51809 PyObject
*resultobj
= 0;
51810 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51814 PyObject
*swig_obj
[1] ;
51816 if (!args
) SWIG_fail
;
51817 swig_obj
[0] = args
;
51818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51819 if (!SWIG_IsOK(res1
)) {
51820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetDone" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint const *""'");
51822 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51825 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
51826 wxPyEndAllowThreads(__tstate
);
51827 if (PyErr_Occurred()) SWIG_fail
;
51830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
51838 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51839 PyObject
*resultobj
= 0;
51840 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51846 PyObject
* obj0
= 0 ;
51847 PyObject
* obj1
= 0 ;
51848 char * kwnames
[] = {
51849 (char *) "self",(char *) "d", NULL
51852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51854 if (!SWIG_IsOK(res1
)) {
51855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SetDone" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51857 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51858 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
51859 if (!SWIG_IsOK(ecode2
)) {
51860 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_SetDone" "', expected argument " "2"" of type '" "bool""'");
51862 arg2
= static_cast< bool >(val2
);
51864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51865 (arg1
)->SetDone(arg2
);
51866 wxPyEndAllowThreads(__tstate
);
51867 if (PyErr_Occurred()) SWIG_fail
;
51869 resultobj
= SWIG_Py_Void();
51876 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51877 PyObject
*resultobj
= 0;
51878 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51879 wxRelationship result
;
51882 PyObject
*swig_obj
[1] ;
51884 if (!args
) SWIG_fail
;
51885 swig_obj
[0] = args
;
51886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51887 if (!SWIG_IsOK(res1
)) {
51888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetRelationship" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51890 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51893 result
= (wxRelationship
)(arg1
)->GetRelationship();
51894 wxPyEndAllowThreads(__tstate
);
51895 if (PyErr_Occurred()) SWIG_fail
;
51897 resultobj
= SWIG_From_int(static_cast< int >(result
));
51904 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51905 PyObject
*resultobj
= 0;
51906 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51907 wxRelationship arg2
;
51912 PyObject
* obj0
= 0 ;
51913 PyObject
* obj1
= 0 ;
51914 char * kwnames
[] = {
51915 (char *) "self",(char *) "r", NULL
51918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51920 if (!SWIG_IsOK(res1
)) {
51921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SetRelationship" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51923 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51924 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
51925 if (!SWIG_IsOK(ecode2
)) {
51926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_SetRelationship" "', expected argument " "2"" of type '" "wxRelationship""'");
51928 arg2
= static_cast< wxRelationship
>(val2
);
51930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51931 (arg1
)->SetRelationship(arg2
);
51932 wxPyEndAllowThreads(__tstate
);
51933 if (PyErr_Occurred()) SWIG_fail
;
51935 resultobj
= SWIG_Py_Void();
51942 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51943 PyObject
*resultobj
= 0;
51944 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51945 wxWindow
*arg2
= (wxWindow
*) 0 ;
51951 PyObject
* obj0
= 0 ;
51952 PyObject
* obj1
= 0 ;
51953 char * kwnames
[] = {
51954 (char *) "self",(char *) "otherW", NULL
51957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51959 if (!SWIG_IsOK(res1
)) {
51960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_ResetIfWin" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51962 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51963 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
51964 if (!SWIG_IsOK(res2
)) {
51965 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_ResetIfWin" "', expected argument " "2"" of type '" "wxWindow *""'");
51967 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
51969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51970 result
= (bool)(arg1
)->ResetIfWin(arg2
);
51971 wxPyEndAllowThreads(__tstate
);
51972 if (PyErr_Occurred()) SWIG_fail
;
51975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
51983 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51984 PyObject
*resultobj
= 0;
51985 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51986 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
51987 wxWindow
*arg3
= (wxWindow
*) 0 ;
51995 PyObject
* obj0
= 0 ;
51996 PyObject
* obj1
= 0 ;
51997 PyObject
* obj2
= 0 ;
51998 char * kwnames
[] = {
51999 (char *) "self",(char *) "constraints",(char *) "win", NULL
52002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
52003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
52004 if (!SWIG_IsOK(res1
)) {
52005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SatisfyConstraint" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
52007 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
52008 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
52009 if (!SWIG_IsOK(res2
)) {
52010 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_SatisfyConstraint" "', expected argument " "2"" of type '" "wxLayoutConstraints *""'");
52012 arg2
= reinterpret_cast< wxLayoutConstraints
* >(argp2
);
52013 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
52014 if (!SWIG_IsOK(res3
)) {
52015 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "IndividualLayoutConstraint_SatisfyConstraint" "', expected argument " "3"" of type '" "wxWindow *""'");
52017 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
52019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52020 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
52021 wxPyEndAllowThreads(__tstate
);
52022 if (PyErr_Occurred()) SWIG_fail
;
52025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
52033 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
52034 PyObject
*resultobj
= 0;
52035 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
52037 wxWindow
*arg3
= (wxWindow
*) 0 ;
52038 wxWindow
*arg4
= (wxWindow
*) 0 ;
52048 PyObject
* obj0
= 0 ;
52049 PyObject
* obj1
= 0 ;
52050 PyObject
* obj2
= 0 ;
52051 PyObject
* obj3
= 0 ;
52052 char * kwnames
[] = {
52053 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
52056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
52057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
52058 if (!SWIG_IsOK(res1
)) {
52059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetEdge" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint const *""'");
52061 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
52062 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
52063 if (!SWIG_IsOK(ecode2
)) {
52064 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_GetEdge" "', expected argument " "2"" of type '" "wxEdge""'");
52066 arg2
= static_cast< wxEdge
>(val2
);
52067 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
52068 if (!SWIG_IsOK(res3
)) {
52069 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "IndividualLayoutConstraint_GetEdge" "', expected argument " "3"" of type '" "wxWindow *""'");
52071 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
52072 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
52073 if (!SWIG_IsOK(res4
)) {
52074 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "IndividualLayoutConstraint_GetEdge" "', expected argument " "4"" of type '" "wxWindow *""'");
52076 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
52078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52079 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge(arg2
,arg3
,arg4
);
52080 wxPyEndAllowThreads(__tstate
);
52081 if (PyErr_Occurred()) SWIG_fail
;
52083 resultobj
= SWIG_From_int(static_cast< int >(result
));
52090 SWIGINTERN PyObject
*IndividualLayoutConstraint_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52092 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
52093 SWIG_TypeNewClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_NewClientData(obj
));
52094 return SWIG_Py_Void();
52097 SWIGINTERN PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52098 PyObject
*resultobj
= 0;
52099 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
52100 wxIndividualLayoutConstraint
*result
= 0 ;
52103 PyObject
*swig_obj
[1] ;
52105 if (!args
) SWIG_fail
;
52106 swig_obj
[0] = args
;
52107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
52108 if (!SWIG_IsOK(res1
)) {
52109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_left_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
52111 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
52112 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
52113 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
52120 SWIGINTERN PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52121 PyObject
*resultobj
= 0;
52122 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
52123 wxIndividualLayoutConstraint
*result
= 0 ;
52126 PyObject
*swig_obj
[1] ;
52128 if (!args
) SWIG_fail
;
52129 swig_obj
[0] = args
;
52130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
52131 if (!SWIG_IsOK(res1
)) {
52132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_top_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
52134 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
52135 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
52136 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
52143 SWIGINTERN PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52144 PyObject
*resultobj
= 0;
52145 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
52146 wxIndividualLayoutConstraint
*result
= 0 ;
52149 PyObject
*swig_obj
[1] ;
52151 if (!args
) SWIG_fail
;
52152 swig_obj
[0] = args
;
52153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
52154 if (!SWIG_IsOK(res1
)) {
52155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_right_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
52157 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
52158 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
52159 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
52166 SWIGINTERN PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52167 PyObject
*resultobj
= 0;
52168 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
52169 wxIndividualLayoutConstraint
*result
= 0 ;
52172 PyObject
*swig_obj
[1] ;
52174 if (!args
) SWIG_fail
;
52175 swig_obj
[0] = args
;
52176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
52177 if (!SWIG_IsOK(res1
)) {
52178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_bottom_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
52180 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
52181 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
52182 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
52189 SWIGINTERN PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52190 PyObject
*resultobj
= 0;
52191 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
52192 wxIndividualLayoutConstraint
*result
= 0 ;
52195 PyObject
*swig_obj
[1] ;
52197 if (!args
) SWIG_fail
;
52198 swig_obj
[0] = args
;
52199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
52200 if (!SWIG_IsOK(res1
)) {
52201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_width_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
52203 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
52204 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
52205 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
52212 SWIGINTERN PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52213 PyObject
*resultobj
= 0;
52214 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
52215 wxIndividualLayoutConstraint
*result
= 0 ;
52218 PyObject
*swig_obj
[1] ;
52220 if (!args
) SWIG_fail
;
52221 swig_obj
[0] = args
;
52222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
52223 if (!SWIG_IsOK(res1
)) {
52224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_height_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
52226 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
52227 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
52228 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
52235 SWIGINTERN PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52236 PyObject
*resultobj
= 0;
52237 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
52238 wxIndividualLayoutConstraint
*result
= 0 ;
52241 PyObject
*swig_obj
[1] ;
52243 if (!args
) SWIG_fail
;
52244 swig_obj
[0] = args
;
52245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
52246 if (!SWIG_IsOK(res1
)) {
52247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_centreX_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
52249 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
52250 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
52251 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
52258 SWIGINTERN PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52259 PyObject
*resultobj
= 0;
52260 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
52261 wxIndividualLayoutConstraint
*result
= 0 ;
52264 PyObject
*swig_obj
[1] ;
52266 if (!args
) SWIG_fail
;
52267 swig_obj
[0] = args
;
52268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
52269 if (!SWIG_IsOK(res1
)) {
52270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_centreY_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
52272 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
52273 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
52274 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
52281 SWIGINTERN PyObject
*_wrap_new_LayoutConstraints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52282 PyObject
*resultobj
= 0;
52283 wxLayoutConstraints
*result
= 0 ;
52285 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutConstraints",0,0,0)) SWIG_fail
;
52287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52288 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
52289 wxPyEndAllowThreads(__tstate
);
52290 if (PyErr_Occurred()) SWIG_fail
;
52292 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_NEW
| 0 );
52299 SWIGINTERN PyObject
*_wrap_delete_LayoutConstraints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52300 PyObject
*resultobj
= 0;
52301 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
52304 PyObject
*swig_obj
[1] ;
52306 if (!args
) SWIG_fail
;
52307 swig_obj
[0] = args
;
52308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_DISOWN
| 0 );
52309 if (!SWIG_IsOK(res1
)) {
52310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutConstraints" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
52312 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
52314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52317 wxPyEndAllowThreads(__tstate
);
52318 if (PyErr_Occurred()) SWIG_fail
;
52320 resultobj
= SWIG_Py_Void();
52327 SWIGINTERN PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
52328 PyObject
*resultobj
= 0;
52329 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
52330 wxWindow
*arg2
= (wxWindow
*) 0 ;
52331 int *arg3
= (int *) 0 ;
52338 int res3
= SWIG_TMPOBJ
;
52339 PyObject
* obj0
= 0 ;
52340 PyObject
* obj1
= 0 ;
52341 char * kwnames
[] = {
52342 (char *) "self",(char *) "win", NULL
52346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
52347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
52348 if (!SWIG_IsOK(res1
)) {
52349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_SatisfyConstraints" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
52351 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
52352 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
52353 if (!SWIG_IsOK(res2
)) {
52354 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutConstraints_SatisfyConstraints" "', expected argument " "2"" of type '" "wxWindow *""'");
52356 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
52358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52359 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
52360 wxPyEndAllowThreads(__tstate
);
52361 if (PyErr_Occurred()) SWIG_fail
;
52364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
52366 if (SWIG_IsTmpObj(res3
)) {
52367 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
52369 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
52370 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
52378 SWIGINTERN PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52379 PyObject
*resultobj
= 0;
52380 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
52384 PyObject
*swig_obj
[1] ;
52386 if (!args
) SWIG_fail
;
52387 swig_obj
[0] = args
;
52388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
52389 if (!SWIG_IsOK(res1
)) {
52390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_AreSatisfied" "', expected argument " "1"" of type '" "wxLayoutConstraints const *""'");
52392 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
52394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52395 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
52396 wxPyEndAllowThreads(__tstate
);
52397 if (PyErr_Occurred()) SWIG_fail
;
52400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
52408 SWIGINTERN PyObject
*LayoutConstraints_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52410 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
52411 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutConstraints
, SWIG_NewClientData(obj
));
52412 return SWIG_Py_Void();
52415 SWIGINTERN PyObject
*LayoutConstraints_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52416 return SWIG_Python_InitShadowInstance(args
);
52419 static PyMethodDef SwigMethods
[] = {
52420 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
52421 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
},
52422 { (char *)"Object_GetClassName", (PyCFunction
)_wrap_Object_GetClassName
, METH_O
, NULL
},
52423 { (char *)"Object_Destroy", (PyCFunction
)_wrap_Object_Destroy
, METH_O
, NULL
},
52424 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
52425 { (char *)"Size_width_set", _wrap_Size_width_set
, METH_VARARGS
, NULL
},
52426 { (char *)"Size_width_get", (PyCFunction
)_wrap_Size_width_get
, METH_O
, NULL
},
52427 { (char *)"Size_height_set", _wrap_Size_height_set
, METH_VARARGS
, NULL
},
52428 { (char *)"Size_height_get", (PyCFunction
)_wrap_Size_height_get
, METH_O
, NULL
},
52429 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52430 { (char *)"delete_Size", (PyCFunction
)_wrap_delete_Size
, METH_O
, NULL
},
52431 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52432 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52433 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52434 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52435 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52436 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52437 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52438 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52439 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52440 { (char *)"Size_GetWidth", (PyCFunction
)_wrap_Size_GetWidth
, METH_O
, NULL
},
52441 { (char *)"Size_GetHeight", (PyCFunction
)_wrap_Size_GetHeight
, METH_O
, NULL
},
52442 { (char *)"Size_IsFullySpecified", (PyCFunction
)_wrap_Size_IsFullySpecified
, METH_O
, NULL
},
52443 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52444 { (char *)"Size_Get", (PyCFunction
)_wrap_Size_Get
, METH_O
, NULL
},
52445 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
52446 { (char *)"Size_swiginit", Size_swiginit
, METH_VARARGS
, NULL
},
52447 { (char *)"RealPoint_x_set", _wrap_RealPoint_x_set
, METH_VARARGS
, NULL
},
52448 { (char *)"RealPoint_x_get", (PyCFunction
)_wrap_RealPoint_x_get
, METH_O
, NULL
},
52449 { (char *)"RealPoint_y_set", _wrap_RealPoint_y_set
, METH_VARARGS
, NULL
},
52450 { (char *)"RealPoint_y_get", (PyCFunction
)_wrap_RealPoint_y_get
, METH_O
, NULL
},
52451 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52452 { (char *)"delete_RealPoint", (PyCFunction
)_wrap_delete_RealPoint
, METH_O
, NULL
},
52453 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52454 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52455 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52456 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52457 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52458 { (char *)"RealPoint_Get", (PyCFunction
)_wrap_RealPoint_Get
, METH_O
, NULL
},
52459 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
52460 { (char *)"RealPoint_swiginit", RealPoint_swiginit
, METH_VARARGS
, NULL
},
52461 { (char *)"Point_x_set", _wrap_Point_x_set
, METH_VARARGS
, NULL
},
52462 { (char *)"Point_x_get", (PyCFunction
)_wrap_Point_x_get
, METH_O
, NULL
},
52463 { (char *)"Point_y_set", _wrap_Point_y_set
, METH_VARARGS
, NULL
},
52464 { (char *)"Point_y_get", (PyCFunction
)_wrap_Point_y_get
, METH_O
, NULL
},
52465 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52466 { (char *)"delete_Point", (PyCFunction
)_wrap_delete_Point
, METH_O
, NULL
},
52467 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52468 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52469 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52470 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52471 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52472 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52473 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52474 { (char *)"Point_Get", (PyCFunction
)_wrap_Point_Get
, METH_O
, NULL
},
52475 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
52476 { (char *)"Point_swiginit", Point_swiginit
, METH_VARARGS
, NULL
},
52477 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52478 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52479 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52480 { (char *)"new_RectS", (PyCFunction
) _wrap_new_RectS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52481 { (char *)"delete_Rect", (PyCFunction
)_wrap_delete_Rect
, METH_O
, NULL
},
52482 { (char *)"Rect_GetX", (PyCFunction
)_wrap_Rect_GetX
, METH_O
, NULL
},
52483 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52484 { (char *)"Rect_GetY", (PyCFunction
)_wrap_Rect_GetY
, METH_O
, NULL
},
52485 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52486 { (char *)"Rect_GetWidth", (PyCFunction
)_wrap_Rect_GetWidth
, METH_O
, NULL
},
52487 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52488 { (char *)"Rect_GetHeight", (PyCFunction
)_wrap_Rect_GetHeight
, METH_O
, NULL
},
52489 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52490 { (char *)"Rect_GetPosition", (PyCFunction
)_wrap_Rect_GetPosition
, METH_O
, NULL
},
52491 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52492 { (char *)"Rect_GetSize", (PyCFunction
)_wrap_Rect_GetSize
, METH_O
, NULL
},
52493 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52494 { (char *)"Rect_IsEmpty", (PyCFunction
)_wrap_Rect_IsEmpty
, METH_O
, NULL
},
52495 { (char *)"Rect_GetTopLeft", (PyCFunction
)_wrap_Rect_GetTopLeft
, METH_O
, NULL
},
52496 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52497 { (char *)"Rect_GetBottomRight", (PyCFunction
)_wrap_Rect_GetBottomRight
, METH_O
, NULL
},
52498 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52499 { (char *)"Rect_GetLeft", (PyCFunction
)_wrap_Rect_GetLeft
, METH_O
, NULL
},
52500 { (char *)"Rect_GetTop", (PyCFunction
)_wrap_Rect_GetTop
, METH_O
, NULL
},
52501 { (char *)"Rect_GetBottom", (PyCFunction
)_wrap_Rect_GetBottom
, METH_O
, NULL
},
52502 { (char *)"Rect_GetRight", (PyCFunction
)_wrap_Rect_GetRight
, METH_O
, NULL
},
52503 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52504 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52505 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52506 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52507 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52508 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52509 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52510 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52511 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52512 { (char *)"Rect_Union", (PyCFunction
) _wrap_Rect_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52513 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52514 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52515 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52516 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52517 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52518 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52519 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52520 { (char *)"Rect_CenterIn", (PyCFunction
) _wrap_Rect_CenterIn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52521 { (char *)"Rect_x_set", _wrap_Rect_x_set
, METH_VARARGS
, NULL
},
52522 { (char *)"Rect_x_get", (PyCFunction
)_wrap_Rect_x_get
, METH_O
, NULL
},
52523 { (char *)"Rect_y_set", _wrap_Rect_y_set
, METH_VARARGS
, NULL
},
52524 { (char *)"Rect_y_get", (PyCFunction
)_wrap_Rect_y_get
, METH_O
, NULL
},
52525 { (char *)"Rect_width_set", _wrap_Rect_width_set
, METH_VARARGS
, NULL
},
52526 { (char *)"Rect_width_get", (PyCFunction
)_wrap_Rect_width_get
, METH_O
, NULL
},
52527 { (char *)"Rect_height_set", _wrap_Rect_height_set
, METH_VARARGS
, NULL
},
52528 { (char *)"Rect_height_get", (PyCFunction
)_wrap_Rect_height_get
, METH_O
, NULL
},
52529 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52530 { (char *)"Rect_Get", (PyCFunction
)_wrap_Rect_Get
, METH_O
, NULL
},
52531 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
52532 { (char *)"Rect_swiginit", Rect_swiginit
, METH_VARARGS
, NULL
},
52533 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52534 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52535 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52536 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52537 { (char *)"Point2D_GetFloor", (PyCFunction
)_wrap_Point2D_GetFloor
, METH_O
, NULL
},
52538 { (char *)"Point2D_GetRounded", (PyCFunction
)_wrap_Point2D_GetRounded
, METH_O
, NULL
},
52539 { (char *)"Point2D_GetVectorLength", (PyCFunction
)_wrap_Point2D_GetVectorLength
, METH_O
, NULL
},
52540 { (char *)"Point2D_GetVectorAngle", (PyCFunction
)_wrap_Point2D_GetVectorAngle
, METH_O
, NULL
},
52541 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52542 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52543 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52544 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52545 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52546 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52547 { (char *)"Point2D___neg__", (PyCFunction
)_wrap_Point2D___neg__
, METH_O
, NULL
},
52548 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52549 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52550 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52551 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52552 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52553 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52554 { (char *)"Point2D_x_set", _wrap_Point2D_x_set
, METH_VARARGS
, NULL
},
52555 { (char *)"Point2D_x_get", (PyCFunction
)_wrap_Point2D_x_get
, METH_O
, NULL
},
52556 { (char *)"Point2D_y_set", _wrap_Point2D_y_set
, METH_VARARGS
, NULL
},
52557 { (char *)"Point2D_y_get", (PyCFunction
)_wrap_Point2D_y_get
, METH_O
, NULL
},
52558 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52559 { (char *)"Point2D_Get", (PyCFunction
)_wrap_Point2D_Get
, METH_O
, NULL
},
52560 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
52561 { (char *)"Point2D_swiginit", Point2D_swiginit
, METH_VARARGS
, NULL
},
52562 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52563 { (char *)"delete_InputStream", (PyCFunction
)_wrap_delete_InputStream
, METH_O
, NULL
},
52564 { (char *)"InputStream_close", (PyCFunction
)_wrap_InputStream_close
, METH_O
, NULL
},
52565 { (char *)"InputStream_flush", (PyCFunction
)_wrap_InputStream_flush
, METH_O
, NULL
},
52566 { (char *)"InputStream_eof", (PyCFunction
)_wrap_InputStream_eof
, METH_O
, NULL
},
52567 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52568 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52569 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52570 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52571 { (char *)"InputStream_tell", (PyCFunction
)_wrap_InputStream_tell
, METH_O
, NULL
},
52572 { (char *)"InputStream_Peek", (PyCFunction
)_wrap_InputStream_Peek
, METH_O
, NULL
},
52573 { (char *)"InputStream_GetC", (PyCFunction
)_wrap_InputStream_GetC
, METH_O
, NULL
},
52574 { (char *)"InputStream_LastRead", (PyCFunction
)_wrap_InputStream_LastRead
, METH_O
, NULL
},
52575 { (char *)"InputStream_CanRead", (PyCFunction
)_wrap_InputStream_CanRead
, METH_O
, NULL
},
52576 { (char *)"InputStream_Eof", (PyCFunction
)_wrap_InputStream_Eof
, METH_O
, NULL
},
52577 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52578 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52579 { (char *)"InputStream_TellI", (PyCFunction
)_wrap_InputStream_TellI
, METH_O
, NULL
},
52580 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
52581 { (char *)"InputStream_swiginit", InputStream_swiginit
, METH_VARARGS
, NULL
},
52582 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52583 { (char *)"OutputStream_LastWrite", (PyCFunction
)_wrap_OutputStream_LastWrite
, METH_O
, NULL
},
52584 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
52585 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52586 { (char *)"delete_FSFile", (PyCFunction
)_wrap_delete_FSFile
, METH_O
, NULL
},
52587 { (char *)"FSFile_GetStream", (PyCFunction
)_wrap_FSFile_GetStream
, METH_O
, NULL
},
52588 { (char *)"FSFile_GetMimeType", (PyCFunction
)_wrap_FSFile_GetMimeType
, METH_O
, NULL
},
52589 { (char *)"FSFile_GetLocation", (PyCFunction
)_wrap_FSFile_GetLocation
, METH_O
, NULL
},
52590 { (char *)"FSFile_GetAnchor", (PyCFunction
)_wrap_FSFile_GetAnchor
, METH_O
, NULL
},
52591 { (char *)"FSFile_GetModificationTime", (PyCFunction
)_wrap_FSFile_GetModificationTime
, METH_O
, NULL
},
52592 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
52593 { (char *)"FSFile_swiginit", FSFile_swiginit
, METH_VARARGS
, NULL
},
52594 { (char *)"delete_CPPFileSystemHandler", (PyCFunction
)_wrap_delete_CPPFileSystemHandler
, METH_O
, NULL
},
52595 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
52596 { (char *)"new_FileSystemHandler", (PyCFunction
)_wrap_new_FileSystemHandler
, METH_NOARGS
, NULL
},
52597 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52598 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52599 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52600 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52601 { (char *)"FileSystemHandler_FindNext", (PyCFunction
)_wrap_FileSystemHandler_FindNext
, METH_O
, NULL
},
52602 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52603 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52604 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52605 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52606 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52607 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
52608 { (char *)"FileSystemHandler_swiginit", FileSystemHandler_swiginit
, METH_VARARGS
, NULL
},
52609 { (char *)"new_FileSystem", (PyCFunction
)_wrap_new_FileSystem
, METH_NOARGS
, NULL
},
52610 { (char *)"delete_FileSystem", (PyCFunction
)_wrap_delete_FileSystem
, METH_O
, NULL
},
52611 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52612 { (char *)"FileSystem_GetPath", (PyCFunction
)_wrap_FileSystem_GetPath
, METH_O
, NULL
},
52613 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52614 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52615 { (char *)"FileSystem_FindNext", (PyCFunction
)_wrap_FileSystem_FindNext
, METH_O
, NULL
},
52616 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52617 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
)_wrap_FileSystem_CleanUpHandlers
, METH_NOARGS
, NULL
},
52618 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52619 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52620 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
52621 { (char *)"FileSystem_swiginit", FileSystem_swiginit
, METH_VARARGS
, NULL
},
52622 { (char *)"new_InternetFSHandler", (PyCFunction
)_wrap_new_InternetFSHandler
, METH_NOARGS
, NULL
},
52623 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52624 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52625 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
52626 { (char *)"InternetFSHandler_swiginit", InternetFSHandler_swiginit
, METH_VARARGS
, NULL
},
52627 { (char *)"new_ZipFSHandler", (PyCFunction
)_wrap_new_ZipFSHandler
, METH_NOARGS
, NULL
},
52628 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52629 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52630 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52631 { (char *)"ZipFSHandler_FindNext", (PyCFunction
)_wrap_ZipFSHandler_FindNext
, METH_O
, NULL
},
52632 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
52633 { (char *)"ZipFSHandler_swiginit", ZipFSHandler_swiginit
, METH_VARARGS
, NULL
},
52634 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52635 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52636 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52637 { (char *)"new_MemoryFSHandler", (PyCFunction
)_wrap_new_MemoryFSHandler
, METH_NOARGS
, NULL
},
52638 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52639 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52640 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52641 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52642 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
)_wrap_MemoryFSHandler_FindNext
, METH_O
, NULL
},
52643 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
52644 { (char *)"MemoryFSHandler_swiginit", MemoryFSHandler_swiginit
, METH_VARARGS
, NULL
},
52645 { (char *)"ImageHandler_GetName", (PyCFunction
)_wrap_ImageHandler_GetName
, METH_O
, NULL
},
52646 { (char *)"ImageHandler_GetExtension", (PyCFunction
)_wrap_ImageHandler_GetExtension
, METH_O
, NULL
},
52647 { (char *)"ImageHandler_GetType", (PyCFunction
)_wrap_ImageHandler_GetType
, METH_O
, NULL
},
52648 { (char *)"ImageHandler_GetMimeType", (PyCFunction
)_wrap_ImageHandler_GetMimeType
, METH_O
, NULL
},
52649 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52650 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52651 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52652 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52653 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52654 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
52655 { (char *)"new_PyImageHandler", (PyCFunction
)_wrap_new_PyImageHandler
, METH_NOARGS
, NULL
},
52656 { (char *)"PyImageHandler__SetSelf", (PyCFunction
) _wrap_PyImageHandler__SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52657 { (char *)"PyImageHandler_swigregister", PyImageHandler_swigregister
, METH_VARARGS
, NULL
},
52658 { (char *)"PyImageHandler_swiginit", PyImageHandler_swiginit
, METH_VARARGS
, NULL
},
52659 { (char *)"new_ImageHistogram", (PyCFunction
)_wrap_new_ImageHistogram
, METH_NOARGS
, NULL
},
52660 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52661 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52662 { (char *)"ImageHistogram_GetCount", (PyCFunction
) _wrap_ImageHistogram_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52663 { (char *)"ImageHistogram_GetCountRGB", (PyCFunction
) _wrap_ImageHistogram_GetCountRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52664 { (char *)"ImageHistogram_GetCountColour", (PyCFunction
) _wrap_ImageHistogram_GetCountColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52665 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
52666 { (char *)"ImageHistogram_swiginit", ImageHistogram_swiginit
, METH_VARARGS
, NULL
},
52667 { (char *)"new_Image_RGBValue", (PyCFunction
) _wrap_new_Image_RGBValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52668 { (char *)"Image_RGBValue_red_set", _wrap_Image_RGBValue_red_set
, METH_VARARGS
, NULL
},
52669 { (char *)"Image_RGBValue_red_get", (PyCFunction
)_wrap_Image_RGBValue_red_get
, METH_O
, NULL
},
52670 { (char *)"Image_RGBValue_green_set", _wrap_Image_RGBValue_green_set
, METH_VARARGS
, NULL
},
52671 { (char *)"Image_RGBValue_green_get", (PyCFunction
)_wrap_Image_RGBValue_green_get
, METH_O
, NULL
},
52672 { (char *)"Image_RGBValue_blue_set", _wrap_Image_RGBValue_blue_set
, METH_VARARGS
, NULL
},
52673 { (char *)"Image_RGBValue_blue_get", (PyCFunction
)_wrap_Image_RGBValue_blue_get
, METH_O
, NULL
},
52674 { (char *)"Image_RGBValue_swigregister", Image_RGBValue_swigregister
, METH_VARARGS
, NULL
},
52675 { (char *)"Image_RGBValue_swiginit", Image_RGBValue_swiginit
, METH_VARARGS
, NULL
},
52676 { (char *)"new_Image_HSVValue", (PyCFunction
) _wrap_new_Image_HSVValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52677 { (char *)"Image_HSVValue_hue_set", _wrap_Image_HSVValue_hue_set
, METH_VARARGS
, NULL
},
52678 { (char *)"Image_HSVValue_hue_get", (PyCFunction
)_wrap_Image_HSVValue_hue_get
, METH_O
, NULL
},
52679 { (char *)"Image_HSVValue_saturation_set", _wrap_Image_HSVValue_saturation_set
, METH_VARARGS
, NULL
},
52680 { (char *)"Image_HSVValue_saturation_get", (PyCFunction
)_wrap_Image_HSVValue_saturation_get
, METH_O
, NULL
},
52681 { (char *)"Image_HSVValue_value_set", _wrap_Image_HSVValue_value_set
, METH_VARARGS
, NULL
},
52682 { (char *)"Image_HSVValue_value_get", (PyCFunction
)_wrap_Image_HSVValue_value_get
, METH_O
, NULL
},
52683 { (char *)"Image_HSVValue_swigregister", Image_HSVValue_swigregister
, METH_VARARGS
, NULL
},
52684 { (char *)"Image_HSVValue_swiginit", Image_HSVValue_swiginit
, METH_VARARGS
, NULL
},
52685 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52686 { (char *)"delete_Image", (PyCFunction
)_wrap_delete_Image
, METH_O
, NULL
},
52687 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52688 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52689 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52690 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52691 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52692 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52693 { (char *)"new_ImageFromDataWithAlpha", (PyCFunction
) _wrap_new_ImageFromDataWithAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52694 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52695 { (char *)"Image_Destroy", (PyCFunction
)_wrap_Image_Destroy
, METH_O
, NULL
},
52696 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52697 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52698 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52699 { (char *)"Image_Resize", (PyCFunction
) _wrap_Image_Resize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52700 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52701 { (char *)"Image_SetRGBRect", (PyCFunction
) _wrap_Image_SetRGBRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52702 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52703 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52704 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52705 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52706 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52707 { (char *)"Image_HasAlpha", (PyCFunction
)_wrap_Image_HasAlpha
, METH_O
, NULL
},
52708 { (char *)"Image_InitAlpha", (PyCFunction
)_wrap_Image_InitAlpha
, METH_O
, NULL
},
52709 { (char *)"Image_IsTransparent", (PyCFunction
) _wrap_Image_IsTransparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52710 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52711 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52712 { (char *)"Image_ConvertColourToAlpha", (PyCFunction
) _wrap_Image_ConvertColourToAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52713 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52714 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52715 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52716 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52717 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52718 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52719 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52720 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52721 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52722 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52723 { (char *)"Image_Ok", (PyCFunction
)_wrap_Image_Ok
, METH_O
, NULL
},
52724 { (char *)"Image_GetWidth", (PyCFunction
)_wrap_Image_GetWidth
, METH_O
, NULL
},
52725 { (char *)"Image_GetHeight", (PyCFunction
)_wrap_Image_GetHeight
, METH_O
, NULL
},
52726 { (char *)"Image_GetSize", (PyCFunction
)_wrap_Image_GetSize
, METH_O
, NULL
},
52727 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52728 { (char *)"Image_Size", (PyCFunction
) _wrap_Image_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52729 { (char *)"Image_Copy", (PyCFunction
)_wrap_Image_Copy
, METH_O
, NULL
},
52730 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52731 { (char *)"Image_GetData", (PyCFunction
)_wrap_Image_GetData
, METH_O
, NULL
},
52732 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52733 { (char *)"Image_GetDataBuffer", (PyCFunction
)_wrap_Image_GetDataBuffer
, METH_O
, NULL
},
52734 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52735 { (char *)"Image_GetAlphaData", (PyCFunction
)_wrap_Image_GetAlphaData
, METH_O
, NULL
},
52736 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52737 { (char *)"Image_GetAlphaBuffer", (PyCFunction
)_wrap_Image_GetAlphaBuffer
, METH_O
, NULL
},
52738 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52739 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52740 { (char *)"Image_GetOrFindMaskColour", (PyCFunction
)_wrap_Image_GetOrFindMaskColour
, METH_O
, NULL
},
52741 { (char *)"Image_GetMaskRed", (PyCFunction
)_wrap_Image_GetMaskRed
, METH_O
, NULL
},
52742 { (char *)"Image_GetMaskGreen", (PyCFunction
)_wrap_Image_GetMaskGreen
, METH_O
, NULL
},
52743 { (char *)"Image_GetMaskBlue", (PyCFunction
)_wrap_Image_GetMaskBlue
, METH_O
, NULL
},
52744 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52745 { (char *)"Image_HasMask", (PyCFunction
)_wrap_Image_HasMask
, METH_O
, NULL
},
52746 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52747 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52748 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52749 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52750 { (char *)"Image_ConvertToGreyscale", (PyCFunction
) _wrap_Image_ConvertToGreyscale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52751 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52752 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52753 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52754 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52755 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52756 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52757 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52758 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52759 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52760 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52761 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52762 { (char *)"Image_GetHandlers", (PyCFunction
)_wrap_Image_GetHandlers
, METH_NOARGS
, NULL
},
52763 { (char *)"Image_GetImageExtWildcard", (PyCFunction
)_wrap_Image_GetImageExtWildcard
, METH_NOARGS
, NULL
},
52764 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52765 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52766 { (char *)"Image_RotateHue", (PyCFunction
) _wrap_Image_RotateHue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52767 { (char *)"Image_RGBtoHSV", (PyCFunction
) _wrap_Image_RGBtoHSV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52768 { (char *)"Image_HSVtoRGB", (PyCFunction
) _wrap_Image_HSVtoRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52769 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
52770 { (char *)"Image_swiginit", Image_swiginit
, METH_VARARGS
, NULL
},
52771 { (char *)"new_BMPHandler", (PyCFunction
)_wrap_new_BMPHandler
, METH_NOARGS
, NULL
},
52772 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
52773 { (char *)"BMPHandler_swiginit", BMPHandler_swiginit
, METH_VARARGS
, NULL
},
52774 { (char *)"new_ICOHandler", (PyCFunction
)_wrap_new_ICOHandler
, METH_NOARGS
, NULL
},
52775 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
52776 { (char *)"ICOHandler_swiginit", ICOHandler_swiginit
, METH_VARARGS
, NULL
},
52777 { (char *)"new_CURHandler", (PyCFunction
)_wrap_new_CURHandler
, METH_NOARGS
, NULL
},
52778 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
52779 { (char *)"CURHandler_swiginit", CURHandler_swiginit
, METH_VARARGS
, NULL
},
52780 { (char *)"new_ANIHandler", (PyCFunction
)_wrap_new_ANIHandler
, METH_NOARGS
, NULL
},
52781 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
52782 { (char *)"ANIHandler_swiginit", ANIHandler_swiginit
, METH_VARARGS
, NULL
},
52783 { (char *)"new_PNGHandler", (PyCFunction
)_wrap_new_PNGHandler
, METH_NOARGS
, NULL
},
52784 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
52785 { (char *)"PNGHandler_swiginit", PNGHandler_swiginit
, METH_VARARGS
, NULL
},
52786 { (char *)"new_GIFHandler", (PyCFunction
)_wrap_new_GIFHandler
, METH_NOARGS
, NULL
},
52787 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
52788 { (char *)"GIFHandler_swiginit", GIFHandler_swiginit
, METH_VARARGS
, NULL
},
52789 { (char *)"new_PCXHandler", (PyCFunction
)_wrap_new_PCXHandler
, METH_NOARGS
, NULL
},
52790 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
52791 { (char *)"PCXHandler_swiginit", PCXHandler_swiginit
, METH_VARARGS
, NULL
},
52792 { (char *)"new_JPEGHandler", (PyCFunction
)_wrap_new_JPEGHandler
, METH_NOARGS
, NULL
},
52793 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
52794 { (char *)"JPEGHandler_swiginit", JPEGHandler_swiginit
, METH_VARARGS
, NULL
},
52795 { (char *)"new_PNMHandler", (PyCFunction
)_wrap_new_PNMHandler
, METH_NOARGS
, NULL
},
52796 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
52797 { (char *)"PNMHandler_swiginit", PNMHandler_swiginit
, METH_VARARGS
, NULL
},
52798 { (char *)"new_XPMHandler", (PyCFunction
)_wrap_new_XPMHandler
, METH_NOARGS
, NULL
},
52799 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
52800 { (char *)"XPMHandler_swiginit", XPMHandler_swiginit
, METH_VARARGS
, NULL
},
52801 { (char *)"new_TIFFHandler", (PyCFunction
)_wrap_new_TIFFHandler
, METH_NOARGS
, NULL
},
52802 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
52803 { (char *)"TIFFHandler_swiginit", TIFFHandler_swiginit
, METH_VARARGS
, NULL
},
52804 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52805 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
52806 { (char *)"new_EvtHandler", (PyCFunction
)_wrap_new_EvtHandler
, METH_NOARGS
, NULL
},
52807 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
)_wrap_EvtHandler_GetNextHandler
, METH_O
, NULL
},
52808 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
)_wrap_EvtHandler_GetPreviousHandler
, METH_O
, NULL
},
52809 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52810 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52811 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
)_wrap_EvtHandler_GetEvtHandlerEnabled
, METH_O
, NULL
},
52812 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52813 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52814 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52815 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
)_wrap_EvtHandler_ProcessPendingEvents
, METH_O
, NULL
},
52816 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52817 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52818 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52819 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
52820 { (char *)"EvtHandler_swiginit", EvtHandler_swiginit
, METH_VARARGS
, NULL
},
52821 { (char *)"NewEventType", (PyCFunction
)_wrap_NewEventType
, METH_NOARGS
, NULL
},
52822 { (char *)"delete_Event", (PyCFunction
)_wrap_delete_Event
, METH_O
, NULL
},
52823 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52824 { (char *)"Event_GetEventType", (PyCFunction
)_wrap_Event_GetEventType
, METH_O
, NULL
},
52825 { (char *)"Event_GetEventObject", (PyCFunction
)_wrap_Event_GetEventObject
, METH_O
, NULL
},
52826 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52827 { (char *)"Event_GetTimestamp", (PyCFunction
)_wrap_Event_GetTimestamp
, METH_O
, NULL
},
52828 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52829 { (char *)"Event_GetId", (PyCFunction
)_wrap_Event_GetId
, METH_O
, NULL
},
52830 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52831 { (char *)"Event_IsCommandEvent", (PyCFunction
)_wrap_Event_IsCommandEvent
, METH_O
, NULL
},
52832 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52833 { (char *)"Event_GetSkipped", (PyCFunction
)_wrap_Event_GetSkipped
, METH_O
, NULL
},
52834 { (char *)"Event_ShouldPropagate", (PyCFunction
)_wrap_Event_ShouldPropagate
, METH_O
, NULL
},
52835 { (char *)"Event_StopPropagation", (PyCFunction
)_wrap_Event_StopPropagation
, METH_O
, NULL
},
52836 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52837 { (char *)"Event_Clone", (PyCFunction
)_wrap_Event_Clone
, METH_O
, NULL
},
52838 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
52839 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52840 { (char *)"delete_PropagationDisabler", (PyCFunction
)_wrap_delete_PropagationDisabler
, METH_O
, NULL
},
52841 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
52842 { (char *)"PropagationDisabler_swiginit", PropagationDisabler_swiginit
, METH_VARARGS
, NULL
},
52843 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52844 { (char *)"delete_PropagateOnce", (PyCFunction
)_wrap_delete_PropagateOnce
, METH_O
, NULL
},
52845 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
52846 { (char *)"PropagateOnce_swiginit", PropagateOnce_swiginit
, METH_VARARGS
, NULL
},
52847 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52848 { (char *)"CommandEvent_GetSelection", (PyCFunction
)_wrap_CommandEvent_GetSelection
, METH_O
, NULL
},
52849 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52850 { (char *)"CommandEvent_GetString", (PyCFunction
)_wrap_CommandEvent_GetString
, METH_O
, NULL
},
52851 { (char *)"CommandEvent_IsChecked", (PyCFunction
)_wrap_CommandEvent_IsChecked
, METH_O
, NULL
},
52852 { (char *)"CommandEvent_IsSelection", (PyCFunction
)_wrap_CommandEvent_IsSelection
, METH_O
, NULL
},
52853 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52854 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
)_wrap_CommandEvent_GetExtraLong
, METH_O
, NULL
},
52855 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52856 { (char *)"CommandEvent_GetInt", (PyCFunction
)_wrap_CommandEvent_GetInt
, METH_O
, NULL
},
52857 { (char *)"CommandEvent_GetClientData", (PyCFunction
)_wrap_CommandEvent_GetClientData
, METH_O
, NULL
},
52858 { (char *)"CommandEvent_SetClientData", (PyCFunction
) _wrap_CommandEvent_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52859 { (char *)"CommandEvent_Clone", (PyCFunction
)_wrap_CommandEvent_Clone
, METH_O
, NULL
},
52860 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
52861 { (char *)"CommandEvent_swiginit", CommandEvent_swiginit
, METH_VARARGS
, NULL
},
52862 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52863 { (char *)"NotifyEvent_Veto", (PyCFunction
)_wrap_NotifyEvent_Veto
, METH_O
, NULL
},
52864 { (char *)"NotifyEvent_Allow", (PyCFunction
)_wrap_NotifyEvent_Allow
, METH_O
, NULL
},
52865 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
)_wrap_NotifyEvent_IsAllowed
, METH_O
, NULL
},
52866 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
52867 { (char *)"NotifyEvent_swiginit", NotifyEvent_swiginit
, METH_VARARGS
, NULL
},
52868 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52869 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
)_wrap_ScrollEvent_GetOrientation
, METH_O
, NULL
},
52870 { (char *)"ScrollEvent_GetPosition", (PyCFunction
)_wrap_ScrollEvent_GetPosition
, METH_O
, NULL
},
52871 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52872 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52873 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
52874 { (char *)"ScrollEvent_swiginit", ScrollEvent_swiginit
, METH_VARARGS
, NULL
},
52875 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52876 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
)_wrap_ScrollWinEvent_GetOrientation
, METH_O
, NULL
},
52877 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
)_wrap_ScrollWinEvent_GetPosition
, METH_O
, NULL
},
52878 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52879 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52880 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
52881 { (char *)"ScrollWinEvent_swiginit", ScrollWinEvent_swiginit
, METH_VARARGS
, NULL
},
52882 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52883 { (char *)"MouseEvent_IsButton", (PyCFunction
)_wrap_MouseEvent_IsButton
, METH_O
, NULL
},
52884 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52885 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52886 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52887 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52888 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52889 { (char *)"MouseEvent_GetButton", (PyCFunction
)_wrap_MouseEvent_GetButton
, METH_O
, NULL
},
52890 { (char *)"MouseEvent_ControlDown", (PyCFunction
)_wrap_MouseEvent_ControlDown
, METH_O
, NULL
},
52891 { (char *)"MouseEvent_MetaDown", (PyCFunction
)_wrap_MouseEvent_MetaDown
, METH_O
, NULL
},
52892 { (char *)"MouseEvent_AltDown", (PyCFunction
)_wrap_MouseEvent_AltDown
, METH_O
, NULL
},
52893 { (char *)"MouseEvent_ShiftDown", (PyCFunction
)_wrap_MouseEvent_ShiftDown
, METH_O
, NULL
},
52894 { (char *)"MouseEvent_CmdDown", (PyCFunction
)_wrap_MouseEvent_CmdDown
, METH_O
, NULL
},
52895 { (char *)"MouseEvent_LeftDown", (PyCFunction
)_wrap_MouseEvent_LeftDown
, METH_O
, NULL
},
52896 { (char *)"MouseEvent_MiddleDown", (PyCFunction
)_wrap_MouseEvent_MiddleDown
, METH_O
, NULL
},
52897 { (char *)"MouseEvent_RightDown", (PyCFunction
)_wrap_MouseEvent_RightDown
, METH_O
, NULL
},
52898 { (char *)"MouseEvent_LeftUp", (PyCFunction
)_wrap_MouseEvent_LeftUp
, METH_O
, NULL
},
52899 { (char *)"MouseEvent_MiddleUp", (PyCFunction
)_wrap_MouseEvent_MiddleUp
, METH_O
, NULL
},
52900 { (char *)"MouseEvent_RightUp", (PyCFunction
)_wrap_MouseEvent_RightUp
, METH_O
, NULL
},
52901 { (char *)"MouseEvent_LeftDClick", (PyCFunction
)_wrap_MouseEvent_LeftDClick
, METH_O
, NULL
},
52902 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
)_wrap_MouseEvent_MiddleDClick
, METH_O
, NULL
},
52903 { (char *)"MouseEvent_RightDClick", (PyCFunction
)_wrap_MouseEvent_RightDClick
, METH_O
, NULL
},
52904 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
)_wrap_MouseEvent_LeftIsDown
, METH_O
, NULL
},
52905 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
)_wrap_MouseEvent_MiddleIsDown
, METH_O
, NULL
},
52906 { (char *)"MouseEvent_RightIsDown", (PyCFunction
)_wrap_MouseEvent_RightIsDown
, METH_O
, NULL
},
52907 { (char *)"MouseEvent_Dragging", (PyCFunction
)_wrap_MouseEvent_Dragging
, METH_O
, NULL
},
52908 { (char *)"MouseEvent_Moving", (PyCFunction
)_wrap_MouseEvent_Moving
, METH_O
, NULL
},
52909 { (char *)"MouseEvent_Entering", (PyCFunction
)_wrap_MouseEvent_Entering
, METH_O
, NULL
},
52910 { (char *)"MouseEvent_Leaving", (PyCFunction
)_wrap_MouseEvent_Leaving
, METH_O
, NULL
},
52911 { (char *)"MouseEvent_GetPosition", (PyCFunction
)_wrap_MouseEvent_GetPosition
, METH_O
, NULL
},
52912 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
)_wrap_MouseEvent_GetPositionTuple
, METH_O
, NULL
},
52913 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52914 { (char *)"MouseEvent_GetX", (PyCFunction
)_wrap_MouseEvent_GetX
, METH_O
, NULL
},
52915 { (char *)"MouseEvent_GetY", (PyCFunction
)_wrap_MouseEvent_GetY
, METH_O
, NULL
},
52916 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
)_wrap_MouseEvent_GetWheelRotation
, METH_O
, NULL
},
52917 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
)_wrap_MouseEvent_GetWheelDelta
, METH_O
, NULL
},
52918 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
)_wrap_MouseEvent_GetLinesPerAction
, METH_O
, NULL
},
52919 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
)_wrap_MouseEvent_IsPageScroll
, METH_O
, NULL
},
52920 { (char *)"MouseEvent_m_x_set", _wrap_MouseEvent_m_x_set
, METH_VARARGS
, NULL
},
52921 { (char *)"MouseEvent_m_x_get", (PyCFunction
)_wrap_MouseEvent_m_x_get
, METH_O
, NULL
},
52922 { (char *)"MouseEvent_m_y_set", _wrap_MouseEvent_m_y_set
, METH_VARARGS
, NULL
},
52923 { (char *)"MouseEvent_m_y_get", (PyCFunction
)_wrap_MouseEvent_m_y_get
, METH_O
, NULL
},
52924 { (char *)"MouseEvent_m_leftDown_set", _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
, NULL
},
52925 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
)_wrap_MouseEvent_m_leftDown_get
, METH_O
, NULL
},
52926 { (char *)"MouseEvent_m_middleDown_set", _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
, NULL
},
52927 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
)_wrap_MouseEvent_m_middleDown_get
, METH_O
, NULL
},
52928 { (char *)"MouseEvent_m_rightDown_set", _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
, NULL
},
52929 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
)_wrap_MouseEvent_m_rightDown_get
, METH_O
, NULL
},
52930 { (char *)"MouseEvent_m_controlDown_set", _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
, NULL
},
52931 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
)_wrap_MouseEvent_m_controlDown_get
, METH_O
, NULL
},
52932 { (char *)"MouseEvent_m_shiftDown_set", _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
, NULL
},
52933 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
)_wrap_MouseEvent_m_shiftDown_get
, METH_O
, NULL
},
52934 { (char *)"MouseEvent_m_altDown_set", _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
, NULL
},
52935 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
)_wrap_MouseEvent_m_altDown_get
, METH_O
, NULL
},
52936 { (char *)"MouseEvent_m_metaDown_set", _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
, NULL
},
52937 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
)_wrap_MouseEvent_m_metaDown_get
, METH_O
, NULL
},
52938 { (char *)"MouseEvent_m_wheelRotation_set", _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
, NULL
},
52939 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
)_wrap_MouseEvent_m_wheelRotation_get
, METH_O
, NULL
},
52940 { (char *)"MouseEvent_m_wheelDelta_set", _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
, NULL
},
52941 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
)_wrap_MouseEvent_m_wheelDelta_get
, METH_O
, NULL
},
52942 { (char *)"MouseEvent_m_linesPerAction_set", _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
, NULL
},
52943 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
)_wrap_MouseEvent_m_linesPerAction_get
, METH_O
, NULL
},
52944 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
52945 { (char *)"MouseEvent_swiginit", MouseEvent_swiginit
, METH_VARARGS
, NULL
},
52946 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52947 { (char *)"SetCursorEvent_GetX", (PyCFunction
)_wrap_SetCursorEvent_GetX
, METH_O
, NULL
},
52948 { (char *)"SetCursorEvent_GetY", (PyCFunction
)_wrap_SetCursorEvent_GetY
, METH_O
, NULL
},
52949 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52950 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
)_wrap_SetCursorEvent_GetCursor
, METH_O
, NULL
},
52951 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
)_wrap_SetCursorEvent_HasCursor
, METH_O
, NULL
},
52952 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
52953 { (char *)"SetCursorEvent_swiginit", SetCursorEvent_swiginit
, METH_VARARGS
, NULL
},
52954 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52955 { (char *)"KeyEvent_GetModifiers", (PyCFunction
)_wrap_KeyEvent_GetModifiers
, METH_O
, NULL
},
52956 { (char *)"KeyEvent_ControlDown", (PyCFunction
)_wrap_KeyEvent_ControlDown
, METH_O
, NULL
},
52957 { (char *)"KeyEvent_MetaDown", (PyCFunction
)_wrap_KeyEvent_MetaDown
, METH_O
, NULL
},
52958 { (char *)"KeyEvent_AltDown", (PyCFunction
)_wrap_KeyEvent_AltDown
, METH_O
, NULL
},
52959 { (char *)"KeyEvent_ShiftDown", (PyCFunction
)_wrap_KeyEvent_ShiftDown
, METH_O
, NULL
},
52960 { (char *)"KeyEvent_CmdDown", (PyCFunction
)_wrap_KeyEvent_CmdDown
, METH_O
, NULL
},
52961 { (char *)"KeyEvent_HasModifiers", (PyCFunction
)_wrap_KeyEvent_HasModifiers
, METH_O
, NULL
},
52962 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
)_wrap_KeyEvent_GetKeyCode
, METH_O
, NULL
},
52963 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
)_wrap_KeyEvent_GetUnicodeKey
, METH_O
, NULL
},
52964 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
)_wrap_KeyEvent_GetRawKeyCode
, METH_O
, NULL
},
52965 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
)_wrap_KeyEvent_GetRawKeyFlags
, METH_O
, NULL
},
52966 { (char *)"KeyEvent_GetPosition", (PyCFunction
)_wrap_KeyEvent_GetPosition
, METH_O
, NULL
},
52967 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
)_wrap_KeyEvent_GetPositionTuple
, METH_O
, NULL
},
52968 { (char *)"KeyEvent_GetX", (PyCFunction
)_wrap_KeyEvent_GetX
, METH_O
, NULL
},
52969 { (char *)"KeyEvent_GetY", (PyCFunction
)_wrap_KeyEvent_GetY
, METH_O
, NULL
},
52970 { (char *)"KeyEvent_m_x_set", _wrap_KeyEvent_m_x_set
, METH_VARARGS
, NULL
},
52971 { (char *)"KeyEvent_m_x_get", (PyCFunction
)_wrap_KeyEvent_m_x_get
, METH_O
, NULL
},
52972 { (char *)"KeyEvent_m_y_set", _wrap_KeyEvent_m_y_set
, METH_VARARGS
, NULL
},
52973 { (char *)"KeyEvent_m_y_get", (PyCFunction
)_wrap_KeyEvent_m_y_get
, METH_O
, NULL
},
52974 { (char *)"KeyEvent_m_keyCode_set", _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
, NULL
},
52975 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
)_wrap_KeyEvent_m_keyCode_get
, METH_O
, NULL
},
52976 { (char *)"KeyEvent_m_controlDown_set", _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
, NULL
},
52977 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
)_wrap_KeyEvent_m_controlDown_get
, METH_O
, NULL
},
52978 { (char *)"KeyEvent_m_shiftDown_set", _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
, NULL
},
52979 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
)_wrap_KeyEvent_m_shiftDown_get
, METH_O
, NULL
},
52980 { (char *)"KeyEvent_m_altDown_set", _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
, NULL
},
52981 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
)_wrap_KeyEvent_m_altDown_get
, METH_O
, NULL
},
52982 { (char *)"KeyEvent_m_metaDown_set", _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
, NULL
},
52983 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
)_wrap_KeyEvent_m_metaDown_get
, METH_O
, NULL
},
52984 { (char *)"KeyEvent_m_scanCode_set", _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
, NULL
},
52985 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
)_wrap_KeyEvent_m_scanCode_get
, METH_O
, NULL
},
52986 { (char *)"KeyEvent_m_rawCode_set", _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
, NULL
},
52987 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
)_wrap_KeyEvent_m_rawCode_get
, METH_O
, NULL
},
52988 { (char *)"KeyEvent_m_rawFlags_set", _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
, NULL
},
52989 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
)_wrap_KeyEvent_m_rawFlags_get
, METH_O
, NULL
},
52990 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
52991 { (char *)"KeyEvent_swiginit", KeyEvent_swiginit
, METH_VARARGS
, NULL
},
52992 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52993 { (char *)"SizeEvent_GetSize", (PyCFunction
)_wrap_SizeEvent_GetSize
, METH_O
, NULL
},
52994 { (char *)"SizeEvent_GetRect", (PyCFunction
)_wrap_SizeEvent_GetRect
, METH_O
, NULL
},
52995 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52996 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52997 { (char *)"SizeEvent_m_size_set", _wrap_SizeEvent_m_size_set
, METH_VARARGS
, NULL
},
52998 { (char *)"SizeEvent_m_size_get", (PyCFunction
)_wrap_SizeEvent_m_size_get
, METH_O
, NULL
},
52999 { (char *)"SizeEvent_m_rect_set", _wrap_SizeEvent_m_rect_set
, METH_VARARGS
, NULL
},
53000 { (char *)"SizeEvent_m_rect_get", (PyCFunction
)_wrap_SizeEvent_m_rect_get
, METH_O
, NULL
},
53001 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
53002 { (char *)"SizeEvent_swiginit", SizeEvent_swiginit
, METH_VARARGS
, NULL
},
53003 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53004 { (char *)"MoveEvent_GetPosition", (PyCFunction
)_wrap_MoveEvent_GetPosition
, METH_O
, NULL
},
53005 { (char *)"MoveEvent_GetRect", (PyCFunction
)_wrap_MoveEvent_GetRect
, METH_O
, NULL
},
53006 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53007 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53008 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
53009 { (char *)"MoveEvent_swiginit", MoveEvent_swiginit
, METH_VARARGS
, NULL
},
53010 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53011 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
53012 { (char *)"PaintEvent_swiginit", PaintEvent_swiginit
, METH_VARARGS
, NULL
},
53013 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53014 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
53015 { (char *)"NcPaintEvent_swiginit", NcPaintEvent_swiginit
, METH_VARARGS
, NULL
},
53016 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53017 { (char *)"EraseEvent_GetDC", (PyCFunction
)_wrap_EraseEvent_GetDC
, METH_O
, NULL
},
53018 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
53019 { (char *)"EraseEvent_swiginit", EraseEvent_swiginit
, METH_VARARGS
, NULL
},
53020 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53021 { (char *)"FocusEvent_GetWindow", (PyCFunction
)_wrap_FocusEvent_GetWindow
, METH_O
, NULL
},
53022 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53023 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
53024 { (char *)"FocusEvent_swiginit", FocusEvent_swiginit
, METH_VARARGS
, NULL
},
53025 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53026 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
)_wrap_ChildFocusEvent_GetWindow
, METH_O
, NULL
},
53027 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
53028 { (char *)"ChildFocusEvent_swiginit", ChildFocusEvent_swiginit
, METH_VARARGS
, NULL
},
53029 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53030 { (char *)"ActivateEvent_GetActive", (PyCFunction
)_wrap_ActivateEvent_GetActive
, METH_O
, NULL
},
53031 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
53032 { (char *)"ActivateEvent_swiginit", ActivateEvent_swiginit
, METH_VARARGS
, NULL
},
53033 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53034 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
53035 { (char *)"InitDialogEvent_swiginit", InitDialogEvent_swiginit
, METH_VARARGS
, NULL
},
53036 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53037 { (char *)"MenuEvent_GetMenuId", (PyCFunction
)_wrap_MenuEvent_GetMenuId
, METH_O
, NULL
},
53038 { (char *)"MenuEvent_IsPopup", (PyCFunction
)_wrap_MenuEvent_IsPopup
, METH_O
, NULL
},
53039 { (char *)"MenuEvent_GetMenu", (PyCFunction
)_wrap_MenuEvent_GetMenu
, METH_O
, NULL
},
53040 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
53041 { (char *)"MenuEvent_swiginit", MenuEvent_swiginit
, METH_VARARGS
, NULL
},
53042 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53043 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53044 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
)_wrap_CloseEvent_GetLoggingOff
, METH_O
, NULL
},
53045 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53046 { (char *)"CloseEvent_GetVeto", (PyCFunction
)_wrap_CloseEvent_GetVeto
, METH_O
, NULL
},
53047 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53048 { (char *)"CloseEvent_CanVeto", (PyCFunction
)_wrap_CloseEvent_CanVeto
, METH_O
, NULL
},
53049 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
53050 { (char *)"CloseEvent_swiginit", CloseEvent_swiginit
, METH_VARARGS
, NULL
},
53051 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53052 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53053 { (char *)"ShowEvent_GetShow", (PyCFunction
)_wrap_ShowEvent_GetShow
, METH_O
, NULL
},
53054 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
53055 { (char *)"ShowEvent_swiginit", ShowEvent_swiginit
, METH_VARARGS
, NULL
},
53056 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53057 { (char *)"IconizeEvent_Iconized", (PyCFunction
)_wrap_IconizeEvent_Iconized
, METH_O
, NULL
},
53058 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
53059 { (char *)"IconizeEvent_swiginit", IconizeEvent_swiginit
, METH_VARARGS
, NULL
},
53060 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53061 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
53062 { (char *)"MaximizeEvent_swiginit", MaximizeEvent_swiginit
, METH_VARARGS
, NULL
},
53063 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
)_wrap_DropFilesEvent_GetPosition
, METH_O
, NULL
},
53064 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
)_wrap_DropFilesEvent_GetNumberOfFiles
, METH_O
, NULL
},
53065 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
)_wrap_DropFilesEvent_GetFiles
, METH_O
, NULL
},
53066 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
53067 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53068 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
)_wrap_UpdateUIEvent_GetChecked
, METH_O
, NULL
},
53069 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
)_wrap_UpdateUIEvent_GetEnabled
, METH_O
, NULL
},
53070 { (char *)"UpdateUIEvent_GetShown", (PyCFunction
)_wrap_UpdateUIEvent_GetShown
, METH_O
, NULL
},
53071 { (char *)"UpdateUIEvent_GetText", (PyCFunction
)_wrap_UpdateUIEvent_GetText
, METH_O
, NULL
},
53072 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
)_wrap_UpdateUIEvent_GetSetText
, METH_O
, NULL
},
53073 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
)_wrap_UpdateUIEvent_GetSetChecked
, METH_O
, NULL
},
53074 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
)_wrap_UpdateUIEvent_GetSetEnabled
, METH_O
, NULL
},
53075 { (char *)"UpdateUIEvent_GetSetShown", (PyCFunction
)_wrap_UpdateUIEvent_GetSetShown
, METH_O
, NULL
},
53076 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53077 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53078 { (char *)"UpdateUIEvent_Show", (PyCFunction
) _wrap_UpdateUIEvent_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53079 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53080 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53081 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
)_wrap_UpdateUIEvent_GetUpdateInterval
, METH_NOARGS
, NULL
},
53082 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53083 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
)_wrap_UpdateUIEvent_ResetUpdateTime
, METH_NOARGS
, NULL
},
53084 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53085 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
)_wrap_UpdateUIEvent_GetMode
, METH_NOARGS
, NULL
},
53086 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
53087 { (char *)"UpdateUIEvent_swiginit", UpdateUIEvent_swiginit
, METH_VARARGS
, NULL
},
53088 { (char *)"new_SysColourChangedEvent", (PyCFunction
)_wrap_new_SysColourChangedEvent
, METH_NOARGS
, NULL
},
53089 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
53090 { (char *)"SysColourChangedEvent_swiginit", SysColourChangedEvent_swiginit
, METH_VARARGS
, NULL
},
53091 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53092 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
)_wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_O
, NULL
},
53093 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
53094 { (char *)"MouseCaptureChangedEvent_swiginit", MouseCaptureChangedEvent_swiginit
, METH_VARARGS
, NULL
},
53095 { (char *)"new_DisplayChangedEvent", (PyCFunction
)_wrap_new_DisplayChangedEvent
, METH_NOARGS
, NULL
},
53096 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
53097 { (char *)"DisplayChangedEvent_swiginit", DisplayChangedEvent_swiginit
, METH_VARARGS
, NULL
},
53098 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53099 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53100 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
)_wrap_PaletteChangedEvent_GetChangedWindow
, METH_O
, NULL
},
53101 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
53102 { (char *)"PaletteChangedEvent_swiginit", PaletteChangedEvent_swiginit
, METH_VARARGS
, NULL
},
53103 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53104 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53105 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
)_wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_O
, NULL
},
53106 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
53107 { (char *)"QueryNewPaletteEvent_swiginit", QueryNewPaletteEvent_swiginit
, METH_VARARGS
, NULL
},
53108 { (char *)"new_NavigationKeyEvent", (PyCFunction
)_wrap_new_NavigationKeyEvent
, METH_NOARGS
, NULL
},
53109 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
)_wrap_NavigationKeyEvent_GetDirection
, METH_O
, NULL
},
53110 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53111 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
)_wrap_NavigationKeyEvent_IsWindowChange
, METH_O
, NULL
},
53112 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53113 { (char *)"NavigationKeyEvent_IsFromTab", (PyCFunction
)_wrap_NavigationKeyEvent_IsFromTab
, METH_O
, NULL
},
53114 { (char *)"NavigationKeyEvent_SetFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_SetFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53115 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53116 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
)_wrap_NavigationKeyEvent_GetCurrentFocus
, METH_O
, NULL
},
53117 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53118 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
53119 { (char *)"NavigationKeyEvent_swiginit", NavigationKeyEvent_swiginit
, METH_VARARGS
, NULL
},
53120 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53121 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
)_wrap_WindowCreateEvent_GetWindow
, METH_O
, NULL
},
53122 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
53123 { (char *)"WindowCreateEvent_swiginit", WindowCreateEvent_swiginit
, METH_VARARGS
, NULL
},
53124 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53125 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
)_wrap_WindowDestroyEvent_GetWindow
, METH_O
, NULL
},
53126 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
53127 { (char *)"WindowDestroyEvent_swiginit", WindowDestroyEvent_swiginit
, METH_VARARGS
, NULL
},
53128 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53129 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
)_wrap_ContextMenuEvent_GetPosition
, METH_O
, NULL
},
53130 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53131 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
53132 { (char *)"ContextMenuEvent_swiginit", ContextMenuEvent_swiginit
, METH_VARARGS
, NULL
},
53133 { (char *)"new_IdleEvent", (PyCFunction
)_wrap_new_IdleEvent
, METH_NOARGS
, NULL
},
53134 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53135 { (char *)"IdleEvent_MoreRequested", (PyCFunction
)_wrap_IdleEvent_MoreRequested
, METH_O
, NULL
},
53136 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53137 { (char *)"IdleEvent_GetMode", (PyCFunction
)_wrap_IdleEvent_GetMode
, METH_NOARGS
, NULL
},
53138 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53139 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
53140 { (char *)"IdleEvent_swiginit", IdleEvent_swiginit
, METH_VARARGS
, NULL
},
53141 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53142 { (char *)"delete_PyEvent", (PyCFunction
)_wrap_delete_PyEvent
, METH_O
, NULL
},
53143 { (char *)"PyEvent__SetSelf", (PyCFunction
) _wrap_PyEvent__SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53144 { (char *)"PyEvent__GetSelf", (PyCFunction
)_wrap_PyEvent__GetSelf
, METH_O
, NULL
},
53145 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
53146 { (char *)"PyEvent_swiginit", PyEvent_swiginit
, METH_VARARGS
, NULL
},
53147 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53148 { (char *)"delete_PyCommandEvent", (PyCFunction
)_wrap_delete_PyCommandEvent
, METH_O
, NULL
},
53149 { (char *)"PyCommandEvent__SetSelf", (PyCFunction
) _wrap_PyCommandEvent__SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53150 { (char *)"PyCommandEvent__GetSelf", (PyCFunction
)_wrap_PyCommandEvent__GetSelf
, METH_O
, NULL
},
53151 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
53152 { (char *)"PyCommandEvent_swiginit", PyCommandEvent_swiginit
, METH_VARARGS
, NULL
},
53153 { (char *)"new_DateEvent", (PyCFunction
) _wrap_new_DateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53154 { (char *)"DateEvent_GetDate", (PyCFunction
)_wrap_DateEvent_GetDate
, METH_O
, NULL
},
53155 { (char *)"DateEvent_SetDate", (PyCFunction
) _wrap_DateEvent_SetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53156 { (char *)"DateEvent_swigregister", DateEvent_swigregister
, METH_VARARGS
, NULL
},
53157 { (char *)"DateEvent_swiginit", DateEvent_swiginit
, METH_VARARGS
, NULL
},
53158 { (char *)"new_PyApp", (PyCFunction
)_wrap_new_PyApp
, METH_NOARGS
, NULL
},
53159 { (char *)"delete_PyApp", (PyCFunction
)_wrap_delete_PyApp
, METH_O
, NULL
},
53160 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53161 { (char *)"PyApp_GetAppName", (PyCFunction
)_wrap_PyApp_GetAppName
, METH_O
, NULL
},
53162 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53163 { (char *)"PyApp_GetClassName", (PyCFunction
)_wrap_PyApp_GetClassName
, METH_O
, NULL
},
53164 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53165 { (char *)"PyApp_GetVendorName", (PyCFunction
)_wrap_PyApp_GetVendorName
, METH_O
, NULL
},
53166 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53167 { (char *)"PyApp_GetTraits", (PyCFunction
)_wrap_PyApp_GetTraits
, METH_O
, NULL
},
53168 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
)_wrap_PyApp_ProcessPendingEvents
, METH_O
, NULL
},
53169 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53170 { (char *)"PyApp_WakeUpIdle", (PyCFunction
)_wrap_PyApp_WakeUpIdle
, METH_O
, NULL
},
53171 { (char *)"PyApp_IsMainLoopRunning", (PyCFunction
)_wrap_PyApp_IsMainLoopRunning
, METH_NOARGS
, NULL
},
53172 { (char *)"PyApp_MainLoop", (PyCFunction
)_wrap_PyApp_MainLoop
, METH_O
, NULL
},
53173 { (char *)"PyApp_Exit", (PyCFunction
)_wrap_PyApp_Exit
, METH_O
, NULL
},
53174 { (char *)"PyApp_ExitMainLoop", (PyCFunction
)_wrap_PyApp_ExitMainLoop
, METH_O
, NULL
},
53175 { (char *)"PyApp_Pending", (PyCFunction
)_wrap_PyApp_Pending
, METH_O
, NULL
},
53176 { (char *)"PyApp_Dispatch", (PyCFunction
)_wrap_PyApp_Dispatch
, METH_O
, NULL
},
53177 { (char *)"PyApp_ProcessIdle", (PyCFunction
)_wrap_PyApp_ProcessIdle
, METH_O
, NULL
},
53178 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53179 { (char *)"PyApp_IsActive", (PyCFunction
)_wrap_PyApp_IsActive
, METH_O
, NULL
},
53180 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53181 { (char *)"PyApp_GetTopWindow", (PyCFunction
)_wrap_PyApp_GetTopWindow
, METH_O
, NULL
},
53182 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53183 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
)_wrap_PyApp_GetExitOnFrameDelete
, METH_O
, NULL
},
53184 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53185 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
)_wrap_PyApp_GetUseBestVisual
, METH_O
, NULL
},
53186 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53187 { (char *)"PyApp_GetPrintMode", (PyCFunction
)_wrap_PyApp_GetPrintMode
, METH_O
, NULL
},
53188 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53189 { (char *)"PyApp_GetAssertMode", (PyCFunction
)_wrap_PyApp_GetAssertMode
, METH_O
, NULL
},
53190 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
)_wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_NOARGS
, NULL
},
53191 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
)_wrap_PyApp_GetMacAboutMenuItemId
, METH_NOARGS
, NULL
},
53192 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
)_wrap_PyApp_GetMacPreferencesMenuItemId
, METH_NOARGS
, NULL
},
53193 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
)_wrap_PyApp_GetMacExitMenuItemId
, METH_NOARGS
, NULL
},
53194 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
)_wrap_PyApp_GetMacHelpMenuTitleName
, METH_NOARGS
, NULL
},
53195 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53196 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53197 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53198 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53199 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53200 { (char *)"PyApp__BootstrapApp", (PyCFunction
)_wrap_PyApp__BootstrapApp
, METH_O
, NULL
},
53201 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
)_wrap_PyApp_GetComCtl32Version
, METH_NOARGS
, NULL
},
53202 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
53203 { (char *)"PyApp_swiginit", PyApp_swiginit
, METH_VARARGS
, NULL
},
53204 { (char *)"Exit", (PyCFunction
)_wrap_Exit
, METH_NOARGS
, NULL
},
53205 { (char *)"Yield", (PyCFunction
)_wrap_Yield
, METH_NOARGS
, NULL
},
53206 { (char *)"YieldIfNeeded", (PyCFunction
)_wrap_YieldIfNeeded
, METH_NOARGS
, NULL
},
53207 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53208 { (char *)"WakeUpIdle", (PyCFunction
)_wrap_WakeUpIdle
, METH_NOARGS
, NULL
},
53209 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53210 { (char *)"App_CleanUp", (PyCFunction
)_wrap_App_CleanUp
, METH_NOARGS
, NULL
},
53211 { (char *)"GetApp", (PyCFunction
)_wrap_GetApp
, METH_NOARGS
, NULL
},
53212 { (char *)"SetDefaultPyEncoding", (PyCFunction
) _wrap_SetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53213 { (char *)"GetDefaultPyEncoding", (PyCFunction
)_wrap_GetDefaultPyEncoding
, METH_NOARGS
, NULL
},
53214 { (char *)"new_EventLoop", (PyCFunction
)_wrap_new_EventLoop
, METH_NOARGS
, NULL
},
53215 { (char *)"delete_EventLoop", (PyCFunction
)_wrap_delete_EventLoop
, METH_O
, NULL
},
53216 { (char *)"EventLoop_Run", (PyCFunction
)_wrap_EventLoop_Run
, METH_O
, NULL
},
53217 { (char *)"EventLoop_Exit", (PyCFunction
) _wrap_EventLoop_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53218 { (char *)"EventLoop_Pending", (PyCFunction
)_wrap_EventLoop_Pending
, METH_O
, NULL
},
53219 { (char *)"EventLoop_Dispatch", (PyCFunction
)_wrap_EventLoop_Dispatch
, METH_O
, NULL
},
53220 { (char *)"EventLoop_IsRunning", (PyCFunction
)_wrap_EventLoop_IsRunning
, METH_O
, NULL
},
53221 { (char *)"EventLoop_GetActive", (PyCFunction
)_wrap_EventLoop_GetActive
, METH_NOARGS
, NULL
},
53222 { (char *)"EventLoop_SetActive", (PyCFunction
) _wrap_EventLoop_SetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53223 { (char *)"EventLoop_swigregister", EventLoop_swigregister
, METH_VARARGS
, NULL
},
53224 { (char *)"EventLoop_swiginit", EventLoop_swiginit
, METH_VARARGS
, NULL
},
53225 { (char *)"new_EventLoopActivator", (PyCFunction
) _wrap_new_EventLoopActivator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53226 { (char *)"delete_EventLoopActivator", (PyCFunction
)_wrap_delete_EventLoopActivator
, METH_O
, NULL
},
53227 { (char *)"EventLoopActivator_swigregister", EventLoopActivator_swigregister
, METH_VARARGS
, NULL
},
53228 { (char *)"EventLoopActivator_swiginit", EventLoopActivator_swiginit
, METH_VARARGS
, NULL
},
53229 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53230 { (char *)"delete_AcceleratorEntry", (PyCFunction
)_wrap_delete_AcceleratorEntry
, METH_O
, NULL
},
53231 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53232 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
)_wrap_AcceleratorEntry_GetFlags
, METH_O
, NULL
},
53233 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
)_wrap_AcceleratorEntry_GetKeyCode
, METH_O
, NULL
},
53234 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
)_wrap_AcceleratorEntry_GetCommand
, METH_O
, NULL
},
53235 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
53236 { (char *)"AcceleratorEntry_swiginit", AcceleratorEntry_swiginit
, METH_VARARGS
, NULL
},
53237 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53238 { (char *)"delete_AcceleratorTable", (PyCFunction
)_wrap_delete_AcceleratorTable
, METH_O
, NULL
},
53239 { (char *)"AcceleratorTable_Ok", (PyCFunction
)_wrap_AcceleratorTable_Ok
, METH_O
, NULL
},
53240 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
53241 { (char *)"AcceleratorTable_swiginit", AcceleratorTable_swiginit
, METH_VARARGS
, NULL
},
53242 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53243 { (char *)"new_VisualAttributes", (PyCFunction
)_wrap_new_VisualAttributes
, METH_NOARGS
, NULL
},
53244 { (char *)"delete_VisualAttributes", (PyCFunction
)_wrap_delete_VisualAttributes
, METH_O
, NULL
},
53245 { (char *)"VisualAttributes_font_set", _wrap_VisualAttributes_font_set
, METH_VARARGS
, NULL
},
53246 { (char *)"VisualAttributes_font_get", (PyCFunction
)_wrap_VisualAttributes_font_get
, METH_O
, NULL
},
53247 { (char *)"VisualAttributes_colFg_set", _wrap_VisualAttributes_colFg_set
, METH_VARARGS
, NULL
},
53248 { (char *)"VisualAttributes_colFg_get", (PyCFunction
)_wrap_VisualAttributes_colFg_get
, METH_O
, NULL
},
53249 { (char *)"VisualAttributes_colBg_set", _wrap_VisualAttributes_colBg_set
, METH_VARARGS
, NULL
},
53250 { (char *)"VisualAttributes_colBg_get", (PyCFunction
)_wrap_VisualAttributes_colBg_get
, METH_O
, NULL
},
53251 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
53252 { (char *)"VisualAttributes_swiginit", VisualAttributes_swiginit
, METH_VARARGS
, NULL
},
53253 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53254 { (char *)"new_PreWindow", (PyCFunction
)_wrap_new_PreWindow
, METH_NOARGS
, NULL
},
53255 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53256 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53257 { (char *)"Window_Destroy", (PyCFunction
)_wrap_Window_Destroy
, METH_O
, NULL
},
53258 { (char *)"Window_DestroyChildren", (PyCFunction
)_wrap_Window_DestroyChildren
, METH_O
, NULL
},
53259 { (char *)"Window_IsBeingDeleted", (PyCFunction
)_wrap_Window_IsBeingDeleted
, METH_O
, NULL
},
53260 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53261 { (char *)"Window_GetLabel", (PyCFunction
)_wrap_Window_GetLabel
, METH_O
, NULL
},
53262 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53263 { (char *)"Window_GetName", (PyCFunction
)_wrap_Window_GetName
, METH_O
, NULL
},
53264 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53265 { (char *)"Window_GetWindowVariant", (PyCFunction
)_wrap_Window_GetWindowVariant
, METH_O
, NULL
},
53266 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53267 { (char *)"Window_GetId", (PyCFunction
)_wrap_Window_GetId
, METH_O
, NULL
},
53268 { (char *)"Window_NewControlId", (PyCFunction
)_wrap_Window_NewControlId
, METH_NOARGS
, NULL
},
53269 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53270 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53271 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53272 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53273 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53274 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53275 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53276 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53277 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53278 { (char *)"Window_Raise", (PyCFunction
)_wrap_Window_Raise
, METH_O
, NULL
},
53279 { (char *)"Window_Lower", (PyCFunction
)_wrap_Window_Lower
, METH_O
, NULL
},
53280 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53281 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53282 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53283 { (char *)"Window_GetPosition", (PyCFunction
)_wrap_Window_GetPosition
, METH_O
, NULL
},
53284 { (char *)"Window_GetPositionTuple", (PyCFunction
)_wrap_Window_GetPositionTuple
, METH_O
, NULL
},
53285 { (char *)"Window_GetScreenPosition", (PyCFunction
)_wrap_Window_GetScreenPosition
, METH_O
, NULL
},
53286 { (char *)"Window_GetScreenPositionTuple", (PyCFunction
)_wrap_Window_GetScreenPositionTuple
, METH_O
, NULL
},
53287 { (char *)"Window_GetScreenRect", (PyCFunction
)_wrap_Window_GetScreenRect
, METH_O
, NULL
},
53288 { (char *)"Window_GetSize", (PyCFunction
)_wrap_Window_GetSize
, METH_O
, NULL
},
53289 { (char *)"Window_GetSizeTuple", (PyCFunction
)_wrap_Window_GetSizeTuple
, METH_O
, NULL
},
53290 { (char *)"Window_GetRect", (PyCFunction
)_wrap_Window_GetRect
, METH_O
, NULL
},
53291 { (char *)"Window_GetClientSize", (PyCFunction
)_wrap_Window_GetClientSize
, METH_O
, NULL
},
53292 { (char *)"Window_GetClientSizeTuple", (PyCFunction
)_wrap_Window_GetClientSizeTuple
, METH_O
, NULL
},
53293 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
)_wrap_Window_GetClientAreaOrigin
, METH_O
, NULL
},
53294 { (char *)"Window_GetClientRect", (PyCFunction
)_wrap_Window_GetClientRect
, METH_O
, NULL
},
53295 { (char *)"Window_GetBestSize", (PyCFunction
)_wrap_Window_GetBestSize
, METH_O
, NULL
},
53296 { (char *)"Window_GetBestSizeTuple", (PyCFunction
)_wrap_Window_GetBestSizeTuple
, METH_O
, NULL
},
53297 { (char *)"Window_InvalidateBestSize", (PyCFunction
)_wrap_Window_InvalidateBestSize
, METH_O
, NULL
},
53298 { (char *)"Window_CacheBestSize", (PyCFunction
) _wrap_Window_CacheBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53299 { (char *)"Window_GetBestFittingSize", (PyCFunction
)_wrap_Window_GetBestFittingSize
, METH_O
, NULL
},
53300 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
)_wrap_Window_GetAdjustedBestSize
, METH_O
, NULL
},
53301 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53302 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53303 { (char *)"Window_Fit", (PyCFunction
)_wrap_Window_Fit
, METH_O
, NULL
},
53304 { (char *)"Window_FitInside", (PyCFunction
)_wrap_Window_FitInside
, METH_O
, NULL
},
53305 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53306 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53307 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53308 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53309 { (char *)"Window_GetMaxSize", (PyCFunction
)_wrap_Window_GetMaxSize
, METH_O
, NULL
},
53310 { (char *)"Window_GetMinSize", (PyCFunction
)_wrap_Window_GetMinSize
, METH_O
, NULL
},
53311 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53312 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53313 { (char *)"Window_GetMinWidth", (PyCFunction
)_wrap_Window_GetMinWidth
, METH_O
, NULL
},
53314 { (char *)"Window_GetMinHeight", (PyCFunction
)_wrap_Window_GetMinHeight
, METH_O
, NULL
},
53315 { (char *)"Window_GetMaxWidth", (PyCFunction
)_wrap_Window_GetMaxWidth
, METH_O
, NULL
},
53316 { (char *)"Window_GetMaxHeight", (PyCFunction
)_wrap_Window_GetMaxHeight
, METH_O
, NULL
},
53317 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53318 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53319 { (char *)"Window_GetVirtualSize", (PyCFunction
)_wrap_Window_GetVirtualSize
, METH_O
, NULL
},
53320 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
)_wrap_Window_GetVirtualSizeTuple
, METH_O
, NULL
},
53321 { (char *)"Window_GetBestVirtualSize", (PyCFunction
)_wrap_Window_GetBestVirtualSize
, METH_O
, NULL
},
53322 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53323 { (char *)"Window_Hide", (PyCFunction
)_wrap_Window_Hide
, METH_O
, NULL
},
53324 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53325 { (char *)"Window_Disable", (PyCFunction
)_wrap_Window_Disable
, METH_O
, NULL
},
53326 { (char *)"Window_IsShown", (PyCFunction
)_wrap_Window_IsShown
, METH_O
, NULL
},
53327 { (char *)"Window_IsEnabled", (PyCFunction
)_wrap_Window_IsEnabled
, METH_O
, NULL
},
53328 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53329 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
)_wrap_Window_GetWindowStyleFlag
, METH_O
, NULL
},
53330 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53331 { (char *)"Window_IsRetained", (PyCFunction
)_wrap_Window_IsRetained
, METH_O
, NULL
},
53332 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53333 { (char *)"Window_GetExtraStyle", (PyCFunction
)_wrap_Window_GetExtraStyle
, METH_O
, NULL
},
53334 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53335 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53336 { (char *)"Window_GetThemeEnabled", (PyCFunction
)_wrap_Window_GetThemeEnabled
, METH_O
, NULL
},
53337 { (char *)"Window_SetFocus", (PyCFunction
)_wrap_Window_SetFocus
, METH_O
, NULL
},
53338 { (char *)"Window_SetFocusFromKbd", (PyCFunction
)_wrap_Window_SetFocusFromKbd
, METH_O
, NULL
},
53339 { (char *)"Window_FindFocus", (PyCFunction
)_wrap_Window_FindFocus
, METH_NOARGS
, NULL
},
53340 { (char *)"Window_AcceptsFocus", (PyCFunction
)_wrap_Window_AcceptsFocus
, METH_O
, NULL
},
53341 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
)_wrap_Window_AcceptsFocusFromKeyboard
, METH_O
, NULL
},
53342 { (char *)"Window_GetDefaultItem", (PyCFunction
)_wrap_Window_GetDefaultItem
, METH_O
, NULL
},
53343 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53344 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53345 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53346 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53347 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53348 { (char *)"Window_GetChildren", (PyCFunction
)_wrap_Window_GetChildren
, METH_O
, NULL
},
53349 { (char *)"Window_GetParent", (PyCFunction
)_wrap_Window_GetParent
, METH_O
, NULL
},
53350 { (char *)"Window_GetGrandParent", (PyCFunction
)_wrap_Window_GetGrandParent
, METH_O
, NULL
},
53351 { (char *)"Window_IsTopLevel", (PyCFunction
)_wrap_Window_IsTopLevel
, METH_O
, NULL
},
53352 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53353 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53354 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53355 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53356 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53357 { (char *)"Window_GetEventHandler", (PyCFunction
)_wrap_Window_GetEventHandler
, METH_O
, NULL
},
53358 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53359 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53360 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53361 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53362 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53363 { (char *)"Window_GetValidator", (PyCFunction
)_wrap_Window_GetValidator
, METH_O
, NULL
},
53364 { (char *)"Window_Validate", (PyCFunction
)_wrap_Window_Validate
, METH_O
, NULL
},
53365 { (char *)"Window_TransferDataToWindow", (PyCFunction
)_wrap_Window_TransferDataToWindow
, METH_O
, NULL
},
53366 { (char *)"Window_TransferDataFromWindow", (PyCFunction
)_wrap_Window_TransferDataFromWindow
, METH_O
, NULL
},
53367 { (char *)"Window_InitDialog", (PyCFunction
)_wrap_Window_InitDialog
, METH_O
, NULL
},
53368 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53369 { (char *)"Window_GetAcceleratorTable", (PyCFunction
)_wrap_Window_GetAcceleratorTable
, METH_O
, NULL
},
53370 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53371 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53372 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53373 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53374 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53375 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53376 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53377 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53378 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53379 { (char *)"Window_CaptureMouse", (PyCFunction
)_wrap_Window_CaptureMouse
, METH_O
, NULL
},
53380 { (char *)"Window_ReleaseMouse", (PyCFunction
)_wrap_Window_ReleaseMouse
, METH_O
, NULL
},
53381 { (char *)"Window_GetCapture", (PyCFunction
)_wrap_Window_GetCapture
, METH_NOARGS
, NULL
},
53382 { (char *)"Window_HasCapture", (PyCFunction
)_wrap_Window_HasCapture
, METH_O
, NULL
},
53383 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53384 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53385 { (char *)"Window_Update", (PyCFunction
)_wrap_Window_Update
, METH_O
, NULL
},
53386 { (char *)"Window_ClearBackground", (PyCFunction
)_wrap_Window_ClearBackground
, METH_O
, NULL
},
53387 { (char *)"Window_Freeze", (PyCFunction
)_wrap_Window_Freeze
, METH_O
, NULL
},
53388 { (char *)"Window_Thaw", (PyCFunction
)_wrap_Window_Thaw
, METH_O
, NULL
},
53389 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53390 { (char *)"Window_GetUpdateRegion", (PyCFunction
)_wrap_Window_GetUpdateRegion
, METH_O
, NULL
},
53391 { (char *)"Window_GetUpdateClientRect", (PyCFunction
)_wrap_Window_GetUpdateClientRect
, METH_O
, NULL
},
53392 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53393 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53394 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53395 { (char *)"Window_GetDefaultAttributes", (PyCFunction
)_wrap_Window_GetDefaultAttributes
, METH_O
, NULL
},
53396 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53397 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53398 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53399 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53400 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53401 { (char *)"Window_GetBackgroundColour", (PyCFunction
)_wrap_Window_GetBackgroundColour
, METH_O
, NULL
},
53402 { (char *)"Window_GetForegroundColour", (PyCFunction
)_wrap_Window_GetForegroundColour
, METH_O
, NULL
},
53403 { (char *)"Window_InheritsBackgroundColour", (PyCFunction
)_wrap_Window_InheritsBackgroundColour
, METH_O
, NULL
},
53404 { (char *)"Window_UseBgCol", (PyCFunction
)_wrap_Window_UseBgCol
, METH_O
, NULL
},
53405 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53406 { (char *)"Window_GetBackgroundStyle", (PyCFunction
)_wrap_Window_GetBackgroundStyle
, METH_O
, NULL
},
53407 { (char *)"Window_HasTransparentBackground", (PyCFunction
)_wrap_Window_HasTransparentBackground
, METH_O
, NULL
},
53408 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53409 { (char *)"Window_GetCursor", (PyCFunction
)_wrap_Window_GetCursor
, METH_O
, NULL
},
53410 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53411 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53412 { (char *)"Window_GetFont", (PyCFunction
)_wrap_Window_GetFont
, METH_O
, NULL
},
53413 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53414 { (char *)"Window_GetCaret", (PyCFunction
)_wrap_Window_GetCaret
, METH_O
, NULL
},
53415 { (char *)"Window_GetCharHeight", (PyCFunction
)_wrap_Window_GetCharHeight
, METH_O
, NULL
},
53416 { (char *)"Window_GetCharWidth", (PyCFunction
)_wrap_Window_GetCharWidth
, METH_O
, NULL
},
53417 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53418 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53419 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53420 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53421 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53422 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53423 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53424 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53425 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
53426 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53427 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53428 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53429 { (char *)"Window_GetHandle", (PyCFunction
)_wrap_Window_GetHandle
, METH_O
, NULL
},
53430 { (char *)"Window_AssociateHandle", (PyCFunction
) _wrap_Window_AssociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53431 { (char *)"Window_DissociateHandle", (PyCFunction
)_wrap_Window_DissociateHandle
, METH_O
, NULL
},
53432 { (char *)"Window_OnPaint", (PyCFunction
) _wrap_Window_OnPaint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53433 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53434 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53435 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53436 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53437 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53438 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53439 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53440 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53441 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53442 { (char *)"Window_LineUp", (PyCFunction
)_wrap_Window_LineUp
, METH_O
, NULL
},
53443 { (char *)"Window_LineDown", (PyCFunction
)_wrap_Window_LineDown
, METH_O
, NULL
},
53444 { (char *)"Window_PageUp", (PyCFunction
)_wrap_Window_PageUp
, METH_O
, NULL
},
53445 { (char *)"Window_PageDown", (PyCFunction
)_wrap_Window_PageDown
, METH_O
, NULL
},
53446 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53447 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53448 { (char *)"Window_GetHelpText", (PyCFunction
)_wrap_Window_GetHelpText
, METH_O
, NULL
},
53449 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53450 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53451 { (char *)"Window_GetToolTip", (PyCFunction
)_wrap_Window_GetToolTip
, METH_O
, NULL
},
53452 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53453 { (char *)"Window_GetDropTarget", (PyCFunction
)_wrap_Window_GetDropTarget
, METH_O
, NULL
},
53454 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53455 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53456 { (char *)"Window_GetConstraints", (PyCFunction
)_wrap_Window_GetConstraints
, METH_O
, NULL
},
53457 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53458 { (char *)"Window_GetAutoLayout", (PyCFunction
)_wrap_Window_GetAutoLayout
, METH_O
, NULL
},
53459 { (char *)"Window_Layout", (PyCFunction
)_wrap_Window_Layout
, METH_O
, NULL
},
53460 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53461 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53462 { (char *)"Window_GetSizer", (PyCFunction
)_wrap_Window_GetSizer
, METH_O
, NULL
},
53463 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53464 { (char *)"Window_GetContainingSizer", (PyCFunction
)_wrap_Window_GetContainingSizer
, METH_O
, NULL
},
53465 { (char *)"Window_InheritAttributes", (PyCFunction
)_wrap_Window_InheritAttributes
, METH_O
, NULL
},
53466 { (char *)"Window_ShouldInheritColours", (PyCFunction
)_wrap_Window_ShouldInheritColours
, METH_O
, NULL
},
53467 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
53468 { (char *)"Window_swiginit", Window_swiginit
, METH_VARARGS
, NULL
},
53469 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53470 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53471 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53472 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53473 { (char *)"GetTopLevelWindows", (PyCFunction
)_wrap_GetTopLevelWindows
, METH_NOARGS
, NULL
},
53474 { (char *)"new_Validator", (PyCFunction
)_wrap_new_Validator
, METH_NOARGS
, NULL
},
53475 { (char *)"Validator_Clone", (PyCFunction
)_wrap_Validator_Clone
, METH_O
, NULL
},
53476 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53477 { (char *)"Validator_TransferToWindow", (PyCFunction
)_wrap_Validator_TransferToWindow
, METH_O
, NULL
},
53478 { (char *)"Validator_TransferFromWindow", (PyCFunction
)_wrap_Validator_TransferFromWindow
, METH_O
, NULL
},
53479 { (char *)"Validator_GetWindow", (PyCFunction
)_wrap_Validator_GetWindow
, METH_O
, NULL
},
53480 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53481 { (char *)"Validator_IsSilent", (PyCFunction
)_wrap_Validator_IsSilent
, METH_NOARGS
, NULL
},
53482 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53483 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
53484 { (char *)"Validator_swiginit", Validator_swiginit
, METH_VARARGS
, NULL
},
53485 { (char *)"new_PyValidator", (PyCFunction
)_wrap_new_PyValidator
, METH_NOARGS
, NULL
},
53486 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53487 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
53488 { (char *)"PyValidator_swiginit", PyValidator_swiginit
, METH_VARARGS
, NULL
},
53489 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53490 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53491 { (char *)"Menu_AppendSeparator", (PyCFunction
)_wrap_Menu_AppendSeparator
, METH_O
, NULL
},
53492 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53493 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53494 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53495 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53496 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53497 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53498 { (char *)"Menu_Break", (PyCFunction
)_wrap_Menu_Break
, METH_O
, NULL
},
53499 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53500 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53501 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53502 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53503 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53504 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53505 { (char *)"Menu_PrependSeparator", (PyCFunction
)_wrap_Menu_PrependSeparator
, METH_O
, NULL
},
53506 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53507 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53508 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53509 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53510 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53511 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53512 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53513 { (char *)"Menu_Destroy", (PyCFunction
)_wrap_Menu_Destroy
, METH_O
, NULL
},
53514 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53515 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53516 { (char *)"Menu_GetMenuItemCount", (PyCFunction
)_wrap_Menu_GetMenuItemCount
, METH_O
, NULL
},
53517 { (char *)"Menu_GetMenuItems", (PyCFunction
)_wrap_Menu_GetMenuItems
, METH_O
, NULL
},
53518 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53519 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53520 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53521 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53522 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53523 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53524 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53525 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53526 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53527 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53528 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53529 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53530 { (char *)"Menu_GetTitle", (PyCFunction
)_wrap_Menu_GetTitle
, METH_O
, NULL
},
53531 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53532 { (char *)"Menu_GetEventHandler", (PyCFunction
)_wrap_Menu_GetEventHandler
, METH_O
, NULL
},
53533 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53534 { (char *)"Menu_GetInvokingWindow", (PyCFunction
)_wrap_Menu_GetInvokingWindow
, METH_O
, NULL
},
53535 { (char *)"Menu_GetStyle", (PyCFunction
)_wrap_Menu_GetStyle
, METH_O
, NULL
},
53536 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53537 { (char *)"Menu_GetMenuBar", (PyCFunction
)_wrap_Menu_GetMenuBar
, METH_O
, NULL
},
53538 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53539 { (char *)"Menu_Detach", (PyCFunction
)_wrap_Menu_Detach
, METH_O
, NULL
},
53540 { (char *)"Menu_IsAttached", (PyCFunction
)_wrap_Menu_IsAttached
, METH_O
, NULL
},
53541 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53542 { (char *)"Menu_GetParent", (PyCFunction
)_wrap_Menu_GetParent
, METH_O
, NULL
},
53543 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
53544 { (char *)"Menu_swiginit", Menu_swiginit
, METH_VARARGS
, NULL
},
53545 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53546 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53547 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53548 { (char *)"MenuBar_GetMenuCount", (PyCFunction
)_wrap_MenuBar_GetMenuCount
, METH_O
, NULL
},
53549 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53550 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53551 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53552 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53553 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53554 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53555 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53556 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53557 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53558 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53559 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53560 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53561 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53562 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53563 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53564 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53565 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53566 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53567 { (char *)"MenuBar_GetFrame", (PyCFunction
)_wrap_MenuBar_GetFrame
, METH_O
, NULL
},
53568 { (char *)"MenuBar_IsAttached", (PyCFunction
)_wrap_MenuBar_IsAttached
, METH_O
, NULL
},
53569 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53570 { (char *)"MenuBar_Detach", (PyCFunction
)_wrap_MenuBar_Detach
, METH_O
, NULL
},
53571 { (char *)"MenuBar_SetAutoWindowMenu", (PyCFunction
) _wrap_MenuBar_SetAutoWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53572 { (char *)"MenuBar_GetAutoWindowMenu", (PyCFunction
)_wrap_MenuBar_GetAutoWindowMenu
, METH_NOARGS
, NULL
},
53573 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
53574 { (char *)"MenuBar_swiginit", MenuBar_swiginit
, METH_VARARGS
, NULL
},
53575 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53576 { (char *)"delete_MenuItem", (PyCFunction
)_wrap_delete_MenuItem
, METH_O
, NULL
},
53577 { (char *)"MenuItem_GetMenu", (PyCFunction
)_wrap_MenuItem_GetMenu
, METH_O
, NULL
},
53578 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53579 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53580 { (char *)"MenuItem_GetId", (PyCFunction
)_wrap_MenuItem_GetId
, METH_O
, NULL
},
53581 { (char *)"MenuItem_IsSeparator", (PyCFunction
)_wrap_MenuItem_IsSeparator
, METH_O
, NULL
},
53582 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53583 { (char *)"MenuItem_GetLabel", (PyCFunction
)_wrap_MenuItem_GetLabel
, METH_O
, NULL
},
53584 { (char *)"MenuItem_GetText", (PyCFunction
)_wrap_MenuItem_GetText
, METH_O
, NULL
},
53585 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53586 { (char *)"MenuItem_GetKind", (PyCFunction
)_wrap_MenuItem_GetKind
, METH_O
, NULL
},
53587 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53588 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53589 { (char *)"MenuItem_IsCheckable", (PyCFunction
)_wrap_MenuItem_IsCheckable
, METH_O
, NULL
},
53590 { (char *)"MenuItem_IsSubMenu", (PyCFunction
)_wrap_MenuItem_IsSubMenu
, METH_O
, NULL
},
53591 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53592 { (char *)"MenuItem_GetSubMenu", (PyCFunction
)_wrap_MenuItem_GetSubMenu
, METH_O
, NULL
},
53593 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53594 { (char *)"MenuItem_IsEnabled", (PyCFunction
)_wrap_MenuItem_IsEnabled
, METH_O
, NULL
},
53595 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53596 { (char *)"MenuItem_IsChecked", (PyCFunction
)_wrap_MenuItem_IsChecked
, METH_O
, NULL
},
53597 { (char *)"MenuItem_Toggle", (PyCFunction
)_wrap_MenuItem_Toggle
, METH_O
, NULL
},
53598 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53599 { (char *)"MenuItem_GetHelp", (PyCFunction
)_wrap_MenuItem_GetHelp
, METH_O
, NULL
},
53600 { (char *)"MenuItem_GetAccel", (PyCFunction
)_wrap_MenuItem_GetAccel
, METH_O
, NULL
},
53601 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53602 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53603 { (char *)"MenuItem_GetBitmap", (PyCFunction
)_wrap_MenuItem_GetBitmap
, METH_O
, NULL
},
53604 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53605 { (char *)"MenuItem_GetFont", (PyCFunction
)_wrap_MenuItem_GetFont
, METH_O
, NULL
},
53606 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53607 { (char *)"MenuItem_GetTextColour", (PyCFunction
)_wrap_MenuItem_GetTextColour
, METH_O
, NULL
},
53608 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53609 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
)_wrap_MenuItem_GetBackgroundColour
, METH_O
, NULL
},
53610 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53611 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53612 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
)_wrap_MenuItem_GetDisabledBitmap
, METH_O
, NULL
},
53613 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53614 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
)_wrap_MenuItem_GetMarginWidth
, METH_O
, NULL
},
53615 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
)_wrap_MenuItem_GetDefaultMarginWidth
, METH_NOARGS
, NULL
},
53616 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
)_wrap_MenuItem_IsOwnerDrawn
, METH_O
, NULL
},
53617 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53618 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
)_wrap_MenuItem_ResetOwnerDrawn
, METH_O
, NULL
},
53619 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
53620 { (char *)"MenuItem_swiginit", MenuItem_swiginit
, METH_VARARGS
, NULL
},
53621 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53622 { (char *)"new_PreControl", (PyCFunction
)_wrap_new_PreControl
, METH_NOARGS
, NULL
},
53623 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53624 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53625 { (char *)"Control_GetLabel", (PyCFunction
)_wrap_Control_GetLabel
, METH_O
, NULL
},
53626 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53627 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
53628 { (char *)"Control_swiginit", Control_swiginit
, METH_VARARGS
, NULL
},
53629 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53630 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53631 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53632 { (char *)"ItemContainer_Clear", (PyCFunction
)_wrap_ItemContainer_Clear
, METH_O
, NULL
},
53633 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53634 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53635 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53636 { (char *)"ItemContainer_GetCount", (PyCFunction
)_wrap_ItemContainer_GetCount
, METH_O
, NULL
},
53637 { (char *)"ItemContainer_IsEmpty", (PyCFunction
)_wrap_ItemContainer_IsEmpty
, METH_O
, NULL
},
53638 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53639 { (char *)"ItemContainer_GetStrings", (PyCFunction
)_wrap_ItemContainer_GetStrings
, METH_O
, NULL
},
53640 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53641 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53642 { (char *)"ItemContainer_SetSelection", (PyCFunction
) _wrap_ItemContainer_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53643 { (char *)"ItemContainer_GetSelection", (PyCFunction
)_wrap_ItemContainer_GetSelection
, METH_O
, NULL
},
53644 { (char *)"ItemContainer_SetStringSelection", (PyCFunction
) _wrap_ItemContainer_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53645 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
)_wrap_ItemContainer_GetStringSelection
, METH_O
, NULL
},
53646 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53647 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
53648 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
53649 { (char *)"new_SizerItem", (PyCFunction
)_wrap_new_SizerItem
, METH_NOARGS
, NULL
},
53650 { (char *)"delete_SizerItem", (PyCFunction
)_wrap_delete_SizerItem
, METH_O
, NULL
},
53651 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53652 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53653 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53654 { (char *)"SizerItem_DeleteWindows", (PyCFunction
)_wrap_SizerItem_DeleteWindows
, METH_O
, NULL
},
53655 { (char *)"SizerItem_DetachSizer", (PyCFunction
)_wrap_SizerItem_DetachSizer
, METH_O
, NULL
},
53656 { (char *)"SizerItem_GetSize", (PyCFunction
)_wrap_SizerItem_GetSize
, METH_O
, NULL
},
53657 { (char *)"SizerItem_CalcMin", (PyCFunction
)_wrap_SizerItem_CalcMin
, METH_O
, NULL
},
53658 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53659 { (char *)"SizerItem_GetMinSize", (PyCFunction
)_wrap_SizerItem_GetMinSize
, METH_O
, NULL
},
53660 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
)_wrap_SizerItem_GetMinSizeWithBorder
, METH_O
, NULL
},
53661 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53662 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53663 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53664 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53665 { (char *)"SizerItem_GetRatio", (PyCFunction
)_wrap_SizerItem_GetRatio
, METH_O
, NULL
},
53666 { (char *)"SizerItem_GetRect", (PyCFunction
)_wrap_SizerItem_GetRect
, METH_O
, NULL
},
53667 { (char *)"SizerItem_IsWindow", (PyCFunction
)_wrap_SizerItem_IsWindow
, METH_O
, NULL
},
53668 { (char *)"SizerItem_IsSizer", (PyCFunction
)_wrap_SizerItem_IsSizer
, METH_O
, NULL
},
53669 { (char *)"SizerItem_IsSpacer", (PyCFunction
)_wrap_SizerItem_IsSpacer
, METH_O
, NULL
},
53670 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53671 { (char *)"SizerItem_GetProportion", (PyCFunction
)_wrap_SizerItem_GetProportion
, METH_O
, NULL
},
53672 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53673 { (char *)"SizerItem_GetFlag", (PyCFunction
)_wrap_SizerItem_GetFlag
, METH_O
, NULL
},
53674 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53675 { (char *)"SizerItem_GetBorder", (PyCFunction
)_wrap_SizerItem_GetBorder
, METH_O
, NULL
},
53676 { (char *)"SizerItem_GetWindow", (PyCFunction
)_wrap_SizerItem_GetWindow
, METH_O
, NULL
},
53677 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53678 { (char *)"SizerItem_GetSizer", (PyCFunction
)_wrap_SizerItem_GetSizer
, METH_O
, NULL
},
53679 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53680 { (char *)"SizerItem_GetSpacer", (PyCFunction
)_wrap_SizerItem_GetSpacer
, METH_O
, NULL
},
53681 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53682 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53683 { (char *)"SizerItem_IsShown", (PyCFunction
)_wrap_SizerItem_IsShown
, METH_O
, NULL
},
53684 { (char *)"SizerItem_GetPosition", (PyCFunction
)_wrap_SizerItem_GetPosition
, METH_O
, NULL
},
53685 { (char *)"SizerItem_GetUserData", (PyCFunction
)_wrap_SizerItem_GetUserData
, METH_O
, NULL
},
53686 { (char *)"SizerItem_SetUserData", (PyCFunction
) _wrap_SizerItem_SetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53687 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
53688 { (char *)"SizerItem_swiginit", SizerItem_swiginit
, METH_VARARGS
, NULL
},
53689 { (char *)"delete_Sizer", (PyCFunction
)_wrap_delete_Sizer
, METH_O
, NULL
},
53690 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53691 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53692 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53693 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53694 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53695 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53696 { (char *)"Sizer_GetItem", (PyCFunction
) _wrap_Sizer_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53697 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53698 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53699 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53700 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53701 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53702 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53703 { (char *)"Sizer_GetSize", (PyCFunction
)_wrap_Sizer_GetSize
, METH_O
, NULL
},
53704 { (char *)"Sizer_GetPosition", (PyCFunction
)_wrap_Sizer_GetPosition
, METH_O
, NULL
},
53705 { (char *)"Sizer_GetMinSize", (PyCFunction
)_wrap_Sizer_GetMinSize
, METH_O
, NULL
},
53706 { (char *)"Sizer_RecalcSizes", (PyCFunction
)_wrap_Sizer_RecalcSizes
, METH_O
, NULL
},
53707 { (char *)"Sizer_CalcMin", (PyCFunction
)_wrap_Sizer_CalcMin
, METH_O
, NULL
},
53708 { (char *)"Sizer_Layout", (PyCFunction
)_wrap_Sizer_Layout
, METH_O
, NULL
},
53709 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53710 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53711 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53712 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53713 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53714 { (char *)"Sizer_DeleteWindows", (PyCFunction
)_wrap_Sizer_DeleteWindows
, METH_O
, NULL
},
53715 { (char *)"Sizer_GetChildren", (PyCFunction
)_wrap_Sizer_GetChildren
, METH_O
, NULL
},
53716 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53717 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53718 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53719 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
53720 { (char *)"new_PySizer", (PyCFunction
)_wrap_new_PySizer
, METH_NOARGS
, NULL
},
53721 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53722 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
53723 { (char *)"PySizer_swiginit", PySizer_swiginit
, METH_VARARGS
, NULL
},
53724 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53725 { (char *)"BoxSizer_GetOrientation", (PyCFunction
)_wrap_BoxSizer_GetOrientation
, METH_O
, NULL
},
53726 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53727 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
53728 { (char *)"BoxSizer_swiginit", BoxSizer_swiginit
, METH_VARARGS
, NULL
},
53729 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53730 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
)_wrap_StaticBoxSizer_GetStaticBox
, METH_O
, NULL
},
53731 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
53732 { (char *)"StaticBoxSizer_swiginit", StaticBoxSizer_swiginit
, METH_VARARGS
, NULL
},
53733 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53734 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53735 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53736 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53737 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53738 { (char *)"GridSizer_GetCols", (PyCFunction
)_wrap_GridSizer_GetCols
, METH_O
, NULL
},
53739 { (char *)"GridSizer_GetRows", (PyCFunction
)_wrap_GridSizer_GetRows
, METH_O
, NULL
},
53740 { (char *)"GridSizer_GetVGap", (PyCFunction
)_wrap_GridSizer_GetVGap
, METH_O
, NULL
},
53741 { (char *)"GridSizer_GetHGap", (PyCFunction
)_wrap_GridSizer_GetHGap
, METH_O
, NULL
},
53742 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
53743 { (char *)"GridSizer_swiginit", GridSizer_swiginit
, METH_VARARGS
, NULL
},
53744 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53745 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53746 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53747 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53748 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53749 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53750 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
)_wrap_FlexGridSizer_GetFlexibleDirection
, METH_O
, NULL
},
53751 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53752 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
)_wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_O
, NULL
},
53753 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
)_wrap_FlexGridSizer_GetRowHeights
, METH_O
, NULL
},
53754 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
)_wrap_FlexGridSizer_GetColWidths
, METH_O
, NULL
},
53755 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
53756 { (char *)"FlexGridSizer_swiginit", FlexGridSizer_swiginit
, METH_VARARGS
, NULL
},
53757 { (char *)"new_StdDialogButtonSizer", (PyCFunction
)_wrap_new_StdDialogButtonSizer
, METH_NOARGS
, NULL
},
53758 { (char *)"StdDialogButtonSizer_AddButton", (PyCFunction
) _wrap_StdDialogButtonSizer_AddButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53759 { (char *)"StdDialogButtonSizer_Realize", (PyCFunction
)_wrap_StdDialogButtonSizer_Realize
, METH_O
, NULL
},
53760 { (char *)"StdDialogButtonSizer_SetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53761 { (char *)"StdDialogButtonSizer_SetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53762 { (char *)"StdDialogButtonSizer_SetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53763 { (char *)"StdDialogButtonSizer_GetAffirmativeButton", (PyCFunction
)_wrap_StdDialogButtonSizer_GetAffirmativeButton
, METH_O
, NULL
},
53764 { (char *)"StdDialogButtonSizer_GetApplyButton", (PyCFunction
)_wrap_StdDialogButtonSizer_GetApplyButton
, METH_O
, NULL
},
53765 { (char *)"StdDialogButtonSizer_GetNegativeButton", (PyCFunction
)_wrap_StdDialogButtonSizer_GetNegativeButton
, METH_O
, NULL
},
53766 { (char *)"StdDialogButtonSizer_GetCancelButton", (PyCFunction
)_wrap_StdDialogButtonSizer_GetCancelButton
, METH_O
, NULL
},
53767 { (char *)"StdDialogButtonSizer_GetHelpButton", (PyCFunction
)_wrap_StdDialogButtonSizer_GetHelpButton
, METH_O
, NULL
},
53768 { (char *)"StdDialogButtonSizer_swigregister", StdDialogButtonSizer_swigregister
, METH_VARARGS
, NULL
},
53769 { (char *)"StdDialogButtonSizer_swiginit", StdDialogButtonSizer_swiginit
, METH_VARARGS
, NULL
},
53770 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53771 { (char *)"delete_GBPosition", (PyCFunction
)_wrap_delete_GBPosition
, METH_O
, NULL
},
53772 { (char *)"GBPosition_GetRow", (PyCFunction
)_wrap_GBPosition_GetRow
, METH_O
, NULL
},
53773 { (char *)"GBPosition_GetCol", (PyCFunction
)_wrap_GBPosition_GetCol
, METH_O
, NULL
},
53774 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53775 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53776 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53777 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53778 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53779 { (char *)"GBPosition_Get", (PyCFunction
)_wrap_GBPosition_Get
, METH_O
, NULL
},
53780 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
53781 { (char *)"GBPosition_swiginit", GBPosition_swiginit
, METH_VARARGS
, NULL
},
53782 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53783 { (char *)"delete_GBSpan", (PyCFunction
)_wrap_delete_GBSpan
, METH_O
, NULL
},
53784 { (char *)"GBSpan_GetRowspan", (PyCFunction
)_wrap_GBSpan_GetRowspan
, METH_O
, NULL
},
53785 { (char *)"GBSpan_GetColspan", (PyCFunction
)_wrap_GBSpan_GetColspan
, METH_O
, NULL
},
53786 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53787 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53788 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53789 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53790 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53791 { (char *)"GBSpan_Get", (PyCFunction
)_wrap_GBSpan_Get
, METH_O
, NULL
},
53792 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
53793 { (char *)"GBSpan_swiginit", GBSpan_swiginit
, METH_VARARGS
, NULL
},
53794 { (char *)"new_GBSizerItem", (PyCFunction
)_wrap_new_GBSizerItem
, METH_NOARGS
, NULL
},
53795 { (char *)"delete_GBSizerItem", (PyCFunction
)_wrap_delete_GBSizerItem
, METH_O
, NULL
},
53796 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53797 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53798 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53799 { (char *)"GBSizerItem_GetPos", (PyCFunction
)_wrap_GBSizerItem_GetPos
, METH_O
, NULL
},
53800 { (char *)"GBSizerItem_GetSpan", (PyCFunction
)_wrap_GBSizerItem_GetSpan
, METH_O
, NULL
},
53801 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53802 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53803 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53804 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53805 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
)_wrap_GBSizerItem_GetEndPos
, METH_O
, NULL
},
53806 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
)_wrap_GBSizerItem_GetGBSizer
, METH_O
, NULL
},
53807 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53808 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
53809 { (char *)"GBSizerItem_swiginit", GBSizerItem_swiginit
, METH_VARARGS
, NULL
},
53810 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53811 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53812 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53813 { (char *)"GridBagSizer_GetCellSize", (PyCFunction
) _wrap_GridBagSizer_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53814 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
)_wrap_GridBagSizer_GetEmptyCellSize
, METH_O
, NULL
},
53815 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53816 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
53817 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
53818 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
53819 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
53820 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
53821 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53822 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53823 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53824 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53825 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
53826 { (char *)"GridBagSizer_swiginit", GridBagSizer_swiginit
, METH_VARARGS
, NULL
},
53827 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53828 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53829 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53830 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53831 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53832 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53833 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53834 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53835 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
)_wrap_IndividualLayoutConstraint_Unconstrained
, METH_O
, NULL
},
53836 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
)_wrap_IndividualLayoutConstraint_AsIs
, METH_O
, NULL
},
53837 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_O
, NULL
},
53838 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetMyEdge
, METH_O
, NULL
},
53839 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53840 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53841 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetMargin
, METH_O
, NULL
},
53842 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53843 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetValue
, METH_O
, NULL
},
53844 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetPercent
, METH_O
, NULL
},
53845 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_O
, NULL
},
53846 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetDone
, METH_O
, NULL
},
53847 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53848 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetRelationship
, METH_O
, NULL
},
53849 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53850 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53851 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53852 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53853 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
53854 { (char *)"LayoutConstraints_left_get", (PyCFunction
)_wrap_LayoutConstraints_left_get
, METH_O
, NULL
},
53855 { (char *)"LayoutConstraints_top_get", (PyCFunction
)_wrap_LayoutConstraints_top_get
, METH_O
, NULL
},
53856 { (char *)"LayoutConstraints_right_get", (PyCFunction
)_wrap_LayoutConstraints_right_get
, METH_O
, NULL
},
53857 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
)_wrap_LayoutConstraints_bottom_get
, METH_O
, NULL
},
53858 { (char *)"LayoutConstraints_width_get", (PyCFunction
)_wrap_LayoutConstraints_width_get
, METH_O
, NULL
},
53859 { (char *)"LayoutConstraints_height_get", (PyCFunction
)_wrap_LayoutConstraints_height_get
, METH_O
, NULL
},
53860 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
)_wrap_LayoutConstraints_centreX_get
, METH_O
, NULL
},
53861 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
)_wrap_LayoutConstraints_centreY_get
, METH_O
, NULL
},
53862 { (char *)"new_LayoutConstraints", (PyCFunction
)_wrap_new_LayoutConstraints
, METH_NOARGS
, NULL
},
53863 { (char *)"delete_LayoutConstraints", (PyCFunction
)_wrap_delete_LayoutConstraints
, METH_O
, NULL
},
53864 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53865 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
)_wrap_LayoutConstraints_AreSatisfied
, METH_O
, NULL
},
53866 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
53867 { (char *)"LayoutConstraints_swiginit", LayoutConstraints_swiginit
, METH_VARARGS
, NULL
},
53868 { NULL
, NULL
, 0, NULL
}
53872 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
53874 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
53875 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
53877 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
53878 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
53880 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
53881 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
53883 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
53884 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
53886 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
53887 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
53889 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
53890 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
53892 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
53893 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
53895 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
53896 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
53898 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
53899 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
53901 static void *_p_wxStdDialogButtonSizerTo_p_wxBoxSizer(void *x
) {
53902 return (void *)((wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
53904 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
53905 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
53907 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
53908 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
53910 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
53911 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
53913 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
53914 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
53916 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
53917 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
53919 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
53920 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
53922 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
53923 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
53925 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
53926 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
53928 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
53929 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
53931 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
53932 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
53934 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
53935 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
53937 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
53938 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
53940 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
53941 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
53943 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
53944 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
53946 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
53947 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
53949 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
53950 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
53952 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
53953 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
53955 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
53956 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
53958 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
53959 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
53961 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
53962 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
53964 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
53965 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
53967 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
53968 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
53970 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
53971 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
53973 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
53974 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
53976 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
53977 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
53979 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
53980 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
53982 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
53983 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
53985 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
53986 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
53988 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
53989 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
53991 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
53992 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
53994 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
53995 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
53997 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
53998 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
54000 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
54001 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
54003 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
54004 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
54006 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
54007 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
54009 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
54010 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
54012 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
54013 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
54015 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
54016 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
54018 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
54019 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
54021 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
54022 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
54024 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
54025 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
54027 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
54028 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
54030 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
54031 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
54033 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
54034 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
54036 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
54037 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
54039 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
54040 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
54042 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
54043 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
54045 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
54046 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
54048 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
54049 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
54051 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
54052 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
54054 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
54055 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
54057 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
54058 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
54060 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
54061 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
54063 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
54064 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
54066 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
54067 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
54069 static void *_p_wxPyImageHandlerTo_p_wxImageHandler(void *x
) {
54070 return (void *)((wxImageHandler
*) ((wxPyImageHandler
*) x
));
54072 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
54073 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
54075 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
54076 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
54078 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
54079 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
54081 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
54082 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
54084 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
54085 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
54087 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
54088 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
54090 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
54091 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
54093 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
54094 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
54096 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
54097 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
54099 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
54100 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
54102 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
54103 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
54105 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
54106 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
54108 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
54109 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
54111 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
54112 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
54114 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
54115 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
54117 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
54118 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
54120 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
54121 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
54123 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
54124 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
54126 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
54127 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
54129 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
54130 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
54132 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
54133 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
54135 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
54136 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
54138 static void *_p_wxSizerTo_p_wxObject(void *x
) {
54139 return (void *)((wxObject
*) ((wxSizer
*) x
));
54141 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
54142 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
54144 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
54145 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
54147 static void *_p_wxEventTo_p_wxObject(void *x
) {
54148 return (void *)((wxObject
*) ((wxEvent
*) x
));
54150 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
54151 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
54153 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
54154 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
54156 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
54157 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
54159 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
54160 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
54162 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
54163 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
54165 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
54166 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
54168 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
54169 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
54171 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
54172 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
54174 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
54175 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
54177 static void *_p_wxControlTo_p_wxObject(void *x
) {
54178 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
54180 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
54181 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
54183 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
54184 return (void *)((wxObject
*) ((wxFSFile
*) x
));
54186 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
54187 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
54189 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
54190 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
54192 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
54193 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
54195 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
54196 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
54198 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
54199 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
54201 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
54202 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
54204 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
54205 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
54207 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
54208 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
54210 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
54211 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
54213 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
54214 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
54216 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
54217 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
54219 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
54220 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
54222 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
54223 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
54225 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
54226 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
54228 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
54229 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
54231 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
54232 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
54234 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
54235 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
54237 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
54238 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
54240 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
54241 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
54243 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
54244 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
54246 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
54247 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
54249 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
54250 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
54252 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
54253 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
54255 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
54256 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
54258 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
54259 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
54261 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
54262 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
54264 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
54265 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
54267 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
54268 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
54270 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
54271 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
54273 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
54274 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
54276 static void *_p_wxImageTo_p_wxObject(void *x
) {
54277 return (void *)((wxObject
*) ((wxImage
*) x
));
54279 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
54280 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
54282 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
54283 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
54285 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
54286 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
54288 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
54289 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
54291 static void *_p_wxWindowTo_p_wxObject(void *x
) {
54292 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
54294 static void *_p_wxMenuTo_p_wxObject(void *x
) {
54295 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
54297 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
54298 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
54300 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
54301 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
54303 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
54304 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
54306 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
54307 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
54309 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
54310 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
54312 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
54313 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
54315 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
54316 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
54318 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
54319 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
54321 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
54322 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
54324 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
54325 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
54327 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
54328 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
54330 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
54331 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
54333 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
54334 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
54336 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
54337 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
54339 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
54340 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
54342 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
54343 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
54345 static void *_p_wxControlTo_p_wxWindow(void *x
) {
54346 return (void *)((wxWindow
*) ((wxControl
*) x
));
54348 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
54349 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
54351 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
54352 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
54354 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
54355 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
54357 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
54358 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
54360 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
54361 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
54363 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
54364 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
54366 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
54367 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
54369 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
54370 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
54372 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
54373 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
54375 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
54376 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
54378 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
54379 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
54381 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
54382 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
54384 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
54385 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
54386 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};
54387 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
54388 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
54389 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
54390 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
54391 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
54392 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", "wxANIHandler *", 0, 0, (void*)0, 0};
54393 static swig_type_info _swigt__p_wxAcceleratorEntry
= {"_p_wxAcceleratorEntry", "wxAcceleratorEntry *", 0, 0, (void*)0, 0};
54394 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", "wxAcceleratorTable *", 0, 0, (void*)0, 0};
54395 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", "wxActivateEvent *", 0, 0, (void*)0, 0};
54396 static swig_type_info _swigt__p_wxAppTraits
= {"_p_wxAppTraits", "wxAppTraits *", 0, 0, (void*)0, 0};
54397 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
54398 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", "wxBMPHandler *", 0, 0, (void*)0, 0};
54399 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
54400 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", "wxBoxSizer *", 0, 0, (void*)0, 0};
54401 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
54402 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", "wxCURHandler *", 0, 0, (void*)0, 0};
54403 static swig_type_info _swigt__p_wxCaret
= {"_p_wxCaret", "wxCaret *", 0, 0, (void*)0, 0};
54404 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", "wxChildFocusEvent *", 0, 0, (void*)0, 0};
54405 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", "wxCloseEvent *", 0, 0, (void*)0, 0};
54406 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
54407 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
54408 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", "wxContextMenuEvent *", 0, 0, (void*)0, 0};
54409 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
54410 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
54411 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
54412 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
54413 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", "wxDateEvent *", 0, 0, (void*)0, 0};
54414 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
54415 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", "wxDisplayChangedEvent *", 0, 0, (void*)0, 0};
54416 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", "wxDropFilesEvent *", 0, 0, (void*)0, 0};
54417 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
54418 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", "wxEraseEvent *", 0, 0, (void*)0, 0};
54419 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
54420 static swig_type_info _swigt__p_wxEventLoop
= {"_p_wxEventLoop", "wxEventLoop *", 0, 0, (void*)0, 0};
54421 static swig_type_info _swigt__p_wxEventLoopActivator
= {"_p_wxEventLoopActivator", "wxEventLoopActivator *", 0, 0, (void*)0, 0};
54422 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
54423 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", "wxFSFile *", 0, 0, (void*)0, 0};
54424 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
54425 static swig_type_info _swigt__p_wxFileSystemHandler
= {"_p_wxFileSystemHandler", "wxFileSystemHandler *", 0, 0, (void*)0, 0};
54426 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", "wxFlexGridSizer *", 0, 0, (void*)0, 0};
54427 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", "wxFocusEvent *", 0, 0, (void*)0, 0};
54428 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
54429 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
54430 static swig_type_info _swigt__p_wxGBPosition
= {"_p_wxGBPosition", "wxGBPosition *", 0, 0, (void*)0, 0};
54431 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", "wxGBSizerItem *", 0, 0, (void*)0, 0};
54432 static swig_type_info _swigt__p_wxGBSpan
= {"_p_wxGBSpan", "wxGBSpan *", 0, 0, (void*)0, 0};
54433 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", "wxGIFHandler *", 0, 0, (void*)0, 0};
54434 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", "wxGridBagSizer *", 0, 0, (void*)0, 0};
54435 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", "wxGridSizer *", 0, 0, (void*)0, 0};
54436 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", "wxICOHandler *", 0, 0, (void*)0, 0};
54437 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", "wxIconizeEvent *", 0, 0, (void*)0, 0};
54438 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", "wxIdleEvent *", 0, 0, (void*)0, 0};
54439 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
54440 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", "wxImageHandler *", 0, 0, (void*)0, 0};
54441 static swig_type_info _swigt__p_wxImageHistogram
= {"_p_wxImageHistogram", "wxImageHistogram *", 0, 0, (void*)0, 0};
54442 static swig_type_info _swigt__p_wxImage_HSVValue
= {"_p_wxImage_HSVValue", "wxImage_HSVValue *", 0, 0, (void*)0, 0};
54443 static swig_type_info _swigt__p_wxImage_RGBValue
= {"_p_wxImage_RGBValue", "wxImage_RGBValue *", 0, 0, (void*)0, 0};
54444 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", "wxIndividualLayoutConstraint *", 0, 0, (void*)0, 0};
54445 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", "wxInitDialogEvent *", 0, 0, (void*)0, 0};
54446 static swig_type_info _swigt__p_wxInputStream
= {"_p_wxInputStream", "wxInputStream *", 0, 0, (void*)0, 0};
54447 static swig_type_info _swigt__p_wxInternetFSHandler
= {"_p_wxInternetFSHandler", "wxInternetFSHandler *", 0, 0, (void*)0, 0};
54448 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
54449 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", "wxJPEGHandler *", 0, 0, (void*)0, 0};
54450 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
54451 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", "wxLayoutConstraints *", 0, 0, (void*)0, 0};
54452 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", "wxMaximizeEvent *", 0, 0, (void*)0, 0};
54453 static swig_type_info _swigt__p_wxMemoryFSHandler
= {"_p_wxMemoryFSHandler", "wxMemoryFSHandler *", 0, 0, (void*)0, 0};
54454 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
54455 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
54456 static swig_type_info _swigt__p_wxMenuBarBase
= {"_p_wxMenuBarBase", "wxMenuBarBase *", 0, 0, (void*)0, 0};
54457 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", "wxMenuEvent *", 0, 0, (void*)0, 0};
54458 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", "wxMenuItem *", 0, 0, (void*)0, 0};
54459 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", "wxMouseCaptureChangedEvent *", 0, 0, (void*)0, 0};
54460 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
54461 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", "wxMoveEvent *", 0, 0, (void*)0, 0};
54462 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", "wxNavigationKeyEvent *", 0, 0, (void*)0, 0};
54463 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", "wxNcPaintEvent *", 0, 0, (void*)0, 0};
54464 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
54465 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
54466 static swig_type_info _swigt__p_wxOutputStream
= {"_p_wxOutputStream", "wxOutputStream *", 0, 0, (void*)0, 0};
54467 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", "wxPCXHandler *", 0, 0, (void*)0, 0};
54468 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", "wxPNGHandler *", 0, 0, (void*)0, 0};
54469 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", "wxPNMHandler *", 0, 0, (void*)0, 0};
54470 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", "wxPaintEvent *", 0, 0, (void*)0, 0};
54471 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", "wxPaletteChangedEvent *", 0, 0, (void*)0, 0};
54472 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
54473 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
54474 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
54475 static swig_type_info _swigt__p_wxPropagateOnce
= {"_p_wxPropagateOnce", "wxPropagateOnce *", 0, 0, (void*)0, 0};
54476 static swig_type_info _swigt__p_wxPropagationDisabler
= {"_p_wxPropagationDisabler", "wxPropagationDisabler *", 0, 0, (void*)0, 0};
54477 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", "wxPyApp *", 0, 0, (void*)0, 0};
54478 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", "wxPyCommandEvent *", 0, 0, (void*)0, 0};
54479 static swig_type_info _swigt__p_wxPyDropTarget
= {"_p_wxPyDropTarget", "wxPyDropTarget *", 0, 0, (void*)0, 0};
54480 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", "wxPyEvent *", 0, 0, (void*)0, 0};
54481 static swig_type_info _swigt__p_wxPyFileSystemHandler
= {"_p_wxPyFileSystemHandler", "wxPyFileSystemHandler *", 0, 0, (void*)0, 0};
54482 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", "wxPyImageHandler *", 0, 0, (void*)0, 0};
54483 static swig_type_info _swigt__p_wxPyInputStream
= {"_p_wxPyInputStream", "wxPyInputStream *", 0, 0, (void*)0, 0};
54484 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", "wxPySizer *", 0, 0, (void*)0, 0};
54485 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", "wxPyValidator *", 0, 0, (void*)0, 0};
54486 static swig_type_info _swigt__p_wxQuantize
= {"_p_wxQuantize", "wxQuantize *", 0, 0, (void*)0, 0};
54487 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", "wxQueryNewPaletteEvent *", 0, 0, (void*)0, 0};
54488 static swig_type_info _swigt__p_wxRealPoint
= {"_p_wxRealPoint", "wxRealPoint *", 0, 0, (void*)0, 0};
54489 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
54490 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
54491 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", "wxScrollEvent *", 0, 0, (void*)0, 0};
54492 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
54493 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", "wxSetCursorEvent *", 0, 0, (void*)0, 0};
54494 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", "wxShowEvent *", 0, 0, (void*)0, 0};
54495 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
54496 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", "wxSizeEvent *", 0, 0, (void*)0, 0};
54497 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", "wxSizer *", 0, 0, (void*)0, 0};
54498 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", "wxSizerItem *", 0, 0, (void*)0, 0};
54499 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
54500 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", "wxStaticBoxSizer *", 0, 0, (void*)0, 0};
54501 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
54502 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", "wxSysColourChangedEvent *", 0, 0, (void*)0, 0};
54503 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", "wxTIFFHandler *", 0, 0, (void*)0, 0};
54504 static swig_type_info _swigt__p_wxToolTip
= {"_p_wxToolTip", "wxToolTip *", 0, 0, (void*)0, 0};
54505 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", "wxUpdateUIEvent *", 0, 0, (void*)0, 0};
54506 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
54507 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
54508 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
54509 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", "wxWindowCreateEvent *", 0, 0, (void*)0, 0};
54510 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", "wxWindowDestroyEvent *", 0, 0, (void*)0, 0};
54511 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", "wxXPMHandler *", 0, 0, (void*)0, 0};
54512 static swig_type_info _swigt__p_wxZipFSHandler
= {"_p_wxZipFSHandler", "wxZipFSHandler *", 0, 0, (void*)0, 0};
54514 static swig_type_info
*swig_type_initial
[] = {
54517 &_swigt__p_form_ops_t
,
54520 &_swigt__p_unsigned_char
,
54521 &_swigt__p_unsigned_int
,
54522 &_swigt__p_unsigned_long
,
54523 &_swigt__p_wxANIHandler
,
54524 &_swigt__p_wxAcceleratorEntry
,
54525 &_swigt__p_wxAcceleratorTable
,
54526 &_swigt__p_wxActivateEvent
,
54527 &_swigt__p_wxAppTraits
,
54528 &_swigt__p_wxArrayString
,
54529 &_swigt__p_wxBMPHandler
,
54530 &_swigt__p_wxBitmap
,
54531 &_swigt__p_wxBoxSizer
,
54532 &_swigt__p_wxButton
,
54533 &_swigt__p_wxCURHandler
,
54534 &_swigt__p_wxCaret
,
54535 &_swigt__p_wxChildFocusEvent
,
54536 &_swigt__p_wxCloseEvent
,
54537 &_swigt__p_wxColour
,
54538 &_swigt__p_wxCommandEvent
,
54539 &_swigt__p_wxContextMenuEvent
,
54540 &_swigt__p_wxControl
,
54541 &_swigt__p_wxControlWithItems
,
54542 &_swigt__p_wxCursor
,
54544 &_swigt__p_wxDateEvent
,
54545 &_swigt__p_wxDateTime
,
54546 &_swigt__p_wxDisplayChangedEvent
,
54547 &_swigt__p_wxDropFilesEvent
,
54548 &_swigt__p_wxDuplexMode
,
54549 &_swigt__p_wxEraseEvent
,
54550 &_swigt__p_wxEvent
,
54551 &_swigt__p_wxEventLoop
,
54552 &_swigt__p_wxEventLoopActivator
,
54553 &_swigt__p_wxEvtHandler
,
54554 &_swigt__p_wxFSFile
,
54555 &_swigt__p_wxFileSystem
,
54556 &_swigt__p_wxFileSystemHandler
,
54557 &_swigt__p_wxFlexGridSizer
,
54558 &_swigt__p_wxFocusEvent
,
54560 &_swigt__p_wxFrame
,
54561 &_swigt__p_wxGBPosition
,
54562 &_swigt__p_wxGBSizerItem
,
54563 &_swigt__p_wxGBSpan
,
54564 &_swigt__p_wxGIFHandler
,
54565 &_swigt__p_wxGridBagSizer
,
54566 &_swigt__p_wxGridSizer
,
54567 &_swigt__p_wxICOHandler
,
54568 &_swigt__p_wxIconizeEvent
,
54569 &_swigt__p_wxIdleEvent
,
54570 &_swigt__p_wxImage
,
54571 &_swigt__p_wxImageHandler
,
54572 &_swigt__p_wxImageHistogram
,
54573 &_swigt__p_wxImage_HSVValue
,
54574 &_swigt__p_wxImage_RGBValue
,
54575 &_swigt__p_wxIndividualLayoutConstraint
,
54576 &_swigt__p_wxInitDialogEvent
,
54577 &_swigt__p_wxInputStream
,
54578 &_swigt__p_wxInternetFSHandler
,
54579 &_swigt__p_wxItemContainer
,
54580 &_swigt__p_wxJPEGHandler
,
54581 &_swigt__p_wxKeyEvent
,
54582 &_swigt__p_wxLayoutConstraints
,
54583 &_swigt__p_wxMaximizeEvent
,
54584 &_swigt__p_wxMemoryFSHandler
,
54586 &_swigt__p_wxMenuBar
,
54587 &_swigt__p_wxMenuBarBase
,
54588 &_swigt__p_wxMenuEvent
,
54589 &_swigt__p_wxMenuItem
,
54590 &_swigt__p_wxMouseCaptureChangedEvent
,
54591 &_swigt__p_wxMouseEvent
,
54592 &_swigt__p_wxMoveEvent
,
54593 &_swigt__p_wxNavigationKeyEvent
,
54594 &_swigt__p_wxNcPaintEvent
,
54595 &_swigt__p_wxNotifyEvent
,
54596 &_swigt__p_wxObject
,
54597 &_swigt__p_wxOutputStream
,
54598 &_swigt__p_wxPCXHandler
,
54599 &_swigt__p_wxPNGHandler
,
54600 &_swigt__p_wxPNMHandler
,
54601 &_swigt__p_wxPaintEvent
,
54602 &_swigt__p_wxPaletteChangedEvent
,
54603 &_swigt__p_wxPaperSize
,
54604 &_swigt__p_wxPoint
,
54605 &_swigt__p_wxPoint2D
,
54606 &_swigt__p_wxPropagateOnce
,
54607 &_swigt__p_wxPropagationDisabler
,
54608 &_swigt__p_wxPyApp
,
54609 &_swigt__p_wxPyCommandEvent
,
54610 &_swigt__p_wxPyDropTarget
,
54611 &_swigt__p_wxPyEvent
,
54612 &_swigt__p_wxPyFileSystemHandler
,
54613 &_swigt__p_wxPyImageHandler
,
54614 &_swigt__p_wxPyInputStream
,
54615 &_swigt__p_wxPySizer
,
54616 &_swigt__p_wxPyValidator
,
54617 &_swigt__p_wxQuantize
,
54618 &_swigt__p_wxQueryNewPaletteEvent
,
54619 &_swigt__p_wxRealPoint
,
54621 &_swigt__p_wxRegion
,
54622 &_swigt__p_wxScrollEvent
,
54623 &_swigt__p_wxScrollWinEvent
,
54624 &_swigt__p_wxSetCursorEvent
,
54625 &_swigt__p_wxShowEvent
,
54627 &_swigt__p_wxSizeEvent
,
54628 &_swigt__p_wxSizer
,
54629 &_swigt__p_wxSizerItem
,
54630 &_swigt__p_wxStaticBox
,
54631 &_swigt__p_wxStaticBoxSizer
,
54632 &_swigt__p_wxStdDialogButtonSizer
,
54633 &_swigt__p_wxSysColourChangedEvent
,
54634 &_swigt__p_wxTIFFHandler
,
54635 &_swigt__p_wxToolTip
,
54636 &_swigt__p_wxUpdateUIEvent
,
54637 &_swigt__p_wxValidator
,
54638 &_swigt__p_wxVisualAttributes
,
54639 &_swigt__p_wxWindow
,
54640 &_swigt__p_wxWindowCreateEvent
,
54641 &_swigt__p_wxWindowDestroyEvent
,
54642 &_swigt__p_wxXPMHandler
,
54643 &_swigt__p_wxZipFSHandler
,
54646 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
54647 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
54648 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
54649 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
54650 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
54651 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
54652 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
54653 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
54654 static swig_cast_info _swigc__p_wxANIHandler
[] = { {&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
54655 static swig_cast_info _swigc__p_wxAcceleratorEntry
[] = { {&_swigt__p_wxAcceleratorEntry
, 0, 0, 0},{0, 0, 0, 0}};
54656 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = { {&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
54657 static swig_cast_info _swigc__p_wxActivateEvent
[] = { {&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
54658 static swig_cast_info _swigc__p_wxAppTraits
[] = { {&_swigt__p_wxAppTraits
, 0, 0, 0},{0, 0, 0, 0}};
54659 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
54660 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}};
54661 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
54662 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}};
54663 static swig_cast_info _swigc__p_wxButton
[] = { {&_swigt__p_wxButton
, 0, 0, 0},{0, 0, 0, 0}};
54664 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}};
54665 static swig_cast_info _swigc__p_wxCaret
[] = { {&_swigt__p_wxCaret
, 0, 0, 0},{0, 0, 0, 0}};
54666 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = { {&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
54667 static swig_cast_info _swigc__p_wxCloseEvent
[] = { {&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
54668 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
54669 static swig_cast_info _swigc__p_wxCommandEvent
[] = { {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, 0, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0},{0, 0, 0, 0}};
54670 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = { {&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
54671 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}};
54672 static swig_cast_info _swigc__p_wxControlWithItems
[] = { {&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
54673 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
54674 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
54675 static swig_cast_info _swigc__p_wxDateEvent
[] = { {&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
54676 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
54677 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = { {&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
54678 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = { {&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
54679 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
54680 static swig_cast_info _swigc__p_wxEraseEvent
[] = { {&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
54681 static swig_cast_info _swigc__p_wxEvent
[] = { {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}};
54682 static swig_cast_info _swigc__p_wxEventLoop
[] = { {&_swigt__p_wxEventLoop
, 0, 0, 0},{0, 0, 0, 0}};
54683 static swig_cast_info _swigc__p_wxEventLoopActivator
[] = { {&_swigt__p_wxEventLoopActivator
, 0, 0, 0},{0, 0, 0, 0}};
54684 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}};
54685 static swig_cast_info _swigc__p_wxFSFile
[] = { {&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
54686 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
54687 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}};
54688 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}};
54689 static swig_cast_info _swigc__p_wxFocusEvent
[] = { {&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
54690 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
54691 static swig_cast_info _swigc__p_wxFrame
[] = { {&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}};
54692 static swig_cast_info _swigc__p_wxGBPosition
[] = { {&_swigt__p_wxGBPosition
, 0, 0, 0},{0, 0, 0, 0}};
54693 static swig_cast_info _swigc__p_wxGBSizerItem
[] = { {&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
54694 static swig_cast_info _swigc__p_wxGBSpan
[] = { {&_swigt__p_wxGBSpan
, 0, 0, 0},{0, 0, 0, 0}};
54695 static swig_cast_info _swigc__p_wxGIFHandler
[] = { {&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
54696 static swig_cast_info _swigc__p_wxGridBagSizer
[] = { {&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
54697 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}};
54698 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}};
54699 static swig_cast_info _swigc__p_wxIconizeEvent
[] = { {&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
54700 static swig_cast_info _swigc__p_wxIdleEvent
[] = { {&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
54701 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
54702 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}};
54703 static swig_cast_info _swigc__p_wxImageHistogram
[] = { {&_swigt__p_wxImageHistogram
, 0, 0, 0},{0, 0, 0, 0}};
54704 static swig_cast_info _swigc__p_wxImage_HSVValue
[] = { {&_swigt__p_wxImage_HSVValue
, 0, 0, 0},{0, 0, 0, 0}};
54705 static swig_cast_info _swigc__p_wxImage_RGBValue
[] = { {&_swigt__p_wxImage_RGBValue
, 0, 0, 0},{0, 0, 0, 0}};
54706 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = { {&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
54707 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = { {&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
54708 static swig_cast_info _swigc__p_wxInputStream
[] = { {&_swigt__p_wxInputStream
, 0, 0, 0},{0, 0, 0, 0}};
54709 static swig_cast_info _swigc__p_wxInternetFSHandler
[] = { {&_swigt__p_wxInternetFSHandler
, 0, 0, 0},{0, 0, 0, 0}};
54710 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}};
54711 static swig_cast_info _swigc__p_wxJPEGHandler
[] = { {&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
54712 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
54713 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = { {&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
54714 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = { {&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
54715 static swig_cast_info _swigc__p_wxMemoryFSHandler
[] = { {&_swigt__p_wxMemoryFSHandler
, 0, 0, 0},{0, 0, 0, 0}};
54716 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
54717 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
54718 static swig_cast_info _swigc__p_wxMenuBarBase
[] = { {&_swigt__p_wxMenuBarBase
, 0, 0, 0},{0, 0, 0, 0}};
54719 static swig_cast_info _swigc__p_wxMenuEvent
[] = { {&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
54720 static swig_cast_info _swigc__p_wxMenuItem
[] = { {&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
54721 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = { {&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
54722 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
54723 static swig_cast_info _swigc__p_wxMoveEvent
[] = { {&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
54724 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = { {&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
54725 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = { {&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
54726 static swig_cast_info _swigc__p_wxNotifyEvent
[] = { {&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
54727 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
54728 static swig_cast_info _swigc__p_wxOutputStream
[] = { {&_swigt__p_wxOutputStream
, 0, 0, 0},{0, 0, 0, 0}};
54729 static swig_cast_info _swigc__p_wxPCXHandler
[] = { {&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
54730 static swig_cast_info _swigc__p_wxPNGHandler
[] = { {&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
54731 static swig_cast_info _swigc__p_wxPNMHandler
[] = { {&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
54732 static swig_cast_info _swigc__p_wxPaintEvent
[] = { {&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
54733 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = { {&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
54734 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
54735 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
54736 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
54737 static swig_cast_info _swigc__p_wxPropagateOnce
[] = { {&_swigt__p_wxPropagateOnce
, 0, 0, 0},{0, 0, 0, 0}};
54738 static swig_cast_info _swigc__p_wxPropagationDisabler
[] = { {&_swigt__p_wxPropagationDisabler
, 0, 0, 0},{0, 0, 0, 0}};
54739 static swig_cast_info _swigc__p_wxPyApp
[] = { {&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
54740 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = { {&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
54741 static swig_cast_info _swigc__p_wxPyDropTarget
[] = { {&_swigt__p_wxPyDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
54742 static swig_cast_info _swigc__p_wxPyEvent
[] = { {&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
54743 static swig_cast_info _swigc__p_wxPyFileSystemHandler
[] = { {&_swigt__p_wxPyFileSystemHandler
, 0, 0, 0},{0, 0, 0, 0}};
54744 static swig_cast_info _swigc__p_wxPyImageHandler
[] = { {&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
54745 static swig_cast_info _swigc__p_wxPyInputStream
[] = { {&_swigt__p_wxPyInputStream
, 0, 0, 0},{0, 0, 0, 0}};
54746 static swig_cast_info _swigc__p_wxPySizer
[] = { {&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
54747 static swig_cast_info _swigc__p_wxPyValidator
[] = { {&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
54748 static swig_cast_info _swigc__p_wxQuantize
[] = { {&_swigt__p_wxQuantize
, 0, 0, 0},{0, 0, 0, 0}};
54749 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = { {&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
54750 static swig_cast_info _swigc__p_wxRealPoint
[] = { {&_swigt__p_wxRealPoint
, 0, 0, 0},{0, 0, 0, 0}};
54751 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
54752 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
54753 static swig_cast_info _swigc__p_wxScrollEvent
[] = { {&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
54754 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
54755 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = { {&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
54756 static swig_cast_info _swigc__p_wxShowEvent
[] = { {&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
54757 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
54758 static swig_cast_info _swigc__p_wxSizeEvent
[] = { {&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
54759 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}};
54760 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}};
54761 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
54762 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = { {&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
54763 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
54764 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = { {&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
54765 static swig_cast_info _swigc__p_wxTIFFHandler
[] = { {&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
54766 static swig_cast_info _swigc__p_wxToolTip
[] = { {&_swigt__p_wxToolTip
, 0, 0, 0},{0, 0, 0, 0}};
54767 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = { {&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
54768 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}};
54769 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
54770 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}};
54771 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = { {&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
54772 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = { {&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
54773 static swig_cast_info _swigc__p_wxXPMHandler
[] = { {&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
54774 static swig_cast_info _swigc__p_wxZipFSHandler
[] = { {&_swigt__p_wxZipFSHandler
, 0, 0, 0},{0, 0, 0, 0}};
54776 static swig_cast_info
*swig_cast_initial
[] = {
54779 _swigc__p_form_ops_t
,
54782 _swigc__p_unsigned_char
,
54783 _swigc__p_unsigned_int
,
54784 _swigc__p_unsigned_long
,
54785 _swigc__p_wxANIHandler
,
54786 _swigc__p_wxAcceleratorEntry
,
54787 _swigc__p_wxAcceleratorTable
,
54788 _swigc__p_wxActivateEvent
,
54789 _swigc__p_wxAppTraits
,
54790 _swigc__p_wxArrayString
,
54791 _swigc__p_wxBMPHandler
,
54792 _swigc__p_wxBitmap
,
54793 _swigc__p_wxBoxSizer
,
54794 _swigc__p_wxButton
,
54795 _swigc__p_wxCURHandler
,
54797 _swigc__p_wxChildFocusEvent
,
54798 _swigc__p_wxCloseEvent
,
54799 _swigc__p_wxColour
,
54800 _swigc__p_wxCommandEvent
,
54801 _swigc__p_wxContextMenuEvent
,
54802 _swigc__p_wxControl
,
54803 _swigc__p_wxControlWithItems
,
54804 _swigc__p_wxCursor
,
54806 _swigc__p_wxDateEvent
,
54807 _swigc__p_wxDateTime
,
54808 _swigc__p_wxDisplayChangedEvent
,
54809 _swigc__p_wxDropFilesEvent
,
54810 _swigc__p_wxDuplexMode
,
54811 _swigc__p_wxEraseEvent
,
54813 _swigc__p_wxEventLoop
,
54814 _swigc__p_wxEventLoopActivator
,
54815 _swigc__p_wxEvtHandler
,
54816 _swigc__p_wxFSFile
,
54817 _swigc__p_wxFileSystem
,
54818 _swigc__p_wxFileSystemHandler
,
54819 _swigc__p_wxFlexGridSizer
,
54820 _swigc__p_wxFocusEvent
,
54823 _swigc__p_wxGBPosition
,
54824 _swigc__p_wxGBSizerItem
,
54825 _swigc__p_wxGBSpan
,
54826 _swigc__p_wxGIFHandler
,
54827 _swigc__p_wxGridBagSizer
,
54828 _swigc__p_wxGridSizer
,
54829 _swigc__p_wxICOHandler
,
54830 _swigc__p_wxIconizeEvent
,
54831 _swigc__p_wxIdleEvent
,
54833 _swigc__p_wxImageHandler
,
54834 _swigc__p_wxImageHistogram
,
54835 _swigc__p_wxImage_HSVValue
,
54836 _swigc__p_wxImage_RGBValue
,
54837 _swigc__p_wxIndividualLayoutConstraint
,
54838 _swigc__p_wxInitDialogEvent
,
54839 _swigc__p_wxInputStream
,
54840 _swigc__p_wxInternetFSHandler
,
54841 _swigc__p_wxItemContainer
,
54842 _swigc__p_wxJPEGHandler
,
54843 _swigc__p_wxKeyEvent
,
54844 _swigc__p_wxLayoutConstraints
,
54845 _swigc__p_wxMaximizeEvent
,
54846 _swigc__p_wxMemoryFSHandler
,
54848 _swigc__p_wxMenuBar
,
54849 _swigc__p_wxMenuBarBase
,
54850 _swigc__p_wxMenuEvent
,
54851 _swigc__p_wxMenuItem
,
54852 _swigc__p_wxMouseCaptureChangedEvent
,
54853 _swigc__p_wxMouseEvent
,
54854 _swigc__p_wxMoveEvent
,
54855 _swigc__p_wxNavigationKeyEvent
,
54856 _swigc__p_wxNcPaintEvent
,
54857 _swigc__p_wxNotifyEvent
,
54858 _swigc__p_wxObject
,
54859 _swigc__p_wxOutputStream
,
54860 _swigc__p_wxPCXHandler
,
54861 _swigc__p_wxPNGHandler
,
54862 _swigc__p_wxPNMHandler
,
54863 _swigc__p_wxPaintEvent
,
54864 _swigc__p_wxPaletteChangedEvent
,
54865 _swigc__p_wxPaperSize
,
54867 _swigc__p_wxPoint2D
,
54868 _swigc__p_wxPropagateOnce
,
54869 _swigc__p_wxPropagationDisabler
,
54871 _swigc__p_wxPyCommandEvent
,
54872 _swigc__p_wxPyDropTarget
,
54873 _swigc__p_wxPyEvent
,
54874 _swigc__p_wxPyFileSystemHandler
,
54875 _swigc__p_wxPyImageHandler
,
54876 _swigc__p_wxPyInputStream
,
54877 _swigc__p_wxPySizer
,
54878 _swigc__p_wxPyValidator
,
54879 _swigc__p_wxQuantize
,
54880 _swigc__p_wxQueryNewPaletteEvent
,
54881 _swigc__p_wxRealPoint
,
54883 _swigc__p_wxRegion
,
54884 _swigc__p_wxScrollEvent
,
54885 _swigc__p_wxScrollWinEvent
,
54886 _swigc__p_wxSetCursorEvent
,
54887 _swigc__p_wxShowEvent
,
54889 _swigc__p_wxSizeEvent
,
54891 _swigc__p_wxSizerItem
,
54892 _swigc__p_wxStaticBox
,
54893 _swigc__p_wxStaticBoxSizer
,
54894 _swigc__p_wxStdDialogButtonSizer
,
54895 _swigc__p_wxSysColourChangedEvent
,
54896 _swigc__p_wxTIFFHandler
,
54897 _swigc__p_wxToolTip
,
54898 _swigc__p_wxUpdateUIEvent
,
54899 _swigc__p_wxValidator
,
54900 _swigc__p_wxVisualAttributes
,
54901 _swigc__p_wxWindow
,
54902 _swigc__p_wxWindowCreateEvent
,
54903 _swigc__p_wxWindowDestroyEvent
,
54904 _swigc__p_wxXPMHandler
,
54905 _swigc__p_wxZipFSHandler
,
54909 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
54911 static swig_const_info swig_const_table
[] = {
54912 {0, 0, 0, 0.0, 0, 0}};
54917 /* -----------------------------------------------------------------------------
54918 * Type initialization:
54919 * This problem is tough by the requirement that no dynamic
54920 * memory is used. Also, since swig_type_info structures store pointers to
54921 * swig_cast_info structures and swig_cast_info structures store pointers back
54922 * to swig_type_info structures, we need some lookup code at initialization.
54923 * The idea is that swig generates all the structures that are needed.
54924 * The runtime then collects these partially filled structures.
54925 * The SWIG_InitializeModule function takes these initial arrays out of
54926 * swig_module, and does all the lookup, filling in the swig_module.types
54927 * array with the correct data and linking the correct swig_cast_info
54928 * structures together.
54930 * The generated swig_type_info structures are assigned staticly to an initial
54931 * array. We just loop though that array, and handle each type individually.
54932 * First we lookup if this type has been already loaded, and if so, use the
54933 * loaded structure instead of the generated one. Then we have to fill in the
54934 * cast linked list. The cast data is initially stored in something like a
54935 * two-dimensional array. Each row corresponds to a type (there are the same
54936 * number of rows as there are in the swig_type_initial array). Each entry in
54937 * a column is one of the swig_cast_info structures for that type.
54938 * The cast_initial array is actually an array of arrays, because each row has
54939 * a variable number of columns. So to actually build the cast linked list,
54940 * we find the array of casts associated with the type, and loop through it
54941 * adding the casts to the list. The one last trick we need to do is making
54942 * sure the type pointer in the swig_cast_info struct is correct.
54944 * First off, we lookup the cast->type name to see if it is already loaded.
54945 * There are three cases to handle:
54946 * 1) If the cast->type has already been loaded AND the type we are adding
54947 * casting info to has not been loaded (it is in this module), THEN we
54948 * replace the cast->type pointer with the type pointer that has already
54950 * 2) If BOTH types (the one we are adding casting info to, and the
54951 * cast->type) are loaded, THEN the cast info has already been loaded by
54952 * the previous module so we just ignore it.
54953 * 3) Finally, if cast->type has not already been loaded, then we add that
54954 * swig_cast_info to the linked list (because the cast->type) pointer will
54956 * ----------------------------------------------------------------------------- */
54966 #define SWIGRUNTIME_DEBUG
54970 SWIG_InitializeModule(void *clientdata
) {
54972 swig_module_info
*module_head
;
54973 static int init_run
= 0;
54975 clientdata
= clientdata
;
54977 if (init_run
) return;
54980 /* Initialize the swig_module */
54981 swig_module
.type_initial
= swig_type_initial
;
54982 swig_module
.cast_initial
= swig_cast_initial
;
54984 /* Try and load any already created modules */
54985 module_head
= SWIG_GetModule(clientdata
);
54987 swig_module
.next
= module_head
->next
;
54988 module_head
->next
= &swig_module
;
54990 /* This is the first module loaded */
54991 swig_module
.next
= &swig_module
;
54992 SWIG_SetModule(clientdata
, &swig_module
);
54995 /* Now work on filling in swig_module.types */
54996 #ifdef SWIGRUNTIME_DEBUG
54997 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
54999 for (i
= 0; i
< swig_module
.size
; ++i
) {
55000 swig_type_info
*type
= 0;
55001 swig_type_info
*ret
;
55002 swig_cast_info
*cast
;
55004 #ifdef SWIGRUNTIME_DEBUG
55005 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
55008 /* if there is another module already loaded */
55009 if (swig_module
.next
!= &swig_module
) {
55010 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
55013 /* Overwrite clientdata field */
55014 #ifdef SWIGRUNTIME_DEBUG
55015 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
55017 if (swig_module
.type_initial
[i
]->clientdata
) {
55018 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
55019 #ifdef SWIGRUNTIME_DEBUG
55020 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
55024 type
= swig_module
.type_initial
[i
];
55027 /* Insert casting types */
55028 cast
= swig_module
.cast_initial
[i
];
55029 while (cast
->type
) {
55030 /* Don't need to add information already in the list */
55032 #ifdef SWIGRUNTIME_DEBUG
55033 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
55035 if (swig_module
.next
!= &swig_module
) {
55036 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
55037 #ifdef SWIGRUNTIME_DEBUG
55038 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
55042 if (type
== swig_module
.type_initial
[i
]) {
55043 #ifdef SWIGRUNTIME_DEBUG
55044 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
55049 /* Check for casting already in the list */
55050 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
55051 #ifdef SWIGRUNTIME_DEBUG
55052 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
55054 if (!ocast
) ret
= 0;
55059 #ifdef SWIGRUNTIME_DEBUG
55060 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
55063 type
->cast
->prev
= cast
;
55064 cast
->next
= type
->cast
;
55070 /* Set entry in modules->types array equal to the type */
55071 swig_module
.types
[i
] = type
;
55073 swig_module
.types
[i
] = 0;
55075 #ifdef SWIGRUNTIME_DEBUG
55076 printf("**** SWIG_InitializeModule: Cast List ******\n");
55077 for (i
= 0; i
< swig_module
.size
; ++i
) {
55079 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
55080 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
55081 while (cast
->type
) {
55082 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
55086 printf("---- Total casts: %d\n",j
);
55088 printf("**** SWIG_InitializeModule: Cast List ******\n");
55092 /* This function will propagate the clientdata field of type to
55093 * any new swig_type_info structures that have been added into the list
55094 * of equivalent types. It is like calling
55095 * SWIG_TypeClientData(type, clientdata) a second time.
55098 SWIG_PropagateClientData(void) {
55100 swig_cast_info
*equiv
;
55101 static int init_run
= 0;
55103 if (init_run
) return;
55106 for (i
= 0; i
< swig_module
.size
; i
++) {
55107 if (swig_module
.types
[i
]->clientdata
) {
55108 equiv
= swig_module
.types
[i
]->cast
;
55110 if (!equiv
->converter
) {
55111 if (equiv
->type
&& !equiv
->type
->clientdata
)
55112 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
55114 equiv
= equiv
->next
;
55134 /* Python-specific SWIG API */
55135 #define SWIG_newvarlink() SWIG_Python_newvarlink()
55136 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
55137 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
55139 /* -----------------------------------------------------------------------------
55140 * global variable support code.
55141 * ----------------------------------------------------------------------------- */
55143 typedef struct swig_globalvar
{
55144 char *name
; /* Name of global variable */
55145 PyObject
*(*get_attr
)(void); /* Return the current value */
55146 int (*set_attr
)(PyObject
*); /* Set the value */
55147 struct swig_globalvar
*next
;
55150 typedef struct swig_varlinkobject
{
55152 swig_globalvar
*vars
;
55153 } swig_varlinkobject
;
55155 SWIGINTERN PyObject
*
55156 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
55157 return PyString_FromString("<Swig global variables>");
55160 SWIGINTERN PyObject
*
55161 swig_varlink_str(swig_varlinkobject
*v
) {
55162 PyObject
*str
= PyString_FromString("(");
55163 swig_globalvar
*var
;
55164 for (var
= v
->vars
; var
; var
=var
->next
) {
55165 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
55166 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
55168 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
55173 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
55174 PyObject
*str
= swig_varlink_str(v
);
55175 fprintf(fp
,"Swig global variables ");
55176 fprintf(fp
,"%s\n", PyString_AsString(str
));
55182 swig_varlink_dealloc(swig_varlinkobject
*v
) {
55183 swig_globalvar
*var
= v
->vars
;
55185 swig_globalvar
*n
= var
->next
;
55192 SWIGINTERN PyObject
*
55193 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
55194 PyObject
*res
= NULL
;
55195 swig_globalvar
*var
= v
->vars
;
55197 if (strcmp(var
->name
,n
) == 0) {
55198 res
= (*var
->get_attr
)();
55203 if (res
== NULL
&& !PyErr_Occurred()) {
55204 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
55210 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
55212 swig_globalvar
*var
= v
->vars
;
55214 if (strcmp(var
->name
,n
) == 0) {
55215 res
= (*var
->set_attr
)(p
);
55220 if (res
== 1 && !PyErr_Occurred()) {
55221 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
55226 SWIGINTERN PyTypeObject
*
55227 swig_varlink_type(void) {
55228 static char varlink__doc__
[] = "Swig var link object";
55229 static PyTypeObject varlink_type
;
55230 static int type_init
= 0;
55232 const PyTypeObject tmp
55234 PyObject_HEAD_INIT(NULL
)
55235 0, /* Number of items in variable part (ob_size) */
55236 (char *)"swigvarlink", /* Type name (tp_name) */
55237 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
55238 0, /* Itemsize (tp_itemsize) */
55239 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
55240 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
55241 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
55242 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
55243 0, /* tp_compare */
55244 (reprfunc
) swig_varlink_repr
, /* tp_repr */
55245 0, /* tp_as_number */
55246 0, /* tp_as_sequence */
55247 0, /* tp_as_mapping */
55250 (reprfunc
)swig_varlink_str
, /* tp_str */
55251 0, /* tp_getattro */
55252 0, /* tp_setattro */
55253 0, /* tp_as_buffer */
55255 varlink__doc__
, /* tp_doc */
55256 0, /* tp_traverse */
55258 0, /* tp_richcompare */
55259 0, /* tp_weaklistoffset */
55260 #if PY_VERSION_HEX >= 0x02020000
55261 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
55263 #if PY_VERSION_HEX >= 0x02030000
55266 #ifdef COUNT_ALLOCS
55267 0,0,0,0 /* tp_alloc -> tp_next */
55270 varlink_type
= tmp
;
55271 varlink_type
.ob_type
= &PyType_Type
;
55274 return &varlink_type
;
55277 /* Create a variable linking object for use later */
55278 SWIGINTERN PyObject
*
55279 SWIG_Python_newvarlink(void) {
55280 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
55284 return ((PyObject
*) result
);
55288 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
55289 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
55290 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
55292 size_t size
= strlen(name
)+1;
55293 gv
->name
= (char *)malloc(size
);
55295 strncpy(gv
->name
,name
,size
);
55296 gv
->get_attr
= get_attr
;
55297 gv
->set_attr
= set_attr
;
55298 gv
->next
= v
->vars
;
55304 SWIGINTERN PyObject
*
55306 static PyObject
*_SWIG_globals
= 0;
55307 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
55308 return _SWIG_globals
;
55311 /* -----------------------------------------------------------------------------
55312 * constants/methods manipulation
55313 * ----------------------------------------------------------------------------- */
55315 /* Install Constants */
55317 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
55320 for (i
= 0; constants
[i
].type
; ++i
) {
55321 switch(constants
[i
].type
) {
55322 case SWIG_PY_POINTER
:
55323 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
55325 case SWIG_PY_BINARY
:
55326 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
55333 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
55339 /* -----------------------------------------------------------------------------*/
55340 /* Fix SwigMethods to carry the callback ptrs when needed */
55341 /* -----------------------------------------------------------------------------*/
55344 SWIG_Python_FixMethods(PyMethodDef
*methods
,
55345 swig_const_info
*const_table
,
55346 swig_type_info
**types
,
55347 swig_type_info
**types_initial
) {
55349 for (i
= 0; methods
[i
].ml_name
; ++i
) {
55350 char *c
= methods
[i
].ml_doc
;
55351 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
55353 swig_const_info
*ci
= 0;
55354 char *name
= c
+ 10;
55355 for (j
= 0; const_table
[j
].type
; ++j
) {
55356 if (strncmp(const_table
[j
].name
, name
,
55357 strlen(const_table
[j
].name
)) == 0) {
55358 ci
= &(const_table
[j
]);
55363 size_t shift
= (ci
->ptype
) - types
;
55364 swig_type_info
*ty
= types_initial
[shift
];
55365 size_t ldoc
= (c
- methods
[i
].ml_doc
);
55366 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
55367 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
55370 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
55372 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
55374 strncpy(buff
, "swig_ptr: ", 10);
55376 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
55377 methods
[i
].ml_doc
= ndoc
;
55389 /* -----------------------------------------------------------------------------*
55390 * Partial Init method
55391 * -----------------------------------------------------------------------------*/
55396 SWIGEXPORT
void SWIG_init(void) {
55399 /* Fix SwigMethods to carry the callback ptrs when needed */
55400 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
55402 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
55403 d
= PyModule_GetDict(m
);
55405 SWIG_InitializeModule(0);
55406 SWIG_InstallConstants(d
,swig_const_table
);
55410 #ifndef wxPyUSE_EXPORT
55411 // Make our API structure a CObject so other modules can import it
55412 // from this module.
55413 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
55414 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
55418 SWIG_Python_SetConstant(d
, "NOT_FOUND",SWIG_From_int(static_cast< int >(wxNOT_FOUND
)));
55419 SWIG_Python_SetConstant(d
, "VSCROLL",SWIG_From_int(static_cast< int >(wxVSCROLL
)));
55420 SWIG_Python_SetConstant(d
, "HSCROLL",SWIG_From_int(static_cast< int >(wxHSCROLL
)));
55421 SWIG_Python_SetConstant(d
, "CAPTION",SWIG_From_int(static_cast< int >(wxCAPTION
)));
55422 SWIG_Python_SetConstant(d
, "DOUBLE_BORDER",SWIG_From_int(static_cast< int >(wxDOUBLE_BORDER
)));
55423 SWIG_Python_SetConstant(d
, "SUNKEN_BORDER",SWIG_From_int(static_cast< int >(wxSUNKEN_BORDER
)));
55424 SWIG_Python_SetConstant(d
, "RAISED_BORDER",SWIG_From_int(static_cast< int >(wxRAISED_BORDER
)));
55425 SWIG_Python_SetConstant(d
, "BORDER",SWIG_From_int(static_cast< int >(wxBORDER
)));
55426 SWIG_Python_SetConstant(d
, "SIMPLE_BORDER",SWIG_From_int(static_cast< int >(wxSIMPLE_BORDER
)));
55427 SWIG_Python_SetConstant(d
, "STATIC_BORDER",SWIG_From_int(static_cast< int >(wxSTATIC_BORDER
)));
55428 SWIG_Python_SetConstant(d
, "TRANSPARENT_WINDOW",SWIG_From_int(static_cast< int >(wxTRANSPARENT_WINDOW
)));
55429 SWIG_Python_SetConstant(d
, "NO_BORDER",SWIG_From_int(static_cast< int >(wxNO_BORDER
)));
55430 SWIG_Python_SetConstant(d
, "DEFAULT_CONTROL_BORDER",SWIG_From_int(static_cast< int >(wxDEFAULT_CONTROL_BORDER
)));
55431 SWIG_Python_SetConstant(d
, "DEFAULT_STATUSBAR_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_STATUSBAR_STYLE
)));
55432 SWIG_Python_SetConstant(d
, "TAB_TRAVERSAL",SWIG_From_int(static_cast< int >(wxTAB_TRAVERSAL
)));
55433 SWIG_Python_SetConstant(d
, "WANTS_CHARS",SWIG_From_int(static_cast< int >(wxWANTS_CHARS
)));
55434 SWIG_Python_SetConstant(d
, "POPUP_WINDOW",SWIG_From_int(static_cast< int >(wxPOPUP_WINDOW
)));
55435 SWIG_Python_SetConstant(d
, "CENTER_FRAME",SWIG_From_int(static_cast< int >(wxCENTER_FRAME
)));
55436 SWIG_Python_SetConstant(d
, "CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxCENTRE_ON_SCREEN
)));
55437 SWIG_Python_SetConstant(d
, "CENTER_ON_SCREEN",SWIG_From_int(static_cast< int >(wxCENTER_ON_SCREEN
)));
55438 SWIG_Python_SetConstant(d
, "CLIP_CHILDREN",SWIG_From_int(static_cast< int >(wxCLIP_CHILDREN
)));
55439 SWIG_Python_SetConstant(d
, "CLIP_SIBLINGS",SWIG_From_int(static_cast< int >(wxCLIP_SIBLINGS
)));
55440 SWIG_Python_SetConstant(d
, "ALWAYS_SHOW_SB",SWIG_From_int(static_cast< int >(wxALWAYS_SHOW_SB
)));
55441 SWIG_Python_SetConstant(d
, "RETAINED",SWIG_From_int(static_cast< int >(wxRETAINED
)));
55442 SWIG_Python_SetConstant(d
, "BACKINGSTORE",SWIG_From_int(static_cast< int >(wxBACKINGSTORE
)));
55443 SWIG_Python_SetConstant(d
, "COLOURED",SWIG_From_int(static_cast< int >(wxCOLOURED
)));
55444 SWIG_Python_SetConstant(d
, "FIXED_LENGTH",SWIG_From_int(static_cast< int >(wxFIXED_LENGTH
)));
55445 SWIG_Python_SetConstant(d
, "LB_NEEDED_SB",SWIG_From_int(static_cast< int >(wxLB_NEEDED_SB
)));
55446 SWIG_Python_SetConstant(d
, "LB_ALWAYS_SB",SWIG_From_int(static_cast< int >(wxLB_ALWAYS_SB
)));
55447 SWIG_Python_SetConstant(d
, "LB_SORT",SWIG_From_int(static_cast< int >(wxLB_SORT
)));
55448 SWIG_Python_SetConstant(d
, "LB_SINGLE",SWIG_From_int(static_cast< int >(wxLB_SINGLE
)));
55449 SWIG_Python_SetConstant(d
, "LB_MULTIPLE",SWIG_From_int(static_cast< int >(wxLB_MULTIPLE
)));
55450 SWIG_Python_SetConstant(d
, "LB_EXTENDED",SWIG_From_int(static_cast< int >(wxLB_EXTENDED
)));
55451 SWIG_Python_SetConstant(d
, "LB_OWNERDRAW",SWIG_From_int(static_cast< int >(wxLB_OWNERDRAW
)));
55452 SWIG_Python_SetConstant(d
, "LB_HSCROLL",SWIG_From_int(static_cast< int >(wxLB_HSCROLL
)));
55453 SWIG_Python_SetConstant(d
, "PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxPROCESS_ENTER
)));
55454 SWIG_Python_SetConstant(d
, "PASSWORD",SWIG_From_int(static_cast< int >(wxPASSWORD
)));
55455 SWIG_Python_SetConstant(d
, "CB_SIMPLE",SWIG_From_int(static_cast< int >(wxCB_SIMPLE
)));
55456 SWIG_Python_SetConstant(d
, "CB_DROPDOWN",SWIG_From_int(static_cast< int >(wxCB_DROPDOWN
)));
55457 SWIG_Python_SetConstant(d
, "CB_SORT",SWIG_From_int(static_cast< int >(wxCB_SORT
)));
55458 SWIG_Python_SetConstant(d
, "CB_READONLY",SWIG_From_int(static_cast< int >(wxCB_READONLY
)));
55459 SWIG_Python_SetConstant(d
, "RA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxRA_HORIZONTAL
)));
55460 SWIG_Python_SetConstant(d
, "RA_VERTICAL",SWIG_From_int(static_cast< int >(wxRA_VERTICAL
)));
55461 SWIG_Python_SetConstant(d
, "RA_SPECIFY_ROWS",SWIG_From_int(static_cast< int >(wxRA_SPECIFY_ROWS
)));
55462 SWIG_Python_SetConstant(d
, "RA_SPECIFY_COLS",SWIG_From_int(static_cast< int >(wxRA_SPECIFY_COLS
)));
55463 SWIG_Python_SetConstant(d
, "RA_USE_CHECKBOX",SWIG_From_int(static_cast< int >(wxRA_USE_CHECKBOX
)));
55464 SWIG_Python_SetConstant(d
, "RB_GROUP",SWIG_From_int(static_cast< int >(wxRB_GROUP
)));
55465 SWIG_Python_SetConstant(d
, "RB_SINGLE",SWIG_From_int(static_cast< int >(wxRB_SINGLE
)));
55466 SWIG_Python_SetConstant(d
, "SB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSB_HORIZONTAL
)));
55467 SWIG_Python_SetConstant(d
, "SB_VERTICAL",SWIG_From_int(static_cast< int >(wxSB_VERTICAL
)));
55468 SWIG_Python_SetConstant(d
, "RB_USE_CHECKBOX",SWIG_From_int(static_cast< int >(wxRB_USE_CHECKBOX
)));
55469 SWIG_Python_SetConstant(d
, "ST_SIZEGRIP",SWIG_From_int(static_cast< int >(wxST_SIZEGRIP
)));
55470 SWIG_Python_SetConstant(d
, "ST_NO_AUTORESIZE",SWIG_From_int(static_cast< int >(wxST_NO_AUTORESIZE
)));
55471 SWIG_Python_SetConstant(d
, "ST_DOTS_MIDDLE",SWIG_From_int(static_cast< int >(wxST_DOTS_MIDDLE
)));
55472 SWIG_Python_SetConstant(d
, "ST_DOTS_END",SWIG_From_int(static_cast< int >(wxST_DOTS_END
)));
55473 SWIG_Python_SetConstant(d
, "FLOOD_SURFACE",SWIG_From_int(static_cast< int >(wxFLOOD_SURFACE
)));
55474 SWIG_Python_SetConstant(d
, "FLOOD_BORDER",SWIG_From_int(static_cast< int >(wxFLOOD_BORDER
)));
55475 SWIG_Python_SetConstant(d
, "ODDEVEN_RULE",SWIG_From_int(static_cast< int >(wxODDEVEN_RULE
)));
55476 SWIG_Python_SetConstant(d
, "WINDING_RULE",SWIG_From_int(static_cast< int >(wxWINDING_RULE
)));
55477 SWIG_Python_SetConstant(d
, "TOOL_TOP",SWIG_From_int(static_cast< int >(wxTOOL_TOP
)));
55478 SWIG_Python_SetConstant(d
, "TOOL_BOTTOM",SWIG_From_int(static_cast< int >(wxTOOL_BOTTOM
)));
55479 SWIG_Python_SetConstant(d
, "TOOL_LEFT",SWIG_From_int(static_cast< int >(wxTOOL_LEFT
)));
55480 SWIG_Python_SetConstant(d
, "TOOL_RIGHT",SWIG_From_int(static_cast< int >(wxTOOL_RIGHT
)));
55481 SWIG_Python_SetConstant(d
, "OK",SWIG_From_int(static_cast< int >(wxOK
)));
55482 SWIG_Python_SetConstant(d
, "YES_NO",SWIG_From_int(static_cast< int >(wxYES_NO
)));
55483 SWIG_Python_SetConstant(d
, "CANCEL",SWIG_From_int(static_cast< int >(wxCANCEL
)));
55484 SWIG_Python_SetConstant(d
, "YES",SWIG_From_int(static_cast< int >(wxYES
)));
55485 SWIG_Python_SetConstant(d
, "NO",SWIG_From_int(static_cast< int >(wxNO
)));
55486 SWIG_Python_SetConstant(d
, "NO_DEFAULT",SWIG_From_int(static_cast< int >(wxNO_DEFAULT
)));
55487 SWIG_Python_SetConstant(d
, "YES_DEFAULT",SWIG_From_int(static_cast< int >(wxYES_DEFAULT
)));
55488 SWIG_Python_SetConstant(d
, "ICON_EXCLAMATION",SWIG_From_int(static_cast< int >(wxICON_EXCLAMATION
)));
55489 SWIG_Python_SetConstant(d
, "ICON_HAND",SWIG_From_int(static_cast< int >(wxICON_HAND
)));
55490 SWIG_Python_SetConstant(d
, "ICON_QUESTION",SWIG_From_int(static_cast< int >(wxICON_QUESTION
)));
55491 SWIG_Python_SetConstant(d
, "ICON_INFORMATION",SWIG_From_int(static_cast< int >(wxICON_INFORMATION
)));
55492 SWIG_Python_SetConstant(d
, "ICON_STOP",SWIG_From_int(static_cast< int >(wxICON_STOP
)));
55493 SWIG_Python_SetConstant(d
, "ICON_ASTERISK",SWIG_From_int(static_cast< int >(wxICON_ASTERISK
)));
55494 SWIG_Python_SetConstant(d
, "ICON_MASK",SWIG_From_int(static_cast< int >(wxICON_MASK
)));
55495 SWIG_Python_SetConstant(d
, "ICON_WARNING",SWIG_From_int(static_cast< int >(wxICON_WARNING
)));
55496 SWIG_Python_SetConstant(d
, "ICON_ERROR",SWIG_From_int(static_cast< int >(wxICON_ERROR
)));
55497 SWIG_Python_SetConstant(d
, "FORWARD",SWIG_From_int(static_cast< int >(wxFORWARD
)));
55498 SWIG_Python_SetConstant(d
, "BACKWARD",SWIG_From_int(static_cast< int >(wxBACKWARD
)));
55499 SWIG_Python_SetConstant(d
, "RESET",SWIG_From_int(static_cast< int >(wxRESET
)));
55500 SWIG_Python_SetConstant(d
, "HELP",SWIG_From_int(static_cast< int >(wxHELP
)));
55501 SWIG_Python_SetConstant(d
, "MORE",SWIG_From_int(static_cast< int >(wxMORE
)));
55502 SWIG_Python_SetConstant(d
, "SETUP",SWIG_From_int(static_cast< int >(wxSETUP
)));
55503 SWIG_Python_SetConstant(d
, "SIZE_AUTO_WIDTH",SWIG_From_int(static_cast< int >(wxSIZE_AUTO_WIDTH
)));
55504 SWIG_Python_SetConstant(d
, "SIZE_AUTO_HEIGHT",SWIG_From_int(static_cast< int >(wxSIZE_AUTO_HEIGHT
)));
55505 SWIG_Python_SetConstant(d
, "SIZE_AUTO",SWIG_From_int(static_cast< int >(wxSIZE_AUTO
)));
55506 SWIG_Python_SetConstant(d
, "SIZE_USE_EXISTING",SWIG_From_int(static_cast< int >(wxSIZE_USE_EXISTING
)));
55507 SWIG_Python_SetConstant(d
, "SIZE_ALLOW_MINUS_ONE",SWIG_From_int(static_cast< int >(wxSIZE_ALLOW_MINUS_ONE
)));
55508 SWIG_Python_SetConstant(d
, "SIZE_FORCE",SWIG_From_int(static_cast< int >(wxSIZE_FORCE
)));
55509 SWIG_Python_SetConstant(d
, "PORTRAIT",SWIG_From_int(static_cast< int >(wxPORTRAIT
)));
55510 SWIG_Python_SetConstant(d
, "LANDSCAPE",SWIG_From_int(static_cast< int >(wxLANDSCAPE
)));
55511 SWIG_Python_SetConstant(d
, "PRINT_QUALITY_HIGH",SWIG_From_int(static_cast< int >(wxPRINT_QUALITY_HIGH
)));
55512 SWIG_Python_SetConstant(d
, "PRINT_QUALITY_MEDIUM",SWIG_From_int(static_cast< int >(wxPRINT_QUALITY_MEDIUM
)));
55513 SWIG_Python_SetConstant(d
, "PRINT_QUALITY_LOW",SWIG_From_int(static_cast< int >(wxPRINT_QUALITY_LOW
)));
55514 SWIG_Python_SetConstant(d
, "PRINT_QUALITY_DRAFT",SWIG_From_int(static_cast< int >(wxPRINT_QUALITY_DRAFT
)));
55515 SWIG_Python_SetConstant(d
, "ID_ANY",SWIG_From_int(static_cast< int >(wxID_ANY
)));
55516 SWIG_Python_SetConstant(d
, "ID_SEPARATOR",SWIG_From_int(static_cast< int >(wxID_SEPARATOR
)));
55517 SWIG_Python_SetConstant(d
, "ID_NONE",SWIG_From_int(static_cast< int >(wxID_NONE
)));
55518 SWIG_Python_SetConstant(d
, "ID_LOWEST",SWIG_From_int(static_cast< int >(wxID_LOWEST
)));
55519 SWIG_Python_SetConstant(d
, "ID_OPEN",SWIG_From_int(static_cast< int >(wxID_OPEN
)));
55520 SWIG_Python_SetConstant(d
, "ID_CLOSE",SWIG_From_int(static_cast< int >(wxID_CLOSE
)));
55521 SWIG_Python_SetConstant(d
, "ID_NEW",SWIG_From_int(static_cast< int >(wxID_NEW
)));
55522 SWIG_Python_SetConstant(d
, "ID_SAVE",SWIG_From_int(static_cast< int >(wxID_SAVE
)));
55523 SWIG_Python_SetConstant(d
, "ID_SAVEAS",SWIG_From_int(static_cast< int >(wxID_SAVEAS
)));
55524 SWIG_Python_SetConstant(d
, "ID_REVERT",SWIG_From_int(static_cast< int >(wxID_REVERT
)));
55525 SWIG_Python_SetConstant(d
, "ID_EXIT",SWIG_From_int(static_cast< int >(wxID_EXIT
)));
55526 SWIG_Python_SetConstant(d
, "ID_UNDO",SWIG_From_int(static_cast< int >(wxID_UNDO
)));
55527 SWIG_Python_SetConstant(d
, "ID_REDO",SWIG_From_int(static_cast< int >(wxID_REDO
)));
55528 SWIG_Python_SetConstant(d
, "ID_HELP",SWIG_From_int(static_cast< int >(wxID_HELP
)));
55529 SWIG_Python_SetConstant(d
, "ID_PRINT",SWIG_From_int(static_cast< int >(wxID_PRINT
)));
55530 SWIG_Python_SetConstant(d
, "ID_PRINT_SETUP",SWIG_From_int(static_cast< int >(wxID_PRINT_SETUP
)));
55531 SWIG_Python_SetConstant(d
, "ID_PREVIEW",SWIG_From_int(static_cast< int >(wxID_PREVIEW
)));
55532 SWIG_Python_SetConstant(d
, "ID_ABOUT",SWIG_From_int(static_cast< int >(wxID_ABOUT
)));
55533 SWIG_Python_SetConstant(d
, "ID_HELP_CONTENTS",SWIG_From_int(static_cast< int >(wxID_HELP_CONTENTS
)));
55534 SWIG_Python_SetConstant(d
, "ID_HELP_COMMANDS",SWIG_From_int(static_cast< int >(wxID_HELP_COMMANDS
)));
55535 SWIG_Python_SetConstant(d
, "ID_HELP_PROCEDURES",SWIG_From_int(static_cast< int >(wxID_HELP_PROCEDURES
)));
55536 SWIG_Python_SetConstant(d
, "ID_HELP_CONTEXT",SWIG_From_int(static_cast< int >(wxID_HELP_CONTEXT
)));
55537 SWIG_Python_SetConstant(d
, "ID_CLOSE_ALL",SWIG_From_int(static_cast< int >(wxID_CLOSE_ALL
)));
55538 SWIG_Python_SetConstant(d
, "ID_PREFERENCES",SWIG_From_int(static_cast< int >(wxID_PREFERENCES
)));
55539 SWIG_Python_SetConstant(d
, "ID_CUT",SWIG_From_int(static_cast< int >(wxID_CUT
)));
55540 SWIG_Python_SetConstant(d
, "ID_COPY",SWIG_From_int(static_cast< int >(wxID_COPY
)));
55541 SWIG_Python_SetConstant(d
, "ID_PASTE",SWIG_From_int(static_cast< int >(wxID_PASTE
)));
55542 SWIG_Python_SetConstant(d
, "ID_CLEAR",SWIG_From_int(static_cast< int >(wxID_CLEAR
)));
55543 SWIG_Python_SetConstant(d
, "ID_FIND",SWIG_From_int(static_cast< int >(wxID_FIND
)));
55544 SWIG_Python_SetConstant(d
, "ID_DUPLICATE",SWIG_From_int(static_cast< int >(wxID_DUPLICATE
)));
55545 SWIG_Python_SetConstant(d
, "ID_SELECTALL",SWIG_From_int(static_cast< int >(wxID_SELECTALL
)));
55546 SWIG_Python_SetConstant(d
, "ID_DELETE",SWIG_From_int(static_cast< int >(wxID_DELETE
)));
55547 SWIG_Python_SetConstant(d
, "ID_REPLACE",SWIG_From_int(static_cast< int >(wxID_REPLACE
)));
55548 SWIG_Python_SetConstant(d
, "ID_REPLACE_ALL",SWIG_From_int(static_cast< int >(wxID_REPLACE_ALL
)));
55549 SWIG_Python_SetConstant(d
, "ID_PROPERTIES",SWIG_From_int(static_cast< int >(wxID_PROPERTIES
)));
55550 SWIG_Python_SetConstant(d
, "ID_VIEW_DETAILS",SWIG_From_int(static_cast< int >(wxID_VIEW_DETAILS
)));
55551 SWIG_Python_SetConstant(d
, "ID_VIEW_LARGEICONS",SWIG_From_int(static_cast< int >(wxID_VIEW_LARGEICONS
)));
55552 SWIG_Python_SetConstant(d
, "ID_VIEW_SMALLICONS",SWIG_From_int(static_cast< int >(wxID_VIEW_SMALLICONS
)));
55553 SWIG_Python_SetConstant(d
, "ID_VIEW_LIST",SWIG_From_int(static_cast< int >(wxID_VIEW_LIST
)));
55554 SWIG_Python_SetConstant(d
, "ID_VIEW_SORTDATE",SWIG_From_int(static_cast< int >(wxID_VIEW_SORTDATE
)));
55555 SWIG_Python_SetConstant(d
, "ID_VIEW_SORTNAME",SWIG_From_int(static_cast< int >(wxID_VIEW_SORTNAME
)));
55556 SWIG_Python_SetConstant(d
, "ID_VIEW_SORTSIZE",SWIG_From_int(static_cast< int >(wxID_VIEW_SORTSIZE
)));
55557 SWIG_Python_SetConstant(d
, "ID_VIEW_SORTTYPE",SWIG_From_int(static_cast< int >(wxID_VIEW_SORTTYPE
)));
55558 SWIG_Python_SetConstant(d
, "ID_FILE1",SWIG_From_int(static_cast< int >(wxID_FILE1
)));
55559 SWIG_Python_SetConstant(d
, "ID_FILE2",SWIG_From_int(static_cast< int >(wxID_FILE2
)));
55560 SWIG_Python_SetConstant(d
, "ID_FILE3",SWIG_From_int(static_cast< int >(wxID_FILE3
)));
55561 SWIG_Python_SetConstant(d
, "ID_FILE4",SWIG_From_int(static_cast< int >(wxID_FILE4
)));
55562 SWIG_Python_SetConstant(d
, "ID_FILE5",SWIG_From_int(static_cast< int >(wxID_FILE5
)));
55563 SWIG_Python_SetConstant(d
, "ID_FILE6",SWIG_From_int(static_cast< int >(wxID_FILE6
)));
55564 SWIG_Python_SetConstant(d
, "ID_FILE7",SWIG_From_int(static_cast< int >(wxID_FILE7
)));
55565 SWIG_Python_SetConstant(d
, "ID_FILE8",SWIG_From_int(static_cast< int >(wxID_FILE8
)));
55566 SWIG_Python_SetConstant(d
, "ID_FILE9",SWIG_From_int(static_cast< int >(wxID_FILE9
)));
55567 SWIG_Python_SetConstant(d
, "ID_OK",SWIG_From_int(static_cast< int >(wxID_OK
)));
55568 SWIG_Python_SetConstant(d
, "ID_CANCEL",SWIG_From_int(static_cast< int >(wxID_CANCEL
)));
55569 SWIG_Python_SetConstant(d
, "ID_APPLY",SWIG_From_int(static_cast< int >(wxID_APPLY
)));
55570 SWIG_Python_SetConstant(d
, "ID_YES",SWIG_From_int(static_cast< int >(wxID_YES
)));
55571 SWIG_Python_SetConstant(d
, "ID_NO",SWIG_From_int(static_cast< int >(wxID_NO
)));
55572 SWIG_Python_SetConstant(d
, "ID_STATIC",SWIG_From_int(static_cast< int >(wxID_STATIC
)));
55573 SWIG_Python_SetConstant(d
, "ID_FORWARD",SWIG_From_int(static_cast< int >(wxID_FORWARD
)));
55574 SWIG_Python_SetConstant(d
, "ID_BACKWARD",SWIG_From_int(static_cast< int >(wxID_BACKWARD
)));
55575 SWIG_Python_SetConstant(d
, "ID_DEFAULT",SWIG_From_int(static_cast< int >(wxID_DEFAULT
)));
55576 SWIG_Python_SetConstant(d
, "ID_MORE",SWIG_From_int(static_cast< int >(wxID_MORE
)));
55577 SWIG_Python_SetConstant(d
, "ID_SETUP",SWIG_From_int(static_cast< int >(wxID_SETUP
)));
55578 SWIG_Python_SetConstant(d
, "ID_RESET",SWIG_From_int(static_cast< int >(wxID_RESET
)));
55579 SWIG_Python_SetConstant(d
, "ID_CONTEXT_HELP",SWIG_From_int(static_cast< int >(wxID_CONTEXT_HELP
)));
55580 SWIG_Python_SetConstant(d
, "ID_YESTOALL",SWIG_From_int(static_cast< int >(wxID_YESTOALL
)));
55581 SWIG_Python_SetConstant(d
, "ID_NOTOALL",SWIG_From_int(static_cast< int >(wxID_NOTOALL
)));
55582 SWIG_Python_SetConstant(d
, "ID_ABORT",SWIG_From_int(static_cast< int >(wxID_ABORT
)));
55583 SWIG_Python_SetConstant(d
, "ID_RETRY",SWIG_From_int(static_cast< int >(wxID_RETRY
)));
55584 SWIG_Python_SetConstant(d
, "ID_IGNORE",SWIG_From_int(static_cast< int >(wxID_IGNORE
)));
55585 SWIG_Python_SetConstant(d
, "ID_ADD",SWIG_From_int(static_cast< int >(wxID_ADD
)));
55586 SWIG_Python_SetConstant(d
, "ID_REMOVE",SWIG_From_int(static_cast< int >(wxID_REMOVE
)));
55587 SWIG_Python_SetConstant(d
, "ID_UP",SWIG_From_int(static_cast< int >(wxID_UP
)));
55588 SWIG_Python_SetConstant(d
, "ID_DOWN",SWIG_From_int(static_cast< int >(wxID_DOWN
)));
55589 SWIG_Python_SetConstant(d
, "ID_HOME",SWIG_From_int(static_cast< int >(wxID_HOME
)));
55590 SWIG_Python_SetConstant(d
, "ID_REFRESH",SWIG_From_int(static_cast< int >(wxID_REFRESH
)));
55591 SWIG_Python_SetConstant(d
, "ID_STOP",SWIG_From_int(static_cast< int >(wxID_STOP
)));
55592 SWIG_Python_SetConstant(d
, "ID_INDEX",SWIG_From_int(static_cast< int >(wxID_INDEX
)));
55593 SWIG_Python_SetConstant(d
, "ID_BOLD",SWIG_From_int(static_cast< int >(wxID_BOLD
)));
55594 SWIG_Python_SetConstant(d
, "ID_ITALIC",SWIG_From_int(static_cast< int >(wxID_ITALIC
)));
55595 SWIG_Python_SetConstant(d
, "ID_JUSTIFY_CENTER",SWIG_From_int(static_cast< int >(wxID_JUSTIFY_CENTER
)));
55596 SWIG_Python_SetConstant(d
, "ID_JUSTIFY_FILL",SWIG_From_int(static_cast< int >(wxID_JUSTIFY_FILL
)));
55597 SWIG_Python_SetConstant(d
, "ID_JUSTIFY_RIGHT",SWIG_From_int(static_cast< int >(wxID_JUSTIFY_RIGHT
)));
55598 SWIG_Python_SetConstant(d
, "ID_JUSTIFY_LEFT",SWIG_From_int(static_cast< int >(wxID_JUSTIFY_LEFT
)));
55599 SWIG_Python_SetConstant(d
, "ID_UNDERLINE",SWIG_From_int(static_cast< int >(wxID_UNDERLINE
)));
55600 SWIG_Python_SetConstant(d
, "ID_INDENT",SWIG_From_int(static_cast< int >(wxID_INDENT
)));
55601 SWIG_Python_SetConstant(d
, "ID_UNINDENT",SWIG_From_int(static_cast< int >(wxID_UNINDENT
)));
55602 SWIG_Python_SetConstant(d
, "ID_ZOOM_100",SWIG_From_int(static_cast< int >(wxID_ZOOM_100
)));
55603 SWIG_Python_SetConstant(d
, "ID_ZOOM_FIT",SWIG_From_int(static_cast< int >(wxID_ZOOM_FIT
)));
55604 SWIG_Python_SetConstant(d
, "ID_ZOOM_IN",SWIG_From_int(static_cast< int >(wxID_ZOOM_IN
)));
55605 SWIG_Python_SetConstant(d
, "ID_ZOOM_OUT",SWIG_From_int(static_cast< int >(wxID_ZOOM_OUT
)));
55606 SWIG_Python_SetConstant(d
, "ID_UNDELETE",SWIG_From_int(static_cast< int >(wxID_UNDELETE
)));
55607 SWIG_Python_SetConstant(d
, "ID_REVERT_TO_SAVED",SWIG_From_int(static_cast< int >(wxID_REVERT_TO_SAVED
)));
55608 SWIG_Python_SetConstant(d
, "ID_HIGHEST",SWIG_From_int(static_cast< int >(wxID_HIGHEST
)));
55609 SWIG_Python_SetConstant(d
, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN
)));
55610 SWIG_Python_SetConstant(d
, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE
)));
55611 SWIG_Python_SetConstant(d
, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY
)));
55612 SWIG_Python_SetConstant(d
, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT
)));
55613 SWIG_Python_SetConstant(d
, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST
)));
55614 SWIG_Python_SetConstant(d
, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE
)));
55615 SWIG_Python_SetConstant(d
, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR
)));
55616 SWIG_Python_SetConstant(d
, "ACCEL_ALT",SWIG_From_int(static_cast< int >(wxACCEL_ALT
)));
55617 SWIG_Python_SetConstant(d
, "ACCEL_CTRL",SWIG_From_int(static_cast< int >(wxACCEL_CTRL
)));
55618 SWIG_Python_SetConstant(d
, "ACCEL_SHIFT",SWIG_From_int(static_cast< int >(wxACCEL_SHIFT
)));
55619 SWIG_Python_SetConstant(d
, "ACCEL_NORMAL",SWIG_From_int(static_cast< int >(wxACCEL_NORMAL
)));
55620 SWIG_Python_SetConstant(d
, "PD_AUTO_HIDE",SWIG_From_int(static_cast< int >(wxPD_AUTO_HIDE
)));
55621 SWIG_Python_SetConstant(d
, "PD_APP_MODAL",SWIG_From_int(static_cast< int >(wxPD_APP_MODAL
)));
55622 SWIG_Python_SetConstant(d
, "PD_CAN_ABORT",SWIG_From_int(static_cast< int >(wxPD_CAN_ABORT
)));
55623 SWIG_Python_SetConstant(d
, "PD_ELAPSED_TIME",SWIG_From_int(static_cast< int >(wxPD_ELAPSED_TIME
)));
55624 SWIG_Python_SetConstant(d
, "PD_ESTIMATED_TIME",SWIG_From_int(static_cast< int >(wxPD_ESTIMATED_TIME
)));
55625 SWIG_Python_SetConstant(d
, "PD_REMAINING_TIME",SWIG_From_int(static_cast< int >(wxPD_REMAINING_TIME
)));
55626 SWIG_Python_SetConstant(d
, "PD_SMOOTH",SWIG_From_int(static_cast< int >(wxPD_SMOOTH
)));
55627 SWIG_Python_SetConstant(d
, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP
)));
55628 SWIG_Python_SetConstant(d
, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON
)));
55629 SWIG_Python_SetConstant(d
, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE
)));
55630 SWIG_Python_SetConstant(d
, "MENU_TEAROFF",SWIG_From_int(static_cast< int >(wxMENU_TEAROFF
)));
55631 SWIG_Python_SetConstant(d
, "MB_DOCKABLE",SWIG_From_int(static_cast< int >(wxMB_DOCKABLE
)));
55632 SWIG_Python_SetConstant(d
, "NO_FULL_REPAINT_ON_RESIZE",SWIG_From_int(static_cast< int >(wxNO_FULL_REPAINT_ON_RESIZE
)));
55633 SWIG_Python_SetConstant(d
, "FULL_REPAINT_ON_RESIZE",SWIG_From_int(static_cast< int >(wxFULL_REPAINT_ON_RESIZE
)));
55634 SWIG_Python_SetConstant(d
, "LI_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLI_HORIZONTAL
)));
55635 SWIG_Python_SetConstant(d
, "LI_VERTICAL",SWIG_From_int(static_cast< int >(wxLI_VERTICAL
)));
55636 SWIG_Python_SetConstant(d
, "WS_EX_VALIDATE_RECURSIVELY",SWIG_From_int(static_cast< int >(wxWS_EX_VALIDATE_RECURSIVELY
)));
55637 SWIG_Python_SetConstant(d
, "WS_EX_BLOCK_EVENTS",SWIG_From_int(static_cast< int >(wxWS_EX_BLOCK_EVENTS
)));
55638 SWIG_Python_SetConstant(d
, "WS_EX_TRANSIENT",SWIG_From_int(static_cast< int >(wxWS_EX_TRANSIENT
)));
55639 SWIG_Python_SetConstant(d
, "WS_EX_THEMED_BACKGROUND",SWIG_From_int(static_cast< int >(wxWS_EX_THEMED_BACKGROUND
)));
55640 SWIG_Python_SetConstant(d
, "WS_EX_PROCESS_IDLE",SWIG_From_int(static_cast< int >(wxWS_EX_PROCESS_IDLE
)));
55641 SWIG_Python_SetConstant(d
, "WS_EX_PROCESS_UI_UPDATES",SWIG_From_int(static_cast< int >(wxWS_EX_PROCESS_UI_UPDATES
)));
55642 SWIG_Python_SetConstant(d
, "MM_TEXT",SWIG_From_int(static_cast< int >(wxMM_TEXT
)));
55643 SWIG_Python_SetConstant(d
, "MM_LOMETRIC",SWIG_From_int(static_cast< int >(wxMM_LOMETRIC
)));
55644 SWIG_Python_SetConstant(d
, "MM_HIMETRIC",SWIG_From_int(static_cast< int >(wxMM_HIMETRIC
)));
55645 SWIG_Python_SetConstant(d
, "MM_LOENGLISH",SWIG_From_int(static_cast< int >(wxMM_LOENGLISH
)));
55646 SWIG_Python_SetConstant(d
, "MM_HIENGLISH",SWIG_From_int(static_cast< int >(wxMM_HIENGLISH
)));
55647 SWIG_Python_SetConstant(d
, "MM_TWIPS",SWIG_From_int(static_cast< int >(wxMM_TWIPS
)));
55648 SWIG_Python_SetConstant(d
, "MM_ISOTROPIC",SWIG_From_int(static_cast< int >(wxMM_ISOTROPIC
)));
55649 SWIG_Python_SetConstant(d
, "MM_ANISOTROPIC",SWIG_From_int(static_cast< int >(wxMM_ANISOTROPIC
)));
55650 SWIG_Python_SetConstant(d
, "MM_POINTS",SWIG_From_int(static_cast< int >(wxMM_POINTS
)));
55651 SWIG_Python_SetConstant(d
, "MM_METRIC",SWIG_From_int(static_cast< int >(wxMM_METRIC
)));
55652 SWIG_Python_SetConstant(d
, "CENTRE",SWIG_From_int(static_cast< int >(wxCENTRE
)));
55653 SWIG_Python_SetConstant(d
, "CENTER",SWIG_From_int(static_cast< int >(wxCENTER
)));
55654 SWIG_Python_SetConstant(d
, "HORIZONTAL",SWIG_From_int(static_cast< int >(wxHORIZONTAL
)));
55655 SWIG_Python_SetConstant(d
, "VERTICAL",SWIG_From_int(static_cast< int >(wxVERTICAL
)));
55656 SWIG_Python_SetConstant(d
, "BOTH",SWIG_From_int(static_cast< int >(wxBOTH
)));
55657 SWIG_Python_SetConstant(d
, "LEFT",SWIG_From_int(static_cast< int >(wxLEFT
)));
55658 SWIG_Python_SetConstant(d
, "RIGHT",SWIG_From_int(static_cast< int >(wxRIGHT
)));
55659 SWIG_Python_SetConstant(d
, "UP",SWIG_From_int(static_cast< int >(wxUP
)));
55660 SWIG_Python_SetConstant(d
, "DOWN",SWIG_From_int(static_cast< int >(wxDOWN
)));
55661 SWIG_Python_SetConstant(d
, "TOP",SWIG_From_int(static_cast< int >(wxTOP
)));
55662 SWIG_Python_SetConstant(d
, "BOTTOM",SWIG_From_int(static_cast< int >(wxBOTTOM
)));
55663 SWIG_Python_SetConstant(d
, "NORTH",SWIG_From_int(static_cast< int >(wxNORTH
)));
55664 SWIG_Python_SetConstant(d
, "SOUTH",SWIG_From_int(static_cast< int >(wxSOUTH
)));
55665 SWIG_Python_SetConstant(d
, "WEST",SWIG_From_int(static_cast< int >(wxWEST
)));
55666 SWIG_Python_SetConstant(d
, "EAST",SWIG_From_int(static_cast< int >(wxEAST
)));
55667 SWIG_Python_SetConstant(d
, "ALL",SWIG_From_int(static_cast< int >(wxALL
)));
55668 SWIG_Python_SetConstant(d
, "ALIGN_NOT",SWIG_From_int(static_cast< int >(wxALIGN_NOT
)));
55669 SWIG_Python_SetConstant(d
, "ALIGN_CENTER_HORIZONTAL",SWIG_From_int(static_cast< int >(wxALIGN_CENTER_HORIZONTAL
)));
55670 SWIG_Python_SetConstant(d
, "ALIGN_CENTRE_HORIZONTAL",SWIG_From_int(static_cast< int >(wxALIGN_CENTRE_HORIZONTAL
)));
55671 SWIG_Python_SetConstant(d
, "ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxALIGN_LEFT
)));
55672 SWIG_Python_SetConstant(d
, "ALIGN_TOP",SWIG_From_int(static_cast< int >(wxALIGN_TOP
)));
55673 SWIG_Python_SetConstant(d
, "ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxALIGN_RIGHT
)));
55674 SWIG_Python_SetConstant(d
, "ALIGN_BOTTOM",SWIG_From_int(static_cast< int >(wxALIGN_BOTTOM
)));
55675 SWIG_Python_SetConstant(d
, "ALIGN_CENTER_VERTICAL",SWIG_From_int(static_cast< int >(wxALIGN_CENTER_VERTICAL
)));
55676 SWIG_Python_SetConstant(d
, "ALIGN_CENTRE_VERTICAL",SWIG_From_int(static_cast< int >(wxALIGN_CENTRE_VERTICAL
)));
55677 SWIG_Python_SetConstant(d
, "ALIGN_CENTER",SWIG_From_int(static_cast< int >(wxALIGN_CENTER
)));
55678 SWIG_Python_SetConstant(d
, "ALIGN_CENTRE",SWIG_From_int(static_cast< int >(wxALIGN_CENTRE
)));
55679 SWIG_Python_SetConstant(d
, "ALIGN_MASK",SWIG_From_int(static_cast< int >(wxALIGN_MASK
)));
55680 SWIG_Python_SetConstant(d
, "STRETCH_NOT",SWIG_From_int(static_cast< int >(wxSTRETCH_NOT
)));
55681 SWIG_Python_SetConstant(d
, "SHRINK",SWIG_From_int(static_cast< int >(wxSHRINK
)));
55682 SWIG_Python_SetConstant(d
, "GROW",SWIG_From_int(static_cast< int >(wxGROW
)));
55683 SWIG_Python_SetConstant(d
, "EXPAND",SWIG_From_int(static_cast< int >(wxEXPAND
)));
55684 SWIG_Python_SetConstant(d
, "SHAPED",SWIG_From_int(static_cast< int >(wxSHAPED
)));
55685 SWIG_Python_SetConstant(d
, "FIXED_MINSIZE",SWIG_From_int(static_cast< int >(wxFIXED_MINSIZE
)));
55686 SWIG_Python_SetConstant(d
, "TILE",SWIG_From_int(static_cast< int >(wxTILE
)));
55687 SWIG_Python_SetConstant(d
, "ADJUST_MINSIZE",SWIG_From_int(static_cast< int >(wxADJUST_MINSIZE
)));
55688 SWIG_Python_SetConstant(d
, "BORDER_DEFAULT",SWIG_From_int(static_cast< int >(wxBORDER_DEFAULT
)));
55689 SWIG_Python_SetConstant(d
, "BORDER_NONE",SWIG_From_int(static_cast< int >(wxBORDER_NONE
)));
55690 SWIG_Python_SetConstant(d
, "BORDER_STATIC",SWIG_From_int(static_cast< int >(wxBORDER_STATIC
)));
55691 SWIG_Python_SetConstant(d
, "BORDER_SIMPLE",SWIG_From_int(static_cast< int >(wxBORDER_SIMPLE
)));
55692 SWIG_Python_SetConstant(d
, "BORDER_RAISED",SWIG_From_int(static_cast< int >(wxBORDER_RAISED
)));
55693 SWIG_Python_SetConstant(d
, "BORDER_SUNKEN",SWIG_From_int(static_cast< int >(wxBORDER_SUNKEN
)));
55694 SWIG_Python_SetConstant(d
, "BORDER_DOUBLE",SWIG_From_int(static_cast< int >(wxBORDER_DOUBLE
)));
55695 SWIG_Python_SetConstant(d
, "BORDER_MASK",SWIG_From_int(static_cast< int >(wxBORDER_MASK
)));
55696 SWIG_Python_SetConstant(d
, "BG_STYLE_SYSTEM",SWIG_From_int(static_cast< int >(wxBG_STYLE_SYSTEM
)));
55697 SWIG_Python_SetConstant(d
, "BG_STYLE_COLOUR",SWIG_From_int(static_cast< int >(wxBG_STYLE_COLOUR
)));
55698 SWIG_Python_SetConstant(d
, "BG_STYLE_CUSTOM",SWIG_From_int(static_cast< int >(wxBG_STYLE_CUSTOM
)));
55699 SWIG_Python_SetConstant(d
, "DEFAULT",SWIG_From_int(static_cast< int >(wxDEFAULT
)));
55700 SWIG_Python_SetConstant(d
, "DECORATIVE",SWIG_From_int(static_cast< int >(wxDECORATIVE
)));
55701 SWIG_Python_SetConstant(d
, "ROMAN",SWIG_From_int(static_cast< int >(wxROMAN
)));
55702 SWIG_Python_SetConstant(d
, "SCRIPT",SWIG_From_int(static_cast< int >(wxSCRIPT
)));
55703 SWIG_Python_SetConstant(d
, "SWISS",SWIG_From_int(static_cast< int >(wxSWISS
)));
55704 SWIG_Python_SetConstant(d
, "MODERN",SWIG_From_int(static_cast< int >(wxMODERN
)));
55705 SWIG_Python_SetConstant(d
, "TELETYPE",SWIG_From_int(static_cast< int >(wxTELETYPE
)));
55706 SWIG_Python_SetConstant(d
, "VARIABLE",SWIG_From_int(static_cast< int >(wxVARIABLE
)));
55707 SWIG_Python_SetConstant(d
, "FIXED",SWIG_From_int(static_cast< int >(wxFIXED
)));
55708 SWIG_Python_SetConstant(d
, "NORMAL",SWIG_From_int(static_cast< int >(wxNORMAL
)));
55709 SWIG_Python_SetConstant(d
, "LIGHT",SWIG_From_int(static_cast< int >(wxLIGHT
)));
55710 SWIG_Python_SetConstant(d
, "BOLD",SWIG_From_int(static_cast< int >(wxBOLD
)));
55711 SWIG_Python_SetConstant(d
, "ITALIC",SWIG_From_int(static_cast< int >(wxITALIC
)));
55712 SWIG_Python_SetConstant(d
, "SLANT",SWIG_From_int(static_cast< int >(wxSLANT
)));
55713 SWIG_Python_SetConstant(d
, "SOLID",SWIG_From_int(static_cast< int >(wxSOLID
)));
55714 SWIG_Python_SetConstant(d
, "DOT",SWIG_From_int(static_cast< int >(wxDOT
)));
55715 SWIG_Python_SetConstant(d
, "LONG_DASH",SWIG_From_int(static_cast< int >(wxLONG_DASH
)));
55716 SWIG_Python_SetConstant(d
, "SHORT_DASH",SWIG_From_int(static_cast< int >(wxSHORT_DASH
)));
55717 SWIG_Python_SetConstant(d
, "DOT_DASH",SWIG_From_int(static_cast< int >(wxDOT_DASH
)));
55718 SWIG_Python_SetConstant(d
, "USER_DASH",SWIG_From_int(static_cast< int >(wxUSER_DASH
)));
55719 SWIG_Python_SetConstant(d
, "TRANSPARENT",SWIG_From_int(static_cast< int >(wxTRANSPARENT
)));
55720 SWIG_Python_SetConstant(d
, "STIPPLE",SWIG_From_int(static_cast< int >(wxSTIPPLE
)));
55721 SWIG_Python_SetConstant(d
, "STIPPLE_MASK",SWIG_From_int(static_cast< int >(wxSTIPPLE_MASK
)));
55722 SWIG_Python_SetConstant(d
, "STIPPLE_MASK_OPAQUE",SWIG_From_int(static_cast< int >(wxSTIPPLE_MASK_OPAQUE
)));
55723 SWIG_Python_SetConstant(d
, "BDIAGONAL_HATCH",SWIG_From_int(static_cast< int >(wxBDIAGONAL_HATCH
)));
55724 SWIG_Python_SetConstant(d
, "CROSSDIAG_HATCH",SWIG_From_int(static_cast< int >(wxCROSSDIAG_HATCH
)));
55725 SWIG_Python_SetConstant(d
, "FDIAGONAL_HATCH",SWIG_From_int(static_cast< int >(wxFDIAGONAL_HATCH
)));
55726 SWIG_Python_SetConstant(d
, "CROSS_HATCH",SWIG_From_int(static_cast< int >(wxCROSS_HATCH
)));
55727 SWIG_Python_SetConstant(d
, "HORIZONTAL_HATCH",SWIG_From_int(static_cast< int >(wxHORIZONTAL_HATCH
)));
55728 SWIG_Python_SetConstant(d
, "VERTICAL_HATCH",SWIG_From_int(static_cast< int >(wxVERTICAL_HATCH
)));
55729 SWIG_Python_SetConstant(d
, "JOIN_BEVEL",SWIG_From_int(static_cast< int >(wxJOIN_BEVEL
)));
55730 SWIG_Python_SetConstant(d
, "JOIN_MITER",SWIG_From_int(static_cast< int >(wxJOIN_MITER
)));
55731 SWIG_Python_SetConstant(d
, "JOIN_ROUND",SWIG_From_int(static_cast< int >(wxJOIN_ROUND
)));
55732 SWIG_Python_SetConstant(d
, "CAP_ROUND",SWIG_From_int(static_cast< int >(wxCAP_ROUND
)));
55733 SWIG_Python_SetConstant(d
, "CAP_PROJECTING",SWIG_From_int(static_cast< int >(wxCAP_PROJECTING
)));
55734 SWIG_Python_SetConstant(d
, "CAP_BUTT",SWIG_From_int(static_cast< int >(wxCAP_BUTT
)));
55735 SWIG_Python_SetConstant(d
, "CLEAR",SWIG_From_int(static_cast< int >(wxCLEAR
)));
55736 SWIG_Python_SetConstant(d
, "XOR",SWIG_From_int(static_cast< int >(wxXOR
)));
55737 SWIG_Python_SetConstant(d
, "INVERT",SWIG_From_int(static_cast< int >(wxINVERT
)));
55738 SWIG_Python_SetConstant(d
, "OR_REVERSE",SWIG_From_int(static_cast< int >(wxOR_REVERSE
)));
55739 SWIG_Python_SetConstant(d
, "AND_REVERSE",SWIG_From_int(static_cast< int >(wxAND_REVERSE
)));
55740 SWIG_Python_SetConstant(d
, "COPY",SWIG_From_int(static_cast< int >(wxCOPY
)));
55741 SWIG_Python_SetConstant(d
, "AND",SWIG_From_int(static_cast< int >(wxAND
)));
55742 SWIG_Python_SetConstant(d
, "AND_INVERT",SWIG_From_int(static_cast< int >(wxAND_INVERT
)));
55743 SWIG_Python_SetConstant(d
, "NO_OP",SWIG_From_int(static_cast< int >(wxNO_OP
)));
55744 SWIG_Python_SetConstant(d
, "NOR",SWIG_From_int(static_cast< int >(wxNOR
)));
55745 SWIG_Python_SetConstant(d
, "EQUIV",SWIG_From_int(static_cast< int >(wxEQUIV
)));
55746 SWIG_Python_SetConstant(d
, "SRC_INVERT",SWIG_From_int(static_cast< int >(wxSRC_INVERT
)));
55747 SWIG_Python_SetConstant(d
, "OR_INVERT",SWIG_From_int(static_cast< int >(wxOR_INVERT
)));
55748 SWIG_Python_SetConstant(d
, "NAND",SWIG_From_int(static_cast< int >(wxNAND
)));
55749 SWIG_Python_SetConstant(d
, "OR",SWIG_From_int(static_cast< int >(wxOR
)));
55750 SWIG_Python_SetConstant(d
, "SET",SWIG_From_int(static_cast< int >(wxSET
)));
55751 SWIG_Python_SetConstant(d
, "WXK_BACK",SWIG_From_int(static_cast< int >(WXK_BACK
)));
55752 SWIG_Python_SetConstant(d
, "WXK_TAB",SWIG_From_int(static_cast< int >(WXK_TAB
)));
55753 SWIG_Python_SetConstant(d
, "WXK_RETURN",SWIG_From_int(static_cast< int >(WXK_RETURN
)));
55754 SWIG_Python_SetConstant(d
, "WXK_ESCAPE",SWIG_From_int(static_cast< int >(WXK_ESCAPE
)));
55755 SWIG_Python_SetConstant(d
, "WXK_SPACE",SWIG_From_int(static_cast< int >(WXK_SPACE
)));
55756 SWIG_Python_SetConstant(d
, "WXK_DELETE",SWIG_From_int(static_cast< int >(WXK_DELETE
)));
55757 SWIG_Python_SetConstant(d
, "WXK_START",SWIG_From_int(static_cast< int >(WXK_START
)));
55758 SWIG_Python_SetConstant(d
, "WXK_LBUTTON",SWIG_From_int(static_cast< int >(WXK_LBUTTON
)));
55759 SWIG_Python_SetConstant(d
, "WXK_RBUTTON",SWIG_From_int(static_cast< int >(WXK_RBUTTON
)));
55760 SWIG_Python_SetConstant(d
, "WXK_CANCEL",SWIG_From_int(static_cast< int >(WXK_CANCEL
)));
55761 SWIG_Python_SetConstant(d
, "WXK_MBUTTON",SWIG_From_int(static_cast< int >(WXK_MBUTTON
)));
55762 SWIG_Python_SetConstant(d
, "WXK_CLEAR",SWIG_From_int(static_cast< int >(WXK_CLEAR
)));
55763 SWIG_Python_SetConstant(d
, "WXK_SHIFT",SWIG_From_int(static_cast< int >(WXK_SHIFT
)));
55764 SWIG_Python_SetConstant(d
, "WXK_ALT",SWIG_From_int(static_cast< int >(WXK_ALT
)));
55765 SWIG_Python_SetConstant(d
, "WXK_CONTROL",SWIG_From_int(static_cast< int >(WXK_CONTROL
)));
55766 SWIG_Python_SetConstant(d
, "WXK_MENU",SWIG_From_int(static_cast< int >(WXK_MENU
)));
55767 SWIG_Python_SetConstant(d
, "WXK_PAUSE",SWIG_From_int(static_cast< int >(WXK_PAUSE
)));
55768 SWIG_Python_SetConstant(d
, "WXK_CAPITAL",SWIG_From_int(static_cast< int >(WXK_CAPITAL
)));
55769 SWIG_Python_SetConstant(d
, "WXK_PRIOR",SWIG_From_int(static_cast< int >(WXK_PRIOR
)));
55770 SWIG_Python_SetConstant(d
, "WXK_NEXT",SWIG_From_int(static_cast< int >(WXK_NEXT
)));
55771 SWIG_Python_SetConstant(d
, "WXK_END",SWIG_From_int(static_cast< int >(WXK_END
)));
55772 SWIG_Python_SetConstant(d
, "WXK_HOME",SWIG_From_int(static_cast< int >(WXK_HOME
)));
55773 SWIG_Python_SetConstant(d
, "WXK_LEFT",SWIG_From_int(static_cast< int >(WXK_LEFT
)));
55774 SWIG_Python_SetConstant(d
, "WXK_UP",SWIG_From_int(static_cast< int >(WXK_UP
)));
55775 SWIG_Python_SetConstant(d
, "WXK_RIGHT",SWIG_From_int(static_cast< int >(WXK_RIGHT
)));
55776 SWIG_Python_SetConstant(d
, "WXK_DOWN",SWIG_From_int(static_cast< int >(WXK_DOWN
)));
55777 SWIG_Python_SetConstant(d
, "WXK_SELECT",SWIG_From_int(static_cast< int >(WXK_SELECT
)));
55778 SWIG_Python_SetConstant(d
, "WXK_PRINT",SWIG_From_int(static_cast< int >(WXK_PRINT
)));
55779 SWIG_Python_SetConstant(d
, "WXK_EXECUTE",SWIG_From_int(static_cast< int >(WXK_EXECUTE
)));
55780 SWIG_Python_SetConstant(d
, "WXK_SNAPSHOT",SWIG_From_int(static_cast< int >(WXK_SNAPSHOT
)));
55781 SWIG_Python_SetConstant(d
, "WXK_INSERT",SWIG_From_int(static_cast< int >(WXK_INSERT
)));
55782 SWIG_Python_SetConstant(d
, "WXK_HELP",SWIG_From_int(static_cast< int >(WXK_HELP
)));
55783 SWIG_Python_SetConstant(d
, "WXK_NUMPAD0",SWIG_From_int(static_cast< int >(WXK_NUMPAD0
)));
55784 SWIG_Python_SetConstant(d
, "WXK_NUMPAD1",SWIG_From_int(static_cast< int >(WXK_NUMPAD1
)));
55785 SWIG_Python_SetConstant(d
, "WXK_NUMPAD2",SWIG_From_int(static_cast< int >(WXK_NUMPAD2
)));
55786 SWIG_Python_SetConstant(d
, "WXK_NUMPAD3",SWIG_From_int(static_cast< int >(WXK_NUMPAD3
)));
55787 SWIG_Python_SetConstant(d
, "WXK_NUMPAD4",SWIG_From_int(static_cast< int >(WXK_NUMPAD4
)));
55788 SWIG_Python_SetConstant(d
, "WXK_NUMPAD5",SWIG_From_int(static_cast< int >(WXK_NUMPAD5
)));
55789 SWIG_Python_SetConstant(d
, "WXK_NUMPAD6",SWIG_From_int(static_cast< int >(WXK_NUMPAD6
)));
55790 SWIG_Python_SetConstant(d
, "WXK_NUMPAD7",SWIG_From_int(static_cast< int >(WXK_NUMPAD7
)));
55791 SWIG_Python_SetConstant(d
, "WXK_NUMPAD8",SWIG_From_int(static_cast< int >(WXK_NUMPAD8
)));
55792 SWIG_Python_SetConstant(d
, "WXK_NUMPAD9",SWIG_From_int(static_cast< int >(WXK_NUMPAD9
)));
55793 SWIG_Python_SetConstant(d
, "WXK_MULTIPLY",SWIG_From_int(static_cast< int >(WXK_MULTIPLY
)));
55794 SWIG_Python_SetConstant(d
, "WXK_ADD",SWIG_From_int(static_cast< int >(WXK_ADD
)));
55795 SWIG_Python_SetConstant(d
, "WXK_SEPARATOR",SWIG_From_int(static_cast< int >(WXK_SEPARATOR
)));
55796 SWIG_Python_SetConstant(d
, "WXK_SUBTRACT",SWIG_From_int(static_cast< int >(WXK_SUBTRACT
)));
55797 SWIG_Python_SetConstant(d
, "WXK_DECIMAL",SWIG_From_int(static_cast< int >(WXK_DECIMAL
)));
55798 SWIG_Python_SetConstant(d
, "WXK_DIVIDE",SWIG_From_int(static_cast< int >(WXK_DIVIDE
)));
55799 SWIG_Python_SetConstant(d
, "WXK_F1",SWIG_From_int(static_cast< int >(WXK_F1
)));
55800 SWIG_Python_SetConstant(d
, "WXK_F2",SWIG_From_int(static_cast< int >(WXK_F2
)));
55801 SWIG_Python_SetConstant(d
, "WXK_F3",SWIG_From_int(static_cast< int >(WXK_F3
)));
55802 SWIG_Python_SetConstant(d
, "WXK_F4",SWIG_From_int(static_cast< int >(WXK_F4
)));
55803 SWIG_Python_SetConstant(d
, "WXK_F5",SWIG_From_int(static_cast< int >(WXK_F5
)));
55804 SWIG_Python_SetConstant(d
, "WXK_F6",SWIG_From_int(static_cast< int >(WXK_F6
)));
55805 SWIG_Python_SetConstant(d
, "WXK_F7",SWIG_From_int(static_cast< int >(WXK_F7
)));
55806 SWIG_Python_SetConstant(d
, "WXK_F8",SWIG_From_int(static_cast< int >(WXK_F8
)));
55807 SWIG_Python_SetConstant(d
, "WXK_F9",SWIG_From_int(static_cast< int >(WXK_F9
)));
55808 SWIG_Python_SetConstant(d
, "WXK_F10",SWIG_From_int(static_cast< int >(WXK_F10
)));
55809 SWIG_Python_SetConstant(d
, "WXK_F11",SWIG_From_int(static_cast< int >(WXK_F11
)));
55810 SWIG_Python_SetConstant(d
, "WXK_F12",SWIG_From_int(static_cast< int >(WXK_F12
)));
55811 SWIG_Python_SetConstant(d
, "WXK_F13",SWIG_From_int(static_cast< int >(WXK_F13
)));
55812 SWIG_Python_SetConstant(d
, "WXK_F14",SWIG_From_int(static_cast< int >(WXK_F14
)));
55813 SWIG_Python_SetConstant(d
, "WXK_F15",SWIG_From_int(static_cast< int >(WXK_F15
)));
55814 SWIG_Python_SetConstant(d
, "WXK_F16",SWIG_From_int(static_cast< int >(WXK_F16
)));
55815 SWIG_Python_SetConstant(d
, "WXK_F17",SWIG_From_int(static_cast< int >(WXK_F17
)));
55816 SWIG_Python_SetConstant(d
, "WXK_F18",SWIG_From_int(static_cast< int >(WXK_F18
)));
55817 SWIG_Python_SetConstant(d
, "WXK_F19",SWIG_From_int(static_cast< int >(WXK_F19
)));
55818 SWIG_Python_SetConstant(d
, "WXK_F20",SWIG_From_int(static_cast< int >(WXK_F20
)));
55819 SWIG_Python_SetConstant(d
, "WXK_F21",SWIG_From_int(static_cast< int >(WXK_F21
)));
55820 SWIG_Python_SetConstant(d
, "WXK_F22",SWIG_From_int(static_cast< int >(WXK_F22
)));
55821 SWIG_Python_SetConstant(d
, "WXK_F23",SWIG_From_int(static_cast< int >(WXK_F23
)));
55822 SWIG_Python_SetConstant(d
, "WXK_F24",SWIG_From_int(static_cast< int >(WXK_F24
)));
55823 SWIG_Python_SetConstant(d
, "WXK_NUMLOCK",SWIG_From_int(static_cast< int >(WXK_NUMLOCK
)));
55824 SWIG_Python_SetConstant(d
, "WXK_SCROLL",SWIG_From_int(static_cast< int >(WXK_SCROLL
)));
55825 SWIG_Python_SetConstant(d
, "WXK_PAGEUP",SWIG_From_int(static_cast< int >(WXK_PAGEUP
)));
55826 SWIG_Python_SetConstant(d
, "WXK_PAGEDOWN",SWIG_From_int(static_cast< int >(WXK_PAGEDOWN
)));
55827 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_SPACE",SWIG_From_int(static_cast< int >(WXK_NUMPAD_SPACE
)));
55828 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_TAB",SWIG_From_int(static_cast< int >(WXK_NUMPAD_TAB
)));
55829 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_ENTER",SWIG_From_int(static_cast< int >(WXK_NUMPAD_ENTER
)));
55830 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_F1",SWIG_From_int(static_cast< int >(WXK_NUMPAD_F1
)));
55831 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_F2",SWIG_From_int(static_cast< int >(WXK_NUMPAD_F2
)));
55832 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_F3",SWIG_From_int(static_cast< int >(WXK_NUMPAD_F3
)));
55833 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_F4",SWIG_From_int(static_cast< int >(WXK_NUMPAD_F4
)));
55834 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_HOME",SWIG_From_int(static_cast< int >(WXK_NUMPAD_HOME
)));
55835 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_LEFT",SWIG_From_int(static_cast< int >(WXK_NUMPAD_LEFT
)));
55836 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_UP",SWIG_From_int(static_cast< int >(WXK_NUMPAD_UP
)));
55837 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_RIGHT",SWIG_From_int(static_cast< int >(WXK_NUMPAD_RIGHT
)));
55838 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_DOWN",SWIG_From_int(static_cast< int >(WXK_NUMPAD_DOWN
)));
55839 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_PRIOR",SWIG_From_int(static_cast< int >(WXK_NUMPAD_PRIOR
)));
55840 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_PAGEUP",SWIG_From_int(static_cast< int >(WXK_NUMPAD_PAGEUP
)));
55841 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_NEXT",SWIG_From_int(static_cast< int >(WXK_NUMPAD_NEXT
)));
55842 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_PAGEDOWN",SWIG_From_int(static_cast< int >(WXK_NUMPAD_PAGEDOWN
)));
55843 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_END",SWIG_From_int(static_cast< int >(WXK_NUMPAD_END
)));
55844 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_BEGIN",SWIG_From_int(static_cast< int >(WXK_NUMPAD_BEGIN
)));
55845 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_INSERT",SWIG_From_int(static_cast< int >(WXK_NUMPAD_INSERT
)));
55846 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_DELETE",SWIG_From_int(static_cast< int >(WXK_NUMPAD_DELETE
)));
55847 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_EQUAL",SWIG_From_int(static_cast< int >(WXK_NUMPAD_EQUAL
)));
55848 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_MULTIPLY",SWIG_From_int(static_cast< int >(WXK_NUMPAD_MULTIPLY
)));
55849 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_ADD",SWIG_From_int(static_cast< int >(WXK_NUMPAD_ADD
)));
55850 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_SEPARATOR",SWIG_From_int(static_cast< int >(WXK_NUMPAD_SEPARATOR
)));
55851 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_SUBTRACT",SWIG_From_int(static_cast< int >(WXK_NUMPAD_SUBTRACT
)));
55852 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_DECIMAL",SWIG_From_int(static_cast< int >(WXK_NUMPAD_DECIMAL
)));
55853 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_DIVIDE",SWIG_From_int(static_cast< int >(WXK_NUMPAD_DIVIDE
)));
55854 SWIG_Python_SetConstant(d
, "WXK_WINDOWS_LEFT",SWIG_From_int(static_cast< int >(WXK_WINDOWS_LEFT
)));
55855 SWIG_Python_SetConstant(d
, "WXK_WINDOWS_RIGHT",SWIG_From_int(static_cast< int >(WXK_WINDOWS_RIGHT
)));
55856 SWIG_Python_SetConstant(d
, "WXK_WINDOWS_MENU",SWIG_From_int(static_cast< int >(WXK_WINDOWS_MENU
)));
55857 SWIG_Python_SetConstant(d
, "WXK_COMMAND",SWIG_From_int(static_cast< int >(WXK_COMMAND
)));
55858 SWIG_Python_SetConstant(d
, "WXK_SPECIAL1",SWIG_From_int(static_cast< int >(WXK_SPECIAL1
)));
55859 SWIG_Python_SetConstant(d
, "WXK_SPECIAL2",SWIG_From_int(static_cast< int >(WXK_SPECIAL2
)));
55860 SWIG_Python_SetConstant(d
, "WXK_SPECIAL3",SWIG_From_int(static_cast< int >(WXK_SPECIAL3
)));
55861 SWIG_Python_SetConstant(d
, "WXK_SPECIAL4",SWIG_From_int(static_cast< int >(WXK_SPECIAL4
)));
55862 SWIG_Python_SetConstant(d
, "WXK_SPECIAL5",SWIG_From_int(static_cast< int >(WXK_SPECIAL5
)));
55863 SWIG_Python_SetConstant(d
, "WXK_SPECIAL6",SWIG_From_int(static_cast< int >(WXK_SPECIAL6
)));
55864 SWIG_Python_SetConstant(d
, "WXK_SPECIAL7",SWIG_From_int(static_cast< int >(WXK_SPECIAL7
)));
55865 SWIG_Python_SetConstant(d
, "WXK_SPECIAL8",SWIG_From_int(static_cast< int >(WXK_SPECIAL8
)));
55866 SWIG_Python_SetConstant(d
, "WXK_SPECIAL9",SWIG_From_int(static_cast< int >(WXK_SPECIAL9
)));
55867 SWIG_Python_SetConstant(d
, "WXK_SPECIAL10",SWIG_From_int(static_cast< int >(WXK_SPECIAL10
)));
55868 SWIG_Python_SetConstant(d
, "WXK_SPECIAL11",SWIG_From_int(static_cast< int >(WXK_SPECIAL11
)));
55869 SWIG_Python_SetConstant(d
, "WXK_SPECIAL12",SWIG_From_int(static_cast< int >(WXK_SPECIAL12
)));
55870 SWIG_Python_SetConstant(d
, "WXK_SPECIAL13",SWIG_From_int(static_cast< int >(WXK_SPECIAL13
)));
55871 SWIG_Python_SetConstant(d
, "WXK_SPECIAL14",SWIG_From_int(static_cast< int >(WXK_SPECIAL14
)));
55872 SWIG_Python_SetConstant(d
, "WXK_SPECIAL15",SWIG_From_int(static_cast< int >(WXK_SPECIAL15
)));
55873 SWIG_Python_SetConstant(d
, "WXK_SPECIAL16",SWIG_From_int(static_cast< int >(WXK_SPECIAL16
)));
55874 SWIG_Python_SetConstant(d
, "WXK_SPECIAL17",SWIG_From_int(static_cast< int >(WXK_SPECIAL17
)));
55875 SWIG_Python_SetConstant(d
, "WXK_SPECIAL18",SWIG_From_int(static_cast< int >(WXK_SPECIAL18
)));
55876 SWIG_Python_SetConstant(d
, "WXK_SPECIAL19",SWIG_From_int(static_cast< int >(WXK_SPECIAL19
)));
55877 SWIG_Python_SetConstant(d
, "WXK_SPECIAL20",SWIG_From_int(static_cast< int >(WXK_SPECIAL20
)));
55878 SWIG_Python_SetConstant(d
, "PAPER_NONE",SWIG_From_int(static_cast< int >(wxPAPER_NONE
)));
55879 SWIG_Python_SetConstant(d
, "PAPER_LETTER",SWIG_From_int(static_cast< int >(wxPAPER_LETTER
)));
55880 SWIG_Python_SetConstant(d
, "PAPER_LEGAL",SWIG_From_int(static_cast< int >(wxPAPER_LEGAL
)));
55881 SWIG_Python_SetConstant(d
, "PAPER_A4",SWIG_From_int(static_cast< int >(wxPAPER_A4
)));
55882 SWIG_Python_SetConstant(d
, "PAPER_CSHEET",SWIG_From_int(static_cast< int >(wxPAPER_CSHEET
)));
55883 SWIG_Python_SetConstant(d
, "PAPER_DSHEET",SWIG_From_int(static_cast< int >(wxPAPER_DSHEET
)));
55884 SWIG_Python_SetConstant(d
, "PAPER_ESHEET",SWIG_From_int(static_cast< int >(wxPAPER_ESHEET
)));
55885 SWIG_Python_SetConstant(d
, "PAPER_LETTERSMALL",SWIG_From_int(static_cast< int >(wxPAPER_LETTERSMALL
)));
55886 SWIG_Python_SetConstant(d
, "PAPER_TABLOID",SWIG_From_int(static_cast< int >(wxPAPER_TABLOID
)));
55887 SWIG_Python_SetConstant(d
, "PAPER_LEDGER",SWIG_From_int(static_cast< int >(wxPAPER_LEDGER
)));
55888 SWIG_Python_SetConstant(d
, "PAPER_STATEMENT",SWIG_From_int(static_cast< int >(wxPAPER_STATEMENT
)));
55889 SWIG_Python_SetConstant(d
, "PAPER_EXECUTIVE",SWIG_From_int(static_cast< int >(wxPAPER_EXECUTIVE
)));
55890 SWIG_Python_SetConstant(d
, "PAPER_A3",SWIG_From_int(static_cast< int >(wxPAPER_A3
)));
55891 SWIG_Python_SetConstant(d
, "PAPER_A4SMALL",SWIG_From_int(static_cast< int >(wxPAPER_A4SMALL
)));
55892 SWIG_Python_SetConstant(d
, "PAPER_A5",SWIG_From_int(static_cast< int >(wxPAPER_A5
)));
55893 SWIG_Python_SetConstant(d
, "PAPER_B4",SWIG_From_int(static_cast< int >(wxPAPER_B4
)));
55894 SWIG_Python_SetConstant(d
, "PAPER_B5",SWIG_From_int(static_cast< int >(wxPAPER_B5
)));
55895 SWIG_Python_SetConstant(d
, "PAPER_FOLIO",SWIG_From_int(static_cast< int >(wxPAPER_FOLIO
)));
55896 SWIG_Python_SetConstant(d
, "PAPER_QUARTO",SWIG_From_int(static_cast< int >(wxPAPER_QUARTO
)));
55897 SWIG_Python_SetConstant(d
, "PAPER_10X14",SWIG_From_int(static_cast< int >(wxPAPER_10X14
)));
55898 SWIG_Python_SetConstant(d
, "PAPER_11X17",SWIG_From_int(static_cast< int >(wxPAPER_11X17
)));
55899 SWIG_Python_SetConstant(d
, "PAPER_NOTE",SWIG_From_int(static_cast< int >(wxPAPER_NOTE
)));
55900 SWIG_Python_SetConstant(d
, "PAPER_ENV_9",SWIG_From_int(static_cast< int >(wxPAPER_ENV_9
)));
55901 SWIG_Python_SetConstant(d
, "PAPER_ENV_10",SWIG_From_int(static_cast< int >(wxPAPER_ENV_10
)));
55902 SWIG_Python_SetConstant(d
, "PAPER_ENV_11",SWIG_From_int(static_cast< int >(wxPAPER_ENV_11
)));
55903 SWIG_Python_SetConstant(d
, "PAPER_ENV_12",SWIG_From_int(static_cast< int >(wxPAPER_ENV_12
)));
55904 SWIG_Python_SetConstant(d
, "PAPER_ENV_14",SWIG_From_int(static_cast< int >(wxPAPER_ENV_14
)));
55905 SWIG_Python_SetConstant(d
, "PAPER_ENV_DL",SWIG_From_int(static_cast< int >(wxPAPER_ENV_DL
)));
55906 SWIG_Python_SetConstant(d
, "PAPER_ENV_C5",SWIG_From_int(static_cast< int >(wxPAPER_ENV_C5
)));
55907 SWIG_Python_SetConstant(d
, "PAPER_ENV_C3",SWIG_From_int(static_cast< int >(wxPAPER_ENV_C3
)));
55908 SWIG_Python_SetConstant(d
, "PAPER_ENV_C4",SWIG_From_int(static_cast< int >(wxPAPER_ENV_C4
)));
55909 SWIG_Python_SetConstant(d
, "PAPER_ENV_C6",SWIG_From_int(static_cast< int >(wxPAPER_ENV_C6
)));
55910 SWIG_Python_SetConstant(d
, "PAPER_ENV_C65",SWIG_From_int(static_cast< int >(wxPAPER_ENV_C65
)));
55911 SWIG_Python_SetConstant(d
, "PAPER_ENV_B4",SWIG_From_int(static_cast< int >(wxPAPER_ENV_B4
)));
55912 SWIG_Python_SetConstant(d
, "PAPER_ENV_B5",SWIG_From_int(static_cast< int >(wxPAPER_ENV_B5
)));
55913 SWIG_Python_SetConstant(d
, "PAPER_ENV_B6",SWIG_From_int(static_cast< int >(wxPAPER_ENV_B6
)));
55914 SWIG_Python_SetConstant(d
, "PAPER_ENV_ITALY",SWIG_From_int(static_cast< int >(wxPAPER_ENV_ITALY
)));
55915 SWIG_Python_SetConstant(d
, "PAPER_ENV_MONARCH",SWIG_From_int(static_cast< int >(wxPAPER_ENV_MONARCH
)));
55916 SWIG_Python_SetConstant(d
, "PAPER_ENV_PERSONAL",SWIG_From_int(static_cast< int >(wxPAPER_ENV_PERSONAL
)));
55917 SWIG_Python_SetConstant(d
, "PAPER_FANFOLD_US",SWIG_From_int(static_cast< int >(wxPAPER_FANFOLD_US
)));
55918 SWIG_Python_SetConstant(d
, "PAPER_FANFOLD_STD_GERMAN",SWIG_From_int(static_cast< int >(wxPAPER_FANFOLD_STD_GERMAN
)));
55919 SWIG_Python_SetConstant(d
, "PAPER_FANFOLD_LGL_GERMAN",SWIG_From_int(static_cast< int >(wxPAPER_FANFOLD_LGL_GERMAN
)));
55920 SWIG_Python_SetConstant(d
, "PAPER_ISO_B4",SWIG_From_int(static_cast< int >(wxPAPER_ISO_B4
)));
55921 SWIG_Python_SetConstant(d
, "PAPER_JAPANESE_POSTCARD",SWIG_From_int(static_cast< int >(wxPAPER_JAPANESE_POSTCARD
)));
55922 SWIG_Python_SetConstant(d
, "PAPER_9X11",SWIG_From_int(static_cast< int >(wxPAPER_9X11
)));
55923 SWIG_Python_SetConstant(d
, "PAPER_10X11",SWIG_From_int(static_cast< int >(wxPAPER_10X11
)));
55924 SWIG_Python_SetConstant(d
, "PAPER_15X11",SWIG_From_int(static_cast< int >(wxPAPER_15X11
)));
55925 SWIG_Python_SetConstant(d
, "PAPER_ENV_INVITE",SWIG_From_int(static_cast< int >(wxPAPER_ENV_INVITE
)));
55926 SWIG_Python_SetConstant(d
, "PAPER_LETTER_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_LETTER_EXTRA
)));
55927 SWIG_Python_SetConstant(d
, "PAPER_LEGAL_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_LEGAL_EXTRA
)));
55928 SWIG_Python_SetConstant(d
, "PAPER_TABLOID_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_TABLOID_EXTRA
)));
55929 SWIG_Python_SetConstant(d
, "PAPER_A4_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_A4_EXTRA
)));
55930 SWIG_Python_SetConstant(d
, "PAPER_LETTER_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_LETTER_TRANSVERSE
)));
55931 SWIG_Python_SetConstant(d
, "PAPER_A4_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_A4_TRANSVERSE
)));
55932 SWIG_Python_SetConstant(d
, "PAPER_LETTER_EXTRA_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_LETTER_EXTRA_TRANSVERSE
)));
55933 SWIG_Python_SetConstant(d
, "PAPER_A_PLUS",SWIG_From_int(static_cast< int >(wxPAPER_A_PLUS
)));
55934 SWIG_Python_SetConstant(d
, "PAPER_B_PLUS",SWIG_From_int(static_cast< int >(wxPAPER_B_PLUS
)));
55935 SWIG_Python_SetConstant(d
, "PAPER_LETTER_PLUS",SWIG_From_int(static_cast< int >(wxPAPER_LETTER_PLUS
)));
55936 SWIG_Python_SetConstant(d
, "PAPER_A4_PLUS",SWIG_From_int(static_cast< int >(wxPAPER_A4_PLUS
)));
55937 SWIG_Python_SetConstant(d
, "PAPER_A5_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_A5_TRANSVERSE
)));
55938 SWIG_Python_SetConstant(d
, "PAPER_B5_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_B5_TRANSVERSE
)));
55939 SWIG_Python_SetConstant(d
, "PAPER_A3_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_A3_EXTRA
)));
55940 SWIG_Python_SetConstant(d
, "PAPER_A5_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_A5_EXTRA
)));
55941 SWIG_Python_SetConstant(d
, "PAPER_B5_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_B5_EXTRA
)));
55942 SWIG_Python_SetConstant(d
, "PAPER_A2",SWIG_From_int(static_cast< int >(wxPAPER_A2
)));
55943 SWIG_Python_SetConstant(d
, "PAPER_A3_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_A3_TRANSVERSE
)));
55944 SWIG_Python_SetConstant(d
, "PAPER_A3_EXTRA_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_A3_EXTRA_TRANSVERSE
)));
55945 SWIG_Python_SetConstant(d
, "PAPER_DBL_JAPANESE_POSTCARD",SWIG_From_int(static_cast< int >(wxPAPER_DBL_JAPANESE_POSTCARD
)));
55946 SWIG_Python_SetConstant(d
, "PAPER_A6",SWIG_From_int(static_cast< int >(wxPAPER_A6
)));
55947 SWIG_Python_SetConstant(d
, "PAPER_JENV_KAKU2",SWIG_From_int(static_cast< int >(wxPAPER_JENV_KAKU2
)));
55948 SWIG_Python_SetConstant(d
, "PAPER_JENV_KAKU3",SWIG_From_int(static_cast< int >(wxPAPER_JENV_KAKU3
)));
55949 SWIG_Python_SetConstant(d
, "PAPER_JENV_CHOU3",SWIG_From_int(static_cast< int >(wxPAPER_JENV_CHOU3
)));
55950 SWIG_Python_SetConstant(d
, "PAPER_JENV_CHOU4",SWIG_From_int(static_cast< int >(wxPAPER_JENV_CHOU4
)));
55951 SWIG_Python_SetConstant(d
, "PAPER_LETTER_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_LETTER_ROTATED
)));
55952 SWIG_Python_SetConstant(d
, "PAPER_A3_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_A3_ROTATED
)));
55953 SWIG_Python_SetConstant(d
, "PAPER_A4_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_A4_ROTATED
)));
55954 SWIG_Python_SetConstant(d
, "PAPER_A5_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_A5_ROTATED
)));
55955 SWIG_Python_SetConstant(d
, "PAPER_B4_JIS_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_B4_JIS_ROTATED
)));
55956 SWIG_Python_SetConstant(d
, "PAPER_B5_JIS_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_B5_JIS_ROTATED
)));
55957 SWIG_Python_SetConstant(d
, "PAPER_JAPANESE_POSTCARD_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_JAPANESE_POSTCARD_ROTATED
)));
55958 SWIG_Python_SetConstant(d
, "PAPER_DBL_JAPANESE_POSTCARD_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_DBL_JAPANESE_POSTCARD_ROTATED
)));
55959 SWIG_Python_SetConstant(d
, "PAPER_A6_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_A6_ROTATED
)));
55960 SWIG_Python_SetConstant(d
, "PAPER_JENV_KAKU2_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_JENV_KAKU2_ROTATED
)));
55961 SWIG_Python_SetConstant(d
, "PAPER_JENV_KAKU3_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_JENV_KAKU3_ROTATED
)));
55962 SWIG_Python_SetConstant(d
, "PAPER_JENV_CHOU3_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_JENV_CHOU3_ROTATED
)));
55963 SWIG_Python_SetConstant(d
, "PAPER_JENV_CHOU4_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_JENV_CHOU4_ROTATED
)));
55964 SWIG_Python_SetConstant(d
, "PAPER_B6_JIS",SWIG_From_int(static_cast< int >(wxPAPER_B6_JIS
)));
55965 SWIG_Python_SetConstant(d
, "PAPER_B6_JIS_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_B6_JIS_ROTATED
)));
55966 SWIG_Python_SetConstant(d
, "PAPER_12X11",SWIG_From_int(static_cast< int >(wxPAPER_12X11
)));
55967 SWIG_Python_SetConstant(d
, "PAPER_JENV_YOU4",SWIG_From_int(static_cast< int >(wxPAPER_JENV_YOU4
)));
55968 SWIG_Python_SetConstant(d
, "PAPER_JENV_YOU4_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_JENV_YOU4_ROTATED
)));
55969 SWIG_Python_SetConstant(d
, "PAPER_P16K",SWIG_From_int(static_cast< int >(wxPAPER_P16K
)));
55970 SWIG_Python_SetConstant(d
, "PAPER_P32K",SWIG_From_int(static_cast< int >(wxPAPER_P32K
)));
55971 SWIG_Python_SetConstant(d
, "PAPER_P32KBIG",SWIG_From_int(static_cast< int >(wxPAPER_P32KBIG
)));
55972 SWIG_Python_SetConstant(d
, "PAPER_PENV_1",SWIG_From_int(static_cast< int >(wxPAPER_PENV_1
)));
55973 SWIG_Python_SetConstant(d
, "PAPER_PENV_2",SWIG_From_int(static_cast< int >(wxPAPER_PENV_2
)));
55974 SWIG_Python_SetConstant(d
, "PAPER_PENV_3",SWIG_From_int(static_cast< int >(wxPAPER_PENV_3
)));
55975 SWIG_Python_SetConstant(d
, "PAPER_PENV_4",SWIG_From_int(static_cast< int >(wxPAPER_PENV_4
)));
55976 SWIG_Python_SetConstant(d
, "PAPER_PENV_5",SWIG_From_int(static_cast< int >(wxPAPER_PENV_5
)));
55977 SWIG_Python_SetConstant(d
, "PAPER_PENV_6",SWIG_From_int(static_cast< int >(wxPAPER_PENV_6
)));
55978 SWIG_Python_SetConstant(d
, "PAPER_PENV_7",SWIG_From_int(static_cast< int >(wxPAPER_PENV_7
)));
55979 SWIG_Python_SetConstant(d
, "PAPER_PENV_8",SWIG_From_int(static_cast< int >(wxPAPER_PENV_8
)));
55980 SWIG_Python_SetConstant(d
, "PAPER_PENV_9",SWIG_From_int(static_cast< int >(wxPAPER_PENV_9
)));
55981 SWIG_Python_SetConstant(d
, "PAPER_PENV_10",SWIG_From_int(static_cast< int >(wxPAPER_PENV_10
)));
55982 SWIG_Python_SetConstant(d
, "PAPER_P16K_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_P16K_ROTATED
)));
55983 SWIG_Python_SetConstant(d
, "PAPER_P32K_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_P32K_ROTATED
)));
55984 SWIG_Python_SetConstant(d
, "PAPER_P32KBIG_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_P32KBIG_ROTATED
)));
55985 SWIG_Python_SetConstant(d
, "PAPER_PENV_1_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_1_ROTATED
)));
55986 SWIG_Python_SetConstant(d
, "PAPER_PENV_2_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_2_ROTATED
)));
55987 SWIG_Python_SetConstant(d
, "PAPER_PENV_3_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_3_ROTATED
)));
55988 SWIG_Python_SetConstant(d
, "PAPER_PENV_4_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_4_ROTATED
)));
55989 SWIG_Python_SetConstant(d
, "PAPER_PENV_5_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_5_ROTATED
)));
55990 SWIG_Python_SetConstant(d
, "PAPER_PENV_6_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_6_ROTATED
)));
55991 SWIG_Python_SetConstant(d
, "PAPER_PENV_7_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_7_ROTATED
)));
55992 SWIG_Python_SetConstant(d
, "PAPER_PENV_8_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_8_ROTATED
)));
55993 SWIG_Python_SetConstant(d
, "PAPER_PENV_9_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_9_ROTATED
)));
55994 SWIG_Python_SetConstant(d
, "PAPER_PENV_10_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_10_ROTATED
)));
55995 SWIG_Python_SetConstant(d
, "DUPLEX_SIMPLEX",SWIG_From_int(static_cast< int >(wxDUPLEX_SIMPLEX
)));
55996 SWIG_Python_SetConstant(d
, "DUPLEX_HORIZONTAL",SWIG_From_int(static_cast< int >(wxDUPLEX_HORIZONTAL
)));
55997 SWIG_Python_SetConstant(d
, "DUPLEX_VERTICAL",SWIG_From_int(static_cast< int >(wxDUPLEX_VERTICAL
)));
55998 SWIG_Python_SetConstant(d
, "ITEM_SEPARATOR",SWIG_From_int(static_cast< int >(wxITEM_SEPARATOR
)));
55999 SWIG_Python_SetConstant(d
, "ITEM_NORMAL",SWIG_From_int(static_cast< int >(wxITEM_NORMAL
)));
56000 SWIG_Python_SetConstant(d
, "ITEM_CHECK",SWIG_From_int(static_cast< int >(wxITEM_CHECK
)));
56001 SWIG_Python_SetConstant(d
, "ITEM_RADIO",SWIG_From_int(static_cast< int >(wxITEM_RADIO
)));
56002 SWIG_Python_SetConstant(d
, "ITEM_MAX",SWIG_From_int(static_cast< int >(wxITEM_MAX
)));
56003 SWIG_Python_SetConstant(d
, "HT_NOWHERE",SWIG_From_int(static_cast< int >(wxHT_NOWHERE
)));
56004 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_FIRST",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_FIRST
)));
56005 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_ARROW_LINE_1",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_ARROW_LINE_1
)));
56006 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_ARROW_LINE_2",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_ARROW_LINE_2
)));
56007 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_ARROW_PAGE_1",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_ARROW_PAGE_1
)));
56008 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_ARROW_PAGE_2",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_ARROW_PAGE_2
)));
56009 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_THUMB",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_THUMB
)));
56010 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_BAR_1",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_BAR_1
)));
56011 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_BAR_2",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_BAR_2
)));
56012 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_LAST",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_LAST
)));
56013 SWIG_Python_SetConstant(d
, "HT_WINDOW_OUTSIDE",SWIG_From_int(static_cast< int >(wxHT_WINDOW_OUTSIDE
)));
56014 SWIG_Python_SetConstant(d
, "HT_WINDOW_INSIDE",SWIG_From_int(static_cast< int >(wxHT_WINDOW_INSIDE
)));
56015 SWIG_Python_SetConstant(d
, "HT_WINDOW_VERT_SCROLLBAR",SWIG_From_int(static_cast< int >(wxHT_WINDOW_VERT_SCROLLBAR
)));
56016 SWIG_Python_SetConstant(d
, "HT_WINDOW_HORZ_SCROLLBAR",SWIG_From_int(static_cast< int >(wxHT_WINDOW_HORZ_SCROLLBAR
)));
56017 SWIG_Python_SetConstant(d
, "HT_WINDOW_CORNER",SWIG_From_int(static_cast< int >(wxHT_WINDOW_CORNER
)));
56018 SWIG_Python_SetConstant(d
, "HT_MAX",SWIG_From_int(static_cast< int >(wxHT_MAX
)));
56019 SWIG_Python_SetConstant(d
, "MOD_NONE",SWIG_From_int(static_cast< int >(wxMOD_NONE
)));
56020 SWIG_Python_SetConstant(d
, "MOD_ALT",SWIG_From_int(static_cast< int >(wxMOD_ALT
)));
56021 SWIG_Python_SetConstant(d
, "MOD_CONTROL",SWIG_From_int(static_cast< int >(wxMOD_CONTROL
)));
56022 SWIG_Python_SetConstant(d
, "MOD_ALTGR",SWIG_From_int(static_cast< int >(wxMOD_ALTGR
)));
56023 SWIG_Python_SetConstant(d
, "MOD_SHIFT",SWIG_From_int(static_cast< int >(wxMOD_SHIFT
)));
56024 SWIG_Python_SetConstant(d
, "MOD_META",SWIG_From_int(static_cast< int >(wxMOD_META
)));
56025 SWIG_Python_SetConstant(d
, "MOD_WIN",SWIG_From_int(static_cast< int >(wxMOD_WIN
)));
56026 SWIG_Python_SetConstant(d
, "MOD_CMD",SWIG_From_int(static_cast< int >(wxMOD_CMD
)));
56027 SWIG_Python_SetConstant(d
, "MOD_ALL",SWIG_From_int(static_cast< int >(wxMOD_ALL
)));
56028 SWIG_Python_SetConstant(d
, "UPDATE_UI_NONE",SWIG_From_int(static_cast< int >(wxUPDATE_UI_NONE
)));
56029 SWIG_Python_SetConstant(d
, "UPDATE_UI_RECURSE",SWIG_From_int(static_cast< int >(wxUPDATE_UI_RECURSE
)));
56030 SWIG_Python_SetConstant(d
, "UPDATE_UI_FROMIDLE",SWIG_From_int(static_cast< int >(wxUPDATE_UI_FROMIDLE
)));
56031 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
56032 SWIG_addvarlink(SWIG_globals(),(char*)"EmptyString",EmptyString_get
, EmptyString_set
);
56033 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_INVALID",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_INVALID
)));
56034 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_BMP",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_BMP
)));
56035 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_ICO",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_ICO
)));
56036 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_CUR",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_CUR
)));
56037 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_XBM",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_XBM
)));
56038 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_XBM_DATA",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_XBM_DATA
)));
56039 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_XPM",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_XPM
)));
56040 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_XPM_DATA",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_XPM_DATA
)));
56041 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_TIF",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_TIF
)));
56042 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_GIF",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_GIF
)));
56043 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_PNG",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_PNG
)));
56044 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_JPEG",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_JPEG
)));
56045 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_PNM",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_PNM
)));
56046 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_PCX",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_PCX
)));
56047 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_PICT",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_PICT
)));
56048 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_ICON",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_ICON
)));
56049 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_ANI",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_ANI
)));
56050 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_IFF",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_IFF
)));
56051 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_MACCURSOR",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_MACCURSOR
)));
56052 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_ANY",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_ANY
)));
56053 SWIG_Python_SetConstant(d
, "CURSOR_NONE",SWIG_From_int(static_cast< int >(wxCURSOR_NONE
)));
56054 SWIG_Python_SetConstant(d
, "CURSOR_ARROW",SWIG_From_int(static_cast< int >(wxCURSOR_ARROW
)));
56055 SWIG_Python_SetConstant(d
, "CURSOR_RIGHT_ARROW",SWIG_From_int(static_cast< int >(wxCURSOR_RIGHT_ARROW
)));
56056 SWIG_Python_SetConstant(d
, "CURSOR_BULLSEYE",SWIG_From_int(static_cast< int >(wxCURSOR_BULLSEYE
)));
56057 SWIG_Python_SetConstant(d
, "CURSOR_CHAR",SWIG_From_int(static_cast< int >(wxCURSOR_CHAR
)));
56058 SWIG_Python_SetConstant(d
, "CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxCURSOR_CROSS
)));
56059 SWIG_Python_SetConstant(d
, "CURSOR_HAND",SWIG_From_int(static_cast< int >(wxCURSOR_HAND
)));
56060 SWIG_Python_SetConstant(d
, "CURSOR_IBEAM",SWIG_From_int(static_cast< int >(wxCURSOR_IBEAM
)));
56061 SWIG_Python_SetConstant(d
, "CURSOR_LEFT_BUTTON",SWIG_From_int(static_cast< int >(wxCURSOR_LEFT_BUTTON
)));
56062 SWIG_Python_SetConstant(d
, "CURSOR_MAGNIFIER",SWIG_From_int(static_cast< int >(wxCURSOR_MAGNIFIER
)));
56063 SWIG_Python_SetConstant(d
, "CURSOR_MIDDLE_BUTTON",SWIG_From_int(static_cast< int >(wxCURSOR_MIDDLE_BUTTON
)));
56064 SWIG_Python_SetConstant(d
, "CURSOR_NO_ENTRY",SWIG_From_int(static_cast< int >(wxCURSOR_NO_ENTRY
)));
56065 SWIG_Python_SetConstant(d
, "CURSOR_PAINT_BRUSH",SWIG_From_int(static_cast< int >(wxCURSOR_PAINT_BRUSH
)));
56066 SWIG_Python_SetConstant(d
, "CURSOR_PENCIL",SWIG_From_int(static_cast< int >(wxCURSOR_PENCIL
)));
56067 SWIG_Python_SetConstant(d
, "CURSOR_POINT_LEFT",SWIG_From_int(static_cast< int >(wxCURSOR_POINT_LEFT
)));
56068 SWIG_Python_SetConstant(d
, "CURSOR_POINT_RIGHT",SWIG_From_int(static_cast< int >(wxCURSOR_POINT_RIGHT
)));
56069 SWIG_Python_SetConstant(d
, "CURSOR_QUESTION_ARROW",SWIG_From_int(static_cast< int >(wxCURSOR_QUESTION_ARROW
)));
56070 SWIG_Python_SetConstant(d
, "CURSOR_RIGHT_BUTTON",SWIG_From_int(static_cast< int >(wxCURSOR_RIGHT_BUTTON
)));
56071 SWIG_Python_SetConstant(d
, "CURSOR_SIZENESW",SWIG_From_int(static_cast< int >(wxCURSOR_SIZENESW
)));
56072 SWIG_Python_SetConstant(d
, "CURSOR_SIZENS",SWIG_From_int(static_cast< int >(wxCURSOR_SIZENS
)));
56073 SWIG_Python_SetConstant(d
, "CURSOR_SIZENWSE",SWIG_From_int(static_cast< int >(wxCURSOR_SIZENWSE
)));
56074 SWIG_Python_SetConstant(d
, "CURSOR_SIZEWE",SWIG_From_int(static_cast< int >(wxCURSOR_SIZEWE
)));
56075 SWIG_Python_SetConstant(d
, "CURSOR_SIZING",SWIG_From_int(static_cast< int >(wxCURSOR_SIZING
)));
56076 SWIG_Python_SetConstant(d
, "CURSOR_SPRAYCAN",SWIG_From_int(static_cast< int >(wxCURSOR_SPRAYCAN
)));
56077 SWIG_Python_SetConstant(d
, "CURSOR_WAIT",SWIG_From_int(static_cast< int >(wxCURSOR_WAIT
)));
56078 SWIG_Python_SetConstant(d
, "CURSOR_WATCH",SWIG_From_int(static_cast< int >(wxCURSOR_WATCH
)));
56079 SWIG_Python_SetConstant(d
, "CURSOR_BLANK",SWIG_From_int(static_cast< int >(wxCURSOR_BLANK
)));
56080 SWIG_Python_SetConstant(d
, "CURSOR_DEFAULT",SWIG_From_int(static_cast< int >(wxCURSOR_DEFAULT
)));
56081 SWIG_Python_SetConstant(d
, "CURSOR_COPY_ARROW",SWIG_From_int(static_cast< int >(wxCURSOR_COPY_ARROW
)));
56082 SWIG_Python_SetConstant(d
, "CURSOR_ARROWWAIT",SWIG_From_int(static_cast< int >(wxCURSOR_ARROWWAIT
)));
56083 SWIG_Python_SetConstant(d
, "CURSOR_MAX",SWIG_From_int(static_cast< int >(wxCURSOR_MAX
)));
56084 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultPosition",DefaultPosition_get
, DefaultPosition_set
);
56085 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultSize",DefaultSize_get
, DefaultSize_set
);
56086 SWIG_Python_SetConstant(d
, "FromStart",SWIG_From_int(static_cast< int >(wxFromStart
)));
56087 SWIG_Python_SetConstant(d
, "FromCurrent",SWIG_From_int(static_cast< int >(wxFromCurrent
)));
56088 SWIG_Python_SetConstant(d
, "FromEnd",SWIG_From_int(static_cast< int >(wxFromEnd
)));
56090 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
56093 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
56095 SWIG_Python_SetConstant(d
, "IMAGE_ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGE_ALPHA_TRANSPARENT
)));
56096 SWIG_Python_SetConstant(d
, "IMAGE_ALPHA_THRESHOLD",SWIG_From_int(static_cast< int >(wxIMAGE_ALPHA_THRESHOLD
)));
56097 SWIG_Python_SetConstant(d
, "IMAGE_ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxIMAGE_ALPHA_OPAQUE
)));
56098 SWIG_addvarlink(SWIG_globals(),(char*)"NullImage",NullImage_get
, NullImage_set
);
56099 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_FILENAME",IMAGE_OPTION_FILENAME_get
, IMAGE_OPTION_FILENAME_set
);
56100 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_BMP_FORMAT",IMAGE_OPTION_BMP_FORMAT_get
, IMAGE_OPTION_BMP_FORMAT_set
);
56101 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",IMAGE_OPTION_CUR_HOTSPOT_X_get
, IMAGE_OPTION_CUR_HOTSPOT_X_set
);
56102 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",IMAGE_OPTION_CUR_HOTSPOT_Y_get
, IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
56103 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_RESOLUTION",IMAGE_OPTION_RESOLUTION_get
, IMAGE_OPTION_RESOLUTION_set
);
56104 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_RESOLUTIONX",IMAGE_OPTION_RESOLUTIONX_get
, IMAGE_OPTION_RESOLUTIONX_set
);
56105 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_RESOLUTIONY",IMAGE_OPTION_RESOLUTIONY_get
, IMAGE_OPTION_RESOLUTIONY_set
);
56106 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_RESOLUTIONUNIT",IMAGE_OPTION_RESOLUTIONUNIT_get
, IMAGE_OPTION_RESOLUTIONUNIT_set
);
56107 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_QUALITY",IMAGE_OPTION_QUALITY_get
, IMAGE_OPTION_QUALITY_set
);
56108 SWIG_Python_SetConstant(d
, "IMAGE_RESOLUTION_INCHES",SWIG_From_int(static_cast< int >(wxIMAGE_RESOLUTION_INCHES
)));
56109 SWIG_Python_SetConstant(d
, "IMAGE_RESOLUTION_CM",SWIG_From_int(static_cast< int >(wxIMAGE_RESOLUTION_CM
)));
56110 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_BITSPERSAMPLE",IMAGE_OPTION_BITSPERSAMPLE_get
, IMAGE_OPTION_BITSPERSAMPLE_set
);
56111 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_SAMPLESPERPIXEL",IMAGE_OPTION_SAMPLESPERPIXEL_get
, IMAGE_OPTION_SAMPLESPERPIXEL_set
);
56112 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_COMPRESSION",IMAGE_OPTION_COMPRESSION_get
, IMAGE_OPTION_COMPRESSION_set
);
56113 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_IMAGEDESCRIPTOR",IMAGE_OPTION_IMAGEDESCRIPTOR_get
, IMAGE_OPTION_IMAGEDESCRIPTOR_set
);
56114 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_PNG_FORMAT",IMAGE_OPTION_PNG_FORMAT_get
, IMAGE_OPTION_PNG_FORMAT_set
);
56115 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_PNG_BITDEPTH",IMAGE_OPTION_PNG_BITDEPTH_get
, IMAGE_OPTION_PNG_BITDEPTH_set
);
56116 SWIG_Python_SetConstant(d
, "PNG_TYPE_COLOUR",SWIG_From_int(static_cast< int >(wxPNG_TYPE_COLOUR
)));
56117 SWIG_Python_SetConstant(d
, "PNG_TYPE_GREY",SWIG_From_int(static_cast< int >(wxPNG_TYPE_GREY
)));
56118 SWIG_Python_SetConstant(d
, "PNG_TYPE_GREY_RED",SWIG_From_int(static_cast< int >(wxPNG_TYPE_GREY_RED
)));
56119 SWIG_Python_SetConstant(d
, "BMP_24BPP",SWIG_From_int(static_cast< int >(wxBMP_24BPP
)));
56120 SWIG_Python_SetConstant(d
, "BMP_8BPP",SWIG_From_int(static_cast< int >(wxBMP_8BPP
)));
56121 SWIG_Python_SetConstant(d
, "BMP_8BPP_GREY",SWIG_From_int(static_cast< int >(wxBMP_8BPP_GREY
)));
56122 SWIG_Python_SetConstant(d
, "BMP_8BPP_GRAY",SWIG_From_int(static_cast< int >(wxBMP_8BPP_GRAY
)));
56123 SWIG_Python_SetConstant(d
, "BMP_8BPP_RED",SWIG_From_int(static_cast< int >(wxBMP_8BPP_RED
)));
56124 SWIG_Python_SetConstant(d
, "BMP_8BPP_PALETTE",SWIG_From_int(static_cast< int >(wxBMP_8BPP_PALETTE
)));
56125 SWIG_Python_SetConstant(d
, "BMP_4BPP",SWIG_From_int(static_cast< int >(wxBMP_4BPP
)));
56126 SWIG_Python_SetConstant(d
, "BMP_1BPP",SWIG_From_int(static_cast< int >(wxBMP_1BPP
)));
56127 SWIG_Python_SetConstant(d
, "BMP_1BPP_BW",SWIG_From_int(static_cast< int >(wxBMP_1BPP_BW
)));
56128 SWIG_Python_SetConstant(d
, "QUANTIZE_INCLUDE_WINDOWS_COLOURS",SWIG_From_int(static_cast< int >(wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
)));
56129 SWIG_Python_SetConstant(d
, "QUANTIZE_FILL_DESTINATION_IMAGE",SWIG_From_int(static_cast< int >(wxQUANTIZE_FILL_DESTINATION_IMAGE
)));
56130 SWIG_Python_SetConstant(d
, "EVENT_PROPAGATE_NONE",SWIG_From_int(static_cast< int >(wxEVENT_PROPAGATE_NONE
)));
56131 SWIG_Python_SetConstant(d
, "EVENT_PROPAGATE_MAX",SWIG_From_int(static_cast< int >(wxEVENT_PROPAGATE_MAX
)));
56132 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
56133 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
56134 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
56135 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
56136 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
56137 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
56138 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
56139 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
56140 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
56141 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
56142 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
56143 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
56144 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
56145 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
56146 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
56147 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
56148 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
56149 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
56150 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
56151 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
56152 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
56153 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
56154 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
56155 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
56156 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
56157 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
56158 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
56159 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
56160 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
56161 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
56162 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
56163 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
56164 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
56165 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
56166 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
56167 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
56168 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
56169 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
56170 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
56171 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
56172 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
56173 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
56174 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
56175 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
56176 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
56177 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
56178 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
56179 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
56180 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
56181 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
56182 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
56183 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
56184 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
56185 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
56186 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
56187 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
56188 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
56189 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
56190 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
56191 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
56192 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
56193 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
56194 PyDict_SetItemString(d
, "wxEVT_SCROLL_CHANGED", PyInt_FromLong(wxEVT_SCROLL_CHANGED
));
56195 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
56196 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
56197 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
56198 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
56199 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
56200 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
56201 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
56202 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
56203 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
56204 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
56205 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
56206 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
56207 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
56208 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
56209 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
56210 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
56211 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
56212 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
56213 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
56214 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
56215 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
56216 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
56217 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
56218 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
56219 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
56220 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
56221 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
56222 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
56223 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
56224 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
56225 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
56226 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
56227 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
56228 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
56229 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
56230 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
56231 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
56232 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
56233 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
56234 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
56235 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
56236 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
56237 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
56238 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
56239 PyDict_SetItemString(d
, "wxEVT_HIBERNATE", PyInt_FromLong(wxEVT_HIBERNATE
));
56240 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
56241 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
56242 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
56243 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
56244 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
56245 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
56246 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
56247 SWIG_Python_SetConstant(d
, "MOUSE_BTN_ANY",SWIG_From_int(static_cast< int >(wxMOUSE_BTN_ANY
)));
56248 SWIG_Python_SetConstant(d
, "MOUSE_BTN_NONE",SWIG_From_int(static_cast< int >(wxMOUSE_BTN_NONE
)));
56249 SWIG_Python_SetConstant(d
, "MOUSE_BTN_LEFT",SWIG_From_int(static_cast< int >(wxMOUSE_BTN_LEFT
)));
56250 SWIG_Python_SetConstant(d
, "MOUSE_BTN_MIDDLE",SWIG_From_int(static_cast< int >(wxMOUSE_BTN_MIDDLE
)));
56251 SWIG_Python_SetConstant(d
, "MOUSE_BTN_RIGHT",SWIG_From_int(static_cast< int >(wxMOUSE_BTN_RIGHT
)));
56252 SWIG_Python_SetConstant(d
, "UPDATE_UI_PROCESS_ALL",SWIG_From_int(static_cast< int >(wxUPDATE_UI_PROCESS_ALL
)));
56253 SWIG_Python_SetConstant(d
, "UPDATE_UI_PROCESS_SPECIFIED",SWIG_From_int(static_cast< int >(wxUPDATE_UI_PROCESS_SPECIFIED
)));
56254 SWIG_Python_SetConstant(d
, "NavigationKeyEvent_IsBackward",SWIG_From_int(static_cast< int >(wxNavigationKeyEvent::IsBackward
)));
56255 SWIG_Python_SetConstant(d
, "NavigationKeyEvent_IsForward",SWIG_From_int(static_cast< int >(wxNavigationKeyEvent::IsForward
)));
56256 SWIG_Python_SetConstant(d
, "NavigationKeyEvent_WinChange",SWIG_From_int(static_cast< int >(wxNavigationKeyEvent::WinChange
)));
56257 SWIG_Python_SetConstant(d
, "NavigationKeyEvent_FromTab",SWIG_From_int(static_cast< int >(wxNavigationKeyEvent::FromTab
)));
56258 SWIG_Python_SetConstant(d
, "IDLE_PROCESS_ALL",SWIG_From_int(static_cast< int >(wxIDLE_PROCESS_ALL
)));
56259 SWIG_Python_SetConstant(d
, "IDLE_PROCESS_SPECIFIED",SWIG_From_int(static_cast< int >(wxIDLE_PROCESS_SPECIFIED
)));
56260 PyDict_SetItemString(d
, "wxEVT_DATE_CHANGED", PyInt_FromLong(wxEVT_DATE_CHANGED
));
56261 SWIG_Python_SetConstant(d
, "PYAPP_ASSERT_SUPPRESS",SWIG_From_int(static_cast< int >(wxPYAPP_ASSERT_SUPPRESS
)));
56262 SWIG_Python_SetConstant(d
, "PYAPP_ASSERT_EXCEPTION",SWIG_From_int(static_cast< int >(wxPYAPP_ASSERT_EXCEPTION
)));
56263 SWIG_Python_SetConstant(d
, "PYAPP_ASSERT_DIALOG",SWIG_From_int(static_cast< int >(wxPYAPP_ASSERT_DIALOG
)));
56264 SWIG_Python_SetConstant(d
, "PYAPP_ASSERT_LOG",SWIG_From_int(static_cast< int >(wxPYAPP_ASSERT_LOG
)));
56265 SWIG_Python_SetConstant(d
, "PRINT_WINDOWS",SWIG_From_int(static_cast< int >(wxPRINT_WINDOWS
)));
56266 SWIG_Python_SetConstant(d
, "PRINT_POSTSCRIPT",SWIG_From_int(static_cast< int >(wxPRINT_POSTSCRIPT
)));
56267 SWIG_addvarlink(SWIG_globals(),(char*)"NullAcceleratorTable",NullAcceleratorTable_get
, NullAcceleratorTable_set
);
56268 SWIG_addvarlink(SWIG_globals(),(char*)"PanelNameStr",PanelNameStr_get
, PanelNameStr_set
);
56269 SWIG_Python_SetConstant(d
, "WINDOW_VARIANT_NORMAL",SWIG_From_int(static_cast< int >(wxWINDOW_VARIANT_NORMAL
)));
56270 SWIG_Python_SetConstant(d
, "WINDOW_VARIANT_SMALL",SWIG_From_int(static_cast< int >(wxWINDOW_VARIANT_SMALL
)));
56271 SWIG_Python_SetConstant(d
, "WINDOW_VARIANT_MINI",SWIG_From_int(static_cast< int >(wxWINDOW_VARIANT_MINI
)));
56272 SWIG_Python_SetConstant(d
, "WINDOW_VARIANT_LARGE",SWIG_From_int(static_cast< int >(wxWINDOW_VARIANT_LARGE
)));
56273 SWIG_Python_SetConstant(d
, "WINDOW_VARIANT_MAX",SWIG_From_int(static_cast< int >(wxWINDOW_VARIANT_MAX
)));
56274 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultValidator",DefaultValidator_get
, DefaultValidator_set
);
56275 SWIG_addvarlink(SWIG_globals(),(char*)"ControlNameStr",ControlNameStr_get
, ControlNameStr_set
);
56276 SWIG_Python_SetConstant(d
, "FLEX_GROWMODE_NONE",SWIG_From_int(static_cast< int >(wxFLEX_GROWMODE_NONE
)));
56277 SWIG_Python_SetConstant(d
, "FLEX_GROWMODE_SPECIFIED",SWIG_From_int(static_cast< int >(wxFLEX_GROWMODE_SPECIFIED
)));
56278 SWIG_Python_SetConstant(d
, "FLEX_GROWMODE_ALL",SWIG_From_int(static_cast< int >(wxFLEX_GROWMODE_ALL
)));
56279 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultSpan",DefaultSpan_get
, DefaultSpan_set
);
56280 SWIG_Python_SetConstant(d
, "Left",SWIG_From_int(static_cast< int >(wxLeft
)));
56281 SWIG_Python_SetConstant(d
, "Top",SWIG_From_int(static_cast< int >(wxTop
)));
56282 SWIG_Python_SetConstant(d
, "Right",SWIG_From_int(static_cast< int >(wxRight
)));
56283 SWIG_Python_SetConstant(d
, "Bottom",SWIG_From_int(static_cast< int >(wxBottom
)));
56284 SWIG_Python_SetConstant(d
, "Width",SWIG_From_int(static_cast< int >(wxWidth
)));
56285 SWIG_Python_SetConstant(d
, "Height",SWIG_From_int(static_cast< int >(wxHeight
)));
56286 SWIG_Python_SetConstant(d
, "Centre",SWIG_From_int(static_cast< int >(wxCentre
)));
56287 SWIG_Python_SetConstant(d
, "Center",SWIG_From_int(static_cast< int >(wxCenter
)));
56288 SWIG_Python_SetConstant(d
, "CentreX",SWIG_From_int(static_cast< int >(wxCentreX
)));
56289 SWIG_Python_SetConstant(d
, "CentreY",SWIG_From_int(static_cast< int >(wxCentreY
)));
56290 SWIG_Python_SetConstant(d
, "Unconstrained",SWIG_From_int(static_cast< int >(wxUnconstrained
)));
56291 SWIG_Python_SetConstant(d
, "AsIs",SWIG_From_int(static_cast< int >(wxAsIs
)));
56292 SWIG_Python_SetConstant(d
, "PercentOf",SWIG_From_int(static_cast< int >(wxPercentOf
)));
56293 SWIG_Python_SetConstant(d
, "Above",SWIG_From_int(static_cast< int >(wxAbove
)));
56294 SWIG_Python_SetConstant(d
, "Below",SWIG_From_int(static_cast< int >(wxBelow
)));
56295 SWIG_Python_SetConstant(d
, "LeftOf",SWIG_From_int(static_cast< int >(wxLeftOf
)));
56296 SWIG_Python_SetConstant(d
, "RightOf",SWIG_From_int(static_cast< int >(wxRightOf
)));
56297 SWIG_Python_SetConstant(d
, "SameAs",SWIG_From_int(static_cast< int >(wxSameAs
)));
56298 SWIG_Python_SetConstant(d
, "Absolute",SWIG_From_int(static_cast< int >(wxAbsolute
)));
56300 // Initialize threading, some globals and such
56304 // Although these are defined in __version__ they need to be here too so
56305 // that an assert can be done to ensure that the wxPython and the wxWindows
56307 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
56308 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
56309 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));