1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 /* for raw pointers */
989 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
990 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
991 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
992 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
993 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
994 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
995 #define swig_owntype int
997 /* for raw packed data */
998 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
999 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1001 /* for class or struct pointers */
1002 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1003 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1005 /* for C or C++ function pointers */
1006 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1007 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1009 /* for C++ member pointers, ie, member methods */
1010 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1020 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024 #define SWIG_fail goto fail
1027 /* Runtime API implementation */
1029 /* Error manipulation */
1032 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1033 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1034 PyErr_SetObject(errtype
, obj
);
1036 SWIG_PYTHON_THREAD_END_BLOCK
;
1040 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1041 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1042 PyErr_SetString(errtype
, (char *) msg
);
1043 SWIG_PYTHON_THREAD_END_BLOCK
;
1046 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1048 /* Set a constant value */
1051 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1052 PyDict_SetItemString(d
, (char*) name
, obj
);
1056 /* Append a value to the result obj */
1058 SWIGINTERN PyObject
*
1059 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1060 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1063 } else if (result
== Py_None
) {
1067 if (!PyList_Check(result
)) {
1068 PyObject
*o2
= result
;
1069 result
= PyList_New(1);
1070 PyList_SetItem(result
, 0, o2
);
1072 PyList_Append(result
,obj
);
1081 } else if (result
== Py_None
) {
1085 if (!PyTuple_Check(result
)) {
1087 result
= PyTuple_New(1);
1088 PyTuple_SET_ITEM(result
, 0, o2
);
1090 o3
= PyTuple_New(1);
1091 PyTuple_SET_ITEM(o3
, 0, obj
);
1093 result
= PySequence_Concat(o2
, o3
);
1101 /* Unpack the argument tuple */
1104 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1110 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1111 name
, (min
== max
? "" : "at least "), min
);
1115 if (!PyTuple_Check(args
)) {
1116 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1119 register int l
= PyTuple_GET_SIZE(args
);
1121 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1122 name
, (min
== max
? "" : "at least "), min
, l
);
1124 } else if (l
> max
) {
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at most "), max
, l
);
1130 for (i
= 0; i
< l
; ++i
) {
1131 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1133 for (; l
< max
; ++l
) {
1141 /* A functor is a function object with one single object argument */
1142 #if PY_VERSION_HEX >= 0x02020000
1143 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1145 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1149 Helper for static pointer initialization for both C and C++ code, for example
1150 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1153 #define SWIG_STATIC_POINTER(var) var
1155 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1158 /* -----------------------------------------------------------------------------
1159 * Pointer declarations
1160 * ----------------------------------------------------------------------------- */
1162 /* Flags for new pointer objects */
1163 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1164 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1166 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1175 /* How to access Py_None */
1176 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1177 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1178 # ifndef SWIG_PYTHON_BUILD_NONE
1179 # define SWIG_PYTHON_BUILD_NONE
1184 #ifdef SWIG_PYTHON_BUILD_NONE
1187 # define Py_None SWIG_Py_None()
1189 SWIGRUNTIMEINLINE PyObject
*
1192 PyObject
*none
= Py_BuildValue("");
1196 SWIGRUNTIME PyObject
*
1199 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1204 /* The python void return value */
1206 SWIGRUNTIMEINLINE PyObject
*
1209 PyObject
*none
= Py_None
;
1214 /* PySwigClientData */
1225 SWIGRUNTIMEINLINE
int
1226 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1228 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1229 return data
? data
->implicitconv
: 0;
1232 SWIGRUNTIMEINLINE PyObject
*
1233 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1234 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1235 PyObject
*klass
= data
? data
->klass
: 0;
1236 return (klass
? klass
: PyExc_RuntimeError
);
1240 SWIGRUNTIME PySwigClientData
*
1241 PySwigClientData_New(PyObject
* obj
)
1246 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1247 /* the klass element */
1249 Py_INCREF(data
->klass
);
1250 /* the newraw method and newargs arguments used to create a new raw instance */
1251 if (PyClass_Check(obj
)) {
1253 data
->newargs
= obj
;
1256 #if (PY_VERSION_HEX < 0x02020000)
1259 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1262 Py_INCREF(data
->newraw
);
1263 data
->newargs
= PyTuple_New(1);
1264 PyTuple_SetItem(data
->newargs
, 0, obj
);
1266 data
->newargs
= obj
;
1268 Py_INCREF(data
->newargs
);
1270 /* the destroy method, aka as the C++ delete method */
1271 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1272 if (PyErr_Occurred()) {
1276 if (data
->destroy
) {
1278 Py_INCREF(data
->destroy
);
1279 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1281 data
->delargs
= !(flags
& (METH_O
));
1288 data
->implicitconv
= 0;
1294 PySwigClientData_Del(PySwigClientData
* data
)
1296 Py_XDECREF(data
->newraw
);
1297 Py_XDECREF(data
->newargs
);
1298 Py_XDECREF(data
->destroy
);
1301 /* =============== PySwigObject =====================*/
1311 SWIGRUNTIME PyObject
*
1312 PySwigObject_long(PySwigObject
*v
)
1314 return PyLong_FromVoidPtr(v
->ptr
);
1317 SWIGRUNTIME PyObject
*
1318 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1320 PyObject
*res
= NULL
;
1321 PyObject
*args
= PyTuple_New(1);
1323 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1324 PyObject
*ofmt
= PyString_FromString(fmt
);
1326 res
= PyString_Format(ofmt
,args
);
1335 SWIGRUNTIME PyObject
*
1336 PySwigObject_oct(PySwigObject
*v
)
1338 return PySwigObject_format("%o",v
);
1341 SWIGRUNTIME PyObject
*
1342 PySwigObject_hex(PySwigObject
*v
)
1344 return PySwigObject_format("%x",v
);
1347 SWIGRUNTIME PyObject
*
1349 PySwigObject_repr(PySwigObject
*v
)
1351 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1354 const char *name
= SWIG_TypePrettyName(v
->ty
);
1355 PyObject
*hex
= PySwigObject_hex(v
);
1356 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1360 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1362 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1364 PyString_ConcatAndDel(&repr
,nrep
);
1370 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1373 PyObject
*repr
= PySwigObject_repr(v
);
1375 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1378 fputs(PyString_AsString(repr
), fp
);
1386 SWIGRUNTIME PyObject
*
1387 PySwigObject_str(PySwigObject
*v
)
1389 char result
[SWIG_BUFFER_SIZE
];
1390 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1391 PyString_FromString(result
) : 0;
1395 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1399 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1402 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1404 SWIGRUNTIME PyTypeObject
*
1405 PySwigObject_type(void) {
1406 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1410 SWIGRUNTIMEINLINE
int
1411 PySwigObject_Check(PyObject
*op
) {
1412 return ((op
)->ob_type
== PySwigObject_type())
1413 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1416 SWIGRUNTIME PyObject
*
1417 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1420 PySwigObject_dealloc(PyObject
*v
)
1422 PySwigObject
*sobj
= (PySwigObject
*) v
;
1423 PyObject
*next
= sobj
->next
;
1425 swig_type_info
*ty
= sobj
->ty
;
1426 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1427 PyObject
*destroy
= data
? data
->destroy
: 0;
1429 /* destroy is always a VARARGS method */
1431 if (data
->delargs
) {
1432 /* we need to create a temporal object to carry the destroy operation */
1433 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1434 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1437 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1438 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1439 res
= ((*meth
)(mself
, v
));
1443 const char *name
= SWIG_TypePrettyName(ty
);
1444 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1445 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1453 SWIGRUNTIME PyObject
*
1454 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1456 PySwigObject
*sobj
= (PySwigObject
*) v
;
1459 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1462 if (!PySwigObject_Check(next
)) {
1467 return SWIG_Py_Void();
1470 SWIGRUNTIME PyObject
*
1472 PySwigObject_next(PyObject
* v
)
1474 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1477 PySwigObject
*sobj
= (PySwigObject
*) v
;
1479 Py_INCREF(sobj
->next
);
1482 return SWIG_Py_Void();
1486 SWIGINTERN PyObject
*
1488 PySwigObject_disown(PyObject
*v
)
1490 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1493 PySwigObject
*sobj
= (PySwigObject
*)v
;
1495 return SWIG_Py_Void();
1498 SWIGINTERN PyObject
*
1500 PySwigObject_acquire(PyObject
*v
)
1502 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1505 PySwigObject
*sobj
= (PySwigObject
*)v
;
1506 sobj
->own
= SWIG_POINTER_OWN
;
1507 return SWIG_Py_Void();
1510 SWIGINTERN PyObject
*
1511 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1514 #if (PY_VERSION_HEX < 0x02020000)
1515 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1517 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1524 PySwigObject
*sobj
= (PySwigObject
*)v
;
1525 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1528 if (PyObject_IsTrue(val
)) {
1529 PySwigObject_acquire(v
);
1531 PySwigObject_disown(v
);
1534 if (PyObject_IsTrue(val
)) {
1535 PySwigObject_acquire(v
,args
);
1537 PySwigObject_disown(v
,args
);
1547 swigobject_methods
[] = {
1548 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1549 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1550 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1551 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1552 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1553 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1558 swigobject_methods
[] = {
1559 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1560 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1561 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1562 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1563 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1564 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1569 #if PY_VERSION_HEX < 0x02020000
1570 SWIGINTERN PyObject
*
1571 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1573 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1577 SWIGRUNTIME PyTypeObject
*
1578 _PySwigObject_type(void) {
1579 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1581 static PyNumberMethods PySwigObject_as_number
= {
1582 (binaryfunc
)0, /*nb_add*/
1583 (binaryfunc
)0, /*nb_subtract*/
1584 (binaryfunc
)0, /*nb_multiply*/
1585 (binaryfunc
)0, /*nb_divide*/
1586 (binaryfunc
)0, /*nb_remainder*/
1587 (binaryfunc
)0, /*nb_divmod*/
1588 (ternaryfunc
)0,/*nb_power*/
1589 (unaryfunc
)0, /*nb_negative*/
1590 (unaryfunc
)0, /*nb_positive*/
1591 (unaryfunc
)0, /*nb_absolute*/
1592 (inquiry
)0, /*nb_nonzero*/
1599 (coercion
)0, /*nb_coerce*/
1600 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1601 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1602 (unaryfunc
)0, /*nb_float*/
1603 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1604 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1605 #if PY_VERSION_HEX >= 0x02020000
1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1607 #elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1612 static PyTypeObject pyswigobject_type
;
1613 static int type_init
= 0;
1615 const PyTypeObject tmp
1617 PyObject_HEAD_INIT(NULL
)
1619 (char *)"PySwigObject", /* tp_name */
1620 sizeof(PySwigObject
), /* tp_basicsize */
1621 0, /* tp_itemsize */
1622 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1623 (printfunc
)PySwigObject_print
, /* tp_print */
1624 #if PY_VERSION_HEX < 0x02020000
1625 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1627 (getattrfunc
)0, /* tp_getattr */
1629 (setattrfunc
)0, /* tp_setattr */
1630 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1631 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1632 &PySwigObject_as_number
, /* tp_as_number */
1633 0, /* tp_as_sequence */
1634 0, /* tp_as_mapping */
1635 (hashfunc
)0, /* tp_hash */
1636 (ternaryfunc
)0, /* tp_call */
1637 (reprfunc
)PySwigObject_str
, /* tp_str */
1638 PyObject_GenericGetAttr
, /* tp_getattro */
1639 0, /* tp_setattro */
1640 0, /* tp_as_buffer */
1641 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1642 swigobject_doc
, /* tp_doc */
1643 0, /* tp_traverse */
1645 0, /* tp_richcompare */
1646 0, /* tp_weaklistoffset */
1647 #if PY_VERSION_HEX >= 0x02020000
1649 0, /* tp_iternext */
1650 swigobject_methods
, /* tp_methods */
1655 0, /* tp_descr_get */
1656 0, /* tp_descr_set */
1657 0, /* tp_dictoffset */
1666 0, /* tp_subclasses */
1667 0, /* tp_weaklist */
1669 #if PY_VERSION_HEX >= 0x02030000
1673 0,0,0,0 /* tp_alloc -> tp_next */
1676 pyswigobject_type
= tmp
;
1677 pyswigobject_type
.ob_type
= &PyType_Type
;
1680 return &pyswigobject_type
;
1683 SWIGRUNTIME PyObject
*
1684 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1686 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1693 return (PyObject
*)sobj
;
1696 /* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
1708 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1710 char result
[SWIG_BUFFER_SIZE
];
1711 fputs("<Swig Packed ", fp
);
1712 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1716 fputs(v
->ty
->name
,fp
);
1721 SWIGRUNTIME PyObject
*
1722 PySwigPacked_repr(PySwigPacked
*v
)
1724 char result
[SWIG_BUFFER_SIZE
];
1725 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1726 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1728 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1732 SWIGRUNTIME PyObject
*
1733 PySwigPacked_str(PySwigPacked
*v
)
1735 char result
[SWIG_BUFFER_SIZE
];
1736 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1737 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1739 return PyString_FromString(v
->ty
->name
);
1744 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1748 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1749 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1752 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1754 SWIGRUNTIME PyTypeObject
*
1755 PySwigPacked_type(void) {
1756 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1760 SWIGRUNTIMEINLINE
int
1761 PySwigPacked_Check(PyObject
*op
) {
1762 return ((op
)->ob_type
== _PySwigPacked_type())
1763 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1767 PySwigPacked_dealloc(PyObject
*v
)
1769 if (PySwigPacked_Check(v
)) {
1770 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1776 SWIGRUNTIME PyTypeObject
*
1777 _PySwigPacked_type(void) {
1778 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1779 static PyTypeObject pyswigpacked_type
;
1780 static int type_init
= 0;
1782 const PyTypeObject tmp
1784 PyObject_HEAD_INIT(NULL
)
1786 (char *)"PySwigPacked", /* tp_name */
1787 sizeof(PySwigPacked
), /* tp_basicsize */
1788 0, /* tp_itemsize */
1789 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1790 (printfunc
)PySwigPacked_print
, /* tp_print */
1791 (getattrfunc
)0, /* tp_getattr */
1792 (setattrfunc
)0, /* tp_setattr */
1793 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1794 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1795 0, /* tp_as_number */
1796 0, /* tp_as_sequence */
1797 0, /* tp_as_mapping */
1798 (hashfunc
)0, /* tp_hash */
1799 (ternaryfunc
)0, /* tp_call */
1800 (reprfunc
)PySwigPacked_str
, /* tp_str */
1801 PyObject_GenericGetAttr
, /* tp_getattro */
1802 0, /* tp_setattro */
1803 0, /* tp_as_buffer */
1804 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1805 swigpacked_doc
, /* tp_doc */
1806 0, /* tp_traverse */
1808 0, /* tp_richcompare */
1809 0, /* tp_weaklistoffset */
1810 #if PY_VERSION_HEX >= 0x02020000
1812 0, /* tp_iternext */
1818 0, /* tp_descr_get */
1819 0, /* tp_descr_set */
1820 0, /* tp_dictoffset */
1829 0, /* tp_subclasses */
1830 0, /* tp_weaklist */
1832 #if PY_VERSION_HEX >= 0x02030000
1836 0,0,0,0 /* tp_alloc -> tp_next */
1839 pyswigpacked_type
= tmp
;
1840 pyswigpacked_type
.ob_type
= &PyType_Type
;
1843 return &pyswigpacked_type
;
1846 SWIGRUNTIME PyObject
*
1847 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1849 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1851 void *pack
= malloc(size
);
1853 memcpy(pack
, ptr
, size
);
1858 PyObject_DEL((PyObject
*) sobj
);
1862 return (PyObject
*) sobj
;
1865 SWIGRUNTIME swig_type_info
*
1866 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1868 if (PySwigPacked_Check(obj
)) {
1869 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1870 if (sobj
->size
!= size
) return 0;
1871 memcpy(ptr
, sobj
->pack
, size
);
1878 /* -----------------------------------------------------------------------------
1879 * pointers/data manipulation
1880 * ----------------------------------------------------------------------------- */
1882 SWIGRUNTIMEINLINE PyObject
*
1885 return PyString_FromString("this");
1888 SWIGRUNTIME PyObject
*
1891 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1895 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1897 SWIGRUNTIME PySwigObject
*
1898 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1900 if (PySwigObject_Check(pyobj
)) {
1901 return (PySwigObject
*) pyobj
;
1904 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1905 if (PyInstance_Check(pyobj
)) {
1906 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1908 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1909 if (dictptr
!= NULL
) {
1910 PyObject
*dict
= *dictptr
;
1911 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1913 #ifdef PyWeakref_CheckProxy
1914 if (PyWeakref_CheckProxy(pyobj
)) {
1915 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1916 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1919 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1923 if (PyErr_Occurred()) PyErr_Clear();
1929 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1933 if (PyErr_Occurred()) PyErr_Clear();
1937 if (obj
&& !PySwigObject_Check(obj
)) {
1938 /* a PyObject is called 'this', try to get the 'real this'
1939 PySwigObject from it */
1940 return SWIG_Python_GetSwigThis(obj
);
1942 return (PySwigObject
*)obj
;
1946 /* Acquire a pointer value */
1949 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1951 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1953 int oldown
= sobj
->own
;
1961 /* Convert a pointer value */
1964 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1965 if (!obj
) return SWIG_ERROR
;
1966 if (obj
== Py_None
) {
1970 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1972 void *vptr
= sobj
->ptr
;
1974 swig_type_info
*to
= sobj
->ty
;
1976 /* no type cast needed */
1977 if (ptr
) *ptr
= vptr
;
1980 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1982 sobj
= (PySwigObject
*)sobj
->next
;
1984 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1989 if (ptr
) *ptr
= vptr
;
1994 if (own
) *own
= sobj
->own
;
1995 if (flags
& SWIG_POINTER_DISOWN
) {
2000 int res
= SWIG_ERROR
;
2001 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2002 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2003 if (data
&& !data
->implicitconv
) {
2004 PyObject
*klass
= data
->klass
;
2007 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2008 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2009 data
->implicitconv
= 0;
2010 if (PyErr_Occurred()) {
2015 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2018 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2019 if (SWIG_IsOK(res
)) {
2022 /* transfer the ownership to 'ptr' */
2024 res
= SWIG_AddCast(res
);
2025 res
= SWIG_AddNewMask(res
);
2027 res
= SWIG_AddCast(res
);
2041 /* Convert a function ptr value */
2044 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2045 if (!PyCFunction_Check(obj
)) {
2046 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2050 /* here we get the method pointer for callbacks */
2051 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2052 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2054 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2055 if (!desc
) return SWIG_ERROR
;
2058 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2059 if (!tc
) return SWIG_ERROR
;
2060 *ptr
= SWIG_TypeCast(tc
,vptr
);
2068 /* Convert a packed value value */
2071 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2072 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2073 if (!to
) return SWIG_ERROR
;
2076 /* check type cast? */
2077 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2078 if (!tc
) return SWIG_ERROR
;
2084 /* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
2089 Create a new instance object, whitout calling __init__, and set the
2093 SWIGRUNTIME PyObject
*
2094 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2096 #if (PY_VERSION_HEX >= 0x02020000)
2098 PyObject
*newraw
= data
->newraw
;
2100 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2102 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2103 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2104 if (dictptr
!= NULL
) {
2105 PyObject
*dict
= *dictptr
;
2107 dict
= PyDict_New();
2109 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2113 PyObject
*key
= SWIG_This();
2114 PyObject_SetAttr(inst
, key
, swig_this
);
2118 PyObject
*dict
= PyDict_New();
2119 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2120 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2125 #if (PY_VERSION_HEX >= 0x02010000)
2127 PyObject
*dict
= PyDict_New();
2128 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2129 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2131 return (PyObject
*) inst
;
2133 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2137 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2138 Py_INCREF(inst
->in_class
);
2139 inst
->in_dict
= PyDict_New();
2140 if (inst
->in_dict
== NULL
) {
2144 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2145 inst
->in_weakreflist
= NULL
;
2147 #ifdef Py_TPFLAGS_GC
2148 PyObject_GC_Init(inst
);
2150 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2151 return (PyObject
*) inst
;
2157 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2160 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2161 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2162 if (dictptr
!= NULL
) {
2165 dict
= PyDict_New();
2168 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2172 dict
= PyObject_GetAttrString(inst
, "__dict__");
2173 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2178 SWIGINTERN PyObject
*
2179 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2181 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2184 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2186 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2188 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2190 return SWIG_Py_Void();
2194 /* Create a new pointer object */
2196 SWIGRUNTIME PyObject
*
2197 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2199 return SWIG_Py_Void();
2201 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2202 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2203 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2204 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2205 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2215 /* Create a new packed object */
2217 SWIGRUNTIMEINLINE PyObject
*
2218 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2219 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2222 /* -----------------------------------------------------------------------------*
2224 * -----------------------------------------------------------------------------*/
2226 #ifdef SWIG_LINK_RUNTIME
2227 void *SWIG_ReturnGlobalTypeList(void *);
2230 SWIGRUNTIME swig_module_info
*
2231 SWIG_Python_GetModule(void) {
2232 static void *type_pointer
= (void *)0;
2233 /* first check if module already created */
2234 if (!type_pointer
) {
2235 #ifdef SWIG_LINK_RUNTIME
2236 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2238 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2239 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2240 if (PyErr_Occurred()) {
2242 type_pointer
= (void *)0;
2246 return (swig_module_info
*) type_pointer
;
2249 #if PY_MAJOR_VERSION < 2
2250 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2251 is copied out of Python/modsupport.c in python version 2.3.4 */
2253 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2256 if (!PyModule_Check(m
)) {
2257 PyErr_SetString(PyExc_TypeError
,
2258 "PyModule_AddObject() needs module as first arg");
2262 PyErr_SetString(PyExc_TypeError
,
2263 "PyModule_AddObject() needs non-NULL value");
2267 dict
= PyModule_GetDict(m
);
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2271 PyModule_GetName(m
));
2274 if (PyDict_SetItemString(dict
, name
, o
))
2282 SWIG_Python_DestroyModule(void *vptr
)
2284 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2285 swig_type_info
**types
= swig_module
->types
;
2287 for (i
=0; i
< swig_module
->size
; ++i
) {
2288 swig_type_info
*ty
= types
[i
];
2290 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2291 if (data
) PySwigClientData_Del(data
);
2294 Py_DECREF(SWIG_This());
2298 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2299 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2301 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2302 swig_empty_runtime_method_table
);
2303 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2304 if (pointer
&& module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2307 Py_XDECREF(pointer
);
2311 /* The python cached type query */
2312 SWIGRUNTIME PyObject
*
2313 SWIG_Python_TypeCache() {
2314 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2318 SWIGRUNTIME swig_type_info
*
2319 SWIG_Python_TypeQuery(const char *type
)
2321 PyObject
*cache
= SWIG_Python_TypeCache();
2322 PyObject
*key
= PyString_FromString(type
);
2323 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2324 swig_type_info
*descriptor
;
2326 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2328 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2329 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2331 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2332 PyDict_SetItem(cache
, key
, obj
);
2341 For backward compatibility only
2343 #define SWIG_POINTER_EXCEPTION 0
2344 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2348 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2350 if (PyErr_Occurred()) {
2352 PyObject
*value
= 0;
2353 PyObject
*traceback
= 0;
2354 PyErr_Fetch(&type
, &value
, &traceback
);
2356 PyObject
*old_str
= PyObject_Str(value
);
2360 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2362 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2373 SWIG_Python_ArgFail(int argnum
)
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2378 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2379 return SWIG_Python_AddErrMesg(mesg
, 1);
2385 SWIGRUNTIMEINLINE
const char *
2386 PySwigObject_GetDesc(PyObject
*self
)
2388 PySwigObject
*v
= (PySwigObject
*)self
;
2389 swig_type_info
*ty
= v
? v
->ty
: 0;
2390 return ty
? ty
->str
: (char*)"";
2394 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2397 #if defined(SWIG_COBJECT_TYPES)
2398 if (obj
&& PySwigObject_Check(obj
)) {
2399 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2401 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2408 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2410 PyObject
*str
= PyObject_Str(obj
);
2411 const char *cstr
= str
? PyString_AsString(str
) : 0;
2413 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2416 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2423 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2425 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2430 /* Convert a pointer value, signal an exception on a type mismatch */
2432 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2434 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2436 if (flags
& SWIG_POINTER_EXCEPTION
) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2438 SWIG_Python_ArgFail(argnum
);
2454 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2456 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2460 /* -------- TYPES TABLE (BEGIN) -------- */
2462 #define SWIGTYPE_p_buffer swig_types[0]
2463 #define SWIGTYPE_p_char swig_types[1]
2464 #define SWIGTYPE_p_form_ops_t swig_types[2]
2465 #define SWIGTYPE_p_int swig_types[3]
2466 #define SWIGTYPE_p_long swig_types[4]
2467 #define SWIGTYPE_p_unsigned_char swig_types[5]
2468 #define SWIGTYPE_p_unsigned_int swig_types[6]
2469 #define SWIGTYPE_p_unsigned_long swig_types[7]
2470 #define SWIGTYPE_p_wxANIHandler swig_types[8]
2471 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[9]
2472 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2473 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2474 #define SWIGTYPE_p_wxAppTraits swig_types[12]
2475 #define SWIGTYPE_p_wxArrayString swig_types[13]
2476 #define SWIGTYPE_p_wxBMPHandler swig_types[14]
2477 #define SWIGTYPE_p_wxBitmap swig_types[15]
2478 #define SWIGTYPE_p_wxBoxSizer swig_types[16]
2479 #define SWIGTYPE_p_wxButton swig_types[17]
2480 #define SWIGTYPE_p_wxCURHandler swig_types[18]
2481 #define SWIGTYPE_p_wxCaret swig_types[19]
2482 #define SWIGTYPE_p_wxChildFocusEvent swig_types[20]
2483 #define SWIGTYPE_p_wxCloseEvent swig_types[21]
2484 #define SWIGTYPE_p_wxColour swig_types[22]
2485 #define SWIGTYPE_p_wxCommandEvent swig_types[23]
2486 #define SWIGTYPE_p_wxContextMenuEvent swig_types[24]
2487 #define SWIGTYPE_p_wxControl swig_types[25]
2488 #define SWIGTYPE_p_wxControlWithItems swig_types[26]
2489 #define SWIGTYPE_p_wxCursor swig_types[27]
2490 #define SWIGTYPE_p_wxDC swig_types[28]
2491 #define SWIGTYPE_p_wxDateEvent swig_types[29]
2492 #define SWIGTYPE_p_wxDateTime swig_types[30]
2493 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[31]
2494 #define SWIGTYPE_p_wxDropFilesEvent swig_types[32]
2495 #define SWIGTYPE_p_wxDuplexMode swig_types[33]
2496 #define SWIGTYPE_p_wxEraseEvent swig_types[34]
2497 #define SWIGTYPE_p_wxEvent swig_types[35]
2498 #define SWIGTYPE_p_wxEventLoop swig_types[36]
2499 #define SWIGTYPE_p_wxEventLoopActivator swig_types[37]
2500 #define SWIGTYPE_p_wxEvtHandler swig_types[38]
2501 #define SWIGTYPE_p_wxFSFile swig_types[39]
2502 #define SWIGTYPE_p_wxFileSystem swig_types[40]
2503 #define SWIGTYPE_p_wxFileSystemHandler swig_types[41]
2504 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2505 #define SWIGTYPE_p_wxFocusEvent swig_types[43]
2506 #define SWIGTYPE_p_wxFont swig_types[44]
2507 #define SWIGTYPE_p_wxFrame swig_types[45]
2508 #define SWIGTYPE_p_wxGBPosition swig_types[46]
2509 #define SWIGTYPE_p_wxGBSizerItem swig_types[47]
2510 #define SWIGTYPE_p_wxGBSpan swig_types[48]
2511 #define SWIGTYPE_p_wxGIFHandler swig_types[49]
2512 #define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2513 #define SWIGTYPE_p_wxGridSizer swig_types[51]
2514 #define SWIGTYPE_p_wxICOHandler swig_types[52]
2515 #define SWIGTYPE_p_wxIconizeEvent swig_types[53]
2516 #define SWIGTYPE_p_wxIdleEvent swig_types[54]
2517 #define SWIGTYPE_p_wxImage swig_types[55]
2518 #define SWIGTYPE_p_wxImageHandler swig_types[56]
2519 #define SWIGTYPE_p_wxImageHistogram swig_types[57]
2520 #define SWIGTYPE_p_wxImage_HSVValue swig_types[58]
2521 #define SWIGTYPE_p_wxImage_RGBValue swig_types[59]
2522 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
2523 #define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
2524 #define SWIGTYPE_p_wxInputStream swig_types[62]
2525 #define SWIGTYPE_p_wxInternetFSHandler swig_types[63]
2526 #define SWIGTYPE_p_wxItemContainer swig_types[64]
2527 #define SWIGTYPE_p_wxJPEGHandler swig_types[65]
2528 #define SWIGTYPE_p_wxKeyEvent swig_types[66]
2529 #define SWIGTYPE_p_wxLayoutConstraints swig_types[67]
2530 #define SWIGTYPE_p_wxMaximizeEvent swig_types[68]
2531 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[69]
2532 #define SWIGTYPE_p_wxMenu swig_types[70]
2533 #define SWIGTYPE_p_wxMenuBar swig_types[71]
2534 #define SWIGTYPE_p_wxMenuBarBase swig_types[72]
2535 #define SWIGTYPE_p_wxMenuEvent swig_types[73]
2536 #define SWIGTYPE_p_wxMenuItem swig_types[74]
2537 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[75]
2538 #define SWIGTYPE_p_wxMouseEvent swig_types[76]
2539 #define SWIGTYPE_p_wxMoveEvent swig_types[77]
2540 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[78]
2541 #define SWIGTYPE_p_wxNcPaintEvent swig_types[79]
2542 #define SWIGTYPE_p_wxNotifyEvent swig_types[80]
2543 #define SWIGTYPE_p_wxObject swig_types[81]
2544 #define SWIGTYPE_p_wxOutputStream swig_types[82]
2545 #define SWIGTYPE_p_wxPCXHandler swig_types[83]
2546 #define SWIGTYPE_p_wxPNGHandler swig_types[84]
2547 #define SWIGTYPE_p_wxPNMHandler swig_types[85]
2548 #define SWIGTYPE_p_wxPaintEvent swig_types[86]
2549 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[87]
2550 #define SWIGTYPE_p_wxPaperSize swig_types[88]
2551 #define SWIGTYPE_p_wxPoint swig_types[89]
2552 #define SWIGTYPE_p_wxPoint2D swig_types[90]
2553 #define SWIGTYPE_p_wxPropagateOnce swig_types[91]
2554 #define SWIGTYPE_p_wxPropagationDisabler swig_types[92]
2555 #define SWIGTYPE_p_wxPyApp swig_types[93]
2556 #define SWIGTYPE_p_wxPyCommandEvent swig_types[94]
2557 #define SWIGTYPE_p_wxPyDropTarget swig_types[95]
2558 #define SWIGTYPE_p_wxPyEvent swig_types[96]
2559 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[97]
2560 #define SWIGTYPE_p_wxPyImageHandler swig_types[98]
2561 #define SWIGTYPE_p_wxPyInputStream swig_types[99]
2562 #define SWIGTYPE_p_wxPySizer swig_types[100]
2563 #define SWIGTYPE_p_wxPyValidator swig_types[101]
2564 #define SWIGTYPE_p_wxQuantize swig_types[102]
2565 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[103]
2566 #define SWIGTYPE_p_wxRealPoint swig_types[104]
2567 #define SWIGTYPE_p_wxRect swig_types[105]
2568 #define SWIGTYPE_p_wxRegion swig_types[106]
2569 #define SWIGTYPE_p_wxScrollEvent swig_types[107]
2570 #define SWIGTYPE_p_wxScrollWinEvent swig_types[108]
2571 #define SWIGTYPE_p_wxSetCursorEvent swig_types[109]
2572 #define SWIGTYPE_p_wxShowEvent swig_types[110]
2573 #define SWIGTYPE_p_wxSize swig_types[111]
2574 #define SWIGTYPE_p_wxSizeEvent swig_types[112]
2575 #define SWIGTYPE_p_wxSizer swig_types[113]
2576 #define SWIGTYPE_p_wxSizerItem swig_types[114]
2577 #define SWIGTYPE_p_wxStaticBox swig_types[115]
2578 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[116]
2579 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[117]
2580 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[118]
2581 #define SWIGTYPE_p_wxTIFFHandler swig_types[119]
2582 #define SWIGTYPE_p_wxToolTip swig_types[120]
2583 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[121]
2584 #define SWIGTYPE_p_wxValidator swig_types[122]
2585 #define SWIGTYPE_p_wxVisualAttributes swig_types[123]
2586 #define SWIGTYPE_p_wxWindow swig_types[124]
2587 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[125]
2588 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[126]
2589 #define SWIGTYPE_p_wxXPMHandler swig_types[127]
2590 #define SWIGTYPE_p_wxZipFSHandler swig_types[128]
2591 static swig_type_info
*swig_types
[130];
2592 static swig_module_info swig_module
= {swig_types
, 129, 0, 0, 0, 0};
2593 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2594 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2596 /* -------- TYPES TABLE (END) -------- */
2598 #if (PY_VERSION_HEX <= 0x02000000)
2599 # if !defined(SWIG_PYTHON_CLASSIC)
2600 # error "This python version requires to use swig with the '-classic' option"
2603 #if (PY_VERSION_HEX <= 0x02020000)
2604 # error "This python version requires to use swig with the '-nomodern' option"
2606 #if (PY_VERSION_HEX <= 0x02020000)
2607 # error "This python version requires to use swig with the '-nomodernargs' option"
2610 # error "This python version requires to use swig with the '-nofastunpack' option"
2613 /*-----------------------------------------------
2614 @(target):= _core_.so
2615 ------------------------------------------------*/
2616 #define SWIG_init init_core_
2618 #define SWIG_name "_core_"
2620 #define SWIGVERSION 0x010329
2623 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2624 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2627 #include <stdexcept>
2631 class PyObject_ptr
{
2636 PyObject_ptr() :_obj(0)
2640 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2645 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2647 if (initial_ref
) Py_XINCREF(_obj
);
2650 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2652 Py_XINCREF(item
._obj
);
2663 operator PyObject
*() const
2668 PyObject
*operator->() const
2677 struct PyObject_var
: PyObject_ptr
{
2678 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2680 PyObject_var
& operator = (PyObject
* obj
)
2690 #include "wx/wxPython/wxPython_int.h"
2691 #include "wx/wxPython/pyclasses.h"
2694 #ifndef wxPyUSE_EXPORT
2695 // Helper functions for dealing with SWIG objects and such. These are
2696 // located here so they know about the SWIG types and functions declared
2697 // in the wrapper code.
2699 #include <wx/hashmap.h>
2700 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
2703 // Maintains a hashmap of className to swig_type_info pointers. Given the
2704 // name of a class either looks up the type info in the cache, or scans the
2705 // SWIG tables for it.
2706 extern PyObject
* wxPyPtrTypeMap
;
2708 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
2710 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
2712 if (typeInfoCache
== NULL
)
2713 typeInfoCache
= new wxPyTypeInfoHashMap
;
2715 wxString
name(className
);
2716 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
2719 // it wasn't in the cache, so look it up from SWIG
2720 name
.Append(wxT(" *"));
2721 swigType
= SWIG_TypeQuery(name
.mb_str());
2723 // if it still wasn't found, try looking for a mapped name
2728 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
2729 (char*)(const char*)name
.mbc_str())) != NULL
) {
2730 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
2731 name
.Append(wxT(" *"));
2732 swigType
= SWIG_TypeQuery(name
.mb_str());
2736 // and add it to the map if found
2737 (*typeInfoCache
)[className
] = swigType
;
2744 // Check if a class name is a type known to SWIG
2745 bool wxPyCheckSwigType(const wxChar
* className
) {
2747 swig_type_info
* swigType
= wxPyFindSwigType(className
);
2748 return swigType
!= NULL
;
2752 // Given a pointer to a C++ object and a class name, construct a Python proxy
2754 PyObject
* wxPyConstructObject(void* ptr
,
2755 const wxChar
* className
,
2758 swig_type_info
* swigType
= wxPyFindSwigType(className
);
2759 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
2761 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
2765 // Extract a pointer to the wrapped C++ object from a Python proxy object.
2766 // Ensures that the proxy object is of the specified (or derived) type. If
2767 // not able to perform the conversion then a Python exception is set and the
2768 // error should be handled properly in the caller. Returns True on success.
2769 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
2770 const wxChar
* className
) {
2772 swig_type_info
* swigType
= wxPyFindSwigType(className
);
2773 wxCHECK_MSG(swigType
!= NULL
, false, wxT("Unknown type in wxPyConvertSwigPtr"));
2775 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
2780 // Make a SWIGified pointer object suitable for a .this attribute
2781 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
2783 PyObject
* robj
= NULL
;
2785 swig_type_info
* swigType
= wxPyFindSwigType(className
);
2786 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyMakeSwigPtr"));
2788 robj
= PySwigObject_New(ptr
, swigType
, 0);
2793 // Python's PyInstance_Check does not return True for instances of new-style
2794 // classes. This should get close enough for both new and old classes but I
2795 // should re-evaluate the need for doing instance checks...
2796 bool wxPyInstance_Check(PyObject
* obj
) {
2797 return PyObject_HasAttrString(obj
, "__class__") != 0;
2801 // This one checks if the object is an instance of a SWIG proxy class (it has
2802 // a .this attribute, and the .this attribute is a PySwigObject.)
2803 bool wxPySwigInstance_Check(PyObject
* obj
) {
2804 static PyObject
* this_str
= NULL
;
2805 if (this_str
== NULL
)
2806 this_str
= PyString_FromString("this");
2808 PyObject
* this_attr
= PyObject_GetAttr(obj
, this_str
);
2810 bool retval
= (PySwigObject_Check(this_attr
) != 0);
2811 Py_DECREF(this_attr
);
2820 // Export a C API in a struct. Other modules will be able to load this from
2821 // the wx._core_ module and will then have safe access to these functions,
2822 // even if they are located in another shared library.
2823 static wxPyCoreAPI API
= {
2826 wxPyConstructObject
,
2830 wxPyBeginAllowThreads
,
2831 wxPyEndAllowThreads
,
2832 wxPyBeginBlockThreads
,
2833 wxPyEndBlockThreads
,
2845 wxPoint_LIST_helper
,
2846 wxBitmap_LIST_helper
,
2847 wxString_LIST_helper
,
2848 wxAcceleratorEntry_LIST_helper
,
2857 wxPySimple_typecheck
,
2860 wxPyCBH_setCallbackInfo
,
2861 wxPyCBH_findCallback
,
2862 wxPyCBH_callCallback
,
2863 wxPyCBH_callCallbackObj
,
2869 wxPy2int_seq_helper
,
2870 wxPy4int_seq_helper
,
2871 wxArrayString2PyList_helper
,
2872 wxArrayInt2PyList_helper
,
2874 wxPyClientData_dtor
,
2876 wxPyOORClientData_dtor
,
2878 wxPyCBInputStream_create
,
2879 wxPyCBInputStream_copy
,
2882 wxPySwigInstance_Check
,
2891 #if !WXWIN_COMPATIBILITY_2_4
2892 #define wxHIDE_READONLY 0
2896 #define SWIG_From_long PyInt_FromLong
2899 SWIGINTERNINLINE PyObject
*
2900 SWIG_From_int (int value
)
2902 return SWIG_From_long (value
);
2905 static const wxString
wxPyEmptyString(wxEmptyString
);
2906 SWIGINTERN wxString
wxObject_GetClassName(wxObject
*self
){
2907 return self
->GetClassInfo()->GetClassName();
2909 SWIGINTERN
void wxObject_Destroy(wxObject
*self
){
2914 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
2920 # define LLONG_MIN LONG_LONG_MIN
2923 # define LLONG_MAX LONG_LONG_MAX
2926 # define ULLONG_MAX ULONG_LONG_MAX
2931 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2933 if (PyNumber_Check(obj
)) {
2934 if (val
) *val
= PyInt_AsLong(obj
);
2937 return SWIG_TypeError
;
2942 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2945 int res
= SWIG_AsVal_long (obj
, &v
);
2946 if (SWIG_IsOK(res
)) {
2947 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2948 return SWIG_OverflowError
;
2950 if (val
) *val
= static_cast< int >(v
);
2956 SWIGINTERN PyObject
*wxSize_Get(wxSize
*self
){
2957 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2958 PyObject
* tup
= PyTuple_New(2);
2959 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
2960 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
2961 wxPyEndBlockThreads(blocked
);
2966 SWIG_AsVal_double (PyObject
*obj
, double* val
)
2968 if (PyNumber_Check(obj
)) {
2969 if (val
) *val
= PyFloat_AsDouble(obj
);
2972 return SWIG_TypeError
;
2976 #define SWIG_From_double PyFloat_FromDouble
2978 SWIGINTERN
void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
2982 SWIGINTERN PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
2983 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2984 PyObject
* tup
= PyTuple_New(2);
2985 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
2986 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
2987 wxPyEndBlockThreads(blocked
);
2990 SWIGINTERN
void wxPoint_Set(wxPoint
*self
,long x
,long y
){
2994 SWIGINTERN PyObject
*wxPoint_Get(wxPoint
*self
){
2995 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2996 PyObject
* tup
= PyTuple_New(2);
2997 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
2998 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
2999 wxPyEndBlockThreads(blocked
);
3002 SWIGINTERN
void wxRect_Set(wxRect
*self
,int x
=0,int y
=0,int width
=0,int height
=0){
3005 self
->width
= width
;
3006 self
->height
= height
;
3008 SWIGINTERN PyObject
*wxRect_Get(wxRect
*self
){
3009 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3010 PyObject
* tup
= PyTuple_New(4);
3011 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
3012 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
3013 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
3014 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
3015 wxPyEndBlockThreads(blocked
);
3019 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
3022 wxRect
dest(0,0,0,0);
3025 reg1
.Intersect(reg2
);
3026 dest
= reg1
.GetBox();
3028 if (dest
!= wxRect(0,0,0,0)) {
3029 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3030 wxRect
* newRect
= new wxRect(dest
);
3031 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), true);
3032 wxPyEndBlockThreads(blocked
);
3039 SWIGINTERN
void wxPoint2D_Set(wxPoint2D
*self
,double x
=0,double y
=0){
3043 SWIGINTERN PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
3044 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3045 PyObject
* tup
= PyTuple_New(2);
3046 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
3047 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
3048 wxPyEndBlockThreads(blocked
);
3052 #include "wx/wxPython/pyistream.h"
3054 SWIGINTERN wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
3055 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
3057 return new wxPyInputStream(wxis
);
3062 SWIGINTERN swig_type_info
*
3063 SWIG_pchar_descriptor()
3065 static int init
= 0;
3066 static swig_type_info
* info
= 0;
3068 info
= SWIG_TypeQuery("_p_char");
3075 SWIGINTERNINLINE PyObject
*
3076 SWIG_FromCharPtrAndSize(const char* carray
, size_t size
)
3079 if (size
> INT_MAX
) {
3080 swig_type_info
* pchar_descriptor
= SWIG_pchar_descriptor();
3081 return pchar_descriptor
?
3082 SWIG_NewPointerObj(const_cast< char * >(carray
), pchar_descriptor
, 0) : SWIG_Py_Void();
3084 return PyString_FromStringAndSize(carray
, static_cast< int >(size
));
3087 return SWIG_Py_Void();
3092 SWIGINTERNINLINE PyObject
*
3093 SWIG_From_char (char c
)
3095 return SWIG_FromCharPtrAndSize(&c
,1);
3099 SWIGINTERNINLINE PyObject
*
3100 SWIG_From_unsigned_SS_long (unsigned long value
)
3102 return (value
> LONG_MAX
) ?
3103 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
3107 SWIGINTERNINLINE PyObject
*
3108 SWIG_From_size_t (size_t value
)
3110 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3115 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* psize
, int *alloc
)
3117 if (PyString_Check(obj
)) {
3118 char *cstr
; int len
;
3119 PyString_AsStringAndSize(obj
, &cstr
, &len
);
3123 In python the user should not be able to modify the inner
3124 string representation. To warranty that, if you define
3125 SWIG_PYTHON_SAFE_CSTRINGS, a new/copy of the python string
3126 buffer is always returned.
3128 The default behavior is just to return the pointer value,
3131 #if defined(SWIG_PYTHON_SAFE_CSTRINGS)
3132 if (*alloc
!= SWIG_OLDOBJ
)
3134 if (*alloc
== SWIG_NEWOBJ
)
3137 *cptr
= reinterpret_cast< char* >(memcpy((new char[len
+ 1]), cstr
, sizeof(char)*(len
+ 1)));
3138 *alloc
= SWIG_NEWOBJ
;
3142 *alloc
= SWIG_OLDOBJ
;
3145 *cptr
= PyString_AsString(obj
);
3148 if (psize
) *psize
= len
+ 1;
3151 swig_type_info
* pchar_descriptor
= SWIG_pchar_descriptor();
3152 if (pchar_descriptor
) {
3154 if (SWIG_ConvertPtr(obj
, &vptr
, pchar_descriptor
, 0) == SWIG_OK
) {
3155 if (cptr
) *cptr
= (char *) vptr
;
3156 if (psize
) *psize
= vptr
? (strlen((char *)vptr
) + 1) : 0;
3157 if (alloc
) *alloc
= SWIG_OLDOBJ
;
3162 return SWIG_TypeError
;
3167 SWIG_AsCharArray(PyObject
* obj
, char *val
, size_t size
)
3169 char* cptr
= 0; size_t csize
= 0; int alloc
= SWIG_OLDOBJ
;
3170 int res
= SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
, &alloc
);
3171 if (SWIG_IsOK(res
)) {
3172 if ((csize
== size
+ 1) && cptr
&& !(cptr
[csize
-1])) --csize
;
3173 if (csize
<= size
) {
3175 if (csize
) memcpy(val
, cptr
, csize
*sizeof(char));
3176 if (csize
< size
) memset(val
+ csize
, 0, (size
- csize
)*sizeof(char));
3178 if (alloc
== SWIG_NEWOBJ
) {
3180 res
= SWIG_DelNewMask(res
);
3184 if (alloc
== SWIG_NEWOBJ
) delete[] cptr
;
3186 return SWIG_TypeError
;
3191 SWIG_AsVal_char (PyObject
* obj
, char *val
)
3193 int res
= SWIG_AsCharArray(obj
, val
, 1);
3194 if (!SWIG_IsOK(res
)) {
3196 res
= SWIG_AddCast(SWIG_AsVal_long (obj
, &v
));
3197 if (SWIG_IsOK(res
)) {
3198 if ((CHAR_MIN
<= v
) && (v
<= CHAR_MAX
)) {
3199 if (val
) *val
= static_cast< char >(v
);
3201 res
= SWIG_OverflowError
;
3208 SWIGINTERN
void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
3209 // We use only strings for the streams, not unicode
3210 PyObject
* str
= PyObject_Str(obj
);
3212 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
3215 self
->Write(PyString_AS_STRING(str
),
3216 PyString_GET_SIZE(str
));
3220 #include "wx/wxPython/pyistream.h"
3223 class wxPyFileSystemHandler
: public wxFileSystemHandler
3226 wxPyFileSystemHandler() : wxFileSystemHandler() {}
3228 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
3229 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
3230 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
3231 DEC_PYCALLBACK_STRING__pure(FindNext
);
3233 wxString
GetProtocol(const wxString
& location
) {
3234 return wxFileSystemHandler::GetProtocol(location
);
3237 wxString
GetLeftLocation(const wxString
& location
) {
3238 return wxFileSystemHandler::GetLeftLocation(location
);
3241 wxString
GetAnchor(const wxString
& location
) {
3242 return wxFileSystemHandler::GetAnchor(location
);
3245 wxString
GetRightLocation(const wxString
& location
) {
3246 return wxFileSystemHandler::GetRightLocation(location
);
3249 wxString
GetMimeTypeFromExt(const wxString
& location
) {
3250 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
3257 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
3258 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
3259 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
3260 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
3264 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
3266 if (obj
== Py_True
) {
3267 if (val
) *val
= true;
3269 } else if (obj
== Py_False
) {
3270 if (val
) *val
= false;
3274 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
3275 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
3280 SWIGINTERN wxString
wxFileSystem_URLToFileName(wxString
const &url
){
3281 wxFileName fname
= wxFileSystem::URLToFileName(url
);
3282 return fname
.GetFullPath();
3285 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
3288 wxMemoryFSHandler::AddFile(filename
, image
, type
);
3291 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
3292 const wxBitmap
& bitmap
,
3294 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
3297 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
3299 if (! PyString_Check(data
)) {
3300 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
3301 "Expected string object"));
3305 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3306 void* ptr
= (void*)PyString_AsString(data
);
3307 size_t size
= PyString_Size(data
);
3308 wxPyEndBlockThreads(blocked
);
3310 wxMemoryFSHandler::AddFile(filename
, ptr
, size
);
3314 #include "wx/wxPython/pyistream.h"
3318 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
3321 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
3322 return SWIG_TypeError
;
3325 *val
= (unsigned long)v
;
3331 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
3334 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
3335 if (SWIG_IsOK(res
)) {
3336 if ((v
> UCHAR_MAX
)) {
3337 return SWIG_OverflowError
;
3339 if (val
) *val
= static_cast< unsigned char >(v
);
3346 SWIGINTERNINLINE PyObject
*
3347 SWIG_From_unsigned_SS_char (unsigned char value
)
3349 return SWIG_From_unsigned_SS_long (value
);
3352 SWIGINTERN
unsigned long wxImageHistogram_GetCount(wxImageHistogram
*self
,unsigned long key
){
3353 wxImageHistogramEntry e
= (*self
)[key
];
3356 SWIGINTERN
unsigned long wxImageHistogram_GetCountRGB(wxImageHistogram
*self
,byte r
,byte g
,byte b
){
3357 unsigned long key
= wxImageHistogram::MakeKey(r
, g
, b
);
3358 wxImageHistogramEntry e
= (*self
)[key
];
3361 SWIGINTERN
unsigned long wxImageHistogram_GetCountColour(wxImageHistogram
*self
,wxColour
const &colour
){
3362 unsigned long key
= wxImageHistogram::MakeKey(colour
.Red(),
3365 wxImageHistogramEntry e
= (*self
)[key
];
3369 typedef unsigned char* buffer
;
3372 // Pull the nested class out to the top level for SWIG's sake
3373 #define wxImage_RGBValue wxImage::RGBValue
3374 #define wxImage_HSVValue wxImage::HSVValue
3376 SWIGINTERN wxImage
*new_wxImage(int width
=0,int height
=0,bool clear
=true){
3377 if (width
> 0 && height
> 0)
3378 return new wxImage(width
, height
, clear
);
3382 SWIGINTERN wxImage
*new_wxImage(wxBitmap
const &bitmap
){
3383 return new wxImage(bitmap
.ConvertToImage());
3385 SWIGINTERN wxImage
*new_wxImage(int width
,int height
,buffer data
,int DATASIZE
){
3386 if (DATASIZE
!= width
*height
*3) {
3387 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3391 // Copy the source data so the wxImage can clean it up later
3392 buffer copy
= (buffer
)malloc(DATASIZE
);
3394 wxPyBLOCK_THREADS(PyErr_NoMemory());
3397 memcpy(copy
, data
, DATASIZE
);
3398 return new wxImage(width
, height
, copy
, false);
3400 SWIGINTERN wxImage
*new_wxImage(int width
,int height
,buffer data
,int DATASIZE
,buffer alpha
,int ALPHASIZE
){
3401 if (DATASIZE
!= width
*height
*3) {
3402 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3405 if (ALPHASIZE
!= width
*height
) {
3406 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3410 // Copy the source data so the wxImage can clean it up later
3411 buffer dcopy
= (buffer
)malloc(DATASIZE
);
3412 if (dcopy
== NULL
) {
3413 wxPyBLOCK_THREADS(PyErr_NoMemory());
3416 memcpy(dcopy
, data
, DATASIZE
);
3418 buffer acopy
= (buffer
)malloc(ALPHASIZE
);
3419 if (acopy
== NULL
) {
3420 wxPyBLOCK_THREADS(PyErr_NoMemory());
3423 memcpy(acopy
, alpha
, ALPHASIZE
);
3425 return new wxImage(width
, height
, dcopy
, acopy
, false);
3427 SWIGINTERN wxSize
wxImage_GetSize(wxImage
*self
){
3428 wxSize
size(self
->GetWidth(), self
->GetHeight());
3431 SWIGINTERN PyObject
*wxImage_GetData(wxImage
*self
){
3432 buffer data
= self
->GetData();
3433 int len
= self
->GetWidth() * self
->GetHeight() * 3;
3435 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
3438 SWIGINTERN
void wxImage_SetData(wxImage
*self
,buffer data
,int DATASIZE
){
3439 if (DATASIZE
!= self
->GetWidth() * self
->GetHeight() * 3) {
3440 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3443 buffer copy
= (buffer
)malloc(DATASIZE
);
3445 wxPyBLOCK_THREADS(PyErr_NoMemory());
3448 memcpy(copy
, data
, DATASIZE
);
3449 self
->SetData(copy
, false);
3450 // wxImage takes ownership of copy...
3452 SWIGINTERN PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
3453 buffer data
= self
->GetData();
3454 int len
= self
->GetWidth() * self
->GetHeight() * 3;
3456 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
3459 SWIGINTERN
void wxImage_SetDataBuffer(wxImage
*self
,buffer data
,int DATASIZE
){
3460 if (DATASIZE
!= self
->GetWidth() * self
->GetHeight() * 3) {
3461 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3464 self
->SetData(data
, true);
3466 SWIGINTERN PyObject
*wxImage_GetAlphaData(wxImage
*self
){
3467 buffer data
= self
->GetAlpha();
3471 int len
= self
->GetWidth() * self
->GetHeight();
3473 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
3477 SWIGINTERN
void wxImage_SetAlphaData(wxImage
*self
,buffer alpha
,int ALPHASIZE
){
3478 if (ALPHASIZE
!= self
->GetWidth() * self
->GetHeight()) {
3479 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3482 buffer acopy
= (buffer
)malloc(ALPHASIZE
);
3483 if (acopy
== NULL
) {
3484 wxPyBLOCK_THREADS(PyErr_NoMemory());
3487 memcpy(acopy
, alpha
, ALPHASIZE
);
3488 self
->SetAlpha(acopy
, false);
3489 // wxImage takes ownership of acopy...
3491 SWIGINTERN PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
3492 buffer data
= self
->GetAlpha();
3493 int len
= self
->GetWidth() * self
->GetHeight();
3495 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
3498 SWIGINTERN
void wxImage_SetAlphaBuffer(wxImage
*self
,buffer alpha
,int ALPHASIZE
){
3499 if (ALPHASIZE
!= self
->GetWidth() * self
->GetHeight()) {
3500 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3503 self
->SetAlpha(alpha
, true);
3505 SWIGINTERN PyObject
*wxImage_GetHandlers(){
3506 wxList
& list
= wxImage::GetHandlers();
3507 return wxPy_ConvertList(&list
);
3509 SWIGINTERN wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
,int depth
=-1){
3510 wxBitmap
bitmap(*self
, depth
);
3513 SWIGINTERN wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,byte red
,byte green
,byte blue
){
3514 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
3515 wxBitmap
bitmap( mono
, 1 );
3518 static const wxString
wxPyIMAGE_OPTION_FILENAME(wxIMAGE_OPTION_FILENAME
);
3519 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
3520 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
3521 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
3522 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
3523 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONX(wxIMAGE_OPTION_RESOLUTIONX
);
3524 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONY(wxIMAGE_OPTION_RESOLUTIONY
);
3525 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
3526 static const wxString
wxPyIMAGE_OPTION_QUALITY(wxIMAGE_OPTION_QUALITY
);
3527 static const wxString
wxPyIMAGE_OPTION_BITSPERSAMPLE(wxIMAGE_OPTION_BITSPERSAMPLE
);
3528 static const wxString
wxPyIMAGE_OPTION_SAMPLESPERPIXEL(wxIMAGE_OPTION_SAMPLESPERPIXEL
);
3529 static const wxString
wxPyIMAGE_OPTION_COMPRESSION(wxIMAGE_OPTION_COMPRESSION
);
3530 static const wxString
wxPyIMAGE_OPTION_IMAGEDESCRIPTOR(wxIMAGE_OPTION_IMAGEDESCRIPTOR
);
3531 static const wxString
wxPyIMAGE_OPTION_PNG_FORMAT(wxIMAGE_OPTION_PNG_FORMAT
);
3532 static const wxString
wxPyIMAGE_OPTION_PNG_BITDEPTH(wxIMAGE_OPTION_PNG_BITDEPTH
);
3534 #include <wx/quantize.h>
3536 SWIGINTERN
bool wxQuantize_Quantize(wxImage
const &src
,wxImage
&dest
,int desiredNoColours
=236,int flags
=wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
){
3537 return wxQuantize::Quantize(src
, dest
,
3540 NULL
, // eightBitData
3543 SWIGINTERN
void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
3544 if (PyCallable_Check(func
)) {
3545 self
->Connect(id
, lastId
, eventType
,
3546 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
3547 new wxPyCallback(func
));
3549 else if (func
== Py_None
) {
3550 self
->Disconnect(id
, lastId
, eventType
,
3551 (wxObjectEventFunction
)
3552 &wxPyCallback::EventThunker
);
3556 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
3559 SWIGINTERN
bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
=-1,wxEventType eventType
=wxEVT_NULL
){
3560 return self
->Disconnect(id
, lastId
, eventType
,
3561 (wxObjectEventFunction
)
3562 &wxPyCallback::EventThunker
);
3564 SWIGINTERN
void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
,bool incref
=true){
3565 if (_self
&& _self
!= Py_None
) {
3566 self
->SetClientObject(new wxPyOORClientData(_self
, incref
));
3569 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
3571 self
->SetClientObject(NULL
); // This will delete it too
3577 #define wxEVT_HOTKEY -9999
3580 SWIGINTERN PyObject
*wxCommandEvent_GetClientData(wxCommandEvent
*self
){
3581 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject();
3583 Py_INCREF(data
->m_obj
);
3590 SWIGINTERN
void wxCommandEvent_SetClientData(wxCommandEvent
*self
,PyObject
*clientData
){
3591 wxPyClientData
* data
= new wxPyClientData(clientData
);
3592 self
->SetClientObject(data
);
3594 SWIGINTERN
int wxKeyEvent_GetUnicodeKey(wxKeyEvent
*self
){
3596 return self
->GetUnicodeKey();
3602 SWIGINTERNINLINE PyObject
*
3603 SWIG_From_unsigned_SS_int (unsigned int value
)
3605 return SWIG_From_unsigned_SS_long (value
);
3610 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
3613 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
3614 if (SWIG_IsOK(res
)) {
3615 if ((v
> UINT_MAX
)) {
3616 return SWIG_OverflowError
;
3618 if (val
) *val
= static_cast< unsigned int >(v
);
3624 SWIGINTERN
void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
3625 self
->m_size
= size
;
3627 SWIGINTERN PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
3628 int count
= self
->GetNumberOfFiles();
3629 wxString
* files
= self
->GetFiles();
3630 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3631 PyObject
* list
= PyList_New(count
);
3634 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
3635 wxPyEndBlockThreads(blocked
);
3639 for (int i
=0; i
<count
; i
++) {
3640 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
3642 wxPyEndBlockThreads(blocked
);
3647 SWIGINTERN wxPyApp
*new_wxPyApp(){
3648 wxPythonApp
= new wxPyApp();
3651 SWIGINTERN
int wxPyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
3653 void wxApp_CleanUp() {
3658 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
3664 SWIGINTERNINLINE PyObject
*
3665 SWIG_FromCharPtr(const char *cptr
)
3667 return SWIG_FromCharPtrAndSize(cptr
, (cptr
? strlen(cptr
) : 0));
3671 #if 0 // #ifdef __WXMAC__
3673 // A dummy class that raises an exception if used...
3677 wxEventLoop() { wxPyRaiseNotImplemented(); }
3678 int Run() { return 0; }
3679 void Exit(int rc
= 0) {}
3680 bool Pending() const { return false; }
3681 bool Dispatch() { return false; }
3682 bool IsRunning() const { return false; }
3683 static wxEventLoop
*GetActive() { wxPyRaiseNotImplemented(); return NULL
; }
3684 static void SetActive(wxEventLoop
* loop
) { wxPyRaiseNotImplemented(); }
3689 #include <wx/evtloop.h>
3695 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
3696 SWIGINTERN wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
3697 SWIGINTERN
void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
3698 SWIGINTERN PyObject
*wxWindow_GetChildren(wxWindow
*self
){
3699 wxWindowList
& list
= self
->GetChildren();
3700 return wxPy_ConvertList(&list
);
3702 SWIGINTERN
bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
3704 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
3709 SWIGINTERN
bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
3716 SWIGINTERN
long wxWindow_GetHandle(wxWindow
*self
){
3717 return wxPyGetWinHandle(self
);
3719 SWIGINTERN
void wxWindow_AssociateHandle(wxWindow
*self
,long handle
){
3720 self
->AssociateHandle((WXWidget
)handle
);
3722 SWIGINTERN
void wxWindow_DragAcceptFiles(wxWindow
*self
,bool accept
){}
3724 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
3725 return wxWindow::FindWindowById(id
, parent
);
3728 wxWindow
* wxFindWindowByName( const wxString
& name
,
3729 const wxWindow
*parent
= NULL
) {
3730 return wxWindow::FindWindowByName(name
, parent
);
3733 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
3734 const wxWindow
*parent
= NULL
) {
3735 return wxWindow::FindWindowByLabel(label
, parent
);
3740 #include <wx/msw/private.h> // to get wxGetWindowId
3744 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
3746 WXHWND hWnd
= (WXHWND
)_hWnd
;
3747 long id
= wxGetWindowId(hWnd
);
3748 wxWindow
* win
= new wxWindow
;
3750 parent
->AddChild(win
);
3751 win
->SetEventHandler(win
);
3754 win
->SubclassWin(hWnd
);
3755 win
->AdoptAttributesFromHWND();
3756 win
->SetupColours();
3759 wxPyRaiseNotImplemented();
3765 PyObject
* GetTopLevelWindows() {
3766 return wxPy_ConvertList(&wxTopLevelWindows
);
3770 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
3771 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
3772 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
3774 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
3777 SWIGINTERNINLINE
int
3778 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3781 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3782 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3786 SWIGINTERN
void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
3787 SWIGINTERN PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
3788 wxMenuItemList
& list
= self
->GetMenuItems();
3789 return wxPy_ConvertList(&list
);
3791 SWIGINTERN
void wxMenuBar_SetAutoWindowMenu(bool enable
){}
3792 SWIGINTERN
bool wxMenuBar_GetAutoWindowMenu(){ return false; }
3793 SWIGINTERN
void wxMenuItem_SetFont(wxMenuItem
*self
,wxFont
const &font
){}
3794 SWIGINTERN wxFont
wxMenuItem_GetFont(wxMenuItem
*self
){ return wxNullFont
; }
3795 SWIGINTERN
void wxMenuItem_SetTextColour(wxMenuItem
*self
,wxColour
const &colText
){}
3796 SWIGINTERN wxColour
wxMenuItem_GetTextColour(wxMenuItem
*self
){ return wxNullColour
; }
3797 SWIGINTERN
void wxMenuItem_SetBackgroundColour(wxMenuItem
*self
,wxColour
const &colBack
){}
3798 SWIGINTERN wxColour
wxMenuItem_GetBackgroundColour(wxMenuItem
*self
){ return wxNullColour
; }
3799 SWIGINTERN
void wxMenuItem_SetBitmaps(wxMenuItem
*self
,wxBitmap
const &bmpChecked
,wxBitmap
const &bmpUnchecked
=wxNullBitmap
){ self
->SetBitmap( bmpChecked
); }
3800 SWIGINTERN
void wxMenuItem_SetDisabledBitmap(wxMenuItem
*self
,wxBitmap
const &bmpDisabled
){}
3801 SWIGINTERN wxBitmap
const &wxMenuItem_GetDisabledBitmap(wxMenuItem
const *self
){ return wxNullBitmap
; }
3802 SWIGINTERN
void wxMenuItem_SetMarginWidth(wxMenuItem
*self
,int nWidth
){}
3803 SWIGINTERN
int wxMenuItem_GetMarginWidth(wxMenuItem
*self
){ return 0; }
3804 SWIGINTERN
int wxMenuItem_GetDefaultMarginWidth(){ return 0; }
3805 SWIGINTERN
bool wxMenuItem_IsOwnerDrawn(wxMenuItem
*self
){ return false; }
3806 SWIGINTERN
void wxMenuItem_SetOwnerDrawn(wxMenuItem
*self
,bool ownerDrawn
=true){}
3807 SWIGINTERN
void wxMenuItem_ResetOwnerDrawn(wxMenuItem
*self
){}
3808 static const wxString
wxPyControlNameStr(wxControlNameStr
);
3809 SWIGINTERN
int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
=NULL
){
3811 wxPyClientData
* data
= new wxPyClientData(clientData
);
3812 return self
->Append(item
, data
);
3814 return self
->Append(item
);
3816 SWIGINTERN
int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,unsigned int pos
,PyObject
*clientData
=NULL
){
3818 wxPyClientData
* data
= new wxPyClientData(clientData
);
3819 return self
->Insert(item
, pos
, data
);
3821 return self
->Insert(item
, pos
);
3823 SWIGINTERN PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,unsigned int n
){
3824 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
3826 Py_INCREF(data
->m_obj
);
3833 SWIGINTERN
void wxItemContainer_SetClientData(wxItemContainer
*self
,unsigned int n
,PyObject
*clientData
){
3834 wxPyClientData
* data
= new wxPyClientData(clientData
);
3835 self
->SetClientObject(n
, data
);
3839 SWIGINTERN wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
3840 wxPyUserData
* data
= NULL
;
3842 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3843 data
= new wxPyUserData(userData
);
3844 wxPyEndBlockThreads(blocked
);
3846 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
3848 SWIGINTERN wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
3849 wxPyUserData
* data
= NULL
;
3851 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3852 data
= new wxPyUserData(userData
);
3853 wxPyEndBlockThreads(blocked
);
3855 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
3857 SWIGINTERN wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
3858 wxPyUserData
* data
= NULL
;
3860 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3861 data
= new wxPyUserData(userData
);
3862 wxPyEndBlockThreads(blocked
);
3864 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
3871 SWIG_AsVal_float (PyObject
* obj
, float *val
)
3874 int res
= SWIG_AsVal_double (obj
, &v
);
3875 if (SWIG_IsOK(res
)) {
3876 if ((v
< -FLT_MAX
|| v
> FLT_MAX
)) {
3877 return SWIG_OverflowError
;
3879 if (val
) *val
= static_cast< float >(v
);
3886 SWIGINTERNINLINE PyObject
*
3887 SWIG_From_float (float value
)
3889 return SWIG_From_double (value
);
3892 SWIGINTERN PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
3893 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
3895 Py_INCREF(data
->m_obj
);
3902 SWIGINTERN
void wxSizerItem_SetUserData(wxSizerItem
*self
,PyObject
*userData
){
3903 wxPyUserData
* data
= NULL
;
3905 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3906 data
= new wxPyUserData(userData
);
3907 wxPyEndBlockThreads(blocked
);
3909 self
->SetUserData(data
);
3912 // Figure out the type of the sizer item
3914 struct wxPySizerItemInfo
{
3916 : window(NULL
), sizer(NULL
), gotSize(false),
3917 size(wxDefaultSize
), gotPos(false), pos(-1)
3928 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
3930 wxPySizerItemInfo info
;
3932 wxSize
* sizePtr
= &size
;
3934 // Find out what the type of the item is
3936 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
3941 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
3945 // try wxSize or (w,h)
3946 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
3947 info
.size
= *sizePtr
;
3948 info
.gotSize
= true;
3952 if (checkIdx
&& PyInt_Check(item
)) {
3953 info
.pos
= PyInt_AsLong(item
);
3959 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
3960 // no expected type, figure out what kind of error message to generate
3961 if ( !checkSize
&& !checkIdx
)
3962 PyErr_SetString(PyExc_TypeError
, "wx.Window or wx.Sizer expected for item");
3963 else if ( checkSize
&& !checkIdx
)
3964 PyErr_SetString(PyExc_TypeError
, "wx.Window, wx.Sizer, wx.Size, or (w,h) expected for item");
3965 else if ( !checkSize
&& checkIdx
)
3966 PyErr_SetString(PyExc_TypeError
, "wx.Window, wx.Sizer or int (position) expected for item");
3968 // can this one happen?
3969 PyErr_SetString(PyExc_TypeError
, "wx.Window, wx.Sizer, wx.Size, or (w,h) or int (position) expected for item");
3975 SWIGINTERN
void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
3976 if (!self
->GetClientObject())
3977 self
->SetClientObject(new wxPyOORClientData(_self
));
3979 SWIGINTERN wxSizerItem
*wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3981 wxPyUserData
* data
= NULL
;
3982 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3983 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3984 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3985 data
= new wxPyUserData(userData
);
3987 PyObject_SetAttrString(item
,"thisown",Py_False
);
3988 wxPyEndBlockThreads(blocked
);
3990 // Now call the real Add method if a valid item type was found
3992 return self
->Add(info
.window
, proportion
, flag
, border
, data
);
3993 else if ( info
.sizer
)
3994 return self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
3995 else if (info
.gotSize
)
3996 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
3997 proportion
, flag
, border
, data
);
4001 SWIGINTERN wxSizerItem
*wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
4003 wxPyUserData
* data
= NULL
;
4004 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4005 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
4006 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
4007 data
= new wxPyUserData(userData
);
4009 PyObject_SetAttrString(item
,"thisown",Py_False
);
4010 wxPyEndBlockThreads(blocked
);
4012 // Now call the real Insert method if a valid item type was found
4014 return self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
4015 else if ( info
.sizer
)
4016 return self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
4017 else if (info
.gotSize
)
4018 return self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
4019 proportion
, flag
, border
, data
);
4023 SWIGINTERN wxSizerItem
*wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
4025 wxPyUserData
* data
= NULL
;
4026 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4027 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
4028 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
4029 data
= new wxPyUserData(userData
);
4031 PyObject_SetAttrString(item
,"thisown",Py_False
);
4032 wxPyEndBlockThreads(blocked
);
4034 // Now call the real Prepend method if a valid item type was found
4036 return self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
4037 else if ( info
.sizer
)
4038 return self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
4039 else if (info
.gotSize
)
4040 return self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
4041 proportion
, flag
, border
, data
);
4045 SWIGINTERN
bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
4046 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4047 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
4048 wxPyEndBlockThreads(blocked
);
4050 return self
->Remove(info
.window
);
4051 else if ( info
.sizer
)
4052 return self
->Remove(info
.sizer
);
4053 else if ( info
.gotPos
)
4054 return self
->Remove(info
.pos
);
4058 SWIGINTERN
bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
4059 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4060 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
4061 wxPyEndBlockThreads(blocked
);
4063 return self
->Detach(info
.window
);
4064 else if ( info
.sizer
)
4065 return self
->Detach(info
.sizer
);
4066 else if ( info
.gotPos
)
4067 return self
->Detach(info
.pos
);
4071 SWIGINTERN wxSizerItem
*wxSizer_GetItem(wxSizer
*self
,PyObject
*item
){
4072 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4073 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
4074 wxPyEndBlockThreads(blocked
);
4076 return self
->GetItem(info
.window
);
4077 else if ( info
.sizer
)
4078 return self
->GetItem(info
.sizer
);
4079 else if ( info
.gotPos
)
4080 return self
->GetItem(info
.pos
);
4084 SWIGINTERN
void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
4085 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4086 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
4087 wxPyEndBlockThreads(blocked
);
4089 self
->SetItemMinSize(info
.window
, size
);
4090 else if ( info
.sizer
)
4091 self
->SetItemMinSize(info
.sizer
, size
);
4092 else if ( info
.gotPos
)
4093 self
->SetItemMinSize(info
.pos
, size
);
4095 SWIGINTERN PyObject
*wxSizer_GetChildren(wxSizer
*self
){
4096 wxSizerItemList
& list
= self
->GetChildren();
4097 return wxPy_ConvertList(&list
);
4099 SWIGINTERN
bool wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
=true,bool recursive
=false){
4100 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4101 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
4102 wxPyEndBlockThreads(blocked
);
4104 return self
->Show(info
.window
, show
, recursive
);
4105 else if ( info
.sizer
)
4106 return self
->Show(info
.sizer
, show
, recursive
);
4107 else if ( info
.gotPos
)
4108 return self
->Show(info
.pos
, show
);
4112 SWIGINTERN
bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
4113 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4114 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, false);
4115 wxPyEndBlockThreads(blocked
);
4117 return self
->IsShown(info
.window
);
4118 else if ( info
.sizer
)
4119 return self
->IsShown(info
.sizer
);
4120 else if ( info
.gotPos
)
4121 return self
->IsShown(info
.pos
);
4127 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
4128 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
4129 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
4134 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
4136 if (source
== Py_None
) {
4137 **obj
= wxGBPosition(-1,-1);
4140 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
4143 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
4145 if (source
== Py_None
) {
4146 **obj
= wxGBSpan(-1,-1);
4149 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
4153 SWIGINTERN
void wxGBPosition_Set(wxGBPosition
*self
,int row
=0,int col
=0){
4157 SWIGINTERN PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
4158 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4159 PyObject
* tup
= PyTuple_New(2);
4160 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
4161 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
4162 wxPyEndBlockThreads(blocked
);
4165 SWIGINTERN
void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
=1,int colspan
=1){
4166 self
->SetRowspan(rowspan
);
4167 self
->SetColspan(colspan
);
4169 SWIGINTERN PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
4170 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4171 PyObject
* tup
= PyTuple_New(2);
4172 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
4173 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
4174 wxPyEndBlockThreads(blocked
);
4177 SWIGINTERN wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
4178 wxPyUserData
* data
= NULL
;
4180 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4181 data
= new wxPyUserData(userData
);
4182 wxPyEndBlockThreads(blocked
);
4184 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
4186 SWIGINTERN wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
4187 wxPyUserData
* data
= NULL
;
4189 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4190 data
= new wxPyUserData(userData
);
4191 wxPyEndBlockThreads(blocked
);
4193 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
4195 SWIGINTERN wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
4196 wxPyUserData
* data
= NULL
;
4198 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4199 data
= new wxPyUserData(userData
);
4200 wxPyEndBlockThreads(blocked
);
4202 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
4204 SWIGINTERN wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
4206 self
->GetEndPos(row
, col
);
4207 return wxGBPosition(row
, col
);
4209 SWIGINTERN wxGBSizerItem
*wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
=wxDefaultSpan
,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
4211 wxPyUserData
* data
= NULL
;
4212 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4213 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
4214 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
4215 data
= new wxPyUserData(userData
);
4217 PyObject_SetAttrString(item
,"thisown",Py_False
);
4218 wxPyEndBlockThreads(blocked
);
4220 // Now call the real Add method if a valid item type was found
4222 return (wxGBSizerItem
*)self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
4223 else if ( info
.sizer
)
4224 return (wxGBSizerItem
*)self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
4225 else if (info
.gotSize
)
4226 return (wxGBSizerItem
*)self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
4227 pos
, span
, flag
, border
, data
);
4235 SWIGINTERN
int EmptyString_set(PyObject
*) {
4236 SWIG_Error(SWIG_AttributeError
,"Variable EmptyString is read-only.");
4241 SWIGINTERN PyObject
*EmptyString_get(void) {
4242 PyObject
*pyobj
= 0;
4246 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
4248 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
4255 SWIGINTERN PyObject
*_wrap_Object_GetClassName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4256 PyObject
*resultobj
= 0;
4257 wxObject
*arg1
= (wxObject
*) 0 ;
4261 PyObject
*swig_obj
[1] ;
4263 if (!args
) SWIG_fail
;
4265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
4266 if (!SWIG_IsOK(res1
)) {
4267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Object_GetClassName" "', expected argument " "1"" of type '" "wxObject *""'");
4269 arg1
= reinterpret_cast< wxObject
* >(argp1
);
4271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4272 result
= wxObject_GetClassName(arg1
);
4273 wxPyEndAllowThreads(__tstate
);
4274 if (PyErr_Occurred()) SWIG_fail
;
4278 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4280 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4289 SWIGINTERN PyObject
*_wrap_Object_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4290 PyObject
*resultobj
= 0;
4291 wxObject
*arg1
= (wxObject
*) 0 ;
4294 PyObject
*swig_obj
[1] ;
4296 if (!args
) SWIG_fail
;
4298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
4299 if (!SWIG_IsOK(res1
)) {
4300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Object_Destroy" "', expected argument " "1"" of type '" "wxObject *""'");
4302 arg1
= reinterpret_cast< wxObject
* >(argp1
);
4304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4305 wxObject_Destroy(arg1
);
4306 wxPyEndAllowThreads(__tstate
);
4307 if (PyErr_Occurred()) SWIG_fail
;
4309 resultobj
= SWIG_Py_Void();
4316 SWIGINTERN PyObject
*Object_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4318 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4319 SWIG_TypeNewClientData(SWIGTYPE_p_wxObject
, SWIG_NewClientData(obj
));
4320 return SWIG_Py_Void();
4323 SWIGINTERN PyObject
*_wrap_Size_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4324 PyObject
*resultobj
= 0;
4325 wxSize
*arg1
= (wxSize
*) 0 ;
4331 PyObject
*swig_obj
[2] ;
4333 if (!SWIG_Python_UnpackTuple(args
,"Size_width_set",2,2,swig_obj
)) SWIG_fail
;
4334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4335 if (!SWIG_IsOK(res1
)) {
4336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_width_set" "', expected argument " "1"" of type '" "wxSize *""'");
4338 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4339 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4340 if (!SWIG_IsOK(ecode2
)) {
4341 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Size_width_set" "', expected argument " "2"" of type '" "int""'");
4343 arg2
= static_cast< int >(val2
);
4344 if (arg1
) (arg1
)->x
= arg2
;
4346 resultobj
= SWIG_Py_Void();
4353 SWIGINTERN PyObject
*_wrap_Size_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4354 PyObject
*resultobj
= 0;
4355 wxSize
*arg1
= (wxSize
*) 0 ;
4359 PyObject
*swig_obj
[1] ;
4361 if (!args
) SWIG_fail
;
4363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4364 if (!SWIG_IsOK(res1
)) {
4365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_width_get" "', expected argument " "1"" of type '" "wxSize *""'");
4367 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4368 result
= (int) ((arg1
)->x
);
4369 resultobj
= SWIG_From_int(static_cast< int >(result
));
4376 SWIGINTERN PyObject
*_wrap_Size_height_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4377 PyObject
*resultobj
= 0;
4378 wxSize
*arg1
= (wxSize
*) 0 ;
4384 PyObject
*swig_obj
[2] ;
4386 if (!SWIG_Python_UnpackTuple(args
,"Size_height_set",2,2,swig_obj
)) SWIG_fail
;
4387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4388 if (!SWIG_IsOK(res1
)) {
4389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_height_set" "', expected argument " "1"" of type '" "wxSize *""'");
4391 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4392 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4393 if (!SWIG_IsOK(ecode2
)) {
4394 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Size_height_set" "', expected argument " "2"" of type '" "int""'");
4396 arg2
= static_cast< int >(val2
);
4397 if (arg1
) (arg1
)->y
= arg2
;
4399 resultobj
= SWIG_Py_Void();
4406 SWIGINTERN PyObject
*_wrap_Size_height_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4407 PyObject
*resultobj
= 0;
4408 wxSize
*arg1
= (wxSize
*) 0 ;
4412 PyObject
*swig_obj
[1] ;
4414 if (!args
) SWIG_fail
;
4416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4417 if (!SWIG_IsOK(res1
)) {
4418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_height_get" "', expected argument " "1"" of type '" "wxSize *""'");
4420 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4421 result
= (int) ((arg1
)->y
);
4422 resultobj
= SWIG_From_int(static_cast< int >(result
));
4429 SWIGINTERN PyObject
*_wrap_new_Size(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4430 PyObject
*resultobj
= 0;
4431 int arg1
= (int) 0 ;
4432 int arg2
= (int) 0 ;
4433 wxSize
*result
= 0 ;
4438 PyObject
* obj0
= 0 ;
4439 PyObject
* obj1
= 0 ;
4440 char * kwnames
[] = {
4441 (char *) "w",(char *) "h", NULL
4444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4446 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4447 if (!SWIG_IsOK(ecode1
)) {
4448 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Size" "', expected argument " "1"" of type '" "int""'");
4450 arg1
= static_cast< int >(val1
);
4453 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4454 if (!SWIG_IsOK(ecode2
)) {
4455 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Size" "', expected argument " "2"" of type '" "int""'");
4457 arg2
= static_cast< int >(val2
);
4460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4461 result
= (wxSize
*)new wxSize(arg1
,arg2
);
4462 wxPyEndAllowThreads(__tstate
);
4463 if (PyErr_Occurred()) SWIG_fail
;
4465 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, SWIG_POINTER_NEW
| 0 );
4472 SWIGINTERN PyObject
*_wrap_delete_Size(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4473 PyObject
*resultobj
= 0;
4474 wxSize
*arg1
= (wxSize
*) 0 ;
4477 PyObject
*swig_obj
[1] ;
4479 if (!args
) SWIG_fail
;
4481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, SWIG_POINTER_DISOWN
| 0 );
4482 if (!SWIG_IsOK(res1
)) {
4483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Size" "', expected argument " "1"" of type '" "wxSize *""'");
4485 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4490 wxPyEndAllowThreads(__tstate
);
4491 if (PyErr_Occurred()) SWIG_fail
;
4493 resultobj
= SWIG_Py_Void();
4500 SWIGINTERN PyObject
*_wrap_Size___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4501 PyObject
*resultobj
= 0;
4502 wxSize
*arg1
= (wxSize
*) 0 ;
4508 PyObject
* obj0
= 0 ;
4509 PyObject
* obj1
= 0 ;
4510 char * kwnames
[] = {
4511 (char *) "self",(char *) "sz", NULL
4514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4516 if (!SWIG_IsOK(res1
)) {
4517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size___eq__" "', expected argument " "1"" of type '" "wxSize *""'");
4519 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4522 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4526 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
4527 wxPyEndAllowThreads(__tstate
);
4528 if (PyErr_Occurred()) SWIG_fail
;
4531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4539 SWIGINTERN PyObject
*_wrap_Size___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4540 PyObject
*resultobj
= 0;
4541 wxSize
*arg1
= (wxSize
*) 0 ;
4547 PyObject
* obj0
= 0 ;
4548 PyObject
* obj1
= 0 ;
4549 char * kwnames
[] = {
4550 (char *) "self",(char *) "sz", NULL
4553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4555 if (!SWIG_IsOK(res1
)) {
4556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size___ne__" "', expected argument " "1"" of type '" "wxSize *""'");
4558 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4561 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4565 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
4566 wxPyEndAllowThreads(__tstate
);
4567 if (PyErr_Occurred()) SWIG_fail
;
4570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4578 SWIGINTERN PyObject
*_wrap_Size___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4579 PyObject
*resultobj
= 0;
4580 wxSize
*arg1
= (wxSize
*) 0 ;
4586 PyObject
* obj0
= 0 ;
4587 PyObject
* obj1
= 0 ;
4588 char * kwnames
[] = {
4589 (char *) "self",(char *) "sz", NULL
4592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4594 if (!SWIG_IsOK(res1
)) {
4595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size___add__" "', expected argument " "1"" of type '" "wxSize *""'");
4597 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4600 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4604 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
4605 wxPyEndAllowThreads(__tstate
);
4606 if (PyErr_Occurred()) SWIG_fail
;
4608 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
4615 SWIGINTERN PyObject
*_wrap_Size___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4616 PyObject
*resultobj
= 0;
4617 wxSize
*arg1
= (wxSize
*) 0 ;
4623 PyObject
* obj0
= 0 ;
4624 PyObject
* obj1
= 0 ;
4625 char * kwnames
[] = {
4626 (char *) "self",(char *) "sz", NULL
4629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4631 if (!SWIG_IsOK(res1
)) {
4632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size___sub__" "', expected argument " "1"" of type '" "wxSize *""'");
4634 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4637 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4641 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
4642 wxPyEndAllowThreads(__tstate
);
4643 if (PyErr_Occurred()) SWIG_fail
;
4645 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
4652 SWIGINTERN PyObject
*_wrap_Size_IncTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4653 PyObject
*resultobj
= 0;
4654 wxSize
*arg1
= (wxSize
*) 0 ;
4659 PyObject
* obj0
= 0 ;
4660 PyObject
* obj1
= 0 ;
4661 char * kwnames
[] = {
4662 (char *) "self",(char *) "sz", NULL
4665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4667 if (!SWIG_IsOK(res1
)) {
4668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_IncTo" "', expected argument " "1"" of type '" "wxSize *""'");
4670 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4673 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4677 (arg1
)->IncTo((wxSize
const &)*arg2
);
4678 wxPyEndAllowThreads(__tstate
);
4679 if (PyErr_Occurred()) SWIG_fail
;
4681 resultobj
= SWIG_Py_Void();
4688 SWIGINTERN PyObject
*_wrap_Size_DecTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4689 PyObject
*resultobj
= 0;
4690 wxSize
*arg1
= (wxSize
*) 0 ;
4695 PyObject
* obj0
= 0 ;
4696 PyObject
* obj1
= 0 ;
4697 char * kwnames
[] = {
4698 (char *) "self",(char *) "sz", NULL
4701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4703 if (!SWIG_IsOK(res1
)) {
4704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_DecTo" "', expected argument " "1"" of type '" "wxSize *""'");
4706 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4709 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4713 (arg1
)->DecTo((wxSize
const &)*arg2
);
4714 wxPyEndAllowThreads(__tstate
);
4715 if (PyErr_Occurred()) SWIG_fail
;
4717 resultobj
= SWIG_Py_Void();
4724 SWIGINTERN PyObject
*_wrap_Size_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4725 PyObject
*resultobj
= 0;
4726 wxSize
*arg1
= (wxSize
*) 0 ;
4735 PyObject
* obj0
= 0 ;
4736 PyObject
* obj1
= 0 ;
4737 PyObject
* obj2
= 0 ;
4738 char * kwnames
[] = {
4739 (char *) "self",(char *) "w",(char *) "h", NULL
4742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4744 if (!SWIG_IsOK(res1
)) {
4745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_Set" "', expected argument " "1"" of type '" "wxSize *""'");
4747 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4748 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4749 if (!SWIG_IsOK(ecode2
)) {
4750 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Size_Set" "', expected argument " "2"" of type '" "int""'");
4752 arg2
= static_cast< int >(val2
);
4753 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4754 if (!SWIG_IsOK(ecode3
)) {
4755 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Size_Set" "', expected argument " "3"" of type '" "int""'");
4757 arg3
= static_cast< int >(val3
);
4759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4760 (arg1
)->Set(arg2
,arg3
);
4761 wxPyEndAllowThreads(__tstate
);
4762 if (PyErr_Occurred()) SWIG_fail
;
4764 resultobj
= SWIG_Py_Void();
4771 SWIGINTERN PyObject
*_wrap_Size_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4772 PyObject
*resultobj
= 0;
4773 wxSize
*arg1
= (wxSize
*) 0 ;
4779 PyObject
* obj0
= 0 ;
4780 PyObject
* obj1
= 0 ;
4781 char * kwnames
[] = {
4782 (char *) "self",(char *) "w", NULL
4785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4787 if (!SWIG_IsOK(res1
)) {
4788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_SetWidth" "', expected argument " "1"" of type '" "wxSize *""'");
4790 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4791 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4792 if (!SWIG_IsOK(ecode2
)) {
4793 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Size_SetWidth" "', expected argument " "2"" of type '" "int""'");
4795 arg2
= static_cast< int >(val2
);
4797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4798 (arg1
)->SetWidth(arg2
);
4799 wxPyEndAllowThreads(__tstate
);
4800 if (PyErr_Occurred()) SWIG_fail
;
4802 resultobj
= SWIG_Py_Void();
4809 SWIGINTERN PyObject
*_wrap_Size_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4810 PyObject
*resultobj
= 0;
4811 wxSize
*arg1
= (wxSize
*) 0 ;
4817 PyObject
* obj0
= 0 ;
4818 PyObject
* obj1
= 0 ;
4819 char * kwnames
[] = {
4820 (char *) "self",(char *) "h", NULL
4823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4825 if (!SWIG_IsOK(res1
)) {
4826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_SetHeight" "', expected argument " "1"" of type '" "wxSize *""'");
4828 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4829 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4830 if (!SWIG_IsOK(ecode2
)) {
4831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Size_SetHeight" "', expected argument " "2"" of type '" "int""'");
4833 arg2
= static_cast< int >(val2
);
4835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4836 (arg1
)->SetHeight(arg2
);
4837 wxPyEndAllowThreads(__tstate
);
4838 if (PyErr_Occurred()) SWIG_fail
;
4840 resultobj
= SWIG_Py_Void();
4847 SWIGINTERN PyObject
*_wrap_Size_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4848 PyObject
*resultobj
= 0;
4849 wxSize
*arg1
= (wxSize
*) 0 ;
4853 PyObject
*swig_obj
[1] ;
4855 if (!args
) SWIG_fail
;
4857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4858 if (!SWIG_IsOK(res1
)) {
4859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_GetWidth" "', expected argument " "1"" of type '" "wxSize const *""'");
4861 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4864 result
= (int)((wxSize
const *)arg1
)->GetWidth();
4865 wxPyEndAllowThreads(__tstate
);
4866 if (PyErr_Occurred()) SWIG_fail
;
4868 resultobj
= SWIG_From_int(static_cast< int >(result
));
4875 SWIGINTERN PyObject
*_wrap_Size_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4876 PyObject
*resultobj
= 0;
4877 wxSize
*arg1
= (wxSize
*) 0 ;
4881 PyObject
*swig_obj
[1] ;
4883 if (!args
) SWIG_fail
;
4885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4886 if (!SWIG_IsOK(res1
)) {
4887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_GetHeight" "', expected argument " "1"" of type '" "wxSize const *""'");
4889 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4892 result
= (int)((wxSize
const *)arg1
)->GetHeight();
4893 wxPyEndAllowThreads(__tstate
);
4894 if (PyErr_Occurred()) SWIG_fail
;
4896 resultobj
= SWIG_From_int(static_cast< int >(result
));
4903 SWIGINTERN PyObject
*_wrap_Size_IsFullySpecified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4904 PyObject
*resultobj
= 0;
4905 wxSize
*arg1
= (wxSize
*) 0 ;
4909 PyObject
*swig_obj
[1] ;
4911 if (!args
) SWIG_fail
;
4913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4914 if (!SWIG_IsOK(res1
)) {
4915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_IsFullySpecified" "', expected argument " "1"" of type '" "wxSize const *""'");
4917 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4920 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
4921 wxPyEndAllowThreads(__tstate
);
4922 if (PyErr_Occurred()) SWIG_fail
;
4925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4933 SWIGINTERN PyObject
*_wrap_Size_SetDefaults(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4934 PyObject
*resultobj
= 0;
4935 wxSize
*arg1
= (wxSize
*) 0 ;
4940 PyObject
* obj0
= 0 ;
4941 PyObject
* obj1
= 0 ;
4942 char * kwnames
[] = {
4943 (char *) "self",(char *) "size", NULL
4946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4948 if (!SWIG_IsOK(res1
)) {
4949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_SetDefaults" "', expected argument " "1"" of type '" "wxSize *""'");
4951 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4954 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4958 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
4959 wxPyEndAllowThreads(__tstate
);
4960 if (PyErr_Occurred()) SWIG_fail
;
4962 resultobj
= SWIG_Py_Void();
4969 SWIGINTERN PyObject
*_wrap_Size_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4970 PyObject
*resultobj
= 0;
4971 wxSize
*arg1
= (wxSize
*) 0 ;
4972 PyObject
*result
= 0 ;
4975 PyObject
*swig_obj
[1] ;
4977 if (!args
) SWIG_fail
;
4979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4980 if (!SWIG_IsOK(res1
)) {
4981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_Get" "', expected argument " "1"" of type '" "wxSize *""'");
4983 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4986 result
= (PyObject
*)wxSize_Get(arg1
);
4987 wxPyEndAllowThreads(__tstate
);
4988 if (PyErr_Occurred()) SWIG_fail
;
4997 SWIGINTERN PyObject
*Size_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4999 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5000 SWIG_TypeNewClientData(SWIGTYPE_p_wxSize
, SWIG_NewClientData(obj
));
5001 return SWIG_Py_Void();
5004 SWIGINTERN PyObject
*Size_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5005 return SWIG_Python_InitShadowInstance(args
);
5008 SWIGINTERN PyObject
*_wrap_RealPoint_x_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5009 PyObject
*resultobj
= 0;
5010 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5016 PyObject
*swig_obj
[2] ;
5018 if (!SWIG_Python_UnpackTuple(args
,"RealPoint_x_set",2,2,swig_obj
)) SWIG_fail
;
5019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5020 if (!SWIG_IsOK(res1
)) {
5021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint_x_set" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5023 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5024 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
5025 if (!SWIG_IsOK(ecode2
)) {
5026 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RealPoint_x_set" "', expected argument " "2"" of type '" "double""'");
5028 arg2
= static_cast< double >(val2
);
5029 if (arg1
) (arg1
)->x
= arg2
;
5031 resultobj
= SWIG_Py_Void();
5038 SWIGINTERN PyObject
*_wrap_RealPoint_x_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5039 PyObject
*resultobj
= 0;
5040 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5044 PyObject
*swig_obj
[1] ;
5046 if (!args
) SWIG_fail
;
5048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5049 if (!SWIG_IsOK(res1
)) {
5050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint_x_get" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5052 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5053 result
= (double) ((arg1
)->x
);
5054 resultobj
= SWIG_From_double(static_cast< double >(result
));
5061 SWIGINTERN PyObject
*_wrap_RealPoint_y_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5062 PyObject
*resultobj
= 0;
5063 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5069 PyObject
*swig_obj
[2] ;
5071 if (!SWIG_Python_UnpackTuple(args
,"RealPoint_y_set",2,2,swig_obj
)) SWIG_fail
;
5072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5073 if (!SWIG_IsOK(res1
)) {
5074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint_y_set" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5076 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5077 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
5078 if (!SWIG_IsOK(ecode2
)) {
5079 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RealPoint_y_set" "', expected argument " "2"" of type '" "double""'");
5081 arg2
= static_cast< double >(val2
);
5082 if (arg1
) (arg1
)->y
= arg2
;
5084 resultobj
= SWIG_Py_Void();
5091 SWIGINTERN PyObject
*_wrap_RealPoint_y_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5092 PyObject
*resultobj
= 0;
5093 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5097 PyObject
*swig_obj
[1] ;
5099 if (!args
) SWIG_fail
;
5101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5102 if (!SWIG_IsOK(res1
)) {
5103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint_y_get" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5105 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5106 result
= (double) ((arg1
)->y
);
5107 resultobj
= SWIG_From_double(static_cast< double >(result
));
5114 SWIGINTERN PyObject
*_wrap_new_RealPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5115 PyObject
*resultobj
= 0;
5116 double arg1
= (double) 0.0 ;
5117 double arg2
= (double) 0.0 ;
5118 wxRealPoint
*result
= 0 ;
5123 PyObject
* obj0
= 0 ;
5124 PyObject
* obj1
= 0 ;
5125 char * kwnames
[] = {
5126 (char *) "x",(char *) "y", NULL
5129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5131 ecode1
= SWIG_AsVal_double(obj0
, &val1
);
5132 if (!SWIG_IsOK(ecode1
)) {
5133 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RealPoint" "', expected argument " "1"" of type '" "double""'");
5135 arg1
= static_cast< double >(val1
);
5138 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
5139 if (!SWIG_IsOK(ecode2
)) {
5140 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RealPoint" "', expected argument " "2"" of type '" "double""'");
5142 arg2
= static_cast< double >(val2
);
5145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5146 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
5147 wxPyEndAllowThreads(__tstate
);
5148 if (PyErr_Occurred()) SWIG_fail
;
5150 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_NEW
| 0 );
5157 SWIGINTERN PyObject
*_wrap_delete_RealPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5158 PyObject
*resultobj
= 0;
5159 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5162 PyObject
*swig_obj
[1] ;
5164 if (!args
) SWIG_fail
;
5166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_DISOWN
| 0 );
5167 if (!SWIG_IsOK(res1
)) {
5168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RealPoint" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5170 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5175 wxPyEndAllowThreads(__tstate
);
5176 if (PyErr_Occurred()) SWIG_fail
;
5178 resultobj
= SWIG_Py_Void();
5185 SWIGINTERN PyObject
*_wrap_RealPoint___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5186 PyObject
*resultobj
= 0;
5187 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5188 wxRealPoint
*arg2
= 0 ;
5193 PyObject
* obj0
= 0 ;
5194 PyObject
* obj1
= 0 ;
5195 char * kwnames
[] = {
5196 (char *) "self",(char *) "pt", NULL
5199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5201 if (!SWIG_IsOK(res1
)) {
5202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint___eq__" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5204 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5207 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5211 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
5212 wxPyEndAllowThreads(__tstate
);
5213 if (PyErr_Occurred()) SWIG_fail
;
5216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5224 SWIGINTERN PyObject
*_wrap_RealPoint___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5225 PyObject
*resultobj
= 0;
5226 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5227 wxRealPoint
*arg2
= 0 ;
5232 PyObject
* obj0
= 0 ;
5233 PyObject
* obj1
= 0 ;
5234 char * kwnames
[] = {
5235 (char *) "self",(char *) "pt", NULL
5238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5240 if (!SWIG_IsOK(res1
)) {
5241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint___ne__" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5243 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5246 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5250 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
5251 wxPyEndAllowThreads(__tstate
);
5252 if (PyErr_Occurred()) SWIG_fail
;
5255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5263 SWIGINTERN PyObject
*_wrap_RealPoint___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5264 PyObject
*resultobj
= 0;
5265 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5266 wxRealPoint
*arg2
= 0 ;
5271 PyObject
* obj0
= 0 ;
5272 PyObject
* obj1
= 0 ;
5273 char * kwnames
[] = {
5274 (char *) "self",(char *) "pt", NULL
5277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5279 if (!SWIG_IsOK(res1
)) {
5280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint___add__" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5282 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5285 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5289 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
5290 wxPyEndAllowThreads(__tstate
);
5291 if (PyErr_Occurred()) SWIG_fail
;
5293 resultobj
= SWIG_NewPointerObj((new wxRealPoint(static_cast< const wxRealPoint
& >(result
))), SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_OWN
| 0 );
5300 SWIGINTERN PyObject
*_wrap_RealPoint___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5301 PyObject
*resultobj
= 0;
5302 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5303 wxRealPoint
*arg2
= 0 ;
5308 PyObject
* obj0
= 0 ;
5309 PyObject
* obj1
= 0 ;
5310 char * kwnames
[] = {
5311 (char *) "self",(char *) "pt", NULL
5314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5316 if (!SWIG_IsOK(res1
)) {
5317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint___sub__" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5319 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5322 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5326 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
5327 wxPyEndAllowThreads(__tstate
);
5328 if (PyErr_Occurred()) SWIG_fail
;
5330 resultobj
= SWIG_NewPointerObj((new wxRealPoint(static_cast< const wxRealPoint
& >(result
))), SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_OWN
| 0 );
5337 SWIGINTERN PyObject
*_wrap_RealPoint_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5338 PyObject
*resultobj
= 0;
5339 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5348 PyObject
* obj0
= 0 ;
5349 PyObject
* obj1
= 0 ;
5350 PyObject
* obj2
= 0 ;
5351 char * kwnames
[] = {
5352 (char *) "self",(char *) "x",(char *) "y", NULL
5355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5357 if (!SWIG_IsOK(res1
)) {
5358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint_Set" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5360 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5361 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
5362 if (!SWIG_IsOK(ecode2
)) {
5363 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RealPoint_Set" "', expected argument " "2"" of type '" "double""'");
5365 arg2
= static_cast< double >(val2
);
5366 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
5367 if (!SWIG_IsOK(ecode3
)) {
5368 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RealPoint_Set" "', expected argument " "3"" of type '" "double""'");
5370 arg3
= static_cast< double >(val3
);
5372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5373 wxRealPoint_Set(arg1
,arg2
,arg3
);
5374 wxPyEndAllowThreads(__tstate
);
5375 if (PyErr_Occurred()) SWIG_fail
;
5377 resultobj
= SWIG_Py_Void();
5384 SWIGINTERN PyObject
*_wrap_RealPoint_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5385 PyObject
*resultobj
= 0;
5386 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5387 PyObject
*result
= 0 ;
5390 PyObject
*swig_obj
[1] ;
5392 if (!args
) SWIG_fail
;
5394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5395 if (!SWIG_IsOK(res1
)) {
5396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint_Get" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5398 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5401 result
= (PyObject
*)wxRealPoint_Get(arg1
);
5402 wxPyEndAllowThreads(__tstate
);
5403 if (PyErr_Occurred()) SWIG_fail
;
5412 SWIGINTERN PyObject
*RealPoint_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5414 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5415 SWIG_TypeNewClientData(SWIGTYPE_p_wxRealPoint
, SWIG_NewClientData(obj
));
5416 return SWIG_Py_Void();
5419 SWIGINTERN PyObject
*RealPoint_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5420 return SWIG_Python_InitShadowInstance(args
);
5423 SWIGINTERN PyObject
*_wrap_Point_x_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5424 PyObject
*resultobj
= 0;
5425 wxPoint
*arg1
= (wxPoint
*) 0 ;
5431 PyObject
*swig_obj
[2] ;
5433 if (!SWIG_Python_UnpackTuple(args
,"Point_x_set",2,2,swig_obj
)) SWIG_fail
;
5434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5435 if (!SWIG_IsOK(res1
)) {
5436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point_x_set" "', expected argument " "1"" of type '" "wxPoint *""'");
5438 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5439 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
5440 if (!SWIG_IsOK(ecode2
)) {
5441 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point_x_set" "', expected argument " "2"" of type '" "int""'");
5443 arg2
= static_cast< int >(val2
);
5444 if (arg1
) (arg1
)->x
= arg2
;
5446 resultobj
= SWIG_Py_Void();
5453 SWIGINTERN PyObject
*_wrap_Point_x_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5454 PyObject
*resultobj
= 0;
5455 wxPoint
*arg1
= (wxPoint
*) 0 ;
5459 PyObject
*swig_obj
[1] ;
5461 if (!args
) SWIG_fail
;
5463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5464 if (!SWIG_IsOK(res1
)) {
5465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point_x_get" "', expected argument " "1"" of type '" "wxPoint *""'");
5467 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5468 result
= (int) ((arg1
)->x
);
5469 resultobj
= SWIG_From_int(static_cast< int >(result
));
5476 SWIGINTERN PyObject
*_wrap_Point_y_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5477 PyObject
*resultobj
= 0;
5478 wxPoint
*arg1
= (wxPoint
*) 0 ;
5484 PyObject
*swig_obj
[2] ;
5486 if (!SWIG_Python_UnpackTuple(args
,"Point_y_set",2,2,swig_obj
)) SWIG_fail
;
5487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5488 if (!SWIG_IsOK(res1
)) {
5489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point_y_set" "', expected argument " "1"" of type '" "wxPoint *""'");
5491 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5492 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
5493 if (!SWIG_IsOK(ecode2
)) {
5494 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point_y_set" "', expected argument " "2"" of type '" "int""'");
5496 arg2
= static_cast< int >(val2
);
5497 if (arg1
) (arg1
)->y
= arg2
;
5499 resultobj
= SWIG_Py_Void();
5506 SWIGINTERN PyObject
*_wrap_Point_y_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5507 PyObject
*resultobj
= 0;
5508 wxPoint
*arg1
= (wxPoint
*) 0 ;
5512 PyObject
*swig_obj
[1] ;
5514 if (!args
) SWIG_fail
;
5516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5517 if (!SWIG_IsOK(res1
)) {
5518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point_y_get" "', expected argument " "1"" of type '" "wxPoint *""'");
5520 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5521 result
= (int) ((arg1
)->y
);
5522 resultobj
= SWIG_From_int(static_cast< int >(result
));
5529 SWIGINTERN PyObject
*_wrap_new_Point(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5530 PyObject
*resultobj
= 0;
5531 int arg1
= (int) 0 ;
5532 int arg2
= (int) 0 ;
5533 wxPoint
*result
= 0 ;
5538 PyObject
* obj0
= 0 ;
5539 PyObject
* obj1
= 0 ;
5540 char * kwnames
[] = {
5541 (char *) "x",(char *) "y", NULL
5544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5546 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5547 if (!SWIG_IsOK(ecode1
)) {
5548 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Point" "', expected argument " "1"" of type '" "int""'");
5550 arg1
= static_cast< int >(val1
);
5553 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5554 if (!SWIG_IsOK(ecode2
)) {
5555 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Point" "', expected argument " "2"" of type '" "int""'");
5557 arg2
= static_cast< int >(val2
);
5560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5561 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
5562 wxPyEndAllowThreads(__tstate
);
5563 if (PyErr_Occurred()) SWIG_fail
;
5565 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, SWIG_POINTER_NEW
| 0 );
5572 SWIGINTERN PyObject
*_wrap_delete_Point(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5573 PyObject
*resultobj
= 0;
5574 wxPoint
*arg1
= (wxPoint
*) 0 ;
5577 PyObject
*swig_obj
[1] ;
5579 if (!args
) SWIG_fail
;
5581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint
, SWIG_POINTER_DISOWN
| 0 );
5582 if (!SWIG_IsOK(res1
)) {
5583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Point" "', expected argument " "1"" of type '" "wxPoint *""'");
5585 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5590 wxPyEndAllowThreads(__tstate
);
5591 if (PyErr_Occurred()) SWIG_fail
;
5593 resultobj
= SWIG_Py_Void();
5600 SWIGINTERN PyObject
*_wrap_Point___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5601 PyObject
*resultobj
= 0;
5602 wxPoint
*arg1
= (wxPoint
*) 0 ;
5608 PyObject
* obj0
= 0 ;
5609 PyObject
* obj1
= 0 ;
5610 char * kwnames
[] = {
5611 (char *) "self",(char *) "pt", NULL
5614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5616 if (!SWIG_IsOK(res1
)) {
5617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point___eq__" "', expected argument " "1"" of type '" "wxPoint *""'");
5619 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5622 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5626 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
5627 wxPyEndAllowThreads(__tstate
);
5628 if (PyErr_Occurred()) SWIG_fail
;
5631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5639 SWIGINTERN PyObject
*_wrap_Point___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5640 PyObject
*resultobj
= 0;
5641 wxPoint
*arg1
= (wxPoint
*) 0 ;
5647 PyObject
* obj0
= 0 ;
5648 PyObject
* obj1
= 0 ;
5649 char * kwnames
[] = {
5650 (char *) "self",(char *) "pt", NULL
5653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5655 if (!SWIG_IsOK(res1
)) {
5656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point___ne__" "', expected argument " "1"" of type '" "wxPoint *""'");
5658 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5661 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5665 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
5666 wxPyEndAllowThreads(__tstate
);
5667 if (PyErr_Occurred()) SWIG_fail
;
5670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5678 SWIGINTERN PyObject
*_wrap_Point___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5679 PyObject
*resultobj
= 0;
5680 wxPoint
*arg1
= (wxPoint
*) 0 ;
5686 PyObject
* obj0
= 0 ;
5687 PyObject
* obj1
= 0 ;
5688 char * kwnames
[] = {
5689 (char *) "self",(char *) "pt", NULL
5692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5694 if (!SWIG_IsOK(res1
)) {
5695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point___add__" "', expected argument " "1"" of type '" "wxPoint *""'");
5697 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5700 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5704 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
5705 wxPyEndAllowThreads(__tstate
);
5706 if (PyErr_Occurred()) SWIG_fail
;
5708 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
5715 SWIGINTERN PyObject
*_wrap_Point___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5716 PyObject
*resultobj
= 0;
5717 wxPoint
*arg1
= (wxPoint
*) 0 ;
5723 PyObject
* obj0
= 0 ;
5724 PyObject
* obj1
= 0 ;
5725 char * kwnames
[] = {
5726 (char *) "self",(char *) "pt", NULL
5729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5731 if (!SWIG_IsOK(res1
)) {
5732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point___sub__" "', expected argument " "1"" of type '" "wxPoint *""'");
5734 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5737 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5741 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
5742 wxPyEndAllowThreads(__tstate
);
5743 if (PyErr_Occurred()) SWIG_fail
;
5745 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
5752 SWIGINTERN PyObject
*_wrap_Point___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5753 PyObject
*resultobj
= 0;
5754 wxPoint
*arg1
= (wxPoint
*) 0 ;
5756 wxPoint
*result
= 0 ;
5760 PyObject
* obj0
= 0 ;
5761 PyObject
* obj1
= 0 ;
5762 char * kwnames
[] = {
5763 (char *) "self",(char *) "pt", NULL
5766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, SWIG_POINTER_DISOWN
| 0 );
5768 if (!SWIG_IsOK(res1
)) {
5769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point___iadd__" "', expected argument " "1"" of type '" "wxPoint *""'");
5771 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5774 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5779 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
5780 result
= (wxPoint
*) &_result_ref
;
5782 wxPyEndAllowThreads(__tstate
);
5783 if (PyErr_Occurred()) SWIG_fail
;
5785 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
5792 SWIGINTERN PyObject
*_wrap_Point___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5793 PyObject
*resultobj
= 0;
5794 wxPoint
*arg1
= (wxPoint
*) 0 ;
5796 wxPoint
*result
= 0 ;
5800 PyObject
* obj0
= 0 ;
5801 PyObject
* obj1
= 0 ;
5802 char * kwnames
[] = {
5803 (char *) "self",(char *) "pt", NULL
5806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, SWIG_POINTER_DISOWN
| 0 );
5808 if (!SWIG_IsOK(res1
)) {
5809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point___isub__" "', expected argument " "1"" of type '" "wxPoint *""'");
5811 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5814 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5819 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
5820 result
= (wxPoint
*) &_result_ref
;
5822 wxPyEndAllowThreads(__tstate
);
5823 if (PyErr_Occurred()) SWIG_fail
;
5825 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
5832 SWIGINTERN PyObject
*_wrap_Point_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5833 PyObject
*resultobj
= 0;
5834 wxPoint
*arg1
= (wxPoint
*) 0 ;
5843 PyObject
* obj0
= 0 ;
5844 PyObject
* obj1
= 0 ;
5845 PyObject
* obj2
= 0 ;
5846 char * kwnames
[] = {
5847 (char *) "self",(char *) "x",(char *) "y", NULL
5850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5852 if (!SWIG_IsOK(res1
)) {
5853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point_Set" "', expected argument " "1"" of type '" "wxPoint *""'");
5855 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5856 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
5857 if (!SWIG_IsOK(ecode2
)) {
5858 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point_Set" "', expected argument " "2"" of type '" "long""'");
5860 arg2
= static_cast< long >(val2
);
5861 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5862 if (!SWIG_IsOK(ecode3
)) {
5863 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Point_Set" "', expected argument " "3"" of type '" "long""'");
5865 arg3
= static_cast< long >(val3
);
5867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5868 wxPoint_Set(arg1
,arg2
,arg3
);
5869 wxPyEndAllowThreads(__tstate
);
5870 if (PyErr_Occurred()) SWIG_fail
;
5872 resultobj
= SWIG_Py_Void();
5879 SWIGINTERN PyObject
*_wrap_Point_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5880 PyObject
*resultobj
= 0;
5881 wxPoint
*arg1
= (wxPoint
*) 0 ;
5882 PyObject
*result
= 0 ;
5885 PyObject
*swig_obj
[1] ;
5887 if (!args
) SWIG_fail
;
5889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5890 if (!SWIG_IsOK(res1
)) {
5891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point_Get" "', expected argument " "1"" of type '" "wxPoint *""'");
5893 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5896 result
= (PyObject
*)wxPoint_Get(arg1
);
5897 wxPyEndAllowThreads(__tstate
);
5898 if (PyErr_Occurred()) SWIG_fail
;
5907 SWIGINTERN PyObject
*Point_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5909 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5910 SWIG_TypeNewClientData(SWIGTYPE_p_wxPoint
, SWIG_NewClientData(obj
));
5911 return SWIG_Py_Void();
5914 SWIGINTERN PyObject
*Point_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5915 return SWIG_Python_InitShadowInstance(args
);
5918 SWIGINTERN PyObject
*_wrap_new_Rect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5919 PyObject
*resultobj
= 0;
5920 int arg1
= (int) 0 ;
5921 int arg2
= (int) 0 ;
5922 int arg3
= (int) 0 ;
5923 int arg4
= (int) 0 ;
5924 wxRect
*result
= 0 ;
5933 PyObject
* obj0
= 0 ;
5934 PyObject
* obj1
= 0 ;
5935 PyObject
* obj2
= 0 ;
5936 PyObject
* obj3
= 0 ;
5937 char * kwnames
[] = {
5938 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5943 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5944 if (!SWIG_IsOK(ecode1
)) {
5945 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Rect" "', expected argument " "1"" of type '" "int""'");
5947 arg1
= static_cast< int >(val1
);
5950 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5951 if (!SWIG_IsOK(ecode2
)) {
5952 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Rect" "', expected argument " "2"" of type '" "int""'");
5954 arg2
= static_cast< int >(val2
);
5957 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5958 if (!SWIG_IsOK(ecode3
)) {
5959 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Rect" "', expected argument " "3"" of type '" "int""'");
5961 arg3
= static_cast< int >(val3
);
5964 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
5965 if (!SWIG_IsOK(ecode4
)) {
5966 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Rect" "', expected argument " "4"" of type '" "int""'");
5968 arg4
= static_cast< int >(val4
);
5971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5972 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
5973 wxPyEndAllowThreads(__tstate
);
5974 if (PyErr_Occurred()) SWIG_fail
;
5976 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, SWIG_POINTER_NEW
| 0 );
5983 SWIGINTERN PyObject
*_wrap_new_RectPP(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5984 PyObject
*resultobj
= 0;
5987 wxRect
*result
= 0 ;
5990 PyObject
* obj0
= 0 ;
5991 PyObject
* obj1
= 0 ;
5992 char * kwnames
[] = {
5993 (char *) "topLeft",(char *) "bottomRight", NULL
5996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5999 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6003 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6007 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
6008 wxPyEndAllowThreads(__tstate
);
6009 if (PyErr_Occurred()) SWIG_fail
;
6011 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
6018 SWIGINTERN PyObject
*_wrap_new_RectPS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6019 PyObject
*resultobj
= 0;
6022 wxRect
*result
= 0 ;
6025 PyObject
* obj0
= 0 ;
6026 PyObject
* obj1
= 0 ;
6027 char * kwnames
[] = {
6028 (char *) "pos",(char *) "size", NULL
6031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6034 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6038 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6042 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
6043 wxPyEndAllowThreads(__tstate
);
6044 if (PyErr_Occurred()) SWIG_fail
;
6046 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
6053 SWIGINTERN PyObject
*_wrap_new_RectS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6054 PyObject
*resultobj
= 0;
6056 wxRect
*result
= 0 ;
6058 PyObject
* obj0
= 0 ;
6059 char * kwnames
[] = {
6060 (char *) "size", NULL
6063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RectS",kwnames
,&obj0
)) SWIG_fail
;
6066 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
6069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6070 result
= (wxRect
*)new wxRect((wxSize
const &)*arg1
);
6071 wxPyEndAllowThreads(__tstate
);
6072 if (PyErr_Occurred()) SWIG_fail
;
6074 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
6081 SWIGINTERN PyObject
*_wrap_delete_Rect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6082 PyObject
*resultobj
= 0;
6083 wxRect
*arg1
= (wxRect
*) 0 ;
6086 PyObject
*swig_obj
[1] ;
6088 if (!args
) SWIG_fail
;
6090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, SWIG_POINTER_DISOWN
| 0 );
6091 if (!SWIG_IsOK(res1
)) {
6092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Rect" "', expected argument " "1"" of type '" "wxRect *""'");
6094 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6099 wxPyEndAllowThreads(__tstate
);
6100 if (PyErr_Occurred()) SWIG_fail
;
6102 resultobj
= SWIG_Py_Void();
6109 SWIGINTERN PyObject
*_wrap_Rect_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6110 PyObject
*resultobj
= 0;
6111 wxRect
*arg1
= (wxRect
*) 0 ;
6115 PyObject
*swig_obj
[1] ;
6117 if (!args
) SWIG_fail
;
6119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6120 if (!SWIG_IsOK(res1
)) {
6121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetX" "', expected argument " "1"" of type '" "wxRect const *""'");
6123 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6126 result
= (int)((wxRect
const *)arg1
)->GetX();
6127 wxPyEndAllowThreads(__tstate
);
6128 if (PyErr_Occurred()) SWIG_fail
;
6130 resultobj
= SWIG_From_int(static_cast< int >(result
));
6137 SWIGINTERN PyObject
*_wrap_Rect_SetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6138 PyObject
*resultobj
= 0;
6139 wxRect
*arg1
= (wxRect
*) 0 ;
6145 PyObject
* obj0
= 0 ;
6146 PyObject
* obj1
= 0 ;
6147 char * kwnames
[] = {
6148 (char *) "self",(char *) "x", NULL
6151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6153 if (!SWIG_IsOK(res1
)) {
6154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetX" "', expected argument " "1"" of type '" "wxRect *""'");
6156 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6157 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6158 if (!SWIG_IsOK(ecode2
)) {
6159 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetX" "', expected argument " "2"" of type '" "int""'");
6161 arg2
= static_cast< int >(val2
);
6163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6165 wxPyEndAllowThreads(__tstate
);
6166 if (PyErr_Occurred()) SWIG_fail
;
6168 resultobj
= SWIG_Py_Void();
6175 SWIGINTERN PyObject
*_wrap_Rect_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6176 PyObject
*resultobj
= 0;
6177 wxRect
*arg1
= (wxRect
*) 0 ;
6181 PyObject
*swig_obj
[1] ;
6183 if (!args
) SWIG_fail
;
6185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6186 if (!SWIG_IsOK(res1
)) {
6187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetY" "', expected argument " "1"" of type '" "wxRect *""'");
6189 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6192 result
= (int)(arg1
)->GetY();
6193 wxPyEndAllowThreads(__tstate
);
6194 if (PyErr_Occurred()) SWIG_fail
;
6196 resultobj
= SWIG_From_int(static_cast< int >(result
));
6203 SWIGINTERN PyObject
*_wrap_Rect_SetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6204 PyObject
*resultobj
= 0;
6205 wxRect
*arg1
= (wxRect
*) 0 ;
6211 PyObject
* obj0
= 0 ;
6212 PyObject
* obj1
= 0 ;
6213 char * kwnames
[] = {
6214 (char *) "self",(char *) "y", NULL
6217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6219 if (!SWIG_IsOK(res1
)) {
6220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetY" "', expected argument " "1"" of type '" "wxRect *""'");
6222 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6223 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6224 if (!SWIG_IsOK(ecode2
)) {
6225 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetY" "', expected argument " "2"" of type '" "int""'");
6227 arg2
= static_cast< int >(val2
);
6229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6231 wxPyEndAllowThreads(__tstate
);
6232 if (PyErr_Occurred()) SWIG_fail
;
6234 resultobj
= SWIG_Py_Void();
6241 SWIGINTERN PyObject
*_wrap_Rect_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6242 PyObject
*resultobj
= 0;
6243 wxRect
*arg1
= (wxRect
*) 0 ;
6247 PyObject
*swig_obj
[1] ;
6249 if (!args
) SWIG_fail
;
6251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6252 if (!SWIG_IsOK(res1
)) {
6253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetWidth" "', expected argument " "1"" of type '" "wxRect const *""'");
6255 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6258 result
= (int)((wxRect
const *)arg1
)->GetWidth();
6259 wxPyEndAllowThreads(__tstate
);
6260 if (PyErr_Occurred()) SWIG_fail
;
6262 resultobj
= SWIG_From_int(static_cast< int >(result
));
6269 SWIGINTERN PyObject
*_wrap_Rect_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6270 PyObject
*resultobj
= 0;
6271 wxRect
*arg1
= (wxRect
*) 0 ;
6277 PyObject
* obj0
= 0 ;
6278 PyObject
* obj1
= 0 ;
6279 char * kwnames
[] = {
6280 (char *) "self",(char *) "w", NULL
6283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6285 if (!SWIG_IsOK(res1
)) {
6286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetWidth" "', expected argument " "1"" of type '" "wxRect *""'");
6288 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6289 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6290 if (!SWIG_IsOK(ecode2
)) {
6291 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetWidth" "', expected argument " "2"" of type '" "int""'");
6293 arg2
= static_cast< int >(val2
);
6295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6296 (arg1
)->SetWidth(arg2
);
6297 wxPyEndAllowThreads(__tstate
);
6298 if (PyErr_Occurred()) SWIG_fail
;
6300 resultobj
= SWIG_Py_Void();
6307 SWIGINTERN PyObject
*_wrap_Rect_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6308 PyObject
*resultobj
= 0;
6309 wxRect
*arg1
= (wxRect
*) 0 ;
6313 PyObject
*swig_obj
[1] ;
6315 if (!args
) SWIG_fail
;
6317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6318 if (!SWIG_IsOK(res1
)) {
6319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetHeight" "', expected argument " "1"" of type '" "wxRect const *""'");
6321 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6324 result
= (int)((wxRect
const *)arg1
)->GetHeight();
6325 wxPyEndAllowThreads(__tstate
);
6326 if (PyErr_Occurred()) SWIG_fail
;
6328 resultobj
= SWIG_From_int(static_cast< int >(result
));
6335 SWIGINTERN PyObject
*_wrap_Rect_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6336 PyObject
*resultobj
= 0;
6337 wxRect
*arg1
= (wxRect
*) 0 ;
6343 PyObject
* obj0
= 0 ;
6344 PyObject
* obj1
= 0 ;
6345 char * kwnames
[] = {
6346 (char *) "self",(char *) "h", NULL
6349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6351 if (!SWIG_IsOK(res1
)) {
6352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetHeight" "', expected argument " "1"" of type '" "wxRect *""'");
6354 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6355 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6356 if (!SWIG_IsOK(ecode2
)) {
6357 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetHeight" "', expected argument " "2"" of type '" "int""'");
6359 arg2
= static_cast< int >(val2
);
6361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6362 (arg1
)->SetHeight(arg2
);
6363 wxPyEndAllowThreads(__tstate
);
6364 if (PyErr_Occurred()) SWIG_fail
;
6366 resultobj
= SWIG_Py_Void();
6373 SWIGINTERN PyObject
*_wrap_Rect_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6374 PyObject
*resultobj
= 0;
6375 wxRect
*arg1
= (wxRect
*) 0 ;
6379 PyObject
*swig_obj
[1] ;
6381 if (!args
) SWIG_fail
;
6383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6384 if (!SWIG_IsOK(res1
)) {
6385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetPosition" "', expected argument " "1"" of type '" "wxRect const *""'");
6387 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6390 result
= ((wxRect
const *)arg1
)->GetPosition();
6391 wxPyEndAllowThreads(__tstate
);
6392 if (PyErr_Occurred()) SWIG_fail
;
6394 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6401 SWIGINTERN PyObject
*_wrap_Rect_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6402 PyObject
*resultobj
= 0;
6403 wxRect
*arg1
= (wxRect
*) 0 ;
6408 PyObject
* obj0
= 0 ;
6409 PyObject
* obj1
= 0 ;
6410 char * kwnames
[] = {
6411 (char *) "self",(char *) "p", NULL
6414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6416 if (!SWIG_IsOK(res1
)) {
6417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetPosition" "', expected argument " "1"" of type '" "wxRect *""'");
6419 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6422 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6426 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
6427 wxPyEndAllowThreads(__tstate
);
6428 if (PyErr_Occurred()) SWIG_fail
;
6430 resultobj
= SWIG_Py_Void();
6437 SWIGINTERN PyObject
*_wrap_Rect_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6438 PyObject
*resultobj
= 0;
6439 wxRect
*arg1
= (wxRect
*) 0 ;
6443 PyObject
*swig_obj
[1] ;
6445 if (!args
) SWIG_fail
;
6447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6448 if (!SWIG_IsOK(res1
)) {
6449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetSize" "', expected argument " "1"" of type '" "wxRect const *""'");
6451 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6454 result
= ((wxRect
const *)arg1
)->GetSize();
6455 wxPyEndAllowThreads(__tstate
);
6456 if (PyErr_Occurred()) SWIG_fail
;
6458 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6465 SWIGINTERN PyObject
*_wrap_Rect_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6466 PyObject
*resultobj
= 0;
6467 wxRect
*arg1
= (wxRect
*) 0 ;
6472 PyObject
* obj0
= 0 ;
6473 PyObject
* obj1
= 0 ;
6474 char * kwnames
[] = {
6475 (char *) "self",(char *) "s", NULL
6478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6480 if (!SWIG_IsOK(res1
)) {
6481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetSize" "', expected argument " "1"" of type '" "wxRect *""'");
6483 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6486 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6490 (arg1
)->SetSize((wxSize
const &)*arg2
);
6491 wxPyEndAllowThreads(__tstate
);
6492 if (PyErr_Occurred()) SWIG_fail
;
6494 resultobj
= SWIG_Py_Void();
6501 SWIGINTERN PyObject
*_wrap_Rect_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6502 PyObject
*resultobj
= 0;
6503 wxRect
*arg1
= (wxRect
*) 0 ;
6507 PyObject
*swig_obj
[1] ;
6509 if (!args
) SWIG_fail
;
6511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6512 if (!SWIG_IsOK(res1
)) {
6513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_IsEmpty" "', expected argument " "1"" of type '" "wxRect const *""'");
6515 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6518 result
= (bool)((wxRect
const *)arg1
)->IsEmpty();
6519 wxPyEndAllowThreads(__tstate
);
6520 if (PyErr_Occurred()) SWIG_fail
;
6523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6531 SWIGINTERN PyObject
*_wrap_Rect_GetTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6532 PyObject
*resultobj
= 0;
6533 wxRect
*arg1
= (wxRect
*) 0 ;
6537 PyObject
*swig_obj
[1] ;
6539 if (!args
) SWIG_fail
;
6541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6542 if (!SWIG_IsOK(res1
)) {
6543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetTopLeft" "', expected argument " "1"" of type '" "wxRect const *""'");
6545 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6548 result
= ((wxRect
const *)arg1
)->GetTopLeft();
6549 wxPyEndAllowThreads(__tstate
);
6550 if (PyErr_Occurred()) SWIG_fail
;
6552 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6559 SWIGINTERN PyObject
*_wrap_Rect_SetTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6560 PyObject
*resultobj
= 0;
6561 wxRect
*arg1
= (wxRect
*) 0 ;
6566 PyObject
* obj0
= 0 ;
6567 PyObject
* obj1
= 0 ;
6568 char * kwnames
[] = {
6569 (char *) "self",(char *) "p", NULL
6572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6574 if (!SWIG_IsOK(res1
)) {
6575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetTopLeft" "', expected argument " "1"" of type '" "wxRect *""'");
6577 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6580 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6584 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
6585 wxPyEndAllowThreads(__tstate
);
6586 if (PyErr_Occurred()) SWIG_fail
;
6588 resultobj
= SWIG_Py_Void();
6595 SWIGINTERN PyObject
*_wrap_Rect_GetBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6596 PyObject
*resultobj
= 0;
6597 wxRect
*arg1
= (wxRect
*) 0 ;
6601 PyObject
*swig_obj
[1] ;
6603 if (!args
) SWIG_fail
;
6605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6606 if (!SWIG_IsOK(res1
)) {
6607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetBottomRight" "', expected argument " "1"" of type '" "wxRect const *""'");
6609 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6612 result
= ((wxRect
const *)arg1
)->GetBottomRight();
6613 wxPyEndAllowThreads(__tstate
);
6614 if (PyErr_Occurred()) SWIG_fail
;
6616 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6623 SWIGINTERN PyObject
*_wrap_Rect_SetBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6624 PyObject
*resultobj
= 0;
6625 wxRect
*arg1
= (wxRect
*) 0 ;
6630 PyObject
* obj0
= 0 ;
6631 PyObject
* obj1
= 0 ;
6632 char * kwnames
[] = {
6633 (char *) "self",(char *) "p", NULL
6636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6638 if (!SWIG_IsOK(res1
)) {
6639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetBottomRight" "', expected argument " "1"" of type '" "wxRect *""'");
6641 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6644 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6648 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
6649 wxPyEndAllowThreads(__tstate
);
6650 if (PyErr_Occurred()) SWIG_fail
;
6652 resultobj
= SWIG_Py_Void();
6659 SWIGINTERN PyObject
*_wrap_Rect_GetLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6660 PyObject
*resultobj
= 0;
6661 wxRect
*arg1
= (wxRect
*) 0 ;
6665 PyObject
*swig_obj
[1] ;
6667 if (!args
) SWIG_fail
;
6669 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6670 if (!SWIG_IsOK(res1
)) {
6671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetLeft" "', expected argument " "1"" of type '" "wxRect const *""'");
6673 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6676 result
= (int)((wxRect
const *)arg1
)->GetLeft();
6677 wxPyEndAllowThreads(__tstate
);
6678 if (PyErr_Occurred()) SWIG_fail
;
6680 resultobj
= SWIG_From_int(static_cast< int >(result
));
6687 SWIGINTERN PyObject
*_wrap_Rect_GetTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6688 PyObject
*resultobj
= 0;
6689 wxRect
*arg1
= (wxRect
*) 0 ;
6693 PyObject
*swig_obj
[1] ;
6695 if (!args
) SWIG_fail
;
6697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6698 if (!SWIG_IsOK(res1
)) {
6699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetTop" "', expected argument " "1"" of type '" "wxRect const *""'");
6701 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6704 result
= (int)((wxRect
const *)arg1
)->GetTop();
6705 wxPyEndAllowThreads(__tstate
);
6706 if (PyErr_Occurred()) SWIG_fail
;
6708 resultobj
= SWIG_From_int(static_cast< int >(result
));
6715 SWIGINTERN PyObject
*_wrap_Rect_GetBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6716 PyObject
*resultobj
= 0;
6717 wxRect
*arg1
= (wxRect
*) 0 ;
6721 PyObject
*swig_obj
[1] ;
6723 if (!args
) SWIG_fail
;
6725 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6726 if (!SWIG_IsOK(res1
)) {
6727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetBottom" "', expected argument " "1"" of type '" "wxRect const *""'");
6729 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6732 result
= (int)((wxRect
const *)arg1
)->GetBottom();
6733 wxPyEndAllowThreads(__tstate
);
6734 if (PyErr_Occurred()) SWIG_fail
;
6736 resultobj
= SWIG_From_int(static_cast< int >(result
));
6743 SWIGINTERN PyObject
*_wrap_Rect_GetRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6744 PyObject
*resultobj
= 0;
6745 wxRect
*arg1
= (wxRect
*) 0 ;
6749 PyObject
*swig_obj
[1] ;
6751 if (!args
) SWIG_fail
;
6753 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6754 if (!SWIG_IsOK(res1
)) {
6755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetRight" "', expected argument " "1"" of type '" "wxRect const *""'");
6757 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6760 result
= (int)((wxRect
const *)arg1
)->GetRight();
6761 wxPyEndAllowThreads(__tstate
);
6762 if (PyErr_Occurred()) SWIG_fail
;
6764 resultobj
= SWIG_From_int(static_cast< int >(result
));
6771 SWIGINTERN PyObject
*_wrap_Rect_SetLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6772 PyObject
*resultobj
= 0;
6773 wxRect
*arg1
= (wxRect
*) 0 ;
6779 PyObject
* obj0
= 0 ;
6780 PyObject
* obj1
= 0 ;
6781 char * kwnames
[] = {
6782 (char *) "self",(char *) "left", NULL
6785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6787 if (!SWIG_IsOK(res1
)) {
6788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetLeft" "', expected argument " "1"" of type '" "wxRect *""'");
6790 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6791 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6792 if (!SWIG_IsOK(ecode2
)) {
6793 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetLeft" "', expected argument " "2"" of type '" "int""'");
6795 arg2
= static_cast< int >(val2
);
6797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6798 (arg1
)->SetLeft(arg2
);
6799 wxPyEndAllowThreads(__tstate
);
6800 if (PyErr_Occurred()) SWIG_fail
;
6802 resultobj
= SWIG_Py_Void();
6809 SWIGINTERN PyObject
*_wrap_Rect_SetRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6810 PyObject
*resultobj
= 0;
6811 wxRect
*arg1
= (wxRect
*) 0 ;
6817 PyObject
* obj0
= 0 ;
6818 PyObject
* obj1
= 0 ;
6819 char * kwnames
[] = {
6820 (char *) "self",(char *) "right", NULL
6823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6825 if (!SWIG_IsOK(res1
)) {
6826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetRight" "', expected argument " "1"" of type '" "wxRect *""'");
6828 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6829 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6830 if (!SWIG_IsOK(ecode2
)) {
6831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetRight" "', expected argument " "2"" of type '" "int""'");
6833 arg2
= static_cast< int >(val2
);
6835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6836 (arg1
)->SetRight(arg2
);
6837 wxPyEndAllowThreads(__tstate
);
6838 if (PyErr_Occurred()) SWIG_fail
;
6840 resultobj
= SWIG_Py_Void();
6847 SWIGINTERN PyObject
*_wrap_Rect_SetTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6848 PyObject
*resultobj
= 0;
6849 wxRect
*arg1
= (wxRect
*) 0 ;
6855 PyObject
* obj0
= 0 ;
6856 PyObject
* obj1
= 0 ;
6857 char * kwnames
[] = {
6858 (char *) "self",(char *) "top", NULL
6861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6863 if (!SWIG_IsOK(res1
)) {
6864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetTop" "', expected argument " "1"" of type '" "wxRect *""'");
6866 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6867 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6868 if (!SWIG_IsOK(ecode2
)) {
6869 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetTop" "', expected argument " "2"" of type '" "int""'");
6871 arg2
= static_cast< int >(val2
);
6873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6874 (arg1
)->SetTop(arg2
);
6875 wxPyEndAllowThreads(__tstate
);
6876 if (PyErr_Occurred()) SWIG_fail
;
6878 resultobj
= SWIG_Py_Void();
6885 SWIGINTERN PyObject
*_wrap_Rect_SetBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6886 PyObject
*resultobj
= 0;
6887 wxRect
*arg1
= (wxRect
*) 0 ;
6893 PyObject
* obj0
= 0 ;
6894 PyObject
* obj1
= 0 ;
6895 char * kwnames
[] = {
6896 (char *) "self",(char *) "bottom", NULL
6899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6901 if (!SWIG_IsOK(res1
)) {
6902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetBottom" "', expected argument " "1"" of type '" "wxRect *""'");
6904 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6905 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6906 if (!SWIG_IsOK(ecode2
)) {
6907 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetBottom" "', expected argument " "2"" of type '" "int""'");
6909 arg2
= static_cast< int >(val2
);
6911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6912 (arg1
)->SetBottom(arg2
);
6913 wxPyEndAllowThreads(__tstate
);
6914 if (PyErr_Occurred()) SWIG_fail
;
6916 resultobj
= SWIG_Py_Void();
6923 SWIGINTERN PyObject
*_wrap_Rect_Inflate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6924 PyObject
*resultobj
= 0;
6925 wxRect
*arg1
= (wxRect
*) 0 ;
6928 wxRect
*result
= 0 ;
6935 PyObject
* obj0
= 0 ;
6936 PyObject
* obj1
= 0 ;
6937 PyObject
* obj2
= 0 ;
6938 char * kwnames
[] = {
6939 (char *) "self",(char *) "dx",(char *) "dy", NULL
6942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6944 if (!SWIG_IsOK(res1
)) {
6945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Inflate" "', expected argument " "1"" of type '" "wxRect *""'");
6947 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6948 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6949 if (!SWIG_IsOK(ecode2
)) {
6950 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_Inflate" "', expected argument " "2"" of type '" "int""'");
6952 arg2
= static_cast< int >(val2
);
6953 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6954 if (!SWIG_IsOK(ecode3
)) {
6955 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect_Inflate" "', expected argument " "3"" of type '" "int""'");
6957 arg3
= static_cast< int >(val3
);
6959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6961 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
6962 result
= (wxRect
*) &_result_ref
;
6964 wxPyEndAllowThreads(__tstate
);
6965 if (PyErr_Occurred()) SWIG_fail
;
6967 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, 0 | 0 );
6974 SWIGINTERN PyObject
*_wrap_Rect_Deflate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6975 PyObject
*resultobj
= 0;
6976 wxRect
*arg1
= (wxRect
*) 0 ;
6979 wxRect
*result
= 0 ;
6986 PyObject
* obj0
= 0 ;
6987 PyObject
* obj1
= 0 ;
6988 PyObject
* obj2
= 0 ;
6989 char * kwnames
[] = {
6990 (char *) "self",(char *) "dx",(char *) "dy", NULL
6993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6995 if (!SWIG_IsOK(res1
)) {
6996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Deflate" "', expected argument " "1"" of type '" "wxRect *""'");
6998 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6999 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7000 if (!SWIG_IsOK(ecode2
)) {
7001 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_Deflate" "', expected argument " "2"" of type '" "int""'");
7003 arg2
= static_cast< int >(val2
);
7004 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7005 if (!SWIG_IsOK(ecode3
)) {
7006 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect_Deflate" "', expected argument " "3"" of type '" "int""'");
7008 arg3
= static_cast< int >(val3
);
7010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7012 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
7013 result
= (wxRect
*) &_result_ref
;
7015 wxPyEndAllowThreads(__tstate
);
7016 if (PyErr_Occurred()) SWIG_fail
;
7018 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, 0 | 0 );
7025 SWIGINTERN PyObject
*_wrap_Rect_OffsetXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7026 PyObject
*resultobj
= 0;
7027 wxRect
*arg1
= (wxRect
*) 0 ;
7036 PyObject
* obj0
= 0 ;
7037 PyObject
* obj1
= 0 ;
7038 PyObject
* obj2
= 0 ;
7039 char * kwnames
[] = {
7040 (char *) "self",(char *) "dx",(char *) "dy", NULL
7043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7045 if (!SWIG_IsOK(res1
)) {
7046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_OffsetXY" "', expected argument " "1"" of type '" "wxRect *""'");
7048 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7049 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7050 if (!SWIG_IsOK(ecode2
)) {
7051 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_OffsetXY" "', expected argument " "2"" of type '" "int""'");
7053 arg2
= static_cast< int >(val2
);
7054 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7055 if (!SWIG_IsOK(ecode3
)) {
7056 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect_OffsetXY" "', expected argument " "3"" of type '" "int""'");
7058 arg3
= static_cast< int >(val3
);
7060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7061 (arg1
)->Offset(arg2
,arg3
);
7062 wxPyEndAllowThreads(__tstate
);
7063 if (PyErr_Occurred()) SWIG_fail
;
7065 resultobj
= SWIG_Py_Void();
7072 SWIGINTERN PyObject
*_wrap_Rect_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7073 PyObject
*resultobj
= 0;
7074 wxRect
*arg1
= (wxRect
*) 0 ;
7079 PyObject
* obj0
= 0 ;
7080 PyObject
* obj1
= 0 ;
7081 char * kwnames
[] = {
7082 (char *) "self",(char *) "pt", NULL
7085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7087 if (!SWIG_IsOK(res1
)) {
7088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Offset" "', expected argument " "1"" of type '" "wxRect *""'");
7090 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7093 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7097 (arg1
)->Offset((wxPoint
const &)*arg2
);
7098 wxPyEndAllowThreads(__tstate
);
7099 if (PyErr_Occurred()) SWIG_fail
;
7101 resultobj
= SWIG_Py_Void();
7108 SWIGINTERN PyObject
*_wrap_Rect_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7109 PyObject
*resultobj
= 0;
7110 wxRect
*arg1
= (wxRect
*) 0 ;
7116 PyObject
* obj0
= 0 ;
7117 PyObject
* obj1
= 0 ;
7118 char * kwnames
[] = {
7119 (char *) "self",(char *) "rect", NULL
7122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7124 if (!SWIG_IsOK(res1
)) {
7125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Intersect" "', expected argument " "1"" of type '" "wxRect *""'");
7127 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7130 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7134 result
= (arg1
)->Intersect((wxRect
const &)*arg2
);
7135 wxPyEndAllowThreads(__tstate
);
7136 if (PyErr_Occurred()) SWIG_fail
;
7138 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
7145 SWIGINTERN PyObject
*_wrap_Rect_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7146 PyObject
*resultobj
= 0;
7147 wxRect
*arg1
= (wxRect
*) 0 ;
7153 PyObject
* obj0
= 0 ;
7154 PyObject
* obj1
= 0 ;
7155 char * kwnames
[] = {
7156 (char *) "self",(char *) "rect", NULL
7159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Union",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7161 if (!SWIG_IsOK(res1
)) {
7162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Union" "', expected argument " "1"" of type '" "wxRect *""'");
7164 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7167 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7171 result
= (arg1
)->Union((wxRect
const &)*arg2
);
7172 wxPyEndAllowThreads(__tstate
);
7173 if (PyErr_Occurred()) SWIG_fail
;
7175 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
7182 SWIGINTERN PyObject
*_wrap_Rect___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7183 PyObject
*resultobj
= 0;
7184 wxRect
*arg1
= (wxRect
*) 0 ;
7190 PyObject
* obj0
= 0 ;
7191 PyObject
* obj1
= 0 ;
7192 char * kwnames
[] = {
7193 (char *) "self",(char *) "rect", NULL
7196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7198 if (!SWIG_IsOK(res1
)) {
7199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect___add__" "', expected argument " "1"" of type '" "wxRect const *""'");
7201 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7204 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7208 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
7209 wxPyEndAllowThreads(__tstate
);
7210 if (PyErr_Occurred()) SWIG_fail
;
7212 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
7219 SWIGINTERN PyObject
*_wrap_Rect___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7220 PyObject
*resultobj
= 0;
7221 wxRect
*arg1
= (wxRect
*) 0 ;
7223 wxRect
*result
= 0 ;
7227 PyObject
* obj0
= 0 ;
7228 PyObject
* obj1
= 0 ;
7229 char * kwnames
[] = {
7230 (char *) "self",(char *) "rect", NULL
7233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, SWIG_POINTER_DISOWN
| 0 );
7235 if (!SWIG_IsOK(res1
)) {
7236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect___iadd__" "', expected argument " "1"" of type '" "wxRect *""'");
7238 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7241 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7246 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
7247 result
= (wxRect
*) &_result_ref
;
7249 wxPyEndAllowThreads(__tstate
);
7250 if (PyErr_Occurred()) SWIG_fail
;
7252 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
7259 SWIGINTERN PyObject
*_wrap_Rect___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7260 PyObject
*resultobj
= 0;
7261 wxRect
*arg1
= (wxRect
*) 0 ;
7267 PyObject
* obj0
= 0 ;
7268 PyObject
* obj1
= 0 ;
7269 char * kwnames
[] = {
7270 (char *) "self",(char *) "rect", NULL
7273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7275 if (!SWIG_IsOK(res1
)) {
7276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect___eq__" "', expected argument " "1"" of type '" "wxRect const *""'");
7278 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7281 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7285 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
7286 wxPyEndAllowThreads(__tstate
);
7287 if (PyErr_Occurred()) SWIG_fail
;
7290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7298 SWIGINTERN PyObject
*_wrap_Rect___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7299 PyObject
*resultobj
= 0;
7300 wxRect
*arg1
= (wxRect
*) 0 ;
7306 PyObject
* obj0
= 0 ;
7307 PyObject
* obj1
= 0 ;
7308 char * kwnames
[] = {
7309 (char *) "self",(char *) "rect", NULL
7312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7314 if (!SWIG_IsOK(res1
)) {
7315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect___ne__" "', expected argument " "1"" of type '" "wxRect const *""'");
7317 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7320 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7324 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
7325 wxPyEndAllowThreads(__tstate
);
7326 if (PyErr_Occurred()) SWIG_fail
;
7329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7337 SWIGINTERN PyObject
*_wrap_Rect_InsideXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7338 PyObject
*resultobj
= 0;
7339 wxRect
*arg1
= (wxRect
*) 0 ;
7349 PyObject
* obj0
= 0 ;
7350 PyObject
* obj1
= 0 ;
7351 PyObject
* obj2
= 0 ;
7352 char * kwnames
[] = {
7353 (char *) "self",(char *) "x",(char *) "y", NULL
7356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7358 if (!SWIG_IsOK(res1
)) {
7359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_InsideXY" "', expected argument " "1"" of type '" "wxRect const *""'");
7361 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7362 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7363 if (!SWIG_IsOK(ecode2
)) {
7364 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_InsideXY" "', expected argument " "2"" of type '" "int""'");
7366 arg2
= static_cast< int >(val2
);
7367 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7368 if (!SWIG_IsOK(ecode3
)) {
7369 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect_InsideXY" "', expected argument " "3"" of type '" "int""'");
7371 arg3
= static_cast< int >(val3
);
7373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7374 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
7375 wxPyEndAllowThreads(__tstate
);
7376 if (PyErr_Occurred()) SWIG_fail
;
7379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7387 SWIGINTERN PyObject
*_wrap_Rect_Inside(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7388 PyObject
*resultobj
= 0;
7389 wxRect
*arg1
= (wxRect
*) 0 ;
7395 PyObject
* obj0
= 0 ;
7396 PyObject
* obj1
= 0 ;
7397 char * kwnames
[] = {
7398 (char *) "self",(char *) "pt", NULL
7401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7403 if (!SWIG_IsOK(res1
)) {
7404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Inside" "', expected argument " "1"" of type '" "wxRect const *""'");
7406 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7409 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7413 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
7414 wxPyEndAllowThreads(__tstate
);
7415 if (PyErr_Occurred()) SWIG_fail
;
7418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7426 SWIGINTERN PyObject
*_wrap_Rect_Intersects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7427 PyObject
*resultobj
= 0;
7428 wxRect
*arg1
= (wxRect
*) 0 ;
7434 PyObject
* obj0
= 0 ;
7435 PyObject
* obj1
= 0 ;
7436 char * kwnames
[] = {
7437 (char *) "self",(char *) "rect", NULL
7440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7442 if (!SWIG_IsOK(res1
)) {
7443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Intersects" "', expected argument " "1"" of type '" "wxRect const *""'");
7445 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7448 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7452 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
7453 wxPyEndAllowThreads(__tstate
);
7454 if (PyErr_Occurred()) SWIG_fail
;
7457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7465 SWIGINTERN PyObject
*_wrap_Rect_CenterIn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7466 PyObject
*resultobj
= 0;
7467 wxRect
*arg1
= (wxRect
*) 0 ;
7469 int arg3
= (int) wxBOTH
;
7476 PyObject
* obj0
= 0 ;
7477 PyObject
* obj1
= 0 ;
7478 PyObject
* obj2
= 0 ;
7479 char * kwnames
[] = {
7480 (char *) "self",(char *) "r",(char *) "dir", NULL
7483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Rect_CenterIn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7485 if (!SWIG_IsOK(res1
)) {
7486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_CenterIn" "', expected argument " "1"" of type '" "wxRect *""'");
7488 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7491 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7494 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7495 if (!SWIG_IsOK(ecode3
)) {
7496 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect_CenterIn" "', expected argument " "3"" of type '" "int""'");
7498 arg3
= static_cast< int >(val3
);
7501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7502 result
= (arg1
)->CenterIn((wxRect
const &)*arg2
,arg3
);
7503 wxPyEndAllowThreads(__tstate
);
7504 if (PyErr_Occurred()) SWIG_fail
;
7506 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
7513 SWIGINTERN PyObject
*_wrap_Rect_x_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7514 PyObject
*resultobj
= 0;
7515 wxRect
*arg1
= (wxRect
*) 0 ;
7521 PyObject
*swig_obj
[2] ;
7523 if (!SWIG_Python_UnpackTuple(args
,"Rect_x_set",2,2,swig_obj
)) SWIG_fail
;
7524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7525 if (!SWIG_IsOK(res1
)) {
7526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_x_set" "', expected argument " "1"" of type '" "wxRect *""'");
7528 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7529 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
7530 if (!SWIG_IsOK(ecode2
)) {
7531 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_x_set" "', expected argument " "2"" of type '" "int""'");
7533 arg2
= static_cast< int >(val2
);
7534 if (arg1
) (arg1
)->x
= arg2
;
7536 resultobj
= SWIG_Py_Void();
7543 SWIGINTERN PyObject
*_wrap_Rect_x_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7544 PyObject
*resultobj
= 0;
7545 wxRect
*arg1
= (wxRect
*) 0 ;
7549 PyObject
*swig_obj
[1] ;
7551 if (!args
) SWIG_fail
;
7553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7554 if (!SWIG_IsOK(res1
)) {
7555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_x_get" "', expected argument " "1"" of type '" "wxRect *""'");
7557 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7558 result
= (int) ((arg1
)->x
);
7559 resultobj
= SWIG_From_int(static_cast< int >(result
));
7566 SWIGINTERN PyObject
*_wrap_Rect_y_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7567 PyObject
*resultobj
= 0;
7568 wxRect
*arg1
= (wxRect
*) 0 ;
7574 PyObject
*swig_obj
[2] ;
7576 if (!SWIG_Python_UnpackTuple(args
,"Rect_y_set",2,2,swig_obj
)) SWIG_fail
;
7577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7578 if (!SWIG_IsOK(res1
)) {
7579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_y_set" "', expected argument " "1"" of type '" "wxRect *""'");
7581 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7582 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
7583 if (!SWIG_IsOK(ecode2
)) {
7584 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_y_set" "', expected argument " "2"" of type '" "int""'");
7586 arg2
= static_cast< int >(val2
);
7587 if (arg1
) (arg1
)->y
= arg2
;
7589 resultobj
= SWIG_Py_Void();
7596 SWIGINTERN PyObject
*_wrap_Rect_y_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7597 PyObject
*resultobj
= 0;
7598 wxRect
*arg1
= (wxRect
*) 0 ;
7602 PyObject
*swig_obj
[1] ;
7604 if (!args
) SWIG_fail
;
7606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7607 if (!SWIG_IsOK(res1
)) {
7608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_y_get" "', expected argument " "1"" of type '" "wxRect *""'");
7610 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7611 result
= (int) ((arg1
)->y
);
7612 resultobj
= SWIG_From_int(static_cast< int >(result
));
7619 SWIGINTERN PyObject
*_wrap_Rect_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7620 PyObject
*resultobj
= 0;
7621 wxRect
*arg1
= (wxRect
*) 0 ;
7627 PyObject
*swig_obj
[2] ;
7629 if (!SWIG_Python_UnpackTuple(args
,"Rect_width_set",2,2,swig_obj
)) SWIG_fail
;
7630 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7631 if (!SWIG_IsOK(res1
)) {
7632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_width_set" "', expected argument " "1"" of type '" "wxRect *""'");
7634 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7635 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
7636 if (!SWIG_IsOK(ecode2
)) {
7637 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_width_set" "', expected argument " "2"" of type '" "int""'");
7639 arg2
= static_cast< int >(val2
);
7640 if (arg1
) (arg1
)->width
= arg2
;
7642 resultobj
= SWIG_Py_Void();
7649 SWIGINTERN PyObject
*_wrap_Rect_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7650 PyObject
*resultobj
= 0;
7651 wxRect
*arg1
= (wxRect
*) 0 ;
7655 PyObject
*swig_obj
[1] ;
7657 if (!args
) SWIG_fail
;
7659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7660 if (!SWIG_IsOK(res1
)) {
7661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_width_get" "', expected argument " "1"" of type '" "wxRect *""'");
7663 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7664 result
= (int) ((arg1
)->width
);
7665 resultobj
= SWIG_From_int(static_cast< int >(result
));
7672 SWIGINTERN PyObject
*_wrap_Rect_height_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7673 PyObject
*resultobj
= 0;
7674 wxRect
*arg1
= (wxRect
*) 0 ;
7680 PyObject
*swig_obj
[2] ;
7682 if (!SWIG_Python_UnpackTuple(args
,"Rect_height_set",2,2,swig_obj
)) SWIG_fail
;
7683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7684 if (!SWIG_IsOK(res1
)) {
7685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_height_set" "', expected argument " "1"" of type '" "wxRect *""'");
7687 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7688 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
7689 if (!SWIG_IsOK(ecode2
)) {
7690 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_height_set" "', expected argument " "2"" of type '" "int""'");
7692 arg2
= static_cast< int >(val2
);
7693 if (arg1
) (arg1
)->height
= arg2
;
7695 resultobj
= SWIG_Py_Void();
7702 SWIGINTERN PyObject
*_wrap_Rect_height_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7703 PyObject
*resultobj
= 0;
7704 wxRect
*arg1
= (wxRect
*) 0 ;
7708 PyObject
*swig_obj
[1] ;
7710 if (!args
) SWIG_fail
;
7712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7713 if (!SWIG_IsOK(res1
)) {
7714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_height_get" "', expected argument " "1"" of type '" "wxRect *""'");
7716 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7717 result
= (int) ((arg1
)->height
);
7718 resultobj
= SWIG_From_int(static_cast< int >(result
));
7725 SWIGINTERN PyObject
*_wrap_Rect_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7726 PyObject
*resultobj
= 0;
7727 wxRect
*arg1
= (wxRect
*) 0 ;
7728 int arg2
= (int) 0 ;
7729 int arg3
= (int) 0 ;
7730 int arg4
= (int) 0 ;
7731 int arg5
= (int) 0 ;
7742 PyObject
* obj0
= 0 ;
7743 PyObject
* obj1
= 0 ;
7744 PyObject
* obj2
= 0 ;
7745 PyObject
* obj3
= 0 ;
7746 PyObject
* obj4
= 0 ;
7747 char * kwnames
[] = {
7748 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
7751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
7752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7753 if (!SWIG_IsOK(res1
)) {
7754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Set" "', expected argument " "1"" of type '" "wxRect *""'");
7756 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7758 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7759 if (!SWIG_IsOK(ecode2
)) {
7760 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_Set" "', expected argument " "2"" of type '" "int""'");
7762 arg2
= static_cast< int >(val2
);
7765 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7766 if (!SWIG_IsOK(ecode3
)) {
7767 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect_Set" "', expected argument " "3"" of type '" "int""'");
7769 arg3
= static_cast< int >(val3
);
7772 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7773 if (!SWIG_IsOK(ecode4
)) {
7774 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Rect_Set" "', expected argument " "4"" of type '" "int""'");
7776 arg4
= static_cast< int >(val4
);
7779 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
7780 if (!SWIG_IsOK(ecode5
)) {
7781 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Rect_Set" "', expected argument " "5"" of type '" "int""'");
7783 arg5
= static_cast< int >(val5
);
7786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7787 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
7788 wxPyEndAllowThreads(__tstate
);
7789 if (PyErr_Occurred()) SWIG_fail
;
7791 resultobj
= SWIG_Py_Void();
7798 SWIGINTERN PyObject
*_wrap_Rect_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7799 PyObject
*resultobj
= 0;
7800 wxRect
*arg1
= (wxRect
*) 0 ;
7801 PyObject
*result
= 0 ;
7804 PyObject
*swig_obj
[1] ;
7806 if (!args
) SWIG_fail
;
7808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7809 if (!SWIG_IsOK(res1
)) {
7810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Get" "', expected argument " "1"" of type '" "wxRect *""'");
7812 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7815 result
= (PyObject
*)wxRect_Get(arg1
);
7816 wxPyEndAllowThreads(__tstate
);
7817 if (PyErr_Occurred()) SWIG_fail
;
7826 SWIGINTERN PyObject
*Rect_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7828 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7829 SWIG_TypeNewClientData(SWIGTYPE_p_wxRect
, SWIG_NewClientData(obj
));
7830 return SWIG_Py_Void();
7833 SWIGINTERN PyObject
*Rect_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7834 return SWIG_Python_InitShadowInstance(args
);
7837 SWIGINTERN PyObject
*_wrap_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7838 PyObject
*resultobj
= 0;
7839 wxRect
*arg1
= (wxRect
*) 0 ;
7840 wxRect
*arg2
= (wxRect
*) 0 ;
7841 PyObject
*result
= 0 ;
7846 PyObject
* obj0
= 0 ;
7847 PyObject
* obj1
= 0 ;
7848 char * kwnames
[] = {
7849 (char *) "r1",(char *) "r2", NULL
7852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7854 if (!SWIG_IsOK(res1
)) {
7855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IntersectRect" "', expected argument " "1"" of type '" "wxRect *""'");
7857 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7858 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
7859 if (!SWIG_IsOK(res2
)) {
7860 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IntersectRect" "', expected argument " "2"" of type '" "wxRect *""'");
7862 arg2
= reinterpret_cast< wxRect
* >(argp2
);
7864 if (!wxPyCheckForApp()) SWIG_fail
;
7865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7866 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
7867 wxPyEndAllowThreads(__tstate
);
7868 if (PyErr_Occurred()) SWIG_fail
;
7877 SWIGINTERN PyObject
*_wrap_new_Point2D(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7878 PyObject
*resultobj
= 0;
7879 double arg1
= (double) 0.0 ;
7880 double arg2
= (double) 0.0 ;
7881 wxPoint2D
*result
= 0 ;
7886 PyObject
* obj0
= 0 ;
7887 PyObject
* obj1
= 0 ;
7888 char * kwnames
[] = {
7889 (char *) "x",(char *) "y", NULL
7892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7894 ecode1
= SWIG_AsVal_double(obj0
, &val1
);
7895 if (!SWIG_IsOK(ecode1
)) {
7896 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Point2D" "', expected argument " "1"" of type '" "double""'");
7898 arg1
= static_cast< double >(val1
);
7901 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
7902 if (!SWIG_IsOK(ecode2
)) {
7903 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Point2D" "', expected argument " "2"" of type '" "double""'");
7905 arg2
= static_cast< double >(val2
);
7908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7909 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
7910 wxPyEndAllowThreads(__tstate
);
7911 if (PyErr_Occurred()) SWIG_fail
;
7913 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_NEW
| 0 );
7920 SWIGINTERN PyObject
*_wrap_new_Point2DCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7921 PyObject
*resultobj
= 0;
7922 wxPoint2D
*arg1
= 0 ;
7923 wxPoint2D
*result
= 0 ;
7925 PyObject
* obj0
= 0 ;
7926 char * kwnames
[] = {
7930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) SWIG_fail
;
7933 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
7936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7937 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
7938 wxPyEndAllowThreads(__tstate
);
7939 if (PyErr_Occurred()) SWIG_fail
;
7941 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
7948 SWIGINTERN PyObject
*_wrap_new_Point2DFromPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7949 PyObject
*resultobj
= 0;
7951 wxPoint2D
*result
= 0 ;
7953 PyObject
* obj0
= 0 ;
7954 char * kwnames
[] = {
7958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) SWIG_fail
;
7961 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
7964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7965 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
7966 wxPyEndAllowThreads(__tstate
);
7967 if (PyErr_Occurred()) SWIG_fail
;
7969 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
7976 SWIGINTERN PyObject
*_wrap_Point2D_GetFloor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7977 PyObject
*resultobj
= 0;
7978 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7979 int *arg2
= (int *) 0 ;
7980 int *arg3
= (int *) 0 ;
7984 int res2
= SWIG_TMPOBJ
;
7986 int res3
= SWIG_TMPOBJ
;
7987 PyObject
*swig_obj
[1] ;
7991 if (!args
) SWIG_fail
;
7993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
7994 if (!SWIG_IsOK(res1
)) {
7995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetFloor" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
7997 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
7999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8000 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
8001 wxPyEndAllowThreads(__tstate
);
8002 if (PyErr_Occurred()) SWIG_fail
;
8004 resultobj
= SWIG_Py_Void();
8005 if (SWIG_IsTmpObj(res2
)) {
8006 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8008 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8009 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8011 if (SWIG_IsTmpObj(res3
)) {
8012 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8014 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8015 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8023 SWIGINTERN PyObject
*_wrap_Point2D_GetRounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8024 PyObject
*resultobj
= 0;
8025 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8026 int *arg2
= (int *) 0 ;
8027 int *arg3
= (int *) 0 ;
8031 int res2
= SWIG_TMPOBJ
;
8033 int res3
= SWIG_TMPOBJ
;
8034 PyObject
*swig_obj
[1] ;
8038 if (!args
) SWIG_fail
;
8040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8041 if (!SWIG_IsOK(res1
)) {
8042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetRounded" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8044 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8047 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
8048 wxPyEndAllowThreads(__tstate
);
8049 if (PyErr_Occurred()) SWIG_fail
;
8051 resultobj
= SWIG_Py_Void();
8052 if (SWIG_IsTmpObj(res2
)) {
8053 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8055 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8056 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8058 if (SWIG_IsTmpObj(res3
)) {
8059 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8061 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8062 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8070 SWIGINTERN PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8071 PyObject
*resultobj
= 0;
8072 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8076 PyObject
*swig_obj
[1] ;
8078 if (!args
) SWIG_fail
;
8080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8081 if (!SWIG_IsOK(res1
)) {
8082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetVectorLength" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8084 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8087 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
8088 wxPyEndAllowThreads(__tstate
);
8089 if (PyErr_Occurred()) SWIG_fail
;
8091 resultobj
= SWIG_From_double(static_cast< double >(result
));
8098 SWIGINTERN PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8099 PyObject
*resultobj
= 0;
8100 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8104 PyObject
*swig_obj
[1] ;
8106 if (!args
) SWIG_fail
;
8108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8109 if (!SWIG_IsOK(res1
)) {
8110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetVectorAngle" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8112 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8115 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
8116 wxPyEndAllowThreads(__tstate
);
8117 if (PyErr_Occurred()) SWIG_fail
;
8119 resultobj
= SWIG_From_double(static_cast< double >(result
));
8126 SWIGINTERN PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8127 PyObject
*resultobj
= 0;
8128 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8134 PyObject
* obj0
= 0 ;
8135 PyObject
* obj1
= 0 ;
8136 char * kwnames
[] = {
8137 (char *) "self",(char *) "length", NULL
8140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8142 if (!SWIG_IsOK(res1
)) {
8143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_SetVectorLength" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8145 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8146 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
8147 if (!SWIG_IsOK(ecode2
)) {
8148 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point2D_SetVectorLength" "', expected argument " "2"" of type '" "double""'");
8150 arg2
= static_cast< double >(val2
);
8152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8153 (arg1
)->SetVectorLength(arg2
);
8154 wxPyEndAllowThreads(__tstate
);
8155 if (PyErr_Occurred()) SWIG_fail
;
8157 resultobj
= SWIG_Py_Void();
8164 SWIGINTERN PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8165 PyObject
*resultobj
= 0;
8166 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8172 PyObject
* obj0
= 0 ;
8173 PyObject
* obj1
= 0 ;
8174 char * kwnames
[] = {
8175 (char *) "self",(char *) "degrees", NULL
8178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8180 if (!SWIG_IsOK(res1
)) {
8181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_SetVectorAngle" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8183 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8184 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
8185 if (!SWIG_IsOK(ecode2
)) {
8186 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point2D_SetVectorAngle" "', expected argument " "2"" of type '" "double""'");
8188 arg2
= static_cast< double >(val2
);
8190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8191 (arg1
)->SetVectorAngle(arg2
);
8192 wxPyEndAllowThreads(__tstate
);
8193 if (PyErr_Occurred()) SWIG_fail
;
8195 resultobj
= SWIG_Py_Void();
8202 SWIGINTERN PyObject
*_wrap_Point2D_GetDistance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8203 PyObject
*resultobj
= 0;
8204 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8205 wxPoint2D
*arg2
= 0 ;
8210 PyObject
* obj0
= 0 ;
8211 PyObject
* obj1
= 0 ;
8212 char * kwnames
[] = {
8213 (char *) "self",(char *) "pt", NULL
8216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8218 if (!SWIG_IsOK(res1
)) {
8219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetDistance" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8221 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8224 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8228 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
8229 wxPyEndAllowThreads(__tstate
);
8230 if (PyErr_Occurred()) SWIG_fail
;
8232 resultobj
= SWIG_From_double(static_cast< double >(result
));
8239 SWIGINTERN PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8240 PyObject
*resultobj
= 0;
8241 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8242 wxPoint2D
*arg2
= 0 ;
8247 PyObject
* obj0
= 0 ;
8248 PyObject
* obj1
= 0 ;
8249 char * kwnames
[] = {
8250 (char *) "self",(char *) "pt", NULL
8253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8255 if (!SWIG_IsOK(res1
)) {
8256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetDistanceSquare" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8258 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8261 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8265 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
8266 wxPyEndAllowThreads(__tstate
);
8267 if (PyErr_Occurred()) SWIG_fail
;
8269 resultobj
= SWIG_From_double(static_cast< double >(result
));
8276 SWIGINTERN PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8277 PyObject
*resultobj
= 0;
8278 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8279 wxPoint2D
*arg2
= 0 ;
8284 PyObject
* obj0
= 0 ;
8285 PyObject
* obj1
= 0 ;
8286 char * kwnames
[] = {
8287 (char *) "self",(char *) "vec", NULL
8290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8292 if (!SWIG_IsOK(res1
)) {
8293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetDotProduct" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8295 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8298 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8302 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
8303 wxPyEndAllowThreads(__tstate
);
8304 if (PyErr_Occurred()) SWIG_fail
;
8306 resultobj
= SWIG_From_double(static_cast< double >(result
));
8313 SWIGINTERN PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8314 PyObject
*resultobj
= 0;
8315 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8316 wxPoint2D
*arg2
= 0 ;
8321 PyObject
* obj0
= 0 ;
8322 PyObject
* obj1
= 0 ;
8323 char * kwnames
[] = {
8324 (char *) "self",(char *) "vec", NULL
8327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8329 if (!SWIG_IsOK(res1
)) {
8330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetCrossProduct" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8332 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8335 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8339 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
8340 wxPyEndAllowThreads(__tstate
);
8341 if (PyErr_Occurred()) SWIG_fail
;
8343 resultobj
= SWIG_From_double(static_cast< double >(result
));
8350 SWIGINTERN PyObject
*_wrap_Point2D___neg__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8351 PyObject
*resultobj
= 0;
8352 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8356 PyObject
*swig_obj
[1] ;
8358 if (!args
) SWIG_fail
;
8360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8361 if (!SWIG_IsOK(res1
)) {
8362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___neg__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8364 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8367 result
= (arg1
)->operator -();
8368 wxPyEndAllowThreads(__tstate
);
8369 if (PyErr_Occurred()) SWIG_fail
;
8371 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8378 SWIGINTERN PyObject
*_wrap_Point2D___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8379 PyObject
*resultobj
= 0;
8380 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8381 wxPoint2D
*arg2
= 0 ;
8382 wxPoint2D
*result
= 0 ;
8386 PyObject
* obj0
= 0 ;
8387 PyObject
* obj1
= 0 ;
8388 char * kwnames
[] = {
8389 (char *) "self",(char *) "pt", NULL
8392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_DISOWN
| 0 );
8394 if (!SWIG_IsOK(res1
)) {
8395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___iadd__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8397 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8400 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8405 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
8406 result
= (wxPoint2D
*) &_result_ref
;
8408 wxPyEndAllowThreads(__tstate
);
8409 if (PyErr_Occurred()) SWIG_fail
;
8411 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8418 SWIGINTERN PyObject
*_wrap_Point2D___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8419 PyObject
*resultobj
= 0;
8420 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8421 wxPoint2D
*arg2
= 0 ;
8422 wxPoint2D
*result
= 0 ;
8426 PyObject
* obj0
= 0 ;
8427 PyObject
* obj1
= 0 ;
8428 char * kwnames
[] = {
8429 (char *) "self",(char *) "pt", NULL
8432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_DISOWN
| 0 );
8434 if (!SWIG_IsOK(res1
)) {
8435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___isub__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8437 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8440 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8445 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
8446 result
= (wxPoint2D
*) &_result_ref
;
8448 wxPyEndAllowThreads(__tstate
);
8449 if (PyErr_Occurred()) SWIG_fail
;
8451 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8458 SWIGINTERN PyObject
*_wrap_Point2D___imul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8459 PyObject
*resultobj
= 0;
8460 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8461 wxPoint2D
*arg2
= 0 ;
8462 wxPoint2D
*result
= 0 ;
8466 PyObject
* obj0
= 0 ;
8467 PyObject
* obj1
= 0 ;
8468 char * kwnames
[] = {
8469 (char *) "self",(char *) "pt", NULL
8472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_DISOWN
| 0 );
8474 if (!SWIG_IsOK(res1
)) {
8475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___imul__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8477 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8480 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8485 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
8486 result
= (wxPoint2D
*) &_result_ref
;
8488 wxPyEndAllowThreads(__tstate
);
8489 if (PyErr_Occurred()) SWIG_fail
;
8491 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8498 SWIGINTERN PyObject
*_wrap_Point2D___idiv__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8499 PyObject
*resultobj
= 0;
8500 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8501 wxPoint2D
*arg2
= 0 ;
8502 wxPoint2D
*result
= 0 ;
8506 PyObject
* obj0
= 0 ;
8507 PyObject
* obj1
= 0 ;
8508 char * kwnames
[] = {
8509 (char *) "self",(char *) "pt", NULL
8512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_DISOWN
| 0 );
8514 if (!SWIG_IsOK(res1
)) {
8515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___idiv__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8517 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8520 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8525 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
8526 result
= (wxPoint2D
*) &_result_ref
;
8528 wxPyEndAllowThreads(__tstate
);
8529 if (PyErr_Occurred()) SWIG_fail
;
8531 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8538 SWIGINTERN PyObject
*_wrap_Point2D___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8539 PyObject
*resultobj
= 0;
8540 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8541 wxPoint2D
*arg2
= 0 ;
8546 PyObject
* obj0
= 0 ;
8547 PyObject
* obj1
= 0 ;
8548 char * kwnames
[] = {
8549 (char *) "self",(char *) "pt", NULL
8552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8554 if (!SWIG_IsOK(res1
)) {
8555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___eq__" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8557 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8560 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8564 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
8565 wxPyEndAllowThreads(__tstate
);
8566 if (PyErr_Occurred()) SWIG_fail
;
8569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8577 SWIGINTERN PyObject
*_wrap_Point2D___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8578 PyObject
*resultobj
= 0;
8579 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8580 wxPoint2D
*arg2
= 0 ;
8585 PyObject
* obj0
= 0 ;
8586 PyObject
* obj1
= 0 ;
8587 char * kwnames
[] = {
8588 (char *) "self",(char *) "pt", NULL
8591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8593 if (!SWIG_IsOK(res1
)) {
8594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___ne__" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8596 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8599 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8603 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
8604 wxPyEndAllowThreads(__tstate
);
8605 if (PyErr_Occurred()) SWIG_fail
;
8608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8616 SWIGINTERN PyObject
*_wrap_Point2D_x_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8617 PyObject
*resultobj
= 0;
8618 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8624 PyObject
*swig_obj
[2] ;
8626 if (!SWIG_Python_UnpackTuple(args
,"Point2D_x_set",2,2,swig_obj
)) SWIG_fail
;
8627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8628 if (!SWIG_IsOK(res1
)) {
8629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_x_set" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8631 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8632 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
8633 if (!SWIG_IsOK(ecode2
)) {
8634 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point2D_x_set" "', expected argument " "2"" of type '" "double""'");
8636 arg2
= static_cast< double >(val2
);
8637 if (arg1
) (arg1
)->m_x
= arg2
;
8639 resultobj
= SWIG_Py_Void();
8646 SWIGINTERN PyObject
*_wrap_Point2D_x_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8647 PyObject
*resultobj
= 0;
8648 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8652 PyObject
*swig_obj
[1] ;
8654 if (!args
) SWIG_fail
;
8656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8657 if (!SWIG_IsOK(res1
)) {
8658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_x_get" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8660 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8661 result
= (double) ((arg1
)->m_x
);
8662 resultobj
= SWIG_From_double(static_cast< double >(result
));
8669 SWIGINTERN PyObject
*_wrap_Point2D_y_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8670 PyObject
*resultobj
= 0;
8671 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8677 PyObject
*swig_obj
[2] ;
8679 if (!SWIG_Python_UnpackTuple(args
,"Point2D_y_set",2,2,swig_obj
)) SWIG_fail
;
8680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8681 if (!SWIG_IsOK(res1
)) {
8682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_y_set" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8684 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8685 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
8686 if (!SWIG_IsOK(ecode2
)) {
8687 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point2D_y_set" "', expected argument " "2"" of type '" "double""'");
8689 arg2
= static_cast< double >(val2
);
8690 if (arg1
) (arg1
)->m_y
= arg2
;
8692 resultobj
= SWIG_Py_Void();
8699 SWIGINTERN PyObject
*_wrap_Point2D_y_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8700 PyObject
*resultobj
= 0;
8701 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8705 PyObject
*swig_obj
[1] ;
8707 if (!args
) SWIG_fail
;
8709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8710 if (!SWIG_IsOK(res1
)) {
8711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_y_get" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8713 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8714 result
= (double) ((arg1
)->m_y
);
8715 resultobj
= SWIG_From_double(static_cast< double >(result
));
8722 SWIGINTERN PyObject
*_wrap_Point2D_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8723 PyObject
*resultobj
= 0;
8724 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8725 double arg2
= (double) 0 ;
8726 double arg3
= (double) 0 ;
8733 PyObject
* obj0
= 0 ;
8734 PyObject
* obj1
= 0 ;
8735 PyObject
* obj2
= 0 ;
8736 char * kwnames
[] = {
8737 (char *) "self",(char *) "x",(char *) "y", NULL
8740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8742 if (!SWIG_IsOK(res1
)) {
8743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_Set" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8745 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8747 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
8748 if (!SWIG_IsOK(ecode2
)) {
8749 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point2D_Set" "', expected argument " "2"" of type '" "double""'");
8751 arg2
= static_cast< double >(val2
);
8754 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
8755 if (!SWIG_IsOK(ecode3
)) {
8756 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Point2D_Set" "', expected argument " "3"" of type '" "double""'");
8758 arg3
= static_cast< double >(val3
);
8761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8762 wxPoint2D_Set(arg1
,arg2
,arg3
);
8763 wxPyEndAllowThreads(__tstate
);
8764 if (PyErr_Occurred()) SWIG_fail
;
8766 resultobj
= SWIG_Py_Void();
8773 SWIGINTERN PyObject
*_wrap_Point2D_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8774 PyObject
*resultobj
= 0;
8775 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8776 PyObject
*result
= 0 ;
8779 PyObject
*swig_obj
[1] ;
8781 if (!args
) SWIG_fail
;
8783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8784 if (!SWIG_IsOK(res1
)) {
8785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_Get" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8787 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8790 result
= (PyObject
*)wxPoint2D_Get(arg1
);
8791 wxPyEndAllowThreads(__tstate
);
8792 if (PyErr_Occurred()) SWIG_fail
;
8801 SWIGINTERN PyObject
*Point2D_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8803 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8804 SWIG_TypeNewClientData(SWIGTYPE_p_wxPoint2D
, SWIG_NewClientData(obj
));
8805 return SWIG_Py_Void();
8808 SWIGINTERN PyObject
*Point2D_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8809 return SWIG_Python_InitShadowInstance(args
);
8812 SWIGINTERN
int DefaultPosition_set(PyObject
*) {
8813 SWIG_Error(SWIG_AttributeError
,"Variable DefaultPosition is read-only.");
8818 SWIGINTERN PyObject
*DefaultPosition_get(void) {
8819 PyObject
*pyobj
= 0;
8821 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0 );
8826 SWIGINTERN
int DefaultSize_set(PyObject
*) {
8827 SWIG_Error(SWIG_AttributeError
,"Variable DefaultSize is read-only.");
8832 SWIGINTERN PyObject
*DefaultSize_get(void) {
8833 PyObject
*pyobj
= 0;
8835 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0 );
8840 SWIGINTERN PyObject
*_wrap_new_InputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8841 PyObject
*resultobj
= 0;
8842 PyObject
*arg1
= (PyObject
*) 0 ;
8843 wxPyInputStream
*result
= 0 ;
8844 PyObject
* obj0
= 0 ;
8845 char * kwnames
[] = {
8849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) SWIG_fail
;
8852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8853 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
8854 wxPyEndAllowThreads(__tstate
);
8855 if (PyErr_Occurred()) SWIG_fail
;
8857 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_NEW
| 0 );
8864 SWIGINTERN PyObject
*_wrap_delete_InputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8865 PyObject
*resultobj
= 0;
8866 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
8869 PyObject
*swig_obj
[1] ;
8871 if (!args
) SWIG_fail
;
8873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_DISOWN
| 0 );
8874 if (!SWIG_IsOK(res1
)) {
8875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_InputStream" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
8877 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
8879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8882 wxPyEndAllowThreads(__tstate
);
8883 if (PyErr_Occurred()) SWIG_fail
;
8885 resultobj
= SWIG_Py_Void();
8892 SWIGINTERN PyObject
*_wrap_InputStream_close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8893 PyObject
*resultobj
= 0;
8894 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
8897 PyObject
*swig_obj
[1] ;
8899 if (!args
) SWIG_fail
;
8901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
8902 if (!SWIG_IsOK(res1
)) {
8903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_close" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
8905 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
8907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8909 wxPyEndAllowThreads(__tstate
);
8910 if (PyErr_Occurred()) SWIG_fail
;
8912 resultobj
= SWIG_Py_Void();
8919 SWIGINTERN PyObject
*_wrap_InputStream_flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8920 PyObject
*resultobj
= 0;
8921 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
8924 PyObject
*swig_obj
[1] ;
8926 if (!args
) SWIG_fail
;
8928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
8929 if (!SWIG_IsOK(res1
)) {
8930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_flush" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
8932 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
8934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8936 wxPyEndAllowThreads(__tstate
);
8937 if (PyErr_Occurred()) SWIG_fail
;
8939 resultobj
= SWIG_Py_Void();
8946 SWIGINTERN PyObject
*_wrap_InputStream_eof(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8947 PyObject
*resultobj
= 0;
8948 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
8952 PyObject
*swig_obj
[1] ;
8954 if (!args
) SWIG_fail
;
8956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
8957 if (!SWIG_IsOK(res1
)) {
8958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_eof" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
8960 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
8962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8963 result
= (bool)(arg1
)->eof();
8964 wxPyEndAllowThreads(__tstate
);
8965 if (PyErr_Occurred()) SWIG_fail
;
8968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8976 SWIGINTERN PyObject
*_wrap_InputStream_read(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8977 PyObject
*resultobj
= 0;
8978 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
8979 int arg2
= (int) -1 ;
8980 PyObject
*result
= 0 ;
8985 PyObject
* obj0
= 0 ;
8986 PyObject
* obj1
= 0 ;
8987 char * kwnames
[] = {
8988 (char *) "self",(char *) "size", NULL
8991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
8993 if (!SWIG_IsOK(res1
)) {
8994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_read" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
8996 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
8998 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8999 if (!SWIG_IsOK(ecode2
)) {
9000 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "InputStream_read" "', expected argument " "2"" of type '" "int""'");
9002 arg2
= static_cast< int >(val2
);
9005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9006 result
= (PyObject
*)(arg1
)->read(arg2
);
9007 wxPyEndAllowThreads(__tstate
);
9008 if (PyErr_Occurred()) SWIG_fail
;
9017 SWIGINTERN PyObject
*_wrap_InputStream_readline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9018 PyObject
*resultobj
= 0;
9019 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9020 int arg2
= (int) -1 ;
9021 PyObject
*result
= 0 ;
9026 PyObject
* obj0
= 0 ;
9027 PyObject
* obj1
= 0 ;
9028 char * kwnames
[] = {
9029 (char *) "self",(char *) "size", NULL
9032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9034 if (!SWIG_IsOK(res1
)) {
9035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_readline" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9037 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9039 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9040 if (!SWIG_IsOK(ecode2
)) {
9041 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "InputStream_readline" "', expected argument " "2"" of type '" "int""'");
9043 arg2
= static_cast< int >(val2
);
9046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9047 result
= (PyObject
*)(arg1
)->readline(arg2
);
9048 wxPyEndAllowThreads(__tstate
);
9049 if (PyErr_Occurred()) SWIG_fail
;
9058 SWIGINTERN PyObject
*_wrap_InputStream_readlines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9059 PyObject
*resultobj
= 0;
9060 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9061 int arg2
= (int) -1 ;
9062 PyObject
*result
= 0 ;
9067 PyObject
* obj0
= 0 ;
9068 PyObject
* obj1
= 0 ;
9069 char * kwnames
[] = {
9070 (char *) "self",(char *) "sizehint", NULL
9073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9075 if (!SWIG_IsOK(res1
)) {
9076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_readlines" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9078 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9080 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9081 if (!SWIG_IsOK(ecode2
)) {
9082 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "InputStream_readlines" "', expected argument " "2"" of type '" "int""'");
9084 arg2
= static_cast< int >(val2
);
9087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9088 result
= (PyObject
*)(arg1
)->readlines(arg2
);
9089 wxPyEndAllowThreads(__tstate
);
9090 if (PyErr_Occurred()) SWIG_fail
;
9099 SWIGINTERN PyObject
*_wrap_InputStream_seek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9100 PyObject
*resultobj
= 0;
9101 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9103 int arg3
= (int) 0 ;
9110 PyObject
* obj0
= 0 ;
9111 PyObject
* obj1
= 0 ;
9112 PyObject
* obj2
= 0 ;
9113 char * kwnames
[] = {
9114 (char *) "self",(char *) "offset",(char *) "whence", NULL
9117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9119 if (!SWIG_IsOK(res1
)) {
9120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_seek" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9122 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9123 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9124 if (!SWIG_IsOK(ecode2
)) {
9125 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "InputStream_seek" "', expected argument " "2"" of type '" "int""'");
9127 arg2
= static_cast< int >(val2
);
9129 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9130 if (!SWIG_IsOK(ecode3
)) {
9131 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "InputStream_seek" "', expected argument " "3"" of type '" "int""'");
9133 arg3
= static_cast< int >(val3
);
9136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9137 (arg1
)->seek(arg2
,arg3
);
9138 wxPyEndAllowThreads(__tstate
);
9139 if (PyErr_Occurred()) SWIG_fail
;
9141 resultobj
= SWIG_Py_Void();
9148 SWIGINTERN PyObject
*_wrap_InputStream_tell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9149 PyObject
*resultobj
= 0;
9150 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9154 PyObject
*swig_obj
[1] ;
9156 if (!args
) SWIG_fail
;
9158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9159 if (!SWIG_IsOK(res1
)) {
9160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_tell" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9162 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9165 result
= (int)(arg1
)->tell();
9166 wxPyEndAllowThreads(__tstate
);
9167 if (PyErr_Occurred()) SWIG_fail
;
9169 resultobj
= SWIG_From_int(static_cast< int >(result
));
9176 SWIGINTERN PyObject
*_wrap_InputStream_Peek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9177 PyObject
*resultobj
= 0;
9178 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9182 PyObject
*swig_obj
[1] ;
9184 if (!args
) SWIG_fail
;
9186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9187 if (!SWIG_IsOK(res1
)) {
9188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_Peek" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9190 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9193 result
= (char)(arg1
)->Peek();
9194 wxPyEndAllowThreads(__tstate
);
9195 if (PyErr_Occurred()) SWIG_fail
;
9197 resultobj
= SWIG_From_char(static_cast< char >(result
));
9204 SWIGINTERN PyObject
*_wrap_InputStream_GetC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9205 PyObject
*resultobj
= 0;
9206 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9210 PyObject
*swig_obj
[1] ;
9212 if (!args
) SWIG_fail
;
9214 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9215 if (!SWIG_IsOK(res1
)) {
9216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_GetC" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9218 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9221 result
= (char)(arg1
)->GetC();
9222 wxPyEndAllowThreads(__tstate
);
9223 if (PyErr_Occurred()) SWIG_fail
;
9225 resultobj
= SWIG_From_char(static_cast< char >(result
));
9232 SWIGINTERN PyObject
*_wrap_InputStream_LastRead(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9233 PyObject
*resultobj
= 0;
9234 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9238 PyObject
*swig_obj
[1] ;
9240 if (!args
) SWIG_fail
;
9242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9243 if (!SWIG_IsOK(res1
)) {
9244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_LastRead" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9246 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9249 result
= (size_t)(arg1
)->LastRead();
9250 wxPyEndAllowThreads(__tstate
);
9251 if (PyErr_Occurred()) SWIG_fail
;
9253 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
9260 SWIGINTERN PyObject
*_wrap_InputStream_CanRead(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9261 PyObject
*resultobj
= 0;
9262 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9266 PyObject
*swig_obj
[1] ;
9268 if (!args
) SWIG_fail
;
9270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9271 if (!SWIG_IsOK(res1
)) {
9272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_CanRead" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9274 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9277 result
= (bool)(arg1
)->CanRead();
9278 wxPyEndAllowThreads(__tstate
);
9279 if (PyErr_Occurred()) SWIG_fail
;
9282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9290 SWIGINTERN PyObject
*_wrap_InputStream_Eof(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9291 PyObject
*resultobj
= 0;
9292 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9296 PyObject
*swig_obj
[1] ;
9298 if (!args
) SWIG_fail
;
9300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9301 if (!SWIG_IsOK(res1
)) {
9302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_Eof" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9304 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9307 result
= (bool)(arg1
)->Eof();
9308 wxPyEndAllowThreads(__tstate
);
9309 if (PyErr_Occurred()) SWIG_fail
;
9312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9320 SWIGINTERN PyObject
*_wrap_InputStream_Ungetch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9321 PyObject
*resultobj
= 0;
9322 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9329 PyObject
* obj0
= 0 ;
9330 PyObject
* obj1
= 0 ;
9331 char * kwnames
[] = {
9332 (char *) "self",(char *) "c", NULL
9335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9337 if (!SWIG_IsOK(res1
)) {
9338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_Ungetch" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9340 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9341 ecode2
= SWIG_AsVal_char(obj1
, &val2
);
9342 if (!SWIG_IsOK(ecode2
)) {
9343 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "InputStream_Ungetch" "', expected argument " "2"" of type '" "char""'");
9345 arg2
= static_cast< char >(val2
);
9347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9348 result
= (bool)(arg1
)->Ungetch(arg2
);
9349 wxPyEndAllowThreads(__tstate
);
9350 if (PyErr_Occurred()) SWIG_fail
;
9353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9361 SWIGINTERN PyObject
*_wrap_InputStream_SeekI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9362 PyObject
*resultobj
= 0;
9363 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9365 wxSeekMode arg3
= (wxSeekMode
) wxFromStart
;
9373 PyObject
* obj0
= 0 ;
9374 PyObject
* obj1
= 0 ;
9375 PyObject
* obj2
= 0 ;
9376 char * kwnames
[] = {
9377 (char *) "self",(char *) "pos",(char *) "mode", NULL
9380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9382 if (!SWIG_IsOK(res1
)) {
9383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_SeekI" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9385 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9386 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9387 if (!SWIG_IsOK(ecode2
)) {
9388 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "InputStream_SeekI" "', expected argument " "2"" of type '" "long""'");
9390 arg2
= static_cast< long >(val2
);
9392 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9393 if (!SWIG_IsOK(ecode3
)) {
9394 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "InputStream_SeekI" "', expected argument " "3"" of type '" "wxSeekMode""'");
9396 arg3
= static_cast< wxSeekMode
>(val3
);
9399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9400 result
= (long)(arg1
)->SeekI(arg2
,arg3
);
9401 wxPyEndAllowThreads(__tstate
);
9402 if (PyErr_Occurred()) SWIG_fail
;
9404 resultobj
= SWIG_From_long(static_cast< long >(result
));
9411 SWIGINTERN PyObject
*_wrap_InputStream_TellI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9412 PyObject
*resultobj
= 0;
9413 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9417 PyObject
*swig_obj
[1] ;
9419 if (!args
) SWIG_fail
;
9421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9422 if (!SWIG_IsOK(res1
)) {
9423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_TellI" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9425 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9428 result
= (long)(arg1
)->TellI();
9429 wxPyEndAllowThreads(__tstate
);
9430 if (PyErr_Occurred()) SWIG_fail
;
9432 resultobj
= SWIG_From_long(static_cast< long >(result
));
9439 SWIGINTERN PyObject
*InputStream_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9441 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9442 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyInputStream
, SWIG_NewClientData(obj
));
9443 return SWIG_Py_Void();
9446 SWIGINTERN PyObject
*InputStream_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9447 return SWIG_Python_InitShadowInstance(args
);
9450 SWIGINTERN PyObject
*_wrap_OutputStream_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9451 PyObject
*resultobj
= 0;
9452 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
9453 PyObject
*arg2
= (PyObject
*) 0 ;
9456 PyObject
* obj0
= 0 ;
9457 PyObject
* obj1
= 0 ;
9458 char * kwnames
[] = {
9459 (char *) "self",(char *) "obj", NULL
9462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxOutputStream
, 0 | 0 );
9464 if (!SWIG_IsOK(res1
)) {
9465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "OutputStream_write" "', expected argument " "1"" of type '" "wxOutputStream *""'");
9467 arg1
= reinterpret_cast< wxOutputStream
* >(argp1
);
9470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9471 wxOutputStream_write(arg1
,arg2
);
9472 wxPyEndAllowThreads(__tstate
);
9473 if (PyErr_Occurred()) SWIG_fail
;
9475 resultobj
= SWIG_Py_Void();
9482 SWIGINTERN PyObject
*_wrap_OutputStream_LastWrite(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9483 PyObject
*resultobj
= 0;
9484 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
9488 PyObject
*swig_obj
[1] ;
9490 if (!args
) SWIG_fail
;
9492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOutputStream
, 0 | 0 );
9493 if (!SWIG_IsOK(res1
)) {
9494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "OutputStream_LastWrite" "', expected argument " "1"" of type '" "wxOutputStream const *""'");
9496 arg1
= reinterpret_cast< wxOutputStream
* >(argp1
);
9498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9499 result
= (size_t)((wxOutputStream
const *)arg1
)->LastWrite();
9500 wxPyEndAllowThreads(__tstate
);
9501 if (PyErr_Occurred()) SWIG_fail
;
9503 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
9510 SWIGINTERN PyObject
*OutputStream_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9512 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9513 SWIG_TypeNewClientData(SWIGTYPE_p_wxOutputStream
, SWIG_NewClientData(obj
));
9514 return SWIG_Py_Void();
9517 SWIGINTERN PyObject
*_wrap_new_FSFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9518 PyObject
*resultobj
= 0;
9519 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
9520 wxString
*arg2
= 0 ;
9521 wxString
*arg3
= 0 ;
9522 wxString
*arg4
= 0 ;
9524 wxFSFile
*result
= 0 ;
9525 wxPyInputStream
*temp1
;
9526 bool temp2
= false ;
9527 bool temp3
= false ;
9528 bool temp4
= false ;
9531 PyObject
* obj0
= 0 ;
9532 PyObject
* obj1
= 0 ;
9533 PyObject
* obj2
= 0 ;
9534 PyObject
* obj3
= 0 ;
9535 PyObject
* obj4
= 0 ;
9536 char * kwnames
[] = {
9537 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
9540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
9542 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9543 arg1
= wxPyCBInputStream_copy((wxPyCBInputStream
*)temp1
->m_wxis
);
9545 PyErr_Clear(); // clear the failure of the wxPyConvert above
9546 arg1
= wxPyCBInputStream_create(obj0
, true);
9548 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
9554 arg2
= wxString_in_helper(obj1
);
9555 if (arg2
== NULL
) SWIG_fail
;
9559 arg3
= wxString_in_helper(obj2
);
9560 if (arg3
== NULL
) SWIG_fail
;
9564 arg4
= wxString_in_helper(obj3
);
9565 if (arg4
== NULL
) SWIG_fail
;
9569 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxDateTime
, 0 | 0);
9570 if (!SWIG_IsOK(res5
)) {
9571 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "new_FSFile" "', expected argument " "5"" of type '" "wxDateTime""'");
9574 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FSFile" "', expected argument " "5"" of type '" "wxDateTime""'");
9576 wxDateTime
* temp
= reinterpret_cast< wxDateTime
* >(argp5
);
9578 if (SWIG_IsNewObj(res5
)) delete temp
;
9582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9583 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
9584 wxPyEndAllowThreads(__tstate
);
9585 if (PyErr_Occurred()) SWIG_fail
;
9588 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
9620 SWIGINTERN PyObject
*_wrap_delete_FSFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9621 PyObject
*resultobj
= 0;
9622 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
9625 PyObject
*swig_obj
[1] ;
9627 if (!args
) SWIG_fail
;
9629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFSFile
, SWIG_POINTER_DISOWN
| 0 );
9630 if (!SWIG_IsOK(res1
)) {
9631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FSFile" "', expected argument " "1"" of type '" "wxFSFile *""'");
9633 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
9635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9638 wxPyEndAllowThreads(__tstate
);
9639 if (PyErr_Occurred()) SWIG_fail
;
9641 resultobj
= SWIG_Py_Void();
9648 SWIGINTERN PyObject
*_wrap_FSFile_GetStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9649 PyObject
*resultobj
= 0;
9650 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
9651 wxInputStream
*result
= 0 ;
9654 PyObject
*swig_obj
[1] ;
9656 if (!args
) SWIG_fail
;
9658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFSFile
, 0 | 0 );
9659 if (!SWIG_IsOK(res1
)) {
9660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FSFile_GetStream" "', expected argument " "1"" of type '" "wxFSFile *""'");
9662 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
9664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9665 result
= (wxInputStream
*)(arg1
)->GetStream();
9666 wxPyEndAllowThreads(__tstate
);
9667 if (PyErr_Occurred()) SWIG_fail
;
9670 wxPyInputStream
* _ptr
= NULL
;
9673 _ptr
= new wxPyInputStream(result
);
9675 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
9683 SWIGINTERN PyObject
*_wrap_FSFile_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9684 PyObject
*resultobj
= 0;
9685 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
9686 wxString
*result
= 0 ;
9689 PyObject
*swig_obj
[1] ;
9691 if (!args
) SWIG_fail
;
9693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFSFile
, 0 | 0 );
9694 if (!SWIG_IsOK(res1
)) {
9695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FSFile_GetMimeType" "', expected argument " "1"" of type '" "wxFSFile *""'");
9697 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
9699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9701 wxString
const &_result_ref
= (arg1
)->GetMimeType();
9702 result
= (wxString
*) &_result_ref
;
9704 wxPyEndAllowThreads(__tstate
);
9705 if (PyErr_Occurred()) SWIG_fail
;
9709 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9711 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9720 SWIGINTERN PyObject
*_wrap_FSFile_GetLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9721 PyObject
*resultobj
= 0;
9722 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
9723 wxString
*result
= 0 ;
9726 PyObject
*swig_obj
[1] ;
9728 if (!args
) SWIG_fail
;
9730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFSFile
, 0 | 0 );
9731 if (!SWIG_IsOK(res1
)) {
9732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FSFile_GetLocation" "', expected argument " "1"" of type '" "wxFSFile *""'");
9734 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
9736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9738 wxString
const &_result_ref
= (arg1
)->GetLocation();
9739 result
= (wxString
*) &_result_ref
;
9741 wxPyEndAllowThreads(__tstate
);
9742 if (PyErr_Occurred()) SWIG_fail
;
9746 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9748 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9757 SWIGINTERN PyObject
*_wrap_FSFile_GetAnchor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9758 PyObject
*resultobj
= 0;
9759 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
9760 wxString
*result
= 0 ;
9763 PyObject
*swig_obj
[1] ;
9765 if (!args
) SWIG_fail
;
9767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFSFile
, 0 | 0 );
9768 if (!SWIG_IsOK(res1
)) {
9769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FSFile_GetAnchor" "', expected argument " "1"" of type '" "wxFSFile *""'");
9771 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
9773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9775 wxString
const &_result_ref
= (arg1
)->GetAnchor();
9776 result
= (wxString
*) &_result_ref
;
9778 wxPyEndAllowThreads(__tstate
);
9779 if (PyErr_Occurred()) SWIG_fail
;
9783 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9785 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9794 SWIGINTERN PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9795 PyObject
*resultobj
= 0;
9796 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
9800 PyObject
*swig_obj
[1] ;
9802 if (!args
) SWIG_fail
;
9804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFSFile
, 0 | 0 );
9805 if (!SWIG_IsOK(res1
)) {
9806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FSFile_GetModificationTime" "', expected argument " "1"" of type '" "wxFSFile *""'");
9808 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
9810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9811 result
= (arg1
)->GetModificationTime();
9812 wxPyEndAllowThreads(__tstate
);
9813 if (PyErr_Occurred()) SWIG_fail
;
9815 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
9822 SWIGINTERN PyObject
*FSFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9824 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9825 SWIG_TypeNewClientData(SWIGTYPE_p_wxFSFile
, SWIG_NewClientData(obj
));
9826 return SWIG_Py_Void();
9829 SWIGINTERN PyObject
*FSFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9830 return SWIG_Python_InitShadowInstance(args
);
9833 SWIGINTERN PyObject
*_wrap_delete_CPPFileSystemHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9834 PyObject
*resultobj
= 0;
9835 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
9838 PyObject
*swig_obj
[1] ;
9840 if (!args
) SWIG_fail
;
9842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileSystemHandler
, SWIG_POINTER_DISOWN
| 0 );
9843 if (!SWIG_IsOK(res1
)) {
9844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_CPPFileSystemHandler" "', expected argument " "1"" of type '" "wxFileSystemHandler *""'");
9846 arg1
= reinterpret_cast< wxFileSystemHandler
* >(argp1
);
9848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9851 wxPyEndAllowThreads(__tstate
);
9852 if (PyErr_Occurred()) SWIG_fail
;
9854 resultobj
= SWIG_Py_Void();
9861 SWIGINTERN PyObject
*CPPFileSystemHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9863 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9864 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileSystemHandler
, SWIG_NewClientData(obj
));
9865 return SWIG_Py_Void();
9868 SWIGINTERN PyObject
*_wrap_new_FileSystemHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9869 PyObject
*resultobj
= 0;
9870 wxPyFileSystemHandler
*result
= 0 ;
9872 if (!SWIG_Python_UnpackTuple(args
,"new_FileSystemHandler",0,0,0)) SWIG_fail
;
9874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9875 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
9876 wxPyEndAllowThreads(__tstate
);
9877 if (PyErr_Occurred()) SWIG_fail
;
9879 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_NEW
| 0 );
9886 SWIGINTERN PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9887 PyObject
*resultobj
= 0;
9888 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
9889 PyObject
*arg2
= (PyObject
*) 0 ;
9890 PyObject
*arg3
= (PyObject
*) 0 ;
9893 PyObject
* obj0
= 0 ;
9894 PyObject
* obj1
= 0 ;
9895 PyObject
* obj2
= 0 ;
9896 char * kwnames
[] = {
9897 (char *) "self",(char *) "self",(char *) "_class", NULL
9900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
9902 if (!SWIG_IsOK(res1
)) {
9903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
9905 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
9909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9910 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9911 wxPyEndAllowThreads(__tstate
);
9912 if (PyErr_Occurred()) SWIG_fail
;
9914 resultobj
= SWIG_Py_Void();
9921 SWIGINTERN PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9922 PyObject
*resultobj
= 0;
9923 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
9924 wxString
*arg2
= 0 ;
9928 bool temp2
= false ;
9929 PyObject
* obj0
= 0 ;
9930 PyObject
* obj1
= 0 ;
9931 char * kwnames
[] = {
9932 (char *) "self",(char *) "location", NULL
9935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
9937 if (!SWIG_IsOK(res1
)) {
9938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_CanOpen" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
9940 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
9942 arg2
= wxString_in_helper(obj1
);
9943 if (arg2
== NULL
) SWIG_fail
;
9947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9948 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9949 wxPyEndAllowThreads(__tstate
);
9950 if (PyErr_Occurred()) SWIG_fail
;
9953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9969 SWIGINTERN PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9970 PyObject
*resultobj
= 0;
9971 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
9972 wxFileSystem
*arg2
= 0 ;
9973 wxString
*arg3
= 0 ;
9974 wxFSFile
*result
= 0 ;
9979 bool temp3
= false ;
9980 PyObject
* obj0
= 0 ;
9981 PyObject
* obj1
= 0 ;
9982 PyObject
* obj2
= 0 ;
9983 char * kwnames
[] = {
9984 (char *) "self",(char *) "fs",(char *) "location", NULL
9987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
9989 if (!SWIG_IsOK(res1
)) {
9990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_OpenFile" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
9992 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
9993 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileSystem
, 0 );
9994 if (!SWIG_IsOK(res2
)) {
9995 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileSystemHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
9998 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FileSystemHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
10000 arg2
= reinterpret_cast< wxFileSystem
* >(argp2
);
10002 arg3
= wxString_in_helper(obj2
);
10003 if (arg3
== NULL
) SWIG_fail
;
10007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10008 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
10009 wxPyEndAllowThreads(__tstate
);
10010 if (PyErr_Occurred()) SWIG_fail
;
10013 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
10029 SWIGINTERN PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10030 PyObject
*resultobj
= 0;
10031 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
10032 wxString
*arg2
= 0 ;
10033 int arg3
= (int) 0 ;
10037 bool temp2
= false ;
10040 PyObject
* obj0
= 0 ;
10041 PyObject
* obj1
= 0 ;
10042 PyObject
* obj2
= 0 ;
10043 char * kwnames
[] = {
10044 (char *) "self",(char *) "spec",(char *) "flags", NULL
10047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
10049 if (!SWIG_IsOK(res1
)) {
10050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_FindFirst" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
10052 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
10054 arg2
= wxString_in_helper(obj1
);
10055 if (arg2
== NULL
) SWIG_fail
;
10059 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10060 if (!SWIG_IsOK(ecode3
)) {
10061 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileSystemHandler_FindFirst" "', expected argument " "3"" of type '" "int""'");
10063 arg3
= static_cast< int >(val3
);
10066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10067 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
10068 wxPyEndAllowThreads(__tstate
);
10069 if (PyErr_Occurred()) SWIG_fail
;
10073 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10075 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10092 SWIGINTERN PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10093 PyObject
*resultobj
= 0;
10094 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
10098 PyObject
*swig_obj
[1] ;
10100 if (!args
) SWIG_fail
;
10101 swig_obj
[0] = args
;
10102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
10103 if (!SWIG_IsOK(res1
)) {
10104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_FindNext" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
10106 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
10108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10109 result
= (arg1
)->FindNext();
10110 wxPyEndAllowThreads(__tstate
);
10111 if (PyErr_Occurred()) SWIG_fail
;
10115 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10117 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10126 SWIGINTERN PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10127 PyObject
*resultobj
= 0;
10128 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
10129 wxString
*arg2
= 0 ;
10133 bool temp2
= false ;
10134 PyObject
* obj0
= 0 ;
10135 PyObject
* obj1
= 0 ;
10136 char * kwnames
[] = {
10137 (char *) "self",(char *) "location", NULL
10140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
10142 if (!SWIG_IsOK(res1
)) {
10143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_GetProtocol" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
10145 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
10147 arg2
= wxString_in_helper(obj1
);
10148 if (arg2
== NULL
) SWIG_fail
;
10152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10153 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
10154 wxPyEndAllowThreads(__tstate
);
10155 if (PyErr_Occurred()) SWIG_fail
;
10159 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10161 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10178 SWIGINTERN PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10179 PyObject
*resultobj
= 0;
10180 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
10181 wxString
*arg2
= 0 ;
10185 bool temp2
= false ;
10186 PyObject
* obj0
= 0 ;
10187 PyObject
* obj1
= 0 ;
10188 char * kwnames
[] = {
10189 (char *) "self",(char *) "location", NULL
10192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
10194 if (!SWIG_IsOK(res1
)) {
10195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_GetLeftLocation" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
10197 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
10199 arg2
= wxString_in_helper(obj1
);
10200 if (arg2
== NULL
) SWIG_fail
;
10204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10205 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
10206 wxPyEndAllowThreads(__tstate
);
10207 if (PyErr_Occurred()) SWIG_fail
;
10211 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10213 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10230 SWIGINTERN PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10231 PyObject
*resultobj
= 0;
10232 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
10233 wxString
*arg2
= 0 ;
10237 bool temp2
= false ;
10238 PyObject
* obj0
= 0 ;
10239 PyObject
* obj1
= 0 ;
10240 char * kwnames
[] = {
10241 (char *) "self",(char *) "location", NULL
10244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
10246 if (!SWIG_IsOK(res1
)) {
10247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_GetAnchor" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
10249 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
10251 arg2
= wxString_in_helper(obj1
);
10252 if (arg2
== NULL
) SWIG_fail
;
10256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10257 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
10258 wxPyEndAllowThreads(__tstate
);
10259 if (PyErr_Occurred()) SWIG_fail
;
10263 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10265 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10282 SWIGINTERN PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10283 PyObject
*resultobj
= 0;
10284 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
10285 wxString
*arg2
= 0 ;
10289 bool temp2
= false ;
10290 PyObject
* obj0
= 0 ;
10291 PyObject
* obj1
= 0 ;
10292 char * kwnames
[] = {
10293 (char *) "self",(char *) "location", NULL
10296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
10298 if (!SWIG_IsOK(res1
)) {
10299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_GetRightLocation" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
10301 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
10303 arg2
= wxString_in_helper(obj1
);
10304 if (arg2
== NULL
) SWIG_fail
;
10308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10309 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
10310 wxPyEndAllowThreads(__tstate
);
10311 if (PyErr_Occurred()) SWIG_fail
;
10315 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10317 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10334 SWIGINTERN PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10335 PyObject
*resultobj
= 0;
10336 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
10337 wxString
*arg2
= 0 ;
10341 bool temp2
= false ;
10342 PyObject
* obj0
= 0 ;
10343 PyObject
* obj1
= 0 ;
10344 char * kwnames
[] = {
10345 (char *) "self",(char *) "location", NULL
10348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
10350 if (!SWIG_IsOK(res1
)) {
10351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_GetMimeTypeFromExt" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
10353 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
10355 arg2
= wxString_in_helper(obj1
);
10356 if (arg2
== NULL
) SWIG_fail
;
10360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10361 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
10362 wxPyEndAllowThreads(__tstate
);
10363 if (PyErr_Occurred()) SWIG_fail
;
10367 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10369 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10386 SWIGINTERN PyObject
*FileSystemHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10388 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10389 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_NewClientData(obj
));
10390 return SWIG_Py_Void();
10393 SWIGINTERN PyObject
*FileSystemHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10394 return SWIG_Python_InitShadowInstance(args
);
10397 SWIGINTERN PyObject
*_wrap_new_FileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10398 PyObject
*resultobj
= 0;
10399 wxFileSystem
*result
= 0 ;
10401 if (!SWIG_Python_UnpackTuple(args
,"new_FileSystem",0,0,0)) SWIG_fail
;
10403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10404 result
= (wxFileSystem
*)new wxFileSystem();
10405 wxPyEndAllowThreads(__tstate
);
10406 if (PyErr_Occurred()) SWIG_fail
;
10409 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
10417 SWIGINTERN PyObject
*_wrap_delete_FileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10418 PyObject
*resultobj
= 0;
10419 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
10422 PyObject
*swig_obj
[1] ;
10424 if (!args
) SWIG_fail
;
10425 swig_obj
[0] = args
;
10426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_DISOWN
| 0 );
10427 if (!SWIG_IsOK(res1
)) {
10428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileSystem" "', expected argument " "1"" of type '" "wxFileSystem *""'");
10430 arg1
= reinterpret_cast< wxFileSystem
* >(argp1
);
10432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10435 wxPyEndAllowThreads(__tstate
);
10436 if (PyErr_Occurred()) SWIG_fail
;
10438 resultobj
= SWIG_Py_Void();
10445 SWIGINTERN PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10446 PyObject
*resultobj
= 0;
10447 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
10448 wxString
*arg2
= 0 ;
10449 bool arg3
= (bool) false ;
10452 bool temp2
= false ;
10455 PyObject
* obj0
= 0 ;
10456 PyObject
* obj1
= 0 ;
10457 PyObject
* obj2
= 0 ;
10458 char * kwnames
[] = {
10459 (char *) "self",(char *) "location",(char *) "is_dir", NULL
10462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileSystem
, 0 | 0 );
10464 if (!SWIG_IsOK(res1
)) {
10465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_ChangePathTo" "', expected argument " "1"" of type '" "wxFileSystem *""'");
10467 arg1
= reinterpret_cast< wxFileSystem
* >(argp1
);
10469 arg2
= wxString_in_helper(obj1
);
10470 if (arg2
== NULL
) SWIG_fail
;
10474 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10475 if (!SWIG_IsOK(ecode3
)) {
10476 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileSystem_ChangePathTo" "', expected argument " "3"" of type '" "bool""'");
10478 arg3
= static_cast< bool >(val3
);
10481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10482 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
10483 wxPyEndAllowThreads(__tstate
);
10484 if (PyErr_Occurred()) SWIG_fail
;
10486 resultobj
= SWIG_Py_Void();
10501 SWIGINTERN PyObject
*_wrap_FileSystem_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10502 PyObject
*resultobj
= 0;
10503 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
10507 PyObject
*swig_obj
[1] ;
10509 if (!args
) SWIG_fail
;
10510 swig_obj
[0] = args
;
10511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileSystem
, 0 | 0 );
10512 if (!SWIG_IsOK(res1
)) {
10513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_GetPath" "', expected argument " "1"" of type '" "wxFileSystem *""'");
10515 arg1
= reinterpret_cast< wxFileSystem
* >(argp1
);
10517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10518 result
= (arg1
)->GetPath();
10519 wxPyEndAllowThreads(__tstate
);
10520 if (PyErr_Occurred()) SWIG_fail
;
10524 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10526 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10535 SWIGINTERN PyObject
*_wrap_FileSystem_OpenFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10536 PyObject
*resultobj
= 0;
10537 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
10538 wxString
*arg2
= 0 ;
10539 wxFSFile
*result
= 0 ;
10542 bool temp2
= false ;
10543 PyObject
* obj0
= 0 ;
10544 PyObject
* obj1
= 0 ;
10545 char * kwnames
[] = {
10546 (char *) "self",(char *) "location", NULL
10549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileSystem
, 0 | 0 );
10551 if (!SWIG_IsOK(res1
)) {
10552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_OpenFile" "', expected argument " "1"" of type '" "wxFileSystem *""'");
10554 arg1
= reinterpret_cast< wxFileSystem
* >(argp1
);
10556 arg2
= wxString_in_helper(obj1
);
10557 if (arg2
== NULL
) SWIG_fail
;
10561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10562 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
10563 wxPyEndAllowThreads(__tstate
);
10564 if (PyErr_Occurred()) SWIG_fail
;
10567 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
10583 SWIGINTERN PyObject
*_wrap_FileSystem_FindFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10584 PyObject
*resultobj
= 0;
10585 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
10586 wxString
*arg2
= 0 ;
10587 int arg3
= (int) 0 ;
10591 bool temp2
= false ;
10594 PyObject
* obj0
= 0 ;
10595 PyObject
* obj1
= 0 ;
10596 PyObject
* obj2
= 0 ;
10597 char * kwnames
[] = {
10598 (char *) "self",(char *) "spec",(char *) "flags", NULL
10601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileSystem
, 0 | 0 );
10603 if (!SWIG_IsOK(res1
)) {
10604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_FindFirst" "', expected argument " "1"" of type '" "wxFileSystem *""'");
10606 arg1
= reinterpret_cast< wxFileSystem
* >(argp1
);
10608 arg2
= wxString_in_helper(obj1
);
10609 if (arg2
== NULL
) SWIG_fail
;
10613 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10614 if (!SWIG_IsOK(ecode3
)) {
10615 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileSystem_FindFirst" "', expected argument " "3"" of type '" "int""'");
10617 arg3
= static_cast< int >(val3
);
10620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10621 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
10622 wxPyEndAllowThreads(__tstate
);
10623 if (PyErr_Occurred()) SWIG_fail
;
10627 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10629 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10646 SWIGINTERN PyObject
*_wrap_FileSystem_FindNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10647 PyObject
*resultobj
= 0;
10648 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
10652 PyObject
*swig_obj
[1] ;
10654 if (!args
) SWIG_fail
;
10655 swig_obj
[0] = args
;
10656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileSystem
, 0 | 0 );
10657 if (!SWIG_IsOK(res1
)) {
10658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_FindNext" "', expected argument " "1"" of type '" "wxFileSystem *""'");
10660 arg1
= reinterpret_cast< wxFileSystem
* >(argp1
);
10662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10663 result
= (arg1
)->FindNext();
10664 wxPyEndAllowThreads(__tstate
);
10665 if (PyErr_Occurred()) SWIG_fail
;
10669 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10671 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10680 SWIGINTERN PyObject
*_wrap_FileSystem_AddHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10681 PyObject
*resultobj
= 0;
10682 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
10684 PyObject
* obj0
= 0 ;
10685 char * kwnames
[] = {
10686 (char *) "handler", NULL
10689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) SWIG_fail
;
10690 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxFileSystemHandler
, SWIG_POINTER_DISOWN
| 0 );
10691 if (!SWIG_IsOK(res1
)) {
10692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_AddHandler" "', expected argument " "1"" of type '" "wxFileSystemHandler *""'");
10695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10696 wxFileSystem::AddHandler(arg1
);
10697 wxPyEndAllowThreads(__tstate
);
10698 if (PyErr_Occurred()) SWIG_fail
;
10700 resultobj
= SWIG_Py_Void();
10707 SWIGINTERN PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10708 PyObject
*resultobj
= 0;
10710 if (!SWIG_Python_UnpackTuple(args
,"FileSystem_CleanUpHandlers",0,0,0)) SWIG_fail
;
10712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10713 wxFileSystem::CleanUpHandlers();
10714 wxPyEndAllowThreads(__tstate
);
10715 if (PyErr_Occurred()) SWIG_fail
;
10717 resultobj
= SWIG_Py_Void();
10724 SWIGINTERN PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10725 PyObject
*resultobj
= 0;
10726 wxString
*arg1
= 0 ;
10728 bool temp1
= false ;
10729 PyObject
* obj0
= 0 ;
10730 char * kwnames
[] = {
10731 (char *) "filename", NULL
10734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) SWIG_fail
;
10736 arg1
= wxString_in_helper(obj0
);
10737 if (arg1
== NULL
) SWIG_fail
;
10741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10742 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
10743 wxPyEndAllowThreads(__tstate
);
10744 if (PyErr_Occurred()) SWIG_fail
;
10748 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10750 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10767 SWIGINTERN PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10768 PyObject
*resultobj
= 0;
10769 wxString
*arg1
= 0 ;
10771 bool temp1
= false ;
10772 PyObject
* obj0
= 0 ;
10773 char * kwnames
[] = {
10774 (char *) "url", NULL
10777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) SWIG_fail
;
10779 arg1
= wxString_in_helper(obj0
);
10780 if (arg1
== NULL
) SWIG_fail
;
10784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10785 result
= wxFileSystem_URLToFileName((wxString
const &)*arg1
);
10786 wxPyEndAllowThreads(__tstate
);
10787 if (PyErr_Occurred()) SWIG_fail
;
10791 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10793 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10810 SWIGINTERN PyObject
*FileSystem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10812 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10813 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileSystem
, SWIG_NewClientData(obj
));
10814 return SWIG_Py_Void();
10817 SWIGINTERN PyObject
*FileSystem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10818 return SWIG_Python_InitShadowInstance(args
);
10821 SWIGINTERN PyObject
*_wrap_new_InternetFSHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10822 PyObject
*resultobj
= 0;
10823 wxInternetFSHandler
*result
= 0 ;
10825 if (!SWIG_Python_UnpackTuple(args
,"new_InternetFSHandler",0,0,0)) SWIG_fail
;
10827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10828 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
10829 wxPyEndAllowThreads(__tstate
);
10830 if (PyErr_Occurred()) SWIG_fail
;
10832 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_NEW
| 0 );
10839 SWIGINTERN PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10840 PyObject
*resultobj
= 0;
10841 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
10842 wxString
*arg2
= 0 ;
10846 bool temp2
= false ;
10847 PyObject
* obj0
= 0 ;
10848 PyObject
* obj1
= 0 ;
10849 char * kwnames
[] = {
10850 (char *) "self",(char *) "location", NULL
10853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxInternetFSHandler
, 0 | 0 );
10855 if (!SWIG_IsOK(res1
)) {
10856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InternetFSHandler_CanOpen" "', expected argument " "1"" of type '" "wxInternetFSHandler *""'");
10858 arg1
= reinterpret_cast< wxInternetFSHandler
* >(argp1
);
10860 arg2
= wxString_in_helper(obj1
);
10861 if (arg2
== NULL
) SWIG_fail
;
10865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10866 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
10867 wxPyEndAllowThreads(__tstate
);
10868 if (PyErr_Occurred()) SWIG_fail
;
10871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10887 SWIGINTERN PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10888 PyObject
*resultobj
= 0;
10889 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
10890 wxFileSystem
*arg2
= 0 ;
10891 wxString
*arg3
= 0 ;
10892 wxFSFile
*result
= 0 ;
10897 bool temp3
= false ;
10898 PyObject
* obj0
= 0 ;
10899 PyObject
* obj1
= 0 ;
10900 PyObject
* obj2
= 0 ;
10901 char * kwnames
[] = {
10902 (char *) "self",(char *) "fs",(char *) "location", NULL
10905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxInternetFSHandler
, 0 | 0 );
10907 if (!SWIG_IsOK(res1
)) {
10908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InternetFSHandler_OpenFile" "', expected argument " "1"" of type '" "wxInternetFSHandler *""'");
10910 arg1
= reinterpret_cast< wxInternetFSHandler
* >(argp1
);
10911 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileSystem
, 0 );
10912 if (!SWIG_IsOK(res2
)) {
10913 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "InternetFSHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
10916 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "InternetFSHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
10918 arg2
= reinterpret_cast< wxFileSystem
* >(argp2
);
10920 arg3
= wxString_in_helper(obj2
);
10921 if (arg3
== NULL
) SWIG_fail
;
10925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10926 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
10927 wxPyEndAllowThreads(__tstate
);
10928 if (PyErr_Occurred()) SWIG_fail
;
10931 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
10947 SWIGINTERN PyObject
*InternetFSHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10949 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10950 SWIG_TypeNewClientData(SWIGTYPE_p_wxInternetFSHandler
, SWIG_NewClientData(obj
));
10951 return SWIG_Py_Void();
10954 SWIGINTERN PyObject
*InternetFSHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10955 return SWIG_Python_InitShadowInstance(args
);
10958 SWIGINTERN PyObject
*_wrap_new_ZipFSHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10959 PyObject
*resultobj
= 0;
10960 wxZipFSHandler
*result
= 0 ;
10962 if (!SWIG_Python_UnpackTuple(args
,"new_ZipFSHandler",0,0,0)) SWIG_fail
;
10964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10965 result
= (wxZipFSHandler
*)new wxZipFSHandler();
10966 wxPyEndAllowThreads(__tstate
);
10967 if (PyErr_Occurred()) SWIG_fail
;
10969 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_NEW
| 0 );
10976 SWIGINTERN PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10977 PyObject
*resultobj
= 0;
10978 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
10979 wxString
*arg2
= 0 ;
10983 bool temp2
= false ;
10984 PyObject
* obj0
= 0 ;
10985 PyObject
* obj1
= 0 ;
10986 char * kwnames
[] = {
10987 (char *) "self",(char *) "location", NULL
10990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxZipFSHandler
, 0 | 0 );
10992 if (!SWIG_IsOK(res1
)) {
10993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ZipFSHandler_CanOpen" "', expected argument " "1"" of type '" "wxZipFSHandler *""'");
10995 arg1
= reinterpret_cast< wxZipFSHandler
* >(argp1
);
10997 arg2
= wxString_in_helper(obj1
);
10998 if (arg2
== NULL
) SWIG_fail
;
11002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11003 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
11004 wxPyEndAllowThreads(__tstate
);
11005 if (PyErr_Occurred()) SWIG_fail
;
11008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11024 SWIGINTERN PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11025 PyObject
*resultobj
= 0;
11026 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
11027 wxFileSystem
*arg2
= 0 ;
11028 wxString
*arg3
= 0 ;
11029 wxFSFile
*result
= 0 ;
11034 bool temp3
= false ;
11035 PyObject
* obj0
= 0 ;
11036 PyObject
* obj1
= 0 ;
11037 PyObject
* obj2
= 0 ;
11038 char * kwnames
[] = {
11039 (char *) "self",(char *) "fs",(char *) "location", NULL
11042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxZipFSHandler
, 0 | 0 );
11044 if (!SWIG_IsOK(res1
)) {
11045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ZipFSHandler_OpenFile" "', expected argument " "1"" of type '" "wxZipFSHandler *""'");
11047 arg1
= reinterpret_cast< wxZipFSHandler
* >(argp1
);
11048 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileSystem
, 0 );
11049 if (!SWIG_IsOK(res2
)) {
11050 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ZipFSHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
11053 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ZipFSHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
11055 arg2
= reinterpret_cast< wxFileSystem
* >(argp2
);
11057 arg3
= wxString_in_helper(obj2
);
11058 if (arg3
== NULL
) SWIG_fail
;
11062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11063 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
11064 wxPyEndAllowThreads(__tstate
);
11065 if (PyErr_Occurred()) SWIG_fail
;
11068 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
11084 SWIGINTERN PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11085 PyObject
*resultobj
= 0;
11086 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
11087 wxString
*arg2
= 0 ;
11088 int arg3
= (int) 0 ;
11092 bool temp2
= false ;
11095 PyObject
* obj0
= 0 ;
11096 PyObject
* obj1
= 0 ;
11097 PyObject
* obj2
= 0 ;
11098 char * kwnames
[] = {
11099 (char *) "self",(char *) "spec",(char *) "flags", NULL
11102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxZipFSHandler
, 0 | 0 );
11104 if (!SWIG_IsOK(res1
)) {
11105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ZipFSHandler_FindFirst" "', expected argument " "1"" of type '" "wxZipFSHandler *""'");
11107 arg1
= reinterpret_cast< wxZipFSHandler
* >(argp1
);
11109 arg2
= wxString_in_helper(obj1
);
11110 if (arg2
== NULL
) SWIG_fail
;
11114 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11115 if (!SWIG_IsOK(ecode3
)) {
11116 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ZipFSHandler_FindFirst" "', expected argument " "3"" of type '" "int""'");
11118 arg3
= static_cast< int >(val3
);
11121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11122 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
11123 wxPyEndAllowThreads(__tstate
);
11124 if (PyErr_Occurred()) SWIG_fail
;
11128 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11130 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11147 SWIGINTERN PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11148 PyObject
*resultobj
= 0;
11149 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
11153 PyObject
*swig_obj
[1] ;
11155 if (!args
) SWIG_fail
;
11156 swig_obj
[0] = args
;
11157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxZipFSHandler
, 0 | 0 );
11158 if (!SWIG_IsOK(res1
)) {
11159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ZipFSHandler_FindNext" "', expected argument " "1"" of type '" "wxZipFSHandler *""'");
11161 arg1
= reinterpret_cast< wxZipFSHandler
* >(argp1
);
11163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11164 result
= (arg1
)->FindNext();
11165 wxPyEndAllowThreads(__tstate
);
11166 if (PyErr_Occurred()) SWIG_fail
;
11170 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11172 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11181 SWIGINTERN PyObject
*ZipFSHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11183 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11184 SWIG_TypeNewClientData(SWIGTYPE_p_wxZipFSHandler
, SWIG_NewClientData(obj
));
11185 return SWIG_Py_Void();
11188 SWIGINTERN PyObject
*ZipFSHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11189 return SWIG_Python_InitShadowInstance(args
);
11192 SWIGINTERN PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11193 PyObject
*resultobj
= 0;
11194 wxString
*arg1
= 0 ;
11195 wxImage
*arg2
= 0 ;
11197 bool temp1
= false ;
11202 PyObject
* obj0
= 0 ;
11203 PyObject
* obj1
= 0 ;
11204 PyObject
* obj2
= 0 ;
11205 char * kwnames
[] = {
11206 (char *) "filename",(char *) "image",(char *) "type", NULL
11209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11211 arg1
= wxString_in_helper(obj0
);
11212 if (arg1
== NULL
) SWIG_fail
;
11215 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImage
, 0 );
11216 if (!SWIG_IsOK(res2
)) {
11217 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "__wxMemoryFSHandler_AddFile_wxImage" "', expected argument " "2"" of type '" "wxImage &""'");
11220 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "__wxMemoryFSHandler_AddFile_wxImage" "', expected argument " "2"" of type '" "wxImage &""'");
11222 arg2
= reinterpret_cast< wxImage
* >(argp2
);
11223 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
11224 if (!SWIG_IsOK(ecode3
)) {
11225 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "__wxMemoryFSHandler_AddFile_wxImage" "', expected argument " "3"" of type '" "long""'");
11227 arg3
= static_cast< long >(val3
);
11229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11230 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
11231 wxPyEndAllowThreads(__tstate
);
11232 if (PyErr_Occurred()) SWIG_fail
;
11234 resultobj
= SWIG_Py_Void();
11249 SWIGINTERN PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11250 PyObject
*resultobj
= 0;
11251 wxString
*arg1
= 0 ;
11252 wxBitmap
*arg2
= 0 ;
11254 bool temp1
= false ;
11259 PyObject
* obj0
= 0 ;
11260 PyObject
* obj1
= 0 ;
11261 PyObject
* obj2
= 0 ;
11262 char * kwnames
[] = {
11263 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
11266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11268 arg1
= wxString_in_helper(obj0
);
11269 if (arg1
== NULL
) SWIG_fail
;
11272 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11273 if (!SWIG_IsOK(res2
)) {
11274 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "__wxMemoryFSHandler_AddFile_wxBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11277 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "__wxMemoryFSHandler_AddFile_wxBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11279 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11280 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
11281 if (!SWIG_IsOK(ecode3
)) {
11282 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "__wxMemoryFSHandler_AddFile_wxBitmap" "', expected argument " "3"" of type '" "long""'");
11284 arg3
= static_cast< long >(val3
);
11286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11287 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
11288 wxPyEndAllowThreads(__tstate
);
11289 if (PyErr_Occurred()) SWIG_fail
;
11291 resultobj
= SWIG_Py_Void();
11306 SWIGINTERN PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11307 PyObject
*resultobj
= 0;
11308 wxString
*arg1
= 0 ;
11309 PyObject
*arg2
= (PyObject
*) 0 ;
11310 bool temp1
= false ;
11311 PyObject
* obj0
= 0 ;
11312 PyObject
* obj1
= 0 ;
11313 char * kwnames
[] = {
11314 (char *) "filename",(char *) "data", NULL
11317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11319 arg1
= wxString_in_helper(obj0
);
11320 if (arg1
== NULL
) SWIG_fail
;
11325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11326 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
11327 wxPyEndAllowThreads(__tstate
);
11328 if (PyErr_Occurred()) SWIG_fail
;
11330 resultobj
= SWIG_Py_Void();
11345 SWIGINTERN PyObject
*_wrap_new_MemoryFSHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11346 PyObject
*resultobj
= 0;
11347 wxMemoryFSHandler
*result
= 0 ;
11349 if (!SWIG_Python_UnpackTuple(args
,"new_MemoryFSHandler",0,0,0)) SWIG_fail
;
11351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11352 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
11353 wxPyEndAllowThreads(__tstate
);
11354 if (PyErr_Occurred()) SWIG_fail
;
11356 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_NEW
| 0 );
11363 SWIGINTERN PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11364 PyObject
*resultobj
= 0;
11365 wxString
*arg1
= 0 ;
11366 bool temp1
= false ;
11367 PyObject
* obj0
= 0 ;
11368 char * kwnames
[] = {
11369 (char *) "filename", NULL
11372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) SWIG_fail
;
11374 arg1
= wxString_in_helper(obj0
);
11375 if (arg1
== NULL
) SWIG_fail
;
11379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11380 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
11381 wxPyEndAllowThreads(__tstate
);
11382 if (PyErr_Occurred()) SWIG_fail
;
11384 resultobj
= SWIG_Py_Void();
11399 SWIGINTERN PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11400 PyObject
*resultobj
= 0;
11401 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
11402 wxString
*arg2
= 0 ;
11406 bool temp2
= false ;
11407 PyObject
* obj0
= 0 ;
11408 PyObject
* obj1
= 0 ;
11409 char * kwnames
[] = {
11410 (char *) "self",(char *) "location", NULL
11413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryFSHandler
, 0 | 0 );
11415 if (!SWIG_IsOK(res1
)) {
11416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryFSHandler_CanOpen" "', expected argument " "1"" of type '" "wxMemoryFSHandler *""'");
11418 arg1
= reinterpret_cast< wxMemoryFSHandler
* >(argp1
);
11420 arg2
= wxString_in_helper(obj1
);
11421 if (arg2
== NULL
) SWIG_fail
;
11425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11426 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
11427 wxPyEndAllowThreads(__tstate
);
11428 if (PyErr_Occurred()) SWIG_fail
;
11431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11447 SWIGINTERN PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11448 PyObject
*resultobj
= 0;
11449 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
11450 wxFileSystem
*arg2
= 0 ;
11451 wxString
*arg3
= 0 ;
11452 wxFSFile
*result
= 0 ;
11457 bool temp3
= false ;
11458 PyObject
* obj0
= 0 ;
11459 PyObject
* obj1
= 0 ;
11460 PyObject
* obj2
= 0 ;
11461 char * kwnames
[] = {
11462 (char *) "self",(char *) "fs",(char *) "location", NULL
11465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryFSHandler
, 0 | 0 );
11467 if (!SWIG_IsOK(res1
)) {
11468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryFSHandler_OpenFile" "', expected argument " "1"" of type '" "wxMemoryFSHandler *""'");
11470 arg1
= reinterpret_cast< wxMemoryFSHandler
* >(argp1
);
11471 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileSystem
, 0 );
11472 if (!SWIG_IsOK(res2
)) {
11473 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryFSHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
11476 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryFSHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
11478 arg2
= reinterpret_cast< wxFileSystem
* >(argp2
);
11480 arg3
= wxString_in_helper(obj2
);
11481 if (arg3
== NULL
) SWIG_fail
;
11485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11486 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
11487 wxPyEndAllowThreads(__tstate
);
11488 if (PyErr_Occurred()) SWIG_fail
;
11491 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
11507 SWIGINTERN PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11508 PyObject
*resultobj
= 0;
11509 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
11510 wxString
*arg2
= 0 ;
11511 int arg3
= (int) 0 ;
11515 bool temp2
= false ;
11518 PyObject
* obj0
= 0 ;
11519 PyObject
* obj1
= 0 ;
11520 PyObject
* obj2
= 0 ;
11521 char * kwnames
[] = {
11522 (char *) "self",(char *) "spec",(char *) "flags", NULL
11525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryFSHandler
, 0 | 0 );
11527 if (!SWIG_IsOK(res1
)) {
11528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryFSHandler_FindFirst" "', expected argument " "1"" of type '" "wxMemoryFSHandler *""'");
11530 arg1
= reinterpret_cast< wxMemoryFSHandler
* >(argp1
);
11532 arg2
= wxString_in_helper(obj1
);
11533 if (arg2
== NULL
) SWIG_fail
;
11537 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11538 if (!SWIG_IsOK(ecode3
)) {
11539 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MemoryFSHandler_FindFirst" "', expected argument " "3"" of type '" "int""'");
11541 arg3
= static_cast< int >(val3
);
11544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11545 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
11546 wxPyEndAllowThreads(__tstate
);
11547 if (PyErr_Occurred()) SWIG_fail
;
11551 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11553 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11570 SWIGINTERN PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11571 PyObject
*resultobj
= 0;
11572 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
11576 PyObject
*swig_obj
[1] ;
11578 if (!args
) SWIG_fail
;
11579 swig_obj
[0] = args
;
11580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMemoryFSHandler
, 0 | 0 );
11581 if (!SWIG_IsOK(res1
)) {
11582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryFSHandler_FindNext" "', expected argument " "1"" of type '" "wxMemoryFSHandler *""'");
11584 arg1
= reinterpret_cast< wxMemoryFSHandler
* >(argp1
);
11586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11587 result
= (arg1
)->FindNext();
11588 wxPyEndAllowThreads(__tstate
);
11589 if (PyErr_Occurred()) SWIG_fail
;
11593 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11595 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11604 SWIGINTERN PyObject
*MemoryFSHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11606 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11607 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryFSHandler
, SWIG_NewClientData(obj
));
11608 return SWIG_Py_Void();
11611 SWIGINTERN PyObject
*MemoryFSHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11612 return SWIG_Python_InitShadowInstance(args
);
11615 SWIGINTERN PyObject
*_wrap_ImageHandler_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11616 PyObject
*resultobj
= 0;
11617 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11621 PyObject
*swig_obj
[1] ;
11623 if (!args
) SWIG_fail
;
11624 swig_obj
[0] = args
;
11625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
11626 if (!SWIG_IsOK(res1
)) {
11627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_GetName" "', expected argument " "1"" of type '" "wxImageHandler *""'");
11629 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
11631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11632 result
= (arg1
)->GetName();
11633 wxPyEndAllowThreads(__tstate
);
11634 if (PyErr_Occurred()) SWIG_fail
;
11638 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11640 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11649 SWIGINTERN PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11650 PyObject
*resultobj
= 0;
11651 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11655 PyObject
*swig_obj
[1] ;
11657 if (!args
) SWIG_fail
;
11658 swig_obj
[0] = args
;
11659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
11660 if (!SWIG_IsOK(res1
)) {
11661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_GetExtension" "', expected argument " "1"" of type '" "wxImageHandler *""'");
11663 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
11665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11666 result
= (arg1
)->GetExtension();
11667 wxPyEndAllowThreads(__tstate
);
11668 if (PyErr_Occurred()) SWIG_fail
;
11672 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11674 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11683 SWIGINTERN PyObject
*_wrap_ImageHandler_GetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11684 PyObject
*resultobj
= 0;
11685 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11689 PyObject
*swig_obj
[1] ;
11691 if (!args
) SWIG_fail
;
11692 swig_obj
[0] = args
;
11693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
11694 if (!SWIG_IsOK(res1
)) {
11695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_GetType" "', expected argument " "1"" of type '" "wxImageHandler *""'");
11697 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
11699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11700 result
= (long)(arg1
)->GetType();
11701 wxPyEndAllowThreads(__tstate
);
11702 if (PyErr_Occurred()) SWIG_fail
;
11704 resultobj
= SWIG_From_long(static_cast< long >(result
));
11711 SWIGINTERN PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11712 PyObject
*resultobj
= 0;
11713 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11717 PyObject
*swig_obj
[1] ;
11719 if (!args
) SWIG_fail
;
11720 swig_obj
[0] = args
;
11721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
11722 if (!SWIG_IsOK(res1
)) {
11723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_GetMimeType" "', expected argument " "1"" of type '" "wxImageHandler *""'");
11725 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
11727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11728 result
= (arg1
)->GetMimeType();
11729 wxPyEndAllowThreads(__tstate
);
11730 if (PyErr_Occurred()) SWIG_fail
;
11734 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11736 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11745 SWIGINTERN PyObject
*_wrap_ImageHandler_CanRead(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11746 PyObject
*resultobj
= 0;
11747 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11748 wxString
*arg2
= 0 ;
11752 bool temp2
= false ;
11753 PyObject
* obj0
= 0 ;
11754 PyObject
* obj1
= 0 ;
11755 char * kwnames
[] = {
11756 (char *) "self",(char *) "name", NULL
11759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
11761 if (!SWIG_IsOK(res1
)) {
11762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_CanRead" "', expected argument " "1"" of type '" "wxImageHandler *""'");
11764 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
11766 arg2
= wxString_in_helper(obj1
);
11767 if (arg2
== NULL
) SWIG_fail
;
11771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11772 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
11773 wxPyEndAllowThreads(__tstate
);
11774 if (PyErr_Occurred()) SWIG_fail
;
11777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11793 SWIGINTERN PyObject
*_wrap_ImageHandler_SetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11794 PyObject
*resultobj
= 0;
11795 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11796 wxString
*arg2
= 0 ;
11799 bool temp2
= false ;
11800 PyObject
* obj0
= 0 ;
11801 PyObject
* obj1
= 0 ;
11802 char * kwnames
[] = {
11803 (char *) "self",(char *) "name", NULL
11806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
11808 if (!SWIG_IsOK(res1
)) {
11809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_SetName" "', expected argument " "1"" of type '" "wxImageHandler *""'");
11811 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
11813 arg2
= wxString_in_helper(obj1
);
11814 if (arg2
== NULL
) SWIG_fail
;
11818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11819 (arg1
)->SetName((wxString
const &)*arg2
);
11820 wxPyEndAllowThreads(__tstate
);
11821 if (PyErr_Occurred()) SWIG_fail
;
11823 resultobj
= SWIG_Py_Void();
11838 SWIGINTERN PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11839 PyObject
*resultobj
= 0;
11840 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11841 wxString
*arg2
= 0 ;
11844 bool temp2
= false ;
11845 PyObject
* obj0
= 0 ;
11846 PyObject
* obj1
= 0 ;
11847 char * kwnames
[] = {
11848 (char *) "self",(char *) "extension", NULL
11851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
11853 if (!SWIG_IsOK(res1
)) {
11854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_SetExtension" "', expected argument " "1"" of type '" "wxImageHandler *""'");
11856 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
11858 arg2
= wxString_in_helper(obj1
);
11859 if (arg2
== NULL
) SWIG_fail
;
11863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11864 (arg1
)->SetExtension((wxString
const &)*arg2
);
11865 wxPyEndAllowThreads(__tstate
);
11866 if (PyErr_Occurred()) SWIG_fail
;
11868 resultobj
= SWIG_Py_Void();
11883 SWIGINTERN PyObject
*_wrap_ImageHandler_SetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11884 PyObject
*resultobj
= 0;
11885 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11891 PyObject
* obj0
= 0 ;
11892 PyObject
* obj1
= 0 ;
11893 char * kwnames
[] = {
11894 (char *) "self",(char *) "type", NULL
11897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
11899 if (!SWIG_IsOK(res1
)) {
11900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_SetType" "', expected argument " "1"" of type '" "wxImageHandler *""'");
11902 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
11903 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11904 if (!SWIG_IsOK(ecode2
)) {
11905 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageHandler_SetType" "', expected argument " "2"" of type '" "long""'");
11907 arg2
= static_cast< long >(val2
);
11909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11910 (arg1
)->SetType(arg2
);
11911 wxPyEndAllowThreads(__tstate
);
11912 if (PyErr_Occurred()) SWIG_fail
;
11914 resultobj
= SWIG_Py_Void();
11921 SWIGINTERN PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11922 PyObject
*resultobj
= 0;
11923 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11924 wxString
*arg2
= 0 ;
11927 bool temp2
= false ;
11928 PyObject
* obj0
= 0 ;
11929 PyObject
* obj1
= 0 ;
11930 char * kwnames
[] = {
11931 (char *) "self",(char *) "mimetype", NULL
11934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
11936 if (!SWIG_IsOK(res1
)) {
11937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_SetMimeType" "', expected argument " "1"" of type '" "wxImageHandler *""'");
11939 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
11941 arg2
= wxString_in_helper(obj1
);
11942 if (arg2
== NULL
) SWIG_fail
;
11946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11947 (arg1
)->SetMimeType((wxString
const &)*arg2
);
11948 wxPyEndAllowThreads(__tstate
);
11949 if (PyErr_Occurred()) SWIG_fail
;
11951 resultobj
= SWIG_Py_Void();
11966 SWIGINTERN PyObject
*ImageHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11968 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11969 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageHandler
, SWIG_NewClientData(obj
));
11970 return SWIG_Py_Void();
11973 SWIGINTERN PyObject
*_wrap_new_PyImageHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11974 PyObject
*resultobj
= 0;
11975 wxPyImageHandler
*result
= 0 ;
11977 if (!SWIG_Python_UnpackTuple(args
,"new_PyImageHandler",0,0,0)) SWIG_fail
;
11979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11980 result
= (wxPyImageHandler
*)new wxPyImageHandler();
11981 wxPyEndAllowThreads(__tstate
);
11982 if (PyErr_Occurred()) SWIG_fail
;
11984 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyImageHandler
, SWIG_POINTER_NEW
| 0 );
11991 SWIGINTERN PyObject
*_wrap_PyImageHandler__SetSelf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11992 PyObject
*resultobj
= 0;
11993 wxPyImageHandler
*arg1
= (wxPyImageHandler
*) 0 ;
11994 PyObject
*arg2
= (PyObject
*) 0 ;
11997 PyObject
* obj0
= 0 ;
11998 PyObject
* obj1
= 0 ;
11999 char * kwnames
[] = {
12000 (char *) "self",(char *) "self", NULL
12003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyImageHandler__SetSelf",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyImageHandler
, 0 | 0 );
12005 if (!SWIG_IsOK(res1
)) {
12006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyImageHandler__SetSelf" "', expected argument " "1"" of type '" "wxPyImageHandler *""'");
12008 arg1
= reinterpret_cast< wxPyImageHandler
* >(argp1
);
12011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12012 (arg1
)->_SetSelf(arg2
);
12013 wxPyEndAllowThreads(__tstate
);
12014 if (PyErr_Occurred()) SWIG_fail
;
12016 resultobj
= SWIG_Py_Void();
12023 SWIGINTERN PyObject
*PyImageHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12025 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12026 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyImageHandler
, SWIG_NewClientData(obj
));
12027 return SWIG_Py_Void();
12030 SWIGINTERN PyObject
*PyImageHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12031 return SWIG_Python_InitShadowInstance(args
);
12034 SWIGINTERN PyObject
*_wrap_new_ImageHistogram(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12035 PyObject
*resultobj
= 0;
12036 wxImageHistogram
*result
= 0 ;
12038 if (!SWIG_Python_UnpackTuple(args
,"new_ImageHistogram",0,0,0)) SWIG_fail
;
12040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12041 result
= (wxImageHistogram
*)new wxImageHistogram();
12042 wxPyEndAllowThreads(__tstate
);
12043 if (PyErr_Occurred()) SWIG_fail
;
12045 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_NEW
| 0 );
12052 SWIGINTERN PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12053 PyObject
*resultobj
= 0;
12057 unsigned long result
;
12058 unsigned char val1
;
12060 unsigned char val2
;
12062 unsigned char val3
;
12064 PyObject
* obj0
= 0 ;
12065 PyObject
* obj1
= 0 ;
12066 PyObject
* obj2
= 0 ;
12067 char * kwnames
[] = {
12068 (char *) "r",(char *) "g",(char *) "b", NULL
12071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12072 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
12073 if (!SWIG_IsOK(ecode1
)) {
12074 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ImageHistogram_MakeKey" "', expected argument " "1"" of type '" "byte""'");
12076 arg1
= static_cast< byte
>(val1
);
12077 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
12078 if (!SWIG_IsOK(ecode2
)) {
12079 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageHistogram_MakeKey" "', expected argument " "2"" of type '" "byte""'");
12081 arg2
= static_cast< byte
>(val2
);
12082 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
12083 if (!SWIG_IsOK(ecode3
)) {
12084 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ImageHistogram_MakeKey" "', expected argument " "3"" of type '" "byte""'");
12086 arg3
= static_cast< byte
>(val3
);
12088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12089 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
12090 wxPyEndAllowThreads(__tstate
);
12091 if (PyErr_Occurred()) SWIG_fail
;
12093 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12100 SWIGINTERN PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12101 PyObject
*resultobj
= 0;
12102 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
12103 byte
*arg2
= (byte
*) 0 ;
12104 byte
*arg3
= (byte
*) 0 ;
12105 byte
*arg4
= (byte
*) 0 ;
12106 byte arg5
= (byte
) 1 ;
12107 byte arg6
= (byte
) 0 ;
12108 byte arg7
= (byte
) 0 ;
12113 int res2
= SWIG_TMPOBJ
;
12115 int res3
= SWIG_TMPOBJ
;
12117 int res4
= SWIG_TMPOBJ
;
12118 unsigned char val5
;
12120 unsigned char val6
;
12122 unsigned char val7
;
12124 PyObject
* obj0
= 0 ;
12125 PyObject
* obj1
= 0 ;
12126 PyObject
* obj2
= 0 ;
12127 PyObject
* obj3
= 0 ;
12128 char * kwnames
[] = {
12129 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
12135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHistogram
, 0 | 0 );
12137 if (!SWIG_IsOK(res1
)) {
12138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHistogram_FindFirstUnusedColour" "', expected argument " "1"" of type '" "wxImageHistogram const *""'");
12140 arg1
= reinterpret_cast< wxImageHistogram
* >(argp1
);
12142 ecode5
= SWIG_AsVal_unsigned_SS_char(obj1
, &val5
);
12143 if (!SWIG_IsOK(ecode5
)) {
12144 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageHistogram_FindFirstUnusedColour" "', expected argument " "5"" of type '" "byte""'");
12146 arg5
= static_cast< byte
>(val5
);
12149 ecode6
= SWIG_AsVal_unsigned_SS_char(obj2
, &val6
);
12150 if (!SWIG_IsOK(ecode6
)) {
12151 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageHistogram_FindFirstUnusedColour" "', expected argument " "6"" of type '" "byte""'");
12153 arg6
= static_cast< byte
>(val6
);
12156 ecode7
= SWIG_AsVal_unsigned_SS_char(obj3
, &val7
);
12157 if (!SWIG_IsOK(ecode7
)) {
12158 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageHistogram_FindFirstUnusedColour" "', expected argument " "7"" of type '" "byte""'");
12160 arg7
= static_cast< byte
>(val7
);
12163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12164 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12165 wxPyEndAllowThreads(__tstate
);
12166 if (PyErr_Occurred()) SWIG_fail
;
12169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12171 if (SWIG_IsTmpObj(res2
)) {
12172 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg2
)));
12174 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12175 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, new_flags
));
12177 if (SWIG_IsTmpObj(res3
)) {
12178 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
12180 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12181 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
12183 if (SWIG_IsTmpObj(res4
)) {
12184 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
12186 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12187 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
12195 SWIGINTERN PyObject
*_wrap_ImageHistogram_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12196 PyObject
*resultobj
= 0;
12197 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
12198 unsigned long arg2
;
12199 unsigned long result
;
12202 unsigned long val2
;
12204 PyObject
* obj0
= 0 ;
12205 PyObject
* obj1
= 0 ;
12206 char * kwnames
[] = {
12207 (char *) "self",(char *) "key", NULL
12210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHistogram_GetCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHistogram
, 0 | 0 );
12212 if (!SWIG_IsOK(res1
)) {
12213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHistogram_GetCount" "', expected argument " "1"" of type '" "wxImageHistogram *""'");
12215 arg1
= reinterpret_cast< wxImageHistogram
* >(argp1
);
12216 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12217 if (!SWIG_IsOK(ecode2
)) {
12218 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageHistogram_GetCount" "', expected argument " "2"" of type '" "unsigned long""'");
12220 arg2
= static_cast< unsigned long >(val2
);
12222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12223 result
= (unsigned long)wxImageHistogram_GetCount(arg1
,arg2
);
12224 wxPyEndAllowThreads(__tstate
);
12225 if (PyErr_Occurred()) SWIG_fail
;
12227 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12234 SWIGINTERN PyObject
*_wrap_ImageHistogram_GetCountRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12235 PyObject
*resultobj
= 0;
12236 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
12240 unsigned long result
;
12243 unsigned char val2
;
12245 unsigned char val3
;
12247 unsigned char val4
;
12249 PyObject
* obj0
= 0 ;
12250 PyObject
* obj1
= 0 ;
12251 PyObject
* obj2
= 0 ;
12252 PyObject
* obj3
= 0 ;
12253 char * kwnames
[] = {
12254 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
12257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ImageHistogram_GetCountRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHistogram
, 0 | 0 );
12259 if (!SWIG_IsOK(res1
)) {
12260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHistogram_GetCountRGB" "', expected argument " "1"" of type '" "wxImageHistogram *""'");
12262 arg1
= reinterpret_cast< wxImageHistogram
* >(argp1
);
12263 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
12264 if (!SWIG_IsOK(ecode2
)) {
12265 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageHistogram_GetCountRGB" "', expected argument " "2"" of type '" "byte""'");
12267 arg2
= static_cast< byte
>(val2
);
12268 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
12269 if (!SWIG_IsOK(ecode3
)) {
12270 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ImageHistogram_GetCountRGB" "', expected argument " "3"" of type '" "byte""'");
12272 arg3
= static_cast< byte
>(val3
);
12273 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
12274 if (!SWIG_IsOK(ecode4
)) {
12275 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageHistogram_GetCountRGB" "', expected argument " "4"" of type '" "byte""'");
12277 arg4
= static_cast< byte
>(val4
);
12279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12280 result
= (unsigned long)wxImageHistogram_GetCountRGB(arg1
,arg2
,arg3
,arg4
);
12281 wxPyEndAllowThreads(__tstate
);
12282 if (PyErr_Occurred()) SWIG_fail
;
12284 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12291 SWIGINTERN PyObject
*_wrap_ImageHistogram_GetCountColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12292 PyObject
*resultobj
= 0;
12293 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
12294 wxColour
*arg2
= 0 ;
12295 unsigned long result
;
12299 PyObject
* obj0
= 0 ;
12300 PyObject
* obj1
= 0 ;
12301 char * kwnames
[] = {
12302 (char *) "self",(char *) "colour", NULL
12305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHistogram_GetCountColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHistogram
, 0 | 0 );
12307 if (!SWIG_IsOK(res1
)) {
12308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHistogram_GetCountColour" "', expected argument " "1"" of type '" "wxImageHistogram *""'");
12310 arg1
= reinterpret_cast< wxImageHistogram
* >(argp1
);
12313 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12317 result
= (unsigned long)wxImageHistogram_GetCountColour(arg1
,(wxColour
const &)*arg2
);
12318 wxPyEndAllowThreads(__tstate
);
12319 if (PyErr_Occurred()) SWIG_fail
;
12321 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12328 SWIGINTERN PyObject
*ImageHistogram_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12330 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12331 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageHistogram
, SWIG_NewClientData(obj
));
12332 return SWIG_Py_Void();
12335 SWIGINTERN PyObject
*ImageHistogram_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12336 return SWIG_Python_InitShadowInstance(args
);
12339 SWIGINTERN PyObject
*_wrap_new_Image_RGBValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12340 PyObject
*resultobj
= 0;
12341 byte arg1
= (byte
) 0 ;
12342 byte arg2
= (byte
) 0 ;
12343 byte arg3
= (byte
) 0 ;
12344 wxImage_RGBValue
*result
= 0 ;
12345 unsigned char val1
;
12347 unsigned char val2
;
12349 unsigned char val3
;
12351 PyObject
* obj0
= 0 ;
12352 PyObject
* obj1
= 0 ;
12353 PyObject
* obj2
= 0 ;
12354 char * kwnames
[] = {
12355 (char *) "r",(char *) "g",(char *) "b", NULL
12358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Image_RGBValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12360 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
12361 if (!SWIG_IsOK(ecode1
)) {
12362 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Image_RGBValue" "', expected argument " "1"" of type '" "byte""'");
12364 arg1
= static_cast< byte
>(val1
);
12367 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
12368 if (!SWIG_IsOK(ecode2
)) {
12369 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Image_RGBValue" "', expected argument " "2"" of type '" "byte""'");
12371 arg2
= static_cast< byte
>(val2
);
12374 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
12375 if (!SWIG_IsOK(ecode3
)) {
12376 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Image_RGBValue" "', expected argument " "3"" of type '" "byte""'");
12378 arg3
= static_cast< byte
>(val3
);
12381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12382 result
= (wxImage_RGBValue
*)new wxImage_RGBValue(arg1
,arg2
,arg3
);
12383 wxPyEndAllowThreads(__tstate
);
12384 if (PyErr_Occurred()) SWIG_fail
;
12386 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage_RGBValue
, SWIG_POINTER_NEW
| 0 );
12393 SWIGINTERN PyObject
*_wrap_Image_RGBValue_red_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12394 PyObject
*resultobj
= 0;
12395 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
12399 unsigned char val2
;
12401 PyObject
*swig_obj
[2] ;
12403 if (!SWIG_Python_UnpackTuple(args
,"Image_RGBValue_red_set",2,2,swig_obj
)) SWIG_fail
;
12404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_RGBValue
, 0 | 0 );
12405 if (!SWIG_IsOK(res1
)) {
12406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBValue_red_set" "', expected argument " "1"" of type '" "wxImage_RGBValue *""'");
12408 arg1
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
12409 ecode2
= SWIG_AsVal_unsigned_SS_char(swig_obj
[1], &val2
);
12410 if (!SWIG_IsOK(ecode2
)) {
12411 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_RGBValue_red_set" "', expected argument " "2"" of type '" "byte""'");
12413 arg2
= static_cast< byte
>(val2
);
12414 if (arg1
) (arg1
)->red
= arg2
;
12416 resultobj
= SWIG_Py_Void();
12423 SWIGINTERN PyObject
*_wrap_Image_RGBValue_red_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12424 PyObject
*resultobj
= 0;
12425 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
12429 PyObject
*swig_obj
[1] ;
12431 if (!args
) SWIG_fail
;
12432 swig_obj
[0] = args
;
12433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_RGBValue
, 0 | 0 );
12434 if (!SWIG_IsOK(res1
)) {
12435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBValue_red_get" "', expected argument " "1"" of type '" "wxImage_RGBValue *""'");
12437 arg1
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
12438 result
= (byte
) ((arg1
)->red
);
12439 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
12446 SWIGINTERN PyObject
*_wrap_Image_RGBValue_green_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12447 PyObject
*resultobj
= 0;
12448 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
12452 unsigned char val2
;
12454 PyObject
*swig_obj
[2] ;
12456 if (!SWIG_Python_UnpackTuple(args
,"Image_RGBValue_green_set",2,2,swig_obj
)) SWIG_fail
;
12457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_RGBValue
, 0 | 0 );
12458 if (!SWIG_IsOK(res1
)) {
12459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBValue_green_set" "', expected argument " "1"" of type '" "wxImage_RGBValue *""'");
12461 arg1
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
12462 ecode2
= SWIG_AsVal_unsigned_SS_char(swig_obj
[1], &val2
);
12463 if (!SWIG_IsOK(ecode2
)) {
12464 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_RGBValue_green_set" "', expected argument " "2"" of type '" "byte""'");
12466 arg2
= static_cast< byte
>(val2
);
12467 if (arg1
) (arg1
)->green
= arg2
;
12469 resultobj
= SWIG_Py_Void();
12476 SWIGINTERN PyObject
*_wrap_Image_RGBValue_green_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12477 PyObject
*resultobj
= 0;
12478 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
12482 PyObject
*swig_obj
[1] ;
12484 if (!args
) SWIG_fail
;
12485 swig_obj
[0] = args
;
12486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_RGBValue
, 0 | 0 );
12487 if (!SWIG_IsOK(res1
)) {
12488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBValue_green_get" "', expected argument " "1"" of type '" "wxImage_RGBValue *""'");
12490 arg1
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
12491 result
= (byte
) ((arg1
)->green
);
12492 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
12499 SWIGINTERN PyObject
*_wrap_Image_RGBValue_blue_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12500 PyObject
*resultobj
= 0;
12501 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
12505 unsigned char val2
;
12507 PyObject
*swig_obj
[2] ;
12509 if (!SWIG_Python_UnpackTuple(args
,"Image_RGBValue_blue_set",2,2,swig_obj
)) SWIG_fail
;
12510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_RGBValue
, 0 | 0 );
12511 if (!SWIG_IsOK(res1
)) {
12512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBValue_blue_set" "', expected argument " "1"" of type '" "wxImage_RGBValue *""'");
12514 arg1
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
12515 ecode2
= SWIG_AsVal_unsigned_SS_char(swig_obj
[1], &val2
);
12516 if (!SWIG_IsOK(ecode2
)) {
12517 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_RGBValue_blue_set" "', expected argument " "2"" of type '" "byte""'");
12519 arg2
= static_cast< byte
>(val2
);
12520 if (arg1
) (arg1
)->blue
= arg2
;
12522 resultobj
= SWIG_Py_Void();
12529 SWIGINTERN PyObject
*_wrap_Image_RGBValue_blue_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12530 PyObject
*resultobj
= 0;
12531 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
12535 PyObject
*swig_obj
[1] ;
12537 if (!args
) SWIG_fail
;
12538 swig_obj
[0] = args
;
12539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_RGBValue
, 0 | 0 );
12540 if (!SWIG_IsOK(res1
)) {
12541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBValue_blue_get" "', expected argument " "1"" of type '" "wxImage_RGBValue *""'");
12543 arg1
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
12544 result
= (byte
) ((arg1
)->blue
);
12545 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
12552 SWIGINTERN PyObject
*Image_RGBValue_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12554 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12555 SWIG_TypeNewClientData(SWIGTYPE_p_wxImage_RGBValue
, SWIG_NewClientData(obj
));
12556 return SWIG_Py_Void();
12559 SWIGINTERN PyObject
*Image_RGBValue_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12560 return SWIG_Python_InitShadowInstance(args
);
12563 SWIGINTERN PyObject
*_wrap_new_Image_HSVValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12564 PyObject
*resultobj
= 0;
12565 double arg1
= (double) 0.0 ;
12566 double arg2
= (double) 0.0 ;
12567 double arg3
= (double) 0.0 ;
12568 wxImage_HSVValue
*result
= 0 ;
12575 PyObject
* obj0
= 0 ;
12576 PyObject
* obj1
= 0 ;
12577 PyObject
* obj2
= 0 ;
12578 char * kwnames
[] = {
12579 (char *) "h",(char *) "s",(char *) "v", NULL
12582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Image_HSVValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12584 ecode1
= SWIG_AsVal_double(obj0
, &val1
);
12585 if (!SWIG_IsOK(ecode1
)) {
12586 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Image_HSVValue" "', expected argument " "1"" of type '" "double""'");
12588 arg1
= static_cast< double >(val1
);
12591 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
12592 if (!SWIG_IsOK(ecode2
)) {
12593 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Image_HSVValue" "', expected argument " "2"" of type '" "double""'");
12595 arg2
= static_cast< double >(val2
);
12598 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
12599 if (!SWIG_IsOK(ecode3
)) {
12600 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Image_HSVValue" "', expected argument " "3"" of type '" "double""'");
12602 arg3
= static_cast< double >(val3
);
12605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12606 result
= (wxImage_HSVValue
*)new wxImage_HSVValue(arg1
,arg2
,arg3
);
12607 wxPyEndAllowThreads(__tstate
);
12608 if (PyErr_Occurred()) SWIG_fail
;
12610 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage_HSVValue
, SWIG_POINTER_NEW
| 0 );
12617 SWIGINTERN PyObject
*_wrap_Image_HSVValue_hue_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12618 PyObject
*resultobj
= 0;
12619 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
12625 PyObject
*swig_obj
[2] ;
12627 if (!SWIG_Python_UnpackTuple(args
,"Image_HSVValue_hue_set",2,2,swig_obj
)) SWIG_fail
;
12628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_HSVValue
, 0 | 0 );
12629 if (!SWIG_IsOK(res1
)) {
12630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVValue_hue_set" "', expected argument " "1"" of type '" "wxImage_HSVValue *""'");
12632 arg1
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
12633 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
12634 if (!SWIG_IsOK(ecode2
)) {
12635 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_HSVValue_hue_set" "', expected argument " "2"" of type '" "double""'");
12637 arg2
= static_cast< double >(val2
);
12638 if (arg1
) (arg1
)->hue
= arg2
;
12640 resultobj
= SWIG_Py_Void();
12647 SWIGINTERN PyObject
*_wrap_Image_HSVValue_hue_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12648 PyObject
*resultobj
= 0;
12649 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
12653 PyObject
*swig_obj
[1] ;
12655 if (!args
) SWIG_fail
;
12656 swig_obj
[0] = args
;
12657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_HSVValue
, 0 | 0 );
12658 if (!SWIG_IsOK(res1
)) {
12659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVValue_hue_get" "', expected argument " "1"" of type '" "wxImage_HSVValue *""'");
12661 arg1
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
12662 result
= (double) ((arg1
)->hue
);
12663 resultobj
= SWIG_From_double(static_cast< double >(result
));
12670 SWIGINTERN PyObject
*_wrap_Image_HSVValue_saturation_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12671 PyObject
*resultobj
= 0;
12672 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
12678 PyObject
*swig_obj
[2] ;
12680 if (!SWIG_Python_UnpackTuple(args
,"Image_HSVValue_saturation_set",2,2,swig_obj
)) SWIG_fail
;
12681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_HSVValue
, 0 | 0 );
12682 if (!SWIG_IsOK(res1
)) {
12683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVValue_saturation_set" "', expected argument " "1"" of type '" "wxImage_HSVValue *""'");
12685 arg1
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
12686 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
12687 if (!SWIG_IsOK(ecode2
)) {
12688 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_HSVValue_saturation_set" "', expected argument " "2"" of type '" "double""'");
12690 arg2
= static_cast< double >(val2
);
12691 if (arg1
) (arg1
)->saturation
= arg2
;
12693 resultobj
= SWIG_Py_Void();
12700 SWIGINTERN PyObject
*_wrap_Image_HSVValue_saturation_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12701 PyObject
*resultobj
= 0;
12702 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
12706 PyObject
*swig_obj
[1] ;
12708 if (!args
) SWIG_fail
;
12709 swig_obj
[0] = args
;
12710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_HSVValue
, 0 | 0 );
12711 if (!SWIG_IsOK(res1
)) {
12712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVValue_saturation_get" "', expected argument " "1"" of type '" "wxImage_HSVValue *""'");
12714 arg1
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
12715 result
= (double) ((arg1
)->saturation
);
12716 resultobj
= SWIG_From_double(static_cast< double >(result
));
12723 SWIGINTERN PyObject
*_wrap_Image_HSVValue_value_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12724 PyObject
*resultobj
= 0;
12725 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
12731 PyObject
*swig_obj
[2] ;
12733 if (!SWIG_Python_UnpackTuple(args
,"Image_HSVValue_value_set",2,2,swig_obj
)) SWIG_fail
;
12734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_HSVValue
, 0 | 0 );
12735 if (!SWIG_IsOK(res1
)) {
12736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVValue_value_set" "', expected argument " "1"" of type '" "wxImage_HSVValue *""'");
12738 arg1
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
12739 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
12740 if (!SWIG_IsOK(ecode2
)) {
12741 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_HSVValue_value_set" "', expected argument " "2"" of type '" "double""'");
12743 arg2
= static_cast< double >(val2
);
12744 if (arg1
) (arg1
)->value
= arg2
;
12746 resultobj
= SWIG_Py_Void();
12753 SWIGINTERN PyObject
*_wrap_Image_HSVValue_value_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12754 PyObject
*resultobj
= 0;
12755 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
12759 PyObject
*swig_obj
[1] ;
12761 if (!args
) SWIG_fail
;
12762 swig_obj
[0] = args
;
12763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_HSVValue
, 0 | 0 );
12764 if (!SWIG_IsOK(res1
)) {
12765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVValue_value_get" "', expected argument " "1"" of type '" "wxImage_HSVValue *""'");
12767 arg1
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
12768 result
= (double) ((arg1
)->value
);
12769 resultobj
= SWIG_From_double(static_cast< double >(result
));
12776 SWIGINTERN PyObject
*Image_HSVValue_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12778 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12779 SWIG_TypeNewClientData(SWIGTYPE_p_wxImage_HSVValue
, SWIG_NewClientData(obj
));
12780 return SWIG_Py_Void();
12783 SWIGINTERN PyObject
*Image_HSVValue_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12784 return SWIG_Python_InitShadowInstance(args
);
12787 SWIGINTERN PyObject
*_wrap_new_Image(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12788 PyObject
*resultobj
= 0;
12789 wxString
*arg1
= 0 ;
12790 long arg2
= (long) wxBITMAP_TYPE_ANY
;
12791 int arg3
= (int) -1 ;
12792 wxImage
*result
= 0 ;
12793 bool temp1
= false ;
12798 PyObject
* obj0
= 0 ;
12799 PyObject
* obj1
= 0 ;
12800 PyObject
* obj2
= 0 ;
12801 char * kwnames
[] = {
12802 (char *) "name",(char *) "type",(char *) "index", NULL
12805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12807 arg1
= wxString_in_helper(obj0
);
12808 if (arg1
== NULL
) SWIG_fail
;
12812 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12813 if (!SWIG_IsOK(ecode2
)) {
12814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Image" "', expected argument " "2"" of type '" "long""'");
12816 arg2
= static_cast< long >(val2
);
12819 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12820 if (!SWIG_IsOK(ecode3
)) {
12821 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Image" "', expected argument " "3"" of type '" "int""'");
12823 arg3
= static_cast< int >(val3
);
12826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12827 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
12828 wxPyEndAllowThreads(__tstate
);
12829 if (PyErr_Occurred()) SWIG_fail
;
12831 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_NEW
| 0 );
12846 SWIGINTERN PyObject
*_wrap_delete_Image(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12847 PyObject
*resultobj
= 0;
12848 wxImage
*arg1
= (wxImage
*) 0 ;
12851 PyObject
*swig_obj
[1] ;
12853 if (!args
) SWIG_fail
;
12854 swig_obj
[0] = args
;
12855 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, SWIG_POINTER_DISOWN
| 0 );
12856 if (!SWIG_IsOK(res1
)) {
12857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Image" "', expected argument " "1"" of type '" "wxImage *""'");
12859 arg1
= reinterpret_cast< wxImage
* >(argp1
);
12861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12864 wxPyEndAllowThreads(__tstate
);
12865 if (PyErr_Occurred()) SWIG_fail
;
12867 resultobj
= SWIG_Py_Void();
12874 SWIGINTERN PyObject
*_wrap_new_ImageFromMime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12875 PyObject
*resultobj
= 0;
12876 wxString
*arg1
= 0 ;
12877 wxString
*arg2
= 0 ;
12878 int arg3
= (int) -1 ;
12879 wxImage
*result
= 0 ;
12880 bool temp1
= false ;
12881 bool temp2
= false ;
12884 PyObject
* obj0
= 0 ;
12885 PyObject
* obj1
= 0 ;
12886 PyObject
* obj2
= 0 ;
12887 char * kwnames
[] = {
12888 (char *) "name",(char *) "mimetype",(char *) "index", NULL
12891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12893 arg1
= wxString_in_helper(obj0
);
12894 if (arg1
== NULL
) SWIG_fail
;
12898 arg2
= wxString_in_helper(obj1
);
12899 if (arg2
== NULL
) SWIG_fail
;
12903 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12904 if (!SWIG_IsOK(ecode3
)) {
12905 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageFromMime" "', expected argument " "3"" of type '" "int""'");
12907 arg3
= static_cast< int >(val3
);
12910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12911 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
12912 wxPyEndAllowThreads(__tstate
);
12913 if (PyErr_Occurred()) SWIG_fail
;
12915 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
12938 SWIGINTERN PyObject
*_wrap_new_ImageFromStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12939 PyObject
*resultobj
= 0;
12940 wxInputStream
*arg1
= 0 ;
12941 long arg2
= (long) wxBITMAP_TYPE_ANY
;
12942 int arg3
= (int) -1 ;
12943 wxImage
*result
= 0 ;
12944 wxPyInputStream
*temp1
;
12950 PyObject
* obj0
= 0 ;
12951 PyObject
* obj1
= 0 ;
12952 PyObject
* obj2
= 0 ;
12953 char * kwnames
[] = {
12954 (char *) "stream",(char *) "type",(char *) "index", NULL
12957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12959 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
12960 arg1
= temp1
->m_wxis
;
12963 PyErr_Clear(); // clear the failure of the wxPyConvert above
12964 arg1
= wxPyCBInputStream_create(obj0
, false);
12965 if (arg1
== NULL
) {
12966 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12973 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12974 if (!SWIG_IsOK(ecode2
)) {
12975 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageFromStream" "', expected argument " "2"" of type '" "long""'");
12977 arg2
= static_cast< long >(val2
);
12980 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12981 if (!SWIG_IsOK(ecode3
)) {
12982 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageFromStream" "', expected argument " "3"" of type '" "int""'");
12984 arg3
= static_cast< int >(val3
);
12987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12988 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
12989 wxPyEndAllowThreads(__tstate
);
12990 if (PyErr_Occurred()) SWIG_fail
;
12992 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
12994 if (created1
) delete arg1
;
12999 if (created1
) delete arg1
;
13005 SWIGINTERN PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13006 PyObject
*resultobj
= 0;
13007 wxInputStream
*arg1
= 0 ;
13008 wxString
*arg2
= 0 ;
13009 int arg3
= (int) -1 ;
13010 wxImage
*result
= 0 ;
13011 wxPyInputStream
*temp1
;
13013 bool temp2
= false ;
13016 PyObject
* obj0
= 0 ;
13017 PyObject
* obj1
= 0 ;
13018 PyObject
* obj2
= 0 ;
13019 char * kwnames
[] = {
13020 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
13023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13025 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
13026 arg1
= temp1
->m_wxis
;
13029 PyErr_Clear(); // clear the failure of the wxPyConvert above
13030 arg1
= wxPyCBInputStream_create(obj0
, false);
13031 if (arg1
== NULL
) {
13032 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
13039 arg2
= wxString_in_helper(obj1
);
13040 if (arg2
== NULL
) SWIG_fail
;
13044 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13045 if (!SWIG_IsOK(ecode3
)) {
13046 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageFromStreamMime" "', expected argument " "3"" of type '" "int""'");
13048 arg3
= static_cast< int >(val3
);
13051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13052 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
13053 wxPyEndAllowThreads(__tstate
);
13054 if (PyErr_Occurred()) SWIG_fail
;
13056 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
13058 if (created1
) delete arg1
;
13067 if (created1
) delete arg1
;
13077 SWIGINTERN PyObject
*_wrap_new_EmptyImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13078 PyObject
*resultobj
= 0;
13079 int arg1
= (int) 0 ;
13080 int arg2
= (int) 0 ;
13081 bool arg3
= (bool) true ;
13082 wxImage
*result
= 0 ;
13089 PyObject
* obj0
= 0 ;
13090 PyObject
* obj1
= 0 ;
13091 PyObject
* obj2
= 0 ;
13092 char * kwnames
[] = {
13093 (char *) "width",(char *) "height",(char *) "clear", NULL
13096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13098 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13099 if (!SWIG_IsOK(ecode1
)) {
13100 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyImage" "', expected argument " "1"" of type '" "int""'");
13102 arg1
= static_cast< int >(val1
);
13105 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13106 if (!SWIG_IsOK(ecode2
)) {
13107 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyImage" "', expected argument " "2"" of type '" "int""'");
13109 arg2
= static_cast< int >(val2
);
13112 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13113 if (!SWIG_IsOK(ecode3
)) {
13114 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyImage" "', expected argument " "3"" of type '" "bool""'");
13116 arg3
= static_cast< bool >(val3
);
13119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13120 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
13121 wxPyEndAllowThreads(__tstate
);
13122 if (PyErr_Occurred()) SWIG_fail
;
13124 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
13131 SWIGINTERN PyObject
*_wrap_new_ImageFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13132 PyObject
*resultobj
= 0;
13133 wxBitmap
*arg1
= 0 ;
13134 wxImage
*result
= 0 ;
13137 PyObject
* obj0
= 0 ;
13138 char * kwnames
[] = {
13139 (char *) "bitmap", NULL
13142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
13143 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
13144 if (!SWIG_IsOK(res1
)) {
13145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ImageFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
13148 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ImageFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
13150 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
13152 if (!wxPyCheckForApp()) SWIG_fail
;
13153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13154 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
13155 wxPyEndAllowThreads(__tstate
);
13156 if (PyErr_Occurred()) SWIG_fail
;
13158 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
13165 SWIGINTERN PyObject
*_wrap_new_ImageFromData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13166 PyObject
*resultobj
= 0;
13171 wxImage
*result
= 0 ;
13176 PyObject
* obj0
= 0 ;
13177 PyObject
* obj1
= 0 ;
13178 PyObject
* obj2
= 0 ;
13179 char * kwnames
[] = {
13180 (char *) "width",(char *) "height",(char *) "data", NULL
13183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13184 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13185 if (!SWIG_IsOK(ecode1
)) {
13186 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageFromData" "', expected argument " "1"" of type '" "int""'");
13188 arg1
= static_cast< int >(val1
);
13189 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13190 if (!SWIG_IsOK(ecode2
)) {
13191 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageFromData" "', expected argument " "2"" of type '" "int""'");
13193 arg2
= static_cast< int >(val2
);
13195 if (!PyArg_Parse(obj2
, "t#", &arg3
, &arg4
)) SWIG_fail
;
13198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13199 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
);
13200 wxPyEndAllowThreads(__tstate
);
13201 if (PyErr_Occurred()) SWIG_fail
;
13203 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
13210 SWIGINTERN PyObject
*_wrap_new_ImageFromDataWithAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13211 PyObject
*resultobj
= 0;
13218 wxImage
*result
= 0 ;
13223 PyObject
* obj0
= 0 ;
13224 PyObject
* obj1
= 0 ;
13225 PyObject
* obj2
= 0 ;
13226 PyObject
* obj3
= 0 ;
13227 char * kwnames
[] = {
13228 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
13231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_ImageFromDataWithAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13232 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13233 if (!SWIG_IsOK(ecode1
)) {
13234 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageFromDataWithAlpha" "', expected argument " "1"" of type '" "int""'");
13236 arg1
= static_cast< int >(val1
);
13237 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13238 if (!SWIG_IsOK(ecode2
)) {
13239 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageFromDataWithAlpha" "', expected argument " "2"" of type '" "int""'");
13241 arg2
= static_cast< int >(val2
);
13243 if (!PyArg_Parse(obj2
, "t#", &arg3
, &arg4
)) SWIG_fail
;
13246 if (!PyArg_Parse(obj3
, "t#", &arg5
, &arg6
)) SWIG_fail
;
13249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13250 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
13251 wxPyEndAllowThreads(__tstate
);
13252 if (PyErr_Occurred()) SWIG_fail
;
13254 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
13261 SWIGINTERN PyObject
*_wrap_Image_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13262 PyObject
*resultobj
= 0;
13263 wxImage
*arg1
= (wxImage
*) 0 ;
13266 bool arg4
= (bool) true ;
13275 PyObject
* obj0
= 0 ;
13276 PyObject
* obj1
= 0 ;
13277 PyObject
* obj2
= 0 ;
13278 PyObject
* obj3
= 0 ;
13279 char * kwnames
[] = {
13280 (char *) "self",(char *) "width",(char *) "height",(char *) "clear", NULL
13283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13285 if (!SWIG_IsOK(res1
)) {
13286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Create" "', expected argument " "1"" of type '" "wxImage *""'");
13288 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13289 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13290 if (!SWIG_IsOK(ecode2
)) {
13291 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Create" "', expected argument " "2"" of type '" "int""'");
13293 arg2
= static_cast< int >(val2
);
13294 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13295 if (!SWIG_IsOK(ecode3
)) {
13296 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_Create" "', expected argument " "3"" of type '" "int""'");
13298 arg3
= static_cast< int >(val3
);
13300 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13301 if (!SWIG_IsOK(ecode4
)) {
13302 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Create" "', expected argument " "4"" of type '" "bool""'");
13304 arg4
= static_cast< bool >(val4
);
13307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13308 (arg1
)->Create(arg2
,arg3
,arg4
);
13309 wxPyEndAllowThreads(__tstate
);
13310 if (PyErr_Occurred()) SWIG_fail
;
13312 resultobj
= SWIG_Py_Void();
13319 SWIGINTERN PyObject
*_wrap_Image_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13320 PyObject
*resultobj
= 0;
13321 wxImage
*arg1
= (wxImage
*) 0 ;
13324 PyObject
*swig_obj
[1] ;
13326 if (!args
) SWIG_fail
;
13327 swig_obj
[0] = args
;
13328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13329 if (!SWIG_IsOK(res1
)) {
13330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Destroy" "', expected argument " "1"" of type '" "wxImage *""'");
13332 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13336 wxPyEndAllowThreads(__tstate
);
13337 if (PyErr_Occurred()) SWIG_fail
;
13339 resultobj
= SWIG_Py_Void();
13346 SWIGINTERN PyObject
*_wrap_Image_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13347 PyObject
*resultobj
= 0;
13348 wxImage
*arg1
= (wxImage
*) 0 ;
13351 SwigValueWrapper
<wxImage
> result
;
13358 PyObject
* obj0
= 0 ;
13359 PyObject
* obj1
= 0 ;
13360 PyObject
* obj2
= 0 ;
13361 char * kwnames
[] = {
13362 (char *) "self",(char *) "width",(char *) "height", NULL
13365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13367 if (!SWIG_IsOK(res1
)) {
13368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Scale" "', expected argument " "1"" of type '" "wxImage *""'");
13370 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13371 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13372 if (!SWIG_IsOK(ecode2
)) {
13373 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Scale" "', expected argument " "2"" of type '" "int""'");
13375 arg2
= static_cast< int >(val2
);
13376 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13377 if (!SWIG_IsOK(ecode3
)) {
13378 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_Scale" "', expected argument " "3"" of type '" "int""'");
13380 arg3
= static_cast< int >(val3
);
13382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13383 result
= (arg1
)->Scale(arg2
,arg3
);
13384 wxPyEndAllowThreads(__tstate
);
13385 if (PyErr_Occurred()) SWIG_fail
;
13387 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
13394 SWIGINTERN PyObject
*_wrap_Image_ShrinkBy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13395 PyObject
*resultobj
= 0;
13396 wxImage
*arg1
= (wxImage
*) 0 ;
13399 SwigValueWrapper
<wxImage
> result
;
13406 PyObject
* obj0
= 0 ;
13407 PyObject
* obj1
= 0 ;
13408 PyObject
* obj2
= 0 ;
13409 char * kwnames
[] = {
13410 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
13413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13415 if (!SWIG_IsOK(res1
)) {
13416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ShrinkBy" "', expected argument " "1"" of type '" "wxImage const *""'");
13418 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13419 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13420 if (!SWIG_IsOK(ecode2
)) {
13421 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ShrinkBy" "', expected argument " "2"" of type '" "int""'");
13423 arg2
= static_cast< int >(val2
);
13424 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13425 if (!SWIG_IsOK(ecode3
)) {
13426 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_ShrinkBy" "', expected argument " "3"" of type '" "int""'");
13428 arg3
= static_cast< int >(val3
);
13430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13431 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
13432 wxPyEndAllowThreads(__tstate
);
13433 if (PyErr_Occurred()) SWIG_fail
;
13435 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
13442 SWIGINTERN PyObject
*_wrap_Image_Rescale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13443 PyObject
*resultobj
= 0;
13444 wxImage
*arg1
= (wxImage
*) 0 ;
13447 wxImage
*result
= 0 ;
13454 PyObject
* obj0
= 0 ;
13455 PyObject
* obj1
= 0 ;
13456 PyObject
* obj2
= 0 ;
13457 char * kwnames
[] = {
13458 (char *) "self",(char *) "width",(char *) "height", NULL
13461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13463 if (!SWIG_IsOK(res1
)) {
13464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Rescale" "', expected argument " "1"" of type '" "wxImage *""'");
13466 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13467 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13468 if (!SWIG_IsOK(ecode2
)) {
13469 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Rescale" "', expected argument " "2"" of type '" "int""'");
13471 arg2
= static_cast< int >(val2
);
13472 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13473 if (!SWIG_IsOK(ecode3
)) {
13474 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_Rescale" "', expected argument " "3"" of type '" "int""'");
13476 arg3
= static_cast< int >(val3
);
13478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13480 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
13481 result
= (wxImage
*) &_result_ref
;
13483 wxPyEndAllowThreads(__tstate
);
13484 if (PyErr_Occurred()) SWIG_fail
;
13486 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, 0 | 0 );
13493 SWIGINTERN PyObject
*_wrap_Image_Resize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13494 PyObject
*resultobj
= 0;
13495 wxImage
*arg1
= (wxImage
*) 0 ;
13497 wxPoint
*arg3
= 0 ;
13498 int arg4
= (int) -1 ;
13499 int arg5
= (int) -1 ;
13500 int arg6
= (int) -1 ;
13501 wxImage
*result
= 0 ;
13512 PyObject
* obj0
= 0 ;
13513 PyObject
* obj1
= 0 ;
13514 PyObject
* obj2
= 0 ;
13515 PyObject
* obj3
= 0 ;
13516 PyObject
* obj4
= 0 ;
13517 PyObject
* obj5
= 0 ;
13518 char * kwnames
[] = {
13519 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
13522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Image_Resize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13524 if (!SWIG_IsOK(res1
)) {
13525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Resize" "', expected argument " "1"" of type '" "wxImage *""'");
13527 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13530 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13534 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13537 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13538 if (!SWIG_IsOK(ecode4
)) {
13539 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Resize" "', expected argument " "4"" of type '" "int""'");
13541 arg4
= static_cast< int >(val4
);
13544 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
13545 if (!SWIG_IsOK(ecode5
)) {
13546 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_Resize" "', expected argument " "5"" of type '" "int""'");
13548 arg5
= static_cast< int >(val5
);
13551 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
13552 if (!SWIG_IsOK(ecode6
)) {
13553 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Image_Resize" "', expected argument " "6"" of type '" "int""'");
13555 arg6
= static_cast< int >(val6
);
13558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13560 wxImage
&_result_ref
= (arg1
)->Resize((wxSize
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
,arg6
);
13561 result
= (wxImage
*) &_result_ref
;
13563 wxPyEndAllowThreads(__tstate
);
13564 if (PyErr_Occurred()) SWIG_fail
;
13566 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, 0 | 0 );
13573 SWIGINTERN PyObject
*_wrap_Image_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13574 PyObject
*resultobj
= 0;
13575 wxImage
*arg1
= (wxImage
*) 0 ;
13587 unsigned char val4
;
13589 unsigned char val5
;
13591 unsigned char val6
;
13593 PyObject
* obj0
= 0 ;
13594 PyObject
* obj1
= 0 ;
13595 PyObject
* obj2
= 0 ;
13596 PyObject
* obj3
= 0 ;
13597 PyObject
* obj4
= 0 ;
13598 PyObject
* obj5
= 0 ;
13599 char * kwnames
[] = {
13600 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
13603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13605 if (!SWIG_IsOK(res1
)) {
13606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetRGB" "', expected argument " "1"" of type '" "wxImage *""'");
13608 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13609 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13610 if (!SWIG_IsOK(ecode2
)) {
13611 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_SetRGB" "', expected argument " "2"" of type '" "int""'");
13613 arg2
= static_cast< int >(val2
);
13614 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13615 if (!SWIG_IsOK(ecode3
)) {
13616 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SetRGB" "', expected argument " "3"" of type '" "int""'");
13618 arg3
= static_cast< int >(val3
);
13619 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
13620 if (!SWIG_IsOK(ecode4
)) {
13621 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_SetRGB" "', expected argument " "4"" of type '" "byte""'");
13623 arg4
= static_cast< byte
>(val4
);
13624 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
13625 if (!SWIG_IsOK(ecode5
)) {
13626 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_SetRGB" "', expected argument " "5"" of type '" "byte""'");
13628 arg5
= static_cast< byte
>(val5
);
13629 ecode6
= SWIG_AsVal_unsigned_SS_char(obj5
, &val6
);
13630 if (!SWIG_IsOK(ecode6
)) {
13631 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Image_SetRGB" "', expected argument " "6"" of type '" "byte""'");
13633 arg6
= static_cast< byte
>(val6
);
13635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13636 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
13637 wxPyEndAllowThreads(__tstate
);
13638 if (PyErr_Occurred()) SWIG_fail
;
13640 resultobj
= SWIG_Py_Void();
13647 SWIGINTERN PyObject
*_wrap_Image_SetRGBRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13648 PyObject
*resultobj
= 0;
13649 wxImage
*arg1
= (wxImage
*) 0 ;
13657 unsigned char val3
;
13659 unsigned char val4
;
13661 unsigned char val5
;
13663 PyObject
* obj0
= 0 ;
13664 PyObject
* obj1
= 0 ;
13665 PyObject
* obj2
= 0 ;
13666 PyObject
* obj3
= 0 ;
13667 PyObject
* obj4
= 0 ;
13668 char * kwnames
[] = {
13669 (char *) "self",(char *) "rect",(char *) "r",(char *) "g",(char *) "b", NULL
13672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetRGBRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13674 if (!SWIG_IsOK(res1
)) {
13675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetRGBRect" "', expected argument " "1"" of type '" "wxImage *""'");
13677 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13680 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13682 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
13683 if (!SWIG_IsOK(ecode3
)) {
13684 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SetRGBRect" "', expected argument " "3"" of type '" "byte""'");
13686 arg3
= static_cast< byte
>(val3
);
13687 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
13688 if (!SWIG_IsOK(ecode4
)) {
13689 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_SetRGBRect" "', expected argument " "4"" of type '" "byte""'");
13691 arg4
= static_cast< byte
>(val4
);
13692 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
13693 if (!SWIG_IsOK(ecode5
)) {
13694 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_SetRGBRect" "', expected argument " "5"" of type '" "byte""'");
13696 arg5
= static_cast< byte
>(val5
);
13698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13699 (arg1
)->SetRGB((wxRect
const &)*arg2
,arg3
,arg4
,arg5
);
13700 wxPyEndAllowThreads(__tstate
);
13701 if (PyErr_Occurred()) SWIG_fail
;
13703 resultobj
= SWIG_Py_Void();
13710 SWIGINTERN PyObject
*_wrap_Image_GetRed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13711 PyObject
*resultobj
= 0;
13712 wxImage
*arg1
= (wxImage
*) 0 ;
13722 PyObject
* obj0
= 0 ;
13723 PyObject
* obj1
= 0 ;
13724 PyObject
* obj2
= 0 ;
13725 char * kwnames
[] = {
13726 (char *) "self",(char *) "x",(char *) "y", NULL
13729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13731 if (!SWIG_IsOK(res1
)) {
13732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetRed" "', expected argument " "1"" of type '" "wxImage *""'");
13734 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13735 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13736 if (!SWIG_IsOK(ecode2
)) {
13737 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_GetRed" "', expected argument " "2"" of type '" "int""'");
13739 arg2
= static_cast< int >(val2
);
13740 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13741 if (!SWIG_IsOK(ecode3
)) {
13742 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_GetRed" "', expected argument " "3"" of type '" "int""'");
13744 arg3
= static_cast< int >(val3
);
13746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13747 result
= (byte
)(arg1
)->GetRed(arg2
,arg3
);
13748 wxPyEndAllowThreads(__tstate
);
13749 if (PyErr_Occurred()) SWIG_fail
;
13751 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
13758 SWIGINTERN PyObject
*_wrap_Image_GetGreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13759 PyObject
*resultobj
= 0;
13760 wxImage
*arg1
= (wxImage
*) 0 ;
13770 PyObject
* obj0
= 0 ;
13771 PyObject
* obj1
= 0 ;
13772 PyObject
* obj2
= 0 ;
13773 char * kwnames
[] = {
13774 (char *) "self",(char *) "x",(char *) "y", NULL
13777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13779 if (!SWIG_IsOK(res1
)) {
13780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetGreen" "', expected argument " "1"" of type '" "wxImage *""'");
13782 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13783 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13784 if (!SWIG_IsOK(ecode2
)) {
13785 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_GetGreen" "', expected argument " "2"" of type '" "int""'");
13787 arg2
= static_cast< int >(val2
);
13788 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13789 if (!SWIG_IsOK(ecode3
)) {
13790 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_GetGreen" "', expected argument " "3"" of type '" "int""'");
13792 arg3
= static_cast< int >(val3
);
13794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13795 result
= (byte
)(arg1
)->GetGreen(arg2
,arg3
);
13796 wxPyEndAllowThreads(__tstate
);
13797 if (PyErr_Occurred()) SWIG_fail
;
13799 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
13806 SWIGINTERN PyObject
*_wrap_Image_GetBlue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13807 PyObject
*resultobj
= 0;
13808 wxImage
*arg1
= (wxImage
*) 0 ;
13818 PyObject
* obj0
= 0 ;
13819 PyObject
* obj1
= 0 ;
13820 PyObject
* obj2
= 0 ;
13821 char * kwnames
[] = {
13822 (char *) "self",(char *) "x",(char *) "y", NULL
13825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13827 if (!SWIG_IsOK(res1
)) {
13828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetBlue" "', expected argument " "1"" of type '" "wxImage *""'");
13830 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13831 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13832 if (!SWIG_IsOK(ecode2
)) {
13833 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_GetBlue" "', expected argument " "2"" of type '" "int""'");
13835 arg2
= static_cast< int >(val2
);
13836 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13837 if (!SWIG_IsOK(ecode3
)) {
13838 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_GetBlue" "', expected argument " "3"" of type '" "int""'");
13840 arg3
= static_cast< int >(val3
);
13842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13843 result
= (byte
)(arg1
)->GetBlue(arg2
,arg3
);
13844 wxPyEndAllowThreads(__tstate
);
13845 if (PyErr_Occurred()) SWIG_fail
;
13847 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
13854 SWIGINTERN PyObject
*_wrap_Image_SetAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13855 PyObject
*resultobj
= 0;
13856 wxImage
*arg1
= (wxImage
*) 0 ;
13866 unsigned char val4
;
13868 PyObject
* obj0
= 0 ;
13869 PyObject
* obj1
= 0 ;
13870 PyObject
* obj2
= 0 ;
13871 PyObject
* obj3
= 0 ;
13872 char * kwnames
[] = {
13873 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
13876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13878 if (!SWIG_IsOK(res1
)) {
13879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetAlpha" "', expected argument " "1"" of type '" "wxImage *""'");
13881 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13882 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13883 if (!SWIG_IsOK(ecode2
)) {
13884 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_SetAlpha" "', expected argument " "2"" of type '" "int""'");
13886 arg2
= static_cast< int >(val2
);
13887 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13888 if (!SWIG_IsOK(ecode3
)) {
13889 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SetAlpha" "', expected argument " "3"" of type '" "int""'");
13891 arg3
= static_cast< int >(val3
);
13892 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
13893 if (!SWIG_IsOK(ecode4
)) {
13894 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_SetAlpha" "', expected argument " "4"" of type '" "byte""'");
13896 arg4
= static_cast< byte
>(val4
);
13898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13899 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
13900 wxPyEndAllowThreads(__tstate
);
13901 if (PyErr_Occurred()) SWIG_fail
;
13903 resultobj
= SWIG_Py_Void();
13910 SWIGINTERN PyObject
*_wrap_Image_GetAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13911 PyObject
*resultobj
= 0;
13912 wxImage
*arg1
= (wxImage
*) 0 ;
13922 PyObject
* obj0
= 0 ;
13923 PyObject
* obj1
= 0 ;
13924 PyObject
* obj2
= 0 ;
13925 char * kwnames
[] = {
13926 (char *) "self",(char *) "x",(char *) "y", NULL
13929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13931 if (!SWIG_IsOK(res1
)) {
13932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetAlpha" "', expected argument " "1"" of type '" "wxImage *""'");
13934 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13935 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13936 if (!SWIG_IsOK(ecode2
)) {
13937 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_GetAlpha" "', expected argument " "2"" of type '" "int""'");
13939 arg2
= static_cast< int >(val2
);
13940 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13941 if (!SWIG_IsOK(ecode3
)) {
13942 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_GetAlpha" "', expected argument " "3"" of type '" "int""'");
13944 arg3
= static_cast< int >(val3
);
13946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13947 result
= (byte
)(arg1
)->GetAlpha(arg2
,arg3
);
13948 wxPyEndAllowThreads(__tstate
);
13949 if (PyErr_Occurred()) SWIG_fail
;
13951 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
13958 SWIGINTERN PyObject
*_wrap_Image_HasAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13959 PyObject
*resultobj
= 0;
13960 wxImage
*arg1
= (wxImage
*) 0 ;
13964 PyObject
*swig_obj
[1] ;
13966 if (!args
) SWIG_fail
;
13967 swig_obj
[0] = args
;
13968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13969 if (!SWIG_IsOK(res1
)) {
13970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HasAlpha" "', expected argument " "1"" of type '" "wxImage *""'");
13972 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13975 result
= (bool)(arg1
)->HasAlpha();
13976 wxPyEndAllowThreads(__tstate
);
13977 if (PyErr_Occurred()) SWIG_fail
;
13980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13988 SWIGINTERN PyObject
*_wrap_Image_InitAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13989 PyObject
*resultobj
= 0;
13990 wxImage
*arg1
= (wxImage
*) 0 ;
13993 PyObject
*swig_obj
[1] ;
13995 if (!args
) SWIG_fail
;
13996 swig_obj
[0] = args
;
13997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13998 if (!SWIG_IsOK(res1
)) {
13999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_InitAlpha" "', expected argument " "1"" of type '" "wxImage *""'");
14001 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14004 (arg1
)->InitAlpha();
14005 wxPyEndAllowThreads(__tstate
);
14006 if (PyErr_Occurred()) SWIG_fail
;
14008 resultobj
= SWIG_Py_Void();
14015 SWIGINTERN PyObject
*_wrap_Image_IsTransparent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14016 PyObject
*resultobj
= 0;
14017 wxImage
*arg1
= (wxImage
*) 0 ;
14020 byte arg4
= (byte
) wxIMAGE_ALPHA_THRESHOLD
;
14028 unsigned char val4
;
14030 PyObject
* obj0
= 0 ;
14031 PyObject
* obj1
= 0 ;
14032 PyObject
* obj2
= 0 ;
14033 PyObject
* obj3
= 0 ;
14034 char * kwnames
[] = {
14035 (char *) "self",(char *) "x",(char *) "y",(char *) "threshold", NULL
14038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_IsTransparent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14040 if (!SWIG_IsOK(res1
)) {
14041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_IsTransparent" "', expected argument " "1"" of type '" "wxImage const *""'");
14043 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14044 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14045 if (!SWIG_IsOK(ecode2
)) {
14046 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_IsTransparent" "', expected argument " "2"" of type '" "int""'");
14048 arg2
= static_cast< int >(val2
);
14049 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14050 if (!SWIG_IsOK(ecode3
)) {
14051 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_IsTransparent" "', expected argument " "3"" of type '" "int""'");
14053 arg3
= static_cast< int >(val3
);
14055 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
14056 if (!SWIG_IsOK(ecode4
)) {
14057 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_IsTransparent" "', expected argument " "4"" of type '" "byte""'");
14059 arg4
= static_cast< byte
>(val4
);
14062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14063 result
= (bool)((wxImage
const *)arg1
)->IsTransparent(arg2
,arg3
,arg4
);
14064 wxPyEndAllowThreads(__tstate
);
14065 if (PyErr_Occurred()) SWIG_fail
;
14068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14076 SWIGINTERN PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14077 PyObject
*resultobj
= 0;
14078 wxImage
*arg1
= (wxImage
*) 0 ;
14079 byte
*arg2
= (byte
*) 0 ;
14080 byte
*arg3
= (byte
*) 0 ;
14081 byte
*arg4
= (byte
*) 0 ;
14082 byte arg5
= (byte
) 0 ;
14083 byte arg6
= (byte
) 0 ;
14084 byte arg7
= (byte
) 0 ;
14089 int res2
= SWIG_TMPOBJ
;
14091 int res3
= SWIG_TMPOBJ
;
14093 int res4
= SWIG_TMPOBJ
;
14094 unsigned char val5
;
14096 unsigned char val6
;
14098 unsigned char val7
;
14100 PyObject
* obj0
= 0 ;
14101 PyObject
* obj1
= 0 ;
14102 PyObject
* obj2
= 0 ;
14103 PyObject
* obj3
= 0 ;
14104 char * kwnames
[] = {
14105 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
14111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14113 if (!SWIG_IsOK(res1
)) {
14114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_FindFirstUnusedColour" "', expected argument " "1"" of type '" "wxImage const *""'");
14116 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14118 ecode5
= SWIG_AsVal_unsigned_SS_char(obj1
, &val5
);
14119 if (!SWIG_IsOK(ecode5
)) {
14120 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_FindFirstUnusedColour" "', expected argument " "5"" of type '" "byte""'");
14122 arg5
= static_cast< byte
>(val5
);
14125 ecode6
= SWIG_AsVal_unsigned_SS_char(obj2
, &val6
);
14126 if (!SWIG_IsOK(ecode6
)) {
14127 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Image_FindFirstUnusedColour" "', expected argument " "6"" of type '" "byte""'");
14129 arg6
= static_cast< byte
>(val6
);
14132 ecode7
= SWIG_AsVal_unsigned_SS_char(obj3
, &val7
);
14133 if (!SWIG_IsOK(ecode7
)) {
14134 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Image_FindFirstUnusedColour" "', expected argument " "7"" of type '" "byte""'");
14136 arg7
= static_cast< byte
>(val7
);
14139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14140 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
14141 wxPyEndAllowThreads(__tstate
);
14142 if (PyErr_Occurred()) SWIG_fail
;
14145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14147 if (SWIG_IsTmpObj(res2
)) {
14148 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg2
)));
14150 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
14151 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, new_flags
));
14153 if (SWIG_IsTmpObj(res3
)) {
14154 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
14156 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
14157 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
14159 if (SWIG_IsTmpObj(res4
)) {
14160 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
14162 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
14163 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
14171 SWIGINTERN PyObject
*_wrap_Image_ConvertAlphaToMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14172 PyObject
*resultobj
= 0;
14173 wxImage
*arg1
= (wxImage
*) 0 ;
14174 byte arg2
= (byte
) wxIMAGE_ALPHA_THRESHOLD
;
14178 unsigned char val2
;
14180 PyObject
* obj0
= 0 ;
14181 PyObject
* obj1
= 0 ;
14182 char * kwnames
[] = {
14183 (char *) "self",(char *) "threshold", NULL
14186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14188 if (!SWIG_IsOK(res1
)) {
14189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ConvertAlphaToMask" "', expected argument " "1"" of type '" "wxImage *""'");
14191 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14193 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
14194 if (!SWIG_IsOK(ecode2
)) {
14195 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ConvertAlphaToMask" "', expected argument " "2"" of type '" "byte""'");
14197 arg2
= static_cast< byte
>(val2
);
14200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14201 result
= (bool)(arg1
)->ConvertAlphaToMask(arg2
);
14202 wxPyEndAllowThreads(__tstate
);
14203 if (PyErr_Occurred()) SWIG_fail
;
14206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14214 SWIGINTERN PyObject
*_wrap_Image_ConvertColourToAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14215 PyObject
*resultobj
= 0;
14216 wxImage
*arg1
= (wxImage
*) 0 ;
14223 unsigned char val2
;
14225 unsigned char val3
;
14227 unsigned char val4
;
14229 PyObject
* obj0
= 0 ;
14230 PyObject
* obj1
= 0 ;
14231 PyObject
* obj2
= 0 ;
14232 PyObject
* obj3
= 0 ;
14233 char * kwnames
[] = {
14234 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
14237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertColourToAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14239 if (!SWIG_IsOK(res1
)) {
14240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ConvertColourToAlpha" "', expected argument " "1"" of type '" "wxImage *""'");
14242 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14243 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
14244 if (!SWIG_IsOK(ecode2
)) {
14245 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ConvertColourToAlpha" "', expected argument " "2"" of type '" "byte""'");
14247 arg2
= static_cast< byte
>(val2
);
14248 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
14249 if (!SWIG_IsOK(ecode3
)) {
14250 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_ConvertColourToAlpha" "', expected argument " "3"" of type '" "byte""'");
14252 arg3
= static_cast< byte
>(val3
);
14253 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
14254 if (!SWIG_IsOK(ecode4
)) {
14255 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_ConvertColourToAlpha" "', expected argument " "4"" of type '" "byte""'");
14257 arg4
= static_cast< byte
>(val4
);
14259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14260 result
= (bool)(arg1
)->ConvertColourToAlpha(arg2
,arg3
,arg4
);
14261 wxPyEndAllowThreads(__tstate
);
14262 if (PyErr_Occurred()) SWIG_fail
;
14265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14273 SWIGINTERN PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14274 PyObject
*resultobj
= 0;
14275 wxImage
*arg1
= (wxImage
*) 0 ;
14276 wxImage
*arg2
= 0 ;
14285 unsigned char val3
;
14287 unsigned char val4
;
14289 unsigned char val5
;
14291 PyObject
* obj0
= 0 ;
14292 PyObject
* obj1
= 0 ;
14293 PyObject
* obj2
= 0 ;
14294 PyObject
* obj3
= 0 ;
14295 PyObject
* obj4
= 0 ;
14296 char * kwnames
[] = {
14297 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
14300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14302 if (!SWIG_IsOK(res1
)) {
14303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetMaskFromImage" "', expected argument " "1"" of type '" "wxImage *""'");
14305 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14306 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImage
, 0 | 0);
14307 if (!SWIG_IsOK(res2
)) {
14308 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Image_SetMaskFromImage" "', expected argument " "2"" of type '" "wxImage const &""'");
14311 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Image_SetMaskFromImage" "', expected argument " "2"" of type '" "wxImage const &""'");
14313 arg2
= reinterpret_cast< wxImage
* >(argp2
);
14314 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
14315 if (!SWIG_IsOK(ecode3
)) {
14316 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SetMaskFromImage" "', expected argument " "3"" of type '" "byte""'");
14318 arg3
= static_cast< byte
>(val3
);
14319 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
14320 if (!SWIG_IsOK(ecode4
)) {
14321 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_SetMaskFromImage" "', expected argument " "4"" of type '" "byte""'");
14323 arg4
= static_cast< byte
>(val4
);
14324 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
14325 if (!SWIG_IsOK(ecode5
)) {
14326 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_SetMaskFromImage" "', expected argument " "5"" of type '" "byte""'");
14328 arg5
= static_cast< byte
>(val5
);
14330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14331 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
14332 wxPyEndAllowThreads(__tstate
);
14333 if (PyErr_Occurred()) SWIG_fail
;
14336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14344 SWIGINTERN PyObject
*_wrap_Image_CanRead(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14345 PyObject
*resultobj
= 0;
14346 wxString
*arg1
= 0 ;
14348 bool temp1
= false ;
14349 PyObject
* obj0
= 0 ;
14350 char * kwnames
[] = {
14351 (char *) "filename", NULL
14354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) SWIG_fail
;
14356 arg1
= wxString_in_helper(obj0
);
14357 if (arg1
== NULL
) SWIG_fail
;
14361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14362 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
14363 wxPyEndAllowThreads(__tstate
);
14364 if (PyErr_Occurred()) SWIG_fail
;
14367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14383 SWIGINTERN PyObject
*_wrap_Image_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14384 PyObject
*resultobj
= 0;
14385 wxString
*arg1
= 0 ;
14386 long arg2
= (long) wxBITMAP_TYPE_ANY
;
14388 bool temp1
= false ;
14391 PyObject
* obj0
= 0 ;
14392 PyObject
* obj1
= 0 ;
14393 char * kwnames
[] = {
14394 (char *) "filename",(char *) "type", NULL
14397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14399 arg1
= wxString_in_helper(obj0
);
14400 if (arg1
== NULL
) SWIG_fail
;
14404 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
14405 if (!SWIG_IsOK(ecode2
)) {
14406 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_GetImageCount" "', expected argument " "2"" of type '" "long""'");
14408 arg2
= static_cast< long >(val2
);
14411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14412 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
14413 wxPyEndAllowThreads(__tstate
);
14414 if (PyErr_Occurred()) SWIG_fail
;
14416 resultobj
= SWIG_From_int(static_cast< int >(result
));
14431 SWIGINTERN PyObject
*_wrap_Image_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14432 PyObject
*resultobj
= 0;
14433 wxImage
*arg1
= (wxImage
*) 0 ;
14434 wxString
*arg2
= 0 ;
14435 long arg3
= (long) wxBITMAP_TYPE_ANY
;
14436 int arg4
= (int) -1 ;
14440 bool temp2
= false ;
14445 PyObject
* obj0
= 0 ;
14446 PyObject
* obj1
= 0 ;
14447 PyObject
* obj2
= 0 ;
14448 PyObject
* obj3
= 0 ;
14449 char * kwnames
[] = {
14450 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
14453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14455 if (!SWIG_IsOK(res1
)) {
14456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_LoadFile" "', expected argument " "1"" of type '" "wxImage *""'");
14458 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14460 arg2
= wxString_in_helper(obj1
);
14461 if (arg2
== NULL
) SWIG_fail
;
14465 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
14466 if (!SWIG_IsOK(ecode3
)) {
14467 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_LoadFile" "', expected argument " "3"" of type '" "long""'");
14469 arg3
= static_cast< long >(val3
);
14472 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14473 if (!SWIG_IsOK(ecode4
)) {
14474 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_LoadFile" "', expected argument " "4"" of type '" "int""'");
14476 arg4
= static_cast< int >(val4
);
14479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14480 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
14481 wxPyEndAllowThreads(__tstate
);
14482 if (PyErr_Occurred()) SWIG_fail
;
14485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14501 SWIGINTERN PyObject
*_wrap_Image_LoadMimeFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14502 PyObject
*resultobj
= 0;
14503 wxImage
*arg1
= (wxImage
*) 0 ;
14504 wxString
*arg2
= 0 ;
14505 wxString
*arg3
= 0 ;
14506 int arg4
= (int) -1 ;
14510 bool temp2
= false ;
14511 bool temp3
= false ;
14514 PyObject
* obj0
= 0 ;
14515 PyObject
* obj1
= 0 ;
14516 PyObject
* obj2
= 0 ;
14517 PyObject
* obj3
= 0 ;
14518 char * kwnames
[] = {
14519 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
14522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14524 if (!SWIG_IsOK(res1
)) {
14525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_LoadMimeFile" "', expected argument " "1"" of type '" "wxImage *""'");
14527 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14529 arg2
= wxString_in_helper(obj1
);
14530 if (arg2
== NULL
) SWIG_fail
;
14534 arg3
= wxString_in_helper(obj2
);
14535 if (arg3
== NULL
) SWIG_fail
;
14539 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14540 if (!SWIG_IsOK(ecode4
)) {
14541 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_LoadMimeFile" "', expected argument " "4"" of type '" "int""'");
14543 arg4
= static_cast< int >(val4
);
14546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14547 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
14548 wxPyEndAllowThreads(__tstate
);
14549 if (PyErr_Occurred()) SWIG_fail
;
14552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14576 SWIGINTERN PyObject
*_wrap_Image_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14577 PyObject
*resultobj
= 0;
14578 wxImage
*arg1
= (wxImage
*) 0 ;
14579 wxString
*arg2
= 0 ;
14584 bool temp2
= false ;
14587 PyObject
* obj0
= 0 ;
14588 PyObject
* obj1
= 0 ;
14589 PyObject
* obj2
= 0 ;
14590 char * kwnames
[] = {
14591 (char *) "self",(char *) "name",(char *) "type", NULL
14594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14596 if (!SWIG_IsOK(res1
)) {
14597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SaveFile" "', expected argument " "1"" of type '" "wxImage *""'");
14599 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14601 arg2
= wxString_in_helper(obj1
);
14602 if (arg2
== NULL
) SWIG_fail
;
14605 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14606 if (!SWIG_IsOK(ecode3
)) {
14607 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SaveFile" "', expected argument " "3"" of type '" "int""'");
14609 arg3
= static_cast< int >(val3
);
14611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14612 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
14613 wxPyEndAllowThreads(__tstate
);
14614 if (PyErr_Occurred()) SWIG_fail
;
14617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14633 SWIGINTERN PyObject
*_wrap_Image_SaveMimeFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14634 PyObject
*resultobj
= 0;
14635 wxImage
*arg1
= (wxImage
*) 0 ;
14636 wxString
*arg2
= 0 ;
14637 wxString
*arg3
= 0 ;
14641 bool temp2
= false ;
14642 bool temp3
= false ;
14643 PyObject
* obj0
= 0 ;
14644 PyObject
* obj1
= 0 ;
14645 PyObject
* obj2
= 0 ;
14646 char * kwnames
[] = {
14647 (char *) "self",(char *) "name",(char *) "mimetype", NULL
14650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14652 if (!SWIG_IsOK(res1
)) {
14653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SaveMimeFile" "', expected argument " "1"" of type '" "wxImage *""'");
14655 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14657 arg2
= wxString_in_helper(obj1
);
14658 if (arg2
== NULL
) SWIG_fail
;
14662 arg3
= wxString_in_helper(obj2
);
14663 if (arg3
== NULL
) SWIG_fail
;
14667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14668 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
14669 wxPyEndAllowThreads(__tstate
);
14670 if (PyErr_Occurred()) SWIG_fail
;
14673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14697 SWIGINTERN PyObject
*_wrap_Image_CanReadStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14698 PyObject
*resultobj
= 0;
14699 wxInputStream
*arg1
= 0 ;
14701 wxPyInputStream
*temp1
;
14703 PyObject
* obj0
= 0 ;
14704 char * kwnames
[] = {
14705 (char *) "stream", NULL
14708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) SWIG_fail
;
14710 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
14711 arg1
= temp1
->m_wxis
;
14714 PyErr_Clear(); // clear the failure of the wxPyConvert above
14715 arg1
= wxPyCBInputStream_create(obj0
, false);
14716 if (arg1
== NULL
) {
14717 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
14724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14725 result
= (bool)wxImage::CanRead(*arg1
);
14726 wxPyEndAllowThreads(__tstate
);
14727 if (PyErr_Occurred()) SWIG_fail
;
14730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14733 if (created1
) delete arg1
;
14738 if (created1
) delete arg1
;
14744 SWIGINTERN PyObject
*_wrap_Image_LoadStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14745 PyObject
*resultobj
= 0;
14746 wxImage
*arg1
= (wxImage
*) 0 ;
14747 wxInputStream
*arg2
= 0 ;
14748 long arg3
= (long) wxBITMAP_TYPE_ANY
;
14749 int arg4
= (int) -1 ;
14753 wxPyInputStream
*temp2
;
14759 PyObject
* obj0
= 0 ;
14760 PyObject
* obj1
= 0 ;
14761 PyObject
* obj2
= 0 ;
14762 PyObject
* obj3
= 0 ;
14763 char * kwnames
[] = {
14764 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
14767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14769 if (!SWIG_IsOK(res1
)) {
14770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_LoadStream" "', expected argument " "1"" of type '" "wxImage *""'");
14772 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14774 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
14775 arg2
= temp2
->m_wxis
;
14778 PyErr_Clear(); // clear the failure of the wxPyConvert above
14779 arg2
= wxPyCBInputStream_create(obj1
, false);
14780 if (arg2
== NULL
) {
14781 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
14788 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
14789 if (!SWIG_IsOK(ecode3
)) {
14790 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_LoadStream" "', expected argument " "3"" of type '" "long""'");
14792 arg3
= static_cast< long >(val3
);
14795 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14796 if (!SWIG_IsOK(ecode4
)) {
14797 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_LoadStream" "', expected argument " "4"" of type '" "int""'");
14799 arg4
= static_cast< int >(val4
);
14802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14803 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
14804 wxPyEndAllowThreads(__tstate
);
14805 if (PyErr_Occurred()) SWIG_fail
;
14808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14811 if (created2
) delete arg2
;
14816 if (created2
) delete arg2
;
14822 SWIGINTERN PyObject
*_wrap_Image_LoadMimeStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14823 PyObject
*resultobj
= 0;
14824 wxImage
*arg1
= (wxImage
*) 0 ;
14825 wxInputStream
*arg2
= 0 ;
14826 wxString
*arg3
= 0 ;
14827 int arg4
= (int) -1 ;
14831 wxPyInputStream
*temp2
;
14833 bool temp3
= false ;
14836 PyObject
* obj0
= 0 ;
14837 PyObject
* obj1
= 0 ;
14838 PyObject
* obj2
= 0 ;
14839 PyObject
* obj3
= 0 ;
14840 char * kwnames
[] = {
14841 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
14844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14846 if (!SWIG_IsOK(res1
)) {
14847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_LoadMimeStream" "', expected argument " "1"" of type '" "wxImage *""'");
14849 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14851 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
14852 arg2
= temp2
->m_wxis
;
14855 PyErr_Clear(); // clear the failure of the wxPyConvert above
14856 arg2
= wxPyCBInputStream_create(obj1
, false);
14857 if (arg2
== NULL
) {
14858 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
14865 arg3
= wxString_in_helper(obj2
);
14866 if (arg3
== NULL
) SWIG_fail
;
14870 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14871 if (!SWIG_IsOK(ecode4
)) {
14872 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_LoadMimeStream" "', expected argument " "4"" of type '" "int""'");
14874 arg4
= static_cast< int >(val4
);
14877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14878 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
14879 wxPyEndAllowThreads(__tstate
);
14880 if (PyErr_Occurred()) SWIG_fail
;
14883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14886 if (created2
) delete arg2
;
14895 if (created2
) delete arg2
;
14905 SWIGINTERN PyObject
*_wrap_Image_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14906 PyObject
*resultobj
= 0;
14907 wxImage
*arg1
= (wxImage
*) 0 ;
14911 PyObject
*swig_obj
[1] ;
14913 if (!args
) SWIG_fail
;
14914 swig_obj
[0] = args
;
14915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14916 if (!SWIG_IsOK(res1
)) {
14917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Ok" "', expected argument " "1"" of type '" "wxImage *""'");
14919 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14922 result
= (bool)(arg1
)->Ok();
14923 wxPyEndAllowThreads(__tstate
);
14924 if (PyErr_Occurred()) SWIG_fail
;
14927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14935 SWIGINTERN PyObject
*_wrap_Image_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14936 PyObject
*resultobj
= 0;
14937 wxImage
*arg1
= (wxImage
*) 0 ;
14941 PyObject
*swig_obj
[1] ;
14943 if (!args
) SWIG_fail
;
14944 swig_obj
[0] = args
;
14945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14946 if (!SWIG_IsOK(res1
)) {
14947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetWidth" "', expected argument " "1"" of type '" "wxImage *""'");
14949 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14952 result
= (int)(arg1
)->GetWidth();
14953 wxPyEndAllowThreads(__tstate
);
14954 if (PyErr_Occurred()) SWIG_fail
;
14956 resultobj
= SWIG_From_int(static_cast< int >(result
));
14963 SWIGINTERN PyObject
*_wrap_Image_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14964 PyObject
*resultobj
= 0;
14965 wxImage
*arg1
= (wxImage
*) 0 ;
14969 PyObject
*swig_obj
[1] ;
14971 if (!args
) SWIG_fail
;
14972 swig_obj
[0] = args
;
14973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14974 if (!SWIG_IsOK(res1
)) {
14975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetHeight" "', expected argument " "1"" of type '" "wxImage *""'");
14977 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14980 result
= (int)(arg1
)->GetHeight();
14981 wxPyEndAllowThreads(__tstate
);
14982 if (PyErr_Occurred()) SWIG_fail
;
14984 resultobj
= SWIG_From_int(static_cast< int >(result
));
14991 SWIGINTERN PyObject
*_wrap_Image_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14992 PyObject
*resultobj
= 0;
14993 wxImage
*arg1
= (wxImage
*) 0 ;
14997 PyObject
*swig_obj
[1] ;
14999 if (!args
) SWIG_fail
;
15000 swig_obj
[0] = args
;
15001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15002 if (!SWIG_IsOK(res1
)) {
15003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetSize" "', expected argument " "1"" of type '" "wxImage *""'");
15005 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15008 result
= wxImage_GetSize(arg1
);
15009 wxPyEndAllowThreads(__tstate
);
15010 if (PyErr_Occurred()) SWIG_fail
;
15012 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
15019 SWIGINTERN PyObject
*_wrap_Image_GetSubImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15020 PyObject
*resultobj
= 0;
15021 wxImage
*arg1
= (wxImage
*) 0 ;
15023 SwigValueWrapper
<wxImage
> result
;
15027 PyObject
* obj0
= 0 ;
15028 PyObject
* obj1
= 0 ;
15029 char * kwnames
[] = {
15030 (char *) "self",(char *) "rect", NULL
15033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15035 if (!SWIG_IsOK(res1
)) {
15036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetSubImage" "', expected argument " "1"" of type '" "wxImage *""'");
15038 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15041 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15045 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
15046 wxPyEndAllowThreads(__tstate
);
15047 if (PyErr_Occurred()) SWIG_fail
;
15049 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
15056 SWIGINTERN PyObject
*_wrap_Image_Size(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15057 PyObject
*resultobj
= 0;
15058 wxImage
*arg1
= (wxImage
*) 0 ;
15060 wxPoint
*arg3
= 0 ;
15061 int arg4
= (int) -1 ;
15062 int arg5
= (int) -1 ;
15063 int arg6
= (int) -1 ;
15064 SwigValueWrapper
<wxImage
> result
;
15075 PyObject
* obj0
= 0 ;
15076 PyObject
* obj1
= 0 ;
15077 PyObject
* obj2
= 0 ;
15078 PyObject
* obj3
= 0 ;
15079 PyObject
* obj4
= 0 ;
15080 PyObject
* obj5
= 0 ;
15081 char * kwnames
[] = {
15082 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
15085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Image_Size",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15087 if (!SWIG_IsOK(res1
)) {
15088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Size" "', expected argument " "1"" of type '" "wxImage const *""'");
15090 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15093 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15097 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15100 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15101 if (!SWIG_IsOK(ecode4
)) {
15102 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Size" "', expected argument " "4"" of type '" "int""'");
15104 arg4
= static_cast< int >(val4
);
15107 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15108 if (!SWIG_IsOK(ecode5
)) {
15109 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_Size" "', expected argument " "5"" of type '" "int""'");
15111 arg5
= static_cast< int >(val5
);
15114 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
15115 if (!SWIG_IsOK(ecode6
)) {
15116 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Image_Size" "', expected argument " "6"" of type '" "int""'");
15118 arg6
= static_cast< int >(val6
);
15121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15122 result
= ((wxImage
const *)arg1
)->Size((wxSize
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
,arg6
);
15123 wxPyEndAllowThreads(__tstate
);
15124 if (PyErr_Occurred()) SWIG_fail
;
15126 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
15133 SWIGINTERN PyObject
*_wrap_Image_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15134 PyObject
*resultobj
= 0;
15135 wxImage
*arg1
= (wxImage
*) 0 ;
15136 SwigValueWrapper
<wxImage
> result
;
15139 PyObject
*swig_obj
[1] ;
15141 if (!args
) SWIG_fail
;
15142 swig_obj
[0] = args
;
15143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15144 if (!SWIG_IsOK(res1
)) {
15145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Copy" "', expected argument " "1"" of type '" "wxImage *""'");
15147 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15150 result
= (arg1
)->Copy();
15151 wxPyEndAllowThreads(__tstate
);
15152 if (PyErr_Occurred()) SWIG_fail
;
15154 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
15161 SWIGINTERN PyObject
*_wrap_Image_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15162 PyObject
*resultobj
= 0;
15163 wxImage
*arg1
= (wxImage
*) 0 ;
15164 wxImage
*arg2
= 0 ;
15175 PyObject
* obj0
= 0 ;
15176 PyObject
* obj1
= 0 ;
15177 PyObject
* obj2
= 0 ;
15178 PyObject
* obj3
= 0 ;
15179 char * kwnames
[] = {
15180 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
15183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15185 if (!SWIG_IsOK(res1
)) {
15186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Paste" "', expected argument " "1"" of type '" "wxImage *""'");
15188 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15189 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImage
, 0 | 0);
15190 if (!SWIG_IsOK(res2
)) {
15191 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Image_Paste" "', expected argument " "2"" of type '" "wxImage const &""'");
15194 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Image_Paste" "', expected argument " "2"" of type '" "wxImage const &""'");
15196 arg2
= reinterpret_cast< wxImage
* >(argp2
);
15197 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15198 if (!SWIG_IsOK(ecode3
)) {
15199 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_Paste" "', expected argument " "3"" of type '" "int""'");
15201 arg3
= static_cast< int >(val3
);
15202 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15203 if (!SWIG_IsOK(ecode4
)) {
15204 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Paste" "', expected argument " "4"" of type '" "int""'");
15206 arg4
= static_cast< int >(val4
);
15208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15209 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
15210 wxPyEndAllowThreads(__tstate
);
15211 if (PyErr_Occurred()) SWIG_fail
;
15213 resultobj
= SWIG_Py_Void();
15220 SWIGINTERN PyObject
*_wrap_Image_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15221 PyObject
*resultobj
= 0;
15222 wxImage
*arg1
= (wxImage
*) 0 ;
15223 PyObject
*result
= 0 ;
15226 PyObject
*swig_obj
[1] ;
15228 if (!args
) SWIG_fail
;
15229 swig_obj
[0] = args
;
15230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15231 if (!SWIG_IsOK(res1
)) {
15232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetData" "', expected argument " "1"" of type '" "wxImage *""'");
15234 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15237 result
= (PyObject
*)wxImage_GetData(arg1
);
15238 wxPyEndAllowThreads(__tstate
);
15239 if (PyErr_Occurred()) SWIG_fail
;
15241 resultobj
= result
;
15248 SWIGINTERN PyObject
*_wrap_Image_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15249 PyObject
*resultobj
= 0;
15250 wxImage
*arg1
= (wxImage
*) 0 ;
15255 PyObject
* obj0
= 0 ;
15256 PyObject
* obj1
= 0 ;
15257 char * kwnames
[] = {
15258 (char *) "self",(char *) "data", NULL
15261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15263 if (!SWIG_IsOK(res1
)) {
15264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetData" "', expected argument " "1"" of type '" "wxImage *""'");
15266 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15268 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
15271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15272 wxImage_SetData(arg1
,arg2
,arg3
);
15273 wxPyEndAllowThreads(__tstate
);
15274 if (PyErr_Occurred()) SWIG_fail
;
15276 resultobj
= SWIG_Py_Void();
15283 SWIGINTERN PyObject
*_wrap_Image_GetDataBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15284 PyObject
*resultobj
= 0;
15285 wxImage
*arg1
= (wxImage
*) 0 ;
15286 PyObject
*result
= 0 ;
15289 PyObject
*swig_obj
[1] ;
15291 if (!args
) SWIG_fail
;
15292 swig_obj
[0] = args
;
15293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15294 if (!SWIG_IsOK(res1
)) {
15295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetDataBuffer" "', expected argument " "1"" of type '" "wxImage *""'");
15297 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15300 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
15301 wxPyEndAllowThreads(__tstate
);
15302 if (PyErr_Occurred()) SWIG_fail
;
15304 resultobj
= result
;
15311 SWIGINTERN PyObject
*_wrap_Image_SetDataBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15312 PyObject
*resultobj
= 0;
15313 wxImage
*arg1
= (wxImage
*) 0 ;
15318 PyObject
* obj0
= 0 ;
15319 PyObject
* obj1
= 0 ;
15320 char * kwnames
[] = {
15321 (char *) "self",(char *) "data", NULL
15324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15326 if (!SWIG_IsOK(res1
)) {
15327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetDataBuffer" "', expected argument " "1"" of type '" "wxImage *""'");
15329 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15331 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
15334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15335 wxImage_SetDataBuffer(arg1
,arg2
,arg3
);
15336 wxPyEndAllowThreads(__tstate
);
15337 if (PyErr_Occurred()) SWIG_fail
;
15339 resultobj
= SWIG_Py_Void();
15346 SWIGINTERN PyObject
*_wrap_Image_GetAlphaData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15347 PyObject
*resultobj
= 0;
15348 wxImage
*arg1
= (wxImage
*) 0 ;
15349 PyObject
*result
= 0 ;
15352 PyObject
*swig_obj
[1] ;
15354 if (!args
) SWIG_fail
;
15355 swig_obj
[0] = args
;
15356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15357 if (!SWIG_IsOK(res1
)) {
15358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetAlphaData" "', expected argument " "1"" of type '" "wxImage *""'");
15360 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15363 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
15364 wxPyEndAllowThreads(__tstate
);
15365 if (PyErr_Occurred()) SWIG_fail
;
15367 resultobj
= result
;
15374 SWIGINTERN PyObject
*_wrap_Image_SetAlphaData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15375 PyObject
*resultobj
= 0;
15376 wxImage
*arg1
= (wxImage
*) 0 ;
15381 PyObject
* obj0
= 0 ;
15382 PyObject
* obj1
= 0 ;
15383 char * kwnames
[] = {
15384 (char *) "self",(char *) "alpha", NULL
15387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15389 if (!SWIG_IsOK(res1
)) {
15390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetAlphaData" "', expected argument " "1"" of type '" "wxImage *""'");
15392 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15394 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
15397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15398 wxImage_SetAlphaData(arg1
,arg2
,arg3
);
15399 wxPyEndAllowThreads(__tstate
);
15400 if (PyErr_Occurred()) SWIG_fail
;
15402 resultobj
= SWIG_Py_Void();
15409 SWIGINTERN PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15410 PyObject
*resultobj
= 0;
15411 wxImage
*arg1
= (wxImage
*) 0 ;
15412 PyObject
*result
= 0 ;
15415 PyObject
*swig_obj
[1] ;
15417 if (!args
) SWIG_fail
;
15418 swig_obj
[0] = args
;
15419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15420 if (!SWIG_IsOK(res1
)) {
15421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetAlphaBuffer" "', expected argument " "1"" of type '" "wxImage *""'");
15423 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15426 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
15427 wxPyEndAllowThreads(__tstate
);
15428 if (PyErr_Occurred()) SWIG_fail
;
15430 resultobj
= result
;
15437 SWIGINTERN PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15438 PyObject
*resultobj
= 0;
15439 wxImage
*arg1
= (wxImage
*) 0 ;
15444 PyObject
* obj0
= 0 ;
15445 PyObject
* obj1
= 0 ;
15446 char * kwnames
[] = {
15447 (char *) "self",(char *) "alpha", NULL
15450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15452 if (!SWIG_IsOK(res1
)) {
15453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetAlphaBuffer" "', expected argument " "1"" of type '" "wxImage *""'");
15455 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15457 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
15460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15461 wxImage_SetAlphaBuffer(arg1
,arg2
,arg3
);
15462 wxPyEndAllowThreads(__tstate
);
15463 if (PyErr_Occurred()) SWIG_fail
;
15465 resultobj
= SWIG_Py_Void();
15472 SWIGINTERN PyObject
*_wrap_Image_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15473 PyObject
*resultobj
= 0;
15474 wxImage
*arg1
= (wxImage
*) 0 ;
15480 unsigned char val2
;
15482 unsigned char val3
;
15484 unsigned char val4
;
15486 PyObject
* obj0
= 0 ;
15487 PyObject
* obj1
= 0 ;
15488 PyObject
* obj2
= 0 ;
15489 PyObject
* obj3
= 0 ;
15490 char * kwnames
[] = {
15491 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
15494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15496 if (!SWIG_IsOK(res1
)) {
15497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetMaskColour" "', expected argument " "1"" of type '" "wxImage *""'");
15499 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15500 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
15501 if (!SWIG_IsOK(ecode2
)) {
15502 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_SetMaskColour" "', expected argument " "2"" of type '" "byte""'");
15504 arg2
= static_cast< byte
>(val2
);
15505 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
15506 if (!SWIG_IsOK(ecode3
)) {
15507 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SetMaskColour" "', expected argument " "3"" of type '" "byte""'");
15509 arg3
= static_cast< byte
>(val3
);
15510 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
15511 if (!SWIG_IsOK(ecode4
)) {
15512 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_SetMaskColour" "', expected argument " "4"" of type '" "byte""'");
15514 arg4
= static_cast< byte
>(val4
);
15516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15517 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
15518 wxPyEndAllowThreads(__tstate
);
15519 if (PyErr_Occurred()) SWIG_fail
;
15521 resultobj
= SWIG_Py_Void();
15528 SWIGINTERN PyObject
*_wrap_Image_GetOrFindMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15529 PyObject
*resultobj
= 0;
15530 wxImage
*arg1
= (wxImage
*) 0 ;
15531 byte
*arg2
= (byte
*) 0 ;
15532 byte
*arg3
= (byte
*) 0 ;
15533 byte
*arg4
= (byte
*) 0 ;
15537 int res2
= SWIG_TMPOBJ
;
15539 int res3
= SWIG_TMPOBJ
;
15541 int res4
= SWIG_TMPOBJ
;
15542 PyObject
*swig_obj
[1] ;
15547 if (!args
) SWIG_fail
;
15548 swig_obj
[0] = args
;
15549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15550 if (!SWIG_IsOK(res1
)) {
15551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetOrFindMaskColour" "', expected argument " "1"" of type '" "wxImage const *""'");
15553 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15556 ((wxImage
const *)arg1
)->GetOrFindMaskColour(arg2
,arg3
,arg4
);
15557 wxPyEndAllowThreads(__tstate
);
15558 if (PyErr_Occurred()) SWIG_fail
;
15560 resultobj
= SWIG_Py_Void();
15561 if (SWIG_IsTmpObj(res2
)) {
15562 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg2
)));
15564 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
15565 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, new_flags
));
15567 if (SWIG_IsTmpObj(res3
)) {
15568 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
15570 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
15571 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
15573 if (SWIG_IsTmpObj(res4
)) {
15574 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
15576 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
15577 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
15585 SWIGINTERN PyObject
*_wrap_Image_GetMaskRed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15586 PyObject
*resultobj
= 0;
15587 wxImage
*arg1
= (wxImage
*) 0 ;
15591 PyObject
*swig_obj
[1] ;
15593 if (!args
) SWIG_fail
;
15594 swig_obj
[0] = args
;
15595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15596 if (!SWIG_IsOK(res1
)) {
15597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetMaskRed" "', expected argument " "1"" of type '" "wxImage *""'");
15599 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15602 result
= (byte
)(arg1
)->GetMaskRed();
15603 wxPyEndAllowThreads(__tstate
);
15604 if (PyErr_Occurred()) SWIG_fail
;
15606 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
15613 SWIGINTERN PyObject
*_wrap_Image_GetMaskGreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15614 PyObject
*resultobj
= 0;
15615 wxImage
*arg1
= (wxImage
*) 0 ;
15619 PyObject
*swig_obj
[1] ;
15621 if (!args
) SWIG_fail
;
15622 swig_obj
[0] = args
;
15623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15624 if (!SWIG_IsOK(res1
)) {
15625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetMaskGreen" "', expected argument " "1"" of type '" "wxImage *""'");
15627 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15630 result
= (byte
)(arg1
)->GetMaskGreen();
15631 wxPyEndAllowThreads(__tstate
);
15632 if (PyErr_Occurred()) SWIG_fail
;
15634 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
15641 SWIGINTERN PyObject
*_wrap_Image_GetMaskBlue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15642 PyObject
*resultobj
= 0;
15643 wxImage
*arg1
= (wxImage
*) 0 ;
15647 PyObject
*swig_obj
[1] ;
15649 if (!args
) SWIG_fail
;
15650 swig_obj
[0] = args
;
15651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15652 if (!SWIG_IsOK(res1
)) {
15653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetMaskBlue" "', expected argument " "1"" of type '" "wxImage *""'");
15655 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15658 result
= (byte
)(arg1
)->GetMaskBlue();
15659 wxPyEndAllowThreads(__tstate
);
15660 if (PyErr_Occurred()) SWIG_fail
;
15662 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
15669 SWIGINTERN PyObject
*_wrap_Image_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15670 PyObject
*resultobj
= 0;
15671 wxImage
*arg1
= (wxImage
*) 0 ;
15672 bool arg2
= (bool) true ;
15677 PyObject
* obj0
= 0 ;
15678 PyObject
* obj1
= 0 ;
15679 char * kwnames
[] = {
15680 (char *) "self",(char *) "mask", NULL
15683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15685 if (!SWIG_IsOK(res1
)) {
15686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetMask" "', expected argument " "1"" of type '" "wxImage *""'");
15688 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15690 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15691 if (!SWIG_IsOK(ecode2
)) {
15692 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_SetMask" "', expected argument " "2"" of type '" "bool""'");
15694 arg2
= static_cast< bool >(val2
);
15697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15698 (arg1
)->SetMask(arg2
);
15699 wxPyEndAllowThreads(__tstate
);
15700 if (PyErr_Occurred()) SWIG_fail
;
15702 resultobj
= SWIG_Py_Void();
15709 SWIGINTERN PyObject
*_wrap_Image_HasMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15710 PyObject
*resultobj
= 0;
15711 wxImage
*arg1
= (wxImage
*) 0 ;
15715 PyObject
*swig_obj
[1] ;
15717 if (!args
) SWIG_fail
;
15718 swig_obj
[0] = args
;
15719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15720 if (!SWIG_IsOK(res1
)) {
15721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HasMask" "', expected argument " "1"" of type '" "wxImage *""'");
15723 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15726 result
= (bool)(arg1
)->HasMask();
15727 wxPyEndAllowThreads(__tstate
);
15728 if (PyErr_Occurred()) SWIG_fail
;
15731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15739 SWIGINTERN PyObject
*_wrap_Image_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15740 PyObject
*resultobj
= 0;
15741 wxImage
*arg1
= (wxImage
*) 0 ;
15743 wxPoint
*arg3
= 0 ;
15744 bool arg4
= (bool) true ;
15745 wxPoint
*arg5
= (wxPoint
*) NULL
;
15746 SwigValueWrapper
<wxImage
> result
;
15756 PyObject
* obj0
= 0 ;
15757 PyObject
* obj1
= 0 ;
15758 PyObject
* obj2
= 0 ;
15759 PyObject
* obj3
= 0 ;
15760 PyObject
* obj4
= 0 ;
15761 char * kwnames
[] = {
15762 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
15765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15767 if (!SWIG_IsOK(res1
)) {
15768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Rotate" "', expected argument " "1"" of type '" "wxImage const *""'");
15770 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15771 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
15772 if (!SWIG_IsOK(ecode2
)) {
15773 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Rotate" "', expected argument " "2"" of type '" "double""'");
15775 arg2
= static_cast< double >(val2
);
15778 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15781 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
15782 if (!SWIG_IsOK(ecode4
)) {
15783 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Rotate" "', expected argument " "4"" of type '" "bool""'");
15785 arg4
= static_cast< bool >(val4
);
15788 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxPoint
, 0 | 0 );
15789 if (!SWIG_IsOK(res5
)) {
15790 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "Image_Rotate" "', expected argument " "5"" of type '" "wxPoint *""'");
15792 arg5
= reinterpret_cast< wxPoint
* >(argp5
);
15795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15796 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
15797 wxPyEndAllowThreads(__tstate
);
15798 if (PyErr_Occurred()) SWIG_fail
;
15800 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
15807 SWIGINTERN PyObject
*_wrap_Image_Rotate90(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15808 PyObject
*resultobj
= 0;
15809 wxImage
*arg1
= (wxImage
*) 0 ;
15810 bool arg2
= (bool) true ;
15811 SwigValueWrapper
<wxImage
> result
;
15816 PyObject
* obj0
= 0 ;
15817 PyObject
* obj1
= 0 ;
15818 char * kwnames
[] = {
15819 (char *) "self",(char *) "clockwise", NULL
15822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15824 if (!SWIG_IsOK(res1
)) {
15825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Rotate90" "', expected argument " "1"" of type '" "wxImage *""'");
15827 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15829 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15830 if (!SWIG_IsOK(ecode2
)) {
15831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Rotate90" "', expected argument " "2"" of type '" "bool""'");
15833 arg2
= static_cast< bool >(val2
);
15836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15837 result
= (arg1
)->Rotate90(arg2
);
15838 wxPyEndAllowThreads(__tstate
);
15839 if (PyErr_Occurred()) SWIG_fail
;
15841 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
15848 SWIGINTERN PyObject
*_wrap_Image_Mirror(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15849 PyObject
*resultobj
= 0;
15850 wxImage
*arg1
= (wxImage
*) 0 ;
15851 bool arg2
= (bool) true ;
15852 SwigValueWrapper
<wxImage
> result
;
15857 PyObject
* obj0
= 0 ;
15858 PyObject
* obj1
= 0 ;
15859 char * kwnames
[] = {
15860 (char *) "self",(char *) "horizontally", NULL
15863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15865 if (!SWIG_IsOK(res1
)) {
15866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Mirror" "', expected argument " "1"" of type '" "wxImage *""'");
15868 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15870 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15871 if (!SWIG_IsOK(ecode2
)) {
15872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Mirror" "', expected argument " "2"" of type '" "bool""'");
15874 arg2
= static_cast< bool >(val2
);
15877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15878 result
= (arg1
)->Mirror(arg2
);
15879 wxPyEndAllowThreads(__tstate
);
15880 if (PyErr_Occurred()) SWIG_fail
;
15882 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
15889 SWIGINTERN PyObject
*_wrap_Image_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15890 PyObject
*resultobj
= 0;
15891 wxImage
*arg1
= (wxImage
*) 0 ;
15900 unsigned char val2
;
15902 unsigned char val3
;
15904 unsigned char val4
;
15906 unsigned char val5
;
15908 unsigned char val6
;
15910 unsigned char val7
;
15912 PyObject
* obj0
= 0 ;
15913 PyObject
* obj1
= 0 ;
15914 PyObject
* obj2
= 0 ;
15915 PyObject
* obj3
= 0 ;
15916 PyObject
* obj4
= 0 ;
15917 PyObject
* obj5
= 0 ;
15918 PyObject
* obj6
= 0 ;
15919 char * kwnames
[] = {
15920 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
15923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15925 if (!SWIG_IsOK(res1
)) {
15926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Replace" "', expected argument " "1"" of type '" "wxImage *""'");
15928 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15929 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
15930 if (!SWIG_IsOK(ecode2
)) {
15931 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Replace" "', expected argument " "2"" of type '" "byte""'");
15933 arg2
= static_cast< byte
>(val2
);
15934 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
15935 if (!SWIG_IsOK(ecode3
)) {
15936 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_Replace" "', expected argument " "3"" of type '" "byte""'");
15938 arg3
= static_cast< byte
>(val3
);
15939 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
15940 if (!SWIG_IsOK(ecode4
)) {
15941 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Replace" "', expected argument " "4"" of type '" "byte""'");
15943 arg4
= static_cast< byte
>(val4
);
15944 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
15945 if (!SWIG_IsOK(ecode5
)) {
15946 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_Replace" "', expected argument " "5"" of type '" "byte""'");
15948 arg5
= static_cast< byte
>(val5
);
15949 ecode6
= SWIG_AsVal_unsigned_SS_char(obj5
, &val6
);
15950 if (!SWIG_IsOK(ecode6
)) {
15951 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Image_Replace" "', expected argument " "6"" of type '" "byte""'");
15953 arg6
= static_cast< byte
>(val6
);
15954 ecode7
= SWIG_AsVal_unsigned_SS_char(obj6
, &val7
);
15955 if (!SWIG_IsOK(ecode7
)) {
15956 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Image_Replace" "', expected argument " "7"" of type '" "byte""'");
15958 arg7
= static_cast< byte
>(val7
);
15960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15961 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15962 wxPyEndAllowThreads(__tstate
);
15963 if (PyErr_Occurred()) SWIG_fail
;
15965 resultobj
= SWIG_Py_Void();
15972 SWIGINTERN PyObject
*_wrap_Image_ConvertToGreyscale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15973 PyObject
*resultobj
= 0;
15974 wxImage
*arg1
= (wxImage
*) 0 ;
15975 double arg2
= (double) 0.299 ;
15976 double arg3
= (double) 0.587 ;
15977 double arg4
= (double) 0.114 ;
15978 SwigValueWrapper
<wxImage
> result
;
15987 PyObject
* obj0
= 0 ;
15988 PyObject
* obj1
= 0 ;
15989 PyObject
* obj2
= 0 ;
15990 PyObject
* obj3
= 0 ;
15991 char * kwnames
[] = {
15992 (char *) "self",(char *) "lr",(char *) "lg",(char *) "lb", NULL
15995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_ConvertToGreyscale",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15997 if (!SWIG_IsOK(res1
)) {
15998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ConvertToGreyscale" "', expected argument " "1"" of type '" "wxImage const *""'");
16000 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16002 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
16003 if (!SWIG_IsOK(ecode2
)) {
16004 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ConvertToGreyscale" "', expected argument " "2"" of type '" "double""'");
16006 arg2
= static_cast< double >(val2
);
16009 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
16010 if (!SWIG_IsOK(ecode3
)) {
16011 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_ConvertToGreyscale" "', expected argument " "3"" of type '" "double""'");
16013 arg3
= static_cast< double >(val3
);
16016 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
16017 if (!SWIG_IsOK(ecode4
)) {
16018 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_ConvertToGreyscale" "', expected argument " "4"" of type '" "double""'");
16020 arg4
= static_cast< double >(val4
);
16023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16024 result
= ((wxImage
const *)arg1
)->ConvertToGreyscale(arg2
,arg3
,arg4
);
16025 wxPyEndAllowThreads(__tstate
);
16026 if (PyErr_Occurred()) SWIG_fail
;
16028 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
16035 SWIGINTERN PyObject
*_wrap_Image_ConvertToMono(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16036 PyObject
*resultobj
= 0;
16037 wxImage
*arg1
= (wxImage
*) 0 ;
16041 SwigValueWrapper
<wxImage
> result
;
16044 unsigned char val2
;
16046 unsigned char val3
;
16048 unsigned char val4
;
16050 PyObject
* obj0
= 0 ;
16051 PyObject
* obj1
= 0 ;
16052 PyObject
* obj2
= 0 ;
16053 PyObject
* obj3
= 0 ;
16054 char * kwnames
[] = {
16055 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
16058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16060 if (!SWIG_IsOK(res1
)) {
16061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ConvertToMono" "', expected argument " "1"" of type '" "wxImage const *""'");
16063 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16064 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
16065 if (!SWIG_IsOK(ecode2
)) {
16066 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ConvertToMono" "', expected argument " "2"" of type '" "byte""'");
16068 arg2
= static_cast< byte
>(val2
);
16069 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
16070 if (!SWIG_IsOK(ecode3
)) {
16071 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_ConvertToMono" "', expected argument " "3"" of type '" "byte""'");
16073 arg3
= static_cast< byte
>(val3
);
16074 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
16075 if (!SWIG_IsOK(ecode4
)) {
16076 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_ConvertToMono" "', expected argument " "4"" of type '" "byte""'");
16078 arg4
= static_cast< byte
>(val4
);
16080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16081 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
16082 wxPyEndAllowThreads(__tstate
);
16083 if (PyErr_Occurred()) SWIG_fail
;
16085 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
16092 SWIGINTERN PyObject
*_wrap_Image_SetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16093 PyObject
*resultobj
= 0;
16094 wxImage
*arg1
= (wxImage
*) 0 ;
16095 wxString
*arg2
= 0 ;
16096 wxString
*arg3
= 0 ;
16099 bool temp2
= false ;
16100 bool temp3
= false ;
16101 PyObject
* obj0
= 0 ;
16102 PyObject
* obj1
= 0 ;
16103 PyObject
* obj2
= 0 ;
16104 char * kwnames
[] = {
16105 (char *) "self",(char *) "name",(char *) "value", NULL
16108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16110 if (!SWIG_IsOK(res1
)) {
16111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetOption" "', expected argument " "1"" of type '" "wxImage *""'");
16113 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16115 arg2
= wxString_in_helper(obj1
);
16116 if (arg2
== NULL
) SWIG_fail
;
16120 arg3
= wxString_in_helper(obj2
);
16121 if (arg3
== NULL
) SWIG_fail
;
16125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16126 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16127 wxPyEndAllowThreads(__tstate
);
16128 if (PyErr_Occurred()) SWIG_fail
;
16130 resultobj
= SWIG_Py_Void();
16153 SWIGINTERN PyObject
*_wrap_Image_SetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16154 PyObject
*resultobj
= 0;
16155 wxImage
*arg1
= (wxImage
*) 0 ;
16156 wxString
*arg2
= 0 ;
16160 bool temp2
= false ;
16163 PyObject
* obj0
= 0 ;
16164 PyObject
* obj1
= 0 ;
16165 PyObject
* obj2
= 0 ;
16166 char * kwnames
[] = {
16167 (char *) "self",(char *) "name",(char *) "value", NULL
16170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16172 if (!SWIG_IsOK(res1
)) {
16173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetOptionInt" "', expected argument " "1"" of type '" "wxImage *""'");
16175 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16177 arg2
= wxString_in_helper(obj1
);
16178 if (arg2
== NULL
) SWIG_fail
;
16181 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16182 if (!SWIG_IsOK(ecode3
)) {
16183 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SetOptionInt" "', expected argument " "3"" of type '" "int""'");
16185 arg3
= static_cast< int >(val3
);
16187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16188 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
16189 wxPyEndAllowThreads(__tstate
);
16190 if (PyErr_Occurred()) SWIG_fail
;
16192 resultobj
= SWIG_Py_Void();
16207 SWIGINTERN PyObject
*_wrap_Image_GetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16208 PyObject
*resultobj
= 0;
16209 wxImage
*arg1
= (wxImage
*) 0 ;
16210 wxString
*arg2
= 0 ;
16214 bool temp2
= false ;
16215 PyObject
* obj0
= 0 ;
16216 PyObject
* obj1
= 0 ;
16217 char * kwnames
[] = {
16218 (char *) "self",(char *) "name", NULL
16221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16223 if (!SWIG_IsOK(res1
)) {
16224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetOption" "', expected argument " "1"" of type '" "wxImage const *""'");
16226 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16228 arg2
= wxString_in_helper(obj1
);
16229 if (arg2
== NULL
) SWIG_fail
;
16233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16234 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
16235 wxPyEndAllowThreads(__tstate
);
16236 if (PyErr_Occurred()) SWIG_fail
;
16240 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16242 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16259 SWIGINTERN PyObject
*_wrap_Image_GetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16260 PyObject
*resultobj
= 0;
16261 wxImage
*arg1
= (wxImage
*) 0 ;
16262 wxString
*arg2
= 0 ;
16266 bool temp2
= false ;
16267 PyObject
* obj0
= 0 ;
16268 PyObject
* obj1
= 0 ;
16269 char * kwnames
[] = {
16270 (char *) "self",(char *) "name", NULL
16273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16275 if (!SWIG_IsOK(res1
)) {
16276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetOptionInt" "', expected argument " "1"" of type '" "wxImage const *""'");
16278 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16280 arg2
= wxString_in_helper(obj1
);
16281 if (arg2
== NULL
) SWIG_fail
;
16285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16286 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
16287 wxPyEndAllowThreads(__tstate
);
16288 if (PyErr_Occurred()) SWIG_fail
;
16290 resultobj
= SWIG_From_int(static_cast< int >(result
));
16305 SWIGINTERN PyObject
*_wrap_Image_HasOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16306 PyObject
*resultobj
= 0;
16307 wxImage
*arg1
= (wxImage
*) 0 ;
16308 wxString
*arg2
= 0 ;
16312 bool temp2
= false ;
16313 PyObject
* obj0
= 0 ;
16314 PyObject
* obj1
= 0 ;
16315 char * kwnames
[] = {
16316 (char *) "self",(char *) "name", NULL
16319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16321 if (!SWIG_IsOK(res1
)) {
16322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HasOption" "', expected argument " "1"" of type '" "wxImage const *""'");
16324 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16326 arg2
= wxString_in_helper(obj1
);
16327 if (arg2
== NULL
) SWIG_fail
;
16331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16332 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
16333 wxPyEndAllowThreads(__tstate
);
16334 if (PyErr_Occurred()) SWIG_fail
;
16337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16353 SWIGINTERN PyObject
*_wrap_Image_CountColours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16354 PyObject
*resultobj
= 0;
16355 wxImage
*arg1
= (wxImage
*) 0 ;
16356 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
16357 unsigned long result
;
16360 unsigned long val2
;
16362 PyObject
* obj0
= 0 ;
16363 PyObject
* obj1
= 0 ;
16364 char * kwnames
[] = {
16365 (char *) "self",(char *) "stopafter", NULL
16368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",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_CountColours" "', expected argument " "1"" of type '" "wxImage *""'");
16373 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16375 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
16376 if (!SWIG_IsOK(ecode2
)) {
16377 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_CountColours" "', expected argument " "2"" of type '" "unsigned long""'");
16379 arg2
= static_cast< unsigned long >(val2
);
16382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16383 result
= (unsigned long)(arg1
)->CountColours(arg2
);
16384 wxPyEndAllowThreads(__tstate
);
16385 if (PyErr_Occurred()) SWIG_fail
;
16387 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
16394 SWIGINTERN PyObject
*_wrap_Image_ComputeHistogram(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16395 PyObject
*resultobj
= 0;
16396 wxImage
*arg1
= (wxImage
*) 0 ;
16397 wxImageHistogram
*arg2
= 0 ;
16398 unsigned long result
;
16403 PyObject
* obj0
= 0 ;
16404 PyObject
* obj1
= 0 ;
16405 char * kwnames
[] = {
16406 (char *) "self",(char *) "h", NULL
16409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16411 if (!SWIG_IsOK(res1
)) {
16412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ComputeHistogram" "', expected argument " "1"" of type '" "wxImage *""'");
16414 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16415 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImageHistogram
, 0 );
16416 if (!SWIG_IsOK(res2
)) {
16417 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Image_ComputeHistogram" "', expected argument " "2"" of type '" "wxImageHistogram &""'");
16420 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Image_ComputeHistogram" "', expected argument " "2"" of type '" "wxImageHistogram &""'");
16422 arg2
= reinterpret_cast< wxImageHistogram
* >(argp2
);
16424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16425 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
16426 wxPyEndAllowThreads(__tstate
);
16427 if (PyErr_Occurred()) SWIG_fail
;
16429 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
16436 SWIGINTERN PyObject
*_wrap_Image_AddHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16437 PyObject
*resultobj
= 0;
16438 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
16441 PyObject
* obj0
= 0 ;
16442 char * kwnames
[] = {
16443 (char *) "handler", NULL
16446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) SWIG_fail
;
16447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
16448 if (!SWIG_IsOK(res1
)) {
16449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_AddHandler" "', expected argument " "1"" of type '" "wxImageHandler *""'");
16451 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
16453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16454 wxImage::AddHandler(arg1
);
16455 wxPyEndAllowThreads(__tstate
);
16456 if (PyErr_Occurred()) SWIG_fail
;
16458 resultobj
= SWIG_Py_Void();
16465 SWIGINTERN PyObject
*_wrap_Image_InsertHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16466 PyObject
*resultobj
= 0;
16467 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
16470 PyObject
* obj0
= 0 ;
16471 char * kwnames
[] = {
16472 (char *) "handler", NULL
16475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) SWIG_fail
;
16476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
16477 if (!SWIG_IsOK(res1
)) {
16478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_InsertHandler" "', expected argument " "1"" of type '" "wxImageHandler *""'");
16480 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
16482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16483 wxImage::InsertHandler(arg1
);
16484 wxPyEndAllowThreads(__tstate
);
16485 if (PyErr_Occurred()) SWIG_fail
;
16487 resultobj
= SWIG_Py_Void();
16494 SWIGINTERN PyObject
*_wrap_Image_RemoveHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16495 PyObject
*resultobj
= 0;
16496 wxString
*arg1
= 0 ;
16498 bool temp1
= false ;
16499 PyObject
* obj0
= 0 ;
16500 char * kwnames
[] = {
16501 (char *) "name", NULL
16504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) SWIG_fail
;
16506 arg1
= wxString_in_helper(obj0
);
16507 if (arg1
== NULL
) SWIG_fail
;
16511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16512 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
16513 wxPyEndAllowThreads(__tstate
);
16514 if (PyErr_Occurred()) SWIG_fail
;
16517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16533 SWIGINTERN PyObject
*_wrap_Image_GetHandlers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16534 PyObject
*resultobj
= 0;
16535 PyObject
*result
= 0 ;
16537 if (!SWIG_Python_UnpackTuple(args
,"Image_GetHandlers",0,0,0)) SWIG_fail
;
16539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16540 result
= (PyObject
*)wxImage_GetHandlers();
16541 wxPyEndAllowThreads(__tstate
);
16542 if (PyErr_Occurred()) SWIG_fail
;
16544 resultobj
= result
;
16551 SWIGINTERN PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16552 PyObject
*resultobj
= 0;
16555 if (!SWIG_Python_UnpackTuple(args
,"Image_GetImageExtWildcard",0,0,0)) SWIG_fail
;
16557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16558 result
= wxImage::GetImageExtWildcard();
16559 wxPyEndAllowThreads(__tstate
);
16560 if (PyErr_Occurred()) SWIG_fail
;
16564 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16566 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16575 SWIGINTERN PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16576 PyObject
*resultobj
= 0;
16577 wxImage
*arg1
= (wxImage
*) 0 ;
16578 int arg2
= (int) -1 ;
16584 PyObject
* obj0
= 0 ;
16585 PyObject
* obj1
= 0 ;
16586 char * kwnames
[] = {
16587 (char *) "self",(char *) "depth", NULL
16590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertToBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16592 if (!SWIG_IsOK(res1
)) {
16593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ConvertToBitmap" "', expected argument " "1"" of type '" "wxImage *""'");
16595 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16597 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16598 if (!SWIG_IsOK(ecode2
)) {
16599 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ConvertToBitmap" "', expected argument " "2"" of type '" "int""'");
16601 arg2
= static_cast< int >(val2
);
16604 if (!wxPyCheckForApp()) SWIG_fail
;
16605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16606 result
= wxImage_ConvertToBitmap(arg1
,arg2
);
16607 wxPyEndAllowThreads(__tstate
);
16608 if (PyErr_Occurred()) SWIG_fail
;
16610 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
16617 SWIGINTERN PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16618 PyObject
*resultobj
= 0;
16619 wxImage
*arg1
= (wxImage
*) 0 ;
16626 unsigned char val2
;
16628 unsigned char val3
;
16630 unsigned char val4
;
16632 PyObject
* obj0
= 0 ;
16633 PyObject
* obj1
= 0 ;
16634 PyObject
* obj2
= 0 ;
16635 PyObject
* obj3
= 0 ;
16636 char * kwnames
[] = {
16637 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
16640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16642 if (!SWIG_IsOK(res1
)) {
16643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ConvertToMonoBitmap" "', expected argument " "1"" of type '" "wxImage *""'");
16645 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16646 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
16647 if (!SWIG_IsOK(ecode2
)) {
16648 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ConvertToMonoBitmap" "', expected argument " "2"" of type '" "byte""'");
16650 arg2
= static_cast< byte
>(val2
);
16651 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
16652 if (!SWIG_IsOK(ecode3
)) {
16653 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_ConvertToMonoBitmap" "', expected argument " "3"" of type '" "byte""'");
16655 arg3
= static_cast< byte
>(val3
);
16656 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
16657 if (!SWIG_IsOK(ecode4
)) {
16658 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_ConvertToMonoBitmap" "', expected argument " "4"" of type '" "byte""'");
16660 arg4
= static_cast< byte
>(val4
);
16662 if (!wxPyCheckForApp()) SWIG_fail
;
16663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16664 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
16665 wxPyEndAllowThreads(__tstate
);
16666 if (PyErr_Occurred()) SWIG_fail
;
16668 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
16675 SWIGINTERN PyObject
*_wrap_Image_RotateHue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16676 PyObject
*resultobj
= 0;
16677 wxImage
*arg1
= (wxImage
*) 0 ;
16683 PyObject
* obj0
= 0 ;
16684 PyObject
* obj1
= 0 ;
16685 char * kwnames
[] = {
16686 (char *) "self",(char *) "angle", NULL
16689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_RotateHue",kwnames
,&obj0
,&obj1
)) 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_RotateHue" "', expected argument " "1"" of type '" "wxImage *""'");
16694 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16695 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
16696 if (!SWIG_IsOK(ecode2
)) {
16697 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_RotateHue" "', expected argument " "2"" of type '" "double""'");
16699 arg2
= static_cast< double >(val2
);
16701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16702 (arg1
)->RotateHue(arg2
);
16703 wxPyEndAllowThreads(__tstate
);
16704 if (PyErr_Occurred()) SWIG_fail
;
16706 resultobj
= SWIG_Py_Void();
16713 SWIGINTERN PyObject
*_wrap_Image_RGBtoHSV(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16714 PyObject
*resultobj
= 0;
16715 wxImage_RGBValue arg1
;
16716 wxImage_HSVValue result
;
16719 PyObject
* obj0
= 0 ;
16720 char * kwnames
[] = {
16721 (char *) "rgb", NULL
16724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RGBtoHSV",kwnames
,&obj0
)) SWIG_fail
;
16726 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage_RGBValue
, 0 | 0);
16727 if (!SWIG_IsOK(res1
)) {
16728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBtoHSV" "', expected argument " "1"" of type '" "wxImage_RGBValue""'");
16731 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Image_RGBtoHSV" "', expected argument " "1"" of type '" "wxImage_RGBValue""'");
16733 wxImage_RGBValue
* temp
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
16735 if (SWIG_IsNewObj(res1
)) delete temp
;
16739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16740 result
= wxImage::RGBtoHSV(arg1
);
16741 wxPyEndAllowThreads(__tstate
);
16742 if (PyErr_Occurred()) SWIG_fail
;
16744 resultobj
= SWIG_NewPointerObj((new wxImage_HSVValue(static_cast< const wxImage_HSVValue
& >(result
))), SWIGTYPE_p_wxImage_HSVValue
, SWIG_POINTER_OWN
| 0 );
16751 SWIGINTERN PyObject
*_wrap_Image_HSVtoRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16752 PyObject
*resultobj
= 0;
16753 wxImage_HSVValue arg1
;
16754 wxImage_RGBValue result
;
16757 PyObject
* obj0
= 0 ;
16758 char * kwnames
[] = {
16759 (char *) "hsv", NULL
16762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HSVtoRGB",kwnames
,&obj0
)) SWIG_fail
;
16764 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage_HSVValue
, 0 | 0);
16765 if (!SWIG_IsOK(res1
)) {
16766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVtoRGB" "', expected argument " "1"" of type '" "wxImage_HSVValue""'");
16769 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Image_HSVtoRGB" "', expected argument " "1"" of type '" "wxImage_HSVValue""'");
16771 wxImage_HSVValue
* temp
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
16773 if (SWIG_IsNewObj(res1
)) delete temp
;
16777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16778 result
= wxImage::HSVtoRGB(arg1
);
16779 wxPyEndAllowThreads(__tstate
);
16780 if (PyErr_Occurred()) SWIG_fail
;
16782 resultobj
= SWIG_NewPointerObj((new wxImage_RGBValue(static_cast< const wxImage_RGBValue
& >(result
))), SWIGTYPE_p_wxImage_RGBValue
, SWIG_POINTER_OWN
| 0 );
16789 SWIGINTERN PyObject
*Image_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16791 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16792 SWIG_TypeNewClientData(SWIGTYPE_p_wxImage
, SWIG_NewClientData(obj
));
16793 return SWIG_Py_Void();
16796 SWIGINTERN PyObject
*Image_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16797 return SWIG_Python_InitShadowInstance(args
);
16800 SWIGINTERN
int NullImage_set(PyObject
*) {
16801 SWIG_Error(SWIG_AttributeError
,"Variable NullImage is read-only.");
16806 SWIGINTERN PyObject
*NullImage_get(void) {
16807 PyObject
*pyobj
= 0;
16809 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullImage
), SWIGTYPE_p_wxImage
, 0 );
16814 SWIGINTERN
int IMAGE_OPTION_FILENAME_set(PyObject
*) {
16815 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_FILENAME is read-only.");
16820 SWIGINTERN PyObject
*IMAGE_OPTION_FILENAME_get(void) {
16821 PyObject
*pyobj
= 0;
16825 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
16827 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
16834 SWIGINTERN
int IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
16835 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
16840 SWIGINTERN PyObject
*IMAGE_OPTION_BMP_FORMAT_get(void) {
16841 PyObject
*pyobj
= 0;
16845 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
16847 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
16854 SWIGINTERN
int IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
16855 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
16860 SWIGINTERN PyObject
*IMAGE_OPTION_CUR_HOTSPOT_X_get(void) {
16861 PyObject
*pyobj
= 0;
16865 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
16867 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
16874 SWIGINTERN
int IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
16875 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
16880 SWIGINTERN PyObject
*IMAGE_OPTION_CUR_HOTSPOT_Y_get(void) {
16881 PyObject
*pyobj
= 0;
16885 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
16887 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
16894 SWIGINTERN
int IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
16895 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
16900 SWIGINTERN PyObject
*IMAGE_OPTION_RESOLUTION_get(void) {
16901 PyObject
*pyobj
= 0;
16905 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
16907 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
16914 SWIGINTERN
int IMAGE_OPTION_RESOLUTIONX_set(PyObject
*) {
16915 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_RESOLUTIONX is read-only.");
16920 SWIGINTERN PyObject
*IMAGE_OPTION_RESOLUTIONX_get(void) {
16921 PyObject
*pyobj
= 0;
16925 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
16927 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
16934 SWIGINTERN
int IMAGE_OPTION_RESOLUTIONY_set(PyObject
*) {
16935 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_RESOLUTIONY is read-only.");
16940 SWIGINTERN PyObject
*IMAGE_OPTION_RESOLUTIONY_get(void) {
16941 PyObject
*pyobj
= 0;
16945 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
16947 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
16954 SWIGINTERN
int IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
16955 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
16960 SWIGINTERN PyObject
*IMAGE_OPTION_RESOLUTIONUNIT_get(void) {
16961 PyObject
*pyobj
= 0;
16965 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
16967 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
16974 SWIGINTERN
int IMAGE_OPTION_QUALITY_set(PyObject
*) {
16975 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_QUALITY is read-only.");
16980 SWIGINTERN PyObject
*IMAGE_OPTION_QUALITY_get(void) {
16981 PyObject
*pyobj
= 0;
16985 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
16987 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
16994 SWIGINTERN
int IMAGE_OPTION_BITSPERSAMPLE_set(PyObject
*) {
16995 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_BITSPERSAMPLE is read-only.");
17000 SWIGINTERN PyObject
*IMAGE_OPTION_BITSPERSAMPLE_get(void) {
17001 PyObject
*pyobj
= 0;
17005 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
17007 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
17014 SWIGINTERN
int IMAGE_OPTION_SAMPLESPERPIXEL_set(PyObject
*) {
17015 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_SAMPLESPERPIXEL is read-only.");
17020 SWIGINTERN PyObject
*IMAGE_OPTION_SAMPLESPERPIXEL_get(void) {
17021 PyObject
*pyobj
= 0;
17025 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
17027 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
17034 SWIGINTERN
int IMAGE_OPTION_COMPRESSION_set(PyObject
*) {
17035 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_COMPRESSION is read-only.");
17040 SWIGINTERN PyObject
*IMAGE_OPTION_COMPRESSION_get(void) {
17041 PyObject
*pyobj
= 0;
17045 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
17047 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
17054 SWIGINTERN
int IMAGE_OPTION_IMAGEDESCRIPTOR_set(PyObject
*) {
17055 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_IMAGEDESCRIPTOR is read-only.");
17060 SWIGINTERN PyObject
*IMAGE_OPTION_IMAGEDESCRIPTOR_get(void) {
17061 PyObject
*pyobj
= 0;
17065 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
17067 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
17074 SWIGINTERN
int IMAGE_OPTION_PNG_FORMAT_set(PyObject
*) {
17075 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_PNG_FORMAT is read-only.");
17080 SWIGINTERN PyObject
*IMAGE_OPTION_PNG_FORMAT_get(void) {
17081 PyObject
*pyobj
= 0;
17085 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
17087 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
17094 SWIGINTERN
int IMAGE_OPTION_PNG_BITDEPTH_set(PyObject
*) {
17095 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_PNG_BITDEPTH is read-only.");
17100 SWIGINTERN PyObject
*IMAGE_OPTION_PNG_BITDEPTH_get(void) {
17101 PyObject
*pyobj
= 0;
17105 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
17107 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
17114 SWIGINTERN PyObject
*_wrap_new_BMPHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17115 PyObject
*resultobj
= 0;
17116 wxBMPHandler
*result
= 0 ;
17118 if (!SWIG_Python_UnpackTuple(args
,"new_BMPHandler",0,0,0)) SWIG_fail
;
17120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17121 result
= (wxBMPHandler
*)new wxBMPHandler();
17122 wxPyEndAllowThreads(__tstate
);
17123 if (PyErr_Occurred()) SWIG_fail
;
17125 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBMPHandler
, SWIG_POINTER_NEW
| 0 );
17132 SWIGINTERN PyObject
*BMPHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17134 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17135 SWIG_TypeNewClientData(SWIGTYPE_p_wxBMPHandler
, SWIG_NewClientData(obj
));
17136 return SWIG_Py_Void();
17139 SWIGINTERN PyObject
*BMPHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17140 return SWIG_Python_InitShadowInstance(args
);
17143 SWIGINTERN PyObject
*_wrap_new_ICOHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17144 PyObject
*resultobj
= 0;
17145 wxICOHandler
*result
= 0 ;
17147 if (!SWIG_Python_UnpackTuple(args
,"new_ICOHandler",0,0,0)) SWIG_fail
;
17149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17150 result
= (wxICOHandler
*)new wxICOHandler();
17151 wxPyEndAllowThreads(__tstate
);
17152 if (PyErr_Occurred()) SWIG_fail
;
17154 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxICOHandler
, SWIG_POINTER_NEW
| 0 );
17161 SWIGINTERN PyObject
*ICOHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17163 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17164 SWIG_TypeNewClientData(SWIGTYPE_p_wxICOHandler
, SWIG_NewClientData(obj
));
17165 return SWIG_Py_Void();
17168 SWIGINTERN PyObject
*ICOHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17169 return SWIG_Python_InitShadowInstance(args
);
17172 SWIGINTERN PyObject
*_wrap_new_CURHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17173 PyObject
*resultobj
= 0;
17174 wxCURHandler
*result
= 0 ;
17176 if (!SWIG_Python_UnpackTuple(args
,"new_CURHandler",0,0,0)) SWIG_fail
;
17178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17179 result
= (wxCURHandler
*)new wxCURHandler();
17180 wxPyEndAllowThreads(__tstate
);
17181 if (PyErr_Occurred()) SWIG_fail
;
17183 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCURHandler
, SWIG_POINTER_NEW
| 0 );
17190 SWIGINTERN PyObject
*CURHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17192 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17193 SWIG_TypeNewClientData(SWIGTYPE_p_wxCURHandler
, SWIG_NewClientData(obj
));
17194 return SWIG_Py_Void();
17197 SWIGINTERN PyObject
*CURHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17198 return SWIG_Python_InitShadowInstance(args
);
17201 SWIGINTERN PyObject
*_wrap_new_ANIHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17202 PyObject
*resultobj
= 0;
17203 wxANIHandler
*result
= 0 ;
17205 if (!SWIG_Python_UnpackTuple(args
,"new_ANIHandler",0,0,0)) SWIG_fail
;
17207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17208 result
= (wxANIHandler
*)new wxANIHandler();
17209 wxPyEndAllowThreads(__tstate
);
17210 if (PyErr_Occurred()) SWIG_fail
;
17212 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxANIHandler
, SWIG_POINTER_NEW
| 0 );
17219 SWIGINTERN PyObject
*ANIHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17221 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17222 SWIG_TypeNewClientData(SWIGTYPE_p_wxANIHandler
, SWIG_NewClientData(obj
));
17223 return SWIG_Py_Void();
17226 SWIGINTERN PyObject
*ANIHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17227 return SWIG_Python_InitShadowInstance(args
);
17230 SWIGINTERN PyObject
*_wrap_new_PNGHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17231 PyObject
*resultobj
= 0;
17232 wxPNGHandler
*result
= 0 ;
17234 if (!SWIG_Python_UnpackTuple(args
,"new_PNGHandler",0,0,0)) SWIG_fail
;
17236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17237 result
= (wxPNGHandler
*)new wxPNGHandler();
17238 wxPyEndAllowThreads(__tstate
);
17239 if (PyErr_Occurred()) SWIG_fail
;
17241 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPNGHandler
, SWIG_POINTER_NEW
| 0 );
17248 SWIGINTERN PyObject
*PNGHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17250 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17251 SWIG_TypeNewClientData(SWIGTYPE_p_wxPNGHandler
, SWIG_NewClientData(obj
));
17252 return SWIG_Py_Void();
17255 SWIGINTERN PyObject
*PNGHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17256 return SWIG_Python_InitShadowInstance(args
);
17259 SWIGINTERN PyObject
*_wrap_new_GIFHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17260 PyObject
*resultobj
= 0;
17261 wxGIFHandler
*result
= 0 ;
17263 if (!SWIG_Python_UnpackTuple(args
,"new_GIFHandler",0,0,0)) SWIG_fail
;
17265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17266 result
= (wxGIFHandler
*)new wxGIFHandler();
17267 wxPyEndAllowThreads(__tstate
);
17268 if (PyErr_Occurred()) SWIG_fail
;
17270 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGIFHandler
, SWIG_POINTER_NEW
| 0 );
17277 SWIGINTERN PyObject
*GIFHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17279 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17280 SWIG_TypeNewClientData(SWIGTYPE_p_wxGIFHandler
, SWIG_NewClientData(obj
));
17281 return SWIG_Py_Void();
17284 SWIGINTERN PyObject
*GIFHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17285 return SWIG_Python_InitShadowInstance(args
);
17288 SWIGINTERN PyObject
*_wrap_new_PCXHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17289 PyObject
*resultobj
= 0;
17290 wxPCXHandler
*result
= 0 ;
17292 if (!SWIG_Python_UnpackTuple(args
,"new_PCXHandler",0,0,0)) SWIG_fail
;
17294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17295 result
= (wxPCXHandler
*)new wxPCXHandler();
17296 wxPyEndAllowThreads(__tstate
);
17297 if (PyErr_Occurred()) SWIG_fail
;
17299 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPCXHandler
, SWIG_POINTER_NEW
| 0 );
17306 SWIGINTERN PyObject
*PCXHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17308 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17309 SWIG_TypeNewClientData(SWIGTYPE_p_wxPCXHandler
, SWIG_NewClientData(obj
));
17310 return SWIG_Py_Void();
17313 SWIGINTERN PyObject
*PCXHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17314 return SWIG_Python_InitShadowInstance(args
);
17317 SWIGINTERN PyObject
*_wrap_new_JPEGHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17318 PyObject
*resultobj
= 0;
17319 wxJPEGHandler
*result
= 0 ;
17321 if (!SWIG_Python_UnpackTuple(args
,"new_JPEGHandler",0,0,0)) SWIG_fail
;
17323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17324 result
= (wxJPEGHandler
*)new wxJPEGHandler();
17325 wxPyEndAllowThreads(__tstate
);
17326 if (PyErr_Occurred()) SWIG_fail
;
17328 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxJPEGHandler
, SWIG_POINTER_NEW
| 0 );
17335 SWIGINTERN PyObject
*JPEGHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17337 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17338 SWIG_TypeNewClientData(SWIGTYPE_p_wxJPEGHandler
, SWIG_NewClientData(obj
));
17339 return SWIG_Py_Void();
17342 SWIGINTERN PyObject
*JPEGHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17343 return SWIG_Python_InitShadowInstance(args
);
17346 SWIGINTERN PyObject
*_wrap_new_PNMHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17347 PyObject
*resultobj
= 0;
17348 wxPNMHandler
*result
= 0 ;
17350 if (!SWIG_Python_UnpackTuple(args
,"new_PNMHandler",0,0,0)) SWIG_fail
;
17352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17353 result
= (wxPNMHandler
*)new wxPNMHandler();
17354 wxPyEndAllowThreads(__tstate
);
17355 if (PyErr_Occurred()) SWIG_fail
;
17357 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPNMHandler
, SWIG_POINTER_NEW
| 0 );
17364 SWIGINTERN PyObject
*PNMHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17366 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17367 SWIG_TypeNewClientData(SWIGTYPE_p_wxPNMHandler
, SWIG_NewClientData(obj
));
17368 return SWIG_Py_Void();
17371 SWIGINTERN PyObject
*PNMHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17372 return SWIG_Python_InitShadowInstance(args
);
17375 SWIGINTERN PyObject
*_wrap_new_XPMHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17376 PyObject
*resultobj
= 0;
17377 wxXPMHandler
*result
= 0 ;
17379 if (!SWIG_Python_UnpackTuple(args
,"new_XPMHandler",0,0,0)) SWIG_fail
;
17381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17382 result
= (wxXPMHandler
*)new wxXPMHandler();
17383 wxPyEndAllowThreads(__tstate
);
17384 if (PyErr_Occurred()) SWIG_fail
;
17386 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxXPMHandler
, SWIG_POINTER_NEW
| 0 );
17393 SWIGINTERN PyObject
*XPMHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17395 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17396 SWIG_TypeNewClientData(SWIGTYPE_p_wxXPMHandler
, SWIG_NewClientData(obj
));
17397 return SWIG_Py_Void();
17400 SWIGINTERN PyObject
*XPMHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17401 return SWIG_Python_InitShadowInstance(args
);
17404 SWIGINTERN PyObject
*_wrap_new_TIFFHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17405 PyObject
*resultobj
= 0;
17406 wxTIFFHandler
*result
= 0 ;
17408 if (!SWIG_Python_UnpackTuple(args
,"new_TIFFHandler",0,0,0)) SWIG_fail
;
17410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17411 result
= (wxTIFFHandler
*)new wxTIFFHandler();
17412 wxPyEndAllowThreads(__tstate
);
17413 if (PyErr_Occurred()) SWIG_fail
;
17415 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTIFFHandler
, SWIG_POINTER_NEW
| 0 );
17422 SWIGINTERN PyObject
*TIFFHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17424 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17425 SWIG_TypeNewClientData(SWIGTYPE_p_wxTIFFHandler
, SWIG_NewClientData(obj
));
17426 return SWIG_Py_Void();
17429 SWIGINTERN PyObject
*TIFFHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17430 return SWIG_Python_InitShadowInstance(args
);
17433 SWIGINTERN PyObject
*_wrap_Quantize_Quantize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17434 PyObject
*resultobj
= 0;
17435 wxImage
*arg1
= 0 ;
17436 wxImage
*arg2
= 0 ;
17437 int arg3
= (int) 236 ;
17438 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
17448 PyObject
* obj0
= 0 ;
17449 PyObject
* obj1
= 0 ;
17450 PyObject
* obj2
= 0 ;
17451 PyObject
* obj3
= 0 ;
17452 char * kwnames
[] = {
17453 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
17456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17457 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
17458 if (!SWIG_IsOK(res1
)) {
17459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Quantize_Quantize" "', expected argument " "1"" of type '" "wxImage const &""'");
17462 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Quantize_Quantize" "', expected argument " "1"" of type '" "wxImage const &""'");
17464 arg1
= reinterpret_cast< wxImage
* >(argp1
);
17465 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImage
, 0 );
17466 if (!SWIG_IsOK(res2
)) {
17467 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Quantize_Quantize" "', expected argument " "2"" of type '" "wxImage &""'");
17470 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Quantize_Quantize" "', expected argument " "2"" of type '" "wxImage &""'");
17472 arg2
= reinterpret_cast< wxImage
* >(argp2
);
17474 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17475 if (!SWIG_IsOK(ecode3
)) {
17476 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Quantize_Quantize" "', expected argument " "3"" of type '" "int""'");
17478 arg3
= static_cast< int >(val3
);
17481 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17482 if (!SWIG_IsOK(ecode4
)) {
17483 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Quantize_Quantize" "', expected argument " "4"" of type '" "int""'");
17485 arg4
= static_cast< int >(val4
);
17488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17489 result
= (bool)wxQuantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
17490 wxPyEndAllowThreads(__tstate
);
17491 if (PyErr_Occurred()) SWIG_fail
;
17494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17502 SWIGINTERN PyObject
*Quantize_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17504 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17505 SWIG_TypeNewClientData(SWIGTYPE_p_wxQuantize
, SWIG_NewClientData(obj
));
17506 return SWIG_Py_Void();
17509 SWIGINTERN PyObject
*_wrap_new_EvtHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17510 PyObject
*resultobj
= 0;
17511 wxEvtHandler
*result
= 0 ;
17513 if (!SWIG_Python_UnpackTuple(args
,"new_EvtHandler",0,0,0)) SWIG_fail
;
17515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17516 result
= (wxEvtHandler
*)new wxEvtHandler();
17517 wxPyEndAllowThreads(__tstate
);
17518 if (PyErr_Occurred()) SWIG_fail
;
17520 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_NEW
| 0 );
17527 SWIGINTERN PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17528 PyObject
*resultobj
= 0;
17529 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
17530 wxEvtHandler
*result
= 0 ;
17533 PyObject
*swig_obj
[1] ;
17535 if (!args
) SWIG_fail
;
17536 swig_obj
[0] = args
;
17537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17538 if (!SWIG_IsOK(res1
)) {
17539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_GetNextHandler" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
17541 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
17543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17544 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
17545 wxPyEndAllowThreads(__tstate
);
17546 if (PyErr_Occurred()) SWIG_fail
;
17549 resultobj
= wxPyMake_wxObject(result
, 0);
17557 SWIGINTERN PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17558 PyObject
*resultobj
= 0;
17559 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
17560 wxEvtHandler
*result
= 0 ;
17563 PyObject
*swig_obj
[1] ;
17565 if (!args
) SWIG_fail
;
17566 swig_obj
[0] = args
;
17567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17568 if (!SWIG_IsOK(res1
)) {
17569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_GetPreviousHandler" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
17571 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
17573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17574 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
17575 wxPyEndAllowThreads(__tstate
);
17576 if (PyErr_Occurred()) SWIG_fail
;
17579 resultobj
= wxPyMake_wxObject(result
, 0);
17587 SWIGINTERN PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17588 PyObject
*resultobj
= 0;
17589 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
17590 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
17595 PyObject
* obj0
= 0 ;
17596 PyObject
* obj1
= 0 ;
17597 char * kwnames
[] = {
17598 (char *) "self",(char *) "handler", NULL
17601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17603 if (!SWIG_IsOK(res1
)) {
17604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_SetNextHandler" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
17606 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
17607 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17608 if (!SWIG_IsOK(res2
)) {
17609 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "EvtHandler_SetNextHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
17611 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
17613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17614 (arg1
)->SetNextHandler(arg2
);
17615 wxPyEndAllowThreads(__tstate
);
17616 if (PyErr_Occurred()) SWIG_fail
;
17618 resultobj
= SWIG_Py_Void();
17625 SWIGINTERN PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17626 PyObject
*resultobj
= 0;
17627 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
17628 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
17633 PyObject
* obj0
= 0 ;
17634 PyObject
* obj1
= 0 ;
17635 char * kwnames
[] = {
17636 (char *) "self",(char *) "handler", NULL
17639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17641 if (!SWIG_IsOK(res1
)) {
17642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_SetPreviousHandler" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
17644 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
17645 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17646 if (!SWIG_IsOK(res2
)) {
17647 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "EvtHandler_SetPreviousHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
17649 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
17651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17652 (arg1
)->SetPreviousHandler(arg2
);
17653 wxPyEndAllowThreads(__tstate
);
17654 if (PyErr_Occurred()) SWIG_fail
;
17656 resultobj
= SWIG_Py_Void();
17663 SWIGINTERN PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17664 PyObject
*resultobj
= 0;
17665 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
17669 PyObject
*swig_obj
[1] ;
17671 if (!args
) SWIG_fail
;
17672 swig_obj
[0] = args
;
17673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17674 if (!SWIG_IsOK(res1
)) {
17675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_GetEvtHandlerEnabled" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
17677 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
17679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17680 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
17681 wxPyEndAllowThreads(__tstate
);
17682 if (PyErr_Occurred()) SWIG_fail
;
17685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17693 SWIGINTERN PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17694 PyObject
*resultobj
= 0;
17695 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
17701 PyObject
* obj0
= 0 ;
17702 PyObject
* obj1
= 0 ;
17703 char * kwnames
[] = {
17704 (char *) "self",(char *) "enabled", NULL
17707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17709 if (!SWIG_IsOK(res1
)) {
17710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_SetEvtHandlerEnabled" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
17712 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
17713 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17714 if (!SWIG_IsOK(ecode2
)) {
17715 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EvtHandler_SetEvtHandlerEnabled" "', expected argument " "2"" of type '" "bool""'");
17717 arg2
= static_cast< bool >(val2
);
17719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17720 (arg1
)->SetEvtHandlerEnabled(arg2
);
17721 wxPyEndAllowThreads(__tstate
);
17722 if (PyErr_Occurred()) SWIG_fail
;
17724 resultobj
= SWIG_Py_Void();
17731 SWIGINTERN PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17732 PyObject
*resultobj
= 0;
17733 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
17734 wxEvent
*arg2
= 0 ;
17740 PyObject
* obj0
= 0 ;
17741 PyObject
* obj1
= 0 ;
17742 char * kwnames
[] = {
17743 (char *) "self",(char *) "event", NULL
17746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17748 if (!SWIG_IsOK(res1
)) {
17749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_ProcessEvent" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
17751 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
17752 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxEvent
, 0 );
17753 if (!SWIG_IsOK(res2
)) {
17754 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "EvtHandler_ProcessEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
17757 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "EvtHandler_ProcessEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
17759 arg2
= reinterpret_cast< wxEvent
* >(argp2
);
17761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17762 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
17763 wxPyEndAllowThreads(__tstate
);
17764 if (PyErr_Occurred()) SWIG_fail
;
17767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17775 SWIGINTERN PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17776 PyObject
*resultobj
= 0;
17777 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
17778 wxEvent
*arg2
= 0 ;
17783 PyObject
* obj0
= 0 ;
17784 PyObject
* obj1
= 0 ;
17785 char * kwnames
[] = {
17786 (char *) "self",(char *) "event", NULL
17789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17791 if (!SWIG_IsOK(res1
)) {
17792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_AddPendingEvent" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
17794 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
17795 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxEvent
, 0 );
17796 if (!SWIG_IsOK(res2
)) {
17797 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "EvtHandler_AddPendingEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
17800 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "EvtHandler_AddPendingEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
17802 arg2
= reinterpret_cast< wxEvent
* >(argp2
);
17804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17805 (arg1
)->AddPendingEvent(*arg2
);
17806 wxPyEndAllowThreads(__tstate
);
17807 if (PyErr_Occurred()) SWIG_fail
;
17809 resultobj
= SWIG_Py_Void();
17816 SWIGINTERN PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17817 PyObject
*resultobj
= 0;
17818 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
17821 PyObject
*swig_obj
[1] ;
17823 if (!args
) SWIG_fail
;
17824 swig_obj
[0] = args
;
17825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17826 if (!SWIG_IsOK(res1
)) {
17827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_ProcessPendingEvents" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
17829 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
17831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17832 (arg1
)->ProcessPendingEvents();
17833 wxPyEndAllowThreads(__tstate
);
17834 if (PyErr_Occurred()) SWIG_fail
;
17836 resultobj
= SWIG_Py_Void();
17843 SWIGINTERN PyObject
*_wrap_EvtHandler_Connect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17844 PyObject
*resultobj
= 0;
17845 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
17849 PyObject
*arg5
= (PyObject
*) 0 ;
17858 PyObject
* obj0
= 0 ;
17859 PyObject
* obj1
= 0 ;
17860 PyObject
* obj2
= 0 ;
17861 PyObject
* obj3
= 0 ;
17862 PyObject
* obj4
= 0 ;
17863 char * kwnames
[] = {
17864 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
17867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17869 if (!SWIG_IsOK(res1
)) {
17870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_Connect" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
17872 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
17873 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17874 if (!SWIG_IsOK(ecode2
)) {
17875 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EvtHandler_Connect" "', expected argument " "2"" of type '" "int""'");
17877 arg2
= static_cast< int >(val2
);
17878 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17879 if (!SWIG_IsOK(ecode3
)) {
17880 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EvtHandler_Connect" "', expected argument " "3"" of type '" "int""'");
17882 arg3
= static_cast< int >(val3
);
17883 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17884 if (!SWIG_IsOK(ecode4
)) {
17885 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EvtHandler_Connect" "', expected argument " "4"" of type '" "int""'");
17887 arg4
= static_cast< int >(val4
);
17890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17891 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
17892 wxPyEndAllowThreads(__tstate
);
17893 if (PyErr_Occurred()) SWIG_fail
;
17895 resultobj
= SWIG_Py_Void();
17902 SWIGINTERN PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17903 PyObject
*resultobj
= 0;
17904 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
17906 int arg3
= (int) -1 ;
17907 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
17917 PyObject
* obj0
= 0 ;
17918 PyObject
* obj1
= 0 ;
17919 PyObject
* obj2
= 0 ;
17920 PyObject
* obj3
= 0 ;
17921 char * kwnames
[] = {
17922 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
17925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17927 if (!SWIG_IsOK(res1
)) {
17928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_Disconnect" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
17930 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
17931 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17932 if (!SWIG_IsOK(ecode2
)) {
17933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EvtHandler_Disconnect" "', expected argument " "2"" of type '" "int""'");
17935 arg2
= static_cast< int >(val2
);
17937 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17938 if (!SWIG_IsOK(ecode3
)) {
17939 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EvtHandler_Disconnect" "', expected argument " "3"" of type '" "int""'");
17941 arg3
= static_cast< int >(val3
);
17944 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17945 if (!SWIG_IsOK(ecode4
)) {
17946 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EvtHandler_Disconnect" "', expected argument " "4"" of type '" "wxEventType""'");
17948 arg4
= static_cast< wxEventType
>(val4
);
17951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17952 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
17953 wxPyEndAllowThreads(__tstate
);
17954 if (PyErr_Occurred()) SWIG_fail
;
17957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17965 SWIGINTERN PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17966 PyObject
*resultobj
= 0;
17967 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
17968 PyObject
*arg2
= (PyObject
*) 0 ;
17969 bool arg3
= (bool) true ;
17974 PyObject
* obj0
= 0 ;
17975 PyObject
* obj1
= 0 ;
17976 PyObject
* obj2
= 0 ;
17977 char * kwnames
[] = {
17978 (char *) "self",(char *) "_self",(char *) "incref", NULL
17981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17983 if (!SWIG_IsOK(res1
)) {
17984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler__setOORInfo" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
17986 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
17989 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
17990 if (!SWIG_IsOK(ecode3
)) {
17991 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EvtHandler__setOORInfo" "', expected argument " "3"" of type '" "bool""'");
17993 arg3
= static_cast< bool >(val3
);
17996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17997 wxEvtHandler__setOORInfo(arg1
,arg2
,arg3
);
17998 wxPyEndAllowThreads(__tstate
);
17999 if (PyErr_Occurred()) SWIG_fail
;
18001 resultobj
= SWIG_Py_Void();
18008 SWIGINTERN PyObject
*EvtHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18010 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18011 SWIG_TypeNewClientData(SWIGTYPE_p_wxEvtHandler
, SWIG_NewClientData(obj
));
18012 return SWIG_Py_Void();
18015 SWIGINTERN PyObject
*EvtHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18016 return SWIG_Python_InitShadowInstance(args
);
18019 SWIGINTERN PyObject
*_wrap_NewEventType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18020 PyObject
*resultobj
= 0;
18021 wxEventType result
;
18023 if (!SWIG_Python_UnpackTuple(args
,"NewEventType",0,0,0)) SWIG_fail
;
18025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18026 result
= (wxEventType
)wxNewEventType();
18027 wxPyEndAllowThreads(__tstate
);
18028 if (PyErr_Occurred()) SWIG_fail
;
18030 resultobj
= SWIG_From_int(static_cast< int >(result
));
18037 SWIGINTERN PyObject
*_wrap_delete_Event(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18038 PyObject
*resultobj
= 0;
18039 wxEvent
*arg1
= (wxEvent
*) 0 ;
18042 PyObject
*swig_obj
[1] ;
18044 if (!args
) SWIG_fail
;
18045 swig_obj
[0] = args
;
18046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, SWIG_POINTER_DISOWN
| 0 );
18047 if (!SWIG_IsOK(res1
)) {
18048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Event" "', expected argument " "1"" of type '" "wxEvent *""'");
18050 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18055 wxPyEndAllowThreads(__tstate
);
18056 if (PyErr_Occurred()) SWIG_fail
;
18058 resultobj
= SWIG_Py_Void();
18065 SWIGINTERN PyObject
*_wrap_Event_SetEventType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18066 PyObject
*resultobj
= 0;
18067 wxEvent
*arg1
= (wxEvent
*) 0 ;
18073 PyObject
* obj0
= 0 ;
18074 PyObject
* obj1
= 0 ;
18075 char * kwnames
[] = {
18076 (char *) "self",(char *) "typ", NULL
18079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18081 if (!SWIG_IsOK(res1
)) {
18082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_SetEventType" "', expected argument " "1"" of type '" "wxEvent *""'");
18084 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18085 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18086 if (!SWIG_IsOK(ecode2
)) {
18087 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Event_SetEventType" "', expected argument " "2"" of type '" "wxEventType""'");
18089 arg2
= static_cast< wxEventType
>(val2
);
18091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18092 (arg1
)->SetEventType(arg2
);
18093 wxPyEndAllowThreads(__tstate
);
18094 if (PyErr_Occurred()) SWIG_fail
;
18096 resultobj
= SWIG_Py_Void();
18103 SWIGINTERN PyObject
*_wrap_Event_GetEventType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18104 PyObject
*resultobj
= 0;
18105 wxEvent
*arg1
= (wxEvent
*) 0 ;
18106 wxEventType result
;
18109 PyObject
*swig_obj
[1] ;
18111 if (!args
) SWIG_fail
;
18112 swig_obj
[0] = args
;
18113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18114 if (!SWIG_IsOK(res1
)) {
18115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_GetEventType" "', expected argument " "1"" of type '" "wxEvent const *""'");
18117 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18120 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
18121 wxPyEndAllowThreads(__tstate
);
18122 if (PyErr_Occurred()) SWIG_fail
;
18124 resultobj
= SWIG_From_int(static_cast< int >(result
));
18131 SWIGINTERN PyObject
*_wrap_Event_GetEventObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18132 PyObject
*resultobj
= 0;
18133 wxEvent
*arg1
= (wxEvent
*) 0 ;
18134 wxObject
*result
= 0 ;
18137 PyObject
*swig_obj
[1] ;
18139 if (!args
) SWIG_fail
;
18140 swig_obj
[0] = args
;
18141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18142 if (!SWIG_IsOK(res1
)) {
18143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_GetEventObject" "', expected argument " "1"" of type '" "wxEvent const *""'");
18145 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18148 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
18149 wxPyEndAllowThreads(__tstate
);
18150 if (PyErr_Occurred()) SWIG_fail
;
18153 resultobj
= wxPyMake_wxObject(result
, (bool)0);
18161 SWIGINTERN PyObject
*_wrap_Event_SetEventObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18162 PyObject
*resultobj
= 0;
18163 wxEvent
*arg1
= (wxEvent
*) 0 ;
18164 wxObject
*arg2
= (wxObject
*) 0 ;
18169 PyObject
* obj0
= 0 ;
18170 PyObject
* obj1
= 0 ;
18171 char * kwnames
[] = {
18172 (char *) "self",(char *) "obj", NULL
18175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18177 if (!SWIG_IsOK(res1
)) {
18178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_SetEventObject" "', expected argument " "1"" of type '" "wxEvent *""'");
18180 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18181 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxObject
, 0 | 0 );
18182 if (!SWIG_IsOK(res2
)) {
18183 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Event_SetEventObject" "', expected argument " "2"" of type '" "wxObject *""'");
18185 arg2
= reinterpret_cast< wxObject
* >(argp2
);
18187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18188 (arg1
)->SetEventObject(arg2
);
18189 wxPyEndAllowThreads(__tstate
);
18190 if (PyErr_Occurred()) SWIG_fail
;
18192 resultobj
= SWIG_Py_Void();
18199 SWIGINTERN PyObject
*_wrap_Event_GetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18200 PyObject
*resultobj
= 0;
18201 wxEvent
*arg1
= (wxEvent
*) 0 ;
18205 PyObject
*swig_obj
[1] ;
18207 if (!args
) SWIG_fail
;
18208 swig_obj
[0] = args
;
18209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18210 if (!SWIG_IsOK(res1
)) {
18211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_GetTimestamp" "', expected argument " "1"" of type '" "wxEvent const *""'");
18213 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18216 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
18217 wxPyEndAllowThreads(__tstate
);
18218 if (PyErr_Occurred()) SWIG_fail
;
18220 resultobj
= SWIG_From_long(static_cast< long >(result
));
18227 SWIGINTERN PyObject
*_wrap_Event_SetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18228 PyObject
*resultobj
= 0;
18229 wxEvent
*arg1
= (wxEvent
*) 0 ;
18230 long arg2
= (long) 0 ;
18235 PyObject
* obj0
= 0 ;
18236 PyObject
* obj1
= 0 ;
18237 char * kwnames
[] = {
18238 (char *) "self",(char *) "ts", NULL
18241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18243 if (!SWIG_IsOK(res1
)) {
18244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_SetTimestamp" "', expected argument " "1"" of type '" "wxEvent *""'");
18246 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18248 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
18249 if (!SWIG_IsOK(ecode2
)) {
18250 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Event_SetTimestamp" "', expected argument " "2"" of type '" "long""'");
18252 arg2
= static_cast< long >(val2
);
18255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18256 (arg1
)->SetTimestamp(arg2
);
18257 wxPyEndAllowThreads(__tstate
);
18258 if (PyErr_Occurred()) SWIG_fail
;
18260 resultobj
= SWIG_Py_Void();
18267 SWIGINTERN PyObject
*_wrap_Event_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18268 PyObject
*resultobj
= 0;
18269 wxEvent
*arg1
= (wxEvent
*) 0 ;
18273 PyObject
*swig_obj
[1] ;
18275 if (!args
) SWIG_fail
;
18276 swig_obj
[0] = args
;
18277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18278 if (!SWIG_IsOK(res1
)) {
18279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_GetId" "', expected argument " "1"" of type '" "wxEvent const *""'");
18281 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18284 result
= (int)((wxEvent
const *)arg1
)->GetId();
18285 wxPyEndAllowThreads(__tstate
);
18286 if (PyErr_Occurred()) SWIG_fail
;
18288 resultobj
= SWIG_From_int(static_cast< int >(result
));
18295 SWIGINTERN PyObject
*_wrap_Event_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18296 PyObject
*resultobj
= 0;
18297 wxEvent
*arg1
= (wxEvent
*) 0 ;
18303 PyObject
* obj0
= 0 ;
18304 PyObject
* obj1
= 0 ;
18305 char * kwnames
[] = {
18306 (char *) "self",(char *) "Id", NULL
18309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18311 if (!SWIG_IsOK(res1
)) {
18312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_SetId" "', expected argument " "1"" of type '" "wxEvent *""'");
18314 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18315 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18316 if (!SWIG_IsOK(ecode2
)) {
18317 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Event_SetId" "', expected argument " "2"" of type '" "int""'");
18319 arg2
= static_cast< int >(val2
);
18321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18322 (arg1
)->SetId(arg2
);
18323 wxPyEndAllowThreads(__tstate
);
18324 if (PyErr_Occurred()) SWIG_fail
;
18326 resultobj
= SWIG_Py_Void();
18333 SWIGINTERN PyObject
*_wrap_Event_IsCommandEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18334 PyObject
*resultobj
= 0;
18335 wxEvent
*arg1
= (wxEvent
*) 0 ;
18339 PyObject
*swig_obj
[1] ;
18341 if (!args
) SWIG_fail
;
18342 swig_obj
[0] = args
;
18343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18344 if (!SWIG_IsOK(res1
)) {
18345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_IsCommandEvent" "', expected argument " "1"" of type '" "wxEvent const *""'");
18347 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18350 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
18351 wxPyEndAllowThreads(__tstate
);
18352 if (PyErr_Occurred()) SWIG_fail
;
18355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18363 SWIGINTERN PyObject
*_wrap_Event_Skip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18364 PyObject
*resultobj
= 0;
18365 wxEvent
*arg1
= (wxEvent
*) 0 ;
18366 bool arg2
= (bool) true ;
18371 PyObject
* obj0
= 0 ;
18372 PyObject
* obj1
= 0 ;
18373 char * kwnames
[] = {
18374 (char *) "self",(char *) "skip", NULL
18377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18379 if (!SWIG_IsOK(res1
)) {
18380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_Skip" "', expected argument " "1"" of type '" "wxEvent *""'");
18382 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18384 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18385 if (!SWIG_IsOK(ecode2
)) {
18386 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Event_Skip" "', expected argument " "2"" of type '" "bool""'");
18388 arg2
= static_cast< bool >(val2
);
18391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18392 (arg1
)->Skip(arg2
);
18393 wxPyEndAllowThreads(__tstate
);
18394 if (PyErr_Occurred()) SWIG_fail
;
18396 resultobj
= SWIG_Py_Void();
18403 SWIGINTERN PyObject
*_wrap_Event_GetSkipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18404 PyObject
*resultobj
= 0;
18405 wxEvent
*arg1
= (wxEvent
*) 0 ;
18409 PyObject
*swig_obj
[1] ;
18411 if (!args
) SWIG_fail
;
18412 swig_obj
[0] = args
;
18413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18414 if (!SWIG_IsOK(res1
)) {
18415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_GetSkipped" "', expected argument " "1"" of type '" "wxEvent const *""'");
18417 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18420 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
18421 wxPyEndAllowThreads(__tstate
);
18422 if (PyErr_Occurred()) SWIG_fail
;
18425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18433 SWIGINTERN PyObject
*_wrap_Event_ShouldPropagate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18434 PyObject
*resultobj
= 0;
18435 wxEvent
*arg1
= (wxEvent
*) 0 ;
18439 PyObject
*swig_obj
[1] ;
18441 if (!args
) SWIG_fail
;
18442 swig_obj
[0] = args
;
18443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18444 if (!SWIG_IsOK(res1
)) {
18445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_ShouldPropagate" "', expected argument " "1"" of type '" "wxEvent const *""'");
18447 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18450 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
18451 wxPyEndAllowThreads(__tstate
);
18452 if (PyErr_Occurred()) SWIG_fail
;
18455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18463 SWIGINTERN PyObject
*_wrap_Event_StopPropagation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18464 PyObject
*resultobj
= 0;
18465 wxEvent
*arg1
= (wxEvent
*) 0 ;
18469 PyObject
*swig_obj
[1] ;
18471 if (!args
) SWIG_fail
;
18472 swig_obj
[0] = args
;
18473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18474 if (!SWIG_IsOK(res1
)) {
18475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_StopPropagation" "', expected argument " "1"" of type '" "wxEvent *""'");
18477 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18480 result
= (int)(arg1
)->StopPropagation();
18481 wxPyEndAllowThreads(__tstate
);
18482 if (PyErr_Occurred()) SWIG_fail
;
18484 resultobj
= SWIG_From_int(static_cast< int >(result
));
18491 SWIGINTERN PyObject
*_wrap_Event_ResumePropagation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18492 PyObject
*resultobj
= 0;
18493 wxEvent
*arg1
= (wxEvent
*) 0 ;
18499 PyObject
* obj0
= 0 ;
18500 PyObject
* obj1
= 0 ;
18501 char * kwnames
[] = {
18502 (char *) "self",(char *) "propagationLevel", NULL
18505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18507 if (!SWIG_IsOK(res1
)) {
18508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_ResumePropagation" "', expected argument " "1"" of type '" "wxEvent *""'");
18510 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18511 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18512 if (!SWIG_IsOK(ecode2
)) {
18513 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Event_ResumePropagation" "', expected argument " "2"" of type '" "int""'");
18515 arg2
= static_cast< int >(val2
);
18517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18518 (arg1
)->ResumePropagation(arg2
);
18519 wxPyEndAllowThreads(__tstate
);
18520 if (PyErr_Occurred()) SWIG_fail
;
18522 resultobj
= SWIG_Py_Void();
18529 SWIGINTERN PyObject
*_wrap_Event_Clone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18530 PyObject
*resultobj
= 0;
18531 wxEvent
*arg1
= (wxEvent
*) 0 ;
18532 wxEvent
*result
= 0 ;
18535 PyObject
*swig_obj
[1] ;
18537 if (!args
) SWIG_fail
;
18538 swig_obj
[0] = args
;
18539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18540 if (!SWIG_IsOK(res1
)) {
18541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_Clone" "', expected argument " "1"" of type '" "wxEvent *""'");
18543 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18546 result
= (wxEvent
*)(arg1
)->Clone();
18547 wxPyEndAllowThreads(__tstate
);
18548 if (PyErr_Occurred()) SWIG_fail
;
18550 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEvent
, 0 | 0 );
18557 SWIGINTERN PyObject
*Event_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18559 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18560 SWIG_TypeNewClientData(SWIGTYPE_p_wxEvent
, SWIG_NewClientData(obj
));
18561 return SWIG_Py_Void();
18564 SWIGINTERN PyObject
*_wrap_new_PropagationDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18565 PyObject
*resultobj
= 0;
18566 wxEvent
*arg1
= 0 ;
18567 wxPropagationDisabler
*result
= 0 ;
18570 PyObject
* obj0
= 0 ;
18571 char * kwnames
[] = {
18572 (char *) "event", NULL
18575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) SWIG_fail
;
18576 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxEvent
, 0 );
18577 if (!SWIG_IsOK(res1
)) {
18578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PropagationDisabler" "', expected argument " "1"" of type '" "wxEvent &""'");
18581 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PropagationDisabler" "', expected argument " "1"" of type '" "wxEvent &""'");
18583 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18586 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
18587 wxPyEndAllowThreads(__tstate
);
18588 if (PyErr_Occurred()) SWIG_fail
;
18590 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPropagationDisabler
, SWIG_POINTER_NEW
| 0 );
18597 SWIGINTERN PyObject
*_wrap_delete_PropagationDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18598 PyObject
*resultobj
= 0;
18599 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
18602 PyObject
*swig_obj
[1] ;
18604 if (!args
) SWIG_fail
;
18605 swig_obj
[0] = args
;
18606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPropagationDisabler
, SWIG_POINTER_DISOWN
| 0 );
18607 if (!SWIG_IsOK(res1
)) {
18608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PropagationDisabler" "', expected argument " "1"" of type '" "wxPropagationDisabler *""'");
18610 arg1
= reinterpret_cast< wxPropagationDisabler
* >(argp1
);
18612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18615 wxPyEndAllowThreads(__tstate
);
18616 if (PyErr_Occurred()) SWIG_fail
;
18618 resultobj
= SWIG_Py_Void();
18625 SWIGINTERN PyObject
*PropagationDisabler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18627 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18628 SWIG_TypeNewClientData(SWIGTYPE_p_wxPropagationDisabler
, SWIG_NewClientData(obj
));
18629 return SWIG_Py_Void();
18632 SWIGINTERN PyObject
*PropagationDisabler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18633 return SWIG_Python_InitShadowInstance(args
);
18636 SWIGINTERN PyObject
*_wrap_new_PropagateOnce(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18637 PyObject
*resultobj
= 0;
18638 wxEvent
*arg1
= 0 ;
18639 wxPropagateOnce
*result
= 0 ;
18642 PyObject
* obj0
= 0 ;
18643 char * kwnames
[] = {
18644 (char *) "event", NULL
18647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) SWIG_fail
;
18648 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxEvent
, 0 );
18649 if (!SWIG_IsOK(res1
)) {
18650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PropagateOnce" "', expected argument " "1"" of type '" "wxEvent &""'");
18653 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PropagateOnce" "', expected argument " "1"" of type '" "wxEvent &""'");
18655 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18658 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
18659 wxPyEndAllowThreads(__tstate
);
18660 if (PyErr_Occurred()) SWIG_fail
;
18662 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPropagateOnce
, SWIG_POINTER_NEW
| 0 );
18669 SWIGINTERN PyObject
*_wrap_delete_PropagateOnce(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18670 PyObject
*resultobj
= 0;
18671 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
18674 PyObject
*swig_obj
[1] ;
18676 if (!args
) SWIG_fail
;
18677 swig_obj
[0] = args
;
18678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPropagateOnce
, SWIG_POINTER_DISOWN
| 0 );
18679 if (!SWIG_IsOK(res1
)) {
18680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PropagateOnce" "', expected argument " "1"" of type '" "wxPropagateOnce *""'");
18682 arg1
= reinterpret_cast< wxPropagateOnce
* >(argp1
);
18684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18687 wxPyEndAllowThreads(__tstate
);
18688 if (PyErr_Occurred()) SWIG_fail
;
18690 resultobj
= SWIG_Py_Void();
18697 SWIGINTERN PyObject
*PropagateOnce_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18699 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18700 SWIG_TypeNewClientData(SWIGTYPE_p_wxPropagateOnce
, SWIG_NewClientData(obj
));
18701 return SWIG_Py_Void();
18704 SWIGINTERN PyObject
*PropagateOnce_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18705 return SWIG_Python_InitShadowInstance(args
);
18708 SWIGINTERN PyObject
*_wrap_new_CommandEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18709 PyObject
*resultobj
= 0;
18710 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18711 int arg2
= (int) 0 ;
18712 wxCommandEvent
*result
= 0 ;
18717 PyObject
* obj0
= 0 ;
18718 PyObject
* obj1
= 0 ;
18719 char * kwnames
[] = {
18720 (char *) "commandType",(char *) "winid", NULL
18723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18725 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18726 if (!SWIG_IsOK(ecode1
)) {
18727 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CommandEvent" "', expected argument " "1"" of type '" "wxEventType""'");
18729 arg1
= static_cast< wxEventType
>(val1
);
18732 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18733 if (!SWIG_IsOK(ecode2
)) {
18734 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CommandEvent" "', expected argument " "2"" of type '" "int""'");
18736 arg2
= static_cast< int >(val2
);
18739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18740 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
18741 wxPyEndAllowThreads(__tstate
);
18742 if (PyErr_Occurred()) SWIG_fail
;
18744 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_NEW
| 0 );
18751 SWIGINTERN PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18752 PyObject
*resultobj
= 0;
18753 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
18757 PyObject
*swig_obj
[1] ;
18759 if (!args
) SWIG_fail
;
18760 swig_obj
[0] = args
;
18761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
18762 if (!SWIG_IsOK(res1
)) {
18763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_GetSelection" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
18765 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
18767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18768 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
18769 wxPyEndAllowThreads(__tstate
);
18770 if (PyErr_Occurred()) SWIG_fail
;
18772 resultobj
= SWIG_From_int(static_cast< int >(result
));
18779 SWIGINTERN PyObject
*_wrap_CommandEvent_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18780 PyObject
*resultobj
= 0;
18781 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
18782 wxString
*arg2
= 0 ;
18785 bool temp2
= false ;
18786 PyObject
* obj0
= 0 ;
18787 PyObject
* obj1
= 0 ;
18788 char * kwnames
[] = {
18789 (char *) "self",(char *) "s", NULL
18792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
18794 if (!SWIG_IsOK(res1
)) {
18795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_SetString" "', expected argument " "1"" of type '" "wxCommandEvent *""'");
18797 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
18799 arg2
= wxString_in_helper(obj1
);
18800 if (arg2
== NULL
) SWIG_fail
;
18804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18805 (arg1
)->SetString((wxString
const &)*arg2
);
18806 wxPyEndAllowThreads(__tstate
);
18807 if (PyErr_Occurred()) SWIG_fail
;
18809 resultobj
= SWIG_Py_Void();
18824 SWIGINTERN PyObject
*_wrap_CommandEvent_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18825 PyObject
*resultobj
= 0;
18826 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
18830 PyObject
*swig_obj
[1] ;
18832 if (!args
) SWIG_fail
;
18833 swig_obj
[0] = args
;
18834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
18835 if (!SWIG_IsOK(res1
)) {
18836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_GetString" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
18838 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
18840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18841 result
= ((wxCommandEvent
const *)arg1
)->GetString();
18842 wxPyEndAllowThreads(__tstate
);
18843 if (PyErr_Occurred()) SWIG_fail
;
18847 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18849 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18858 SWIGINTERN PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18859 PyObject
*resultobj
= 0;
18860 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
18864 PyObject
*swig_obj
[1] ;
18866 if (!args
) SWIG_fail
;
18867 swig_obj
[0] = args
;
18868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
18869 if (!SWIG_IsOK(res1
)) {
18870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_IsChecked" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
18872 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
18874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18875 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
18876 wxPyEndAllowThreads(__tstate
);
18877 if (PyErr_Occurred()) SWIG_fail
;
18880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18888 SWIGINTERN PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18889 PyObject
*resultobj
= 0;
18890 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
18894 PyObject
*swig_obj
[1] ;
18896 if (!args
) SWIG_fail
;
18897 swig_obj
[0] = args
;
18898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
18899 if (!SWIG_IsOK(res1
)) {
18900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_IsSelection" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
18902 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
18904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18905 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
18906 wxPyEndAllowThreads(__tstate
);
18907 if (PyErr_Occurred()) SWIG_fail
;
18910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18918 SWIGINTERN PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18919 PyObject
*resultobj
= 0;
18920 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
18926 PyObject
* obj0
= 0 ;
18927 PyObject
* obj1
= 0 ;
18928 char * kwnames
[] = {
18929 (char *) "self",(char *) "extraLong", NULL
18932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
18934 if (!SWIG_IsOK(res1
)) {
18935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_SetExtraLong" "', expected argument " "1"" of type '" "wxCommandEvent *""'");
18937 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
18938 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
18939 if (!SWIG_IsOK(ecode2
)) {
18940 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CommandEvent_SetExtraLong" "', expected argument " "2"" of type '" "long""'");
18942 arg2
= static_cast< long >(val2
);
18944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18945 (arg1
)->SetExtraLong(arg2
);
18946 wxPyEndAllowThreads(__tstate
);
18947 if (PyErr_Occurred()) SWIG_fail
;
18949 resultobj
= SWIG_Py_Void();
18956 SWIGINTERN PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18957 PyObject
*resultobj
= 0;
18958 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
18962 PyObject
*swig_obj
[1] ;
18964 if (!args
) SWIG_fail
;
18965 swig_obj
[0] = args
;
18966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
18967 if (!SWIG_IsOK(res1
)) {
18968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_GetExtraLong" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
18970 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
18972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18973 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
18974 wxPyEndAllowThreads(__tstate
);
18975 if (PyErr_Occurred()) SWIG_fail
;
18977 resultobj
= SWIG_From_long(static_cast< long >(result
));
18984 SWIGINTERN PyObject
*_wrap_CommandEvent_SetInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18985 PyObject
*resultobj
= 0;
18986 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
18992 PyObject
* obj0
= 0 ;
18993 PyObject
* obj1
= 0 ;
18994 char * kwnames
[] = {
18995 (char *) "self",(char *) "i", NULL
18998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
19000 if (!SWIG_IsOK(res1
)) {
19001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_SetInt" "', expected argument " "1"" of type '" "wxCommandEvent *""'");
19003 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
19004 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19005 if (!SWIG_IsOK(ecode2
)) {
19006 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CommandEvent_SetInt" "', expected argument " "2"" of type '" "int""'");
19008 arg2
= static_cast< int >(val2
);
19010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19011 (arg1
)->SetInt(arg2
);
19012 wxPyEndAllowThreads(__tstate
);
19013 if (PyErr_Occurred()) SWIG_fail
;
19015 resultobj
= SWIG_Py_Void();
19022 SWIGINTERN PyObject
*_wrap_CommandEvent_GetInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19023 PyObject
*resultobj
= 0;
19024 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
19028 PyObject
*swig_obj
[1] ;
19030 if (!args
) SWIG_fail
;
19031 swig_obj
[0] = args
;
19032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
19033 if (!SWIG_IsOK(res1
)) {
19034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_GetInt" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
19036 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
19038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19039 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
19040 wxPyEndAllowThreads(__tstate
);
19041 if (PyErr_Occurred()) SWIG_fail
;
19043 resultobj
= SWIG_From_long(static_cast< long >(result
));
19050 SWIGINTERN PyObject
*_wrap_CommandEvent_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19051 PyObject
*resultobj
= 0;
19052 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
19053 PyObject
*result
= 0 ;
19056 PyObject
*swig_obj
[1] ;
19058 if (!args
) SWIG_fail
;
19059 swig_obj
[0] = args
;
19060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
19061 if (!SWIG_IsOK(res1
)) {
19062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_GetClientData" "', expected argument " "1"" of type '" "wxCommandEvent *""'");
19064 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
19066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19067 result
= (PyObject
*)wxCommandEvent_GetClientData(arg1
);
19068 wxPyEndAllowThreads(__tstate
);
19069 if (PyErr_Occurred()) SWIG_fail
;
19071 resultobj
= result
;
19078 SWIGINTERN PyObject
*_wrap_CommandEvent_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19079 PyObject
*resultobj
= 0;
19080 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
19081 PyObject
*arg2
= (PyObject
*) 0 ;
19084 PyObject
* obj0
= 0 ;
19085 PyObject
* obj1
= 0 ;
19086 char * kwnames
[] = {
19087 (char *) "self",(char *) "clientData", NULL
19090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
19092 if (!SWIG_IsOK(res1
)) {
19093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_SetClientData" "', expected argument " "1"" of type '" "wxCommandEvent *""'");
19095 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
19098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19099 wxCommandEvent_SetClientData(arg1
,arg2
);
19100 wxPyEndAllowThreads(__tstate
);
19101 if (PyErr_Occurred()) SWIG_fail
;
19103 resultobj
= SWIG_Py_Void();
19110 SWIGINTERN PyObject
*_wrap_CommandEvent_Clone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19111 PyObject
*resultobj
= 0;
19112 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
19113 wxEvent
*result
= 0 ;
19116 PyObject
*swig_obj
[1] ;
19118 if (!args
) SWIG_fail
;
19119 swig_obj
[0] = args
;
19120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
19121 if (!SWIG_IsOK(res1
)) {
19122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_Clone" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
19124 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
19126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19127 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
19128 wxPyEndAllowThreads(__tstate
);
19129 if (PyErr_Occurred()) SWIG_fail
;
19131 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEvent
, 0 | 0 );
19138 SWIGINTERN PyObject
*CommandEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19140 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19141 SWIG_TypeNewClientData(SWIGTYPE_p_wxCommandEvent
, SWIG_NewClientData(obj
));
19142 return SWIG_Py_Void();
19145 SWIGINTERN PyObject
*CommandEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19146 return SWIG_Python_InitShadowInstance(args
);
19149 SWIGINTERN PyObject
*_wrap_new_NotifyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19150 PyObject
*resultobj
= 0;
19151 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19152 int arg2
= (int) 0 ;
19153 wxNotifyEvent
*result
= 0 ;
19158 PyObject
* obj0
= 0 ;
19159 PyObject
* obj1
= 0 ;
19160 char * kwnames
[] = {
19161 (char *) "commandType",(char *) "winid", NULL
19164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19166 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19167 if (!SWIG_IsOK(ecode1
)) {
19168 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotifyEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19170 arg1
= static_cast< wxEventType
>(val1
);
19173 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19174 if (!SWIG_IsOK(ecode2
)) {
19175 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotifyEvent" "', expected argument " "2"" of type '" "int""'");
19177 arg2
= static_cast< int >(val2
);
19180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19181 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
19182 wxPyEndAllowThreads(__tstate
);
19183 if (PyErr_Occurred()) SWIG_fail
;
19185 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_NEW
| 0 );
19192 SWIGINTERN PyObject
*_wrap_NotifyEvent_Veto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19193 PyObject
*resultobj
= 0;
19194 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
19197 PyObject
*swig_obj
[1] ;
19199 if (!args
) SWIG_fail
;
19200 swig_obj
[0] = args
;
19201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotifyEvent
, 0 | 0 );
19202 if (!SWIG_IsOK(res1
)) {
19203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NotifyEvent_Veto" "', expected argument " "1"" of type '" "wxNotifyEvent *""'");
19205 arg1
= reinterpret_cast< wxNotifyEvent
* >(argp1
);
19207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19209 wxPyEndAllowThreads(__tstate
);
19210 if (PyErr_Occurred()) SWIG_fail
;
19212 resultobj
= SWIG_Py_Void();
19219 SWIGINTERN PyObject
*_wrap_NotifyEvent_Allow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19220 PyObject
*resultobj
= 0;
19221 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
19224 PyObject
*swig_obj
[1] ;
19226 if (!args
) SWIG_fail
;
19227 swig_obj
[0] = args
;
19228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotifyEvent
, 0 | 0 );
19229 if (!SWIG_IsOK(res1
)) {
19230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NotifyEvent_Allow" "', expected argument " "1"" of type '" "wxNotifyEvent *""'");
19232 arg1
= reinterpret_cast< wxNotifyEvent
* >(argp1
);
19234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19236 wxPyEndAllowThreads(__tstate
);
19237 if (PyErr_Occurred()) SWIG_fail
;
19239 resultobj
= SWIG_Py_Void();
19246 SWIGINTERN PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19247 PyObject
*resultobj
= 0;
19248 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
19252 PyObject
*swig_obj
[1] ;
19254 if (!args
) SWIG_fail
;
19255 swig_obj
[0] = args
;
19256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotifyEvent
, 0 | 0 );
19257 if (!SWIG_IsOK(res1
)) {
19258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NotifyEvent_IsAllowed" "', expected argument " "1"" of type '" "wxNotifyEvent *""'");
19260 arg1
= reinterpret_cast< wxNotifyEvent
* >(argp1
);
19262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19263 result
= (bool)(arg1
)->IsAllowed();
19264 wxPyEndAllowThreads(__tstate
);
19265 if (PyErr_Occurred()) SWIG_fail
;
19268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19276 SWIGINTERN PyObject
*NotifyEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19278 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19279 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotifyEvent
, SWIG_NewClientData(obj
));
19280 return SWIG_Py_Void();
19283 SWIGINTERN PyObject
*NotifyEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19284 return SWIG_Python_InitShadowInstance(args
);
19287 SWIGINTERN PyObject
*_wrap_new_ScrollEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19288 PyObject
*resultobj
= 0;
19289 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19290 int arg2
= (int) 0 ;
19291 int arg3
= (int) 0 ;
19292 int arg4
= (int) 0 ;
19293 wxScrollEvent
*result
= 0 ;
19302 PyObject
* obj0
= 0 ;
19303 PyObject
* obj1
= 0 ;
19304 PyObject
* obj2
= 0 ;
19305 PyObject
* obj3
= 0 ;
19306 char * kwnames
[] = {
19307 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
19310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19312 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19313 if (!SWIG_IsOK(ecode1
)) {
19314 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ScrollEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19316 arg1
= static_cast< wxEventType
>(val1
);
19319 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19320 if (!SWIG_IsOK(ecode2
)) {
19321 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollEvent" "', expected argument " "2"" of type '" "int""'");
19323 arg2
= static_cast< int >(val2
);
19326 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19327 if (!SWIG_IsOK(ecode3
)) {
19328 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ScrollEvent" "', expected argument " "3"" of type '" "int""'");
19330 arg3
= static_cast< int >(val3
);
19333 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19334 if (!SWIG_IsOK(ecode4
)) {
19335 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ScrollEvent" "', expected argument " "4"" of type '" "int""'");
19337 arg4
= static_cast< int >(val4
);
19340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19341 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
19342 wxPyEndAllowThreads(__tstate
);
19343 if (PyErr_Occurred()) SWIG_fail
;
19345 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_NEW
| 0 );
19352 SWIGINTERN PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19353 PyObject
*resultobj
= 0;
19354 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
19358 PyObject
*swig_obj
[1] ;
19360 if (!args
) SWIG_fail
;
19361 swig_obj
[0] = args
;
19362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollEvent
, 0 | 0 );
19363 if (!SWIG_IsOK(res1
)) {
19364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollEvent_GetOrientation" "', expected argument " "1"" of type '" "wxScrollEvent const *""'");
19366 arg1
= reinterpret_cast< wxScrollEvent
* >(argp1
);
19368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19369 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
19370 wxPyEndAllowThreads(__tstate
);
19371 if (PyErr_Occurred()) SWIG_fail
;
19373 resultobj
= SWIG_From_int(static_cast< int >(result
));
19380 SWIGINTERN PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19381 PyObject
*resultobj
= 0;
19382 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
19386 PyObject
*swig_obj
[1] ;
19388 if (!args
) SWIG_fail
;
19389 swig_obj
[0] = args
;
19390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollEvent
, 0 | 0 );
19391 if (!SWIG_IsOK(res1
)) {
19392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollEvent_GetPosition" "', expected argument " "1"" of type '" "wxScrollEvent const *""'");
19394 arg1
= reinterpret_cast< wxScrollEvent
* >(argp1
);
19396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19397 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
19398 wxPyEndAllowThreads(__tstate
);
19399 if (PyErr_Occurred()) SWIG_fail
;
19401 resultobj
= SWIG_From_int(static_cast< int >(result
));
19408 SWIGINTERN PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19409 PyObject
*resultobj
= 0;
19410 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
19416 PyObject
* obj0
= 0 ;
19417 PyObject
* obj1
= 0 ;
19418 char * kwnames
[] = {
19419 (char *) "self",(char *) "orient", NULL
19422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollEvent
, 0 | 0 );
19424 if (!SWIG_IsOK(res1
)) {
19425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollEvent_SetOrientation" "', expected argument " "1"" of type '" "wxScrollEvent *""'");
19427 arg1
= reinterpret_cast< wxScrollEvent
* >(argp1
);
19428 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19429 if (!SWIG_IsOK(ecode2
)) {
19430 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollEvent_SetOrientation" "', expected argument " "2"" of type '" "int""'");
19432 arg2
= static_cast< int >(val2
);
19434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19435 (arg1
)->SetOrientation(arg2
);
19436 wxPyEndAllowThreads(__tstate
);
19437 if (PyErr_Occurred()) SWIG_fail
;
19439 resultobj
= SWIG_Py_Void();
19446 SWIGINTERN PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19447 PyObject
*resultobj
= 0;
19448 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
19454 PyObject
* obj0
= 0 ;
19455 PyObject
* obj1
= 0 ;
19456 char * kwnames
[] = {
19457 (char *) "self",(char *) "pos", NULL
19460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollEvent
, 0 | 0 );
19462 if (!SWIG_IsOK(res1
)) {
19463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollEvent_SetPosition" "', expected argument " "1"" of type '" "wxScrollEvent *""'");
19465 arg1
= reinterpret_cast< wxScrollEvent
* >(argp1
);
19466 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19467 if (!SWIG_IsOK(ecode2
)) {
19468 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
19470 arg2
= static_cast< int >(val2
);
19472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19473 (arg1
)->SetPosition(arg2
);
19474 wxPyEndAllowThreads(__tstate
);
19475 if (PyErr_Occurred()) SWIG_fail
;
19477 resultobj
= SWIG_Py_Void();
19484 SWIGINTERN PyObject
*ScrollEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19486 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19487 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollEvent
, SWIG_NewClientData(obj
));
19488 return SWIG_Py_Void();
19491 SWIGINTERN PyObject
*ScrollEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19492 return SWIG_Python_InitShadowInstance(args
);
19495 SWIGINTERN PyObject
*_wrap_new_ScrollWinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19496 PyObject
*resultobj
= 0;
19497 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19498 int arg2
= (int) 0 ;
19499 int arg3
= (int) 0 ;
19500 wxScrollWinEvent
*result
= 0 ;
19507 PyObject
* obj0
= 0 ;
19508 PyObject
* obj1
= 0 ;
19509 PyObject
* obj2
= 0 ;
19510 char * kwnames
[] = {
19511 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
19514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19516 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19517 if (!SWIG_IsOK(ecode1
)) {
19518 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ScrollWinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19520 arg1
= static_cast< wxEventType
>(val1
);
19523 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19524 if (!SWIG_IsOK(ecode2
)) {
19525 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollWinEvent" "', expected argument " "2"" of type '" "int""'");
19527 arg2
= static_cast< int >(val2
);
19530 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19531 if (!SWIG_IsOK(ecode3
)) {
19532 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ScrollWinEvent" "', expected argument " "3"" of type '" "int""'");
19534 arg3
= static_cast< int >(val3
);
19537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19538 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
19539 wxPyEndAllowThreads(__tstate
);
19540 if (PyErr_Occurred()) SWIG_fail
;
19542 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_NEW
| 0 );
19549 SWIGINTERN PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19550 PyObject
*resultobj
= 0;
19551 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
19555 PyObject
*swig_obj
[1] ;
19557 if (!args
) SWIG_fail
;
19558 swig_obj
[0] = args
;
19559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollWinEvent
, 0 | 0 );
19560 if (!SWIG_IsOK(res1
)) {
19561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollWinEvent_GetOrientation" "', expected argument " "1"" of type '" "wxScrollWinEvent const *""'");
19563 arg1
= reinterpret_cast< wxScrollWinEvent
* >(argp1
);
19565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19566 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
19567 wxPyEndAllowThreads(__tstate
);
19568 if (PyErr_Occurred()) SWIG_fail
;
19570 resultobj
= SWIG_From_int(static_cast< int >(result
));
19577 SWIGINTERN PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19578 PyObject
*resultobj
= 0;
19579 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
19583 PyObject
*swig_obj
[1] ;
19585 if (!args
) SWIG_fail
;
19586 swig_obj
[0] = args
;
19587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollWinEvent
, 0 | 0 );
19588 if (!SWIG_IsOK(res1
)) {
19589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollWinEvent_GetPosition" "', expected argument " "1"" of type '" "wxScrollWinEvent const *""'");
19591 arg1
= reinterpret_cast< wxScrollWinEvent
* >(argp1
);
19593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19594 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
19595 wxPyEndAllowThreads(__tstate
);
19596 if (PyErr_Occurred()) SWIG_fail
;
19598 resultobj
= SWIG_From_int(static_cast< int >(result
));
19605 SWIGINTERN PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19606 PyObject
*resultobj
= 0;
19607 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
19613 PyObject
* obj0
= 0 ;
19614 PyObject
* obj1
= 0 ;
19615 char * kwnames
[] = {
19616 (char *) "self",(char *) "orient", NULL
19619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollWinEvent
, 0 | 0 );
19621 if (!SWIG_IsOK(res1
)) {
19622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollWinEvent_SetOrientation" "', expected argument " "1"" of type '" "wxScrollWinEvent *""'");
19624 arg1
= reinterpret_cast< wxScrollWinEvent
* >(argp1
);
19625 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19626 if (!SWIG_IsOK(ecode2
)) {
19627 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollWinEvent_SetOrientation" "', expected argument " "2"" of type '" "int""'");
19629 arg2
= static_cast< int >(val2
);
19631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19632 (arg1
)->SetOrientation(arg2
);
19633 wxPyEndAllowThreads(__tstate
);
19634 if (PyErr_Occurred()) SWIG_fail
;
19636 resultobj
= SWIG_Py_Void();
19643 SWIGINTERN PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19644 PyObject
*resultobj
= 0;
19645 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
19651 PyObject
* obj0
= 0 ;
19652 PyObject
* obj1
= 0 ;
19653 char * kwnames
[] = {
19654 (char *) "self",(char *) "pos", NULL
19657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollWinEvent
, 0 | 0 );
19659 if (!SWIG_IsOK(res1
)) {
19660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollWinEvent_SetPosition" "', expected argument " "1"" of type '" "wxScrollWinEvent *""'");
19662 arg1
= reinterpret_cast< wxScrollWinEvent
* >(argp1
);
19663 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19664 if (!SWIG_IsOK(ecode2
)) {
19665 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollWinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
19667 arg2
= static_cast< int >(val2
);
19669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19670 (arg1
)->SetPosition(arg2
);
19671 wxPyEndAllowThreads(__tstate
);
19672 if (PyErr_Occurred()) SWIG_fail
;
19674 resultobj
= SWIG_Py_Void();
19681 SWIGINTERN PyObject
*ScrollWinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19683 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19684 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollWinEvent
, SWIG_NewClientData(obj
));
19685 return SWIG_Py_Void();
19688 SWIGINTERN PyObject
*ScrollWinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19689 return SWIG_Python_InitShadowInstance(args
);
19692 SWIGINTERN PyObject
*_wrap_new_MouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19693 PyObject
*resultobj
= 0;
19694 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19695 wxMouseEvent
*result
= 0 ;
19698 PyObject
* obj0
= 0 ;
19699 char * kwnames
[] = {
19700 (char *) "mouseType", NULL
19703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) SWIG_fail
;
19705 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19706 if (!SWIG_IsOK(ecode1
)) {
19707 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_MouseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19709 arg1
= static_cast< wxEventType
>(val1
);
19712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19713 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
19714 wxPyEndAllowThreads(__tstate
);
19715 if (PyErr_Occurred()) SWIG_fail
;
19718 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
19726 SWIGINTERN PyObject
*_wrap_MouseEvent_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19727 PyObject
*resultobj
= 0;
19728 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
19732 PyObject
*swig_obj
[1] ;
19734 if (!args
) SWIG_fail
;
19735 swig_obj
[0] = args
;
19736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
19737 if (!SWIG_IsOK(res1
)) {
19738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_IsButton" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
19740 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
19742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19743 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
19744 wxPyEndAllowThreads(__tstate
);
19745 if (PyErr_Occurred()) SWIG_fail
;
19748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19756 SWIGINTERN PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19757 PyObject
*resultobj
= 0;
19758 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
19759 int arg2
= (int) wxMOUSE_BTN_ANY
;
19765 PyObject
* obj0
= 0 ;
19766 PyObject
* obj1
= 0 ;
19767 char * kwnames
[] = {
19768 (char *) "self",(char *) "but", NULL
19771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
19773 if (!SWIG_IsOK(res1
)) {
19774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_ButtonDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
19776 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
19778 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19779 if (!SWIG_IsOK(ecode2
)) {
19780 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_ButtonDown" "', expected argument " "2"" of type '" "int""'");
19782 arg2
= static_cast< int >(val2
);
19785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19786 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
19787 wxPyEndAllowThreads(__tstate
);
19788 if (PyErr_Occurred()) SWIG_fail
;
19791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19799 SWIGINTERN PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19800 PyObject
*resultobj
= 0;
19801 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
19802 int arg2
= (int) wxMOUSE_BTN_ANY
;
19808 PyObject
* obj0
= 0 ;
19809 PyObject
* obj1
= 0 ;
19810 char * kwnames
[] = {
19811 (char *) "self",(char *) "but", NULL
19814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
19816 if (!SWIG_IsOK(res1
)) {
19817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_ButtonDClick" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
19819 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
19821 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19822 if (!SWIG_IsOK(ecode2
)) {
19823 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_ButtonDClick" "', expected argument " "2"" of type '" "int""'");
19825 arg2
= static_cast< int >(val2
);
19828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19829 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
19830 wxPyEndAllowThreads(__tstate
);
19831 if (PyErr_Occurred()) SWIG_fail
;
19834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19842 SWIGINTERN PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19843 PyObject
*resultobj
= 0;
19844 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
19845 int arg2
= (int) wxMOUSE_BTN_ANY
;
19851 PyObject
* obj0
= 0 ;
19852 PyObject
* obj1
= 0 ;
19853 char * kwnames
[] = {
19854 (char *) "self",(char *) "but", NULL
19857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
19859 if (!SWIG_IsOK(res1
)) {
19860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_ButtonUp" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
19862 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
19864 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19865 if (!SWIG_IsOK(ecode2
)) {
19866 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_ButtonUp" "', expected argument " "2"" of type '" "int""'");
19868 arg2
= static_cast< int >(val2
);
19871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19872 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
19873 wxPyEndAllowThreads(__tstate
);
19874 if (PyErr_Occurred()) SWIG_fail
;
19877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19885 SWIGINTERN PyObject
*_wrap_MouseEvent_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19886 PyObject
*resultobj
= 0;
19887 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
19894 PyObject
* obj0
= 0 ;
19895 PyObject
* obj1
= 0 ;
19896 char * kwnames
[] = {
19897 (char *) "self",(char *) "button", NULL
19900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
19902 if (!SWIG_IsOK(res1
)) {
19903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_Button" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
19905 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
19906 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19907 if (!SWIG_IsOK(ecode2
)) {
19908 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_Button" "', expected argument " "2"" of type '" "int""'");
19910 arg2
= static_cast< int >(val2
);
19912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19913 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
19914 wxPyEndAllowThreads(__tstate
);
19915 if (PyErr_Occurred()) SWIG_fail
;
19918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19926 SWIGINTERN PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19927 PyObject
*resultobj
= 0;
19928 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
19935 PyObject
* obj0
= 0 ;
19936 PyObject
* obj1
= 0 ;
19937 char * kwnames
[] = {
19938 (char *) "self",(char *) "but", NULL
19941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
19943 if (!SWIG_IsOK(res1
)) {
19944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_ButtonIsDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
19946 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
19947 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19948 if (!SWIG_IsOK(ecode2
)) {
19949 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_ButtonIsDown" "', expected argument " "2"" of type '" "int""'");
19951 arg2
= static_cast< int >(val2
);
19953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19954 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
19955 wxPyEndAllowThreads(__tstate
);
19956 if (PyErr_Occurred()) SWIG_fail
;
19959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19967 SWIGINTERN PyObject
*_wrap_MouseEvent_GetButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19968 PyObject
*resultobj
= 0;
19969 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
19973 PyObject
*swig_obj
[1] ;
19975 if (!args
) SWIG_fail
;
19976 swig_obj
[0] = args
;
19977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
19978 if (!SWIG_IsOK(res1
)) {
19979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetButton" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
19981 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
19983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19984 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
19985 wxPyEndAllowThreads(__tstate
);
19986 if (PyErr_Occurred()) SWIG_fail
;
19988 resultobj
= SWIG_From_int(static_cast< int >(result
));
19995 SWIGINTERN PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19996 PyObject
*resultobj
= 0;
19997 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20001 PyObject
*swig_obj
[1] ;
20003 if (!args
) SWIG_fail
;
20004 swig_obj
[0] = args
;
20005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20006 if (!SWIG_IsOK(res1
)) {
20007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_ControlDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20009 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20012 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
20013 wxPyEndAllowThreads(__tstate
);
20014 if (PyErr_Occurred()) SWIG_fail
;
20017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20025 SWIGINTERN PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20026 PyObject
*resultobj
= 0;
20027 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20031 PyObject
*swig_obj
[1] ;
20033 if (!args
) SWIG_fail
;
20034 swig_obj
[0] = args
;
20035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20036 if (!SWIG_IsOK(res1
)) {
20037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_MetaDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20039 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20042 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
20043 wxPyEndAllowThreads(__tstate
);
20044 if (PyErr_Occurred()) SWIG_fail
;
20047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20055 SWIGINTERN PyObject
*_wrap_MouseEvent_AltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20056 PyObject
*resultobj
= 0;
20057 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20061 PyObject
*swig_obj
[1] ;
20063 if (!args
) SWIG_fail
;
20064 swig_obj
[0] = args
;
20065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20066 if (!SWIG_IsOK(res1
)) {
20067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_AltDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20069 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20072 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
20073 wxPyEndAllowThreads(__tstate
);
20074 if (PyErr_Occurred()) SWIG_fail
;
20077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20085 SWIGINTERN PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20086 PyObject
*resultobj
= 0;
20087 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20091 PyObject
*swig_obj
[1] ;
20093 if (!args
) SWIG_fail
;
20094 swig_obj
[0] = args
;
20095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20096 if (!SWIG_IsOK(res1
)) {
20097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_ShiftDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20099 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20102 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
20103 wxPyEndAllowThreads(__tstate
);
20104 if (PyErr_Occurred()) SWIG_fail
;
20107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20115 SWIGINTERN PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20116 PyObject
*resultobj
= 0;
20117 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20121 PyObject
*swig_obj
[1] ;
20123 if (!args
) SWIG_fail
;
20124 swig_obj
[0] = args
;
20125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20126 if (!SWIG_IsOK(res1
)) {
20127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_CmdDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20129 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20132 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
20133 wxPyEndAllowThreads(__tstate
);
20134 if (PyErr_Occurred()) SWIG_fail
;
20137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20145 SWIGINTERN PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20146 PyObject
*resultobj
= 0;
20147 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20151 PyObject
*swig_obj
[1] ;
20153 if (!args
) SWIG_fail
;
20154 swig_obj
[0] = args
;
20155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20156 if (!SWIG_IsOK(res1
)) {
20157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_LeftDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20159 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20162 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
20163 wxPyEndAllowThreads(__tstate
);
20164 if (PyErr_Occurred()) SWIG_fail
;
20167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20175 SWIGINTERN PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20176 PyObject
*resultobj
= 0;
20177 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20181 PyObject
*swig_obj
[1] ;
20183 if (!args
) SWIG_fail
;
20184 swig_obj
[0] = args
;
20185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20186 if (!SWIG_IsOK(res1
)) {
20187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_MiddleDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20189 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20192 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
20193 wxPyEndAllowThreads(__tstate
);
20194 if (PyErr_Occurred()) SWIG_fail
;
20197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20205 SWIGINTERN PyObject
*_wrap_MouseEvent_RightDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20206 PyObject
*resultobj
= 0;
20207 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20211 PyObject
*swig_obj
[1] ;
20213 if (!args
) SWIG_fail
;
20214 swig_obj
[0] = args
;
20215 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20216 if (!SWIG_IsOK(res1
)) {
20217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_RightDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20219 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20222 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
20223 wxPyEndAllowThreads(__tstate
);
20224 if (PyErr_Occurred()) SWIG_fail
;
20227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20235 SWIGINTERN PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20236 PyObject
*resultobj
= 0;
20237 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20241 PyObject
*swig_obj
[1] ;
20243 if (!args
) SWIG_fail
;
20244 swig_obj
[0] = args
;
20245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20246 if (!SWIG_IsOK(res1
)) {
20247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_LeftUp" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20249 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20252 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
20253 wxPyEndAllowThreads(__tstate
);
20254 if (PyErr_Occurred()) SWIG_fail
;
20257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20265 SWIGINTERN PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20266 PyObject
*resultobj
= 0;
20267 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20271 PyObject
*swig_obj
[1] ;
20273 if (!args
) SWIG_fail
;
20274 swig_obj
[0] = args
;
20275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20276 if (!SWIG_IsOK(res1
)) {
20277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_MiddleUp" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20279 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20282 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
20283 wxPyEndAllowThreads(__tstate
);
20284 if (PyErr_Occurred()) SWIG_fail
;
20287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20295 SWIGINTERN PyObject
*_wrap_MouseEvent_RightUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20296 PyObject
*resultobj
= 0;
20297 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20301 PyObject
*swig_obj
[1] ;
20303 if (!args
) SWIG_fail
;
20304 swig_obj
[0] = args
;
20305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20306 if (!SWIG_IsOK(res1
)) {
20307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_RightUp" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20309 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20312 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
20313 wxPyEndAllowThreads(__tstate
);
20314 if (PyErr_Occurred()) SWIG_fail
;
20317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20325 SWIGINTERN PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20326 PyObject
*resultobj
= 0;
20327 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20331 PyObject
*swig_obj
[1] ;
20333 if (!args
) SWIG_fail
;
20334 swig_obj
[0] = args
;
20335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20336 if (!SWIG_IsOK(res1
)) {
20337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_LeftDClick" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20339 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20342 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
20343 wxPyEndAllowThreads(__tstate
);
20344 if (PyErr_Occurred()) SWIG_fail
;
20347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20355 SWIGINTERN PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20356 PyObject
*resultobj
= 0;
20357 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20361 PyObject
*swig_obj
[1] ;
20363 if (!args
) SWIG_fail
;
20364 swig_obj
[0] = args
;
20365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20366 if (!SWIG_IsOK(res1
)) {
20367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_MiddleDClick" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20369 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20372 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
20373 wxPyEndAllowThreads(__tstate
);
20374 if (PyErr_Occurred()) SWIG_fail
;
20377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20385 SWIGINTERN PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20386 PyObject
*resultobj
= 0;
20387 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20391 PyObject
*swig_obj
[1] ;
20393 if (!args
) SWIG_fail
;
20394 swig_obj
[0] = args
;
20395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20396 if (!SWIG_IsOK(res1
)) {
20397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_RightDClick" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20399 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20402 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
20403 wxPyEndAllowThreads(__tstate
);
20404 if (PyErr_Occurred()) SWIG_fail
;
20407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20415 SWIGINTERN PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20416 PyObject
*resultobj
= 0;
20417 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20421 PyObject
*swig_obj
[1] ;
20423 if (!args
) SWIG_fail
;
20424 swig_obj
[0] = args
;
20425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20426 if (!SWIG_IsOK(res1
)) {
20427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_LeftIsDown" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
20429 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20432 result
= (bool)(arg1
)->LeftIsDown();
20433 wxPyEndAllowThreads(__tstate
);
20434 if (PyErr_Occurred()) SWIG_fail
;
20437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20445 SWIGINTERN PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20446 PyObject
*resultobj
= 0;
20447 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20451 PyObject
*swig_obj
[1] ;
20453 if (!args
) SWIG_fail
;
20454 swig_obj
[0] = args
;
20455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20456 if (!SWIG_IsOK(res1
)) {
20457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_MiddleIsDown" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
20459 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20462 result
= (bool)(arg1
)->MiddleIsDown();
20463 wxPyEndAllowThreads(__tstate
);
20464 if (PyErr_Occurred()) SWIG_fail
;
20467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20475 SWIGINTERN PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20476 PyObject
*resultobj
= 0;
20477 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20481 PyObject
*swig_obj
[1] ;
20483 if (!args
) SWIG_fail
;
20484 swig_obj
[0] = args
;
20485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20486 if (!SWIG_IsOK(res1
)) {
20487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_RightIsDown" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
20489 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20492 result
= (bool)(arg1
)->RightIsDown();
20493 wxPyEndAllowThreads(__tstate
);
20494 if (PyErr_Occurred()) SWIG_fail
;
20497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20505 SWIGINTERN PyObject
*_wrap_MouseEvent_Dragging(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20506 PyObject
*resultobj
= 0;
20507 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20511 PyObject
*swig_obj
[1] ;
20513 if (!args
) SWIG_fail
;
20514 swig_obj
[0] = args
;
20515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20516 if (!SWIG_IsOK(res1
)) {
20517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_Dragging" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20519 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20522 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
20523 wxPyEndAllowThreads(__tstate
);
20524 if (PyErr_Occurred()) SWIG_fail
;
20527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20535 SWIGINTERN PyObject
*_wrap_MouseEvent_Moving(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20536 PyObject
*resultobj
= 0;
20537 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20541 PyObject
*swig_obj
[1] ;
20543 if (!args
) SWIG_fail
;
20544 swig_obj
[0] = args
;
20545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20546 if (!SWIG_IsOK(res1
)) {
20547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_Moving" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20549 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20552 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
20553 wxPyEndAllowThreads(__tstate
);
20554 if (PyErr_Occurred()) SWIG_fail
;
20557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20565 SWIGINTERN PyObject
*_wrap_MouseEvent_Entering(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20566 PyObject
*resultobj
= 0;
20567 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20571 PyObject
*swig_obj
[1] ;
20573 if (!args
) SWIG_fail
;
20574 swig_obj
[0] = args
;
20575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20576 if (!SWIG_IsOK(res1
)) {
20577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_Entering" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20579 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20582 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
20583 wxPyEndAllowThreads(__tstate
);
20584 if (PyErr_Occurred()) SWIG_fail
;
20587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20595 SWIGINTERN PyObject
*_wrap_MouseEvent_Leaving(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20596 PyObject
*resultobj
= 0;
20597 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20601 PyObject
*swig_obj
[1] ;
20603 if (!args
) SWIG_fail
;
20604 swig_obj
[0] = args
;
20605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20606 if (!SWIG_IsOK(res1
)) {
20607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_Leaving" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20609 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20612 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
20613 wxPyEndAllowThreads(__tstate
);
20614 if (PyErr_Occurred()) SWIG_fail
;
20617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20625 SWIGINTERN PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20626 PyObject
*resultobj
= 0;
20627 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20631 PyObject
*swig_obj
[1] ;
20633 if (!args
) SWIG_fail
;
20634 swig_obj
[0] = args
;
20635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20636 if (!SWIG_IsOK(res1
)) {
20637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetPosition" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
20639 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20642 result
= (arg1
)->GetPosition();
20643 wxPyEndAllowThreads(__tstate
);
20644 if (PyErr_Occurred()) SWIG_fail
;
20646 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
20653 SWIGINTERN PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20654 PyObject
*resultobj
= 0;
20655 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20656 long *arg2
= (long *) 0 ;
20657 long *arg3
= (long *) 0 ;
20661 int res2
= SWIG_TMPOBJ
;
20663 int res3
= SWIG_TMPOBJ
;
20664 PyObject
*swig_obj
[1] ;
20668 if (!args
) SWIG_fail
;
20669 swig_obj
[0] = args
;
20670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20671 if (!SWIG_IsOK(res1
)) {
20672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetPositionTuple" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
20674 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20677 (arg1
)->GetPosition(arg2
,arg3
);
20678 wxPyEndAllowThreads(__tstate
);
20679 if (PyErr_Occurred()) SWIG_fail
;
20681 resultobj
= SWIG_Py_Void();
20682 if (SWIG_IsTmpObj(res2
)) {
20683 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
20685 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20686 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
20688 if (SWIG_IsTmpObj(res3
)) {
20689 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20691 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20692 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20700 SWIGINTERN PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20701 PyObject
*resultobj
= 0;
20702 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20709 PyObject
* obj0
= 0 ;
20710 PyObject
* obj1
= 0 ;
20711 char * kwnames
[] = {
20712 (char *) "self",(char *) "dc", NULL
20715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20717 if (!SWIG_IsOK(res1
)) {
20718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetLogicalPosition" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20720 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20721 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 | 0);
20722 if (!SWIG_IsOK(res2
)) {
20723 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MouseEvent_GetLogicalPosition" "', expected argument " "2"" of type '" "wxDC const &""'");
20726 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MouseEvent_GetLogicalPosition" "', expected argument " "2"" of type '" "wxDC const &""'");
20728 arg2
= reinterpret_cast< wxDC
* >(argp2
);
20730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20731 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
20732 wxPyEndAllowThreads(__tstate
);
20733 if (PyErr_Occurred()) SWIG_fail
;
20735 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
20742 SWIGINTERN PyObject
*_wrap_MouseEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20743 PyObject
*resultobj
= 0;
20744 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20748 PyObject
*swig_obj
[1] ;
20750 if (!args
) SWIG_fail
;
20751 swig_obj
[0] = args
;
20752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20753 if (!SWIG_IsOK(res1
)) {
20754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetX" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20756 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20759 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
20760 wxPyEndAllowThreads(__tstate
);
20761 if (PyErr_Occurred()) SWIG_fail
;
20763 resultobj
= SWIG_From_int(static_cast< int >(result
));
20770 SWIGINTERN PyObject
*_wrap_MouseEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20771 PyObject
*resultobj
= 0;
20772 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20776 PyObject
*swig_obj
[1] ;
20778 if (!args
) SWIG_fail
;
20779 swig_obj
[0] = args
;
20780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20781 if (!SWIG_IsOK(res1
)) {
20782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetY" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20784 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20787 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
20788 wxPyEndAllowThreads(__tstate
);
20789 if (PyErr_Occurred()) SWIG_fail
;
20791 resultobj
= SWIG_From_int(static_cast< int >(result
));
20798 SWIGINTERN PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20799 PyObject
*resultobj
= 0;
20800 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20804 PyObject
*swig_obj
[1] ;
20806 if (!args
) SWIG_fail
;
20807 swig_obj
[0] = args
;
20808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20809 if (!SWIG_IsOK(res1
)) {
20810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetWheelRotation" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20812 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20815 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
20816 wxPyEndAllowThreads(__tstate
);
20817 if (PyErr_Occurred()) SWIG_fail
;
20819 resultobj
= SWIG_From_int(static_cast< int >(result
));
20826 SWIGINTERN PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20827 PyObject
*resultobj
= 0;
20828 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20832 PyObject
*swig_obj
[1] ;
20834 if (!args
) SWIG_fail
;
20835 swig_obj
[0] = args
;
20836 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20837 if (!SWIG_IsOK(res1
)) {
20838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetWheelDelta" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20840 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20843 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
20844 wxPyEndAllowThreads(__tstate
);
20845 if (PyErr_Occurred()) SWIG_fail
;
20847 resultobj
= SWIG_From_int(static_cast< int >(result
));
20854 SWIGINTERN PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20855 PyObject
*resultobj
= 0;
20856 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20860 PyObject
*swig_obj
[1] ;
20862 if (!args
) SWIG_fail
;
20863 swig_obj
[0] = args
;
20864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20865 if (!SWIG_IsOK(res1
)) {
20866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetLinesPerAction" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20868 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20871 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
20872 wxPyEndAllowThreads(__tstate
);
20873 if (PyErr_Occurred()) SWIG_fail
;
20875 resultobj
= SWIG_From_int(static_cast< int >(result
));
20882 SWIGINTERN PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20883 PyObject
*resultobj
= 0;
20884 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20888 PyObject
*swig_obj
[1] ;
20890 if (!args
) SWIG_fail
;
20891 swig_obj
[0] = args
;
20892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20893 if (!SWIG_IsOK(res1
)) {
20894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_IsPageScroll" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20896 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20899 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
20900 wxPyEndAllowThreads(__tstate
);
20901 if (PyErr_Occurred()) SWIG_fail
;
20904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20912 SWIGINTERN PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20913 PyObject
*resultobj
= 0;
20914 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20920 PyObject
*swig_obj
[2] ;
20922 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_x_set",2,2,swig_obj
)) SWIG_fail
;
20923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20924 if (!SWIG_IsOK(res1
)) {
20925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_x_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
20927 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20928 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
20929 if (!SWIG_IsOK(ecode2
)) {
20930 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_x_set" "', expected argument " "2"" of type '" "int""'");
20932 arg2
= static_cast< int >(val2
);
20933 if (arg1
) (arg1
)->m_x
= arg2
;
20935 resultobj
= SWIG_Py_Void();
20942 SWIGINTERN PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20943 PyObject
*resultobj
= 0;
20944 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20948 PyObject
*swig_obj
[1] ;
20950 if (!args
) SWIG_fail
;
20951 swig_obj
[0] = args
;
20952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20953 if (!SWIG_IsOK(res1
)) {
20954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_x_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
20956 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20957 result
= (int) ((arg1
)->m_x
);
20958 resultobj
= SWIG_From_int(static_cast< int >(result
));
20965 SWIGINTERN PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20966 PyObject
*resultobj
= 0;
20967 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20973 PyObject
*swig_obj
[2] ;
20975 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_y_set",2,2,swig_obj
)) SWIG_fail
;
20976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20977 if (!SWIG_IsOK(res1
)) {
20978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_y_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
20980 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20981 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
20982 if (!SWIG_IsOK(ecode2
)) {
20983 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_y_set" "', expected argument " "2"" of type '" "int""'");
20985 arg2
= static_cast< int >(val2
);
20986 if (arg1
) (arg1
)->m_y
= arg2
;
20988 resultobj
= SWIG_Py_Void();
20995 SWIGINTERN PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20996 PyObject
*resultobj
= 0;
20997 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21001 PyObject
*swig_obj
[1] ;
21003 if (!args
) SWIG_fail
;
21004 swig_obj
[0] = args
;
21005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21006 if (!SWIG_IsOK(res1
)) {
21007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_y_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21009 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21010 result
= (int) ((arg1
)->m_y
);
21011 resultobj
= SWIG_From_int(static_cast< int >(result
));
21018 SWIGINTERN PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21019 PyObject
*resultobj
= 0;
21020 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21026 PyObject
*swig_obj
[2] ;
21028 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_leftDown_set",2,2,swig_obj
)) SWIG_fail
;
21029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21030 if (!SWIG_IsOK(res1
)) {
21031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_leftDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21033 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21034 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
21035 if (!SWIG_IsOK(ecode2
)) {
21036 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_leftDown_set" "', expected argument " "2"" of type '" "bool""'");
21038 arg2
= static_cast< bool >(val2
);
21039 if (arg1
) (arg1
)->m_leftDown
= arg2
;
21041 resultobj
= SWIG_Py_Void();
21048 SWIGINTERN PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21049 PyObject
*resultobj
= 0;
21050 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21054 PyObject
*swig_obj
[1] ;
21056 if (!args
) SWIG_fail
;
21057 swig_obj
[0] = args
;
21058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21059 if (!SWIG_IsOK(res1
)) {
21060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_leftDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21062 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21063 result
= (bool) ((arg1
)->m_leftDown
);
21065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21073 SWIGINTERN PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21074 PyObject
*resultobj
= 0;
21075 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21081 PyObject
*swig_obj
[2] ;
21083 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_middleDown_set",2,2,swig_obj
)) SWIG_fail
;
21084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21085 if (!SWIG_IsOK(res1
)) {
21086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_middleDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21088 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21089 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
21090 if (!SWIG_IsOK(ecode2
)) {
21091 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_middleDown_set" "', expected argument " "2"" of type '" "bool""'");
21093 arg2
= static_cast< bool >(val2
);
21094 if (arg1
) (arg1
)->m_middleDown
= arg2
;
21096 resultobj
= SWIG_Py_Void();
21103 SWIGINTERN PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21104 PyObject
*resultobj
= 0;
21105 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21109 PyObject
*swig_obj
[1] ;
21111 if (!args
) SWIG_fail
;
21112 swig_obj
[0] = args
;
21113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21114 if (!SWIG_IsOK(res1
)) {
21115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_middleDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21117 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21118 result
= (bool) ((arg1
)->m_middleDown
);
21120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21128 SWIGINTERN PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21129 PyObject
*resultobj
= 0;
21130 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21136 PyObject
*swig_obj
[2] ;
21138 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_rightDown_set",2,2,swig_obj
)) SWIG_fail
;
21139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21140 if (!SWIG_IsOK(res1
)) {
21141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_rightDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21143 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21144 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
21145 if (!SWIG_IsOK(ecode2
)) {
21146 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_rightDown_set" "', expected argument " "2"" of type '" "bool""'");
21148 arg2
= static_cast< bool >(val2
);
21149 if (arg1
) (arg1
)->m_rightDown
= arg2
;
21151 resultobj
= SWIG_Py_Void();
21158 SWIGINTERN PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21159 PyObject
*resultobj
= 0;
21160 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21164 PyObject
*swig_obj
[1] ;
21166 if (!args
) SWIG_fail
;
21167 swig_obj
[0] = args
;
21168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21169 if (!SWIG_IsOK(res1
)) {
21170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_rightDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21172 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21173 result
= (bool) ((arg1
)->m_rightDown
);
21175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21183 SWIGINTERN PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21184 PyObject
*resultobj
= 0;
21185 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21191 PyObject
*swig_obj
[2] ;
21193 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_controlDown_set",2,2,swig_obj
)) SWIG_fail
;
21194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21195 if (!SWIG_IsOK(res1
)) {
21196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_controlDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21198 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21199 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
21200 if (!SWIG_IsOK(ecode2
)) {
21201 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_controlDown_set" "', expected argument " "2"" of type '" "bool""'");
21203 arg2
= static_cast< bool >(val2
);
21204 if (arg1
) (arg1
)->m_controlDown
= arg2
;
21206 resultobj
= SWIG_Py_Void();
21213 SWIGINTERN PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21214 PyObject
*resultobj
= 0;
21215 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21219 PyObject
*swig_obj
[1] ;
21221 if (!args
) SWIG_fail
;
21222 swig_obj
[0] = args
;
21223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21224 if (!SWIG_IsOK(res1
)) {
21225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_controlDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21227 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21228 result
= (bool) ((arg1
)->m_controlDown
);
21230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21238 SWIGINTERN PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21239 PyObject
*resultobj
= 0;
21240 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21246 PyObject
*swig_obj
[2] ;
21248 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_shiftDown_set",2,2,swig_obj
)) SWIG_fail
;
21249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21250 if (!SWIG_IsOK(res1
)) {
21251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_shiftDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21253 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21254 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
21255 if (!SWIG_IsOK(ecode2
)) {
21256 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_shiftDown_set" "', expected argument " "2"" of type '" "bool""'");
21258 arg2
= static_cast< bool >(val2
);
21259 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
21261 resultobj
= SWIG_Py_Void();
21268 SWIGINTERN PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21269 PyObject
*resultobj
= 0;
21270 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21274 PyObject
*swig_obj
[1] ;
21276 if (!args
) SWIG_fail
;
21277 swig_obj
[0] = args
;
21278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21279 if (!SWIG_IsOK(res1
)) {
21280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_shiftDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21282 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21283 result
= (bool) ((arg1
)->m_shiftDown
);
21285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21293 SWIGINTERN PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21294 PyObject
*resultobj
= 0;
21295 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21301 PyObject
*swig_obj
[2] ;
21303 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_altDown_set",2,2,swig_obj
)) SWIG_fail
;
21304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21305 if (!SWIG_IsOK(res1
)) {
21306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_altDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21308 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21309 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
21310 if (!SWIG_IsOK(ecode2
)) {
21311 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_altDown_set" "', expected argument " "2"" of type '" "bool""'");
21313 arg2
= static_cast< bool >(val2
);
21314 if (arg1
) (arg1
)->m_altDown
= arg2
;
21316 resultobj
= SWIG_Py_Void();
21323 SWIGINTERN PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21324 PyObject
*resultobj
= 0;
21325 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21329 PyObject
*swig_obj
[1] ;
21331 if (!args
) SWIG_fail
;
21332 swig_obj
[0] = args
;
21333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21334 if (!SWIG_IsOK(res1
)) {
21335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_altDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21337 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21338 result
= (bool) ((arg1
)->m_altDown
);
21340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21348 SWIGINTERN PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21349 PyObject
*resultobj
= 0;
21350 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21356 PyObject
*swig_obj
[2] ;
21358 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_metaDown_set",2,2,swig_obj
)) SWIG_fail
;
21359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21360 if (!SWIG_IsOK(res1
)) {
21361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_metaDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21363 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21364 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
21365 if (!SWIG_IsOK(ecode2
)) {
21366 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_metaDown_set" "', expected argument " "2"" of type '" "bool""'");
21368 arg2
= static_cast< bool >(val2
);
21369 if (arg1
) (arg1
)->m_metaDown
= arg2
;
21371 resultobj
= SWIG_Py_Void();
21378 SWIGINTERN PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21379 PyObject
*resultobj
= 0;
21380 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21384 PyObject
*swig_obj
[1] ;
21386 if (!args
) SWIG_fail
;
21387 swig_obj
[0] = args
;
21388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21389 if (!SWIG_IsOK(res1
)) {
21390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_metaDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21392 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21393 result
= (bool) ((arg1
)->m_metaDown
);
21395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21403 SWIGINTERN PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21404 PyObject
*resultobj
= 0;
21405 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21411 PyObject
*swig_obj
[2] ;
21413 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_wheelRotation_set",2,2,swig_obj
)) SWIG_fail
;
21414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21415 if (!SWIG_IsOK(res1
)) {
21416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_wheelRotation_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21418 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21419 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
21420 if (!SWIG_IsOK(ecode2
)) {
21421 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_wheelRotation_set" "', expected argument " "2"" of type '" "int""'");
21423 arg2
= static_cast< int >(val2
);
21424 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
21426 resultobj
= SWIG_Py_Void();
21433 SWIGINTERN PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21434 PyObject
*resultobj
= 0;
21435 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21439 PyObject
*swig_obj
[1] ;
21441 if (!args
) SWIG_fail
;
21442 swig_obj
[0] = args
;
21443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21444 if (!SWIG_IsOK(res1
)) {
21445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_wheelRotation_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21447 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21448 result
= (int) ((arg1
)->m_wheelRotation
);
21449 resultobj
= SWIG_From_int(static_cast< int >(result
));
21456 SWIGINTERN PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21457 PyObject
*resultobj
= 0;
21458 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21464 PyObject
*swig_obj
[2] ;
21466 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_wheelDelta_set",2,2,swig_obj
)) SWIG_fail
;
21467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21468 if (!SWIG_IsOK(res1
)) {
21469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_wheelDelta_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21471 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21472 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
21473 if (!SWIG_IsOK(ecode2
)) {
21474 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_wheelDelta_set" "', expected argument " "2"" of type '" "int""'");
21476 arg2
= static_cast< int >(val2
);
21477 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
21479 resultobj
= SWIG_Py_Void();
21486 SWIGINTERN PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21487 PyObject
*resultobj
= 0;
21488 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21492 PyObject
*swig_obj
[1] ;
21494 if (!args
) SWIG_fail
;
21495 swig_obj
[0] = args
;
21496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21497 if (!SWIG_IsOK(res1
)) {
21498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_wheelDelta_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21500 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21501 result
= (int) ((arg1
)->m_wheelDelta
);
21502 resultobj
= SWIG_From_int(static_cast< int >(result
));
21509 SWIGINTERN PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21510 PyObject
*resultobj
= 0;
21511 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21517 PyObject
*swig_obj
[2] ;
21519 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_linesPerAction_set",2,2,swig_obj
)) SWIG_fail
;
21520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21521 if (!SWIG_IsOK(res1
)) {
21522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_linesPerAction_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21524 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21525 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
21526 if (!SWIG_IsOK(ecode2
)) {
21527 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_linesPerAction_set" "', expected argument " "2"" of type '" "int""'");
21529 arg2
= static_cast< int >(val2
);
21530 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
21532 resultobj
= SWIG_Py_Void();
21539 SWIGINTERN PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21540 PyObject
*resultobj
= 0;
21541 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21545 PyObject
*swig_obj
[1] ;
21547 if (!args
) SWIG_fail
;
21548 swig_obj
[0] = args
;
21549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21550 if (!SWIG_IsOK(res1
)) {
21551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_linesPerAction_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21553 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21554 result
= (int) ((arg1
)->m_linesPerAction
);
21555 resultobj
= SWIG_From_int(static_cast< int >(result
));
21562 SWIGINTERN PyObject
*MouseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21564 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21565 SWIG_TypeNewClientData(SWIGTYPE_p_wxMouseEvent
, SWIG_NewClientData(obj
));
21566 return SWIG_Py_Void();
21569 SWIGINTERN PyObject
*MouseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21570 return SWIG_Python_InitShadowInstance(args
);
21573 SWIGINTERN PyObject
*_wrap_new_SetCursorEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21574 PyObject
*resultobj
= 0;
21575 int arg1
= (int) 0 ;
21576 int arg2
= (int) 0 ;
21577 wxSetCursorEvent
*result
= 0 ;
21582 PyObject
* obj0
= 0 ;
21583 PyObject
* obj1
= 0 ;
21584 char * kwnames
[] = {
21585 (char *) "x",(char *) "y", NULL
21588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21590 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21591 if (!SWIG_IsOK(ecode1
)) {
21592 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SetCursorEvent" "', expected argument " "1"" of type '" "int""'");
21594 arg1
= static_cast< int >(val1
);
21597 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21598 if (!SWIG_IsOK(ecode2
)) {
21599 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SetCursorEvent" "', expected argument " "2"" of type '" "int""'");
21601 arg2
= static_cast< int >(val2
);
21604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21605 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
21606 wxPyEndAllowThreads(__tstate
);
21607 if (PyErr_Occurred()) SWIG_fail
;
21609 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_NEW
| 0 );
21616 SWIGINTERN PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21617 PyObject
*resultobj
= 0;
21618 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
21622 PyObject
*swig_obj
[1] ;
21624 if (!args
) SWIG_fail
;
21625 swig_obj
[0] = args
;
21626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSetCursorEvent
, 0 | 0 );
21627 if (!SWIG_IsOK(res1
)) {
21628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursorEvent_GetX" "', expected argument " "1"" of type '" "wxSetCursorEvent const *""'");
21630 arg1
= reinterpret_cast< wxSetCursorEvent
* >(argp1
);
21632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21633 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
21634 wxPyEndAllowThreads(__tstate
);
21635 if (PyErr_Occurred()) SWIG_fail
;
21637 resultobj
= SWIG_From_int(static_cast< int >(result
));
21644 SWIGINTERN PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21645 PyObject
*resultobj
= 0;
21646 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
21650 PyObject
*swig_obj
[1] ;
21652 if (!args
) SWIG_fail
;
21653 swig_obj
[0] = args
;
21654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSetCursorEvent
, 0 | 0 );
21655 if (!SWIG_IsOK(res1
)) {
21656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursorEvent_GetY" "', expected argument " "1"" of type '" "wxSetCursorEvent const *""'");
21658 arg1
= reinterpret_cast< wxSetCursorEvent
* >(argp1
);
21660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21661 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
21662 wxPyEndAllowThreads(__tstate
);
21663 if (PyErr_Occurred()) SWIG_fail
;
21665 resultobj
= SWIG_From_int(static_cast< int >(result
));
21672 SWIGINTERN PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21673 PyObject
*resultobj
= 0;
21674 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
21675 wxCursor
*arg2
= 0 ;
21680 PyObject
* obj0
= 0 ;
21681 PyObject
* obj1
= 0 ;
21682 char * kwnames
[] = {
21683 (char *) "self",(char *) "cursor", NULL
21686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSetCursorEvent
, 0 | 0 );
21688 if (!SWIG_IsOK(res1
)) {
21689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursorEvent_SetCursor" "', expected argument " "1"" of type '" "wxSetCursorEvent *""'");
21691 arg1
= reinterpret_cast< wxSetCursorEvent
* >(argp1
);
21692 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
21693 if (!SWIG_IsOK(res2
)) {
21694 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SetCursorEvent_SetCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
21697 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SetCursorEvent_SetCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
21699 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
21701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21702 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
21703 wxPyEndAllowThreads(__tstate
);
21704 if (PyErr_Occurred()) SWIG_fail
;
21706 resultobj
= SWIG_Py_Void();
21713 SWIGINTERN PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21714 PyObject
*resultobj
= 0;
21715 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
21716 wxCursor
*result
= 0 ;
21719 PyObject
*swig_obj
[1] ;
21721 if (!args
) SWIG_fail
;
21722 swig_obj
[0] = args
;
21723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSetCursorEvent
, 0 | 0 );
21724 if (!SWIG_IsOK(res1
)) {
21725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursorEvent_GetCursor" "', expected argument " "1"" of type '" "wxSetCursorEvent const *""'");
21727 arg1
= reinterpret_cast< wxSetCursorEvent
* >(argp1
);
21729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21731 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
21732 result
= (wxCursor
*) &_result_ref
;
21734 wxPyEndAllowThreads(__tstate
);
21735 if (PyErr_Occurred()) SWIG_fail
;
21738 wxCursor
* resultptr
= new wxCursor(*result
);
21739 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
21747 SWIGINTERN PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21748 PyObject
*resultobj
= 0;
21749 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
21753 PyObject
*swig_obj
[1] ;
21755 if (!args
) SWIG_fail
;
21756 swig_obj
[0] = args
;
21757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSetCursorEvent
, 0 | 0 );
21758 if (!SWIG_IsOK(res1
)) {
21759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursorEvent_HasCursor" "', expected argument " "1"" of type '" "wxSetCursorEvent const *""'");
21761 arg1
= reinterpret_cast< wxSetCursorEvent
* >(argp1
);
21763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21764 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
21765 wxPyEndAllowThreads(__tstate
);
21766 if (PyErr_Occurred()) SWIG_fail
;
21769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21777 SWIGINTERN PyObject
*SetCursorEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21779 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21780 SWIG_TypeNewClientData(SWIGTYPE_p_wxSetCursorEvent
, SWIG_NewClientData(obj
));
21781 return SWIG_Py_Void();
21784 SWIGINTERN PyObject
*SetCursorEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21785 return SWIG_Python_InitShadowInstance(args
);
21788 SWIGINTERN PyObject
*_wrap_new_KeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21789 PyObject
*resultobj
= 0;
21790 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21791 wxKeyEvent
*result
= 0 ;
21794 PyObject
* obj0
= 0 ;
21795 char * kwnames
[] = {
21796 (char *) "eventType", NULL
21799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) SWIG_fail
;
21801 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21802 if (!SWIG_IsOK(ecode1
)) {
21803 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_KeyEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21805 arg1
= static_cast< wxEventType
>(val1
);
21808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21809 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
21810 wxPyEndAllowThreads(__tstate
);
21811 if (PyErr_Occurred()) SWIG_fail
;
21813 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_NEW
| 0 );
21820 SWIGINTERN PyObject
*_wrap_KeyEvent_GetModifiers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21821 PyObject
*resultobj
= 0;
21822 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
21826 PyObject
*swig_obj
[1] ;
21828 if (!args
) SWIG_fail
;
21829 swig_obj
[0] = args
;
21830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
21831 if (!SWIG_IsOK(res1
)) {
21832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetModifiers" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
21834 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
21836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21837 result
= (int)((wxKeyEvent
const *)arg1
)->GetModifiers();
21838 wxPyEndAllowThreads(__tstate
);
21839 if (PyErr_Occurred()) SWIG_fail
;
21841 resultobj
= SWIG_From_int(static_cast< int >(result
));
21848 SWIGINTERN PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21849 PyObject
*resultobj
= 0;
21850 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
21854 PyObject
*swig_obj
[1] ;
21856 if (!args
) SWIG_fail
;
21857 swig_obj
[0] = args
;
21858 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
21859 if (!SWIG_IsOK(res1
)) {
21860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_ControlDown" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
21862 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
21864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21865 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
21866 wxPyEndAllowThreads(__tstate
);
21867 if (PyErr_Occurred()) SWIG_fail
;
21870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21878 SWIGINTERN PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21879 PyObject
*resultobj
= 0;
21880 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
21884 PyObject
*swig_obj
[1] ;
21886 if (!args
) SWIG_fail
;
21887 swig_obj
[0] = args
;
21888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
21889 if (!SWIG_IsOK(res1
)) {
21890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_MetaDown" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
21892 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
21894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21895 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
21896 wxPyEndAllowThreads(__tstate
);
21897 if (PyErr_Occurred()) SWIG_fail
;
21900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21908 SWIGINTERN PyObject
*_wrap_KeyEvent_AltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21909 PyObject
*resultobj
= 0;
21910 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
21914 PyObject
*swig_obj
[1] ;
21916 if (!args
) SWIG_fail
;
21917 swig_obj
[0] = args
;
21918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
21919 if (!SWIG_IsOK(res1
)) {
21920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_AltDown" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
21922 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
21924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21925 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
21926 wxPyEndAllowThreads(__tstate
);
21927 if (PyErr_Occurred()) SWIG_fail
;
21930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21938 SWIGINTERN PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21939 PyObject
*resultobj
= 0;
21940 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
21944 PyObject
*swig_obj
[1] ;
21946 if (!args
) SWIG_fail
;
21947 swig_obj
[0] = args
;
21948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
21949 if (!SWIG_IsOK(res1
)) {
21950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_ShiftDown" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
21952 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
21954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21955 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
21956 wxPyEndAllowThreads(__tstate
);
21957 if (PyErr_Occurred()) SWIG_fail
;
21960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21968 SWIGINTERN PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21969 PyObject
*resultobj
= 0;
21970 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
21974 PyObject
*swig_obj
[1] ;
21976 if (!args
) SWIG_fail
;
21977 swig_obj
[0] = args
;
21978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
21979 if (!SWIG_IsOK(res1
)) {
21980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_CmdDown" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
21982 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
21984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21985 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
21986 wxPyEndAllowThreads(__tstate
);
21987 if (PyErr_Occurred()) SWIG_fail
;
21990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21998 SWIGINTERN PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21999 PyObject
*resultobj
= 0;
22000 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22004 PyObject
*swig_obj
[1] ;
22006 if (!args
) SWIG_fail
;
22007 swig_obj
[0] = args
;
22008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22009 if (!SWIG_IsOK(res1
)) {
22010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_HasModifiers" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
22012 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22015 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
22016 wxPyEndAllowThreads(__tstate
);
22017 if (PyErr_Occurred()) SWIG_fail
;
22020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22028 SWIGINTERN PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22029 PyObject
*resultobj
= 0;
22030 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22034 PyObject
*swig_obj
[1] ;
22036 if (!args
) SWIG_fail
;
22037 swig_obj
[0] = args
;
22038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22039 if (!SWIG_IsOK(res1
)) {
22040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
22042 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22045 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
22046 wxPyEndAllowThreads(__tstate
);
22047 if (PyErr_Occurred()) SWIG_fail
;
22049 resultobj
= SWIG_From_int(static_cast< int >(result
));
22056 SWIGINTERN PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22057 PyObject
*resultobj
= 0;
22058 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22062 PyObject
*swig_obj
[1] ;
22064 if (!args
) SWIG_fail
;
22065 swig_obj
[0] = args
;
22066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22067 if (!SWIG_IsOK(res1
)) {
22068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetUnicodeKey" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22070 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22073 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
22074 wxPyEndAllowThreads(__tstate
);
22075 if (PyErr_Occurred()) SWIG_fail
;
22077 resultobj
= SWIG_From_int(static_cast< int >(result
));
22084 SWIGINTERN PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22085 PyObject
*resultobj
= 0;
22086 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22087 unsigned int result
;
22090 PyObject
*swig_obj
[1] ;
22092 if (!args
) SWIG_fail
;
22093 swig_obj
[0] = args
;
22094 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22095 if (!SWIG_IsOK(res1
)) {
22096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetRawKeyCode" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
22098 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22101 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
22102 wxPyEndAllowThreads(__tstate
);
22103 if (PyErr_Occurred()) SWIG_fail
;
22105 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
22112 SWIGINTERN PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22113 PyObject
*resultobj
= 0;
22114 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22115 unsigned int result
;
22118 PyObject
*swig_obj
[1] ;
22120 if (!args
) SWIG_fail
;
22121 swig_obj
[0] = args
;
22122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22123 if (!SWIG_IsOK(res1
)) {
22124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetRawKeyFlags" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
22126 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22129 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
22130 wxPyEndAllowThreads(__tstate
);
22131 if (PyErr_Occurred()) SWIG_fail
;
22133 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
22140 SWIGINTERN PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22141 PyObject
*resultobj
= 0;
22142 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22146 PyObject
*swig_obj
[1] ;
22148 if (!args
) SWIG_fail
;
22149 swig_obj
[0] = args
;
22150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22151 if (!SWIG_IsOK(res1
)) {
22152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetPosition" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22154 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22157 result
= (arg1
)->GetPosition();
22158 wxPyEndAllowThreads(__tstate
);
22159 if (PyErr_Occurred()) SWIG_fail
;
22161 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22168 SWIGINTERN PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22169 PyObject
*resultobj
= 0;
22170 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22171 long *arg2
= (long *) 0 ;
22172 long *arg3
= (long *) 0 ;
22176 int res2
= SWIG_TMPOBJ
;
22178 int res3
= SWIG_TMPOBJ
;
22179 PyObject
*swig_obj
[1] ;
22183 if (!args
) SWIG_fail
;
22184 swig_obj
[0] = args
;
22185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22186 if (!SWIG_IsOK(res1
)) {
22187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetPositionTuple" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22189 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22192 (arg1
)->GetPosition(arg2
,arg3
);
22193 wxPyEndAllowThreads(__tstate
);
22194 if (PyErr_Occurred()) SWIG_fail
;
22196 resultobj
= SWIG_Py_Void();
22197 if (SWIG_IsTmpObj(res2
)) {
22198 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
22200 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22201 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
22203 if (SWIG_IsTmpObj(res3
)) {
22204 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
22206 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22207 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
22215 SWIGINTERN PyObject
*_wrap_KeyEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22216 PyObject
*resultobj
= 0;
22217 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22221 PyObject
*swig_obj
[1] ;
22223 if (!args
) SWIG_fail
;
22224 swig_obj
[0] = args
;
22225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22226 if (!SWIG_IsOK(res1
)) {
22227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetX" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
22229 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22232 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
22233 wxPyEndAllowThreads(__tstate
);
22234 if (PyErr_Occurred()) SWIG_fail
;
22236 resultobj
= SWIG_From_int(static_cast< int >(result
));
22243 SWIGINTERN PyObject
*_wrap_KeyEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22244 PyObject
*resultobj
= 0;
22245 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22249 PyObject
*swig_obj
[1] ;
22251 if (!args
) SWIG_fail
;
22252 swig_obj
[0] = args
;
22253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22254 if (!SWIG_IsOK(res1
)) {
22255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetY" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
22257 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22260 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
22261 wxPyEndAllowThreads(__tstate
);
22262 if (PyErr_Occurred()) SWIG_fail
;
22264 resultobj
= SWIG_From_int(static_cast< int >(result
));
22271 SWIGINTERN PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22272 PyObject
*resultobj
= 0;
22273 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22279 PyObject
*swig_obj
[2] ;
22281 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_x_set",2,2,swig_obj
)) SWIG_fail
;
22282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22283 if (!SWIG_IsOK(res1
)) {
22284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_x_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22286 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22287 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
22288 if (!SWIG_IsOK(ecode2
)) {
22289 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_x_set" "', expected argument " "2"" of type '" "int""'");
22291 arg2
= static_cast< int >(val2
);
22292 if (arg1
) (arg1
)->m_x
= arg2
;
22294 resultobj
= SWIG_Py_Void();
22301 SWIGINTERN PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22302 PyObject
*resultobj
= 0;
22303 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22307 PyObject
*swig_obj
[1] ;
22309 if (!args
) SWIG_fail
;
22310 swig_obj
[0] = args
;
22311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22312 if (!SWIG_IsOK(res1
)) {
22313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_x_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22315 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22316 result
= (int) ((arg1
)->m_x
);
22317 resultobj
= SWIG_From_int(static_cast< int >(result
));
22324 SWIGINTERN PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22325 PyObject
*resultobj
= 0;
22326 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22332 PyObject
*swig_obj
[2] ;
22334 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_y_set",2,2,swig_obj
)) SWIG_fail
;
22335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22336 if (!SWIG_IsOK(res1
)) {
22337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_y_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22339 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22340 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
22341 if (!SWIG_IsOK(ecode2
)) {
22342 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_y_set" "', expected argument " "2"" of type '" "int""'");
22344 arg2
= static_cast< int >(val2
);
22345 if (arg1
) (arg1
)->m_y
= arg2
;
22347 resultobj
= SWIG_Py_Void();
22354 SWIGINTERN PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22355 PyObject
*resultobj
= 0;
22356 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22360 PyObject
*swig_obj
[1] ;
22362 if (!args
) SWIG_fail
;
22363 swig_obj
[0] = args
;
22364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22365 if (!SWIG_IsOK(res1
)) {
22366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_y_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22368 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22369 result
= (int) ((arg1
)->m_y
);
22370 resultobj
= SWIG_From_int(static_cast< int >(result
));
22377 SWIGINTERN PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22378 PyObject
*resultobj
= 0;
22379 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22385 PyObject
*swig_obj
[2] ;
22387 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_keyCode_set",2,2,swig_obj
)) SWIG_fail
;
22388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22389 if (!SWIG_IsOK(res1
)) {
22390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_keyCode_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22392 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22393 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
22394 if (!SWIG_IsOK(ecode2
)) {
22395 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_keyCode_set" "', expected argument " "2"" of type '" "long""'");
22397 arg2
= static_cast< long >(val2
);
22398 if (arg1
) (arg1
)->m_keyCode
= arg2
;
22400 resultobj
= SWIG_Py_Void();
22407 SWIGINTERN PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22408 PyObject
*resultobj
= 0;
22409 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22413 PyObject
*swig_obj
[1] ;
22415 if (!args
) SWIG_fail
;
22416 swig_obj
[0] = args
;
22417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22418 if (!SWIG_IsOK(res1
)) {
22419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_keyCode_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22421 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22422 result
= (long) ((arg1
)->m_keyCode
);
22423 resultobj
= SWIG_From_long(static_cast< long >(result
));
22430 SWIGINTERN PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22431 PyObject
*resultobj
= 0;
22432 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22438 PyObject
*swig_obj
[2] ;
22440 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_controlDown_set",2,2,swig_obj
)) SWIG_fail
;
22441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22442 if (!SWIG_IsOK(res1
)) {
22443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_controlDown_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22445 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22446 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
22447 if (!SWIG_IsOK(ecode2
)) {
22448 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_controlDown_set" "', expected argument " "2"" of type '" "bool""'");
22450 arg2
= static_cast< bool >(val2
);
22451 if (arg1
) (arg1
)->m_controlDown
= arg2
;
22453 resultobj
= SWIG_Py_Void();
22460 SWIGINTERN PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22461 PyObject
*resultobj
= 0;
22462 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22466 PyObject
*swig_obj
[1] ;
22468 if (!args
) SWIG_fail
;
22469 swig_obj
[0] = args
;
22470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22471 if (!SWIG_IsOK(res1
)) {
22472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_controlDown_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22474 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22475 result
= (bool) ((arg1
)->m_controlDown
);
22477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22485 SWIGINTERN PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22486 PyObject
*resultobj
= 0;
22487 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22493 PyObject
*swig_obj
[2] ;
22495 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_shiftDown_set",2,2,swig_obj
)) SWIG_fail
;
22496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22497 if (!SWIG_IsOK(res1
)) {
22498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_shiftDown_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22500 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22501 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
22502 if (!SWIG_IsOK(ecode2
)) {
22503 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_shiftDown_set" "', expected argument " "2"" of type '" "bool""'");
22505 arg2
= static_cast< bool >(val2
);
22506 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
22508 resultobj
= SWIG_Py_Void();
22515 SWIGINTERN PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22516 PyObject
*resultobj
= 0;
22517 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22521 PyObject
*swig_obj
[1] ;
22523 if (!args
) SWIG_fail
;
22524 swig_obj
[0] = args
;
22525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22526 if (!SWIG_IsOK(res1
)) {
22527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_shiftDown_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22529 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22530 result
= (bool) ((arg1
)->m_shiftDown
);
22532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22540 SWIGINTERN PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22541 PyObject
*resultobj
= 0;
22542 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22548 PyObject
*swig_obj
[2] ;
22550 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_altDown_set",2,2,swig_obj
)) SWIG_fail
;
22551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22552 if (!SWIG_IsOK(res1
)) {
22553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_altDown_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22555 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22556 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
22557 if (!SWIG_IsOK(ecode2
)) {
22558 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_altDown_set" "', expected argument " "2"" of type '" "bool""'");
22560 arg2
= static_cast< bool >(val2
);
22561 if (arg1
) (arg1
)->m_altDown
= arg2
;
22563 resultobj
= SWIG_Py_Void();
22570 SWIGINTERN PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22571 PyObject
*resultobj
= 0;
22572 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22576 PyObject
*swig_obj
[1] ;
22578 if (!args
) SWIG_fail
;
22579 swig_obj
[0] = args
;
22580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22581 if (!SWIG_IsOK(res1
)) {
22582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_altDown_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22584 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22585 result
= (bool) ((arg1
)->m_altDown
);
22587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22595 SWIGINTERN PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22596 PyObject
*resultobj
= 0;
22597 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22603 PyObject
*swig_obj
[2] ;
22605 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_metaDown_set",2,2,swig_obj
)) SWIG_fail
;
22606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22607 if (!SWIG_IsOK(res1
)) {
22608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_metaDown_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22610 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22611 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
22612 if (!SWIG_IsOK(ecode2
)) {
22613 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_metaDown_set" "', expected argument " "2"" of type '" "bool""'");
22615 arg2
= static_cast< bool >(val2
);
22616 if (arg1
) (arg1
)->m_metaDown
= arg2
;
22618 resultobj
= SWIG_Py_Void();
22625 SWIGINTERN PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22626 PyObject
*resultobj
= 0;
22627 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22631 PyObject
*swig_obj
[1] ;
22633 if (!args
) SWIG_fail
;
22634 swig_obj
[0] = args
;
22635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22636 if (!SWIG_IsOK(res1
)) {
22637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_metaDown_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22639 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22640 result
= (bool) ((arg1
)->m_metaDown
);
22642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22650 SWIGINTERN PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22651 PyObject
*resultobj
= 0;
22652 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22658 PyObject
*swig_obj
[2] ;
22660 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_scanCode_set",2,2,swig_obj
)) SWIG_fail
;
22661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22662 if (!SWIG_IsOK(res1
)) {
22663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_scanCode_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22665 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22666 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
22667 if (!SWIG_IsOK(ecode2
)) {
22668 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_scanCode_set" "', expected argument " "2"" of type '" "bool""'");
22670 arg2
= static_cast< bool >(val2
);
22671 if (arg1
) (arg1
)->m_scanCode
= arg2
;
22673 resultobj
= SWIG_Py_Void();
22680 SWIGINTERN PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22681 PyObject
*resultobj
= 0;
22682 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22686 PyObject
*swig_obj
[1] ;
22688 if (!args
) SWIG_fail
;
22689 swig_obj
[0] = args
;
22690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22691 if (!SWIG_IsOK(res1
)) {
22692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_scanCode_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22694 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22695 result
= (bool) ((arg1
)->m_scanCode
);
22697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22705 SWIGINTERN PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22706 PyObject
*resultobj
= 0;
22707 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22708 unsigned int arg2
;
22711 unsigned int val2
;
22713 PyObject
*swig_obj
[2] ;
22715 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_rawCode_set",2,2,swig_obj
)) SWIG_fail
;
22716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22717 if (!SWIG_IsOK(res1
)) {
22718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_rawCode_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22720 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22721 ecode2
= SWIG_AsVal_unsigned_SS_int(swig_obj
[1], &val2
);
22722 if (!SWIG_IsOK(ecode2
)) {
22723 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_rawCode_set" "', expected argument " "2"" of type '" "unsigned int""'");
22725 arg2
= static_cast< unsigned int >(val2
);
22726 if (arg1
) (arg1
)->m_rawCode
= arg2
;
22728 resultobj
= SWIG_Py_Void();
22735 SWIGINTERN PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22736 PyObject
*resultobj
= 0;
22737 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22738 unsigned int result
;
22741 PyObject
*swig_obj
[1] ;
22743 if (!args
) SWIG_fail
;
22744 swig_obj
[0] = args
;
22745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22746 if (!SWIG_IsOK(res1
)) {
22747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_rawCode_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22749 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22750 result
= (unsigned int) ((arg1
)->m_rawCode
);
22751 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
22758 SWIGINTERN PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22759 PyObject
*resultobj
= 0;
22760 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22761 unsigned int arg2
;
22764 unsigned int val2
;
22766 PyObject
*swig_obj
[2] ;
22768 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_rawFlags_set",2,2,swig_obj
)) SWIG_fail
;
22769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22770 if (!SWIG_IsOK(res1
)) {
22771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_rawFlags_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22773 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22774 ecode2
= SWIG_AsVal_unsigned_SS_int(swig_obj
[1], &val2
);
22775 if (!SWIG_IsOK(ecode2
)) {
22776 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_rawFlags_set" "', expected argument " "2"" of type '" "unsigned int""'");
22778 arg2
= static_cast< unsigned int >(val2
);
22779 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
22781 resultobj
= SWIG_Py_Void();
22788 SWIGINTERN PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22789 PyObject
*resultobj
= 0;
22790 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22791 unsigned int result
;
22794 PyObject
*swig_obj
[1] ;
22796 if (!args
) SWIG_fail
;
22797 swig_obj
[0] = args
;
22798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22799 if (!SWIG_IsOK(res1
)) {
22800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_rawFlags_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22802 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22803 result
= (unsigned int) ((arg1
)->m_rawFlags
);
22804 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
22811 SWIGINTERN PyObject
*KeyEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22813 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22814 SWIG_TypeNewClientData(SWIGTYPE_p_wxKeyEvent
, SWIG_NewClientData(obj
));
22815 return SWIG_Py_Void();
22818 SWIGINTERN PyObject
*KeyEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22819 return SWIG_Python_InitShadowInstance(args
);
22822 SWIGINTERN PyObject
*_wrap_new_SizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22823 PyObject
*resultobj
= 0;
22824 wxSize
const &arg1_defvalue
= wxDefaultSize
;
22825 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
22826 int arg2
= (int) 0 ;
22827 wxSizeEvent
*result
= 0 ;
22831 PyObject
* obj0
= 0 ;
22832 PyObject
* obj1
= 0 ;
22833 char * kwnames
[] = {
22834 (char *) "sz",(char *) "winid", NULL
22837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22841 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
22845 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22846 if (!SWIG_IsOK(ecode2
)) {
22847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SizeEvent" "', expected argument " "2"" of type '" "int""'");
22849 arg2
= static_cast< int >(val2
);
22852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22853 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
22854 wxPyEndAllowThreads(__tstate
);
22855 if (PyErr_Occurred()) SWIG_fail
;
22857 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_NEW
| 0 );
22864 SWIGINTERN PyObject
*_wrap_SizeEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22865 PyObject
*resultobj
= 0;
22866 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
22870 PyObject
*swig_obj
[1] ;
22872 if (!args
) SWIG_fail
;
22873 swig_obj
[0] = args
;
22874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
22875 if (!SWIG_IsOK(res1
)) {
22876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_GetSize" "', expected argument " "1"" of type '" "wxSizeEvent const *""'");
22878 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
22880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22881 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
22882 wxPyEndAllowThreads(__tstate
);
22883 if (PyErr_Occurred()) SWIG_fail
;
22885 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22892 SWIGINTERN PyObject
*_wrap_SizeEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22893 PyObject
*resultobj
= 0;
22894 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
22898 PyObject
*swig_obj
[1] ;
22900 if (!args
) SWIG_fail
;
22901 swig_obj
[0] = args
;
22902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
22903 if (!SWIG_IsOK(res1
)) {
22904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_GetRect" "', expected argument " "1"" of type '" "wxSizeEvent const *""'");
22906 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
22908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22909 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
22910 wxPyEndAllowThreads(__tstate
);
22911 if (PyErr_Occurred()) SWIG_fail
;
22913 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
22920 SWIGINTERN PyObject
*_wrap_SizeEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22921 PyObject
*resultobj
= 0;
22922 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
22928 PyObject
* obj0
= 0 ;
22929 PyObject
* obj1
= 0 ;
22930 char * kwnames
[] = {
22931 (char *) "self",(char *) "rect", NULL
22934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
22936 if (!SWIG_IsOK(res1
)) {
22937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_SetRect" "', expected argument " "1"" of type '" "wxSizeEvent *""'");
22939 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
22941 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRect
, 0 | 0);
22942 if (!SWIG_IsOK(res2
)) {
22943 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SizeEvent_SetRect" "', expected argument " "2"" of type '" "wxRect""'");
22946 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SizeEvent_SetRect" "', expected argument " "2"" of type '" "wxRect""'");
22948 wxRect
* temp
= reinterpret_cast< wxRect
* >(argp2
);
22950 if (SWIG_IsNewObj(res2
)) delete temp
;
22954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22955 (arg1
)->SetRect(arg2
);
22956 wxPyEndAllowThreads(__tstate
);
22957 if (PyErr_Occurred()) SWIG_fail
;
22959 resultobj
= SWIG_Py_Void();
22966 SWIGINTERN PyObject
*_wrap_SizeEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22967 PyObject
*resultobj
= 0;
22968 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
22974 PyObject
* obj0
= 0 ;
22975 PyObject
* obj1
= 0 ;
22976 char * kwnames
[] = {
22977 (char *) "self",(char *) "size", NULL
22980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
22982 if (!SWIG_IsOK(res1
)) {
22983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_SetSize" "', expected argument " "1"" of type '" "wxSizeEvent *""'");
22985 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
22987 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxSize
, 0 | 0);
22988 if (!SWIG_IsOK(res2
)) {
22989 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SizeEvent_SetSize" "', expected argument " "2"" of type '" "wxSize""'");
22992 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SizeEvent_SetSize" "', expected argument " "2"" of type '" "wxSize""'");
22994 wxSize
* temp
= reinterpret_cast< wxSize
* >(argp2
);
22996 if (SWIG_IsNewObj(res2
)) delete temp
;
23000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23001 wxSizeEvent_SetSize(arg1
,arg2
);
23002 wxPyEndAllowThreads(__tstate
);
23003 if (PyErr_Occurred()) SWIG_fail
;
23005 resultobj
= SWIG_Py_Void();
23012 SWIGINTERN PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23013 PyObject
*resultobj
= 0;
23014 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
23015 wxSize
*arg2
= (wxSize
*) 0 ;
23020 PyObject
*swig_obj
[2] ;
23022 if (!SWIG_Python_UnpackTuple(args
,"SizeEvent_m_size_set",2,2,swig_obj
)) SWIG_fail
;
23023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
23024 if (!SWIG_IsOK(res1
)) {
23025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_m_size_set" "', expected argument " "1"" of type '" "wxSizeEvent *""'");
23027 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
23028 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxSize
, 0 | 0 );
23029 if (!SWIG_IsOK(res2
)) {
23030 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SizeEvent_m_size_set" "', expected argument " "2"" of type '" "wxSize *""'");
23032 arg2
= reinterpret_cast< wxSize
* >(argp2
);
23033 if (arg1
) (arg1
)->m_size
= *arg2
;
23035 resultobj
= SWIG_Py_Void();
23042 SWIGINTERN PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23043 PyObject
*resultobj
= 0;
23044 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
23045 wxSize
*result
= 0 ;
23048 PyObject
*swig_obj
[1] ;
23050 if (!args
) SWIG_fail
;
23051 swig_obj
[0] = args
;
23052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
23053 if (!SWIG_IsOK(res1
)) {
23054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_m_size_get" "', expected argument " "1"" of type '" "wxSizeEvent *""'");
23056 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
23057 result
= (wxSize
*)& ((arg1
)->m_size
);
23058 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
23065 SWIGINTERN PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23066 PyObject
*resultobj
= 0;
23067 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
23068 wxRect
*arg2
= (wxRect
*) 0 ;
23073 PyObject
*swig_obj
[2] ;
23075 if (!SWIG_Python_UnpackTuple(args
,"SizeEvent_m_rect_set",2,2,swig_obj
)) SWIG_fail
;
23076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
23077 if (!SWIG_IsOK(res1
)) {
23078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_m_rect_set" "', expected argument " "1"" of type '" "wxSizeEvent *""'");
23080 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
23081 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
23082 if (!SWIG_IsOK(res2
)) {
23083 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SizeEvent_m_rect_set" "', expected argument " "2"" of type '" "wxRect *""'");
23085 arg2
= reinterpret_cast< wxRect
* >(argp2
);
23086 if (arg1
) (arg1
)->m_rect
= *arg2
;
23088 resultobj
= SWIG_Py_Void();
23095 SWIGINTERN PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23096 PyObject
*resultobj
= 0;
23097 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
23098 wxRect
*result
= 0 ;
23101 PyObject
*swig_obj
[1] ;
23103 if (!args
) SWIG_fail
;
23104 swig_obj
[0] = args
;
23105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
23106 if (!SWIG_IsOK(res1
)) {
23107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_m_rect_get" "', expected argument " "1"" of type '" "wxSizeEvent *""'");
23109 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
23110 result
= (wxRect
*)& ((arg1
)->m_rect
);
23111 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, 0 | 0 );
23118 SWIGINTERN PyObject
*SizeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23120 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23121 SWIG_TypeNewClientData(SWIGTYPE_p_wxSizeEvent
, SWIG_NewClientData(obj
));
23122 return SWIG_Py_Void();
23125 SWIGINTERN PyObject
*SizeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23126 return SWIG_Python_InitShadowInstance(args
);
23129 SWIGINTERN PyObject
*_wrap_new_MoveEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23130 PyObject
*resultobj
= 0;
23131 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
23132 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
23133 int arg2
= (int) 0 ;
23134 wxMoveEvent
*result
= 0 ;
23138 PyObject
* obj0
= 0 ;
23139 PyObject
* obj1
= 0 ;
23140 char * kwnames
[] = {
23141 (char *) "pos",(char *) "winid", NULL
23144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23148 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
23152 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23153 if (!SWIG_IsOK(ecode2
)) {
23154 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MoveEvent" "', expected argument " "2"" of type '" "int""'");
23156 arg2
= static_cast< int >(val2
);
23159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23160 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
23161 wxPyEndAllowThreads(__tstate
);
23162 if (PyErr_Occurred()) SWIG_fail
;
23164 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_NEW
| 0 );
23171 SWIGINTERN PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23172 PyObject
*resultobj
= 0;
23173 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
23177 PyObject
*swig_obj
[1] ;
23179 if (!args
) SWIG_fail
;
23180 swig_obj
[0] = args
;
23181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMoveEvent
, 0 | 0 );
23182 if (!SWIG_IsOK(res1
)) {
23183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MoveEvent_GetPosition" "', expected argument " "1"" of type '" "wxMoveEvent const *""'");
23185 arg1
= reinterpret_cast< wxMoveEvent
* >(argp1
);
23187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23188 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
23189 wxPyEndAllowThreads(__tstate
);
23190 if (PyErr_Occurred()) SWIG_fail
;
23192 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
23199 SWIGINTERN PyObject
*_wrap_MoveEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23200 PyObject
*resultobj
= 0;
23201 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
23205 PyObject
*swig_obj
[1] ;
23207 if (!args
) SWIG_fail
;
23208 swig_obj
[0] = args
;
23209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMoveEvent
, 0 | 0 );
23210 if (!SWIG_IsOK(res1
)) {
23211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MoveEvent_GetRect" "', expected argument " "1"" of type '" "wxMoveEvent const *""'");
23213 arg1
= reinterpret_cast< wxMoveEvent
* >(argp1
);
23215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23216 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
23217 wxPyEndAllowThreads(__tstate
);
23218 if (PyErr_Occurred()) SWIG_fail
;
23220 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
23227 SWIGINTERN PyObject
*_wrap_MoveEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23228 PyObject
*resultobj
= 0;
23229 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
23234 PyObject
* obj0
= 0 ;
23235 PyObject
* obj1
= 0 ;
23236 char * kwnames
[] = {
23237 (char *) "self",(char *) "rect", NULL
23240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMoveEvent
, 0 | 0 );
23242 if (!SWIG_IsOK(res1
)) {
23243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MoveEvent_SetRect" "', expected argument " "1"" of type '" "wxMoveEvent *""'");
23245 arg1
= reinterpret_cast< wxMoveEvent
* >(argp1
);
23248 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
23251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23252 (arg1
)->SetRect((wxRect
const &)*arg2
);
23253 wxPyEndAllowThreads(__tstate
);
23254 if (PyErr_Occurred()) SWIG_fail
;
23256 resultobj
= SWIG_Py_Void();
23263 SWIGINTERN PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23264 PyObject
*resultobj
= 0;
23265 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
23266 wxPoint
*arg2
= 0 ;
23270 PyObject
* obj0
= 0 ;
23271 PyObject
* obj1
= 0 ;
23272 char * kwnames
[] = {
23273 (char *) "self",(char *) "pos", NULL
23276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMoveEvent
, 0 | 0 );
23278 if (!SWIG_IsOK(res1
)) {
23279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MoveEvent_SetPosition" "', expected argument " "1"" of type '" "wxMoveEvent *""'");
23281 arg1
= reinterpret_cast< wxMoveEvent
* >(argp1
);
23284 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23288 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
23289 wxPyEndAllowThreads(__tstate
);
23290 if (PyErr_Occurred()) SWIG_fail
;
23292 resultobj
= SWIG_Py_Void();
23299 SWIGINTERN PyObject
*MoveEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23301 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23302 SWIG_TypeNewClientData(SWIGTYPE_p_wxMoveEvent
, SWIG_NewClientData(obj
));
23303 return SWIG_Py_Void();
23306 SWIGINTERN PyObject
*MoveEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23307 return SWIG_Python_InitShadowInstance(args
);
23310 SWIGINTERN PyObject
*_wrap_new_PaintEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23311 PyObject
*resultobj
= 0;
23312 int arg1
= (int) 0 ;
23313 wxPaintEvent
*result
= 0 ;
23316 PyObject
* obj0
= 0 ;
23317 char * kwnames
[] = {
23318 (char *) "Id", NULL
23321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) SWIG_fail
;
23323 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23324 if (!SWIG_IsOK(ecode1
)) {
23325 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PaintEvent" "', expected argument " "1"" of type '" "int""'");
23327 arg1
= static_cast< int >(val1
);
23330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23331 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
23332 wxPyEndAllowThreads(__tstate
);
23333 if (PyErr_Occurred()) SWIG_fail
;
23335 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintEvent
, SWIG_POINTER_NEW
| 0 );
23342 SWIGINTERN PyObject
*PaintEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23344 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23345 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintEvent
, SWIG_NewClientData(obj
));
23346 return SWIG_Py_Void();
23349 SWIGINTERN PyObject
*PaintEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23350 return SWIG_Python_InitShadowInstance(args
);
23353 SWIGINTERN PyObject
*_wrap_new_NcPaintEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23354 PyObject
*resultobj
= 0;
23355 int arg1
= (int) 0 ;
23356 wxNcPaintEvent
*result
= 0 ;
23359 PyObject
* obj0
= 0 ;
23360 char * kwnames
[] = {
23361 (char *) "winid", NULL
23364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) SWIG_fail
;
23366 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23367 if (!SWIG_IsOK(ecode1
)) {
23368 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NcPaintEvent" "', expected argument " "1"" of type '" "int""'");
23370 arg1
= static_cast< int >(val1
);
23373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23374 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
23375 wxPyEndAllowThreads(__tstate
);
23376 if (PyErr_Occurred()) SWIG_fail
;
23378 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNcPaintEvent
, SWIG_POINTER_NEW
| 0 );
23385 SWIGINTERN PyObject
*NcPaintEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23387 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23388 SWIG_TypeNewClientData(SWIGTYPE_p_wxNcPaintEvent
, SWIG_NewClientData(obj
));
23389 return SWIG_Py_Void();
23392 SWIGINTERN PyObject
*NcPaintEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23393 return SWIG_Python_InitShadowInstance(args
);
23396 SWIGINTERN PyObject
*_wrap_new_EraseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23397 PyObject
*resultobj
= 0;
23398 int arg1
= (int) 0 ;
23399 wxDC
*arg2
= (wxDC
*) NULL
;
23400 wxEraseEvent
*result
= 0 ;
23405 PyObject
* obj0
= 0 ;
23406 PyObject
* obj1
= 0 ;
23407 char * kwnames
[] = {
23408 (char *) "Id",(char *) "dc", NULL
23411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23413 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23414 if (!SWIG_IsOK(ecode1
)) {
23415 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EraseEvent" "', expected argument " "1"" of type '" "int""'");
23417 arg1
= static_cast< int >(val1
);
23420 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
23421 if (!SWIG_IsOK(res2
)) {
23422 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_EraseEvent" "', expected argument " "2"" of type '" "wxDC *""'");
23424 arg2
= reinterpret_cast< wxDC
* >(argp2
);
23427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23428 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
23429 wxPyEndAllowThreads(__tstate
);
23430 if (PyErr_Occurred()) SWIG_fail
;
23432 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEraseEvent
, SWIG_POINTER_NEW
| 0 );
23439 SWIGINTERN PyObject
*_wrap_EraseEvent_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23440 PyObject
*resultobj
= 0;
23441 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
23445 PyObject
*swig_obj
[1] ;
23447 if (!args
) SWIG_fail
;
23448 swig_obj
[0] = args
;
23449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEraseEvent
, 0 | 0 );
23450 if (!SWIG_IsOK(res1
)) {
23451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EraseEvent_GetDC" "', expected argument " "1"" of type '" "wxEraseEvent const *""'");
23453 arg1
= reinterpret_cast< wxEraseEvent
* >(argp1
);
23455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23456 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
23457 wxPyEndAllowThreads(__tstate
);
23458 if (PyErr_Occurred()) SWIG_fail
;
23461 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23469 SWIGINTERN PyObject
*EraseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23471 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23472 SWIG_TypeNewClientData(SWIGTYPE_p_wxEraseEvent
, SWIG_NewClientData(obj
));
23473 return SWIG_Py_Void();
23476 SWIGINTERN PyObject
*EraseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23477 return SWIG_Python_InitShadowInstance(args
);
23480 SWIGINTERN PyObject
*_wrap_new_FocusEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23481 PyObject
*resultobj
= 0;
23482 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23483 int arg2
= (int) 0 ;
23484 wxFocusEvent
*result
= 0 ;
23489 PyObject
* obj0
= 0 ;
23490 PyObject
* obj1
= 0 ;
23491 char * kwnames
[] = {
23492 (char *) "type",(char *) "winid", NULL
23495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23497 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23498 if (!SWIG_IsOK(ecode1
)) {
23499 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FocusEvent" "', expected argument " "1"" of type '" "wxEventType""'");
23501 arg1
= static_cast< wxEventType
>(val1
);
23504 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23505 if (!SWIG_IsOK(ecode2
)) {
23506 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FocusEvent" "', expected argument " "2"" of type '" "int""'");
23508 arg2
= static_cast< int >(val2
);
23511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23512 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
23513 wxPyEndAllowThreads(__tstate
);
23514 if (PyErr_Occurred()) SWIG_fail
;
23516 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_NEW
| 0 );
23523 SWIGINTERN PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23524 PyObject
*resultobj
= 0;
23525 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
23526 wxWindow
*result
= 0 ;
23529 PyObject
*swig_obj
[1] ;
23531 if (!args
) SWIG_fail
;
23532 swig_obj
[0] = args
;
23533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFocusEvent
, 0 | 0 );
23534 if (!SWIG_IsOK(res1
)) {
23535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FocusEvent_GetWindow" "', expected argument " "1"" of type '" "wxFocusEvent const *""'");
23537 arg1
= reinterpret_cast< wxFocusEvent
* >(argp1
);
23539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23540 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
23541 wxPyEndAllowThreads(__tstate
);
23542 if (PyErr_Occurred()) SWIG_fail
;
23545 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23553 SWIGINTERN PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23554 PyObject
*resultobj
= 0;
23555 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
23556 wxWindow
*arg2
= (wxWindow
*) 0 ;
23561 PyObject
* obj0
= 0 ;
23562 PyObject
* obj1
= 0 ;
23563 char * kwnames
[] = {
23564 (char *) "self",(char *) "win", NULL
23567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFocusEvent
, 0 | 0 );
23569 if (!SWIG_IsOK(res1
)) {
23570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FocusEvent_SetWindow" "', expected argument " "1"" of type '" "wxFocusEvent *""'");
23572 arg1
= reinterpret_cast< wxFocusEvent
* >(argp1
);
23573 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23574 if (!SWIG_IsOK(res2
)) {
23575 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FocusEvent_SetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
23577 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
23579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23580 (arg1
)->SetWindow(arg2
);
23581 wxPyEndAllowThreads(__tstate
);
23582 if (PyErr_Occurred()) SWIG_fail
;
23584 resultobj
= SWIG_Py_Void();
23591 SWIGINTERN PyObject
*FocusEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23593 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23594 SWIG_TypeNewClientData(SWIGTYPE_p_wxFocusEvent
, SWIG_NewClientData(obj
));
23595 return SWIG_Py_Void();
23598 SWIGINTERN PyObject
*FocusEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23599 return SWIG_Python_InitShadowInstance(args
);
23602 SWIGINTERN PyObject
*_wrap_new_ChildFocusEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23603 PyObject
*resultobj
= 0;
23604 wxWindow
*arg1
= (wxWindow
*) NULL
;
23605 wxChildFocusEvent
*result
= 0 ;
23608 PyObject
* obj0
= 0 ;
23609 char * kwnames
[] = {
23610 (char *) "win", NULL
23613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) SWIG_fail
;
23615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23616 if (!SWIG_IsOK(res1
)) {
23617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ChildFocusEvent" "', expected argument " "1"" of type '" "wxWindow *""'");
23619 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23623 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
23624 wxPyEndAllowThreads(__tstate
);
23625 if (PyErr_Occurred()) SWIG_fail
;
23627 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChildFocusEvent
, SWIG_POINTER_NEW
| 0 );
23634 SWIGINTERN PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23635 PyObject
*resultobj
= 0;
23636 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
23637 wxWindow
*result
= 0 ;
23640 PyObject
*swig_obj
[1] ;
23642 if (!args
) SWIG_fail
;
23643 swig_obj
[0] = args
;
23644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChildFocusEvent
, 0 | 0 );
23645 if (!SWIG_IsOK(res1
)) {
23646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ChildFocusEvent_GetWindow" "', expected argument " "1"" of type '" "wxChildFocusEvent const *""'");
23648 arg1
= reinterpret_cast< wxChildFocusEvent
* >(argp1
);
23650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23651 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
23652 wxPyEndAllowThreads(__tstate
);
23653 if (PyErr_Occurred()) SWIG_fail
;
23656 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23664 SWIGINTERN PyObject
*ChildFocusEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23666 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23667 SWIG_TypeNewClientData(SWIGTYPE_p_wxChildFocusEvent
, SWIG_NewClientData(obj
));
23668 return SWIG_Py_Void();
23671 SWIGINTERN PyObject
*ChildFocusEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23672 return SWIG_Python_InitShadowInstance(args
);
23675 SWIGINTERN PyObject
*_wrap_new_ActivateEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23676 PyObject
*resultobj
= 0;
23677 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23678 bool arg2
= (bool) true ;
23679 int arg3
= (int) 0 ;
23680 wxActivateEvent
*result
= 0 ;
23687 PyObject
* obj0
= 0 ;
23688 PyObject
* obj1
= 0 ;
23689 PyObject
* obj2
= 0 ;
23690 char * kwnames
[] = {
23691 (char *) "type",(char *) "active",(char *) "Id", NULL
23694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23696 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23697 if (!SWIG_IsOK(ecode1
)) {
23698 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ActivateEvent" "', expected argument " "1"" of type '" "wxEventType""'");
23700 arg1
= static_cast< wxEventType
>(val1
);
23703 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23704 if (!SWIG_IsOK(ecode2
)) {
23705 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ActivateEvent" "', expected argument " "2"" of type '" "bool""'");
23707 arg2
= static_cast< bool >(val2
);
23710 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23711 if (!SWIG_IsOK(ecode3
)) {
23712 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ActivateEvent" "', expected argument " "3"" of type '" "int""'");
23714 arg3
= static_cast< int >(val3
);
23717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23718 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
23719 wxPyEndAllowThreads(__tstate
);
23720 if (PyErr_Occurred()) SWIG_fail
;
23722 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxActivateEvent
, SWIG_POINTER_NEW
| 0 );
23729 SWIGINTERN PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23730 PyObject
*resultobj
= 0;
23731 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
23735 PyObject
*swig_obj
[1] ;
23737 if (!args
) SWIG_fail
;
23738 swig_obj
[0] = args
;
23739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxActivateEvent
, 0 | 0 );
23740 if (!SWIG_IsOK(res1
)) {
23741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ActivateEvent_GetActive" "', expected argument " "1"" of type '" "wxActivateEvent const *""'");
23743 arg1
= reinterpret_cast< wxActivateEvent
* >(argp1
);
23745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23746 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
23747 wxPyEndAllowThreads(__tstate
);
23748 if (PyErr_Occurred()) SWIG_fail
;
23751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23759 SWIGINTERN PyObject
*ActivateEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23761 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23762 SWIG_TypeNewClientData(SWIGTYPE_p_wxActivateEvent
, SWIG_NewClientData(obj
));
23763 return SWIG_Py_Void();
23766 SWIGINTERN PyObject
*ActivateEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23767 return SWIG_Python_InitShadowInstance(args
);
23770 SWIGINTERN PyObject
*_wrap_new_InitDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23771 PyObject
*resultobj
= 0;
23772 int arg1
= (int) 0 ;
23773 wxInitDialogEvent
*result
= 0 ;
23776 PyObject
* obj0
= 0 ;
23777 char * kwnames
[] = {
23778 (char *) "Id", NULL
23781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) SWIG_fail
;
23783 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23784 if (!SWIG_IsOK(ecode1
)) {
23785 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_InitDialogEvent" "', expected argument " "1"" of type '" "int""'");
23787 arg1
= static_cast< int >(val1
);
23790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23791 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
23792 wxPyEndAllowThreads(__tstate
);
23793 if (PyErr_Occurred()) SWIG_fail
;
23795 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxInitDialogEvent
, SWIG_POINTER_NEW
| 0 );
23802 SWIGINTERN PyObject
*InitDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23804 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23805 SWIG_TypeNewClientData(SWIGTYPE_p_wxInitDialogEvent
, SWIG_NewClientData(obj
));
23806 return SWIG_Py_Void();
23809 SWIGINTERN PyObject
*InitDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23810 return SWIG_Python_InitShadowInstance(args
);
23813 SWIGINTERN PyObject
*_wrap_new_MenuEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23814 PyObject
*resultobj
= 0;
23815 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23816 int arg2
= (int) 0 ;
23817 wxMenu
*arg3
= (wxMenu
*) NULL
;
23818 wxMenuEvent
*result
= 0 ;
23825 PyObject
* obj0
= 0 ;
23826 PyObject
* obj1
= 0 ;
23827 PyObject
* obj2
= 0 ;
23828 char * kwnames
[] = {
23829 (char *) "type",(char *) "winid",(char *) "menu", NULL
23832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23834 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23835 if (!SWIG_IsOK(ecode1
)) {
23836 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_MenuEvent" "', expected argument " "1"" of type '" "wxEventType""'");
23838 arg1
= static_cast< wxEventType
>(val1
);
23841 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23842 if (!SWIG_IsOK(ecode2
)) {
23843 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MenuEvent" "', expected argument " "2"" of type '" "int""'");
23845 arg2
= static_cast< int >(val2
);
23848 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxMenu
, 0 | 0 );
23849 if (!SWIG_IsOK(res3
)) {
23850 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_MenuEvent" "', expected argument " "3"" of type '" "wxMenu *""'");
23852 arg3
= reinterpret_cast< wxMenu
* >(argp3
);
23855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23856 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
23857 wxPyEndAllowThreads(__tstate
);
23858 if (PyErr_Occurred()) SWIG_fail
;
23860 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_NEW
| 0 );
23867 SWIGINTERN PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23868 PyObject
*resultobj
= 0;
23869 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
23873 PyObject
*swig_obj
[1] ;
23875 if (!args
) SWIG_fail
;
23876 swig_obj
[0] = args
;
23877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuEvent
, 0 | 0 );
23878 if (!SWIG_IsOK(res1
)) {
23879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuEvent_GetMenuId" "', expected argument " "1"" of type '" "wxMenuEvent const *""'");
23881 arg1
= reinterpret_cast< wxMenuEvent
* >(argp1
);
23883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23884 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
23885 wxPyEndAllowThreads(__tstate
);
23886 if (PyErr_Occurred()) SWIG_fail
;
23888 resultobj
= SWIG_From_int(static_cast< int >(result
));
23895 SWIGINTERN PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23896 PyObject
*resultobj
= 0;
23897 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
23901 PyObject
*swig_obj
[1] ;
23903 if (!args
) SWIG_fail
;
23904 swig_obj
[0] = args
;
23905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuEvent
, 0 | 0 );
23906 if (!SWIG_IsOK(res1
)) {
23907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuEvent_IsPopup" "', expected argument " "1"" of type '" "wxMenuEvent const *""'");
23909 arg1
= reinterpret_cast< wxMenuEvent
* >(argp1
);
23911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23912 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
23913 wxPyEndAllowThreads(__tstate
);
23914 if (PyErr_Occurred()) SWIG_fail
;
23917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23925 SWIGINTERN PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23926 PyObject
*resultobj
= 0;
23927 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
23928 wxMenu
*result
= 0 ;
23931 PyObject
*swig_obj
[1] ;
23933 if (!args
) SWIG_fail
;
23934 swig_obj
[0] = args
;
23935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuEvent
, 0 | 0 );
23936 if (!SWIG_IsOK(res1
)) {
23937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuEvent_GetMenu" "', expected argument " "1"" of type '" "wxMenuEvent const *""'");
23939 arg1
= reinterpret_cast< wxMenuEvent
* >(argp1
);
23941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23942 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
23943 wxPyEndAllowThreads(__tstate
);
23944 if (PyErr_Occurred()) SWIG_fail
;
23947 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23955 SWIGINTERN PyObject
*MenuEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23957 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23958 SWIG_TypeNewClientData(SWIGTYPE_p_wxMenuEvent
, SWIG_NewClientData(obj
));
23959 return SWIG_Py_Void();
23962 SWIGINTERN PyObject
*MenuEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23963 return SWIG_Python_InitShadowInstance(args
);
23966 SWIGINTERN PyObject
*_wrap_new_CloseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23967 PyObject
*resultobj
= 0;
23968 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23969 int arg2
= (int) 0 ;
23970 wxCloseEvent
*result
= 0 ;
23975 PyObject
* obj0
= 0 ;
23976 PyObject
* obj1
= 0 ;
23977 char * kwnames
[] = {
23978 (char *) "type",(char *) "winid", NULL
23981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23983 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23984 if (!SWIG_IsOK(ecode1
)) {
23985 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CloseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
23987 arg1
= static_cast< wxEventType
>(val1
);
23990 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23991 if (!SWIG_IsOK(ecode2
)) {
23992 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CloseEvent" "', expected argument " "2"" of type '" "int""'");
23994 arg2
= static_cast< int >(val2
);
23997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23998 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
23999 wxPyEndAllowThreads(__tstate
);
24000 if (PyErr_Occurred()) SWIG_fail
;
24002 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_NEW
| 0 );
24009 SWIGINTERN PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24010 PyObject
*resultobj
= 0;
24011 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
24017 PyObject
* obj0
= 0 ;
24018 PyObject
* obj1
= 0 ;
24019 char * kwnames
[] = {
24020 (char *) "self",(char *) "logOff", NULL
24023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCloseEvent
, 0 | 0 );
24025 if (!SWIG_IsOK(res1
)) {
24026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CloseEvent_SetLoggingOff" "', expected argument " "1"" of type '" "wxCloseEvent *""'");
24028 arg1
= reinterpret_cast< wxCloseEvent
* >(argp1
);
24029 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24030 if (!SWIG_IsOK(ecode2
)) {
24031 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CloseEvent_SetLoggingOff" "', expected argument " "2"" of type '" "bool""'");
24033 arg2
= static_cast< bool >(val2
);
24035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24036 (arg1
)->SetLoggingOff(arg2
);
24037 wxPyEndAllowThreads(__tstate
);
24038 if (PyErr_Occurred()) SWIG_fail
;
24040 resultobj
= SWIG_Py_Void();
24047 SWIGINTERN PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24048 PyObject
*resultobj
= 0;
24049 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
24053 PyObject
*swig_obj
[1] ;
24055 if (!args
) SWIG_fail
;
24056 swig_obj
[0] = args
;
24057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCloseEvent
, 0 | 0 );
24058 if (!SWIG_IsOK(res1
)) {
24059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CloseEvent_GetLoggingOff" "', expected argument " "1"" of type '" "wxCloseEvent const *""'");
24061 arg1
= reinterpret_cast< wxCloseEvent
* >(argp1
);
24063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24064 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
24065 wxPyEndAllowThreads(__tstate
);
24066 if (PyErr_Occurred()) SWIG_fail
;
24069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24077 SWIGINTERN PyObject
*_wrap_CloseEvent_Veto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24078 PyObject
*resultobj
= 0;
24079 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
24080 bool arg2
= (bool) true ;
24085 PyObject
* obj0
= 0 ;
24086 PyObject
* obj1
= 0 ;
24087 char * kwnames
[] = {
24088 (char *) "self",(char *) "veto", NULL
24091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCloseEvent
, 0 | 0 );
24093 if (!SWIG_IsOK(res1
)) {
24094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CloseEvent_Veto" "', expected argument " "1"" of type '" "wxCloseEvent *""'");
24096 arg1
= reinterpret_cast< wxCloseEvent
* >(argp1
);
24098 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24099 if (!SWIG_IsOK(ecode2
)) {
24100 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CloseEvent_Veto" "', expected argument " "2"" of type '" "bool""'");
24102 arg2
= static_cast< bool >(val2
);
24105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24106 (arg1
)->Veto(arg2
);
24107 wxPyEndAllowThreads(__tstate
);
24108 if (PyErr_Occurred()) SWIG_fail
;
24110 resultobj
= SWIG_Py_Void();
24117 SWIGINTERN PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24118 PyObject
*resultobj
= 0;
24119 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
24123 PyObject
*swig_obj
[1] ;
24125 if (!args
) SWIG_fail
;
24126 swig_obj
[0] = args
;
24127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCloseEvent
, 0 | 0 );
24128 if (!SWIG_IsOK(res1
)) {
24129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CloseEvent_GetVeto" "', expected argument " "1"" of type '" "wxCloseEvent const *""'");
24131 arg1
= reinterpret_cast< wxCloseEvent
* >(argp1
);
24133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24134 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
24135 wxPyEndAllowThreads(__tstate
);
24136 if (PyErr_Occurred()) SWIG_fail
;
24139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24147 SWIGINTERN PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24148 PyObject
*resultobj
= 0;
24149 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
24155 PyObject
* obj0
= 0 ;
24156 PyObject
* obj1
= 0 ;
24157 char * kwnames
[] = {
24158 (char *) "self",(char *) "canVeto", NULL
24161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCloseEvent
, 0 | 0 );
24163 if (!SWIG_IsOK(res1
)) {
24164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CloseEvent_SetCanVeto" "', expected argument " "1"" of type '" "wxCloseEvent *""'");
24166 arg1
= reinterpret_cast< wxCloseEvent
* >(argp1
);
24167 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24168 if (!SWIG_IsOK(ecode2
)) {
24169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CloseEvent_SetCanVeto" "', expected argument " "2"" of type '" "bool""'");
24171 arg2
= static_cast< bool >(val2
);
24173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24174 (arg1
)->SetCanVeto(arg2
);
24175 wxPyEndAllowThreads(__tstate
);
24176 if (PyErr_Occurred()) SWIG_fail
;
24178 resultobj
= SWIG_Py_Void();
24185 SWIGINTERN PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24186 PyObject
*resultobj
= 0;
24187 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
24191 PyObject
*swig_obj
[1] ;
24193 if (!args
) SWIG_fail
;
24194 swig_obj
[0] = args
;
24195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCloseEvent
, 0 | 0 );
24196 if (!SWIG_IsOK(res1
)) {
24197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CloseEvent_CanVeto" "', expected argument " "1"" of type '" "wxCloseEvent const *""'");
24199 arg1
= reinterpret_cast< wxCloseEvent
* >(argp1
);
24201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24202 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
24203 wxPyEndAllowThreads(__tstate
);
24204 if (PyErr_Occurred()) SWIG_fail
;
24207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24215 SWIGINTERN PyObject
*CloseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24217 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24218 SWIG_TypeNewClientData(SWIGTYPE_p_wxCloseEvent
, SWIG_NewClientData(obj
));
24219 return SWIG_Py_Void();
24222 SWIGINTERN PyObject
*CloseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24223 return SWIG_Python_InitShadowInstance(args
);
24226 SWIGINTERN PyObject
*_wrap_new_ShowEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24227 PyObject
*resultobj
= 0;
24228 int arg1
= (int) 0 ;
24229 bool arg2
= (bool) false ;
24230 wxShowEvent
*result
= 0 ;
24235 PyObject
* obj0
= 0 ;
24236 PyObject
* obj1
= 0 ;
24237 char * kwnames
[] = {
24238 (char *) "winid",(char *) "show", NULL
24241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24243 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24244 if (!SWIG_IsOK(ecode1
)) {
24245 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ShowEvent" "', expected argument " "1"" of type '" "int""'");
24247 arg1
= static_cast< int >(val1
);
24250 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24251 if (!SWIG_IsOK(ecode2
)) {
24252 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ShowEvent" "', expected argument " "2"" of type '" "bool""'");
24254 arg2
= static_cast< bool >(val2
);
24257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24258 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
24259 wxPyEndAllowThreads(__tstate
);
24260 if (PyErr_Occurred()) SWIG_fail
;
24262 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_NEW
| 0 );
24269 SWIGINTERN PyObject
*_wrap_ShowEvent_SetShow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24270 PyObject
*resultobj
= 0;
24271 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
24277 PyObject
* obj0
= 0 ;
24278 PyObject
* obj1
= 0 ;
24279 char * kwnames
[] = {
24280 (char *) "self",(char *) "show", NULL
24283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxShowEvent
, 0 | 0 );
24285 if (!SWIG_IsOK(res1
)) {
24286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ShowEvent_SetShow" "', expected argument " "1"" of type '" "wxShowEvent *""'");
24288 arg1
= reinterpret_cast< wxShowEvent
* >(argp1
);
24289 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24290 if (!SWIG_IsOK(ecode2
)) {
24291 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ShowEvent_SetShow" "', expected argument " "2"" of type '" "bool""'");
24293 arg2
= static_cast< bool >(val2
);
24295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24296 (arg1
)->SetShow(arg2
);
24297 wxPyEndAllowThreads(__tstate
);
24298 if (PyErr_Occurred()) SWIG_fail
;
24300 resultobj
= SWIG_Py_Void();
24307 SWIGINTERN PyObject
*_wrap_ShowEvent_GetShow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24308 PyObject
*resultobj
= 0;
24309 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
24313 PyObject
*swig_obj
[1] ;
24315 if (!args
) SWIG_fail
;
24316 swig_obj
[0] = args
;
24317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxShowEvent
, 0 | 0 );
24318 if (!SWIG_IsOK(res1
)) {
24319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ShowEvent_GetShow" "', expected argument " "1"" of type '" "wxShowEvent const *""'");
24321 arg1
= reinterpret_cast< wxShowEvent
* >(argp1
);
24323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24324 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
24325 wxPyEndAllowThreads(__tstate
);
24326 if (PyErr_Occurred()) SWIG_fail
;
24329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24337 SWIGINTERN PyObject
*ShowEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24339 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24340 SWIG_TypeNewClientData(SWIGTYPE_p_wxShowEvent
, SWIG_NewClientData(obj
));
24341 return SWIG_Py_Void();
24344 SWIGINTERN PyObject
*ShowEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24345 return SWIG_Python_InitShadowInstance(args
);
24348 SWIGINTERN PyObject
*_wrap_new_IconizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24349 PyObject
*resultobj
= 0;
24350 int arg1
= (int) 0 ;
24351 bool arg2
= (bool) true ;
24352 wxIconizeEvent
*result
= 0 ;
24357 PyObject
* obj0
= 0 ;
24358 PyObject
* obj1
= 0 ;
24359 char * kwnames
[] = {
24360 (char *) "id",(char *) "iconized", NULL
24363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24365 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24366 if (!SWIG_IsOK(ecode1
)) {
24367 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_IconizeEvent" "', expected argument " "1"" of type '" "int""'");
24369 arg1
= static_cast< int >(val1
);
24372 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24373 if (!SWIG_IsOK(ecode2
)) {
24374 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconizeEvent" "', expected argument " "2"" of type '" "bool""'");
24376 arg2
= static_cast< bool >(val2
);
24379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24380 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
24381 wxPyEndAllowThreads(__tstate
);
24382 if (PyErr_Occurred()) SWIG_fail
;
24384 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconizeEvent
, SWIG_POINTER_NEW
| 0 );
24391 SWIGINTERN PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24392 PyObject
*resultobj
= 0;
24393 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
24397 PyObject
*swig_obj
[1] ;
24399 if (!args
) SWIG_fail
;
24400 swig_obj
[0] = args
;
24401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconizeEvent
, 0 | 0 );
24402 if (!SWIG_IsOK(res1
)) {
24403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconizeEvent_Iconized" "', expected argument " "1"" of type '" "wxIconizeEvent *""'");
24405 arg1
= reinterpret_cast< wxIconizeEvent
* >(argp1
);
24407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24408 result
= (bool)(arg1
)->Iconized();
24409 wxPyEndAllowThreads(__tstate
);
24410 if (PyErr_Occurred()) SWIG_fail
;
24413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24421 SWIGINTERN PyObject
*IconizeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24423 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24424 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconizeEvent
, SWIG_NewClientData(obj
));
24425 return SWIG_Py_Void();
24428 SWIGINTERN PyObject
*IconizeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24429 return SWIG_Python_InitShadowInstance(args
);
24432 SWIGINTERN PyObject
*_wrap_new_MaximizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24433 PyObject
*resultobj
= 0;
24434 int arg1
= (int) 0 ;
24435 wxMaximizeEvent
*result
= 0 ;
24438 PyObject
* obj0
= 0 ;
24439 char * kwnames
[] = {
24440 (char *) "id", NULL
24443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) SWIG_fail
;
24445 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24446 if (!SWIG_IsOK(ecode1
)) {
24447 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_MaximizeEvent" "', expected argument " "1"" of type '" "int""'");
24449 arg1
= static_cast< int >(val1
);
24452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24453 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
24454 wxPyEndAllowThreads(__tstate
);
24455 if (PyErr_Occurred()) SWIG_fail
;
24457 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMaximizeEvent
, SWIG_POINTER_NEW
| 0 );
24464 SWIGINTERN PyObject
*MaximizeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24466 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24467 SWIG_TypeNewClientData(SWIGTYPE_p_wxMaximizeEvent
, SWIG_NewClientData(obj
));
24468 return SWIG_Py_Void();
24471 SWIGINTERN PyObject
*MaximizeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24472 return SWIG_Python_InitShadowInstance(args
);
24475 SWIGINTERN PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24476 PyObject
*resultobj
= 0;
24477 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
24481 PyObject
*swig_obj
[1] ;
24483 if (!args
) SWIG_fail
;
24484 swig_obj
[0] = args
;
24485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDropFilesEvent
, 0 | 0 );
24486 if (!SWIG_IsOK(res1
)) {
24487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropFilesEvent_GetPosition" "', expected argument " "1"" of type '" "wxDropFilesEvent *""'");
24489 arg1
= reinterpret_cast< wxDropFilesEvent
* >(argp1
);
24491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24492 result
= (arg1
)->GetPosition();
24493 wxPyEndAllowThreads(__tstate
);
24494 if (PyErr_Occurred()) SWIG_fail
;
24496 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24503 SWIGINTERN PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24504 PyObject
*resultobj
= 0;
24505 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
24509 PyObject
*swig_obj
[1] ;
24511 if (!args
) SWIG_fail
;
24512 swig_obj
[0] = args
;
24513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDropFilesEvent
, 0 | 0 );
24514 if (!SWIG_IsOK(res1
)) {
24515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropFilesEvent_GetNumberOfFiles" "', expected argument " "1"" of type '" "wxDropFilesEvent *""'");
24517 arg1
= reinterpret_cast< wxDropFilesEvent
* >(argp1
);
24519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24520 result
= (int)(arg1
)->GetNumberOfFiles();
24521 wxPyEndAllowThreads(__tstate
);
24522 if (PyErr_Occurred()) SWIG_fail
;
24524 resultobj
= SWIG_From_int(static_cast< int >(result
));
24531 SWIGINTERN PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24532 PyObject
*resultobj
= 0;
24533 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
24534 PyObject
*result
= 0 ;
24537 PyObject
*swig_obj
[1] ;
24539 if (!args
) SWIG_fail
;
24540 swig_obj
[0] = args
;
24541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDropFilesEvent
, 0 | 0 );
24542 if (!SWIG_IsOK(res1
)) {
24543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropFilesEvent_GetFiles" "', expected argument " "1"" of type '" "wxDropFilesEvent *""'");
24545 arg1
= reinterpret_cast< wxDropFilesEvent
* >(argp1
);
24547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24548 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
24549 wxPyEndAllowThreads(__tstate
);
24550 if (PyErr_Occurred()) SWIG_fail
;
24552 resultobj
= result
;
24559 SWIGINTERN PyObject
*DropFilesEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24561 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24562 SWIG_TypeNewClientData(SWIGTYPE_p_wxDropFilesEvent
, SWIG_NewClientData(obj
));
24563 return SWIG_Py_Void();
24566 SWIGINTERN PyObject
*_wrap_new_UpdateUIEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24567 PyObject
*resultobj
= 0;
24568 int arg1
= (int) 0 ;
24569 wxUpdateUIEvent
*result
= 0 ;
24572 PyObject
* obj0
= 0 ;
24573 char * kwnames
[] = {
24574 (char *) "commandId", NULL
24577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) SWIG_fail
;
24579 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24580 if (!SWIG_IsOK(ecode1
)) {
24581 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_UpdateUIEvent" "', expected argument " "1"" of type '" "int""'");
24583 arg1
= static_cast< int >(val1
);
24586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24587 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
24588 wxPyEndAllowThreads(__tstate
);
24589 if (PyErr_Occurred()) SWIG_fail
;
24591 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_NEW
| 0 );
24598 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24599 PyObject
*resultobj
= 0;
24600 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
24604 PyObject
*swig_obj
[1] ;
24606 if (!args
) SWIG_fail
;
24607 swig_obj
[0] = args
;
24608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
24609 if (!SWIG_IsOK(res1
)) {
24610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetChecked" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
24612 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
24614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24615 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
24616 wxPyEndAllowThreads(__tstate
);
24617 if (PyErr_Occurred()) SWIG_fail
;
24620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24628 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24629 PyObject
*resultobj
= 0;
24630 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
24634 PyObject
*swig_obj
[1] ;
24636 if (!args
) SWIG_fail
;
24637 swig_obj
[0] = args
;
24638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
24639 if (!SWIG_IsOK(res1
)) {
24640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetEnabled" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
24642 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
24644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24645 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
24646 wxPyEndAllowThreads(__tstate
);
24647 if (PyErr_Occurred()) SWIG_fail
;
24650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24658 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24659 PyObject
*resultobj
= 0;
24660 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
24664 PyObject
*swig_obj
[1] ;
24666 if (!args
) SWIG_fail
;
24667 swig_obj
[0] = args
;
24668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
24669 if (!SWIG_IsOK(res1
)) {
24670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetShown" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
24672 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
24674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24675 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetShown();
24676 wxPyEndAllowThreads(__tstate
);
24677 if (PyErr_Occurred()) SWIG_fail
;
24680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24688 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24689 PyObject
*resultobj
= 0;
24690 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
24694 PyObject
*swig_obj
[1] ;
24696 if (!args
) SWIG_fail
;
24697 swig_obj
[0] = args
;
24698 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
24699 if (!SWIG_IsOK(res1
)) {
24700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetText" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
24702 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
24704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24705 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
24706 wxPyEndAllowThreads(__tstate
);
24707 if (PyErr_Occurred()) SWIG_fail
;
24711 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24713 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24722 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24723 PyObject
*resultobj
= 0;
24724 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
24728 PyObject
*swig_obj
[1] ;
24730 if (!args
) SWIG_fail
;
24731 swig_obj
[0] = args
;
24732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
24733 if (!SWIG_IsOK(res1
)) {
24734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetSetText" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
24736 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
24738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24739 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
24740 wxPyEndAllowThreads(__tstate
);
24741 if (PyErr_Occurred()) SWIG_fail
;
24744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24752 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24753 PyObject
*resultobj
= 0;
24754 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
24758 PyObject
*swig_obj
[1] ;
24760 if (!args
) SWIG_fail
;
24761 swig_obj
[0] = args
;
24762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
24763 if (!SWIG_IsOK(res1
)) {
24764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetSetChecked" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
24766 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
24768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24769 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
24770 wxPyEndAllowThreads(__tstate
);
24771 if (PyErr_Occurred()) SWIG_fail
;
24774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24782 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24783 PyObject
*resultobj
= 0;
24784 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
24788 PyObject
*swig_obj
[1] ;
24790 if (!args
) SWIG_fail
;
24791 swig_obj
[0] = args
;
24792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
24793 if (!SWIG_IsOK(res1
)) {
24794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetSetEnabled" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
24796 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
24798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24799 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
24800 wxPyEndAllowThreads(__tstate
);
24801 if (PyErr_Occurred()) SWIG_fail
;
24804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24812 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetSetShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24813 PyObject
*resultobj
= 0;
24814 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
24818 PyObject
*swig_obj
[1] ;
24820 if (!args
) SWIG_fail
;
24821 swig_obj
[0] = args
;
24822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
24823 if (!SWIG_IsOK(res1
)) {
24824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetSetShown" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
24826 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
24828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24829 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetShown();
24830 wxPyEndAllowThreads(__tstate
);
24831 if (PyErr_Occurred()) SWIG_fail
;
24834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24842 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24843 PyObject
*resultobj
= 0;
24844 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
24850 PyObject
* obj0
= 0 ;
24851 PyObject
* obj1
= 0 ;
24852 char * kwnames
[] = {
24853 (char *) "self",(char *) "check", NULL
24856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
24858 if (!SWIG_IsOK(res1
)) {
24859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_Check" "', expected argument " "1"" of type '" "wxUpdateUIEvent *""'");
24861 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
24862 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24863 if (!SWIG_IsOK(ecode2
)) {
24864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "UpdateUIEvent_Check" "', expected argument " "2"" of type '" "bool""'");
24866 arg2
= static_cast< bool >(val2
);
24868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24869 (arg1
)->Check(arg2
);
24870 wxPyEndAllowThreads(__tstate
);
24871 if (PyErr_Occurred()) SWIG_fail
;
24873 resultobj
= SWIG_Py_Void();
24880 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24881 PyObject
*resultobj
= 0;
24882 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
24888 PyObject
* obj0
= 0 ;
24889 PyObject
* obj1
= 0 ;
24890 char * kwnames
[] = {
24891 (char *) "self",(char *) "enable", NULL
24894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
24896 if (!SWIG_IsOK(res1
)) {
24897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_Enable" "', expected argument " "1"" of type '" "wxUpdateUIEvent *""'");
24899 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
24900 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24901 if (!SWIG_IsOK(ecode2
)) {
24902 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "UpdateUIEvent_Enable" "', expected argument " "2"" of type '" "bool""'");
24904 arg2
= static_cast< bool >(val2
);
24906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24907 (arg1
)->Enable(arg2
);
24908 wxPyEndAllowThreads(__tstate
);
24909 if (PyErr_Occurred()) SWIG_fail
;
24911 resultobj
= SWIG_Py_Void();
24918 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24919 PyObject
*resultobj
= 0;
24920 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
24926 PyObject
* obj0
= 0 ;
24927 PyObject
* obj1
= 0 ;
24928 char * kwnames
[] = {
24929 (char *) "self",(char *) "show", NULL
24932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
24934 if (!SWIG_IsOK(res1
)) {
24935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_Show" "', expected argument " "1"" of type '" "wxUpdateUIEvent *""'");
24937 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
24938 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24939 if (!SWIG_IsOK(ecode2
)) {
24940 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "UpdateUIEvent_Show" "', expected argument " "2"" of type '" "bool""'");
24942 arg2
= static_cast< bool >(val2
);
24944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24945 (arg1
)->Show(arg2
);
24946 wxPyEndAllowThreads(__tstate
);
24947 if (PyErr_Occurred()) SWIG_fail
;
24949 resultobj
= SWIG_Py_Void();
24956 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24957 PyObject
*resultobj
= 0;
24958 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
24959 wxString
*arg2
= 0 ;
24962 bool temp2
= false ;
24963 PyObject
* obj0
= 0 ;
24964 PyObject
* obj1
= 0 ;
24965 char * kwnames
[] = {
24966 (char *) "self",(char *) "text", NULL
24969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
24971 if (!SWIG_IsOK(res1
)) {
24972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_SetText" "', expected argument " "1"" of type '" "wxUpdateUIEvent *""'");
24974 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
24976 arg2
= wxString_in_helper(obj1
);
24977 if (arg2
== NULL
) SWIG_fail
;
24981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24982 (arg1
)->SetText((wxString
const &)*arg2
);
24983 wxPyEndAllowThreads(__tstate
);
24984 if (PyErr_Occurred()) SWIG_fail
;
24986 resultobj
= SWIG_Py_Void();
25001 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25002 PyObject
*resultobj
= 0;
25006 PyObject
* obj0
= 0 ;
25007 char * kwnames
[] = {
25008 (char *) "updateInterval", NULL
25011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) SWIG_fail
;
25012 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
25013 if (!SWIG_IsOK(ecode1
)) {
25014 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "UpdateUIEvent_SetUpdateInterval" "', expected argument " "1"" of type '" "long""'");
25016 arg1
= static_cast< long >(val1
);
25018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25019 wxUpdateUIEvent::SetUpdateInterval(arg1
);
25020 wxPyEndAllowThreads(__tstate
);
25021 if (PyErr_Occurred()) SWIG_fail
;
25023 resultobj
= SWIG_Py_Void();
25030 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25031 PyObject
*resultobj
= 0;
25034 if (!SWIG_Python_UnpackTuple(args
,"UpdateUIEvent_GetUpdateInterval",0,0,0)) SWIG_fail
;
25036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25037 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
25038 wxPyEndAllowThreads(__tstate
);
25039 if (PyErr_Occurred()) SWIG_fail
;
25041 resultobj
= SWIG_From_long(static_cast< long >(result
));
25048 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25049 PyObject
*resultobj
= 0;
25050 wxWindow
*arg1
= (wxWindow
*) 0 ;
25054 PyObject
* obj0
= 0 ;
25055 char * kwnames
[] = {
25056 (char *) "win", NULL
25059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) SWIG_fail
;
25060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25061 if (!SWIG_IsOK(res1
)) {
25062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_CanUpdate" "', expected argument " "1"" of type '" "wxWindow *""'");
25064 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25067 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
25068 wxPyEndAllowThreads(__tstate
);
25069 if (PyErr_Occurred()) SWIG_fail
;
25072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25080 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25081 PyObject
*resultobj
= 0;
25083 if (!SWIG_Python_UnpackTuple(args
,"UpdateUIEvent_ResetUpdateTime",0,0,0)) SWIG_fail
;
25085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25086 wxUpdateUIEvent::ResetUpdateTime();
25087 wxPyEndAllowThreads(__tstate
);
25088 if (PyErr_Occurred()) SWIG_fail
;
25090 resultobj
= SWIG_Py_Void();
25097 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25098 PyObject
*resultobj
= 0;
25099 wxUpdateUIMode arg1
;
25102 PyObject
* obj0
= 0 ;
25103 char * kwnames
[] = {
25104 (char *) "mode", NULL
25107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) SWIG_fail
;
25108 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25109 if (!SWIG_IsOK(ecode1
)) {
25110 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "UpdateUIEvent_SetMode" "', expected argument " "1"" of type '" "wxUpdateUIMode""'");
25112 arg1
= static_cast< wxUpdateUIMode
>(val1
);
25114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25115 wxUpdateUIEvent::SetMode(arg1
);
25116 wxPyEndAllowThreads(__tstate
);
25117 if (PyErr_Occurred()) SWIG_fail
;
25119 resultobj
= SWIG_Py_Void();
25126 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25127 PyObject
*resultobj
= 0;
25128 wxUpdateUIMode result
;
25130 if (!SWIG_Python_UnpackTuple(args
,"UpdateUIEvent_GetMode",0,0,0)) SWIG_fail
;
25132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25133 result
= (wxUpdateUIMode
)wxUpdateUIEvent::GetMode();
25134 wxPyEndAllowThreads(__tstate
);
25135 if (PyErr_Occurred()) SWIG_fail
;
25137 resultobj
= SWIG_From_int(static_cast< int >(result
));
25144 SWIGINTERN PyObject
*UpdateUIEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25146 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25147 SWIG_TypeNewClientData(SWIGTYPE_p_wxUpdateUIEvent
, SWIG_NewClientData(obj
));
25148 return SWIG_Py_Void();
25151 SWIGINTERN PyObject
*UpdateUIEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25152 return SWIG_Python_InitShadowInstance(args
);
25155 SWIGINTERN PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25156 PyObject
*resultobj
= 0;
25157 wxSysColourChangedEvent
*result
= 0 ;
25159 if (!SWIG_Python_UnpackTuple(args
,"new_SysColourChangedEvent",0,0,0)) SWIG_fail
;
25161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25162 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
25163 wxPyEndAllowThreads(__tstate
);
25164 if (PyErr_Occurred()) SWIG_fail
;
25166 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSysColourChangedEvent
, SWIG_POINTER_NEW
| 0 );
25173 SWIGINTERN PyObject
*SysColourChangedEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25175 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25176 SWIG_TypeNewClientData(SWIGTYPE_p_wxSysColourChangedEvent
, SWIG_NewClientData(obj
));
25177 return SWIG_Py_Void();
25180 SWIGINTERN PyObject
*SysColourChangedEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25181 return SWIG_Python_InitShadowInstance(args
);
25184 SWIGINTERN PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25185 PyObject
*resultobj
= 0;
25186 int arg1
= (int) 0 ;
25187 wxWindow
*arg2
= (wxWindow
*) NULL
;
25188 wxMouseCaptureChangedEvent
*result
= 0 ;
25193 PyObject
* obj0
= 0 ;
25194 PyObject
* obj1
= 0 ;
25195 char * kwnames
[] = {
25196 (char *) "winid",(char *) "gainedCapture", NULL
25199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25201 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25202 if (!SWIG_IsOK(ecode1
)) {
25203 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_MouseCaptureChangedEvent" "', expected argument " "1"" of type '" "int""'");
25205 arg1
= static_cast< int >(val1
);
25208 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25209 if (!SWIG_IsOK(res2
)) {
25210 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_MouseCaptureChangedEvent" "', expected argument " "2"" of type '" "wxWindow *""'");
25212 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25216 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
25217 wxPyEndAllowThreads(__tstate
);
25218 if (PyErr_Occurred()) SWIG_fail
;
25220 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, SWIG_POINTER_NEW
| 0 );
25227 SWIGINTERN PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25228 PyObject
*resultobj
= 0;
25229 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
25230 wxWindow
*result
= 0 ;
25233 PyObject
*swig_obj
[1] ;
25235 if (!args
) SWIG_fail
;
25236 swig_obj
[0] = args
;
25237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseCaptureChangedEvent
, 0 | 0 );
25238 if (!SWIG_IsOK(res1
)) {
25239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseCaptureChangedEvent_GetCapturedWindow" "', expected argument " "1"" of type '" "wxMouseCaptureChangedEvent const *""'");
25241 arg1
= reinterpret_cast< wxMouseCaptureChangedEvent
* >(argp1
);
25243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25244 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
25245 wxPyEndAllowThreads(__tstate
);
25246 if (PyErr_Occurred()) SWIG_fail
;
25249 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25257 SWIGINTERN PyObject
*MouseCaptureChangedEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25259 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25260 SWIG_TypeNewClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, SWIG_NewClientData(obj
));
25261 return SWIG_Py_Void();
25264 SWIGINTERN PyObject
*MouseCaptureChangedEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25265 return SWIG_Python_InitShadowInstance(args
);
25268 SWIGINTERN PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25269 PyObject
*resultobj
= 0;
25270 wxDisplayChangedEvent
*result
= 0 ;
25272 if (!SWIG_Python_UnpackTuple(args
,"new_DisplayChangedEvent",0,0,0)) SWIG_fail
;
25274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25275 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
25276 wxPyEndAllowThreads(__tstate
);
25277 if (PyErr_Occurred()) SWIG_fail
;
25279 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDisplayChangedEvent
, SWIG_POINTER_NEW
| 0 );
25286 SWIGINTERN PyObject
*DisplayChangedEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25288 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25289 SWIG_TypeNewClientData(SWIGTYPE_p_wxDisplayChangedEvent
, SWIG_NewClientData(obj
));
25290 return SWIG_Py_Void();
25293 SWIGINTERN PyObject
*DisplayChangedEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25294 return SWIG_Python_InitShadowInstance(args
);
25297 SWIGINTERN PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25298 PyObject
*resultobj
= 0;
25299 int arg1
= (int) 0 ;
25300 wxPaletteChangedEvent
*result
= 0 ;
25303 PyObject
* obj0
= 0 ;
25304 char * kwnames
[] = {
25305 (char *) "id", NULL
25308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) SWIG_fail
;
25310 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25311 if (!SWIG_IsOK(ecode1
)) {
25312 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PaletteChangedEvent" "', expected argument " "1"" of type '" "int""'");
25314 arg1
= static_cast< int >(val1
);
25317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25318 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
25319 wxPyEndAllowThreads(__tstate
);
25320 if (PyErr_Occurred()) SWIG_fail
;
25322 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_NEW
| 0 );
25329 SWIGINTERN PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25330 PyObject
*resultobj
= 0;
25331 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
25332 wxWindow
*arg2
= (wxWindow
*) 0 ;
25337 PyObject
* obj0
= 0 ;
25338 PyObject
* obj1
= 0 ;
25339 char * kwnames
[] = {
25340 (char *) "self",(char *) "win", NULL
25343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPaletteChangedEvent
, 0 | 0 );
25345 if (!SWIG_IsOK(res1
)) {
25346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PaletteChangedEvent_SetChangedWindow" "', expected argument " "1"" of type '" "wxPaletteChangedEvent *""'");
25348 arg1
= reinterpret_cast< wxPaletteChangedEvent
* >(argp1
);
25349 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25350 if (!SWIG_IsOK(res2
)) {
25351 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PaletteChangedEvent_SetChangedWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
25353 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25356 (arg1
)->SetChangedWindow(arg2
);
25357 wxPyEndAllowThreads(__tstate
);
25358 if (PyErr_Occurred()) SWIG_fail
;
25360 resultobj
= SWIG_Py_Void();
25367 SWIGINTERN PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25368 PyObject
*resultobj
= 0;
25369 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
25370 wxWindow
*result
= 0 ;
25373 PyObject
*swig_obj
[1] ;
25375 if (!args
) SWIG_fail
;
25376 swig_obj
[0] = args
;
25377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPaletteChangedEvent
, 0 | 0 );
25378 if (!SWIG_IsOK(res1
)) {
25379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PaletteChangedEvent_GetChangedWindow" "', expected argument " "1"" of type '" "wxPaletteChangedEvent *""'");
25381 arg1
= reinterpret_cast< wxPaletteChangedEvent
* >(argp1
);
25383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25384 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
25385 wxPyEndAllowThreads(__tstate
);
25386 if (PyErr_Occurred()) SWIG_fail
;
25389 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25397 SWIGINTERN PyObject
*PaletteChangedEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25399 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25400 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_NewClientData(obj
));
25401 return SWIG_Py_Void();
25404 SWIGINTERN PyObject
*PaletteChangedEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25405 return SWIG_Python_InitShadowInstance(args
);
25408 SWIGINTERN PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25409 PyObject
*resultobj
= 0;
25410 int arg1
= (int) 0 ;
25411 wxQueryNewPaletteEvent
*result
= 0 ;
25414 PyObject
* obj0
= 0 ;
25415 char * kwnames
[] = {
25416 (char *) "winid", NULL
25419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) SWIG_fail
;
25421 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25422 if (!SWIG_IsOK(ecode1
)) {
25423 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryNewPaletteEvent" "', expected argument " "1"" of type '" "int""'");
25425 arg1
= static_cast< int >(val1
);
25428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25429 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
25430 wxPyEndAllowThreads(__tstate
);
25431 if (PyErr_Occurred()) SWIG_fail
;
25433 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_NEW
| 0 );
25440 SWIGINTERN PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25441 PyObject
*resultobj
= 0;
25442 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
25448 PyObject
* obj0
= 0 ;
25449 PyObject
* obj1
= 0 ;
25450 char * kwnames
[] = {
25451 (char *) "self",(char *) "realized", NULL
25454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryNewPaletteEvent
, 0 | 0 );
25456 if (!SWIG_IsOK(res1
)) {
25457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryNewPaletteEvent_SetPaletteRealized" "', expected argument " "1"" of type '" "wxQueryNewPaletteEvent *""'");
25459 arg1
= reinterpret_cast< wxQueryNewPaletteEvent
* >(argp1
);
25460 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25461 if (!SWIG_IsOK(ecode2
)) {
25462 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryNewPaletteEvent_SetPaletteRealized" "', expected argument " "2"" of type '" "bool""'");
25464 arg2
= static_cast< bool >(val2
);
25466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25467 (arg1
)->SetPaletteRealized(arg2
);
25468 wxPyEndAllowThreads(__tstate
);
25469 if (PyErr_Occurred()) SWIG_fail
;
25471 resultobj
= SWIG_Py_Void();
25478 SWIGINTERN PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25479 PyObject
*resultobj
= 0;
25480 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
25484 PyObject
*swig_obj
[1] ;
25486 if (!args
) SWIG_fail
;
25487 swig_obj
[0] = args
;
25488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryNewPaletteEvent
, 0 | 0 );
25489 if (!SWIG_IsOK(res1
)) {
25490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryNewPaletteEvent_GetPaletteRealized" "', expected argument " "1"" of type '" "wxQueryNewPaletteEvent const *""'");
25492 arg1
= reinterpret_cast< wxQueryNewPaletteEvent
* >(argp1
);
25494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25495 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
25496 wxPyEndAllowThreads(__tstate
);
25497 if (PyErr_Occurred()) SWIG_fail
;
25500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25508 SWIGINTERN PyObject
*QueryNewPaletteEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25510 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25511 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_NewClientData(obj
));
25512 return SWIG_Py_Void();
25515 SWIGINTERN PyObject
*QueryNewPaletteEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25516 return SWIG_Python_InitShadowInstance(args
);
25519 SWIGINTERN PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25520 PyObject
*resultobj
= 0;
25521 wxNavigationKeyEvent
*result
= 0 ;
25523 if (!SWIG_Python_UnpackTuple(args
,"new_NavigationKeyEvent",0,0,0)) SWIG_fail
;
25525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25526 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
25527 wxPyEndAllowThreads(__tstate
);
25528 if (PyErr_Occurred()) SWIG_fail
;
25530 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_NEW
| 0 );
25537 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25538 PyObject
*resultobj
= 0;
25539 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
25543 PyObject
*swig_obj
[1] ;
25545 if (!args
) SWIG_fail
;
25546 swig_obj
[0] = args
;
25547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
25548 if (!SWIG_IsOK(res1
)) {
25549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_GetDirection" "', expected argument " "1"" of type '" "wxNavigationKeyEvent const *""'");
25551 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
25553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25554 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
25555 wxPyEndAllowThreads(__tstate
);
25556 if (PyErr_Occurred()) SWIG_fail
;
25559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25567 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25568 PyObject
*resultobj
= 0;
25569 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
25575 PyObject
* obj0
= 0 ;
25576 PyObject
* obj1
= 0 ;
25577 char * kwnames
[] = {
25578 (char *) "self",(char *) "forward", NULL
25581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
25583 if (!SWIG_IsOK(res1
)) {
25584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_SetDirection" "', expected argument " "1"" of type '" "wxNavigationKeyEvent *""'");
25586 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
25587 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25588 if (!SWIG_IsOK(ecode2
)) {
25589 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NavigationKeyEvent_SetDirection" "', expected argument " "2"" of type '" "bool""'");
25591 arg2
= static_cast< bool >(val2
);
25593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25594 (arg1
)->SetDirection(arg2
);
25595 wxPyEndAllowThreads(__tstate
);
25596 if (PyErr_Occurred()) SWIG_fail
;
25598 resultobj
= SWIG_Py_Void();
25605 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25606 PyObject
*resultobj
= 0;
25607 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
25611 PyObject
*swig_obj
[1] ;
25613 if (!args
) SWIG_fail
;
25614 swig_obj
[0] = args
;
25615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
25616 if (!SWIG_IsOK(res1
)) {
25617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_IsWindowChange" "', expected argument " "1"" of type '" "wxNavigationKeyEvent const *""'");
25619 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
25621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25622 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
25623 wxPyEndAllowThreads(__tstate
);
25624 if (PyErr_Occurred()) SWIG_fail
;
25627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25635 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25636 PyObject
*resultobj
= 0;
25637 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
25643 PyObject
* obj0
= 0 ;
25644 PyObject
* obj1
= 0 ;
25645 char * kwnames
[] = {
25646 (char *) "self",(char *) "ischange", NULL
25649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
25651 if (!SWIG_IsOK(res1
)) {
25652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_SetWindowChange" "', expected argument " "1"" of type '" "wxNavigationKeyEvent *""'");
25654 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
25655 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25656 if (!SWIG_IsOK(ecode2
)) {
25657 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NavigationKeyEvent_SetWindowChange" "', expected argument " "2"" of type '" "bool""'");
25659 arg2
= static_cast< bool >(val2
);
25661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25662 (arg1
)->SetWindowChange(arg2
);
25663 wxPyEndAllowThreads(__tstate
);
25664 if (PyErr_Occurred()) SWIG_fail
;
25666 resultobj
= SWIG_Py_Void();
25673 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_IsFromTab(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25674 PyObject
*resultobj
= 0;
25675 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
25679 PyObject
*swig_obj
[1] ;
25681 if (!args
) SWIG_fail
;
25682 swig_obj
[0] = args
;
25683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
25684 if (!SWIG_IsOK(res1
)) {
25685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_IsFromTab" "', expected argument " "1"" of type '" "wxNavigationKeyEvent const *""'");
25687 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
25689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25690 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsFromTab();
25691 wxPyEndAllowThreads(__tstate
);
25692 if (PyErr_Occurred()) SWIG_fail
;
25695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25703 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_SetFromTab(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25704 PyObject
*resultobj
= 0;
25705 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
25711 PyObject
* obj0
= 0 ;
25712 PyObject
* obj1
= 0 ;
25713 char * kwnames
[] = {
25714 (char *) "self",(char *) "bIs", NULL
25717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFromTab",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
25719 if (!SWIG_IsOK(res1
)) {
25720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_SetFromTab" "', expected argument " "1"" of type '" "wxNavigationKeyEvent *""'");
25722 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
25723 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25724 if (!SWIG_IsOK(ecode2
)) {
25725 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NavigationKeyEvent_SetFromTab" "', expected argument " "2"" of type '" "bool""'");
25727 arg2
= static_cast< bool >(val2
);
25729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25730 (arg1
)->SetFromTab(arg2
);
25731 wxPyEndAllowThreads(__tstate
);
25732 if (PyErr_Occurred()) SWIG_fail
;
25734 resultobj
= SWIG_Py_Void();
25741 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25742 PyObject
*resultobj
= 0;
25743 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
25749 PyObject
* obj0
= 0 ;
25750 PyObject
* obj1
= 0 ;
25751 char * kwnames
[] = {
25752 (char *) "self",(char *) "flags", NULL
25755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
25757 if (!SWIG_IsOK(res1
)) {
25758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_SetFlags" "', expected argument " "1"" of type '" "wxNavigationKeyEvent *""'");
25760 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
25761 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
25762 if (!SWIG_IsOK(ecode2
)) {
25763 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NavigationKeyEvent_SetFlags" "', expected argument " "2"" of type '" "long""'");
25765 arg2
= static_cast< long >(val2
);
25767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25768 (arg1
)->SetFlags(arg2
);
25769 wxPyEndAllowThreads(__tstate
);
25770 if (PyErr_Occurred()) SWIG_fail
;
25772 resultobj
= SWIG_Py_Void();
25779 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25780 PyObject
*resultobj
= 0;
25781 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
25782 wxWindow
*result
= 0 ;
25785 PyObject
*swig_obj
[1] ;
25787 if (!args
) SWIG_fail
;
25788 swig_obj
[0] = args
;
25789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
25790 if (!SWIG_IsOK(res1
)) {
25791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_GetCurrentFocus" "', expected argument " "1"" of type '" "wxNavigationKeyEvent const *""'");
25793 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
25795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25796 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
25797 wxPyEndAllowThreads(__tstate
);
25798 if (PyErr_Occurred()) SWIG_fail
;
25801 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25809 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25810 PyObject
*resultobj
= 0;
25811 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
25812 wxWindow
*arg2
= (wxWindow
*) 0 ;
25817 PyObject
* obj0
= 0 ;
25818 PyObject
* obj1
= 0 ;
25819 char * kwnames
[] = {
25820 (char *) "self",(char *) "win", NULL
25823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
25825 if (!SWIG_IsOK(res1
)) {
25826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_SetCurrentFocus" "', expected argument " "1"" of type '" "wxNavigationKeyEvent *""'");
25828 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
25829 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25830 if (!SWIG_IsOK(res2
)) {
25831 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NavigationKeyEvent_SetCurrentFocus" "', expected argument " "2"" of type '" "wxWindow *""'");
25833 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25836 (arg1
)->SetCurrentFocus(arg2
);
25837 wxPyEndAllowThreads(__tstate
);
25838 if (PyErr_Occurred()) SWIG_fail
;
25840 resultobj
= SWIG_Py_Void();
25847 SWIGINTERN PyObject
*NavigationKeyEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25849 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25850 SWIG_TypeNewClientData(SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_NewClientData(obj
));
25851 return SWIG_Py_Void();
25854 SWIGINTERN PyObject
*NavigationKeyEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25855 return SWIG_Python_InitShadowInstance(args
);
25858 SWIGINTERN PyObject
*_wrap_new_WindowCreateEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25859 PyObject
*resultobj
= 0;
25860 wxWindow
*arg1
= (wxWindow
*) NULL
;
25861 wxWindowCreateEvent
*result
= 0 ;
25864 PyObject
* obj0
= 0 ;
25865 char * kwnames
[] = {
25866 (char *) "win", NULL
25869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) SWIG_fail
;
25871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25872 if (!SWIG_IsOK(res1
)) {
25873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowCreateEvent" "', expected argument " "1"" of type '" "wxWindow *""'");
25875 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25879 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
25880 wxPyEndAllowThreads(__tstate
);
25881 if (PyErr_Occurred()) SWIG_fail
;
25883 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowCreateEvent
, SWIG_POINTER_NEW
| 0 );
25890 SWIGINTERN PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25891 PyObject
*resultobj
= 0;
25892 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
25893 wxWindow
*result
= 0 ;
25896 PyObject
*swig_obj
[1] ;
25898 if (!args
) SWIG_fail
;
25899 swig_obj
[0] = args
;
25900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindowCreateEvent
, 0 | 0 );
25901 if (!SWIG_IsOK(res1
)) {
25902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "WindowCreateEvent_GetWindow" "', expected argument " "1"" of type '" "wxWindowCreateEvent const *""'");
25904 arg1
= reinterpret_cast< wxWindowCreateEvent
* >(argp1
);
25906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25907 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
25908 wxPyEndAllowThreads(__tstate
);
25909 if (PyErr_Occurred()) SWIG_fail
;
25912 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25920 SWIGINTERN PyObject
*WindowCreateEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25922 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25923 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowCreateEvent
, SWIG_NewClientData(obj
));
25924 return SWIG_Py_Void();
25927 SWIGINTERN PyObject
*WindowCreateEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25928 return SWIG_Python_InitShadowInstance(args
);
25931 SWIGINTERN PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25932 PyObject
*resultobj
= 0;
25933 wxWindow
*arg1
= (wxWindow
*) NULL
;
25934 wxWindowDestroyEvent
*result
= 0 ;
25937 PyObject
* obj0
= 0 ;
25938 char * kwnames
[] = {
25939 (char *) "win", NULL
25942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) SWIG_fail
;
25944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25945 if (!SWIG_IsOK(res1
)) {
25946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDestroyEvent" "', expected argument " "1"" of type '" "wxWindow *""'");
25948 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25952 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
25953 wxPyEndAllowThreads(__tstate
);
25954 if (PyErr_Occurred()) SWIG_fail
;
25956 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDestroyEvent
, SWIG_POINTER_NEW
| 0 );
25963 SWIGINTERN PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25964 PyObject
*resultobj
= 0;
25965 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
25966 wxWindow
*result
= 0 ;
25969 PyObject
*swig_obj
[1] ;
25971 if (!args
) SWIG_fail
;
25972 swig_obj
[0] = args
;
25973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindowDestroyEvent
, 0 | 0 );
25974 if (!SWIG_IsOK(res1
)) {
25975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "WindowDestroyEvent_GetWindow" "', expected argument " "1"" of type '" "wxWindowDestroyEvent const *""'");
25977 arg1
= reinterpret_cast< wxWindowDestroyEvent
* >(argp1
);
25979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25980 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
25981 wxPyEndAllowThreads(__tstate
);
25982 if (PyErr_Occurred()) SWIG_fail
;
25985 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25993 SWIGINTERN PyObject
*WindowDestroyEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25995 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25996 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDestroyEvent
, SWIG_NewClientData(obj
));
25997 return SWIG_Py_Void();
26000 SWIGINTERN PyObject
*WindowDestroyEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26001 return SWIG_Python_InitShadowInstance(args
);
26004 SWIGINTERN PyObject
*_wrap_new_ContextMenuEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26005 PyObject
*resultobj
= 0;
26006 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
26007 int arg2
= (int) 0 ;
26008 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
26009 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
26010 wxContextMenuEvent
*result
= 0 ;
26016 PyObject
* obj0
= 0 ;
26017 PyObject
* obj1
= 0 ;
26018 PyObject
* obj2
= 0 ;
26019 char * kwnames
[] = {
26020 (char *) "type",(char *) "winid",(char *) "pt", NULL
26023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26025 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26026 if (!SWIG_IsOK(ecode1
)) {
26027 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ContextMenuEvent" "', expected argument " "1"" of type '" "wxEventType""'");
26029 arg1
= static_cast< wxEventType
>(val1
);
26032 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26033 if (!SWIG_IsOK(ecode2
)) {
26034 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextMenuEvent" "', expected argument " "2"" of type '" "int""'");
26036 arg2
= static_cast< int >(val2
);
26041 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26046 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
26047 wxPyEndAllowThreads(__tstate
);
26048 if (PyErr_Occurred()) SWIG_fail
;
26050 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_NEW
| 0 );
26057 SWIGINTERN PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26058 PyObject
*resultobj
= 0;
26059 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
26060 wxPoint
*result
= 0 ;
26063 PyObject
*swig_obj
[1] ;
26065 if (!args
) SWIG_fail
;
26066 swig_obj
[0] = args
;
26067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextMenuEvent
, 0 | 0 );
26068 if (!SWIG_IsOK(res1
)) {
26069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextMenuEvent_GetPosition" "', expected argument " "1"" of type '" "wxContextMenuEvent const *""'");
26071 arg1
= reinterpret_cast< wxContextMenuEvent
* >(argp1
);
26073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26075 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
26076 result
= (wxPoint
*) &_result_ref
;
26078 wxPyEndAllowThreads(__tstate
);
26079 if (PyErr_Occurred()) SWIG_fail
;
26081 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
26088 SWIGINTERN PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26089 PyObject
*resultobj
= 0;
26090 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
26091 wxPoint
*arg2
= 0 ;
26095 PyObject
* obj0
= 0 ;
26096 PyObject
* obj1
= 0 ;
26097 char * kwnames
[] = {
26098 (char *) "self",(char *) "pos", NULL
26101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextMenuEvent
, 0 | 0 );
26103 if (!SWIG_IsOK(res1
)) {
26104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextMenuEvent_SetPosition" "', expected argument " "1"" of type '" "wxContextMenuEvent *""'");
26106 arg1
= reinterpret_cast< wxContextMenuEvent
* >(argp1
);
26109 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26113 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
26114 wxPyEndAllowThreads(__tstate
);
26115 if (PyErr_Occurred()) SWIG_fail
;
26117 resultobj
= SWIG_Py_Void();
26124 SWIGINTERN PyObject
*ContextMenuEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26126 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26127 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextMenuEvent
, SWIG_NewClientData(obj
));
26128 return SWIG_Py_Void();
26131 SWIGINTERN PyObject
*ContextMenuEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26132 return SWIG_Python_InitShadowInstance(args
);
26135 SWIGINTERN PyObject
*_wrap_new_IdleEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26136 PyObject
*resultobj
= 0;
26137 wxIdleEvent
*result
= 0 ;
26139 if (!SWIG_Python_UnpackTuple(args
,"new_IdleEvent",0,0,0)) SWIG_fail
;
26141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26142 result
= (wxIdleEvent
*)new wxIdleEvent();
26143 wxPyEndAllowThreads(__tstate
);
26144 if (PyErr_Occurred()) SWIG_fail
;
26146 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_NEW
| 0 );
26153 SWIGINTERN PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26154 PyObject
*resultobj
= 0;
26155 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
26156 bool arg2
= (bool) true ;
26161 PyObject
* obj0
= 0 ;
26162 PyObject
* obj1
= 0 ;
26163 char * kwnames
[] = {
26164 (char *) "self",(char *) "needMore", NULL
26167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIdleEvent
, 0 | 0 );
26169 if (!SWIG_IsOK(res1
)) {
26170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IdleEvent_RequestMore" "', expected argument " "1"" of type '" "wxIdleEvent *""'");
26172 arg1
= reinterpret_cast< wxIdleEvent
* >(argp1
);
26174 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26175 if (!SWIG_IsOK(ecode2
)) {
26176 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IdleEvent_RequestMore" "', expected argument " "2"" of type '" "bool""'");
26178 arg2
= static_cast< bool >(val2
);
26181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26182 (arg1
)->RequestMore(arg2
);
26183 wxPyEndAllowThreads(__tstate
);
26184 if (PyErr_Occurred()) SWIG_fail
;
26186 resultobj
= SWIG_Py_Void();
26193 SWIGINTERN PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26194 PyObject
*resultobj
= 0;
26195 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
26199 PyObject
*swig_obj
[1] ;
26201 if (!args
) SWIG_fail
;
26202 swig_obj
[0] = args
;
26203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIdleEvent
, 0 | 0 );
26204 if (!SWIG_IsOK(res1
)) {
26205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IdleEvent_MoreRequested" "', expected argument " "1"" of type '" "wxIdleEvent const *""'");
26207 arg1
= reinterpret_cast< wxIdleEvent
* >(argp1
);
26209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26210 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
26211 wxPyEndAllowThreads(__tstate
);
26212 if (PyErr_Occurred()) SWIG_fail
;
26215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26223 SWIGINTERN PyObject
*_wrap_IdleEvent_SetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26224 PyObject
*resultobj
= 0;
26228 PyObject
* obj0
= 0 ;
26229 char * kwnames
[] = {
26230 (char *) "mode", NULL
26233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) SWIG_fail
;
26234 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26235 if (!SWIG_IsOK(ecode1
)) {
26236 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IdleEvent_SetMode" "', expected argument " "1"" of type '" "wxIdleMode""'");
26238 arg1
= static_cast< wxIdleMode
>(val1
);
26240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26241 wxIdleEvent::SetMode(arg1
);
26242 wxPyEndAllowThreads(__tstate
);
26243 if (PyErr_Occurred()) SWIG_fail
;
26245 resultobj
= SWIG_Py_Void();
26252 SWIGINTERN PyObject
*_wrap_IdleEvent_GetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26253 PyObject
*resultobj
= 0;
26256 if (!SWIG_Python_UnpackTuple(args
,"IdleEvent_GetMode",0,0,0)) SWIG_fail
;
26258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26259 result
= (wxIdleMode
)wxIdleEvent::GetMode();
26260 wxPyEndAllowThreads(__tstate
);
26261 if (PyErr_Occurred()) SWIG_fail
;
26263 resultobj
= SWIG_From_int(static_cast< int >(result
));
26270 SWIGINTERN PyObject
*_wrap_IdleEvent_CanSend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26271 PyObject
*resultobj
= 0;
26272 wxWindow
*arg1
= (wxWindow
*) 0 ;
26276 PyObject
* obj0
= 0 ;
26277 char * kwnames
[] = {
26278 (char *) "win", NULL
26281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) SWIG_fail
;
26282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26283 if (!SWIG_IsOK(res1
)) {
26284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IdleEvent_CanSend" "', expected argument " "1"" of type '" "wxWindow *""'");
26286 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
26288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26289 result
= (bool)wxIdleEvent::CanSend(arg1
);
26290 wxPyEndAllowThreads(__tstate
);
26291 if (PyErr_Occurred()) SWIG_fail
;
26294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26302 SWIGINTERN PyObject
*IdleEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26304 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26305 SWIG_TypeNewClientData(SWIGTYPE_p_wxIdleEvent
, SWIG_NewClientData(obj
));
26306 return SWIG_Py_Void();
26309 SWIGINTERN PyObject
*IdleEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26310 return SWIG_Python_InitShadowInstance(args
);
26313 SWIGINTERN PyObject
*_wrap_new_PyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26314 PyObject
*resultobj
= 0;
26315 int arg1
= (int) 0 ;
26316 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
26317 wxPyEvent
*result
= 0 ;
26322 PyObject
* obj0
= 0 ;
26323 PyObject
* obj1
= 0 ;
26324 char * kwnames
[] = {
26325 (char *) "winid",(char *) "eventType", NULL
26328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26330 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26331 if (!SWIG_IsOK(ecode1
)) {
26332 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyEvent" "', expected argument " "1"" of type '" "int""'");
26334 arg1
= static_cast< int >(val1
);
26337 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26338 if (!SWIG_IsOK(ecode2
)) {
26339 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyEvent" "', expected argument " "2"" of type '" "wxEventType""'");
26341 arg2
= static_cast< wxEventType
>(val2
);
26344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26345 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
26346 wxPyEndAllowThreads(__tstate
);
26347 if (PyErr_Occurred()) SWIG_fail
;
26349 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_NEW
| 0 );
26356 SWIGINTERN PyObject
*_wrap_delete_PyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26357 PyObject
*resultobj
= 0;
26358 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
26361 PyObject
*swig_obj
[1] ;
26363 if (!args
) SWIG_fail
;
26364 swig_obj
[0] = args
;
26365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_DISOWN
| 0 );
26366 if (!SWIG_IsOK(res1
)) {
26367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyEvent" "', expected argument " "1"" of type '" "wxPyEvent *""'");
26369 arg1
= reinterpret_cast< wxPyEvent
* >(argp1
);
26371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26374 wxPyEndAllowThreads(__tstate
);
26375 if (PyErr_Occurred()) SWIG_fail
;
26377 resultobj
= SWIG_Py_Void();
26384 SWIGINTERN PyObject
*_wrap_PyEvent__SetSelf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26385 PyObject
*resultobj
= 0;
26386 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
26387 PyObject
*arg2
= (PyObject
*) 0 ;
26390 PyObject
* obj0
= 0 ;
26391 PyObject
* obj1
= 0 ;
26392 char * kwnames
[] = {
26393 (char *) "self",(char *) "self", NULL
26396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent__SetSelf",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyEvent
, 0 | 0 );
26398 if (!SWIG_IsOK(res1
)) {
26399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyEvent__SetSelf" "', expected argument " "1"" of type '" "wxPyEvent *""'");
26401 arg1
= reinterpret_cast< wxPyEvent
* >(argp1
);
26404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26405 (arg1
)->SetSelf(arg2
);
26406 wxPyEndAllowThreads(__tstate
);
26407 if (PyErr_Occurred()) SWIG_fail
;
26409 resultobj
= SWIG_Py_Void();
26416 SWIGINTERN PyObject
*_wrap_PyEvent__GetSelf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26417 PyObject
*resultobj
= 0;
26418 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
26419 PyObject
*result
= 0 ;
26422 PyObject
*swig_obj
[1] ;
26424 if (!args
) SWIG_fail
;
26425 swig_obj
[0] = args
;
26426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyEvent
, 0 | 0 );
26427 if (!SWIG_IsOK(res1
)) {
26428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyEvent__GetSelf" "', expected argument " "1"" of type '" "wxPyEvent *""'");
26430 arg1
= reinterpret_cast< wxPyEvent
* >(argp1
);
26432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26433 result
= (PyObject
*)(arg1
)->GetSelf();
26434 wxPyEndAllowThreads(__tstate
);
26435 if (PyErr_Occurred()) SWIG_fail
;
26437 resultobj
= result
;
26444 SWIGINTERN PyObject
*PyEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26446 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26447 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyEvent
, SWIG_NewClientData(obj
));
26448 return SWIG_Py_Void();
26451 SWIGINTERN PyObject
*PyEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26452 return SWIG_Python_InitShadowInstance(args
);
26455 SWIGINTERN PyObject
*_wrap_new_PyCommandEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26456 PyObject
*resultobj
= 0;
26457 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
26458 int arg2
= (int) 0 ;
26459 wxPyCommandEvent
*result
= 0 ;
26464 PyObject
* obj0
= 0 ;
26465 PyObject
* obj1
= 0 ;
26466 char * kwnames
[] = {
26467 (char *) "eventType",(char *) "id", NULL
26470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26472 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26473 if (!SWIG_IsOK(ecode1
)) {
26474 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyCommandEvent" "', expected argument " "1"" of type '" "wxEventType""'");
26476 arg1
= static_cast< wxEventType
>(val1
);
26479 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26480 if (!SWIG_IsOK(ecode2
)) {
26481 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyCommandEvent" "', expected argument " "2"" of type '" "int""'");
26483 arg2
= static_cast< int >(val2
);
26486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26487 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
26488 wxPyEndAllowThreads(__tstate
);
26489 if (PyErr_Occurred()) SWIG_fail
;
26491 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_NEW
| 0 );
26498 SWIGINTERN PyObject
*_wrap_delete_PyCommandEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26499 PyObject
*resultobj
= 0;
26500 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
26503 PyObject
*swig_obj
[1] ;
26505 if (!args
) SWIG_fail
;
26506 swig_obj
[0] = args
;
26507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_DISOWN
| 0 );
26508 if (!SWIG_IsOK(res1
)) {
26509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyCommandEvent" "', expected argument " "1"" of type '" "wxPyCommandEvent *""'");
26511 arg1
= reinterpret_cast< wxPyCommandEvent
* >(argp1
);
26513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26516 wxPyEndAllowThreads(__tstate
);
26517 if (PyErr_Occurred()) SWIG_fail
;
26519 resultobj
= SWIG_Py_Void();
26526 SWIGINTERN PyObject
*_wrap_PyCommandEvent__SetSelf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26527 PyObject
*resultobj
= 0;
26528 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
26529 PyObject
*arg2
= (PyObject
*) 0 ;
26532 PyObject
* obj0
= 0 ;
26533 PyObject
* obj1
= 0 ;
26534 char * kwnames
[] = {
26535 (char *) "self",(char *) "self", NULL
26538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent__SetSelf",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyCommandEvent
, 0 | 0 );
26540 if (!SWIG_IsOK(res1
)) {
26541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyCommandEvent__SetSelf" "', expected argument " "1"" of type '" "wxPyCommandEvent *""'");
26543 arg1
= reinterpret_cast< wxPyCommandEvent
* >(argp1
);
26546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26547 (arg1
)->SetSelf(arg2
);
26548 wxPyEndAllowThreads(__tstate
);
26549 if (PyErr_Occurred()) SWIG_fail
;
26551 resultobj
= SWIG_Py_Void();
26558 SWIGINTERN PyObject
*_wrap_PyCommandEvent__GetSelf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26559 PyObject
*resultobj
= 0;
26560 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
26561 PyObject
*result
= 0 ;
26564 PyObject
*swig_obj
[1] ;
26566 if (!args
) SWIG_fail
;
26567 swig_obj
[0] = args
;
26568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyCommandEvent
, 0 | 0 );
26569 if (!SWIG_IsOK(res1
)) {
26570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyCommandEvent__GetSelf" "', expected argument " "1"" of type '" "wxPyCommandEvent *""'");
26572 arg1
= reinterpret_cast< wxPyCommandEvent
* >(argp1
);
26574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26575 result
= (PyObject
*)(arg1
)->GetSelf();
26576 wxPyEndAllowThreads(__tstate
);
26577 if (PyErr_Occurred()) SWIG_fail
;
26579 resultobj
= result
;
26586 SWIGINTERN PyObject
*PyCommandEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26588 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26589 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyCommandEvent
, SWIG_NewClientData(obj
));
26590 return SWIG_Py_Void();
26593 SWIGINTERN PyObject
*PyCommandEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26594 return SWIG_Python_InitShadowInstance(args
);
26597 SWIGINTERN PyObject
*_wrap_new_DateEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26598 PyObject
*resultobj
= 0;
26599 wxWindow
*arg1
= (wxWindow
*) 0 ;
26600 wxDateTime
*arg2
= 0 ;
26602 wxDateEvent
*result
= 0 ;
26609 PyObject
* obj0
= 0 ;
26610 PyObject
* obj1
= 0 ;
26611 PyObject
* obj2
= 0 ;
26612 char * kwnames
[] = {
26613 (char *) "win",(char *) "dt",(char *) "type", NULL
26616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_DateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26618 if (!SWIG_IsOK(res1
)) {
26619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DateEvent" "', expected argument " "1"" of type '" "wxWindow *""'");
26621 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
26622 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26623 if (!SWIG_IsOK(res2
)) {
26624 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DateEvent" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26627 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DateEvent" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26629 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26630 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26631 if (!SWIG_IsOK(ecode3
)) {
26632 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateEvent" "', expected argument " "3"" of type '" "wxEventType""'");
26634 arg3
= static_cast< wxEventType
>(val3
);
26636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26637 result
= (wxDateEvent
*)new wxDateEvent(arg1
,(wxDateTime
const &)*arg2
,arg3
);
26638 wxPyEndAllowThreads(__tstate
);
26639 if (PyErr_Occurred()) SWIG_fail
;
26641 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_NEW
| 0 );
26648 SWIGINTERN PyObject
*_wrap_DateEvent_GetDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26649 PyObject
*resultobj
= 0;
26650 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
26651 wxDateTime
*result
= 0 ;
26654 PyObject
*swig_obj
[1] ;
26656 if (!args
) SWIG_fail
;
26657 swig_obj
[0] = args
;
26658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateEvent
, 0 | 0 );
26659 if (!SWIG_IsOK(res1
)) {
26660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateEvent_GetDate" "', expected argument " "1"" of type '" "wxDateEvent const *""'");
26662 arg1
= reinterpret_cast< wxDateEvent
* >(argp1
);
26664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26666 wxDateTime
const &_result_ref
= ((wxDateEvent
const *)arg1
)->GetDate();
26667 result
= (wxDateTime
*) &_result_ref
;
26669 wxPyEndAllowThreads(__tstate
);
26670 if (PyErr_Occurred()) SWIG_fail
;
26672 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26679 SWIGINTERN PyObject
*_wrap_DateEvent_SetDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26680 PyObject
*resultobj
= 0;
26681 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
26682 wxDateTime
*arg2
= 0 ;
26687 PyObject
* obj0
= 0 ;
26688 PyObject
* obj1
= 0 ;
26689 char * kwnames
[] = {
26690 (char *) "self",(char *) "date", NULL
26693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateEvent_SetDate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateEvent
, 0 | 0 );
26695 if (!SWIG_IsOK(res1
)) {
26696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateEvent_SetDate" "', expected argument " "1"" of type '" "wxDateEvent *""'");
26698 arg1
= reinterpret_cast< wxDateEvent
* >(argp1
);
26699 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26700 if (!SWIG_IsOK(res2
)) {
26701 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateEvent_SetDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26704 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateEvent_SetDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26706 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26709 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
26710 wxPyEndAllowThreads(__tstate
);
26711 if (PyErr_Occurred()) SWIG_fail
;
26713 resultobj
= SWIG_Py_Void();
26720 SWIGINTERN PyObject
*DateEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26722 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26723 SWIG_TypeNewClientData(SWIGTYPE_p_wxDateEvent
, SWIG_NewClientData(obj
));
26724 return SWIG_Py_Void();
26727 SWIGINTERN PyObject
*DateEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26728 return SWIG_Python_InitShadowInstance(args
);
26731 SWIGINTERN PyObject
*_wrap_new_PyApp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26732 PyObject
*resultobj
= 0;
26733 wxPyApp
*result
= 0 ;
26735 if (!SWIG_Python_UnpackTuple(args
,"new_PyApp",0,0,0)) SWIG_fail
;
26737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26738 result
= (wxPyApp
*)new_wxPyApp();
26739 wxPyEndAllowThreads(__tstate
);
26740 if (PyErr_Occurred()) SWIG_fail
;
26742 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyApp
, SWIG_POINTER_NEW
| 0 );
26749 SWIGINTERN PyObject
*_wrap_delete_PyApp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26750 PyObject
*resultobj
= 0;
26751 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
26754 PyObject
*swig_obj
[1] ;
26756 if (!args
) SWIG_fail
;
26757 swig_obj
[0] = args
;
26758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, SWIG_POINTER_DISOWN
| 0 );
26759 if (!SWIG_IsOK(res1
)) {
26760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyApp" "', expected argument " "1"" of type '" "wxPyApp *""'");
26762 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
26764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26767 wxPyEndAllowThreads(__tstate
);
26768 if (PyErr_Occurred()) SWIG_fail
;
26770 resultobj
= SWIG_Py_Void();
26777 SWIGINTERN PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26778 PyObject
*resultobj
= 0;
26779 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
26780 PyObject
*arg2
= (PyObject
*) 0 ;
26781 PyObject
*arg3
= (PyObject
*) 0 ;
26787 PyObject
* obj0
= 0 ;
26788 PyObject
* obj1
= 0 ;
26789 PyObject
* obj2
= 0 ;
26790 PyObject
* obj3
= 0 ;
26791 char * kwnames
[] = {
26792 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
26795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
26797 if (!SWIG_IsOK(res1
)) {
26798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyApp *""'");
26800 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
26803 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
26804 if (!SWIG_IsOK(ecode4
)) {
26805 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyApp__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
26807 arg4
= static_cast< bool >(val4
);
26809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26810 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
26811 wxPyEndAllowThreads(__tstate
);
26812 if (PyErr_Occurred()) SWIG_fail
;
26814 resultobj
= SWIG_Py_Void();
26821 SWIGINTERN PyObject
*_wrap_PyApp_GetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26822 PyObject
*resultobj
= 0;
26823 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
26827 PyObject
*swig_obj
[1] ;
26829 if (!args
) SWIG_fail
;
26830 swig_obj
[0] = args
;
26831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
26832 if (!SWIG_IsOK(res1
)) {
26833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetAppName" "', expected argument " "1"" of type '" "wxPyApp const *""'");
26835 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
26837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26838 result
= ((wxPyApp
const *)arg1
)->GetAppName();
26839 wxPyEndAllowThreads(__tstate
);
26840 if (PyErr_Occurred()) SWIG_fail
;
26844 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26846 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26855 SWIGINTERN PyObject
*_wrap_PyApp_SetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26856 PyObject
*resultobj
= 0;
26857 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
26858 wxString
*arg2
= 0 ;
26861 bool temp2
= false ;
26862 PyObject
* obj0
= 0 ;
26863 PyObject
* obj1
= 0 ;
26864 char * kwnames
[] = {
26865 (char *) "self",(char *) "name", NULL
26868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
26870 if (!SWIG_IsOK(res1
)) {
26871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetAppName" "', expected argument " "1"" of type '" "wxPyApp *""'");
26873 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
26875 arg2
= wxString_in_helper(obj1
);
26876 if (arg2
== NULL
) SWIG_fail
;
26880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26881 (arg1
)->SetAppName((wxString
const &)*arg2
);
26882 wxPyEndAllowThreads(__tstate
);
26883 if (PyErr_Occurred()) SWIG_fail
;
26885 resultobj
= SWIG_Py_Void();
26900 SWIGINTERN PyObject
*_wrap_PyApp_GetClassName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26901 PyObject
*resultobj
= 0;
26902 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
26906 PyObject
*swig_obj
[1] ;
26908 if (!args
) SWIG_fail
;
26909 swig_obj
[0] = args
;
26910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
26911 if (!SWIG_IsOK(res1
)) {
26912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetClassName" "', expected argument " "1"" of type '" "wxPyApp const *""'");
26914 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
26916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26917 result
= ((wxPyApp
const *)arg1
)->GetClassName();
26918 wxPyEndAllowThreads(__tstate
);
26919 if (PyErr_Occurred()) SWIG_fail
;
26923 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26925 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26934 SWIGINTERN PyObject
*_wrap_PyApp_SetClassName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26935 PyObject
*resultobj
= 0;
26936 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
26937 wxString
*arg2
= 0 ;
26940 bool temp2
= false ;
26941 PyObject
* obj0
= 0 ;
26942 PyObject
* obj1
= 0 ;
26943 char * kwnames
[] = {
26944 (char *) "self",(char *) "name", NULL
26947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
26949 if (!SWIG_IsOK(res1
)) {
26950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetClassName" "', expected argument " "1"" of type '" "wxPyApp *""'");
26952 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
26954 arg2
= wxString_in_helper(obj1
);
26955 if (arg2
== NULL
) SWIG_fail
;
26959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26960 (arg1
)->SetClassName((wxString
const &)*arg2
);
26961 wxPyEndAllowThreads(__tstate
);
26962 if (PyErr_Occurred()) SWIG_fail
;
26964 resultobj
= SWIG_Py_Void();
26979 SWIGINTERN PyObject
*_wrap_PyApp_GetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26980 PyObject
*resultobj
= 0;
26981 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
26982 wxString
*result
= 0 ;
26985 PyObject
*swig_obj
[1] ;
26987 if (!args
) SWIG_fail
;
26988 swig_obj
[0] = args
;
26989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
26990 if (!SWIG_IsOK(res1
)) {
26991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetVendorName" "', expected argument " "1"" of type '" "wxPyApp const *""'");
26993 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
26995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26997 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
26998 result
= (wxString
*) &_result_ref
;
27000 wxPyEndAllowThreads(__tstate
);
27001 if (PyErr_Occurred()) SWIG_fail
;
27005 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27007 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27016 SWIGINTERN PyObject
*_wrap_PyApp_SetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27017 PyObject
*resultobj
= 0;
27018 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27019 wxString
*arg2
= 0 ;
27022 bool temp2
= false ;
27023 PyObject
* obj0
= 0 ;
27024 PyObject
* obj1
= 0 ;
27025 char * kwnames
[] = {
27026 (char *) "self",(char *) "name", NULL
27029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27031 if (!SWIG_IsOK(res1
)) {
27032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetVendorName" "', expected argument " "1"" of type '" "wxPyApp *""'");
27034 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27036 arg2
= wxString_in_helper(obj1
);
27037 if (arg2
== NULL
) SWIG_fail
;
27041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27042 (arg1
)->SetVendorName((wxString
const &)*arg2
);
27043 wxPyEndAllowThreads(__tstate
);
27044 if (PyErr_Occurred()) SWIG_fail
;
27046 resultobj
= SWIG_Py_Void();
27061 SWIGINTERN PyObject
*_wrap_PyApp_GetTraits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27062 PyObject
*resultobj
= 0;
27063 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27064 wxAppTraits
*result
= 0 ;
27067 PyObject
*swig_obj
[1] ;
27069 if (!args
) SWIG_fail
;
27070 swig_obj
[0] = args
;
27071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27072 if (!SWIG_IsOK(res1
)) {
27073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetTraits" "', expected argument " "1"" of type '" "wxPyApp *""'");
27075 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27078 result
= (wxAppTraits
*)(arg1
)->GetTraits();
27079 wxPyEndAllowThreads(__tstate
);
27080 if (PyErr_Occurred()) SWIG_fail
;
27082 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAppTraits
, 0 | 0 );
27089 SWIGINTERN PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27090 PyObject
*resultobj
= 0;
27091 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27094 PyObject
*swig_obj
[1] ;
27096 if (!args
) SWIG_fail
;
27097 swig_obj
[0] = args
;
27098 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27099 if (!SWIG_IsOK(res1
)) {
27100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_ProcessPendingEvents" "', expected argument " "1"" of type '" "wxPyApp *""'");
27102 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27105 (arg1
)->ProcessPendingEvents();
27106 wxPyEndAllowThreads(__tstate
);
27107 if (PyErr_Occurred()) SWIG_fail
;
27109 resultobj
= SWIG_Py_Void();
27116 SWIGINTERN PyObject
*_wrap_PyApp_Yield(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27117 PyObject
*resultobj
= 0;
27118 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27119 bool arg2
= (bool) false ;
27125 PyObject
* obj0
= 0 ;
27126 PyObject
* obj1
= 0 ;
27127 char * kwnames
[] = {
27128 (char *) "self",(char *) "onlyIfNeeded", NULL
27131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27133 if (!SWIG_IsOK(res1
)) {
27134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_Yield" "', expected argument " "1"" of type '" "wxPyApp *""'");
27136 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27138 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27139 if (!SWIG_IsOK(ecode2
)) {
27140 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyApp_Yield" "', expected argument " "2"" of type '" "bool""'");
27142 arg2
= static_cast< bool >(val2
);
27145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27146 result
= (bool)(arg1
)->Yield(arg2
);
27147 wxPyEndAllowThreads(__tstate
);
27148 if (PyErr_Occurred()) SWIG_fail
;
27151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27159 SWIGINTERN PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27160 PyObject
*resultobj
= 0;
27161 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27164 PyObject
*swig_obj
[1] ;
27166 if (!args
) SWIG_fail
;
27167 swig_obj
[0] = args
;
27168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27169 if (!SWIG_IsOK(res1
)) {
27170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_WakeUpIdle" "', expected argument " "1"" of type '" "wxPyApp *""'");
27172 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27175 (arg1
)->WakeUpIdle();
27176 wxPyEndAllowThreads(__tstate
);
27177 if (PyErr_Occurred()) SWIG_fail
;
27179 resultobj
= SWIG_Py_Void();
27186 SWIGINTERN PyObject
*_wrap_PyApp_IsMainLoopRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27187 PyObject
*resultobj
= 0;
27190 if (!SWIG_Python_UnpackTuple(args
,"PyApp_IsMainLoopRunning",0,0,0)) SWIG_fail
;
27192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27193 result
= (bool)wxPyApp::IsMainLoopRunning();
27194 wxPyEndAllowThreads(__tstate
);
27195 if (PyErr_Occurred()) SWIG_fail
;
27198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27206 SWIGINTERN PyObject
*_wrap_PyApp_MainLoop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27207 PyObject
*resultobj
= 0;
27208 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27212 PyObject
*swig_obj
[1] ;
27214 if (!args
) SWIG_fail
;
27215 swig_obj
[0] = args
;
27216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27217 if (!SWIG_IsOK(res1
)) {
27218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_MainLoop" "', expected argument " "1"" of type '" "wxPyApp *""'");
27220 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27223 result
= (int)(arg1
)->MainLoop();
27224 wxPyEndAllowThreads(__tstate
);
27225 if (PyErr_Occurred()) SWIG_fail
;
27227 resultobj
= SWIG_From_int(static_cast< int >(result
));
27234 SWIGINTERN PyObject
*_wrap_PyApp_Exit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27235 PyObject
*resultobj
= 0;
27236 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27239 PyObject
*swig_obj
[1] ;
27241 if (!args
) SWIG_fail
;
27242 swig_obj
[0] = args
;
27243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27244 if (!SWIG_IsOK(res1
)) {
27245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_Exit" "', expected argument " "1"" of type '" "wxPyApp *""'");
27247 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27251 wxPyEndAllowThreads(__tstate
);
27252 if (PyErr_Occurred()) SWIG_fail
;
27254 resultobj
= SWIG_Py_Void();
27261 SWIGINTERN PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27262 PyObject
*resultobj
= 0;
27263 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27266 PyObject
*swig_obj
[1] ;
27268 if (!args
) SWIG_fail
;
27269 swig_obj
[0] = args
;
27270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27271 if (!SWIG_IsOK(res1
)) {
27272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_ExitMainLoop" "', expected argument " "1"" of type '" "wxPyApp *""'");
27274 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27277 (arg1
)->ExitMainLoop();
27278 wxPyEndAllowThreads(__tstate
);
27279 if (PyErr_Occurred()) SWIG_fail
;
27281 resultobj
= SWIG_Py_Void();
27288 SWIGINTERN PyObject
*_wrap_PyApp_Pending(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27289 PyObject
*resultobj
= 0;
27290 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27294 PyObject
*swig_obj
[1] ;
27296 if (!args
) SWIG_fail
;
27297 swig_obj
[0] = args
;
27298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27299 if (!SWIG_IsOK(res1
)) {
27300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_Pending" "', expected argument " "1"" of type '" "wxPyApp *""'");
27302 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27305 result
= (bool)(arg1
)->Pending();
27306 wxPyEndAllowThreads(__tstate
);
27307 if (PyErr_Occurred()) SWIG_fail
;
27310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27318 SWIGINTERN PyObject
*_wrap_PyApp_Dispatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27319 PyObject
*resultobj
= 0;
27320 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27324 PyObject
*swig_obj
[1] ;
27326 if (!args
) SWIG_fail
;
27327 swig_obj
[0] = args
;
27328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27329 if (!SWIG_IsOK(res1
)) {
27330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_Dispatch" "', expected argument " "1"" of type '" "wxPyApp *""'");
27332 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27335 result
= (bool)(arg1
)->Dispatch();
27336 wxPyEndAllowThreads(__tstate
);
27337 if (PyErr_Occurred()) SWIG_fail
;
27340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27348 SWIGINTERN PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27349 PyObject
*resultobj
= 0;
27350 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27354 PyObject
*swig_obj
[1] ;
27356 if (!args
) SWIG_fail
;
27357 swig_obj
[0] = args
;
27358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27359 if (!SWIG_IsOK(res1
)) {
27360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_ProcessIdle" "', expected argument " "1"" of type '" "wxPyApp *""'");
27362 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27365 result
= (bool)(arg1
)->ProcessIdle();
27366 wxPyEndAllowThreads(__tstate
);
27367 if (PyErr_Occurred()) SWIG_fail
;
27370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27378 SWIGINTERN PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27379 PyObject
*resultobj
= 0;
27380 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27381 wxWindow
*arg2
= (wxWindow
*) 0 ;
27382 wxIdleEvent
*arg3
= 0 ;
27390 PyObject
* obj0
= 0 ;
27391 PyObject
* obj1
= 0 ;
27392 PyObject
* obj2
= 0 ;
27393 char * kwnames
[] = {
27394 (char *) "self",(char *) "win",(char *) "event", NULL
27397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27399 if (!SWIG_IsOK(res1
)) {
27400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SendIdleEvents" "', expected argument " "1"" of type '" "wxPyApp *""'");
27402 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27403 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27404 if (!SWIG_IsOK(res2
)) {
27405 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyApp_SendIdleEvents" "', expected argument " "2"" of type '" "wxWindow *""'");
27407 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27408 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxIdleEvent
, 0 );
27409 if (!SWIG_IsOK(res3
)) {
27410 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyApp_SendIdleEvents" "', expected argument " "3"" of type '" "wxIdleEvent &""'");
27413 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PyApp_SendIdleEvents" "', expected argument " "3"" of type '" "wxIdleEvent &""'");
27415 arg3
= reinterpret_cast< wxIdleEvent
* >(argp3
);
27417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27418 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
27419 wxPyEndAllowThreads(__tstate
);
27420 if (PyErr_Occurred()) SWIG_fail
;
27423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27431 SWIGINTERN PyObject
*_wrap_PyApp_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27432 PyObject
*resultobj
= 0;
27433 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27437 PyObject
*swig_obj
[1] ;
27439 if (!args
) SWIG_fail
;
27440 swig_obj
[0] = args
;
27441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27442 if (!SWIG_IsOK(res1
)) {
27443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_IsActive" "', expected argument " "1"" of type '" "wxPyApp const *""'");
27445 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27448 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
27449 wxPyEndAllowThreads(__tstate
);
27450 if (PyErr_Occurred()) SWIG_fail
;
27453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27461 SWIGINTERN PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27462 PyObject
*resultobj
= 0;
27463 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27464 wxWindow
*arg2
= (wxWindow
*) 0 ;
27469 PyObject
* obj0
= 0 ;
27470 PyObject
* obj1
= 0 ;
27471 char * kwnames
[] = {
27472 (char *) "self",(char *) "win", NULL
27475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27477 if (!SWIG_IsOK(res1
)) {
27478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetTopWindow" "', expected argument " "1"" of type '" "wxPyApp *""'");
27480 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27481 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27482 if (!SWIG_IsOK(res2
)) {
27483 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyApp_SetTopWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27485 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27488 (arg1
)->SetTopWindow(arg2
);
27489 wxPyEndAllowThreads(__tstate
);
27490 if (PyErr_Occurred()) SWIG_fail
;
27492 resultobj
= SWIG_Py_Void();
27499 SWIGINTERN PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27500 PyObject
*resultobj
= 0;
27501 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27502 wxWindow
*result
= 0 ;
27505 PyObject
*swig_obj
[1] ;
27507 if (!args
) SWIG_fail
;
27508 swig_obj
[0] = args
;
27509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27510 if (!SWIG_IsOK(res1
)) {
27511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetTopWindow" "', expected argument " "1"" of type '" "wxPyApp const *""'");
27513 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27516 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
27517 wxPyEndAllowThreads(__tstate
);
27518 if (PyErr_Occurred()) SWIG_fail
;
27521 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27529 SWIGINTERN PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27530 PyObject
*resultobj
= 0;
27531 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27537 PyObject
* obj0
= 0 ;
27538 PyObject
* obj1
= 0 ;
27539 char * kwnames
[] = {
27540 (char *) "self",(char *) "flag", NULL
27543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27545 if (!SWIG_IsOK(res1
)) {
27546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetExitOnFrameDelete" "', expected argument " "1"" of type '" "wxPyApp *""'");
27548 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27549 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27550 if (!SWIG_IsOK(ecode2
)) {
27551 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyApp_SetExitOnFrameDelete" "', expected argument " "2"" of type '" "bool""'");
27553 arg2
= static_cast< bool >(val2
);
27555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27556 (arg1
)->SetExitOnFrameDelete(arg2
);
27557 wxPyEndAllowThreads(__tstate
);
27558 if (PyErr_Occurred()) SWIG_fail
;
27560 resultobj
= SWIG_Py_Void();
27567 SWIGINTERN PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27568 PyObject
*resultobj
= 0;
27569 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27573 PyObject
*swig_obj
[1] ;
27575 if (!args
) SWIG_fail
;
27576 swig_obj
[0] = args
;
27577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27578 if (!SWIG_IsOK(res1
)) {
27579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetExitOnFrameDelete" "', expected argument " "1"" of type '" "wxPyApp const *""'");
27581 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27584 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
27585 wxPyEndAllowThreads(__tstate
);
27586 if (PyErr_Occurred()) SWIG_fail
;
27589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27597 SWIGINTERN PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27598 PyObject
*resultobj
= 0;
27599 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27605 PyObject
* obj0
= 0 ;
27606 PyObject
* obj1
= 0 ;
27607 char * kwnames
[] = {
27608 (char *) "self",(char *) "flag", NULL
27611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27613 if (!SWIG_IsOK(res1
)) {
27614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetUseBestVisual" "', expected argument " "1"" of type '" "wxPyApp *""'");
27616 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27617 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27618 if (!SWIG_IsOK(ecode2
)) {
27619 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyApp_SetUseBestVisual" "', expected argument " "2"" of type '" "bool""'");
27621 arg2
= static_cast< bool >(val2
);
27623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27624 (arg1
)->SetUseBestVisual(arg2
);
27625 wxPyEndAllowThreads(__tstate
);
27626 if (PyErr_Occurred()) SWIG_fail
;
27628 resultobj
= SWIG_Py_Void();
27635 SWIGINTERN PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27636 PyObject
*resultobj
= 0;
27637 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27641 PyObject
*swig_obj
[1] ;
27643 if (!args
) SWIG_fail
;
27644 swig_obj
[0] = args
;
27645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27646 if (!SWIG_IsOK(res1
)) {
27647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetUseBestVisual" "', expected argument " "1"" of type '" "wxPyApp const *""'");
27649 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27652 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
27653 wxPyEndAllowThreads(__tstate
);
27654 if (PyErr_Occurred()) SWIG_fail
;
27657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27665 SWIGINTERN PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27666 PyObject
*resultobj
= 0;
27667 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27673 PyObject
* obj0
= 0 ;
27674 PyObject
* obj1
= 0 ;
27675 char * kwnames
[] = {
27676 (char *) "self",(char *) "mode", NULL
27679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27681 if (!SWIG_IsOK(res1
)) {
27682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetPrintMode" "', expected argument " "1"" of type '" "wxPyApp *""'");
27684 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27685 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27686 if (!SWIG_IsOK(ecode2
)) {
27687 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyApp_SetPrintMode" "', expected argument " "2"" of type '" "int""'");
27689 arg2
= static_cast< int >(val2
);
27691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27692 (arg1
)->SetPrintMode(arg2
);
27693 wxPyEndAllowThreads(__tstate
);
27694 if (PyErr_Occurred()) SWIG_fail
;
27696 resultobj
= SWIG_Py_Void();
27703 SWIGINTERN PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27704 PyObject
*resultobj
= 0;
27705 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27709 PyObject
*swig_obj
[1] ;
27711 if (!args
) SWIG_fail
;
27712 swig_obj
[0] = args
;
27713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27714 if (!SWIG_IsOK(res1
)) {
27715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetPrintMode" "', expected argument " "1"" of type '" "wxPyApp const *""'");
27717 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27720 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
27721 wxPyEndAllowThreads(__tstate
);
27722 if (PyErr_Occurred()) SWIG_fail
;
27724 resultobj
= SWIG_From_int(static_cast< int >(result
));
27731 SWIGINTERN PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27732 PyObject
*resultobj
= 0;
27733 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27739 PyObject
* obj0
= 0 ;
27740 PyObject
* obj1
= 0 ;
27741 char * kwnames
[] = {
27742 (char *) "self",(char *) "mode", NULL
27745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27747 if (!SWIG_IsOK(res1
)) {
27748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetAssertMode" "', expected argument " "1"" of type '" "wxPyApp *""'");
27750 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27751 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27752 if (!SWIG_IsOK(ecode2
)) {
27753 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyApp_SetAssertMode" "', expected argument " "2"" of type '" "int""'");
27755 arg2
= static_cast< int >(val2
);
27757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27758 (arg1
)->SetAssertMode(arg2
);
27759 wxPyEndAllowThreads(__tstate
);
27760 if (PyErr_Occurred()) SWIG_fail
;
27762 resultobj
= SWIG_Py_Void();
27769 SWIGINTERN PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27770 PyObject
*resultobj
= 0;
27771 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27775 PyObject
*swig_obj
[1] ;
27777 if (!args
) SWIG_fail
;
27778 swig_obj
[0] = args
;
27779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27780 if (!SWIG_IsOK(res1
)) {
27781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetAssertMode" "', expected argument " "1"" of type '" "wxPyApp *""'");
27783 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27786 result
= (int)(arg1
)->GetAssertMode();
27787 wxPyEndAllowThreads(__tstate
);
27788 if (PyErr_Occurred()) SWIG_fail
;
27790 resultobj
= SWIG_From_int(static_cast< int >(result
));
27797 SWIGINTERN PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27798 PyObject
*resultobj
= 0;
27801 if (!SWIG_Python_UnpackTuple(args
,"PyApp_GetMacSupportPCMenuShortcuts",0,0,0)) SWIG_fail
;
27803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27804 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
27805 wxPyEndAllowThreads(__tstate
);
27806 if (PyErr_Occurred()) SWIG_fail
;
27809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27817 SWIGINTERN PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27818 PyObject
*resultobj
= 0;
27821 if (!SWIG_Python_UnpackTuple(args
,"PyApp_GetMacAboutMenuItemId",0,0,0)) SWIG_fail
;
27823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27824 result
= (long)wxPyApp::GetMacAboutMenuItemId();
27825 wxPyEndAllowThreads(__tstate
);
27826 if (PyErr_Occurred()) SWIG_fail
;
27828 resultobj
= SWIG_From_long(static_cast< long >(result
));
27835 SWIGINTERN PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27836 PyObject
*resultobj
= 0;
27839 if (!SWIG_Python_UnpackTuple(args
,"PyApp_GetMacPreferencesMenuItemId",0,0,0)) SWIG_fail
;
27841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27842 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
27843 wxPyEndAllowThreads(__tstate
);
27844 if (PyErr_Occurred()) SWIG_fail
;
27846 resultobj
= SWIG_From_long(static_cast< long >(result
));
27853 SWIGINTERN PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27854 PyObject
*resultobj
= 0;
27857 if (!SWIG_Python_UnpackTuple(args
,"PyApp_GetMacExitMenuItemId",0,0,0)) SWIG_fail
;
27859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27860 result
= (long)wxPyApp::GetMacExitMenuItemId();
27861 wxPyEndAllowThreads(__tstate
);
27862 if (PyErr_Occurred()) SWIG_fail
;
27864 resultobj
= SWIG_From_long(static_cast< long >(result
));
27871 SWIGINTERN PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27872 PyObject
*resultobj
= 0;
27875 if (!SWIG_Python_UnpackTuple(args
,"PyApp_GetMacHelpMenuTitleName",0,0,0)) SWIG_fail
;
27877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27878 result
= wxPyApp::GetMacHelpMenuTitleName();
27879 wxPyEndAllowThreads(__tstate
);
27880 if (PyErr_Occurred()) SWIG_fail
;
27884 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27886 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27895 SWIGINTERN PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27896 PyObject
*resultobj
= 0;
27900 PyObject
* obj0
= 0 ;
27901 char * kwnames
[] = {
27902 (char *) "val", NULL
27905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) SWIG_fail
;
27906 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
27907 if (!SWIG_IsOK(ecode1
)) {
27908 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PyApp_SetMacSupportPCMenuShortcuts" "', expected argument " "1"" of type '" "bool""'");
27910 arg1
= static_cast< bool >(val1
);
27912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27913 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
27914 wxPyEndAllowThreads(__tstate
);
27915 if (PyErr_Occurred()) SWIG_fail
;
27917 resultobj
= SWIG_Py_Void();
27924 SWIGINTERN PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27925 PyObject
*resultobj
= 0;
27929 PyObject
* obj0
= 0 ;
27930 char * kwnames
[] = {
27931 (char *) "val", NULL
27934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) SWIG_fail
;
27935 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27936 if (!SWIG_IsOK(ecode1
)) {
27937 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PyApp_SetMacAboutMenuItemId" "', expected argument " "1"" of type '" "long""'");
27939 arg1
= static_cast< long >(val1
);
27941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27942 wxPyApp::SetMacAboutMenuItemId(arg1
);
27943 wxPyEndAllowThreads(__tstate
);
27944 if (PyErr_Occurred()) SWIG_fail
;
27946 resultobj
= SWIG_Py_Void();
27953 SWIGINTERN PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27954 PyObject
*resultobj
= 0;
27958 PyObject
* obj0
= 0 ;
27959 char * kwnames
[] = {
27960 (char *) "val", NULL
27963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) SWIG_fail
;
27964 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27965 if (!SWIG_IsOK(ecode1
)) {
27966 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PyApp_SetMacPreferencesMenuItemId" "', expected argument " "1"" of type '" "long""'");
27968 arg1
= static_cast< long >(val1
);
27970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27971 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
27972 wxPyEndAllowThreads(__tstate
);
27973 if (PyErr_Occurred()) SWIG_fail
;
27975 resultobj
= SWIG_Py_Void();
27982 SWIGINTERN PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27983 PyObject
*resultobj
= 0;
27987 PyObject
* obj0
= 0 ;
27988 char * kwnames
[] = {
27989 (char *) "val", NULL
27992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) SWIG_fail
;
27993 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27994 if (!SWIG_IsOK(ecode1
)) {
27995 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PyApp_SetMacExitMenuItemId" "', expected argument " "1"" of type '" "long""'");
27997 arg1
= static_cast< long >(val1
);
27999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28000 wxPyApp::SetMacExitMenuItemId(arg1
);
28001 wxPyEndAllowThreads(__tstate
);
28002 if (PyErr_Occurred()) SWIG_fail
;
28004 resultobj
= SWIG_Py_Void();
28011 SWIGINTERN PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28012 PyObject
*resultobj
= 0;
28013 wxString
*arg1
= 0 ;
28014 bool temp1
= false ;
28015 PyObject
* obj0
= 0 ;
28016 char * kwnames
[] = {
28017 (char *) "val", NULL
28020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) SWIG_fail
;
28022 arg1
= wxString_in_helper(obj0
);
28023 if (arg1
== NULL
) SWIG_fail
;
28027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28028 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
28029 wxPyEndAllowThreads(__tstate
);
28030 if (PyErr_Occurred()) SWIG_fail
;
28032 resultobj
= SWIG_Py_Void();
28047 SWIGINTERN PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28048 PyObject
*resultobj
= 0;
28049 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
28052 PyObject
*swig_obj
[1] ;
28054 if (!args
) SWIG_fail
;
28055 swig_obj
[0] = args
;
28056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
28057 if (!SWIG_IsOK(res1
)) {
28058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp__BootstrapApp" "', expected argument " "1"" of type '" "wxPyApp *""'");
28060 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
28062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28063 (arg1
)->_BootstrapApp();
28064 wxPyEndAllowThreads(__tstate
);
28065 if (PyErr_Occurred()) SWIG_fail
;
28067 resultobj
= SWIG_Py_Void();
28074 SWIGINTERN PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28075 PyObject
*resultobj
= 0;
28078 if (!SWIG_Python_UnpackTuple(args
,"PyApp_GetComCtl32Version",0,0,0)) SWIG_fail
;
28080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28081 result
= (int)wxPyApp_GetComCtl32Version();
28082 wxPyEndAllowThreads(__tstate
);
28083 if (PyErr_Occurred()) SWIG_fail
;
28085 resultobj
= SWIG_From_int(static_cast< int >(result
));
28092 SWIGINTERN PyObject
*PyApp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28094 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28095 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyApp
, SWIG_NewClientData(obj
));
28096 return SWIG_Py_Void();
28099 SWIGINTERN PyObject
*PyApp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28100 return SWIG_Python_InitShadowInstance(args
);
28103 SWIGINTERN PyObject
*_wrap_Exit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28104 PyObject
*resultobj
= 0;
28106 if (!SWIG_Python_UnpackTuple(args
,"Exit",0,0,0)) SWIG_fail
;
28108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28110 wxPyEndAllowThreads(__tstate
);
28111 if (PyErr_Occurred()) SWIG_fail
;
28113 resultobj
= SWIG_Py_Void();
28120 SWIGINTERN PyObject
*_wrap_Yield(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28121 PyObject
*resultobj
= 0;
28124 if (!SWIG_Python_UnpackTuple(args
,"Yield",0,0,0)) SWIG_fail
;
28126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28127 result
= (bool)wxYield();
28128 wxPyEndAllowThreads(__tstate
);
28129 if (PyErr_Occurred()) SWIG_fail
;
28132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28140 SWIGINTERN PyObject
*_wrap_YieldIfNeeded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28141 PyObject
*resultobj
= 0;
28144 if (!SWIG_Python_UnpackTuple(args
,"YieldIfNeeded",0,0,0)) SWIG_fail
;
28146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28147 result
= (bool)wxYieldIfNeeded();
28148 wxPyEndAllowThreads(__tstate
);
28149 if (PyErr_Occurred()) SWIG_fail
;
28152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28160 SWIGINTERN PyObject
*_wrap_SafeYield(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28161 PyObject
*resultobj
= 0;
28162 wxWindow
*arg1
= (wxWindow
*) NULL
;
28163 bool arg2
= (bool) false ;
28169 PyObject
* obj0
= 0 ;
28170 PyObject
* obj1
= 0 ;
28171 char * kwnames
[] = {
28172 (char *) "win",(char *) "onlyIfNeeded", NULL
28175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28178 if (!SWIG_IsOK(res1
)) {
28179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SafeYield" "', expected argument " "1"" of type '" "wxWindow *""'");
28181 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28184 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28185 if (!SWIG_IsOK(ecode2
)) {
28186 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SafeYield" "', expected argument " "2"" of type '" "bool""'");
28188 arg2
= static_cast< bool >(val2
);
28191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28192 result
= (bool)wxSafeYield(arg1
,arg2
);
28193 wxPyEndAllowThreads(__tstate
);
28194 if (PyErr_Occurred()) SWIG_fail
;
28197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28205 SWIGINTERN PyObject
*_wrap_WakeUpIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28206 PyObject
*resultobj
= 0;
28208 if (!SWIG_Python_UnpackTuple(args
,"WakeUpIdle",0,0,0)) SWIG_fail
;
28210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28212 wxPyEndAllowThreads(__tstate
);
28213 if (PyErr_Occurred()) SWIG_fail
;
28215 resultobj
= SWIG_Py_Void();
28222 SWIGINTERN PyObject
*_wrap_PostEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28223 PyObject
*resultobj
= 0;
28224 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
28225 wxEvent
*arg2
= 0 ;
28230 PyObject
* obj0
= 0 ;
28231 PyObject
* obj1
= 0 ;
28232 char * kwnames
[] = {
28233 (char *) "dest",(char *) "event", NULL
28236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
28238 if (!SWIG_IsOK(res1
)) {
28239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostEvent" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
28241 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
28242 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxEvent
, 0 );
28243 if (!SWIG_IsOK(res2
)) {
28244 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
28247 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
28249 arg2
= reinterpret_cast< wxEvent
* >(argp2
);
28251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28252 wxPostEvent(arg1
,*arg2
);
28253 wxPyEndAllowThreads(__tstate
);
28254 if (PyErr_Occurred()) SWIG_fail
;
28256 resultobj
= SWIG_Py_Void();
28263 SWIGINTERN PyObject
*_wrap_App_CleanUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28264 PyObject
*resultobj
= 0;
28266 if (!SWIG_Python_UnpackTuple(args
,"App_CleanUp",0,0,0)) SWIG_fail
;
28268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28270 wxPyEndAllowThreads(__tstate
);
28271 if (PyErr_Occurred()) SWIG_fail
;
28273 resultobj
= SWIG_Py_Void();
28280 SWIGINTERN PyObject
*_wrap_GetApp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28281 PyObject
*resultobj
= 0;
28282 wxPyApp
*result
= 0 ;
28284 if (!SWIG_Python_UnpackTuple(args
,"GetApp",0,0,0)) SWIG_fail
;
28286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28287 result
= (wxPyApp
*)wxPyGetApp();
28288 wxPyEndAllowThreads(__tstate
);
28289 if (PyErr_Occurred()) SWIG_fail
;
28292 resultobj
= wxPyMake_wxObject(result
, 0);
28300 SWIGINTERN PyObject
*_wrap_SetDefaultPyEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28301 PyObject
*resultobj
= 0;
28302 char *arg1
= (char *) 0 ;
28306 PyObject
* obj0
= 0 ;
28307 char * kwnames
[] = {
28308 (char *) "encoding", NULL
28311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetDefaultPyEncoding",kwnames
,&obj0
)) SWIG_fail
;
28312 res1
= SWIG_AsCharPtrAndSize(obj0
, &buf1
, NULL
, &alloc1
);
28313 if (!SWIG_IsOK(res1
)) {
28314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetDefaultPyEncoding" "', expected argument " "1"" of type '" "char const *""'");
28318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28319 wxSetDefaultPyEncoding((char const *)arg1
);
28320 wxPyEndAllowThreads(__tstate
);
28321 if (PyErr_Occurred()) SWIG_fail
;
28323 resultobj
= SWIG_Py_Void();
28324 if (alloc1
== SWIG_NEWOBJ
) delete[] buf1
;
28327 if (alloc1
== SWIG_NEWOBJ
) delete[] buf1
;
28332 SWIGINTERN PyObject
*_wrap_GetDefaultPyEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28333 PyObject
*resultobj
= 0;
28336 if (!SWIG_Python_UnpackTuple(args
,"GetDefaultPyEncoding",0,0,0)) SWIG_fail
;
28338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28339 result
= (char *)wxGetDefaultPyEncoding();
28340 wxPyEndAllowThreads(__tstate
);
28341 if (PyErr_Occurred()) SWIG_fail
;
28343 resultobj
= SWIG_FromCharPtr(result
);
28350 SWIGINTERN PyObject
*_wrap_new_EventLoop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28351 PyObject
*resultobj
= 0;
28352 wxEventLoop
*result
= 0 ;
28354 if (!SWIG_Python_UnpackTuple(args
,"new_EventLoop",0,0,0)) SWIG_fail
;
28356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28357 result
= (wxEventLoop
*)new wxEventLoop();
28358 wxPyEndAllowThreads(__tstate
);
28359 if (PyErr_Occurred()) SWIG_fail
;
28361 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_NEW
| 0 );
28368 SWIGINTERN PyObject
*_wrap_delete_EventLoop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28369 PyObject
*resultobj
= 0;
28370 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
28373 PyObject
*swig_obj
[1] ;
28375 if (!args
) SWIG_fail
;
28376 swig_obj
[0] = args
;
28377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_DISOWN
| 0 );
28378 if (!SWIG_IsOK(res1
)) {
28379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EventLoop" "', expected argument " "1"" of type '" "wxEventLoop *""'");
28381 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
28383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28386 wxPyEndAllowThreads(__tstate
);
28387 if (PyErr_Occurred()) SWIG_fail
;
28389 resultobj
= SWIG_Py_Void();
28396 SWIGINTERN PyObject
*_wrap_EventLoop_Run(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28397 PyObject
*resultobj
= 0;
28398 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
28402 PyObject
*swig_obj
[1] ;
28404 if (!args
) SWIG_fail
;
28405 swig_obj
[0] = args
;
28406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
28407 if (!SWIG_IsOK(res1
)) {
28408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EventLoop_Run" "', expected argument " "1"" of type '" "wxEventLoop *""'");
28410 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
28412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28413 result
= (int)(arg1
)->Run();
28414 wxPyEndAllowThreads(__tstate
);
28415 if (PyErr_Occurred()) SWIG_fail
;
28417 resultobj
= SWIG_From_int(static_cast< int >(result
));
28424 SWIGINTERN PyObject
*_wrap_EventLoop_Exit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28425 PyObject
*resultobj
= 0;
28426 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
28427 int arg2
= (int) 0 ;
28432 PyObject
* obj0
= 0 ;
28433 PyObject
* obj1
= 0 ;
28434 char * kwnames
[] = {
28435 (char *) "self",(char *) "rc", NULL
28438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EventLoop_Exit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
28440 if (!SWIG_IsOK(res1
)) {
28441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EventLoop_Exit" "', expected argument " "1"" of type '" "wxEventLoop *""'");
28443 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
28445 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28446 if (!SWIG_IsOK(ecode2
)) {
28447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EventLoop_Exit" "', expected argument " "2"" of type '" "int""'");
28449 arg2
= static_cast< int >(val2
);
28452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28453 (arg1
)->Exit(arg2
);
28454 wxPyEndAllowThreads(__tstate
);
28455 if (PyErr_Occurred()) SWIG_fail
;
28457 resultobj
= SWIG_Py_Void();
28464 SWIGINTERN PyObject
*_wrap_EventLoop_Pending(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28465 PyObject
*resultobj
= 0;
28466 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
28470 PyObject
*swig_obj
[1] ;
28472 if (!args
) SWIG_fail
;
28473 swig_obj
[0] = args
;
28474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
28475 if (!SWIG_IsOK(res1
)) {
28476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EventLoop_Pending" "', expected argument " "1"" of type '" "wxEventLoop const *""'");
28478 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
28480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28481 result
= (bool)((wxEventLoop
const *)arg1
)->Pending();
28482 wxPyEndAllowThreads(__tstate
);
28483 if (PyErr_Occurred()) SWIG_fail
;
28486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28494 SWIGINTERN PyObject
*_wrap_EventLoop_Dispatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28495 PyObject
*resultobj
= 0;
28496 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
28500 PyObject
*swig_obj
[1] ;
28502 if (!args
) SWIG_fail
;
28503 swig_obj
[0] = args
;
28504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
28505 if (!SWIG_IsOK(res1
)) {
28506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EventLoop_Dispatch" "', expected argument " "1"" of type '" "wxEventLoop *""'");
28508 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
28510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28511 result
= (bool)(arg1
)->Dispatch();
28512 wxPyEndAllowThreads(__tstate
);
28513 if (PyErr_Occurred()) SWIG_fail
;
28516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28524 SWIGINTERN PyObject
*_wrap_EventLoop_IsRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28525 PyObject
*resultobj
= 0;
28526 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
28530 PyObject
*swig_obj
[1] ;
28532 if (!args
) SWIG_fail
;
28533 swig_obj
[0] = args
;
28534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
28535 if (!SWIG_IsOK(res1
)) {
28536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EventLoop_IsRunning" "', expected argument " "1"" of type '" "wxEventLoop const *""'");
28538 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
28540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28541 result
= (bool)((wxEventLoop
const *)arg1
)->IsRunning();
28542 wxPyEndAllowThreads(__tstate
);
28543 if (PyErr_Occurred()) SWIG_fail
;
28546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28554 SWIGINTERN PyObject
*_wrap_EventLoop_GetActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28555 PyObject
*resultobj
= 0;
28556 wxEventLoop
*result
= 0 ;
28558 if (!SWIG_Python_UnpackTuple(args
,"EventLoop_GetActive",0,0,0)) SWIG_fail
;
28560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28561 result
= (wxEventLoop
*)wxEventLoop::GetActive();
28562 wxPyEndAllowThreads(__tstate
);
28563 if (PyErr_Occurred()) SWIG_fail
;
28565 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEventLoop
, 0 | 0 );
28572 SWIGINTERN PyObject
*_wrap_EventLoop_SetActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28573 PyObject
*resultobj
= 0;
28574 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
28577 PyObject
* obj0
= 0 ;
28578 char * kwnames
[] = {
28579 (char *) "loop", NULL
28582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_SetActive",kwnames
,&obj0
)) SWIG_fail
;
28583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
28584 if (!SWIG_IsOK(res1
)) {
28585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EventLoop_SetActive" "', expected argument " "1"" of type '" "wxEventLoop *""'");
28587 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
28589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28590 wxEventLoop::SetActive(arg1
);
28591 wxPyEndAllowThreads(__tstate
);
28592 if (PyErr_Occurred()) SWIG_fail
;
28594 resultobj
= SWIG_Py_Void();
28601 SWIGINTERN PyObject
*EventLoop_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28603 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28604 SWIG_TypeNewClientData(SWIGTYPE_p_wxEventLoop
, SWIG_NewClientData(obj
));
28605 return SWIG_Py_Void();
28608 SWIGINTERN PyObject
*EventLoop_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28609 return SWIG_Python_InitShadowInstance(args
);
28612 SWIGINTERN PyObject
*_wrap_new_EventLoopActivator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28613 PyObject
*resultobj
= 0;
28614 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
28615 wxEventLoopActivator
*result
= 0 ;
28618 PyObject
* obj0
= 0 ;
28619 char * kwnames
[] = {
28620 (char *) "evtLoop", NULL
28623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_EventLoopActivator",kwnames
,&obj0
)) SWIG_fail
;
28624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
28625 if (!SWIG_IsOK(res1
)) {
28626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_EventLoopActivator" "', expected argument " "1"" of type '" "wxEventLoop *""'");
28628 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
28630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28631 result
= (wxEventLoopActivator
*)new wxEventLoopActivator(arg1
);
28632 wxPyEndAllowThreads(__tstate
);
28633 if (PyErr_Occurred()) SWIG_fail
;
28635 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEventLoopActivator
, SWIG_POINTER_NEW
| 0 );
28642 SWIGINTERN PyObject
*_wrap_delete_EventLoopActivator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28643 PyObject
*resultobj
= 0;
28644 wxEventLoopActivator
*arg1
= (wxEventLoopActivator
*) 0 ;
28647 PyObject
*swig_obj
[1] ;
28649 if (!args
) SWIG_fail
;
28650 swig_obj
[0] = args
;
28651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEventLoopActivator
, SWIG_POINTER_DISOWN
| 0 );
28652 if (!SWIG_IsOK(res1
)) {
28653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EventLoopActivator" "', expected argument " "1"" of type '" "wxEventLoopActivator *""'");
28655 arg1
= reinterpret_cast< wxEventLoopActivator
* >(argp1
);
28657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28660 wxPyEndAllowThreads(__tstate
);
28661 if (PyErr_Occurred()) SWIG_fail
;
28663 resultobj
= SWIG_Py_Void();
28670 SWIGINTERN PyObject
*EventLoopActivator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28672 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28673 SWIG_TypeNewClientData(SWIGTYPE_p_wxEventLoopActivator
, SWIG_NewClientData(obj
));
28674 return SWIG_Py_Void();
28677 SWIGINTERN PyObject
*EventLoopActivator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28678 return SWIG_Python_InitShadowInstance(args
);
28681 SWIGINTERN PyObject
*_wrap_new_AcceleratorEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28682 PyObject
*resultobj
= 0;
28683 int arg1
= (int) 0 ;
28684 int arg2
= (int) 0 ;
28685 int arg3
= (int) 0 ;
28686 wxAcceleratorEntry
*result
= 0 ;
28693 PyObject
* obj0
= 0 ;
28694 PyObject
* obj1
= 0 ;
28695 PyObject
* obj2
= 0 ;
28696 char * kwnames
[] = {
28697 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
28700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28702 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28703 if (!SWIG_IsOK(ecode1
)) {
28704 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_AcceleratorEntry" "', expected argument " "1"" of type '" "int""'");
28706 arg1
= static_cast< int >(val1
);
28709 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28710 if (!SWIG_IsOK(ecode2
)) {
28711 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_AcceleratorEntry" "', expected argument " "2"" of type '" "int""'");
28713 arg2
= static_cast< int >(val2
);
28716 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28717 if (!SWIG_IsOK(ecode3
)) {
28718 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_AcceleratorEntry" "', expected argument " "3"" of type '" "int""'");
28720 arg3
= static_cast< int >(val3
);
28723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28724 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
28725 wxPyEndAllowThreads(__tstate
);
28726 if (PyErr_Occurred()) SWIG_fail
;
28728 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_NEW
| 0 );
28735 SWIGINTERN PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28736 PyObject
*resultobj
= 0;
28737 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
28740 PyObject
*swig_obj
[1] ;
28742 if (!args
) SWIG_fail
;
28743 swig_obj
[0] = args
;
28744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_DISOWN
| 0 );
28745 if (!SWIG_IsOK(res1
)) {
28746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AcceleratorEntry" "', expected argument " "1"" of type '" "wxAcceleratorEntry *""'");
28748 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
28750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28753 wxPyEndAllowThreads(__tstate
);
28754 if (PyErr_Occurred()) SWIG_fail
;
28756 resultobj
= SWIG_Py_Void();
28763 SWIGINTERN PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28764 PyObject
*resultobj
= 0;
28765 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
28777 PyObject
* obj0
= 0 ;
28778 PyObject
* obj1
= 0 ;
28779 PyObject
* obj2
= 0 ;
28780 PyObject
* obj3
= 0 ;
28781 char * kwnames
[] = {
28782 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
28785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
28787 if (!SWIG_IsOK(res1
)) {
28788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AcceleratorEntry_Set" "', expected argument " "1"" of type '" "wxAcceleratorEntry *""'");
28790 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
28791 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28792 if (!SWIG_IsOK(ecode2
)) {
28793 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AcceleratorEntry_Set" "', expected argument " "2"" of type '" "int""'");
28795 arg2
= static_cast< int >(val2
);
28796 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28797 if (!SWIG_IsOK(ecode3
)) {
28798 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AcceleratorEntry_Set" "', expected argument " "3"" of type '" "int""'");
28800 arg3
= static_cast< int >(val3
);
28801 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28802 if (!SWIG_IsOK(ecode4
)) {
28803 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AcceleratorEntry_Set" "', expected argument " "4"" of type '" "int""'");
28805 arg4
= static_cast< int >(val4
);
28807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28808 (arg1
)->Set(arg2
,arg3
,arg4
);
28809 wxPyEndAllowThreads(__tstate
);
28810 if (PyErr_Occurred()) SWIG_fail
;
28812 resultobj
= SWIG_Py_Void();
28819 SWIGINTERN PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28820 PyObject
*resultobj
= 0;
28821 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
28825 PyObject
*swig_obj
[1] ;
28827 if (!args
) SWIG_fail
;
28828 swig_obj
[0] = args
;
28829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
28830 if (!SWIG_IsOK(res1
)) {
28831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AcceleratorEntry_GetFlags" "', expected argument " "1"" of type '" "wxAcceleratorEntry *""'");
28833 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
28835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28836 result
= (int)(arg1
)->GetFlags();
28837 wxPyEndAllowThreads(__tstate
);
28838 if (PyErr_Occurred()) SWIG_fail
;
28840 resultobj
= SWIG_From_int(static_cast< int >(result
));
28847 SWIGINTERN PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28848 PyObject
*resultobj
= 0;
28849 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
28853 PyObject
*swig_obj
[1] ;
28855 if (!args
) SWIG_fail
;
28856 swig_obj
[0] = args
;
28857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
28858 if (!SWIG_IsOK(res1
)) {
28859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AcceleratorEntry_GetKeyCode" "', expected argument " "1"" of type '" "wxAcceleratorEntry *""'");
28861 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
28863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28864 result
= (int)(arg1
)->GetKeyCode();
28865 wxPyEndAllowThreads(__tstate
);
28866 if (PyErr_Occurred()) SWIG_fail
;
28868 resultobj
= SWIG_From_int(static_cast< int >(result
));
28875 SWIGINTERN PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28876 PyObject
*resultobj
= 0;
28877 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
28881 PyObject
*swig_obj
[1] ;
28883 if (!args
) SWIG_fail
;
28884 swig_obj
[0] = args
;
28885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
28886 if (!SWIG_IsOK(res1
)) {
28887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AcceleratorEntry_GetCommand" "', expected argument " "1"" of type '" "wxAcceleratorEntry *""'");
28889 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
28891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28892 result
= (int)(arg1
)->GetCommand();
28893 wxPyEndAllowThreads(__tstate
);
28894 if (PyErr_Occurred()) SWIG_fail
;
28896 resultobj
= SWIG_From_int(static_cast< int >(result
));
28903 SWIGINTERN PyObject
*AcceleratorEntry_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28905 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28906 SWIG_TypeNewClientData(SWIGTYPE_p_wxAcceleratorEntry
, SWIG_NewClientData(obj
));
28907 return SWIG_Py_Void();
28910 SWIGINTERN PyObject
*AcceleratorEntry_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28911 return SWIG_Python_InitShadowInstance(args
);
28914 SWIGINTERN PyObject
*_wrap_new_AcceleratorTable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28915 PyObject
*resultobj
= 0;
28917 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
28918 wxAcceleratorTable
*result
= 0 ;
28919 PyObject
* obj0
= 0 ;
28920 char * kwnames
[] = {
28924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) SWIG_fail
;
28926 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
28927 if (arg2
) arg1
= PyList_Size(obj0
);
28931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28932 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
28933 wxPyEndAllowThreads(__tstate
);
28934 if (PyErr_Occurred()) SWIG_fail
;
28936 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_NEW
| 0 );
28943 SWIGINTERN PyObject
*_wrap_delete_AcceleratorTable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28944 PyObject
*resultobj
= 0;
28945 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
28948 PyObject
*swig_obj
[1] ;
28950 if (!args
) SWIG_fail
;
28951 swig_obj
[0] = args
;
28952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_DISOWN
| 0 );
28953 if (!SWIG_IsOK(res1
)) {
28954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AcceleratorTable" "', expected argument " "1"" of type '" "wxAcceleratorTable *""'");
28956 arg1
= reinterpret_cast< wxAcceleratorTable
* >(argp1
);
28958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28961 wxPyEndAllowThreads(__tstate
);
28962 if (PyErr_Occurred()) SWIG_fail
;
28964 resultobj
= SWIG_Py_Void();
28971 SWIGINTERN PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28972 PyObject
*resultobj
= 0;
28973 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
28977 PyObject
*swig_obj
[1] ;
28979 if (!args
) SWIG_fail
;
28980 swig_obj
[0] = args
;
28981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorTable
, 0 | 0 );
28982 if (!SWIG_IsOK(res1
)) {
28983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AcceleratorTable_Ok" "', expected argument " "1"" of type '" "wxAcceleratorTable const *""'");
28985 arg1
= reinterpret_cast< wxAcceleratorTable
* >(argp1
);
28987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28988 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
28989 wxPyEndAllowThreads(__tstate
);
28990 if (PyErr_Occurred()) SWIG_fail
;
28993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29001 SWIGINTERN PyObject
*AcceleratorTable_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29003 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29004 SWIG_TypeNewClientData(SWIGTYPE_p_wxAcceleratorTable
, SWIG_NewClientData(obj
));
29005 return SWIG_Py_Void();
29008 SWIGINTERN PyObject
*AcceleratorTable_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29009 return SWIG_Python_InitShadowInstance(args
);
29012 SWIGINTERN
int NullAcceleratorTable_set(PyObject
*) {
29013 SWIG_Error(SWIG_AttributeError
,"Variable NullAcceleratorTable is read-only.");
29018 SWIGINTERN PyObject
*NullAcceleratorTable_get(void) {
29019 PyObject
*pyobj
= 0;
29021 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0 );
29026 SWIGINTERN PyObject
*_wrap_GetAccelFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29027 PyObject
*resultobj
= 0;
29028 wxString
*arg1
= 0 ;
29029 wxAcceleratorEntry
*result
= 0 ;
29030 bool temp1
= false ;
29031 PyObject
* obj0
= 0 ;
29032 char * kwnames
[] = {
29033 (char *) "label", NULL
29036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) SWIG_fail
;
29038 arg1
= wxString_in_helper(obj0
);
29039 if (arg1
== NULL
) SWIG_fail
;
29043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29044 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
29045 wxPyEndAllowThreads(__tstate
);
29046 if (PyErr_Occurred()) SWIG_fail
;
29048 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
29063 SWIGINTERN
int PanelNameStr_set(PyObject
*) {
29064 SWIG_Error(SWIG_AttributeError
,"Variable PanelNameStr is read-only.");
29069 SWIGINTERN PyObject
*PanelNameStr_get(void) {
29070 PyObject
*pyobj
= 0;
29074 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
29076 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
29083 SWIGINTERN PyObject
*_wrap_new_VisualAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29084 PyObject
*resultobj
= 0;
29085 wxVisualAttributes
*result
= 0 ;
29087 if (!SWIG_Python_UnpackTuple(args
,"new_VisualAttributes",0,0,0)) SWIG_fail
;
29089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29090 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
29091 wxPyEndAllowThreads(__tstate
);
29092 if (PyErr_Occurred()) SWIG_fail
;
29094 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_NEW
| 0 );
29101 SWIGINTERN PyObject
*_wrap_delete_VisualAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29102 PyObject
*resultobj
= 0;
29103 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
29106 PyObject
*swig_obj
[1] ;
29108 if (!args
) SWIG_fail
;
29109 swig_obj
[0] = args
;
29110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_DISOWN
| 0 );
29111 if (!SWIG_IsOK(res1
)) {
29112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_VisualAttributes" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
29114 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
29116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29117 delete_wxVisualAttributes(arg1
);
29119 wxPyEndAllowThreads(__tstate
);
29120 if (PyErr_Occurred()) SWIG_fail
;
29122 resultobj
= SWIG_Py_Void();
29129 SWIGINTERN PyObject
*_wrap_VisualAttributes_font_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29130 PyObject
*resultobj
= 0;
29131 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
29132 wxFont
*arg2
= (wxFont
*) 0 ;
29137 PyObject
*swig_obj
[2] ;
29139 if (!SWIG_Python_UnpackTuple(args
,"VisualAttributes_font_set",2,2,swig_obj
)) SWIG_fail
;
29140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, 0 | 0 );
29141 if (!SWIG_IsOK(res1
)) {
29142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VisualAttributes_font_set" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
29144 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
29145 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
29146 if (!SWIG_IsOK(res2
)) {
29147 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VisualAttributes_font_set" "', expected argument " "2"" of type '" "wxFont *""'");
29149 arg2
= reinterpret_cast< wxFont
* >(argp2
);
29150 if (arg1
) (arg1
)->font
= *arg2
;
29152 resultobj
= SWIG_Py_Void();
29159 SWIGINTERN PyObject
*_wrap_VisualAttributes_font_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29160 PyObject
*resultobj
= 0;
29161 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
29162 wxFont
*result
= 0 ;
29165 PyObject
*swig_obj
[1] ;
29167 if (!args
) SWIG_fail
;
29168 swig_obj
[0] = args
;
29169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, 0 | 0 );
29170 if (!SWIG_IsOK(res1
)) {
29171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VisualAttributes_font_get" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
29173 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
29174 result
= (wxFont
*)& ((arg1
)->font
);
29175 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
29182 SWIGINTERN PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29183 PyObject
*resultobj
= 0;
29184 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
29185 wxColour
*arg2
= (wxColour
*) 0 ;
29190 PyObject
*swig_obj
[2] ;
29192 if (!SWIG_Python_UnpackTuple(args
,"VisualAttributes_colFg_set",2,2,swig_obj
)) SWIG_fail
;
29193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, 0 | 0 );
29194 if (!SWIG_IsOK(res1
)) {
29195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VisualAttributes_colFg_set" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
29197 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
29198 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxColour
, 0 | 0 );
29199 if (!SWIG_IsOK(res2
)) {
29200 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VisualAttributes_colFg_set" "', expected argument " "2"" of type '" "wxColour *""'");
29202 arg2
= reinterpret_cast< wxColour
* >(argp2
);
29203 if (arg1
) (arg1
)->colFg
= *arg2
;
29205 resultobj
= SWIG_Py_Void();
29212 SWIGINTERN PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29213 PyObject
*resultobj
= 0;
29214 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
29215 wxColour
*result
= 0 ;
29218 PyObject
*swig_obj
[1] ;
29220 if (!args
) SWIG_fail
;
29221 swig_obj
[0] = args
;
29222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, 0 | 0 );
29223 if (!SWIG_IsOK(res1
)) {
29224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VisualAttributes_colFg_get" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
29226 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
29227 result
= (wxColour
*)& ((arg1
)->colFg
);
29228 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
29235 SWIGINTERN PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29236 PyObject
*resultobj
= 0;
29237 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
29238 wxColour
*arg2
= (wxColour
*) 0 ;
29243 PyObject
*swig_obj
[2] ;
29245 if (!SWIG_Python_UnpackTuple(args
,"VisualAttributes_colBg_set",2,2,swig_obj
)) SWIG_fail
;
29246 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, 0 | 0 );
29247 if (!SWIG_IsOK(res1
)) {
29248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VisualAttributes_colBg_set" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
29250 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
29251 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxColour
, 0 | 0 );
29252 if (!SWIG_IsOK(res2
)) {
29253 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VisualAttributes_colBg_set" "', expected argument " "2"" of type '" "wxColour *""'");
29255 arg2
= reinterpret_cast< wxColour
* >(argp2
);
29256 if (arg1
) (arg1
)->colBg
= *arg2
;
29258 resultobj
= SWIG_Py_Void();
29265 SWIGINTERN PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29266 PyObject
*resultobj
= 0;
29267 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
29268 wxColour
*result
= 0 ;
29271 PyObject
*swig_obj
[1] ;
29273 if (!args
) SWIG_fail
;
29274 swig_obj
[0] = args
;
29275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, 0 | 0 );
29276 if (!SWIG_IsOK(res1
)) {
29277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VisualAttributes_colBg_get" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
29279 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
29280 result
= (wxColour
*)& ((arg1
)->colBg
);
29281 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
29288 SWIGINTERN PyObject
*VisualAttributes_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29290 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29291 SWIG_TypeNewClientData(SWIGTYPE_p_wxVisualAttributes
, SWIG_NewClientData(obj
));
29292 return SWIG_Py_Void();
29295 SWIGINTERN PyObject
*VisualAttributes_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29296 return SWIG_Python_InitShadowInstance(args
);
29299 SWIGINTERN PyObject
*_wrap_new_Window(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29300 PyObject
*resultobj
= 0;
29301 wxWindow
*arg1
= (wxWindow
*) 0 ;
29302 int arg2
= (int) (int)-1 ;
29303 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29304 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29305 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29306 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29307 long arg5
= (long) 0 ;
29308 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
29309 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
29310 wxWindow
*result
= 0 ;
29319 bool temp6
= false ;
29320 PyObject
* obj0
= 0 ;
29321 PyObject
* obj1
= 0 ;
29322 PyObject
* obj2
= 0 ;
29323 PyObject
* obj3
= 0 ;
29324 PyObject
* obj4
= 0 ;
29325 PyObject
* obj5
= 0 ;
29326 char * kwnames
[] = {
29327 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29332 if (!SWIG_IsOK(res1
)) {
29333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Window" "', expected argument " "1"" of type '" "wxWindow *""'");
29335 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29337 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29338 if (!SWIG_IsOK(ecode2
)) {
29339 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Window" "', expected argument " "2"" of type '" "int""'");
29341 arg2
= static_cast< int >(val2
);
29346 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29352 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29356 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
29357 if (!SWIG_IsOK(ecode5
)) {
29358 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Window" "', expected argument " "5"" of type '" "long""'");
29360 arg5
= static_cast< long >(val5
);
29364 arg6
= wxString_in_helper(obj5
);
29365 if (arg6
== NULL
) SWIG_fail
;
29370 if (!wxPyCheckForApp()) SWIG_fail
;
29371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29372 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
29373 wxPyEndAllowThreads(__tstate
);
29374 if (PyErr_Occurred()) SWIG_fail
;
29376 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindow
, SWIG_POINTER_NEW
| 0 );
29391 SWIGINTERN PyObject
*_wrap_new_PreWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29392 PyObject
*resultobj
= 0;
29393 wxWindow
*result
= 0 ;
29395 if (!SWIG_Python_UnpackTuple(args
,"new_PreWindow",0,0,0)) SWIG_fail
;
29397 if (!wxPyCheckForApp()) SWIG_fail
;
29398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29399 result
= (wxWindow
*)new wxWindow();
29400 wxPyEndAllowThreads(__tstate
);
29401 if (PyErr_Occurred()) SWIG_fail
;
29403 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindow
, SWIG_POINTER_OWN
| 0 );
29410 SWIGINTERN PyObject
*_wrap_Window_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29411 PyObject
*resultobj
= 0;
29412 wxWindow
*arg1
= (wxWindow
*) 0 ;
29413 wxWindow
*arg2
= (wxWindow
*) 0 ;
29414 int arg3
= (int) (int)-1 ;
29415 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29416 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29417 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29418 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29419 long arg6
= (long) 0 ;
29420 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
29421 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29433 bool temp7
= false ;
29434 PyObject
* obj0
= 0 ;
29435 PyObject
* obj1
= 0 ;
29436 PyObject
* obj2
= 0 ;
29437 PyObject
* obj3
= 0 ;
29438 PyObject
* obj4
= 0 ;
29439 PyObject
* obj5
= 0 ;
29440 PyObject
* obj6
= 0 ;
29441 char * kwnames
[] = {
29442 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29447 if (!SWIG_IsOK(res1
)) {
29448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
29450 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29451 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29452 if (!SWIG_IsOK(res2
)) {
29453 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
29455 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29457 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29458 if (!SWIG_IsOK(ecode3
)) {
29459 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_Create" "', expected argument " "3"" of type '" "int""'");
29461 arg3
= static_cast< int >(val3
);
29466 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29472 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29476 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29477 if (!SWIG_IsOK(ecode6
)) {
29478 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Window_Create" "', expected argument " "6"" of type '" "long""'");
29480 arg6
= static_cast< long >(val6
);
29484 arg7
= wxString_in_helper(obj6
);
29485 if (arg7
== NULL
) SWIG_fail
;
29490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29491 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
29492 wxPyEndAllowThreads(__tstate
);
29493 if (PyErr_Occurred()) SWIG_fail
;
29496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29512 SWIGINTERN PyObject
*_wrap_Window_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29513 PyObject
*resultobj
= 0;
29514 wxWindow
*arg1
= (wxWindow
*) 0 ;
29515 bool arg2
= (bool) false ;
29521 PyObject
* obj0
= 0 ;
29522 PyObject
* obj1
= 0 ;
29523 char * kwnames
[] = {
29524 (char *) "self",(char *) "force", NULL
29527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29529 if (!SWIG_IsOK(res1
)) {
29530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Close" "', expected argument " "1"" of type '" "wxWindow *""'");
29532 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29534 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29535 if (!SWIG_IsOK(ecode2
)) {
29536 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_Close" "', expected argument " "2"" of type '" "bool""'");
29538 arg2
= static_cast< bool >(val2
);
29541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29542 result
= (bool)(arg1
)->Close(arg2
);
29543 wxPyEndAllowThreads(__tstate
);
29544 if (PyErr_Occurred()) SWIG_fail
;
29547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29555 SWIGINTERN PyObject
*_wrap_Window_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29556 PyObject
*resultobj
= 0;
29557 wxWindow
*arg1
= (wxWindow
*) 0 ;
29561 PyObject
*swig_obj
[1] ;
29563 if (!args
) SWIG_fail
;
29564 swig_obj
[0] = args
;
29565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29566 if (!SWIG_IsOK(res1
)) {
29567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Destroy" "', expected argument " "1"" of type '" "wxWindow *""'");
29569 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29572 result
= (bool)(arg1
)->Destroy();
29573 wxPyEndAllowThreads(__tstate
);
29574 if (PyErr_Occurred()) SWIG_fail
;
29577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29585 SWIGINTERN PyObject
*_wrap_Window_DestroyChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29586 PyObject
*resultobj
= 0;
29587 wxWindow
*arg1
= (wxWindow
*) 0 ;
29591 PyObject
*swig_obj
[1] ;
29593 if (!args
) SWIG_fail
;
29594 swig_obj
[0] = args
;
29595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29596 if (!SWIG_IsOK(res1
)) {
29597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_DestroyChildren" "', expected argument " "1"" of type '" "wxWindow *""'");
29599 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29602 result
= (bool)(arg1
)->DestroyChildren();
29603 wxPyEndAllowThreads(__tstate
);
29604 if (PyErr_Occurred()) SWIG_fail
;
29607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29615 SWIGINTERN PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29616 PyObject
*resultobj
= 0;
29617 wxWindow
*arg1
= (wxWindow
*) 0 ;
29621 PyObject
*swig_obj
[1] ;
29623 if (!args
) SWIG_fail
;
29624 swig_obj
[0] = args
;
29625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29626 if (!SWIG_IsOK(res1
)) {
29627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsBeingDeleted" "', expected argument " "1"" of type '" "wxWindow const *""'");
29629 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29632 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
29633 wxPyEndAllowThreads(__tstate
);
29634 if (PyErr_Occurred()) SWIG_fail
;
29637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29645 SWIGINTERN PyObject
*_wrap_Window_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29646 PyObject
*resultobj
= 0;
29647 wxWindow
*arg1
= (wxWindow
*) 0 ;
29648 wxString
*arg2
= 0 ;
29651 bool temp2
= false ;
29652 PyObject
* obj0
= 0 ;
29653 PyObject
* obj1
= 0 ;
29654 char * kwnames
[] = {
29655 (char *) "self",(char *) "label", NULL
29658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29660 if (!SWIG_IsOK(res1
)) {
29661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetLabel" "', expected argument " "1"" of type '" "wxWindow *""'");
29663 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29665 arg2
= wxString_in_helper(obj1
);
29666 if (arg2
== NULL
) SWIG_fail
;
29670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29671 (arg1
)->SetLabel((wxString
const &)*arg2
);
29672 wxPyEndAllowThreads(__tstate
);
29673 if (PyErr_Occurred()) SWIG_fail
;
29675 resultobj
= SWIG_Py_Void();
29690 SWIGINTERN PyObject
*_wrap_Window_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29691 PyObject
*resultobj
= 0;
29692 wxWindow
*arg1
= (wxWindow
*) 0 ;
29696 PyObject
*swig_obj
[1] ;
29698 if (!args
) SWIG_fail
;
29699 swig_obj
[0] = args
;
29700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29701 if (!SWIG_IsOK(res1
)) {
29702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetLabel" "', expected argument " "1"" of type '" "wxWindow const *""'");
29704 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29707 result
= ((wxWindow
const *)arg1
)->GetLabel();
29708 wxPyEndAllowThreads(__tstate
);
29709 if (PyErr_Occurred()) SWIG_fail
;
29713 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29715 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29724 SWIGINTERN PyObject
*_wrap_Window_SetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29725 PyObject
*resultobj
= 0;
29726 wxWindow
*arg1
= (wxWindow
*) 0 ;
29727 wxString
*arg2
= 0 ;
29730 bool temp2
= false ;
29731 PyObject
* obj0
= 0 ;
29732 PyObject
* obj1
= 0 ;
29733 char * kwnames
[] = {
29734 (char *) "self",(char *) "name", NULL
29737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29739 if (!SWIG_IsOK(res1
)) {
29740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetName" "', expected argument " "1"" of type '" "wxWindow *""'");
29742 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29744 arg2
= wxString_in_helper(obj1
);
29745 if (arg2
== NULL
) SWIG_fail
;
29749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29750 (arg1
)->SetName((wxString
const &)*arg2
);
29751 wxPyEndAllowThreads(__tstate
);
29752 if (PyErr_Occurred()) SWIG_fail
;
29754 resultobj
= SWIG_Py_Void();
29769 SWIGINTERN PyObject
*_wrap_Window_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29770 PyObject
*resultobj
= 0;
29771 wxWindow
*arg1
= (wxWindow
*) 0 ;
29775 PyObject
*swig_obj
[1] ;
29777 if (!args
) SWIG_fail
;
29778 swig_obj
[0] = args
;
29779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29780 if (!SWIG_IsOK(res1
)) {
29781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetName" "', expected argument " "1"" of type '" "wxWindow const *""'");
29783 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29786 result
= ((wxWindow
const *)arg1
)->GetName();
29787 wxPyEndAllowThreads(__tstate
);
29788 if (PyErr_Occurred()) SWIG_fail
;
29792 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29794 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29803 SWIGINTERN PyObject
*_wrap_Window_SetWindowVariant(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29804 PyObject
*resultobj
= 0;
29805 wxWindow
*arg1
= (wxWindow
*) 0 ;
29806 wxWindowVariant arg2
;
29811 PyObject
* obj0
= 0 ;
29812 PyObject
* obj1
= 0 ;
29813 char * kwnames
[] = {
29814 (char *) "self",(char *) "variant", NULL
29817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29819 if (!SWIG_IsOK(res1
)) {
29820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetWindowVariant" "', expected argument " "1"" of type '" "wxWindow *""'");
29822 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29823 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29824 if (!SWIG_IsOK(ecode2
)) {
29825 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetWindowVariant" "', expected argument " "2"" of type '" "wxWindowVariant""'");
29827 arg2
= static_cast< wxWindowVariant
>(val2
);
29829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29830 (arg1
)->SetWindowVariant(arg2
);
29831 wxPyEndAllowThreads(__tstate
);
29832 if (PyErr_Occurred()) SWIG_fail
;
29834 resultobj
= SWIG_Py_Void();
29841 SWIGINTERN PyObject
*_wrap_Window_GetWindowVariant(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29842 PyObject
*resultobj
= 0;
29843 wxWindow
*arg1
= (wxWindow
*) 0 ;
29844 wxWindowVariant result
;
29847 PyObject
*swig_obj
[1] ;
29849 if (!args
) SWIG_fail
;
29850 swig_obj
[0] = args
;
29851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29852 if (!SWIG_IsOK(res1
)) {
29853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetWindowVariant" "', expected argument " "1"" of type '" "wxWindow const *""'");
29855 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29858 result
= (wxWindowVariant
)((wxWindow
const *)arg1
)->GetWindowVariant();
29859 wxPyEndAllowThreads(__tstate
);
29860 if (PyErr_Occurred()) SWIG_fail
;
29862 resultobj
= SWIG_From_int(static_cast< int >(result
));
29869 SWIGINTERN PyObject
*_wrap_Window_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29870 PyObject
*resultobj
= 0;
29871 wxWindow
*arg1
= (wxWindow
*) 0 ;
29877 PyObject
* obj0
= 0 ;
29878 PyObject
* obj1
= 0 ;
29879 char * kwnames
[] = {
29880 (char *) "self",(char *) "winid", NULL
29883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29885 if (!SWIG_IsOK(res1
)) {
29886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetId" "', expected argument " "1"" of type '" "wxWindow *""'");
29888 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29889 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29890 if (!SWIG_IsOK(ecode2
)) {
29891 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetId" "', expected argument " "2"" of type '" "int""'");
29893 arg2
= static_cast< int >(val2
);
29895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29896 (arg1
)->SetId(arg2
);
29897 wxPyEndAllowThreads(__tstate
);
29898 if (PyErr_Occurred()) SWIG_fail
;
29900 resultobj
= SWIG_Py_Void();
29907 SWIGINTERN PyObject
*_wrap_Window_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29908 PyObject
*resultobj
= 0;
29909 wxWindow
*arg1
= (wxWindow
*) 0 ;
29913 PyObject
*swig_obj
[1] ;
29915 if (!args
) SWIG_fail
;
29916 swig_obj
[0] = args
;
29917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29918 if (!SWIG_IsOK(res1
)) {
29919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetId" "', expected argument " "1"" of type '" "wxWindow const *""'");
29921 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29924 result
= (int)((wxWindow
const *)arg1
)->GetId();
29925 wxPyEndAllowThreads(__tstate
);
29926 if (PyErr_Occurred()) SWIG_fail
;
29928 resultobj
= SWIG_From_int(static_cast< int >(result
));
29935 SWIGINTERN PyObject
*_wrap_Window_NewControlId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29936 PyObject
*resultobj
= 0;
29939 if (!SWIG_Python_UnpackTuple(args
,"Window_NewControlId",0,0,0)) SWIG_fail
;
29941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29942 result
= (int)wxWindow::NewControlId();
29943 wxPyEndAllowThreads(__tstate
);
29944 if (PyErr_Occurred()) SWIG_fail
;
29946 resultobj
= SWIG_From_int(static_cast< int >(result
));
29953 SWIGINTERN PyObject
*_wrap_Window_NextControlId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29954 PyObject
*resultobj
= 0;
29959 PyObject
* obj0
= 0 ;
29960 char * kwnames
[] = {
29961 (char *) "winid", NULL
29964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) SWIG_fail
;
29965 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29966 if (!SWIG_IsOK(ecode1
)) {
29967 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Window_NextControlId" "', expected argument " "1"" of type '" "int""'");
29969 arg1
= static_cast< int >(val1
);
29971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29972 result
= (int)wxWindow::NextControlId(arg1
);
29973 wxPyEndAllowThreads(__tstate
);
29974 if (PyErr_Occurred()) SWIG_fail
;
29976 resultobj
= SWIG_From_int(static_cast< int >(result
));
29983 SWIGINTERN PyObject
*_wrap_Window_PrevControlId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29984 PyObject
*resultobj
= 0;
29989 PyObject
* obj0
= 0 ;
29990 char * kwnames
[] = {
29991 (char *) "winid", NULL
29994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) SWIG_fail
;
29995 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29996 if (!SWIG_IsOK(ecode1
)) {
29997 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Window_PrevControlId" "', expected argument " "1"" of type '" "int""'");
29999 arg1
= static_cast< int >(val1
);
30001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30002 result
= (int)wxWindow::PrevControlId(arg1
);
30003 wxPyEndAllowThreads(__tstate
);
30004 if (PyErr_Occurred()) SWIG_fail
;
30006 resultobj
= SWIG_From_int(static_cast< int >(result
));
30013 SWIGINTERN PyObject
*_wrap_Window_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30014 PyObject
*resultobj
= 0;
30015 wxWindow
*arg1
= (wxWindow
*) 0 ;
30020 PyObject
* obj0
= 0 ;
30021 PyObject
* obj1
= 0 ;
30022 char * kwnames
[] = {
30023 (char *) "self",(char *) "size", NULL
30026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30028 if (!SWIG_IsOK(res1
)) {
30029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetSize" "', expected argument " "1"" of type '" "wxWindow *""'");
30031 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30034 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
30037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30038 (arg1
)->SetSize((wxSize
const &)*arg2
);
30039 wxPyEndAllowThreads(__tstate
);
30040 if (PyErr_Occurred()) SWIG_fail
;
30042 resultobj
= SWIG_Py_Void();
30049 SWIGINTERN PyObject
*_wrap_Window_SetDimensions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30050 PyObject
*resultobj
= 0;
30051 wxWindow
*arg1
= (wxWindow
*) 0 ;
30056 int arg6
= (int) wxSIZE_AUTO
;
30069 PyObject
* obj0
= 0 ;
30070 PyObject
* obj1
= 0 ;
30071 PyObject
* obj2
= 0 ;
30072 PyObject
* obj3
= 0 ;
30073 PyObject
* obj4
= 0 ;
30074 PyObject
* obj5
= 0 ;
30075 char * kwnames
[] = {
30076 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
30079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30081 if (!SWIG_IsOK(res1
)) {
30082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetDimensions" "', expected argument " "1"" of type '" "wxWindow *""'");
30084 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30085 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30086 if (!SWIG_IsOK(ecode2
)) {
30087 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetDimensions" "', expected argument " "2"" of type '" "int""'");
30089 arg2
= static_cast< int >(val2
);
30090 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30091 if (!SWIG_IsOK(ecode3
)) {
30092 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetDimensions" "', expected argument " "3"" of type '" "int""'");
30094 arg3
= static_cast< int >(val3
);
30095 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30096 if (!SWIG_IsOK(ecode4
)) {
30097 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_SetDimensions" "', expected argument " "4"" of type '" "int""'");
30099 arg4
= static_cast< int >(val4
);
30100 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30101 if (!SWIG_IsOK(ecode5
)) {
30102 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Window_SetDimensions" "', expected argument " "5"" of type '" "int""'");
30104 arg5
= static_cast< int >(val5
);
30106 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
30107 if (!SWIG_IsOK(ecode6
)) {
30108 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Window_SetDimensions" "', expected argument " "6"" of type '" "int""'");
30110 arg6
= static_cast< int >(val6
);
30113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30114 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
30115 wxPyEndAllowThreads(__tstate
);
30116 if (PyErr_Occurred()) SWIG_fail
;
30118 resultobj
= SWIG_Py_Void();
30125 SWIGINTERN PyObject
*_wrap_Window_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30126 PyObject
*resultobj
= 0;
30127 wxWindow
*arg1
= (wxWindow
*) 0 ;
30129 int arg3
= (int) wxSIZE_AUTO
;
30135 PyObject
* obj0
= 0 ;
30136 PyObject
* obj1
= 0 ;
30137 PyObject
* obj2
= 0 ;
30138 char * kwnames
[] = {
30139 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
30142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30144 if (!SWIG_IsOK(res1
)) {
30145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetRect" "', expected argument " "1"" of type '" "wxWindow *""'");
30147 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30150 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
30153 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30154 if (!SWIG_IsOK(ecode3
)) {
30155 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetRect" "', expected argument " "3"" of type '" "int""'");
30157 arg3
= static_cast< int >(val3
);
30160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30161 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
30162 wxPyEndAllowThreads(__tstate
);
30163 if (PyErr_Occurred()) SWIG_fail
;
30165 resultobj
= SWIG_Py_Void();
30172 SWIGINTERN PyObject
*_wrap_Window_SetSizeWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30173 PyObject
*resultobj
= 0;
30174 wxWindow
*arg1
= (wxWindow
*) 0 ;
30183 PyObject
* obj0
= 0 ;
30184 PyObject
* obj1
= 0 ;
30185 PyObject
* obj2
= 0 ;
30186 char * kwnames
[] = {
30187 (char *) "self",(char *) "width",(char *) "height", NULL
30190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30192 if (!SWIG_IsOK(res1
)) {
30193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetSizeWH" "', expected argument " "1"" of type '" "wxWindow *""'");
30195 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30196 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30197 if (!SWIG_IsOK(ecode2
)) {
30198 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetSizeWH" "', expected argument " "2"" of type '" "int""'");
30200 arg2
= static_cast< int >(val2
);
30201 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30202 if (!SWIG_IsOK(ecode3
)) {
30203 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetSizeWH" "', expected argument " "3"" of type '" "int""'");
30205 arg3
= static_cast< int >(val3
);
30207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30208 (arg1
)->SetSize(arg2
,arg3
);
30209 wxPyEndAllowThreads(__tstate
);
30210 if (PyErr_Occurred()) SWIG_fail
;
30212 resultobj
= SWIG_Py_Void();
30219 SWIGINTERN PyObject
*_wrap_Window_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30220 PyObject
*resultobj
= 0;
30221 wxWindow
*arg1
= (wxWindow
*) 0 ;
30222 wxPoint
*arg2
= 0 ;
30223 int arg3
= (int) wxSIZE_USE_EXISTING
;
30229 PyObject
* obj0
= 0 ;
30230 PyObject
* obj1
= 0 ;
30231 PyObject
* obj2
= 0 ;
30232 char * kwnames
[] = {
30233 (char *) "self",(char *) "pt",(char *) "flags", NULL
30236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30238 if (!SWIG_IsOK(res1
)) {
30239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Move" "', expected argument " "1"" of type '" "wxWindow *""'");
30241 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30244 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30247 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30248 if (!SWIG_IsOK(ecode3
)) {
30249 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_Move" "', expected argument " "3"" of type '" "int""'");
30251 arg3
= static_cast< int >(val3
);
30254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30255 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
30256 wxPyEndAllowThreads(__tstate
);
30257 if (PyErr_Occurred()) SWIG_fail
;
30259 resultobj
= SWIG_Py_Void();
30266 SWIGINTERN PyObject
*_wrap_Window_MoveXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30267 PyObject
*resultobj
= 0;
30268 wxWindow
*arg1
= (wxWindow
*) 0 ;
30271 int arg4
= (int) wxSIZE_USE_EXISTING
;
30280 PyObject
* obj0
= 0 ;
30281 PyObject
* obj1
= 0 ;
30282 PyObject
* obj2
= 0 ;
30283 PyObject
* obj3
= 0 ;
30284 char * kwnames
[] = {
30285 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
30288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30290 if (!SWIG_IsOK(res1
)) {
30291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_MoveXY" "', expected argument " "1"" of type '" "wxWindow *""'");
30293 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30294 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30295 if (!SWIG_IsOK(ecode2
)) {
30296 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_MoveXY" "', expected argument " "2"" of type '" "int""'");
30298 arg2
= static_cast< int >(val2
);
30299 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30300 if (!SWIG_IsOK(ecode3
)) {
30301 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_MoveXY" "', expected argument " "3"" of type '" "int""'");
30303 arg3
= static_cast< int >(val3
);
30305 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30306 if (!SWIG_IsOK(ecode4
)) {
30307 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_MoveXY" "', expected argument " "4"" of type '" "int""'");
30309 arg4
= static_cast< int >(val4
);
30312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30313 (arg1
)->Move(arg2
,arg3
,arg4
);
30314 wxPyEndAllowThreads(__tstate
);
30315 if (PyErr_Occurred()) SWIG_fail
;
30317 resultobj
= SWIG_Py_Void();
30324 SWIGINTERN PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30325 PyObject
*resultobj
= 0;
30326 wxWindow
*arg1
= (wxWindow
*) 0 ;
30327 wxSize
const &arg2_defvalue
= wxDefaultSize
;
30328 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
30332 PyObject
* obj0
= 0 ;
30333 PyObject
* obj1
= 0 ;
30334 char * kwnames
[] = {
30335 (char *) "self",(char *) "size", NULL
30338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30340 if (!SWIG_IsOK(res1
)) {
30341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetBestFittingSize" "', expected argument " "1"" of type '" "wxWindow *""'");
30343 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30347 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
30351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30352 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
30353 wxPyEndAllowThreads(__tstate
);
30354 if (PyErr_Occurred()) SWIG_fail
;
30356 resultobj
= SWIG_Py_Void();
30363 SWIGINTERN PyObject
*_wrap_Window_Raise(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30364 PyObject
*resultobj
= 0;
30365 wxWindow
*arg1
= (wxWindow
*) 0 ;
30368 PyObject
*swig_obj
[1] ;
30370 if (!args
) SWIG_fail
;
30371 swig_obj
[0] = args
;
30372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30373 if (!SWIG_IsOK(res1
)) {
30374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Raise" "', expected argument " "1"" of type '" "wxWindow *""'");
30376 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30380 wxPyEndAllowThreads(__tstate
);
30381 if (PyErr_Occurred()) SWIG_fail
;
30383 resultobj
= SWIG_Py_Void();
30390 SWIGINTERN PyObject
*_wrap_Window_Lower(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30391 PyObject
*resultobj
= 0;
30392 wxWindow
*arg1
= (wxWindow
*) 0 ;
30395 PyObject
*swig_obj
[1] ;
30397 if (!args
) SWIG_fail
;
30398 swig_obj
[0] = args
;
30399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30400 if (!SWIG_IsOK(res1
)) {
30401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Lower" "', expected argument " "1"" of type '" "wxWindow *""'");
30403 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30407 wxPyEndAllowThreads(__tstate
);
30408 if (PyErr_Occurred()) SWIG_fail
;
30410 resultobj
= SWIG_Py_Void();
30417 SWIGINTERN PyObject
*_wrap_Window_SetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30418 PyObject
*resultobj
= 0;
30419 wxWindow
*arg1
= (wxWindow
*) 0 ;
30424 PyObject
* obj0
= 0 ;
30425 PyObject
* obj1
= 0 ;
30426 char * kwnames
[] = {
30427 (char *) "self",(char *) "size", NULL
30430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30432 if (!SWIG_IsOK(res1
)) {
30433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetClientSize" "', expected argument " "1"" of type '" "wxWindow *""'");
30435 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30438 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
30441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30442 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
30443 wxPyEndAllowThreads(__tstate
);
30444 if (PyErr_Occurred()) SWIG_fail
;
30446 resultobj
= SWIG_Py_Void();
30453 SWIGINTERN PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30454 PyObject
*resultobj
= 0;
30455 wxWindow
*arg1
= (wxWindow
*) 0 ;
30464 PyObject
* obj0
= 0 ;
30465 PyObject
* obj1
= 0 ;
30466 PyObject
* obj2
= 0 ;
30467 char * kwnames
[] = {
30468 (char *) "self",(char *) "width",(char *) "height", NULL
30471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30473 if (!SWIG_IsOK(res1
)) {
30474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetClientSizeWH" "', expected argument " "1"" of type '" "wxWindow *""'");
30476 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30477 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30478 if (!SWIG_IsOK(ecode2
)) {
30479 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetClientSizeWH" "', expected argument " "2"" of type '" "int""'");
30481 arg2
= static_cast< int >(val2
);
30482 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30483 if (!SWIG_IsOK(ecode3
)) {
30484 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetClientSizeWH" "', expected argument " "3"" of type '" "int""'");
30486 arg3
= static_cast< int >(val3
);
30488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30489 (arg1
)->SetClientSize(arg2
,arg3
);
30490 wxPyEndAllowThreads(__tstate
);
30491 if (PyErr_Occurred()) SWIG_fail
;
30493 resultobj
= SWIG_Py_Void();
30500 SWIGINTERN PyObject
*_wrap_Window_SetClientRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30501 PyObject
*resultobj
= 0;
30502 wxWindow
*arg1
= (wxWindow
*) 0 ;
30507 PyObject
* obj0
= 0 ;
30508 PyObject
* obj1
= 0 ;
30509 char * kwnames
[] = {
30510 (char *) "self",(char *) "rect", NULL
30513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30515 if (!SWIG_IsOK(res1
)) {
30516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetClientRect" "', expected argument " "1"" of type '" "wxWindow *""'");
30518 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30521 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
30524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30525 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
30526 wxPyEndAllowThreads(__tstate
);
30527 if (PyErr_Occurred()) SWIG_fail
;
30529 resultobj
= SWIG_Py_Void();
30536 SWIGINTERN PyObject
*_wrap_Window_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30537 PyObject
*resultobj
= 0;
30538 wxWindow
*arg1
= (wxWindow
*) 0 ;
30542 PyObject
*swig_obj
[1] ;
30544 if (!args
) SWIG_fail
;
30545 swig_obj
[0] = args
;
30546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30547 if (!SWIG_IsOK(res1
)) {
30548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetPosition" "', expected argument " "1"" of type '" "wxWindow const *""'");
30550 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30553 result
= ((wxWindow
const *)arg1
)->GetPosition();
30554 wxPyEndAllowThreads(__tstate
);
30555 if (PyErr_Occurred()) SWIG_fail
;
30557 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
30564 SWIGINTERN PyObject
*_wrap_Window_GetPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30565 PyObject
*resultobj
= 0;
30566 wxWindow
*arg1
= (wxWindow
*) 0 ;
30567 int *arg2
= (int *) 0 ;
30568 int *arg3
= (int *) 0 ;
30572 int res2
= SWIG_TMPOBJ
;
30574 int res3
= SWIG_TMPOBJ
;
30575 PyObject
*swig_obj
[1] ;
30579 if (!args
) SWIG_fail
;
30580 swig_obj
[0] = args
;
30581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30582 if (!SWIG_IsOK(res1
)) {
30583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetPositionTuple" "', expected argument " "1"" of type '" "wxWindow const *""'");
30585 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30588 ((wxWindow
const *)arg1
)->GetPosition(arg2
,arg3
);
30589 wxPyEndAllowThreads(__tstate
);
30590 if (PyErr_Occurred()) SWIG_fail
;
30592 resultobj
= SWIG_Py_Void();
30593 if (SWIG_IsTmpObj(res2
)) {
30594 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
30596 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30597 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
30599 if (SWIG_IsTmpObj(res3
)) {
30600 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30602 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30603 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30611 SWIGINTERN PyObject
*_wrap_Window_GetScreenPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30612 PyObject
*resultobj
= 0;
30613 wxWindow
*arg1
= (wxWindow
*) 0 ;
30617 PyObject
*swig_obj
[1] ;
30619 if (!args
) SWIG_fail
;
30620 swig_obj
[0] = args
;
30621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30622 if (!SWIG_IsOK(res1
)) {
30623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetScreenPosition" "', expected argument " "1"" of type '" "wxWindow const *""'");
30625 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30628 result
= ((wxWindow
const *)arg1
)->GetScreenPosition();
30629 wxPyEndAllowThreads(__tstate
);
30630 if (PyErr_Occurred()) SWIG_fail
;
30632 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
30639 SWIGINTERN PyObject
*_wrap_Window_GetScreenPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30640 PyObject
*resultobj
= 0;
30641 wxWindow
*arg1
= (wxWindow
*) 0 ;
30642 int *arg2
= (int *) 0 ;
30643 int *arg3
= (int *) 0 ;
30647 int res2
= SWIG_TMPOBJ
;
30649 int res3
= SWIG_TMPOBJ
;
30650 PyObject
*swig_obj
[1] ;
30654 if (!args
) SWIG_fail
;
30655 swig_obj
[0] = args
;
30656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30657 if (!SWIG_IsOK(res1
)) {
30658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetScreenPositionTuple" "', expected argument " "1"" of type '" "wxWindow const *""'");
30660 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30663 ((wxWindow
const *)arg1
)->GetScreenPosition(arg2
,arg3
);
30664 wxPyEndAllowThreads(__tstate
);
30665 if (PyErr_Occurred()) SWIG_fail
;
30667 resultobj
= SWIG_Py_Void();
30668 if (SWIG_IsTmpObj(res2
)) {
30669 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
30671 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30672 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
30674 if (SWIG_IsTmpObj(res3
)) {
30675 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30677 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30678 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30686 SWIGINTERN PyObject
*_wrap_Window_GetScreenRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30687 PyObject
*resultobj
= 0;
30688 wxWindow
*arg1
= (wxWindow
*) 0 ;
30692 PyObject
*swig_obj
[1] ;
30694 if (!args
) SWIG_fail
;
30695 swig_obj
[0] = args
;
30696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30697 if (!SWIG_IsOK(res1
)) {
30698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetScreenRect" "', expected argument " "1"" of type '" "wxWindow const *""'");
30700 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30703 result
= ((wxWindow
const *)arg1
)->GetScreenRect();
30704 wxPyEndAllowThreads(__tstate
);
30705 if (PyErr_Occurred()) SWIG_fail
;
30707 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
30714 SWIGINTERN PyObject
*_wrap_Window_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30715 PyObject
*resultobj
= 0;
30716 wxWindow
*arg1
= (wxWindow
*) 0 ;
30720 PyObject
*swig_obj
[1] ;
30722 if (!args
) SWIG_fail
;
30723 swig_obj
[0] = args
;
30724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30725 if (!SWIG_IsOK(res1
)) {
30726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
30728 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30731 result
= ((wxWindow
const *)arg1
)->GetSize();
30732 wxPyEndAllowThreads(__tstate
);
30733 if (PyErr_Occurred()) SWIG_fail
;
30735 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
30742 SWIGINTERN PyObject
*_wrap_Window_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30743 PyObject
*resultobj
= 0;
30744 wxWindow
*arg1
= (wxWindow
*) 0 ;
30745 int *arg2
= (int *) 0 ;
30746 int *arg3
= (int *) 0 ;
30750 int res2
= SWIG_TMPOBJ
;
30752 int res3
= SWIG_TMPOBJ
;
30753 PyObject
*swig_obj
[1] ;
30757 if (!args
) SWIG_fail
;
30758 swig_obj
[0] = args
;
30759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30760 if (!SWIG_IsOK(res1
)) {
30761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetSizeTuple" "', expected argument " "1"" of type '" "wxWindow const *""'");
30763 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30766 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
30767 wxPyEndAllowThreads(__tstate
);
30768 if (PyErr_Occurred()) SWIG_fail
;
30770 resultobj
= SWIG_Py_Void();
30771 if (SWIG_IsTmpObj(res2
)) {
30772 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
30774 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30775 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
30777 if (SWIG_IsTmpObj(res3
)) {
30778 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30780 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30781 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30789 SWIGINTERN PyObject
*_wrap_Window_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30790 PyObject
*resultobj
= 0;
30791 wxWindow
*arg1
= (wxWindow
*) 0 ;
30795 PyObject
*swig_obj
[1] ;
30797 if (!args
) SWIG_fail
;
30798 swig_obj
[0] = args
;
30799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30800 if (!SWIG_IsOK(res1
)) {
30801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetRect" "', expected argument " "1"" of type '" "wxWindow const *""'");
30803 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30806 result
= ((wxWindow
const *)arg1
)->GetRect();
30807 wxPyEndAllowThreads(__tstate
);
30808 if (PyErr_Occurred()) SWIG_fail
;
30810 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
30817 SWIGINTERN PyObject
*_wrap_Window_GetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30818 PyObject
*resultobj
= 0;
30819 wxWindow
*arg1
= (wxWindow
*) 0 ;
30823 PyObject
*swig_obj
[1] ;
30825 if (!args
) SWIG_fail
;
30826 swig_obj
[0] = args
;
30827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30828 if (!SWIG_IsOK(res1
)) {
30829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetClientSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
30831 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30834 result
= ((wxWindow
const *)arg1
)->GetClientSize();
30835 wxPyEndAllowThreads(__tstate
);
30836 if (PyErr_Occurred()) SWIG_fail
;
30838 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
30845 SWIGINTERN PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30846 PyObject
*resultobj
= 0;
30847 wxWindow
*arg1
= (wxWindow
*) 0 ;
30848 int *arg2
= (int *) 0 ;
30849 int *arg3
= (int *) 0 ;
30853 int res2
= SWIG_TMPOBJ
;
30855 int res3
= SWIG_TMPOBJ
;
30856 PyObject
*swig_obj
[1] ;
30860 if (!args
) SWIG_fail
;
30861 swig_obj
[0] = args
;
30862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30863 if (!SWIG_IsOK(res1
)) {
30864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetClientSizeTuple" "', expected argument " "1"" of type '" "wxWindow const *""'");
30866 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30869 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
30870 wxPyEndAllowThreads(__tstate
);
30871 if (PyErr_Occurred()) SWIG_fail
;
30873 resultobj
= SWIG_Py_Void();
30874 if (SWIG_IsTmpObj(res2
)) {
30875 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
30877 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30878 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
30880 if (SWIG_IsTmpObj(res3
)) {
30881 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30883 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30884 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30892 SWIGINTERN PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30893 PyObject
*resultobj
= 0;
30894 wxWindow
*arg1
= (wxWindow
*) 0 ;
30898 PyObject
*swig_obj
[1] ;
30900 if (!args
) SWIG_fail
;
30901 swig_obj
[0] = args
;
30902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30903 if (!SWIG_IsOK(res1
)) {
30904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetClientAreaOrigin" "', expected argument " "1"" of type '" "wxWindow const *""'");
30906 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30909 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
30910 wxPyEndAllowThreads(__tstate
);
30911 if (PyErr_Occurred()) SWIG_fail
;
30913 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
30920 SWIGINTERN PyObject
*_wrap_Window_GetClientRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30921 PyObject
*resultobj
= 0;
30922 wxWindow
*arg1
= (wxWindow
*) 0 ;
30926 PyObject
*swig_obj
[1] ;
30928 if (!args
) SWIG_fail
;
30929 swig_obj
[0] = args
;
30930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30931 if (!SWIG_IsOK(res1
)) {
30932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetClientRect" "', expected argument " "1"" of type '" "wxWindow const *""'");
30934 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30937 result
= ((wxWindow
const *)arg1
)->GetClientRect();
30938 wxPyEndAllowThreads(__tstate
);
30939 if (PyErr_Occurred()) SWIG_fail
;
30941 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
30948 SWIGINTERN PyObject
*_wrap_Window_GetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30949 PyObject
*resultobj
= 0;
30950 wxWindow
*arg1
= (wxWindow
*) 0 ;
30954 PyObject
*swig_obj
[1] ;
30956 if (!args
) SWIG_fail
;
30957 swig_obj
[0] = args
;
30958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30959 if (!SWIG_IsOK(res1
)) {
30960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBestSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
30962 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30965 result
= ((wxWindow
const *)arg1
)->GetBestSize();
30966 wxPyEndAllowThreads(__tstate
);
30967 if (PyErr_Occurred()) SWIG_fail
;
30969 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
30976 SWIGINTERN PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30977 PyObject
*resultobj
= 0;
30978 wxWindow
*arg1
= (wxWindow
*) 0 ;
30979 int *arg2
= (int *) 0 ;
30980 int *arg3
= (int *) 0 ;
30984 int res2
= SWIG_TMPOBJ
;
30986 int res3
= SWIG_TMPOBJ
;
30987 PyObject
*swig_obj
[1] ;
30991 if (!args
) SWIG_fail
;
30992 swig_obj
[0] = args
;
30993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30994 if (!SWIG_IsOK(res1
)) {
30995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBestSizeTuple" "', expected argument " "1"" of type '" "wxWindow const *""'");
30997 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31000 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
31001 wxPyEndAllowThreads(__tstate
);
31002 if (PyErr_Occurred()) SWIG_fail
;
31004 resultobj
= SWIG_Py_Void();
31005 if (SWIG_IsTmpObj(res2
)) {
31006 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
31008 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31009 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
31011 if (SWIG_IsTmpObj(res3
)) {
31012 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31014 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31015 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31023 SWIGINTERN PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31024 PyObject
*resultobj
= 0;
31025 wxWindow
*arg1
= (wxWindow
*) 0 ;
31028 PyObject
*swig_obj
[1] ;
31030 if (!args
) SWIG_fail
;
31031 swig_obj
[0] = args
;
31032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31033 if (!SWIG_IsOK(res1
)) {
31034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_InvalidateBestSize" "', expected argument " "1"" of type '" "wxWindow *""'");
31036 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31039 (arg1
)->InvalidateBestSize();
31040 wxPyEndAllowThreads(__tstate
);
31041 if (PyErr_Occurred()) SWIG_fail
;
31043 resultobj
= SWIG_Py_Void();
31050 SWIGINTERN PyObject
*_wrap_Window_CacheBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31051 PyObject
*resultobj
= 0;
31052 wxWindow
*arg1
= (wxWindow
*) 0 ;
31057 PyObject
* obj0
= 0 ;
31058 PyObject
* obj1
= 0 ;
31059 char * kwnames
[] = {
31060 (char *) "self",(char *) "size", NULL
31063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_CacheBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31065 if (!SWIG_IsOK(res1
)) {
31066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_CacheBestSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
31068 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31071 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
31074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31075 ((wxWindow
const *)arg1
)->CacheBestSize((wxSize
const &)*arg2
);
31076 wxPyEndAllowThreads(__tstate
);
31077 if (PyErr_Occurred()) SWIG_fail
;
31079 resultobj
= SWIG_Py_Void();
31086 SWIGINTERN PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31087 PyObject
*resultobj
= 0;
31088 wxWindow
*arg1
= (wxWindow
*) 0 ;
31092 PyObject
*swig_obj
[1] ;
31094 if (!args
) SWIG_fail
;
31095 swig_obj
[0] = args
;
31096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31097 if (!SWIG_IsOK(res1
)) {
31098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBestFittingSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
31100 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31103 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
31104 wxPyEndAllowThreads(__tstate
);
31105 if (PyErr_Occurred()) SWIG_fail
;
31107 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
31114 SWIGINTERN PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31115 PyObject
*resultobj
= 0;
31116 wxWindow
*arg1
= (wxWindow
*) 0 ;
31120 PyObject
*swig_obj
[1] ;
31122 if (!args
) SWIG_fail
;
31123 swig_obj
[0] = args
;
31124 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31125 if (!SWIG_IsOK(res1
)) {
31126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetAdjustedBestSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
31128 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31131 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
31132 wxPyEndAllowThreads(__tstate
);
31133 if (PyErr_Occurred()) SWIG_fail
;
31135 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
31142 SWIGINTERN PyObject
*_wrap_Window_Center(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31143 PyObject
*resultobj
= 0;
31144 wxWindow
*arg1
= (wxWindow
*) 0 ;
31145 int arg2
= (int) wxBOTH
;
31150 PyObject
* obj0
= 0 ;
31151 PyObject
* obj1
= 0 ;
31152 char * kwnames
[] = {
31153 (char *) "self",(char *) "direction", NULL
31156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31158 if (!SWIG_IsOK(res1
)) {
31159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Center" "', expected argument " "1"" of type '" "wxWindow *""'");
31161 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31163 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31164 if (!SWIG_IsOK(ecode2
)) {
31165 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_Center" "', expected argument " "2"" of type '" "int""'");
31167 arg2
= static_cast< int >(val2
);
31170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31171 (arg1
)->Center(arg2
);
31172 wxPyEndAllowThreads(__tstate
);
31173 if (PyErr_Occurred()) SWIG_fail
;
31175 resultobj
= SWIG_Py_Void();
31182 SWIGINTERN PyObject
*_wrap_Window_CenterOnParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31183 PyObject
*resultobj
= 0;
31184 wxWindow
*arg1
= (wxWindow
*) 0 ;
31185 int arg2
= (int) wxBOTH
;
31190 PyObject
* obj0
= 0 ;
31191 PyObject
* obj1
= 0 ;
31192 char * kwnames
[] = {
31193 (char *) "self",(char *) "dir", NULL
31196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31198 if (!SWIG_IsOK(res1
)) {
31199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_CenterOnParent" "', expected argument " "1"" of type '" "wxWindow *""'");
31201 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31203 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31204 if (!SWIG_IsOK(ecode2
)) {
31205 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_CenterOnParent" "', expected argument " "2"" of type '" "int""'");
31207 arg2
= static_cast< int >(val2
);
31210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31211 (arg1
)->CenterOnParent(arg2
);
31212 wxPyEndAllowThreads(__tstate
);
31213 if (PyErr_Occurred()) SWIG_fail
;
31215 resultobj
= SWIG_Py_Void();
31222 SWIGINTERN PyObject
*_wrap_Window_Fit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31223 PyObject
*resultobj
= 0;
31224 wxWindow
*arg1
= (wxWindow
*) 0 ;
31227 PyObject
*swig_obj
[1] ;
31229 if (!args
) SWIG_fail
;
31230 swig_obj
[0] = args
;
31231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31232 if (!SWIG_IsOK(res1
)) {
31233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Fit" "', expected argument " "1"" of type '" "wxWindow *""'");
31235 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31239 wxPyEndAllowThreads(__tstate
);
31240 if (PyErr_Occurred()) SWIG_fail
;
31242 resultobj
= SWIG_Py_Void();
31249 SWIGINTERN PyObject
*_wrap_Window_FitInside(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31250 PyObject
*resultobj
= 0;
31251 wxWindow
*arg1
= (wxWindow
*) 0 ;
31254 PyObject
*swig_obj
[1] ;
31256 if (!args
) SWIG_fail
;
31257 swig_obj
[0] = args
;
31258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31259 if (!SWIG_IsOK(res1
)) {
31260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_FitInside" "', expected argument " "1"" of type '" "wxWindow *""'");
31262 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31265 (arg1
)->FitInside();
31266 wxPyEndAllowThreads(__tstate
);
31267 if (PyErr_Occurred()) SWIG_fail
;
31269 resultobj
= SWIG_Py_Void();
31276 SWIGINTERN PyObject
*_wrap_Window_SetSizeHints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31277 PyObject
*resultobj
= 0;
31278 wxWindow
*arg1
= (wxWindow
*) 0 ;
31281 int arg4
= (int) -1 ;
31282 int arg5
= (int) -1 ;
31283 int arg6
= (int) -1 ;
31284 int arg7
= (int) -1 ;
31299 PyObject
* obj0
= 0 ;
31300 PyObject
* obj1
= 0 ;
31301 PyObject
* obj2
= 0 ;
31302 PyObject
* obj3
= 0 ;
31303 PyObject
* obj4
= 0 ;
31304 PyObject
* obj5
= 0 ;
31305 PyObject
* obj6
= 0 ;
31306 char * kwnames
[] = {
31307 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
31310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31312 if (!SWIG_IsOK(res1
)) {
31313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetSizeHints" "', expected argument " "1"" of type '" "wxWindow *""'");
31315 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31316 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31317 if (!SWIG_IsOK(ecode2
)) {
31318 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetSizeHints" "', expected argument " "2"" of type '" "int""'");
31320 arg2
= static_cast< int >(val2
);
31321 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31322 if (!SWIG_IsOK(ecode3
)) {
31323 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetSizeHints" "', expected argument " "3"" of type '" "int""'");
31325 arg3
= static_cast< int >(val3
);
31327 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31328 if (!SWIG_IsOK(ecode4
)) {
31329 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_SetSizeHints" "', expected argument " "4"" of type '" "int""'");
31331 arg4
= static_cast< int >(val4
);
31334 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31335 if (!SWIG_IsOK(ecode5
)) {
31336 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Window_SetSizeHints" "', expected argument " "5"" of type '" "int""'");
31338 arg5
= static_cast< int >(val5
);
31341 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
31342 if (!SWIG_IsOK(ecode6
)) {
31343 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Window_SetSizeHints" "', expected argument " "6"" of type '" "int""'");
31345 arg6
= static_cast< int >(val6
);
31348 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
31349 if (!SWIG_IsOK(ecode7
)) {
31350 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Window_SetSizeHints" "', expected argument " "7"" of type '" "int""'");
31352 arg7
= static_cast< int >(val7
);
31355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31356 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
31357 wxPyEndAllowThreads(__tstate
);
31358 if (PyErr_Occurred()) SWIG_fail
;
31360 resultobj
= SWIG_Py_Void();
31367 SWIGINTERN PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31368 PyObject
*resultobj
= 0;
31369 wxWindow
*arg1
= (wxWindow
*) 0 ;
31371 wxSize
const &arg3_defvalue
= wxDefaultSize
;
31372 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
31373 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31374 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31380 PyObject
* obj0
= 0 ;
31381 PyObject
* obj1
= 0 ;
31382 PyObject
* obj2
= 0 ;
31383 PyObject
* obj3
= 0 ;
31384 char * kwnames
[] = {
31385 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
31388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31390 if (!SWIG_IsOK(res1
)) {
31391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetSizeHintsSz" "', expected argument " "1"" of type '" "wxWindow *""'");
31393 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31396 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
31401 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
31407 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31412 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
31413 wxPyEndAllowThreads(__tstate
);
31414 if (PyErr_Occurred()) SWIG_fail
;
31416 resultobj
= SWIG_Py_Void();
31423 SWIGINTERN PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31424 PyObject
*resultobj
= 0;
31425 wxWindow
*arg1
= (wxWindow
*) 0 ;
31428 int arg4
= (int) -1 ;
31429 int arg5
= (int) -1 ;
31440 PyObject
* obj0
= 0 ;
31441 PyObject
* obj1
= 0 ;
31442 PyObject
* obj2
= 0 ;
31443 PyObject
* obj3
= 0 ;
31444 PyObject
* obj4
= 0 ;
31445 char * kwnames
[] = {
31446 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
31449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31451 if (!SWIG_IsOK(res1
)) {
31452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetVirtualSizeHints" "', expected argument " "1"" of type '" "wxWindow *""'");
31454 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31455 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31456 if (!SWIG_IsOK(ecode2
)) {
31457 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetVirtualSizeHints" "', expected argument " "2"" of type '" "int""'");
31459 arg2
= static_cast< int >(val2
);
31460 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31461 if (!SWIG_IsOK(ecode3
)) {
31462 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetVirtualSizeHints" "', expected argument " "3"" of type '" "int""'");
31464 arg3
= static_cast< int >(val3
);
31466 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31467 if (!SWIG_IsOK(ecode4
)) {
31468 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_SetVirtualSizeHints" "', expected argument " "4"" of type '" "int""'");
31470 arg4
= static_cast< int >(val4
);
31473 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31474 if (!SWIG_IsOK(ecode5
)) {
31475 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Window_SetVirtualSizeHints" "', expected argument " "5"" of type '" "int""'");
31477 arg5
= static_cast< int >(val5
);
31480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31481 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
31482 wxPyEndAllowThreads(__tstate
);
31483 if (PyErr_Occurred()) SWIG_fail
;
31485 resultobj
= SWIG_Py_Void();
31492 SWIGINTERN PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31493 PyObject
*resultobj
= 0;
31494 wxWindow
*arg1
= (wxWindow
*) 0 ;
31496 wxSize
const &arg3_defvalue
= wxDefaultSize
;
31497 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
31502 PyObject
* obj0
= 0 ;
31503 PyObject
* obj1
= 0 ;
31504 PyObject
* obj2
= 0 ;
31505 char * kwnames
[] = {
31506 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
31509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31511 if (!SWIG_IsOK(res1
)) {
31512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetVirtualSizeHintsSz" "', expected argument " "1"" of type '" "wxWindow *""'");
31514 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31517 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
31522 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
31526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31527 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
31528 wxPyEndAllowThreads(__tstate
);
31529 if (PyErr_Occurred()) SWIG_fail
;
31531 resultobj
= SWIG_Py_Void();
31538 SWIGINTERN PyObject
*_wrap_Window_GetMaxSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31539 PyObject
*resultobj
= 0;
31540 wxWindow
*arg1
= (wxWindow
*) 0 ;
31544 PyObject
*swig_obj
[1] ;
31546 if (!args
) SWIG_fail
;
31547 swig_obj
[0] = args
;
31548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31549 if (!SWIG_IsOK(res1
)) {
31550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetMaxSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
31552 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31555 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
31556 wxPyEndAllowThreads(__tstate
);
31557 if (PyErr_Occurred()) SWIG_fail
;
31559 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
31566 SWIGINTERN PyObject
*_wrap_Window_GetMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31567 PyObject
*resultobj
= 0;
31568 wxWindow
*arg1
= (wxWindow
*) 0 ;
31572 PyObject
*swig_obj
[1] ;
31574 if (!args
) SWIG_fail
;
31575 swig_obj
[0] = args
;
31576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31577 if (!SWIG_IsOK(res1
)) {
31578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetMinSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
31580 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31583 result
= ((wxWindow
const *)arg1
)->GetMinSize();
31584 wxPyEndAllowThreads(__tstate
);
31585 if (PyErr_Occurred()) SWIG_fail
;
31587 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
31594 SWIGINTERN PyObject
*_wrap_Window_SetMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31595 PyObject
*resultobj
= 0;
31596 wxWindow
*arg1
= (wxWindow
*) 0 ;
31601 PyObject
* obj0
= 0 ;
31602 PyObject
* obj1
= 0 ;
31603 char * kwnames
[] = {
31604 (char *) "self",(char *) "minSize", NULL
31607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31609 if (!SWIG_IsOK(res1
)) {
31610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetMinSize" "', expected argument " "1"" of type '" "wxWindow *""'");
31612 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31615 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
31618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31619 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
31620 wxPyEndAllowThreads(__tstate
);
31621 if (PyErr_Occurred()) SWIG_fail
;
31623 resultobj
= SWIG_Py_Void();
31630 SWIGINTERN PyObject
*_wrap_Window_SetMaxSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31631 PyObject
*resultobj
= 0;
31632 wxWindow
*arg1
= (wxWindow
*) 0 ;
31637 PyObject
* obj0
= 0 ;
31638 PyObject
* obj1
= 0 ;
31639 char * kwnames
[] = {
31640 (char *) "self",(char *) "maxSize", NULL
31643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31645 if (!SWIG_IsOK(res1
)) {
31646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetMaxSize" "', expected argument " "1"" of type '" "wxWindow *""'");
31648 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31651 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
31654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31655 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
31656 wxPyEndAllowThreads(__tstate
);
31657 if (PyErr_Occurred()) SWIG_fail
;
31659 resultobj
= SWIG_Py_Void();
31666 SWIGINTERN PyObject
*_wrap_Window_GetMinWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31667 PyObject
*resultobj
= 0;
31668 wxWindow
*arg1
= (wxWindow
*) 0 ;
31672 PyObject
*swig_obj
[1] ;
31674 if (!args
) SWIG_fail
;
31675 swig_obj
[0] = args
;
31676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31677 if (!SWIG_IsOK(res1
)) {
31678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetMinWidth" "', expected argument " "1"" of type '" "wxWindow const *""'");
31680 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31683 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
31684 wxPyEndAllowThreads(__tstate
);
31685 if (PyErr_Occurred()) SWIG_fail
;
31687 resultobj
= SWIG_From_int(static_cast< int >(result
));
31694 SWIGINTERN PyObject
*_wrap_Window_GetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31695 PyObject
*resultobj
= 0;
31696 wxWindow
*arg1
= (wxWindow
*) 0 ;
31700 PyObject
*swig_obj
[1] ;
31702 if (!args
) SWIG_fail
;
31703 swig_obj
[0] = args
;
31704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31705 if (!SWIG_IsOK(res1
)) {
31706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetMinHeight" "', expected argument " "1"" of type '" "wxWindow const *""'");
31708 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31711 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
31712 wxPyEndAllowThreads(__tstate
);
31713 if (PyErr_Occurred()) SWIG_fail
;
31715 resultobj
= SWIG_From_int(static_cast< int >(result
));
31722 SWIGINTERN PyObject
*_wrap_Window_GetMaxWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31723 PyObject
*resultobj
= 0;
31724 wxWindow
*arg1
= (wxWindow
*) 0 ;
31728 PyObject
*swig_obj
[1] ;
31730 if (!args
) SWIG_fail
;
31731 swig_obj
[0] = args
;
31732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31733 if (!SWIG_IsOK(res1
)) {
31734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetMaxWidth" "', expected argument " "1"" of type '" "wxWindow const *""'");
31736 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31739 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
31740 wxPyEndAllowThreads(__tstate
);
31741 if (PyErr_Occurred()) SWIG_fail
;
31743 resultobj
= SWIG_From_int(static_cast< int >(result
));
31750 SWIGINTERN PyObject
*_wrap_Window_GetMaxHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31751 PyObject
*resultobj
= 0;
31752 wxWindow
*arg1
= (wxWindow
*) 0 ;
31756 PyObject
*swig_obj
[1] ;
31758 if (!args
) SWIG_fail
;
31759 swig_obj
[0] = args
;
31760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31761 if (!SWIG_IsOK(res1
)) {
31762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetMaxHeight" "', expected argument " "1"" of type '" "wxWindow const *""'");
31764 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31767 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
31768 wxPyEndAllowThreads(__tstate
);
31769 if (PyErr_Occurred()) SWIG_fail
;
31771 resultobj
= SWIG_From_int(static_cast< int >(result
));
31778 SWIGINTERN PyObject
*_wrap_Window_SetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31779 PyObject
*resultobj
= 0;
31780 wxWindow
*arg1
= (wxWindow
*) 0 ;
31785 PyObject
* obj0
= 0 ;
31786 PyObject
* obj1
= 0 ;
31787 char * kwnames
[] = {
31788 (char *) "self",(char *) "size", NULL
31791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31793 if (!SWIG_IsOK(res1
)) {
31794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetVirtualSize" "', expected argument " "1"" of type '" "wxWindow *""'");
31796 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31799 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
31802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31803 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
31804 wxPyEndAllowThreads(__tstate
);
31805 if (PyErr_Occurred()) SWIG_fail
;
31807 resultobj
= SWIG_Py_Void();
31814 SWIGINTERN PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31815 PyObject
*resultobj
= 0;
31816 wxWindow
*arg1
= (wxWindow
*) 0 ;
31825 PyObject
* obj0
= 0 ;
31826 PyObject
* obj1
= 0 ;
31827 PyObject
* obj2
= 0 ;
31828 char * kwnames
[] = {
31829 (char *) "self",(char *) "w",(char *) "h", NULL
31832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31834 if (!SWIG_IsOK(res1
)) {
31835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetVirtualSizeWH" "', expected argument " "1"" of type '" "wxWindow *""'");
31837 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31838 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31839 if (!SWIG_IsOK(ecode2
)) {
31840 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetVirtualSizeWH" "', expected argument " "2"" of type '" "int""'");
31842 arg2
= static_cast< int >(val2
);
31843 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31844 if (!SWIG_IsOK(ecode3
)) {
31845 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetVirtualSizeWH" "', expected argument " "3"" of type '" "int""'");
31847 arg3
= static_cast< int >(val3
);
31849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31850 (arg1
)->SetVirtualSize(arg2
,arg3
);
31851 wxPyEndAllowThreads(__tstate
);
31852 if (PyErr_Occurred()) SWIG_fail
;
31854 resultobj
= SWIG_Py_Void();
31861 SWIGINTERN PyObject
*_wrap_Window_GetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31862 PyObject
*resultobj
= 0;
31863 wxWindow
*arg1
= (wxWindow
*) 0 ;
31867 PyObject
*swig_obj
[1] ;
31869 if (!args
) SWIG_fail
;
31870 swig_obj
[0] = args
;
31871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31872 if (!SWIG_IsOK(res1
)) {
31873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetVirtualSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
31875 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31878 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
31879 wxPyEndAllowThreads(__tstate
);
31880 if (PyErr_Occurred()) SWIG_fail
;
31882 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
31889 SWIGINTERN PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31890 PyObject
*resultobj
= 0;
31891 wxWindow
*arg1
= (wxWindow
*) 0 ;
31892 int *arg2
= (int *) 0 ;
31893 int *arg3
= (int *) 0 ;
31897 int res2
= SWIG_TMPOBJ
;
31899 int res3
= SWIG_TMPOBJ
;
31900 PyObject
*swig_obj
[1] ;
31904 if (!args
) SWIG_fail
;
31905 swig_obj
[0] = args
;
31906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31907 if (!SWIG_IsOK(res1
)) {
31908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetVirtualSizeTuple" "', expected argument " "1"" of type '" "wxWindow const *""'");
31910 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31913 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
31914 wxPyEndAllowThreads(__tstate
);
31915 if (PyErr_Occurred()) SWIG_fail
;
31917 resultobj
= SWIG_Py_Void();
31918 if (SWIG_IsTmpObj(res2
)) {
31919 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
31921 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31922 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
31924 if (SWIG_IsTmpObj(res3
)) {
31925 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31927 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31928 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31936 SWIGINTERN PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31937 PyObject
*resultobj
= 0;
31938 wxWindow
*arg1
= (wxWindow
*) 0 ;
31942 PyObject
*swig_obj
[1] ;
31944 if (!args
) SWIG_fail
;
31945 swig_obj
[0] = args
;
31946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31947 if (!SWIG_IsOK(res1
)) {
31948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBestVirtualSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
31950 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31953 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
31954 wxPyEndAllowThreads(__tstate
);
31955 if (PyErr_Occurred()) SWIG_fail
;
31957 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
31964 SWIGINTERN PyObject
*_wrap_Window_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31965 PyObject
*resultobj
= 0;
31966 wxWindow
*arg1
= (wxWindow
*) 0 ;
31967 bool arg2
= (bool) true ;
31973 PyObject
* obj0
= 0 ;
31974 PyObject
* obj1
= 0 ;
31975 char * kwnames
[] = {
31976 (char *) "self",(char *) "show", NULL
31979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31981 if (!SWIG_IsOK(res1
)) {
31982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Show" "', expected argument " "1"" of type '" "wxWindow *""'");
31984 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31986 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
31987 if (!SWIG_IsOK(ecode2
)) {
31988 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_Show" "', expected argument " "2"" of type '" "bool""'");
31990 arg2
= static_cast< bool >(val2
);
31993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31994 result
= (bool)(arg1
)->Show(arg2
);
31995 wxPyEndAllowThreads(__tstate
);
31996 if (PyErr_Occurred()) SWIG_fail
;
31999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32007 SWIGINTERN PyObject
*_wrap_Window_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32008 PyObject
*resultobj
= 0;
32009 wxWindow
*arg1
= (wxWindow
*) 0 ;
32013 PyObject
*swig_obj
[1] ;
32015 if (!args
) SWIG_fail
;
32016 swig_obj
[0] = args
;
32017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32018 if (!SWIG_IsOK(res1
)) {
32019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Hide" "', expected argument " "1"" of type '" "wxWindow *""'");
32021 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32024 result
= (bool)(arg1
)->Hide();
32025 wxPyEndAllowThreads(__tstate
);
32026 if (PyErr_Occurred()) SWIG_fail
;
32029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32037 SWIGINTERN PyObject
*_wrap_Window_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32038 PyObject
*resultobj
= 0;
32039 wxWindow
*arg1
= (wxWindow
*) 0 ;
32040 bool arg2
= (bool) true ;
32046 PyObject
* obj0
= 0 ;
32047 PyObject
* obj1
= 0 ;
32048 char * kwnames
[] = {
32049 (char *) "self",(char *) "enable", NULL
32052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32054 if (!SWIG_IsOK(res1
)) {
32055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Enable" "', expected argument " "1"" of type '" "wxWindow *""'");
32057 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32059 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
32060 if (!SWIG_IsOK(ecode2
)) {
32061 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_Enable" "', expected argument " "2"" of type '" "bool""'");
32063 arg2
= static_cast< bool >(val2
);
32066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32067 result
= (bool)(arg1
)->Enable(arg2
);
32068 wxPyEndAllowThreads(__tstate
);
32069 if (PyErr_Occurred()) SWIG_fail
;
32072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32080 SWIGINTERN PyObject
*_wrap_Window_Disable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32081 PyObject
*resultobj
= 0;
32082 wxWindow
*arg1
= (wxWindow
*) 0 ;
32086 PyObject
*swig_obj
[1] ;
32088 if (!args
) SWIG_fail
;
32089 swig_obj
[0] = args
;
32090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32091 if (!SWIG_IsOK(res1
)) {
32092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Disable" "', expected argument " "1"" of type '" "wxWindow *""'");
32094 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32097 result
= (bool)(arg1
)->Disable();
32098 wxPyEndAllowThreads(__tstate
);
32099 if (PyErr_Occurred()) SWIG_fail
;
32102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32110 SWIGINTERN PyObject
*_wrap_Window_IsShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32111 PyObject
*resultobj
= 0;
32112 wxWindow
*arg1
= (wxWindow
*) 0 ;
32116 PyObject
*swig_obj
[1] ;
32118 if (!args
) SWIG_fail
;
32119 swig_obj
[0] = args
;
32120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32121 if (!SWIG_IsOK(res1
)) {
32122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsShown" "', expected argument " "1"" of type '" "wxWindow const *""'");
32124 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32127 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
32128 wxPyEndAllowThreads(__tstate
);
32129 if (PyErr_Occurred()) SWIG_fail
;
32132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32140 SWIGINTERN PyObject
*_wrap_Window_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32141 PyObject
*resultobj
= 0;
32142 wxWindow
*arg1
= (wxWindow
*) 0 ;
32146 PyObject
*swig_obj
[1] ;
32148 if (!args
) SWIG_fail
;
32149 swig_obj
[0] = args
;
32150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32151 if (!SWIG_IsOK(res1
)) {
32152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsEnabled" "', expected argument " "1"" of type '" "wxWindow const *""'");
32154 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32157 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
32158 wxPyEndAllowThreads(__tstate
);
32159 if (PyErr_Occurred()) SWIG_fail
;
32162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32170 SWIGINTERN PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32171 PyObject
*resultobj
= 0;
32172 wxWindow
*arg1
= (wxWindow
*) 0 ;
32178 PyObject
* obj0
= 0 ;
32179 PyObject
* obj1
= 0 ;
32180 char * kwnames
[] = {
32181 (char *) "self",(char *) "style", NULL
32184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32186 if (!SWIG_IsOK(res1
)) {
32187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetWindowStyleFlag" "', expected argument " "1"" of type '" "wxWindow *""'");
32189 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32190 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32191 if (!SWIG_IsOK(ecode2
)) {
32192 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetWindowStyleFlag" "', expected argument " "2"" of type '" "long""'");
32194 arg2
= static_cast< long >(val2
);
32196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32197 (arg1
)->SetWindowStyleFlag(arg2
);
32198 wxPyEndAllowThreads(__tstate
);
32199 if (PyErr_Occurred()) SWIG_fail
;
32201 resultobj
= SWIG_Py_Void();
32208 SWIGINTERN PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32209 PyObject
*resultobj
= 0;
32210 wxWindow
*arg1
= (wxWindow
*) 0 ;
32214 PyObject
*swig_obj
[1] ;
32216 if (!args
) SWIG_fail
;
32217 swig_obj
[0] = args
;
32218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32219 if (!SWIG_IsOK(res1
)) {
32220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetWindowStyleFlag" "', expected argument " "1"" of type '" "wxWindow const *""'");
32222 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32225 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
32226 wxPyEndAllowThreads(__tstate
);
32227 if (PyErr_Occurred()) SWIG_fail
;
32229 resultobj
= SWIG_From_long(static_cast< long >(result
));
32236 SWIGINTERN PyObject
*_wrap_Window_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32237 PyObject
*resultobj
= 0;
32238 wxWindow
*arg1
= (wxWindow
*) 0 ;
32245 PyObject
* obj0
= 0 ;
32246 PyObject
* obj1
= 0 ;
32247 char * kwnames
[] = {
32248 (char *) "self",(char *) "flag", NULL
32251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32253 if (!SWIG_IsOK(res1
)) {
32254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_HasFlag" "', expected argument " "1"" of type '" "wxWindow const *""'");
32256 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32257 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32258 if (!SWIG_IsOK(ecode2
)) {
32259 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_HasFlag" "', expected argument " "2"" of type '" "int""'");
32261 arg2
= static_cast< int >(val2
);
32263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32264 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
32265 wxPyEndAllowThreads(__tstate
);
32266 if (PyErr_Occurred()) SWIG_fail
;
32269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32277 SWIGINTERN PyObject
*_wrap_Window_IsRetained(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32278 PyObject
*resultobj
= 0;
32279 wxWindow
*arg1
= (wxWindow
*) 0 ;
32283 PyObject
*swig_obj
[1] ;
32285 if (!args
) SWIG_fail
;
32286 swig_obj
[0] = args
;
32287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32288 if (!SWIG_IsOK(res1
)) {
32289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsRetained" "', expected argument " "1"" of type '" "wxWindow const *""'");
32291 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32294 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
32295 wxPyEndAllowThreads(__tstate
);
32296 if (PyErr_Occurred()) SWIG_fail
;
32299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32307 SWIGINTERN PyObject
*_wrap_Window_SetExtraStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32308 PyObject
*resultobj
= 0;
32309 wxWindow
*arg1
= (wxWindow
*) 0 ;
32315 PyObject
* obj0
= 0 ;
32316 PyObject
* obj1
= 0 ;
32317 char * kwnames
[] = {
32318 (char *) "self",(char *) "exStyle", NULL
32321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32323 if (!SWIG_IsOK(res1
)) {
32324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetExtraStyle" "', expected argument " "1"" of type '" "wxWindow *""'");
32326 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32327 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32328 if (!SWIG_IsOK(ecode2
)) {
32329 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetExtraStyle" "', expected argument " "2"" of type '" "long""'");
32331 arg2
= static_cast< long >(val2
);
32333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32334 (arg1
)->SetExtraStyle(arg2
);
32335 wxPyEndAllowThreads(__tstate
);
32336 if (PyErr_Occurred()) SWIG_fail
;
32338 resultobj
= SWIG_Py_Void();
32345 SWIGINTERN PyObject
*_wrap_Window_GetExtraStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32346 PyObject
*resultobj
= 0;
32347 wxWindow
*arg1
= (wxWindow
*) 0 ;
32351 PyObject
*swig_obj
[1] ;
32353 if (!args
) SWIG_fail
;
32354 swig_obj
[0] = args
;
32355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32356 if (!SWIG_IsOK(res1
)) {
32357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetExtraStyle" "', expected argument " "1"" of type '" "wxWindow const *""'");
32359 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32362 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
32363 wxPyEndAllowThreads(__tstate
);
32364 if (PyErr_Occurred()) SWIG_fail
;
32366 resultobj
= SWIG_From_long(static_cast< long >(result
));
32373 SWIGINTERN PyObject
*_wrap_Window_MakeModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32374 PyObject
*resultobj
= 0;
32375 wxWindow
*arg1
= (wxWindow
*) 0 ;
32376 bool arg2
= (bool) true ;
32381 PyObject
* obj0
= 0 ;
32382 PyObject
* obj1
= 0 ;
32383 char * kwnames
[] = {
32384 (char *) "self",(char *) "modal", NULL
32387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32389 if (!SWIG_IsOK(res1
)) {
32390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_MakeModal" "', expected argument " "1"" of type '" "wxWindow *""'");
32392 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32394 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
32395 if (!SWIG_IsOK(ecode2
)) {
32396 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_MakeModal" "', expected argument " "2"" of type '" "bool""'");
32398 arg2
= static_cast< bool >(val2
);
32401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32402 (arg1
)->MakeModal(arg2
);
32403 wxPyEndAllowThreads(__tstate
);
32404 if (PyErr_Occurred()) SWIG_fail
;
32406 resultobj
= SWIG_Py_Void();
32413 SWIGINTERN PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32414 PyObject
*resultobj
= 0;
32415 wxWindow
*arg1
= (wxWindow
*) 0 ;
32421 PyObject
* obj0
= 0 ;
32422 PyObject
* obj1
= 0 ;
32423 char * kwnames
[] = {
32424 (char *) "self",(char *) "enableTheme", NULL
32427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32429 if (!SWIG_IsOK(res1
)) {
32430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetThemeEnabled" "', expected argument " "1"" of type '" "wxWindow *""'");
32432 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32433 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
32434 if (!SWIG_IsOK(ecode2
)) {
32435 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetThemeEnabled" "', expected argument " "2"" of type '" "bool""'");
32437 arg2
= static_cast< bool >(val2
);
32439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32440 (arg1
)->SetThemeEnabled(arg2
);
32441 wxPyEndAllowThreads(__tstate
);
32442 if (PyErr_Occurred()) SWIG_fail
;
32444 resultobj
= SWIG_Py_Void();
32451 SWIGINTERN PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32452 PyObject
*resultobj
= 0;
32453 wxWindow
*arg1
= (wxWindow
*) 0 ;
32457 PyObject
*swig_obj
[1] ;
32459 if (!args
) SWIG_fail
;
32460 swig_obj
[0] = args
;
32461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32462 if (!SWIG_IsOK(res1
)) {
32463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetThemeEnabled" "', expected argument " "1"" of type '" "wxWindow const *""'");
32465 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32468 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
32469 wxPyEndAllowThreads(__tstate
);
32470 if (PyErr_Occurred()) SWIG_fail
;
32473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32481 SWIGINTERN PyObject
*_wrap_Window_SetFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32482 PyObject
*resultobj
= 0;
32483 wxWindow
*arg1
= (wxWindow
*) 0 ;
32486 PyObject
*swig_obj
[1] ;
32488 if (!args
) SWIG_fail
;
32489 swig_obj
[0] = args
;
32490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32491 if (!SWIG_IsOK(res1
)) {
32492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetFocus" "', expected argument " "1"" of type '" "wxWindow *""'");
32494 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32497 (arg1
)->SetFocus();
32498 wxPyEndAllowThreads(__tstate
);
32499 if (PyErr_Occurred()) SWIG_fail
;
32501 resultobj
= SWIG_Py_Void();
32508 SWIGINTERN PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32509 PyObject
*resultobj
= 0;
32510 wxWindow
*arg1
= (wxWindow
*) 0 ;
32513 PyObject
*swig_obj
[1] ;
32515 if (!args
) SWIG_fail
;
32516 swig_obj
[0] = args
;
32517 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32518 if (!SWIG_IsOK(res1
)) {
32519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetFocusFromKbd" "', expected argument " "1"" of type '" "wxWindow *""'");
32521 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32524 (arg1
)->SetFocusFromKbd();
32525 wxPyEndAllowThreads(__tstate
);
32526 if (PyErr_Occurred()) SWIG_fail
;
32528 resultobj
= SWIG_Py_Void();
32535 SWIGINTERN PyObject
*_wrap_Window_FindFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32536 PyObject
*resultobj
= 0;
32537 wxWindow
*result
= 0 ;
32539 if (!SWIG_Python_UnpackTuple(args
,"Window_FindFocus",0,0,0)) SWIG_fail
;
32541 if (!wxPyCheckForApp()) SWIG_fail
;
32542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32543 result
= (wxWindow
*)wxWindow::FindFocus();
32544 wxPyEndAllowThreads(__tstate
);
32545 if (PyErr_Occurred()) SWIG_fail
;
32548 resultobj
= wxPyMake_wxObject(result
, 0);
32556 SWIGINTERN PyObject
*_wrap_Window_AcceptsFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32557 PyObject
*resultobj
= 0;
32558 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_AcceptsFocus" "', expected argument " "1"" of type '" "wxWindow const *""'");
32570 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32573 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
32574 wxPyEndAllowThreads(__tstate
);
32575 if (PyErr_Occurred()) SWIG_fail
;
32578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32586 SWIGINTERN PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32587 PyObject
*resultobj
= 0;
32588 wxWindow
*arg1
= (wxWindow
*) 0 ;
32592 PyObject
*swig_obj
[1] ;
32594 if (!args
) SWIG_fail
;
32595 swig_obj
[0] = args
;
32596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32597 if (!SWIG_IsOK(res1
)) {
32598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_AcceptsFocusFromKeyboard" "', expected argument " "1"" of type '" "wxWindow const *""'");
32600 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32603 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
32604 wxPyEndAllowThreads(__tstate
);
32605 if (PyErr_Occurred()) SWIG_fail
;
32608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32616 SWIGINTERN PyObject
*_wrap_Window_GetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32617 PyObject
*resultobj
= 0;
32618 wxWindow
*arg1
= (wxWindow
*) 0 ;
32619 wxWindow
*result
= 0 ;
32622 PyObject
*swig_obj
[1] ;
32624 if (!args
) SWIG_fail
;
32625 swig_obj
[0] = args
;
32626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32627 if (!SWIG_IsOK(res1
)) {
32628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetDefaultItem" "', expected argument " "1"" of type '" "wxWindow const *""'");
32630 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32633 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
32634 wxPyEndAllowThreads(__tstate
);
32635 if (PyErr_Occurred()) SWIG_fail
;
32638 resultobj
= wxPyMake_wxObject(result
, 0);
32646 SWIGINTERN PyObject
*_wrap_Window_SetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32647 PyObject
*resultobj
= 0;
32648 wxWindow
*arg1
= (wxWindow
*) 0 ;
32649 wxWindow
*arg2
= (wxWindow
*) 0 ;
32650 wxWindow
*result
= 0 ;
32655 PyObject
* obj0
= 0 ;
32656 PyObject
* obj1
= 0 ;
32657 char * kwnames
[] = {
32658 (char *) "self",(char *) "child", NULL
32661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32663 if (!SWIG_IsOK(res1
)) {
32664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetDefaultItem" "', expected argument " "1"" of type '" "wxWindow *""'");
32666 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32667 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32668 if (!SWIG_IsOK(res2
)) {
32669 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
32671 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
32673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32674 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
32675 wxPyEndAllowThreads(__tstate
);
32676 if (PyErr_Occurred()) SWIG_fail
;
32679 resultobj
= wxPyMake_wxObject(result
, 0);
32687 SWIGINTERN PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32688 PyObject
*resultobj
= 0;
32689 wxWindow
*arg1
= (wxWindow
*) 0 ;
32690 wxWindow
*arg2
= (wxWindow
*) 0 ;
32695 PyObject
* obj0
= 0 ;
32696 PyObject
* obj1
= 0 ;
32697 char * kwnames
[] = {
32698 (char *) "self",(char *) "win", NULL
32701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32703 if (!SWIG_IsOK(res1
)) {
32704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxWindow *""'");
32706 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32707 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32708 if (!SWIG_IsOK(res2
)) {
32709 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
32711 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
32713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32714 (arg1
)->SetTmpDefaultItem(arg2
);
32715 wxPyEndAllowThreads(__tstate
);
32716 if (PyErr_Occurred()) SWIG_fail
;
32718 resultobj
= SWIG_Py_Void();
32725 SWIGINTERN PyObject
*_wrap_Window_Navigate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32726 PyObject
*resultobj
= 0;
32727 wxWindow
*arg1
= (wxWindow
*) 0 ;
32728 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
32734 PyObject
* obj0
= 0 ;
32735 PyObject
* obj1
= 0 ;
32736 char * kwnames
[] = {
32737 (char *) "self",(char *) "flags", NULL
32740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32742 if (!SWIG_IsOK(res1
)) {
32743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Navigate" "', expected argument " "1"" of type '" "wxWindow *""'");
32745 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32747 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32748 if (!SWIG_IsOK(ecode2
)) {
32749 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_Navigate" "', expected argument " "2"" of type '" "int""'");
32751 arg2
= static_cast< int >(val2
);
32754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32755 result
= (bool)(arg1
)->Navigate(arg2
);
32756 wxPyEndAllowThreads(__tstate
);
32757 if (PyErr_Occurred()) SWIG_fail
;
32760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32768 SWIGINTERN PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32769 PyObject
*resultobj
= 0;
32770 wxWindow
*arg1
= (wxWindow
*) 0 ;
32771 wxWindow
*arg2
= (wxWindow
*) 0 ;
32776 PyObject
* obj0
= 0 ;
32777 PyObject
* obj1
= 0 ;
32778 char * kwnames
[] = {
32779 (char *) "self",(char *) "win", NULL
32782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32784 if (!SWIG_IsOK(res1
)) {
32785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_MoveAfterInTabOrder" "', expected argument " "1"" of type '" "wxWindow *""'");
32787 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32788 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32789 if (!SWIG_IsOK(res2
)) {
32790 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_MoveAfterInTabOrder" "', expected argument " "2"" of type '" "wxWindow *""'");
32792 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
32794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32795 (arg1
)->MoveAfterInTabOrder(arg2
);
32796 wxPyEndAllowThreads(__tstate
);
32797 if (PyErr_Occurred()) SWIG_fail
;
32799 resultobj
= SWIG_Py_Void();
32806 SWIGINTERN PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32807 PyObject
*resultobj
= 0;
32808 wxWindow
*arg1
= (wxWindow
*) 0 ;
32809 wxWindow
*arg2
= (wxWindow
*) 0 ;
32814 PyObject
* obj0
= 0 ;
32815 PyObject
* obj1
= 0 ;
32816 char * kwnames
[] = {
32817 (char *) "self",(char *) "win", NULL
32820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32822 if (!SWIG_IsOK(res1
)) {
32823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_MoveBeforeInTabOrder" "', expected argument " "1"" of type '" "wxWindow *""'");
32825 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32826 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32827 if (!SWIG_IsOK(res2
)) {
32828 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_MoveBeforeInTabOrder" "', expected argument " "2"" of type '" "wxWindow *""'");
32830 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
32832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32833 (arg1
)->MoveBeforeInTabOrder(arg2
);
32834 wxPyEndAllowThreads(__tstate
);
32835 if (PyErr_Occurred()) SWIG_fail
;
32837 resultobj
= SWIG_Py_Void();
32844 SWIGINTERN PyObject
*_wrap_Window_GetChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32845 PyObject
*resultobj
= 0;
32846 wxWindow
*arg1
= (wxWindow
*) 0 ;
32847 PyObject
*result
= 0 ;
32850 PyObject
*swig_obj
[1] ;
32852 if (!args
) SWIG_fail
;
32853 swig_obj
[0] = args
;
32854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32855 if (!SWIG_IsOK(res1
)) {
32856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetChildren" "', expected argument " "1"" of type '" "wxWindow *""'");
32858 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32861 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
32862 wxPyEndAllowThreads(__tstate
);
32863 if (PyErr_Occurred()) SWIG_fail
;
32865 resultobj
= result
;
32872 SWIGINTERN PyObject
*_wrap_Window_GetParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32873 PyObject
*resultobj
= 0;
32874 wxWindow
*arg1
= (wxWindow
*) 0 ;
32875 wxWindow
*result
= 0 ;
32878 PyObject
*swig_obj
[1] ;
32880 if (!args
) SWIG_fail
;
32881 swig_obj
[0] = args
;
32882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32883 if (!SWIG_IsOK(res1
)) {
32884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetParent" "', expected argument " "1"" of type '" "wxWindow const *""'");
32886 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32889 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
32890 wxPyEndAllowThreads(__tstate
);
32891 if (PyErr_Occurred()) SWIG_fail
;
32894 resultobj
= wxPyMake_wxObject(result
, 0);
32902 SWIGINTERN PyObject
*_wrap_Window_GetGrandParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32903 PyObject
*resultobj
= 0;
32904 wxWindow
*arg1
= (wxWindow
*) 0 ;
32905 wxWindow
*result
= 0 ;
32908 PyObject
*swig_obj
[1] ;
32910 if (!args
) SWIG_fail
;
32911 swig_obj
[0] = args
;
32912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32913 if (!SWIG_IsOK(res1
)) {
32914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetGrandParent" "', expected argument " "1"" of type '" "wxWindow const *""'");
32916 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32919 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
32920 wxPyEndAllowThreads(__tstate
);
32921 if (PyErr_Occurred()) SWIG_fail
;
32924 resultobj
= wxPyMake_wxObject(result
, 0);
32932 SWIGINTERN PyObject
*_wrap_Window_IsTopLevel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32933 PyObject
*resultobj
= 0;
32934 wxWindow
*arg1
= (wxWindow
*) 0 ;
32938 PyObject
*swig_obj
[1] ;
32940 if (!args
) SWIG_fail
;
32941 swig_obj
[0] = args
;
32942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32943 if (!SWIG_IsOK(res1
)) {
32944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsTopLevel" "', expected argument " "1"" of type '" "wxWindow const *""'");
32946 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32949 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
32950 wxPyEndAllowThreads(__tstate
);
32951 if (PyErr_Occurred()) SWIG_fail
;
32954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32962 SWIGINTERN PyObject
*_wrap_Window_Reparent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32963 PyObject
*resultobj
= 0;
32964 wxWindow
*arg1
= (wxWindow
*) 0 ;
32965 wxWindow
*arg2
= (wxWindow
*) 0 ;
32971 PyObject
* obj0
= 0 ;
32972 PyObject
* obj1
= 0 ;
32973 char * kwnames
[] = {
32974 (char *) "self",(char *) "newParent", NULL
32977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32979 if (!SWIG_IsOK(res1
)) {
32980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Reparent" "', expected argument " "1"" of type '" "wxWindow *""'");
32982 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32983 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32984 if (!SWIG_IsOK(res2
)) {
32985 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_Reparent" "', expected argument " "2"" of type '" "wxWindow *""'");
32987 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
32989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32990 result
= (bool)(arg1
)->Reparent(arg2
);
32991 wxPyEndAllowThreads(__tstate
);
32992 if (PyErr_Occurred()) SWIG_fail
;
32995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33003 SWIGINTERN PyObject
*_wrap_Window_AddChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33004 PyObject
*resultobj
= 0;
33005 wxWindow
*arg1
= (wxWindow
*) 0 ;
33006 wxWindow
*arg2
= (wxWindow
*) 0 ;
33011 PyObject
* obj0
= 0 ;
33012 PyObject
* obj1
= 0 ;
33013 char * kwnames
[] = {
33014 (char *) "self",(char *) "child", NULL
33017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33019 if (!SWIG_IsOK(res1
)) {
33020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_AddChild" "', expected argument " "1"" of type '" "wxWindow *""'");
33022 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33023 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33024 if (!SWIG_IsOK(res2
)) {
33025 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_AddChild" "', expected argument " "2"" of type '" "wxWindow *""'");
33027 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33030 (arg1
)->AddChild(arg2
);
33031 wxPyEndAllowThreads(__tstate
);
33032 if (PyErr_Occurred()) SWIG_fail
;
33034 resultobj
= SWIG_Py_Void();
33041 SWIGINTERN PyObject
*_wrap_Window_RemoveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33042 PyObject
*resultobj
= 0;
33043 wxWindow
*arg1
= (wxWindow
*) 0 ;
33044 wxWindow
*arg2
= (wxWindow
*) 0 ;
33049 PyObject
* obj0
= 0 ;
33050 PyObject
* obj1
= 0 ;
33051 char * kwnames
[] = {
33052 (char *) "self",(char *) "child", NULL
33055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33057 if (!SWIG_IsOK(res1
)) {
33058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_RemoveChild" "', expected argument " "1"" of type '" "wxWindow *""'");
33060 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33061 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33062 if (!SWIG_IsOK(res2
)) {
33063 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_RemoveChild" "', expected argument " "2"" of type '" "wxWindow *""'");
33065 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33068 (arg1
)->RemoveChild(arg2
);
33069 wxPyEndAllowThreads(__tstate
);
33070 if (PyErr_Occurred()) SWIG_fail
;
33072 resultobj
= SWIG_Py_Void();
33079 SWIGINTERN PyObject
*_wrap_Window_FindWindowById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33080 PyObject
*resultobj
= 0;
33081 wxWindow
*arg1
= (wxWindow
*) 0 ;
33083 wxWindow
*result
= 0 ;
33088 PyObject
* obj0
= 0 ;
33089 PyObject
* obj1
= 0 ;
33090 char * kwnames
[] = {
33091 (char *) "self",(char *) "winid", NULL
33094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33096 if (!SWIG_IsOK(res1
)) {
33097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_FindWindowById" "', expected argument " "1"" of type '" "wxWindow *""'");
33099 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33100 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
33101 if (!SWIG_IsOK(ecode2
)) {
33102 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_FindWindowById" "', expected argument " "2"" of type '" "long""'");
33104 arg2
= static_cast< long >(val2
);
33106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33107 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
33108 wxPyEndAllowThreads(__tstate
);
33109 if (PyErr_Occurred()) SWIG_fail
;
33112 resultobj
= wxPyMake_wxObject(result
, 0);
33120 SWIGINTERN PyObject
*_wrap_Window_FindWindowByName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33121 PyObject
*resultobj
= 0;
33122 wxWindow
*arg1
= (wxWindow
*) 0 ;
33123 wxString
*arg2
= 0 ;
33124 wxWindow
*result
= 0 ;
33127 bool temp2
= false ;
33128 PyObject
* obj0
= 0 ;
33129 PyObject
* obj1
= 0 ;
33130 char * kwnames
[] = {
33131 (char *) "self",(char *) "name", NULL
33134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33136 if (!SWIG_IsOK(res1
)) {
33137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_FindWindowByName" "', expected argument " "1"" of type '" "wxWindow *""'");
33139 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33141 arg2
= wxString_in_helper(obj1
);
33142 if (arg2
== NULL
) SWIG_fail
;
33146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33147 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
33148 wxPyEndAllowThreads(__tstate
);
33149 if (PyErr_Occurred()) SWIG_fail
;
33152 resultobj
= wxPyMake_wxObject(result
, 0);
33168 SWIGINTERN PyObject
*_wrap_Window_GetEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33169 PyObject
*resultobj
= 0;
33170 wxWindow
*arg1
= (wxWindow
*) 0 ;
33171 wxEvtHandler
*result
= 0 ;
33174 PyObject
*swig_obj
[1] ;
33176 if (!args
) SWIG_fail
;
33177 swig_obj
[0] = args
;
33178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33179 if (!SWIG_IsOK(res1
)) {
33180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetEventHandler" "', expected argument " "1"" of type '" "wxWindow const *""'");
33182 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33185 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
33186 wxPyEndAllowThreads(__tstate
);
33187 if (PyErr_Occurred()) SWIG_fail
;
33190 resultobj
= wxPyMake_wxObject(result
, 0);
33198 SWIGINTERN PyObject
*_wrap_Window_SetEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33199 PyObject
*resultobj
= 0;
33200 wxWindow
*arg1
= (wxWindow
*) 0 ;
33201 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
33206 PyObject
* obj0
= 0 ;
33207 PyObject
* obj1
= 0 ;
33208 char * kwnames
[] = {
33209 (char *) "self",(char *) "handler", NULL
33212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33214 if (!SWIG_IsOK(res1
)) {
33215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetEventHandler" "', expected argument " "1"" of type '" "wxWindow *""'");
33217 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33218 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
33219 if (!SWIG_IsOK(res2
)) {
33220 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetEventHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
33222 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
33224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33225 (arg1
)->SetEventHandler(arg2
);
33226 wxPyEndAllowThreads(__tstate
);
33227 if (PyErr_Occurred()) SWIG_fail
;
33229 resultobj
= SWIG_Py_Void();
33236 SWIGINTERN PyObject
*_wrap_Window_PushEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33237 PyObject
*resultobj
= 0;
33238 wxWindow
*arg1
= (wxWindow
*) 0 ;
33239 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
33244 PyObject
* obj0
= 0 ;
33245 PyObject
* obj1
= 0 ;
33246 char * kwnames
[] = {
33247 (char *) "self",(char *) "handler", NULL
33250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33252 if (!SWIG_IsOK(res1
)) {
33253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PushEventHandler" "', expected argument " "1"" of type '" "wxWindow *""'");
33255 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33256 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
33257 if (!SWIG_IsOK(res2
)) {
33258 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_PushEventHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
33260 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
33262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33263 (arg1
)->PushEventHandler(arg2
);
33264 wxPyEndAllowThreads(__tstate
);
33265 if (PyErr_Occurred()) SWIG_fail
;
33267 resultobj
= SWIG_Py_Void();
33274 SWIGINTERN PyObject
*_wrap_Window_PopEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33275 PyObject
*resultobj
= 0;
33276 wxWindow
*arg1
= (wxWindow
*) 0 ;
33277 bool arg2
= (bool) false ;
33278 wxEvtHandler
*result
= 0 ;
33283 PyObject
* obj0
= 0 ;
33284 PyObject
* obj1
= 0 ;
33285 char * kwnames
[] = {
33286 (char *) "self",(char *) "deleteHandler", NULL
33289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33291 if (!SWIG_IsOK(res1
)) {
33292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PopEventHandler" "', expected argument " "1"" of type '" "wxWindow *""'");
33294 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33296 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33297 if (!SWIG_IsOK(ecode2
)) {
33298 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_PopEventHandler" "', expected argument " "2"" of type '" "bool""'");
33300 arg2
= static_cast< bool >(val2
);
33303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33304 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
33305 wxPyEndAllowThreads(__tstate
);
33306 if (PyErr_Occurred()) SWIG_fail
;
33309 resultobj
= wxPyMake_wxObject(result
, 0);
33317 SWIGINTERN PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33318 PyObject
*resultobj
= 0;
33319 wxWindow
*arg1
= (wxWindow
*) 0 ;
33320 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
33326 PyObject
* obj0
= 0 ;
33327 PyObject
* obj1
= 0 ;
33328 char * kwnames
[] = {
33329 (char *) "self",(char *) "handler", NULL
33332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33334 if (!SWIG_IsOK(res1
)) {
33335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_RemoveEventHandler" "', expected argument " "1"" of type '" "wxWindow *""'");
33337 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33338 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
33339 if (!SWIG_IsOK(res2
)) {
33340 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_RemoveEventHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
33342 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
33344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33345 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
33346 wxPyEndAllowThreads(__tstate
);
33347 if (PyErr_Occurred()) SWIG_fail
;
33350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33358 SWIGINTERN PyObject
*_wrap_Window_SetValidator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33359 PyObject
*resultobj
= 0;
33360 wxWindow
*arg1
= (wxWindow
*) 0 ;
33361 wxValidator
*arg2
= 0 ;
33366 PyObject
* obj0
= 0 ;
33367 PyObject
* obj1
= 0 ;
33368 char * kwnames
[] = {
33369 (char *) "self",(char *) "validator", NULL
33372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33374 if (!SWIG_IsOK(res1
)) {
33375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetValidator" "', expected argument " "1"" of type '" "wxWindow *""'");
33377 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33378 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxValidator
, 0 | 0);
33379 if (!SWIG_IsOK(res2
)) {
33380 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetValidator" "', expected argument " "2"" of type '" "wxValidator const &""'");
33383 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_SetValidator" "', expected argument " "2"" of type '" "wxValidator const &""'");
33385 arg2
= reinterpret_cast< wxValidator
* >(argp2
);
33387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33388 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
33389 wxPyEndAllowThreads(__tstate
);
33390 if (PyErr_Occurred()) SWIG_fail
;
33392 resultobj
= SWIG_Py_Void();
33399 SWIGINTERN PyObject
*_wrap_Window_GetValidator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33400 PyObject
*resultobj
= 0;
33401 wxWindow
*arg1
= (wxWindow
*) 0 ;
33402 wxValidator
*result
= 0 ;
33405 PyObject
*swig_obj
[1] ;
33407 if (!args
) SWIG_fail
;
33408 swig_obj
[0] = args
;
33409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33410 if (!SWIG_IsOK(res1
)) {
33411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetValidator" "', expected argument " "1"" of type '" "wxWindow *""'");
33413 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33416 result
= (wxValidator
*)(arg1
)->GetValidator();
33417 wxPyEndAllowThreads(__tstate
);
33418 if (PyErr_Occurred()) SWIG_fail
;
33421 resultobj
= wxPyMake_wxObject(result
, (bool)0);
33429 SWIGINTERN PyObject
*_wrap_Window_Validate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33430 PyObject
*resultobj
= 0;
33431 wxWindow
*arg1
= (wxWindow
*) 0 ;
33435 PyObject
*swig_obj
[1] ;
33437 if (!args
) SWIG_fail
;
33438 swig_obj
[0] = args
;
33439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33440 if (!SWIG_IsOK(res1
)) {
33441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Validate" "', expected argument " "1"" of type '" "wxWindow *""'");
33443 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33446 result
= (bool)(arg1
)->Validate();
33447 wxPyEndAllowThreads(__tstate
);
33448 if (PyErr_Occurred()) SWIG_fail
;
33451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33459 SWIGINTERN PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33460 PyObject
*resultobj
= 0;
33461 wxWindow
*arg1
= (wxWindow
*) 0 ;
33465 PyObject
*swig_obj
[1] ;
33467 if (!args
) SWIG_fail
;
33468 swig_obj
[0] = args
;
33469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33470 if (!SWIG_IsOK(res1
)) {
33471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_TransferDataToWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
33473 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33476 result
= (bool)(arg1
)->TransferDataToWindow();
33477 wxPyEndAllowThreads(__tstate
);
33478 if (PyErr_Occurred()) SWIG_fail
;
33481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33489 SWIGINTERN PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33490 PyObject
*resultobj
= 0;
33491 wxWindow
*arg1
= (wxWindow
*) 0 ;
33495 PyObject
*swig_obj
[1] ;
33497 if (!args
) SWIG_fail
;
33498 swig_obj
[0] = args
;
33499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33500 if (!SWIG_IsOK(res1
)) {
33501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_TransferDataFromWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
33503 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33506 result
= (bool)(arg1
)->TransferDataFromWindow();
33507 wxPyEndAllowThreads(__tstate
);
33508 if (PyErr_Occurred()) SWIG_fail
;
33511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33519 SWIGINTERN PyObject
*_wrap_Window_InitDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33520 PyObject
*resultobj
= 0;
33521 wxWindow
*arg1
= (wxWindow
*) 0 ;
33524 PyObject
*swig_obj
[1] ;
33526 if (!args
) SWIG_fail
;
33527 swig_obj
[0] = args
;
33528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33529 if (!SWIG_IsOK(res1
)) {
33530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_InitDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
33532 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33535 (arg1
)->InitDialog();
33536 wxPyEndAllowThreads(__tstate
);
33537 if (PyErr_Occurred()) SWIG_fail
;
33539 resultobj
= SWIG_Py_Void();
33546 SWIGINTERN PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33547 PyObject
*resultobj
= 0;
33548 wxWindow
*arg1
= (wxWindow
*) 0 ;
33549 wxAcceleratorTable
*arg2
= 0 ;
33554 PyObject
* obj0
= 0 ;
33555 PyObject
* obj1
= 0 ;
33556 char * kwnames
[] = {
33557 (char *) "self",(char *) "accel", NULL
33560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33562 if (!SWIG_IsOK(res1
)) {
33563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetAcceleratorTable" "', expected argument " "1"" of type '" "wxWindow *""'");
33565 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33566 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAcceleratorTable
, 0 | 0);
33567 if (!SWIG_IsOK(res2
)) {
33568 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetAcceleratorTable" "', expected argument " "2"" of type '" "wxAcceleratorTable const &""'");
33571 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_SetAcceleratorTable" "', expected argument " "2"" of type '" "wxAcceleratorTable const &""'");
33573 arg2
= reinterpret_cast< wxAcceleratorTable
* >(argp2
);
33575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33576 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
33577 wxPyEndAllowThreads(__tstate
);
33578 if (PyErr_Occurred()) SWIG_fail
;
33580 resultobj
= SWIG_Py_Void();
33587 SWIGINTERN PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33588 PyObject
*resultobj
= 0;
33589 wxWindow
*arg1
= (wxWindow
*) 0 ;
33590 wxAcceleratorTable
*result
= 0 ;
33593 PyObject
*swig_obj
[1] ;
33595 if (!args
) SWIG_fail
;
33596 swig_obj
[0] = args
;
33597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33598 if (!SWIG_IsOK(res1
)) {
33599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetAcceleratorTable" "', expected argument " "1"" of type '" "wxWindow *""'");
33601 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33604 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
33605 wxPyEndAllowThreads(__tstate
);
33606 if (PyErr_Occurred()) SWIG_fail
;
33608 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAcceleratorTable
, 0 | 0 );
33615 SWIGINTERN PyObject
*_wrap_Window_RegisterHotKey(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33616 PyObject
*resultobj
= 0;
33617 wxWindow
*arg1
= (wxWindow
*) 0 ;
33630 PyObject
* obj0
= 0 ;
33631 PyObject
* obj1
= 0 ;
33632 PyObject
* obj2
= 0 ;
33633 PyObject
* obj3
= 0 ;
33634 char * kwnames
[] = {
33635 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
33638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33640 if (!SWIG_IsOK(res1
)) {
33641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_RegisterHotKey" "', expected argument " "1"" of type '" "wxWindow *""'");
33643 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33644 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33645 if (!SWIG_IsOK(ecode2
)) {
33646 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_RegisterHotKey" "', expected argument " "2"" of type '" "int""'");
33648 arg2
= static_cast< int >(val2
);
33649 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33650 if (!SWIG_IsOK(ecode3
)) {
33651 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_RegisterHotKey" "', expected argument " "3"" of type '" "int""'");
33653 arg3
= static_cast< int >(val3
);
33654 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33655 if (!SWIG_IsOK(ecode4
)) {
33656 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_RegisterHotKey" "', expected argument " "4"" of type '" "int""'");
33658 arg4
= static_cast< int >(val4
);
33660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33661 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
33662 wxPyEndAllowThreads(__tstate
);
33663 if (PyErr_Occurred()) SWIG_fail
;
33666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33674 SWIGINTERN PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33675 PyObject
*resultobj
= 0;
33676 wxWindow
*arg1
= (wxWindow
*) 0 ;
33683 PyObject
* obj0
= 0 ;
33684 PyObject
* obj1
= 0 ;
33685 char * kwnames
[] = {
33686 (char *) "self",(char *) "hotkeyId", NULL
33689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33691 if (!SWIG_IsOK(res1
)) {
33692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_UnregisterHotKey" "', expected argument " "1"" of type '" "wxWindow *""'");
33694 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33695 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33696 if (!SWIG_IsOK(ecode2
)) {
33697 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_UnregisterHotKey" "', expected argument " "2"" of type '" "int""'");
33699 arg2
= static_cast< int >(val2
);
33701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33702 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
33703 wxPyEndAllowThreads(__tstate
);
33704 if (PyErr_Occurred()) SWIG_fail
;
33707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33715 SWIGINTERN PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33716 PyObject
*resultobj
= 0;
33717 wxWindow
*arg1
= (wxWindow
*) 0 ;
33718 wxPoint
*arg2
= 0 ;
33723 PyObject
* obj0
= 0 ;
33724 PyObject
* obj1
= 0 ;
33725 char * kwnames
[] = {
33726 (char *) "self",(char *) "pt", NULL
33729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33731 if (!SWIG_IsOK(res1
)) {
33732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ConvertDialogPointToPixels" "', expected argument " "1"" of type '" "wxWindow *""'");
33734 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33737 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33741 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
33742 wxPyEndAllowThreads(__tstate
);
33743 if (PyErr_Occurred()) SWIG_fail
;
33745 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
33752 SWIGINTERN PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33753 PyObject
*resultobj
= 0;
33754 wxWindow
*arg1
= (wxWindow
*) 0 ;
33760 PyObject
* obj0
= 0 ;
33761 PyObject
* obj1
= 0 ;
33762 char * kwnames
[] = {
33763 (char *) "self",(char *) "sz", NULL
33766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33768 if (!SWIG_IsOK(res1
)) {
33769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ConvertDialogSizeToPixels" "', expected argument " "1"" of type '" "wxWindow *""'");
33771 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33774 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
33777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33778 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
33779 wxPyEndAllowThreads(__tstate
);
33780 if (PyErr_Occurred()) SWIG_fail
;
33782 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
33789 SWIGINTERN PyObject
*_wrap_Window_DLG_PNT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33790 PyObject
*resultobj
= 0;
33791 wxWindow
*arg1
= (wxWindow
*) 0 ;
33792 wxPoint
*arg2
= 0 ;
33797 PyObject
* obj0
= 0 ;
33798 PyObject
* obj1
= 0 ;
33799 char * kwnames
[] = {
33800 (char *) "self",(char *) "pt", NULL
33803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33805 if (!SWIG_IsOK(res1
)) {
33806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_DLG_PNT" "', expected argument " "1"" of type '" "wxWindow *""'");
33808 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33811 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33815 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
33816 wxPyEndAllowThreads(__tstate
);
33817 if (PyErr_Occurred()) SWIG_fail
;
33819 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
33826 SWIGINTERN PyObject
*_wrap_Window_DLG_SZE(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33827 PyObject
*resultobj
= 0;
33828 wxWindow
*arg1
= (wxWindow
*) 0 ;
33834 PyObject
* obj0
= 0 ;
33835 PyObject
* obj1
= 0 ;
33836 char * kwnames
[] = {
33837 (char *) "self",(char *) "sz", NULL
33840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33842 if (!SWIG_IsOK(res1
)) {
33843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_DLG_SZE" "', expected argument " "1"" of type '" "wxWindow *""'");
33845 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33848 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
33851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33852 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
33853 wxPyEndAllowThreads(__tstate
);
33854 if (PyErr_Occurred()) SWIG_fail
;
33856 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
33863 SWIGINTERN PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33864 PyObject
*resultobj
= 0;
33865 wxWindow
*arg1
= (wxWindow
*) 0 ;
33866 wxPoint
*arg2
= 0 ;
33871 PyObject
* obj0
= 0 ;
33872 PyObject
* obj1
= 0 ;
33873 char * kwnames
[] = {
33874 (char *) "self",(char *) "pt", NULL
33877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33879 if (!SWIG_IsOK(res1
)) {
33880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ConvertPixelPointToDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
33882 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33885 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33889 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
33890 wxPyEndAllowThreads(__tstate
);
33891 if (PyErr_Occurred()) SWIG_fail
;
33893 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
33900 SWIGINTERN PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33901 PyObject
*resultobj
= 0;
33902 wxWindow
*arg1
= (wxWindow
*) 0 ;
33908 PyObject
* obj0
= 0 ;
33909 PyObject
* obj1
= 0 ;
33910 char * kwnames
[] = {
33911 (char *) "self",(char *) "sz", NULL
33914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33916 if (!SWIG_IsOK(res1
)) {
33917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ConvertPixelSizeToDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
33919 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33922 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
33925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33926 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
33927 wxPyEndAllowThreads(__tstate
);
33928 if (PyErr_Occurred()) SWIG_fail
;
33930 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
33937 SWIGINTERN PyObject
*_wrap_Window_WarpPointer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33938 PyObject
*resultobj
= 0;
33939 wxWindow
*arg1
= (wxWindow
*) 0 ;
33948 PyObject
* obj0
= 0 ;
33949 PyObject
* obj1
= 0 ;
33950 PyObject
* obj2
= 0 ;
33951 char * kwnames
[] = {
33952 (char *) "self",(char *) "x",(char *) "y", NULL
33955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33957 if (!SWIG_IsOK(res1
)) {
33958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_WarpPointer" "', expected argument " "1"" of type '" "wxWindow *""'");
33960 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33961 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33962 if (!SWIG_IsOK(ecode2
)) {
33963 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_WarpPointer" "', expected argument " "2"" of type '" "int""'");
33965 arg2
= static_cast< int >(val2
);
33966 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33967 if (!SWIG_IsOK(ecode3
)) {
33968 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_WarpPointer" "', expected argument " "3"" of type '" "int""'");
33970 arg3
= static_cast< int >(val3
);
33972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33973 (arg1
)->WarpPointer(arg2
,arg3
);
33974 wxPyEndAllowThreads(__tstate
);
33975 if (PyErr_Occurred()) SWIG_fail
;
33977 resultobj
= SWIG_Py_Void();
33984 SWIGINTERN PyObject
*_wrap_Window_CaptureMouse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33985 PyObject
*resultobj
= 0;
33986 wxWindow
*arg1
= (wxWindow
*) 0 ;
33989 PyObject
*swig_obj
[1] ;
33991 if (!args
) SWIG_fail
;
33992 swig_obj
[0] = args
;
33993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33994 if (!SWIG_IsOK(res1
)) {
33995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_CaptureMouse" "', expected argument " "1"" of type '" "wxWindow *""'");
33997 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34000 (arg1
)->CaptureMouse();
34001 wxPyEndAllowThreads(__tstate
);
34002 if (PyErr_Occurred()) SWIG_fail
;
34004 resultobj
= SWIG_Py_Void();
34011 SWIGINTERN PyObject
*_wrap_Window_ReleaseMouse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34012 PyObject
*resultobj
= 0;
34013 wxWindow
*arg1
= (wxWindow
*) 0 ;
34016 PyObject
*swig_obj
[1] ;
34018 if (!args
) SWIG_fail
;
34019 swig_obj
[0] = args
;
34020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34021 if (!SWIG_IsOK(res1
)) {
34022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ReleaseMouse" "', expected argument " "1"" of type '" "wxWindow *""'");
34024 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34027 (arg1
)->ReleaseMouse();
34028 wxPyEndAllowThreads(__tstate
);
34029 if (PyErr_Occurred()) SWIG_fail
;
34031 resultobj
= SWIG_Py_Void();
34038 SWIGINTERN PyObject
*_wrap_Window_GetCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34039 PyObject
*resultobj
= 0;
34040 wxWindow
*result
= 0 ;
34042 if (!SWIG_Python_UnpackTuple(args
,"Window_GetCapture",0,0,0)) SWIG_fail
;
34044 if (!wxPyCheckForApp()) SWIG_fail
;
34045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34046 result
= (wxWindow
*)wxWindow::GetCapture();
34047 wxPyEndAllowThreads(__tstate
);
34048 if (PyErr_Occurred()) SWIG_fail
;
34051 resultobj
= wxPyMake_wxObject(result
, 0);
34059 SWIGINTERN PyObject
*_wrap_Window_HasCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34060 PyObject
*resultobj
= 0;
34061 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_HasCapture" "', expected argument " "1"" of type '" "wxWindow const *""'");
34073 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34076 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
34077 wxPyEndAllowThreads(__tstate
);
34078 if (PyErr_Occurred()) SWIG_fail
;
34081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34089 SWIGINTERN PyObject
*_wrap_Window_Refresh(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34090 PyObject
*resultobj
= 0;
34091 wxWindow
*arg1
= (wxWindow
*) 0 ;
34092 bool arg2
= (bool) true ;
34093 wxRect
*arg3
= (wxRect
*) NULL
;
34100 PyObject
* obj0
= 0 ;
34101 PyObject
* obj1
= 0 ;
34102 PyObject
* obj2
= 0 ;
34103 char * kwnames
[] = {
34104 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
34107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34109 if (!SWIG_IsOK(res1
)) {
34110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Refresh" "', expected argument " "1"" of type '" "wxWindow *""'");
34112 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34114 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
34115 if (!SWIG_IsOK(ecode2
)) {
34116 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_Refresh" "', expected argument " "2"" of type '" "bool""'");
34118 arg2
= static_cast< bool >(val2
);
34121 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
34122 if (!SWIG_IsOK(res3
)) {
34123 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Window_Refresh" "', expected argument " "3"" of type '" "wxRect const *""'");
34125 arg3
= reinterpret_cast< wxRect
* >(argp3
);
34128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34129 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
34130 wxPyEndAllowThreads(__tstate
);
34131 if (PyErr_Occurred()) SWIG_fail
;
34133 resultobj
= SWIG_Py_Void();
34140 SWIGINTERN PyObject
*_wrap_Window_RefreshRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34141 PyObject
*resultobj
= 0;
34142 wxWindow
*arg1
= (wxWindow
*) 0 ;
34144 bool arg3
= (bool) true ;
34150 PyObject
* obj0
= 0 ;
34151 PyObject
* obj1
= 0 ;
34152 PyObject
* obj2
= 0 ;
34153 char * kwnames
[] = {
34154 (char *) "self",(char *) "rect",(char *) "eraseBackground", NULL
34157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_RefreshRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34159 if (!SWIG_IsOK(res1
)) {
34160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_RefreshRect" "', expected argument " "1"" of type '" "wxWindow *""'");
34162 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34165 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
34168 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34169 if (!SWIG_IsOK(ecode3
)) {
34170 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_RefreshRect" "', expected argument " "3"" of type '" "bool""'");
34172 arg3
= static_cast< bool >(val3
);
34175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34176 (arg1
)->RefreshRect((wxRect
const &)*arg2
,arg3
);
34177 wxPyEndAllowThreads(__tstate
);
34178 if (PyErr_Occurred()) SWIG_fail
;
34180 resultobj
= SWIG_Py_Void();
34187 SWIGINTERN PyObject
*_wrap_Window_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34188 PyObject
*resultobj
= 0;
34189 wxWindow
*arg1
= (wxWindow
*) 0 ;
34192 PyObject
*swig_obj
[1] ;
34194 if (!args
) SWIG_fail
;
34195 swig_obj
[0] = args
;
34196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34197 if (!SWIG_IsOK(res1
)) {
34198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Update" "', expected argument " "1"" of type '" "wxWindow *""'");
34200 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34204 wxPyEndAllowThreads(__tstate
);
34205 if (PyErr_Occurred()) SWIG_fail
;
34207 resultobj
= SWIG_Py_Void();
34214 SWIGINTERN PyObject
*_wrap_Window_ClearBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34215 PyObject
*resultobj
= 0;
34216 wxWindow
*arg1
= (wxWindow
*) 0 ;
34219 PyObject
*swig_obj
[1] ;
34221 if (!args
) SWIG_fail
;
34222 swig_obj
[0] = args
;
34223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34224 if (!SWIG_IsOK(res1
)) {
34225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ClearBackground" "', expected argument " "1"" of type '" "wxWindow *""'");
34227 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34230 (arg1
)->ClearBackground();
34231 wxPyEndAllowThreads(__tstate
);
34232 if (PyErr_Occurred()) SWIG_fail
;
34234 resultobj
= SWIG_Py_Void();
34241 SWIGINTERN PyObject
*_wrap_Window_Freeze(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34242 PyObject
*resultobj
= 0;
34243 wxWindow
*arg1
= (wxWindow
*) 0 ;
34246 PyObject
*swig_obj
[1] ;
34248 if (!args
) SWIG_fail
;
34249 swig_obj
[0] = args
;
34250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34251 if (!SWIG_IsOK(res1
)) {
34252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Freeze" "', expected argument " "1"" of type '" "wxWindow *""'");
34254 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34258 wxPyEndAllowThreads(__tstate
);
34259 if (PyErr_Occurred()) SWIG_fail
;
34261 resultobj
= SWIG_Py_Void();
34268 SWIGINTERN PyObject
*_wrap_Window_Thaw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34269 PyObject
*resultobj
= 0;
34270 wxWindow
*arg1
= (wxWindow
*) 0 ;
34273 PyObject
*swig_obj
[1] ;
34275 if (!args
) SWIG_fail
;
34276 swig_obj
[0] = args
;
34277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34278 if (!SWIG_IsOK(res1
)) {
34279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Thaw" "', expected argument " "1"" of type '" "wxWindow *""'");
34281 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34285 wxPyEndAllowThreads(__tstate
);
34286 if (PyErr_Occurred()) SWIG_fail
;
34288 resultobj
= SWIG_Py_Void();
34295 SWIGINTERN PyObject
*_wrap_Window_PrepareDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34296 PyObject
*resultobj
= 0;
34297 wxWindow
*arg1
= (wxWindow
*) 0 ;
34303 PyObject
* obj0
= 0 ;
34304 PyObject
* obj1
= 0 ;
34305 char * kwnames
[] = {
34306 (char *) "self",(char *) "dc", NULL
34309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34311 if (!SWIG_IsOK(res1
)) {
34312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PrepareDC" "', expected argument " "1"" of type '" "wxWindow *""'");
34314 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34315 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
34316 if (!SWIG_IsOK(res2
)) {
34317 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_PrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
34320 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_PrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
34322 arg2
= reinterpret_cast< wxDC
* >(argp2
);
34324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34325 (arg1
)->PrepareDC(*arg2
);
34326 wxPyEndAllowThreads(__tstate
);
34327 if (PyErr_Occurred()) SWIG_fail
;
34329 resultobj
= SWIG_Py_Void();
34336 SWIGINTERN PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34337 PyObject
*resultobj
= 0;
34338 wxWindow
*arg1
= (wxWindow
*) 0 ;
34339 wxRegion
*result
= 0 ;
34342 PyObject
*swig_obj
[1] ;
34344 if (!args
) SWIG_fail
;
34345 swig_obj
[0] = args
;
34346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34347 if (!SWIG_IsOK(res1
)) {
34348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetUpdateRegion" "', expected argument " "1"" of type '" "wxWindow *""'");
34350 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34354 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
34355 result
= (wxRegion
*) &_result_ref
;
34357 wxPyEndAllowThreads(__tstate
);
34358 if (PyErr_Occurred()) SWIG_fail
;
34360 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, 0 | 0 );
34367 SWIGINTERN PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34368 PyObject
*resultobj
= 0;
34369 wxWindow
*arg1
= (wxWindow
*) 0 ;
34373 PyObject
*swig_obj
[1] ;
34375 if (!args
) SWIG_fail
;
34376 swig_obj
[0] = args
;
34377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34378 if (!SWIG_IsOK(res1
)) {
34379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetUpdateClientRect" "', expected argument " "1"" of type '" "wxWindow const *""'");
34381 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34384 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
34385 wxPyEndAllowThreads(__tstate
);
34386 if (PyErr_Occurred()) SWIG_fail
;
34388 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
34395 SWIGINTERN PyObject
*_wrap_Window_IsExposed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34396 PyObject
*resultobj
= 0;
34397 wxWindow
*arg1
= (wxWindow
*) 0 ;
34400 int arg4
= (int) 1 ;
34401 int arg5
= (int) 1 ;
34413 PyObject
* obj0
= 0 ;
34414 PyObject
* obj1
= 0 ;
34415 PyObject
* obj2
= 0 ;
34416 PyObject
* obj3
= 0 ;
34417 PyObject
* obj4
= 0 ;
34418 char * kwnames
[] = {
34419 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
34422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34424 if (!SWIG_IsOK(res1
)) {
34425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsExposed" "', expected argument " "1"" of type '" "wxWindow const *""'");
34427 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34428 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34429 if (!SWIG_IsOK(ecode2
)) {
34430 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_IsExposed" "', expected argument " "2"" of type '" "int""'");
34432 arg2
= static_cast< int >(val2
);
34433 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34434 if (!SWIG_IsOK(ecode3
)) {
34435 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_IsExposed" "', expected argument " "3"" of type '" "int""'");
34437 arg3
= static_cast< int >(val3
);
34439 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34440 if (!SWIG_IsOK(ecode4
)) {
34441 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_IsExposed" "', expected argument " "4"" of type '" "int""'");
34443 arg4
= static_cast< int >(val4
);
34446 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34447 if (!SWIG_IsOK(ecode5
)) {
34448 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Window_IsExposed" "', expected argument " "5"" of type '" "int""'");
34450 arg5
= static_cast< int >(val5
);
34453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34454 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
34455 wxPyEndAllowThreads(__tstate
);
34456 if (PyErr_Occurred()) SWIG_fail
;
34459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34467 SWIGINTERN PyObject
*_wrap_Window_IsExposedPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34468 PyObject
*resultobj
= 0;
34469 wxWindow
*arg1
= (wxWindow
*) 0 ;
34470 wxPoint
*arg2
= 0 ;
34475 PyObject
* obj0
= 0 ;
34476 PyObject
* obj1
= 0 ;
34477 char * kwnames
[] = {
34478 (char *) "self",(char *) "pt", NULL
34481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34483 if (!SWIG_IsOK(res1
)) {
34484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsExposedPoint" "', expected argument " "1"" of type '" "wxWindow const *""'");
34486 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34489 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34493 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
34494 wxPyEndAllowThreads(__tstate
);
34495 if (PyErr_Occurred()) SWIG_fail
;
34498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34506 SWIGINTERN PyObject
*_wrap_Window_IsExposedRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34507 PyObject
*resultobj
= 0;
34508 wxWindow
*arg1
= (wxWindow
*) 0 ;
34514 PyObject
* obj0
= 0 ;
34515 PyObject
* obj1
= 0 ;
34516 char * kwnames
[] = {
34517 (char *) "self",(char *) "rect", NULL
34520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34522 if (!SWIG_IsOK(res1
)) {
34523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsExposedRect" "', expected argument " "1"" of type '" "wxWindow const *""'");
34525 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34528 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
34531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34532 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
34533 wxPyEndAllowThreads(__tstate
);
34534 if (PyErr_Occurred()) SWIG_fail
;
34537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34545 SWIGINTERN PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34546 PyObject
*resultobj
= 0;
34547 wxWindow
*arg1
= (wxWindow
*) 0 ;
34548 SwigValueWrapper
<wxVisualAttributes
> result
;
34551 PyObject
*swig_obj
[1] ;
34553 if (!args
) SWIG_fail
;
34554 swig_obj
[0] = args
;
34555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34556 if (!SWIG_IsOK(res1
)) {
34557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxWindow const *""'");
34559 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34562 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
34563 wxPyEndAllowThreads(__tstate
);
34564 if (PyErr_Occurred()) SWIG_fail
;
34566 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
34573 SWIGINTERN PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34574 PyObject
*resultobj
= 0;
34575 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
34576 SwigValueWrapper
<wxVisualAttributes
> result
;
34579 PyObject
* obj0
= 0 ;
34580 char * kwnames
[] = {
34581 (char *) "variant", NULL
34584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
34586 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
34587 if (!SWIG_IsOK(ecode1
)) {
34588 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Window_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
34590 arg1
= static_cast< wxWindowVariant
>(val1
);
34593 if (!wxPyCheckForApp()) SWIG_fail
;
34594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34595 result
= wxWindow::GetClassDefaultAttributes(arg1
);
34596 wxPyEndAllowThreads(__tstate
);
34597 if (PyErr_Occurred()) SWIG_fail
;
34599 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
34606 SWIGINTERN PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34607 PyObject
*resultobj
= 0;
34608 wxWindow
*arg1
= (wxWindow
*) 0 ;
34609 wxColour
*arg2
= 0 ;
34614 PyObject
* obj0
= 0 ;
34615 PyObject
* obj1
= 0 ;
34616 char * kwnames
[] = {
34617 (char *) "self",(char *) "colour", NULL
34620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34622 if (!SWIG_IsOK(res1
)) {
34623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetBackgroundColour" "', expected argument " "1"" of type '" "wxWindow *""'");
34625 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34628 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34632 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
34633 wxPyEndAllowThreads(__tstate
);
34634 if (PyErr_Occurred()) SWIG_fail
;
34637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34645 SWIGINTERN PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34646 PyObject
*resultobj
= 0;
34647 wxWindow
*arg1
= (wxWindow
*) 0 ;
34648 wxColour
*arg2
= 0 ;
34652 PyObject
* obj0
= 0 ;
34653 PyObject
* obj1
= 0 ;
34654 char * kwnames
[] = {
34655 (char *) "self",(char *) "colour", NULL
34658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34660 if (!SWIG_IsOK(res1
)) {
34661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetOwnBackgroundColour" "', expected argument " "1"" of type '" "wxWindow *""'");
34663 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34666 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34670 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
34671 wxPyEndAllowThreads(__tstate
);
34672 if (PyErr_Occurred()) SWIG_fail
;
34674 resultobj
= SWIG_Py_Void();
34681 SWIGINTERN PyObject
*_wrap_Window_SetForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34682 PyObject
*resultobj
= 0;
34683 wxWindow
*arg1
= (wxWindow
*) 0 ;
34684 wxColour
*arg2
= 0 ;
34689 PyObject
* obj0
= 0 ;
34690 PyObject
* obj1
= 0 ;
34691 char * kwnames
[] = {
34692 (char *) "self",(char *) "colour", NULL
34695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34697 if (!SWIG_IsOK(res1
)) {
34698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetForegroundColour" "', expected argument " "1"" of type '" "wxWindow *""'");
34700 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34703 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34707 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
34708 wxPyEndAllowThreads(__tstate
);
34709 if (PyErr_Occurred()) SWIG_fail
;
34712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34720 SWIGINTERN PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34721 PyObject
*resultobj
= 0;
34722 wxWindow
*arg1
= (wxWindow
*) 0 ;
34723 wxColour
*arg2
= 0 ;
34727 PyObject
* obj0
= 0 ;
34728 PyObject
* obj1
= 0 ;
34729 char * kwnames
[] = {
34730 (char *) "self",(char *) "colour", NULL
34733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34735 if (!SWIG_IsOK(res1
)) {
34736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetOwnForegroundColour" "', expected argument " "1"" of type '" "wxWindow *""'");
34738 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34741 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34745 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
34746 wxPyEndAllowThreads(__tstate
);
34747 if (PyErr_Occurred()) SWIG_fail
;
34749 resultobj
= SWIG_Py_Void();
34756 SWIGINTERN PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34757 PyObject
*resultobj
= 0;
34758 wxWindow
*arg1
= (wxWindow
*) 0 ;
34762 PyObject
*swig_obj
[1] ;
34764 if (!args
) SWIG_fail
;
34765 swig_obj
[0] = args
;
34766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34767 if (!SWIG_IsOK(res1
)) {
34768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBackgroundColour" "', expected argument " "1"" of type '" "wxWindow const *""'");
34770 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34773 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
34774 wxPyEndAllowThreads(__tstate
);
34775 if (PyErr_Occurred()) SWIG_fail
;
34777 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34784 SWIGINTERN PyObject
*_wrap_Window_GetForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34785 PyObject
*resultobj
= 0;
34786 wxWindow
*arg1
= (wxWindow
*) 0 ;
34790 PyObject
*swig_obj
[1] ;
34792 if (!args
) SWIG_fail
;
34793 swig_obj
[0] = args
;
34794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34795 if (!SWIG_IsOK(res1
)) {
34796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetForegroundColour" "', expected argument " "1"" of type '" "wxWindow const *""'");
34798 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34801 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
34802 wxPyEndAllowThreads(__tstate
);
34803 if (PyErr_Occurred()) SWIG_fail
;
34805 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34812 SWIGINTERN PyObject
*_wrap_Window_InheritsBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34813 PyObject
*resultobj
= 0;
34814 wxWindow
*arg1
= (wxWindow
*) 0 ;
34818 PyObject
*swig_obj
[1] ;
34820 if (!args
) SWIG_fail
;
34821 swig_obj
[0] = args
;
34822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34823 if (!SWIG_IsOK(res1
)) {
34824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_InheritsBackgroundColour" "', expected argument " "1"" of type '" "wxWindow const *""'");
34826 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34829 result
= (bool)((wxWindow
const *)arg1
)->InheritsBackgroundColour();
34830 wxPyEndAllowThreads(__tstate
);
34831 if (PyErr_Occurred()) SWIG_fail
;
34834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34842 SWIGINTERN PyObject
*_wrap_Window_UseBgCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34843 PyObject
*resultobj
= 0;
34844 wxWindow
*arg1
= (wxWindow
*) 0 ;
34848 PyObject
*swig_obj
[1] ;
34850 if (!args
) SWIG_fail
;
34851 swig_obj
[0] = args
;
34852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34853 if (!SWIG_IsOK(res1
)) {
34854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_UseBgCol" "', expected argument " "1"" of type '" "wxWindow const *""'");
34856 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34859 result
= (bool)((wxWindow
const *)arg1
)->UseBgCol();
34860 wxPyEndAllowThreads(__tstate
);
34861 if (PyErr_Occurred()) SWIG_fail
;
34864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34872 SWIGINTERN PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34873 PyObject
*resultobj
= 0;
34874 wxWindow
*arg1
= (wxWindow
*) 0 ;
34875 wxBackgroundStyle arg2
;
34881 PyObject
* obj0
= 0 ;
34882 PyObject
* obj1
= 0 ;
34883 char * kwnames
[] = {
34884 (char *) "self",(char *) "style", NULL
34887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34889 if (!SWIG_IsOK(res1
)) {
34890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetBackgroundStyle" "', expected argument " "1"" of type '" "wxWindow *""'");
34892 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34893 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34894 if (!SWIG_IsOK(ecode2
)) {
34895 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetBackgroundStyle" "', expected argument " "2"" of type '" "wxBackgroundStyle""'");
34897 arg2
= static_cast< wxBackgroundStyle
>(val2
);
34899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34900 result
= (bool)(arg1
)->SetBackgroundStyle(arg2
);
34901 wxPyEndAllowThreads(__tstate
);
34902 if (PyErr_Occurred()) SWIG_fail
;
34905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34913 SWIGINTERN PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34914 PyObject
*resultobj
= 0;
34915 wxWindow
*arg1
= (wxWindow
*) 0 ;
34916 wxBackgroundStyle result
;
34919 PyObject
*swig_obj
[1] ;
34921 if (!args
) SWIG_fail
;
34922 swig_obj
[0] = args
;
34923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34924 if (!SWIG_IsOK(res1
)) {
34925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBackgroundStyle" "', expected argument " "1"" of type '" "wxWindow const *""'");
34927 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34930 result
= (wxBackgroundStyle
)((wxWindow
const *)arg1
)->GetBackgroundStyle();
34931 wxPyEndAllowThreads(__tstate
);
34932 if (PyErr_Occurred()) SWIG_fail
;
34934 resultobj
= SWIG_From_int(static_cast< int >(result
));
34941 SWIGINTERN PyObject
*_wrap_Window_HasTransparentBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34942 PyObject
*resultobj
= 0;
34943 wxWindow
*arg1
= (wxWindow
*) 0 ;
34947 PyObject
*swig_obj
[1] ;
34949 if (!args
) SWIG_fail
;
34950 swig_obj
[0] = args
;
34951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34952 if (!SWIG_IsOK(res1
)) {
34953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_HasTransparentBackground" "', expected argument " "1"" of type '" "wxWindow *""'");
34955 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34958 result
= (bool)(arg1
)->HasTransparentBackground();
34959 wxPyEndAllowThreads(__tstate
);
34960 if (PyErr_Occurred()) SWIG_fail
;
34963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34971 SWIGINTERN PyObject
*_wrap_Window_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34972 PyObject
*resultobj
= 0;
34973 wxWindow
*arg1
= (wxWindow
*) 0 ;
34974 wxCursor
*arg2
= 0 ;
34980 PyObject
* obj0
= 0 ;
34981 PyObject
* obj1
= 0 ;
34982 char * kwnames
[] = {
34983 (char *) "self",(char *) "cursor", NULL
34986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34988 if (!SWIG_IsOK(res1
)) {
34989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetCursor" "', expected argument " "1"" of type '" "wxWindow *""'");
34991 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34992 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
34993 if (!SWIG_IsOK(res2
)) {
34994 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
34997 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_SetCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
34999 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
35001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35002 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
35003 wxPyEndAllowThreads(__tstate
);
35004 if (PyErr_Occurred()) SWIG_fail
;
35007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35015 SWIGINTERN PyObject
*_wrap_Window_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35016 PyObject
*resultobj
= 0;
35017 wxWindow
*arg1
= (wxWindow
*) 0 ;
35021 PyObject
*swig_obj
[1] ;
35023 if (!args
) SWIG_fail
;
35024 swig_obj
[0] = args
;
35025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35026 if (!SWIG_IsOK(res1
)) {
35027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetCursor" "', expected argument " "1"" of type '" "wxWindow *""'");
35029 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35032 result
= (arg1
)->GetCursor();
35033 wxPyEndAllowThreads(__tstate
);
35034 if (PyErr_Occurred()) SWIG_fail
;
35036 resultobj
= SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor
& >(result
))), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
35043 SWIGINTERN PyObject
*_wrap_Window_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35044 PyObject
*resultobj
= 0;
35045 wxWindow
*arg1
= (wxWindow
*) 0 ;
35052 PyObject
* obj0
= 0 ;
35053 PyObject
* obj1
= 0 ;
35054 char * kwnames
[] = {
35055 (char *) "self",(char *) "font", NULL
35058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35060 if (!SWIG_IsOK(res1
)) {
35061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetFont" "', expected argument " "1"" of type '" "wxWindow *""'");
35063 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35064 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
35065 if (!SWIG_IsOK(res2
)) {
35066 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
35069 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
35071 arg2
= reinterpret_cast< wxFont
* >(argp2
);
35073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35074 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
35075 wxPyEndAllowThreads(__tstate
);
35076 if (PyErr_Occurred()) SWIG_fail
;
35079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35087 SWIGINTERN PyObject
*_wrap_Window_SetOwnFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35088 PyObject
*resultobj
= 0;
35089 wxWindow
*arg1
= (wxWindow
*) 0 ;
35095 PyObject
* obj0
= 0 ;
35096 PyObject
* obj1
= 0 ;
35097 char * kwnames
[] = {
35098 (char *) "self",(char *) "font", NULL
35101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35103 if (!SWIG_IsOK(res1
)) {
35104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetOwnFont" "', expected argument " "1"" of type '" "wxWindow *""'");
35106 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35107 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
35108 if (!SWIG_IsOK(res2
)) {
35109 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetOwnFont" "', expected argument " "2"" of type '" "wxFont const &""'");
35112 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_SetOwnFont" "', expected argument " "2"" of type '" "wxFont const &""'");
35114 arg2
= reinterpret_cast< wxFont
* >(argp2
);
35116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35117 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
35118 wxPyEndAllowThreads(__tstate
);
35119 if (PyErr_Occurred()) SWIG_fail
;
35121 resultobj
= SWIG_Py_Void();
35128 SWIGINTERN PyObject
*_wrap_Window_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35129 PyObject
*resultobj
= 0;
35130 wxWindow
*arg1
= (wxWindow
*) 0 ;
35134 PyObject
*swig_obj
[1] ;
35136 if (!args
) SWIG_fail
;
35137 swig_obj
[0] = args
;
35138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35139 if (!SWIG_IsOK(res1
)) {
35140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetFont" "', expected argument " "1"" of type '" "wxWindow *""'");
35142 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35145 result
= (arg1
)->GetFont();
35146 wxPyEndAllowThreads(__tstate
);
35147 if (PyErr_Occurred()) SWIG_fail
;
35149 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
35156 SWIGINTERN PyObject
*_wrap_Window_SetCaret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35157 PyObject
*resultobj
= 0;
35158 wxWindow
*arg1
= (wxWindow
*) 0 ;
35159 wxCaret
*arg2
= (wxCaret
*) 0 ;
35163 PyObject
* obj0
= 0 ;
35164 PyObject
* obj1
= 0 ;
35165 char * kwnames
[] = {
35166 (char *) "self",(char *) "caret", NULL
35169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35171 if (!SWIG_IsOK(res1
)) {
35172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetCaret" "', expected argument " "1"" of type '" "wxWindow *""'");
35174 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35175 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxCaret
, SWIG_POINTER_DISOWN
| 0 );
35176 if (!SWIG_IsOK(res2
)) {
35177 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetCaret" "', expected argument " "2"" of type '" "wxCaret *""'");
35180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35181 (arg1
)->SetCaret(arg2
);
35182 wxPyEndAllowThreads(__tstate
);
35183 if (PyErr_Occurred()) SWIG_fail
;
35185 resultobj
= SWIG_Py_Void();
35192 SWIGINTERN PyObject
*_wrap_Window_GetCaret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35193 PyObject
*resultobj
= 0;
35194 wxWindow
*arg1
= (wxWindow
*) 0 ;
35195 wxCaret
*result
= 0 ;
35198 PyObject
*swig_obj
[1] ;
35200 if (!args
) SWIG_fail
;
35201 swig_obj
[0] = args
;
35202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35203 if (!SWIG_IsOK(res1
)) {
35204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetCaret" "', expected argument " "1"" of type '" "wxWindow const *""'");
35206 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35209 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
35210 wxPyEndAllowThreads(__tstate
);
35211 if (PyErr_Occurred()) SWIG_fail
;
35213 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCaret
, 0 | 0 );
35220 SWIGINTERN PyObject
*_wrap_Window_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35221 PyObject
*resultobj
= 0;
35222 wxWindow
*arg1
= (wxWindow
*) 0 ;
35226 PyObject
*swig_obj
[1] ;
35228 if (!args
) SWIG_fail
;
35229 swig_obj
[0] = args
;
35230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35231 if (!SWIG_IsOK(res1
)) {
35232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetCharHeight" "', expected argument " "1"" of type '" "wxWindow const *""'");
35234 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35237 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
35238 wxPyEndAllowThreads(__tstate
);
35239 if (PyErr_Occurred()) SWIG_fail
;
35241 resultobj
= SWIG_From_int(static_cast< int >(result
));
35248 SWIGINTERN PyObject
*_wrap_Window_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35249 PyObject
*resultobj
= 0;
35250 wxWindow
*arg1
= (wxWindow
*) 0 ;
35254 PyObject
*swig_obj
[1] ;
35256 if (!args
) SWIG_fail
;
35257 swig_obj
[0] = args
;
35258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35259 if (!SWIG_IsOK(res1
)) {
35260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetCharWidth" "', expected argument " "1"" of type '" "wxWindow const *""'");
35262 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35265 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
35266 wxPyEndAllowThreads(__tstate
);
35267 if (PyErr_Occurred()) SWIG_fail
;
35269 resultobj
= SWIG_From_int(static_cast< int >(result
));
35276 SWIGINTERN PyObject
*_wrap_Window_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35277 PyObject
*resultobj
= 0;
35278 wxWindow
*arg1
= (wxWindow
*) 0 ;
35279 wxString
*arg2
= 0 ;
35280 int *arg3
= (int *) 0 ;
35281 int *arg4
= (int *) 0 ;
35284 bool temp2
= false ;
35286 int res3
= SWIG_TMPOBJ
;
35288 int res4
= SWIG_TMPOBJ
;
35289 PyObject
* obj0
= 0 ;
35290 PyObject
* obj1
= 0 ;
35291 char * kwnames
[] = {
35292 (char *) "self",(char *) "string", NULL
35297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35299 if (!SWIG_IsOK(res1
)) {
35300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetTextExtent" "', expected argument " "1"" of type '" "wxWindow *""'");
35302 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35304 arg2
= wxString_in_helper(obj1
);
35305 if (arg2
== NULL
) SWIG_fail
;
35309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35310 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
35311 wxPyEndAllowThreads(__tstate
);
35312 if (PyErr_Occurred()) SWIG_fail
;
35314 resultobj
= SWIG_Py_Void();
35315 if (SWIG_IsTmpObj(res3
)) {
35316 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
35318 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
35319 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
35321 if (SWIG_IsTmpObj(res4
)) {
35322 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
35324 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
35325 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
35341 SWIGINTERN PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35342 PyObject
*resultobj
= 0;
35343 wxWindow
*arg1
= (wxWindow
*) 0 ;
35344 wxString
*arg2
= 0 ;
35345 int *arg3
= (int *) 0 ;
35346 int *arg4
= (int *) 0 ;
35347 int *arg5
= (int *) 0 ;
35348 int *arg6
= (int *) 0 ;
35349 wxFont
*arg7
= (wxFont
*) NULL
;
35352 bool temp2
= false ;
35354 int res3
= SWIG_TMPOBJ
;
35356 int res4
= SWIG_TMPOBJ
;
35358 int res5
= SWIG_TMPOBJ
;
35360 int res6
= SWIG_TMPOBJ
;
35363 PyObject
* obj0
= 0 ;
35364 PyObject
* obj1
= 0 ;
35365 PyObject
* obj2
= 0 ;
35366 char * kwnames
[] = {
35367 (char *) "self",(char *) "string",(char *) "font", NULL
35374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35376 if (!SWIG_IsOK(res1
)) {
35377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetFullTextExtent" "', expected argument " "1"" of type '" "wxWindow *""'");
35379 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35381 arg2
= wxString_in_helper(obj1
);
35382 if (arg2
== NULL
) SWIG_fail
;
35386 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
35387 if (!SWIG_IsOK(res7
)) {
35388 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "Window_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont const *""'");
35390 arg7
= reinterpret_cast< wxFont
* >(argp7
);
35393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35394 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
35395 wxPyEndAllowThreads(__tstate
);
35396 if (PyErr_Occurred()) SWIG_fail
;
35398 resultobj
= SWIG_Py_Void();
35399 if (SWIG_IsTmpObj(res3
)) {
35400 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
35402 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
35403 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
35405 if (SWIG_IsTmpObj(res4
)) {
35406 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
35408 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
35409 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
35411 if (SWIG_IsTmpObj(res5
)) {
35412 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
35414 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
35415 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
35417 if (SWIG_IsTmpObj(res6
)) {
35418 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
35420 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
35421 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
35437 SWIGINTERN PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35438 PyObject
*resultobj
= 0;
35439 wxWindow
*arg1
= (wxWindow
*) 0 ;
35440 int *arg2
= (int *) 0 ;
35441 int *arg3
= (int *) 0 ;
35448 PyObject
* obj0
= 0 ;
35449 PyObject
* obj1
= 0 ;
35450 PyObject
* obj2
= 0 ;
35451 char * kwnames
[] = {
35452 (char *) "self",(char *) "x",(char *) "y", NULL
35455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35457 if (!SWIG_IsOK(res1
)) {
35458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ClientToScreenXY" "', expected argument " "1"" of type '" "wxWindow const *""'");
35460 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35461 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_int
,0))))) {
35463 int ecode
= SWIG_AsVal_int(obj1
, &val
);
35464 if (!SWIG_IsOK(ecode
)) {
35465 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "Window_ClientToScreenXY" "', expected argument " "2"" of type '" "int""'");
35467 temp2
= static_cast< int >(val
);
35469 res2
= SWIG_AddTmpMask(ecode
);
35471 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_int
,0))))) {
35473 int ecode
= SWIG_AsVal_int(obj2
, &val
);
35474 if (!SWIG_IsOK(ecode
)) {
35475 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "Window_ClientToScreenXY" "', expected argument " "3"" of type '" "int""'");
35477 temp3
= static_cast< int >(val
);
35479 res3
= SWIG_AddTmpMask(ecode
);
35482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35483 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
35484 wxPyEndAllowThreads(__tstate
);
35485 if (PyErr_Occurred()) SWIG_fail
;
35487 resultobj
= SWIG_Py_Void();
35488 if (SWIG_IsTmpObj(res2
)) {
35489 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
35491 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
35492 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
35494 if (SWIG_IsTmpObj(res3
)) {
35495 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
35497 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
35498 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
35506 SWIGINTERN PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35507 PyObject
*resultobj
= 0;
35508 wxWindow
*arg1
= (wxWindow
*) 0 ;
35509 int *arg2
= (int *) 0 ;
35510 int *arg3
= (int *) 0 ;
35517 PyObject
* obj0
= 0 ;
35518 PyObject
* obj1
= 0 ;
35519 PyObject
* obj2
= 0 ;
35520 char * kwnames
[] = {
35521 (char *) "self",(char *) "x",(char *) "y", NULL
35524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35526 if (!SWIG_IsOK(res1
)) {
35527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ScreenToClientXY" "', expected argument " "1"" of type '" "wxWindow const *""'");
35529 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35530 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_int
,0))))) {
35532 int ecode
= SWIG_AsVal_int(obj1
, &val
);
35533 if (!SWIG_IsOK(ecode
)) {
35534 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "Window_ScreenToClientXY" "', expected argument " "2"" of type '" "int""'");
35536 temp2
= static_cast< int >(val
);
35538 res2
= SWIG_AddTmpMask(ecode
);
35540 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_int
,0))))) {
35542 int ecode
= SWIG_AsVal_int(obj2
, &val
);
35543 if (!SWIG_IsOK(ecode
)) {
35544 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "Window_ScreenToClientXY" "', expected argument " "3"" of type '" "int""'");
35546 temp3
= static_cast< int >(val
);
35548 res3
= SWIG_AddTmpMask(ecode
);
35551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35552 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
35553 wxPyEndAllowThreads(__tstate
);
35554 if (PyErr_Occurred()) SWIG_fail
;
35556 resultobj
= SWIG_Py_Void();
35557 if (SWIG_IsTmpObj(res2
)) {
35558 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
35560 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
35561 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
35563 if (SWIG_IsTmpObj(res3
)) {
35564 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
35566 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
35567 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
35575 SWIGINTERN PyObject
*_wrap_Window_ClientToScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35576 PyObject
*resultobj
= 0;
35577 wxWindow
*arg1
= (wxWindow
*) 0 ;
35578 wxPoint
*arg2
= 0 ;
35583 PyObject
* obj0
= 0 ;
35584 PyObject
* obj1
= 0 ;
35585 char * kwnames
[] = {
35586 (char *) "self",(char *) "pt", NULL
35589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35591 if (!SWIG_IsOK(res1
)) {
35592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ClientToScreen" "', expected argument " "1"" of type '" "wxWindow const *""'");
35594 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35597 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35601 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
35602 wxPyEndAllowThreads(__tstate
);
35603 if (PyErr_Occurred()) SWIG_fail
;
35605 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
35612 SWIGINTERN PyObject
*_wrap_Window_ScreenToClient(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35613 PyObject
*resultobj
= 0;
35614 wxWindow
*arg1
= (wxWindow
*) 0 ;
35615 wxPoint
*arg2
= 0 ;
35620 PyObject
* obj0
= 0 ;
35621 PyObject
* obj1
= 0 ;
35622 char * kwnames
[] = {
35623 (char *) "self",(char *) "pt", NULL
35626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35628 if (!SWIG_IsOK(res1
)) {
35629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ScreenToClient" "', expected argument " "1"" of type '" "wxWindow const *""'");
35631 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35634 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35638 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
35639 wxPyEndAllowThreads(__tstate
);
35640 if (PyErr_Occurred()) SWIG_fail
;
35642 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
35649 SWIGINTERN PyObject
*_wrap_Window_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35650 PyObject
*resultobj
= 0;
35651 wxWindow
*arg1
= (wxWindow
*) 0 ;
35661 PyObject
* obj0
= 0 ;
35662 PyObject
* obj1
= 0 ;
35663 PyObject
* obj2
= 0 ;
35664 char * kwnames
[] = {
35665 (char *) "self",(char *) "x",(char *) "y", NULL
35668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35670 if (!SWIG_IsOK(res1
)) {
35671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_HitTestXY" "', expected argument " "1"" of type '" "wxWindow const *""'");
35673 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35674 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35675 if (!SWIG_IsOK(ecode2
)) {
35676 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_HitTestXY" "', expected argument " "2"" of type '" "int""'");
35678 arg2
= static_cast< int >(val2
);
35679 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35680 if (!SWIG_IsOK(ecode3
)) {
35681 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_HitTestXY" "', expected argument " "3"" of type '" "int""'");
35683 arg3
= static_cast< int >(val3
);
35685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35686 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
35687 wxPyEndAllowThreads(__tstate
);
35688 if (PyErr_Occurred()) SWIG_fail
;
35690 resultobj
= SWIG_From_int(static_cast< int >(result
));
35697 SWIGINTERN PyObject
*_wrap_Window_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35698 PyObject
*resultobj
= 0;
35699 wxWindow
*arg1
= (wxWindow
*) 0 ;
35700 wxPoint
*arg2
= 0 ;
35705 PyObject
* obj0
= 0 ;
35706 PyObject
* obj1
= 0 ;
35707 char * kwnames
[] = {
35708 (char *) "self",(char *) "pt", NULL
35711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35713 if (!SWIG_IsOK(res1
)) {
35714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_HitTest" "', expected argument " "1"" of type '" "wxWindow const *""'");
35716 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35719 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35723 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
35724 wxPyEndAllowThreads(__tstate
);
35725 if (PyErr_Occurred()) SWIG_fail
;
35727 resultobj
= SWIG_From_int(static_cast< int >(result
));
35734 SWIGINTERN PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
35735 PyObject
*resultobj
= 0;
35736 wxWindow
*arg1
= (wxWindow
*) 0 ;
35744 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
35745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35746 if (!SWIG_IsOK(res1
)) {
35747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBorder" "', expected argument " "1"" of type '" "wxWindow const *""'");
35749 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35750 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
35751 if (!SWIG_IsOK(ecode2
)) {
35752 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_GetBorder" "', expected argument " "2"" of type '" "long""'");
35754 arg2
= static_cast< long >(val2
);
35756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35757 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder(arg2
);
35758 wxPyEndAllowThreads(__tstate
);
35759 if (PyErr_Occurred()) SWIG_fail
;
35761 resultobj
= SWIG_From_int(static_cast< int >(result
));
35768 SWIGINTERN PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
35769 PyObject
*resultobj
= 0;
35770 wxWindow
*arg1
= (wxWindow
*) 0 ;
35775 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
35776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35777 if (!SWIG_IsOK(res1
)) {
35778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBorder" "', expected argument " "1"" of type '" "wxWindow const *""'");
35780 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35783 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder();
35784 wxPyEndAllowThreads(__tstate
);
35785 if (PyErr_Occurred()) SWIG_fail
;
35787 resultobj
= SWIG_From_int(static_cast< int >(result
));
35794 SWIGINTERN PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
35798 if (!(argc
= SWIG_Python_UnpackTuple(args
,"Window_GetBorder",0,2,argv
))) SWIG_fail
;
35801 return _wrap_Window_GetBorder__SWIG_1(self
, argc
, argv
);
35804 return _wrap_Window_GetBorder__SWIG_0(self
, argc
, argv
);
35808 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'Window_GetBorder'");
35813 SWIGINTERN PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35814 PyObject
*resultobj
= 0;
35815 wxWindow
*arg1
= (wxWindow
*) 0 ;
35816 long arg2
= (long) wxUPDATE_UI_NONE
;
35821 PyObject
* obj0
= 0 ;
35822 PyObject
* obj1
= 0 ;
35823 char * kwnames
[] = {
35824 (char *) "self",(char *) "flags", NULL
35827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35829 if (!SWIG_IsOK(res1
)) {
35830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_UpdateWindowUI" "', expected argument " "1"" of type '" "wxWindow *""'");
35832 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35834 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
35835 if (!SWIG_IsOK(ecode2
)) {
35836 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_UpdateWindowUI" "', expected argument " "2"" of type '" "long""'");
35838 arg2
= static_cast< long >(val2
);
35841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35842 (arg1
)->UpdateWindowUI(arg2
);
35843 wxPyEndAllowThreads(__tstate
);
35844 if (PyErr_Occurred()) SWIG_fail
;
35846 resultobj
= SWIG_Py_Void();
35853 SWIGINTERN PyObject
*_wrap_Window_PopupMenuXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35854 PyObject
*resultobj
= 0;
35855 wxWindow
*arg1
= (wxWindow
*) 0 ;
35856 wxMenu
*arg2
= (wxMenu
*) 0 ;
35857 int arg3
= (int) -1 ;
35858 int arg4
= (int) -1 ;
35868 PyObject
* obj0
= 0 ;
35869 PyObject
* obj1
= 0 ;
35870 PyObject
* obj2
= 0 ;
35871 PyObject
* obj3
= 0 ;
35872 char * kwnames
[] = {
35873 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
35876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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_PopupMenuXY" "', expected argument " "1"" of type '" "wxWindow *""'");
35881 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35882 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
35883 if (!SWIG_IsOK(res2
)) {
35884 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_PopupMenuXY" "', expected argument " "2"" of type '" "wxMenu *""'");
35886 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
35888 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35889 if (!SWIG_IsOK(ecode3
)) {
35890 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_PopupMenuXY" "', expected argument " "3"" of type '" "int""'");
35892 arg3
= static_cast< int >(val3
);
35895 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35896 if (!SWIG_IsOK(ecode4
)) {
35897 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_PopupMenuXY" "', expected argument " "4"" of type '" "int""'");
35899 arg4
= static_cast< int >(val4
);
35902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35903 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
35904 wxPyEndAllowThreads(__tstate
);
35905 if (PyErr_Occurred()) SWIG_fail
;
35908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35916 SWIGINTERN PyObject
*_wrap_Window_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35917 PyObject
*resultobj
= 0;
35918 wxWindow
*arg1
= (wxWindow
*) 0 ;
35919 wxMenu
*arg2
= (wxMenu
*) 0 ;
35920 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
35921 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
35928 PyObject
* obj0
= 0 ;
35929 PyObject
* obj1
= 0 ;
35930 PyObject
* obj2
= 0 ;
35931 char * kwnames
[] = {
35932 (char *) "self",(char *) "menu",(char *) "pos", NULL
35935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35937 if (!SWIG_IsOK(res1
)) {
35938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PopupMenu" "', expected argument " "1"" of type '" "wxWindow *""'");
35940 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35941 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
35942 if (!SWIG_IsOK(res2
)) {
35943 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
35945 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
35949 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
35953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35954 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
35955 wxPyEndAllowThreads(__tstate
);
35956 if (PyErr_Occurred()) SWIG_fail
;
35959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35967 SWIGINTERN PyObject
*_wrap_Window_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35968 PyObject
*resultobj
= 0;
35969 wxWindow
*arg1
= (wxWindow
*) 0 ;
35973 PyObject
*swig_obj
[1] ;
35975 if (!args
) SWIG_fail
;
35976 swig_obj
[0] = args
;
35977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35978 if (!SWIG_IsOK(res1
)) {
35979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetHandle" "', expected argument " "1"" of type '" "wxWindow *""'");
35981 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35984 result
= (long)wxWindow_GetHandle(arg1
);
35985 wxPyEndAllowThreads(__tstate
);
35986 if (PyErr_Occurred()) SWIG_fail
;
35988 resultobj
= SWIG_From_long(static_cast< long >(result
));
35995 SWIGINTERN PyObject
*_wrap_Window_AssociateHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35996 PyObject
*resultobj
= 0;
35997 wxWindow
*arg1
= (wxWindow
*) 0 ;
36003 PyObject
* obj0
= 0 ;
36004 PyObject
* obj1
= 0 ;
36005 char * kwnames
[] = {
36006 (char *) "self",(char *) "handle", NULL
36009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AssociateHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36011 if (!SWIG_IsOK(res1
)) {
36012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_AssociateHandle" "', expected argument " "1"" of type '" "wxWindow *""'");
36014 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36015 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
36016 if (!SWIG_IsOK(ecode2
)) {
36017 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_AssociateHandle" "', expected argument " "2"" of type '" "long""'");
36019 arg2
= static_cast< long >(val2
);
36021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36022 wxWindow_AssociateHandle(arg1
,arg2
);
36023 wxPyEndAllowThreads(__tstate
);
36024 if (PyErr_Occurred()) SWIG_fail
;
36026 resultobj
= SWIG_Py_Void();
36033 SWIGINTERN PyObject
*_wrap_Window_DissociateHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36034 PyObject
*resultobj
= 0;
36035 wxWindow
*arg1
= (wxWindow
*) 0 ;
36038 PyObject
*swig_obj
[1] ;
36040 if (!args
) SWIG_fail
;
36041 swig_obj
[0] = args
;
36042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36043 if (!SWIG_IsOK(res1
)) {
36044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_DissociateHandle" "', expected argument " "1"" of type '" "wxWindow *""'");
36046 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36049 (arg1
)->DissociateHandle();
36050 wxPyEndAllowThreads(__tstate
);
36051 if (PyErr_Occurred()) SWIG_fail
;
36053 resultobj
= SWIG_Py_Void();
36060 SWIGINTERN PyObject
*_wrap_Window_HasScrollbar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36061 PyObject
*resultobj
= 0;
36062 wxWindow
*arg1
= (wxWindow
*) 0 ;
36069 PyObject
* obj0
= 0 ;
36070 PyObject
* obj1
= 0 ;
36071 char * kwnames
[] = {
36072 (char *) "self",(char *) "orient", NULL
36075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36077 if (!SWIG_IsOK(res1
)) {
36078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_HasScrollbar" "', expected argument " "1"" of type '" "wxWindow const *""'");
36080 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36081 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36082 if (!SWIG_IsOK(ecode2
)) {
36083 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_HasScrollbar" "', expected argument " "2"" of type '" "int""'");
36085 arg2
= static_cast< int >(val2
);
36087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36088 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
36089 wxPyEndAllowThreads(__tstate
);
36090 if (PyErr_Occurred()) SWIG_fail
;
36093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36101 SWIGINTERN PyObject
*_wrap_Window_SetScrollbar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36102 PyObject
*resultobj
= 0;
36103 wxWindow
*arg1
= (wxWindow
*) 0 ;
36108 bool arg6
= (bool) true ;
36121 PyObject
* obj0
= 0 ;
36122 PyObject
* obj1
= 0 ;
36123 PyObject
* obj2
= 0 ;
36124 PyObject
* obj3
= 0 ;
36125 PyObject
* obj4
= 0 ;
36126 PyObject
* obj5
= 0 ;
36127 char * kwnames
[] = {
36128 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
36131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36133 if (!SWIG_IsOK(res1
)) {
36134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetScrollbar" "', expected argument " "1"" of type '" "wxWindow *""'");
36136 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36137 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36138 if (!SWIG_IsOK(ecode2
)) {
36139 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetScrollbar" "', expected argument " "2"" of type '" "int""'");
36141 arg2
= static_cast< int >(val2
);
36142 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36143 if (!SWIG_IsOK(ecode3
)) {
36144 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetScrollbar" "', expected argument " "3"" of type '" "int""'");
36146 arg3
= static_cast< int >(val3
);
36147 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36148 if (!SWIG_IsOK(ecode4
)) {
36149 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_SetScrollbar" "', expected argument " "4"" of type '" "int""'");
36151 arg4
= static_cast< int >(val4
);
36152 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36153 if (!SWIG_IsOK(ecode5
)) {
36154 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Window_SetScrollbar" "', expected argument " "5"" of type '" "int""'");
36156 arg5
= static_cast< int >(val5
);
36158 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
36159 if (!SWIG_IsOK(ecode6
)) {
36160 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Window_SetScrollbar" "', expected argument " "6"" of type '" "bool""'");
36162 arg6
= static_cast< bool >(val6
);
36165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36166 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
36167 wxPyEndAllowThreads(__tstate
);
36168 if (PyErr_Occurred()) SWIG_fail
;
36170 resultobj
= SWIG_Py_Void();
36177 SWIGINTERN PyObject
*_wrap_Window_SetScrollPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36178 PyObject
*resultobj
= 0;
36179 wxWindow
*arg1
= (wxWindow
*) 0 ;
36182 bool arg4
= (bool) true ;
36191 PyObject
* obj0
= 0 ;
36192 PyObject
* obj1
= 0 ;
36193 PyObject
* obj2
= 0 ;
36194 PyObject
* obj3
= 0 ;
36195 char * kwnames
[] = {
36196 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
36199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36201 if (!SWIG_IsOK(res1
)) {
36202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetScrollPos" "', expected argument " "1"" of type '" "wxWindow *""'");
36204 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36205 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36206 if (!SWIG_IsOK(ecode2
)) {
36207 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetScrollPos" "', expected argument " "2"" of type '" "int""'");
36209 arg2
= static_cast< int >(val2
);
36210 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36211 if (!SWIG_IsOK(ecode3
)) {
36212 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetScrollPos" "', expected argument " "3"" of type '" "int""'");
36214 arg3
= static_cast< int >(val3
);
36216 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
36217 if (!SWIG_IsOK(ecode4
)) {
36218 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_SetScrollPos" "', expected argument " "4"" of type '" "bool""'");
36220 arg4
= static_cast< bool >(val4
);
36223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36224 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
36225 wxPyEndAllowThreads(__tstate
);
36226 if (PyErr_Occurred()) SWIG_fail
;
36228 resultobj
= SWIG_Py_Void();
36235 SWIGINTERN PyObject
*_wrap_Window_GetScrollPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36236 PyObject
*resultobj
= 0;
36237 wxWindow
*arg1
= (wxWindow
*) 0 ;
36244 PyObject
* obj0
= 0 ;
36245 PyObject
* obj1
= 0 ;
36246 char * kwnames
[] = {
36247 (char *) "self",(char *) "orientation", NULL
36250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36252 if (!SWIG_IsOK(res1
)) {
36253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetScrollPos" "', expected argument " "1"" of type '" "wxWindow const *""'");
36255 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36256 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36257 if (!SWIG_IsOK(ecode2
)) {
36258 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_GetScrollPos" "', expected argument " "2"" of type '" "int""'");
36260 arg2
= static_cast< int >(val2
);
36262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36263 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
36264 wxPyEndAllowThreads(__tstate
);
36265 if (PyErr_Occurred()) SWIG_fail
;
36267 resultobj
= SWIG_From_int(static_cast< int >(result
));
36274 SWIGINTERN PyObject
*_wrap_Window_GetScrollThumb(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36275 PyObject
*resultobj
= 0;
36276 wxWindow
*arg1
= (wxWindow
*) 0 ;
36283 PyObject
* obj0
= 0 ;
36284 PyObject
* obj1
= 0 ;
36285 char * kwnames
[] = {
36286 (char *) "self",(char *) "orientation", NULL
36289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) 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_GetScrollThumb" "', expected argument " "1"" of type '" "wxWindow const *""'");
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_GetScrollThumb" "', expected argument " "2"" of type '" "int""'");
36299 arg2
= static_cast< int >(val2
);
36301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36302 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
36303 wxPyEndAllowThreads(__tstate
);
36304 if (PyErr_Occurred()) SWIG_fail
;
36306 resultobj
= SWIG_From_int(static_cast< int >(result
));
36313 SWIGINTERN PyObject
*_wrap_Window_GetScrollRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36314 PyObject
*resultobj
= 0;
36315 wxWindow
*arg1
= (wxWindow
*) 0 ;
36322 PyObject
* obj0
= 0 ;
36323 PyObject
* obj1
= 0 ;
36324 char * kwnames
[] = {
36325 (char *) "self",(char *) "orientation", NULL
36328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36330 if (!SWIG_IsOK(res1
)) {
36331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetScrollRange" "', expected argument " "1"" of type '" "wxWindow const *""'");
36333 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36334 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36335 if (!SWIG_IsOK(ecode2
)) {
36336 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_GetScrollRange" "', expected argument " "2"" of type '" "int""'");
36338 arg2
= static_cast< int >(val2
);
36340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36341 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
36342 wxPyEndAllowThreads(__tstate
);
36343 if (PyErr_Occurred()) SWIG_fail
;
36345 resultobj
= SWIG_From_int(static_cast< int >(result
));
36352 SWIGINTERN PyObject
*_wrap_Window_ScrollWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36353 PyObject
*resultobj
= 0;
36354 wxWindow
*arg1
= (wxWindow
*) 0 ;
36357 wxRect
*arg4
= (wxRect
*) NULL
;
36366 PyObject
* obj0
= 0 ;
36367 PyObject
* obj1
= 0 ;
36368 PyObject
* obj2
= 0 ;
36369 PyObject
* obj3
= 0 ;
36370 char * kwnames
[] = {
36371 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
36374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36376 if (!SWIG_IsOK(res1
)) {
36377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ScrollWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
36379 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36380 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36381 if (!SWIG_IsOK(ecode2
)) {
36382 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_ScrollWindow" "', expected argument " "2"" of type '" "int""'");
36384 arg2
= static_cast< int >(val2
);
36385 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36386 if (!SWIG_IsOK(ecode3
)) {
36387 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_ScrollWindow" "', expected argument " "3"" of type '" "int""'");
36389 arg3
= static_cast< int >(val3
);
36391 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
36392 if (!SWIG_IsOK(res4
)) {
36393 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Window_ScrollWindow" "', expected argument " "4"" of type '" "wxRect const *""'");
36395 arg4
= reinterpret_cast< wxRect
* >(argp4
);
36398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36399 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
36400 wxPyEndAllowThreads(__tstate
);
36401 if (PyErr_Occurred()) SWIG_fail
;
36403 resultobj
= SWIG_Py_Void();
36410 SWIGINTERN PyObject
*_wrap_Window_ScrollLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36411 PyObject
*resultobj
= 0;
36412 wxWindow
*arg1
= (wxWindow
*) 0 ;
36419 PyObject
* obj0
= 0 ;
36420 PyObject
* obj1
= 0 ;
36421 char * kwnames
[] = {
36422 (char *) "self",(char *) "lines", NULL
36425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36427 if (!SWIG_IsOK(res1
)) {
36428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ScrollLines" "', expected argument " "1"" of type '" "wxWindow *""'");
36430 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36431 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36432 if (!SWIG_IsOK(ecode2
)) {
36433 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_ScrollLines" "', expected argument " "2"" of type '" "int""'");
36435 arg2
= static_cast< int >(val2
);
36437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36438 result
= (bool)(arg1
)->ScrollLines(arg2
);
36439 wxPyEndAllowThreads(__tstate
);
36440 if (PyErr_Occurred()) SWIG_fail
;
36443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36451 SWIGINTERN PyObject
*_wrap_Window_ScrollPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36452 PyObject
*resultobj
= 0;
36453 wxWindow
*arg1
= (wxWindow
*) 0 ;
36460 PyObject
* obj0
= 0 ;
36461 PyObject
* obj1
= 0 ;
36462 char * kwnames
[] = {
36463 (char *) "self",(char *) "pages", NULL
36466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36468 if (!SWIG_IsOK(res1
)) {
36469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ScrollPages" "', expected argument " "1"" of type '" "wxWindow *""'");
36471 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36472 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36473 if (!SWIG_IsOK(ecode2
)) {
36474 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_ScrollPages" "', expected argument " "2"" of type '" "int""'");
36476 arg2
= static_cast< int >(val2
);
36478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36479 result
= (bool)(arg1
)->ScrollPages(arg2
);
36480 wxPyEndAllowThreads(__tstate
);
36481 if (PyErr_Occurred()) SWIG_fail
;
36484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36492 SWIGINTERN PyObject
*_wrap_Window_LineUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36493 PyObject
*resultobj
= 0;
36494 wxWindow
*arg1
= (wxWindow
*) 0 ;
36498 PyObject
*swig_obj
[1] ;
36500 if (!args
) SWIG_fail
;
36501 swig_obj
[0] = args
;
36502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36503 if (!SWIG_IsOK(res1
)) {
36504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_LineUp" "', expected argument " "1"" of type '" "wxWindow *""'");
36506 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36509 result
= (bool)(arg1
)->LineUp();
36510 wxPyEndAllowThreads(__tstate
);
36511 if (PyErr_Occurred()) SWIG_fail
;
36514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36522 SWIGINTERN PyObject
*_wrap_Window_LineDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36523 PyObject
*resultobj
= 0;
36524 wxWindow
*arg1
= (wxWindow
*) 0 ;
36528 PyObject
*swig_obj
[1] ;
36530 if (!args
) SWIG_fail
;
36531 swig_obj
[0] = args
;
36532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36533 if (!SWIG_IsOK(res1
)) {
36534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_LineDown" "', expected argument " "1"" of type '" "wxWindow *""'");
36536 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36539 result
= (bool)(arg1
)->LineDown();
36540 wxPyEndAllowThreads(__tstate
);
36541 if (PyErr_Occurred()) SWIG_fail
;
36544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36552 SWIGINTERN PyObject
*_wrap_Window_PageUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36553 PyObject
*resultobj
= 0;
36554 wxWindow
*arg1
= (wxWindow
*) 0 ;
36558 PyObject
*swig_obj
[1] ;
36560 if (!args
) SWIG_fail
;
36561 swig_obj
[0] = args
;
36562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36563 if (!SWIG_IsOK(res1
)) {
36564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PageUp" "', expected argument " "1"" of type '" "wxWindow *""'");
36566 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36569 result
= (bool)(arg1
)->PageUp();
36570 wxPyEndAllowThreads(__tstate
);
36571 if (PyErr_Occurred()) SWIG_fail
;
36574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36582 SWIGINTERN PyObject
*_wrap_Window_PageDown(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_PageDown" "', expected argument " "1"" of type '" "wxWindow *""'");
36596 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36599 result
= (bool)(arg1
)->PageDown();
36600 wxPyEndAllowThreads(__tstate
);
36601 if (PyErr_Occurred()) SWIG_fail
;
36604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36612 SWIGINTERN PyObject
*_wrap_Window_SetHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36613 PyObject
*resultobj
= 0;
36614 wxWindow
*arg1
= (wxWindow
*) 0 ;
36615 wxString
*arg2
= 0 ;
36618 bool temp2
= false ;
36619 PyObject
* obj0
= 0 ;
36620 PyObject
* obj1
= 0 ;
36621 char * kwnames
[] = {
36622 (char *) "self",(char *) "text", NULL
36625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36627 if (!SWIG_IsOK(res1
)) {
36628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetHelpText" "', expected argument " "1"" of type '" "wxWindow *""'");
36630 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36632 arg2
= wxString_in_helper(obj1
);
36633 if (arg2
== NULL
) SWIG_fail
;
36637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36638 (arg1
)->SetHelpText((wxString
const &)*arg2
);
36639 wxPyEndAllowThreads(__tstate
);
36640 if (PyErr_Occurred()) SWIG_fail
;
36642 resultobj
= SWIG_Py_Void();
36657 SWIGINTERN PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36658 PyObject
*resultobj
= 0;
36659 wxWindow
*arg1
= (wxWindow
*) 0 ;
36660 wxString
*arg2
= 0 ;
36663 bool temp2
= false ;
36664 PyObject
* obj0
= 0 ;
36665 PyObject
* obj1
= 0 ;
36666 char * kwnames
[] = {
36667 (char *) "self",(char *) "text", NULL
36670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36672 if (!SWIG_IsOK(res1
)) {
36673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetHelpTextForId" "', expected argument " "1"" of type '" "wxWindow *""'");
36675 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36677 arg2
= wxString_in_helper(obj1
);
36678 if (arg2
== NULL
) SWIG_fail
;
36682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36683 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
36684 wxPyEndAllowThreads(__tstate
);
36685 if (PyErr_Occurred()) SWIG_fail
;
36687 resultobj
= SWIG_Py_Void();
36702 SWIGINTERN PyObject
*_wrap_Window_GetHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36703 PyObject
*resultobj
= 0;
36704 wxWindow
*arg1
= (wxWindow
*) 0 ;
36708 PyObject
*swig_obj
[1] ;
36710 if (!args
) SWIG_fail
;
36711 swig_obj
[0] = args
;
36712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36713 if (!SWIG_IsOK(res1
)) {
36714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetHelpText" "', expected argument " "1"" of type '" "wxWindow const *""'");
36716 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36719 result
= ((wxWindow
const *)arg1
)->GetHelpText();
36720 wxPyEndAllowThreads(__tstate
);
36721 if (PyErr_Occurred()) SWIG_fail
;
36725 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36727 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36736 SWIGINTERN PyObject
*_wrap_Window_SetToolTipString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36737 PyObject
*resultobj
= 0;
36738 wxWindow
*arg1
= (wxWindow
*) 0 ;
36739 wxString
*arg2
= 0 ;
36742 bool temp2
= false ;
36743 PyObject
* obj0
= 0 ;
36744 PyObject
* obj1
= 0 ;
36745 char * kwnames
[] = {
36746 (char *) "self",(char *) "tip", NULL
36749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36751 if (!SWIG_IsOK(res1
)) {
36752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetToolTipString" "', expected argument " "1"" of type '" "wxWindow *""'");
36754 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36756 arg2
= wxString_in_helper(obj1
);
36757 if (arg2
== NULL
) SWIG_fail
;
36761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36762 (arg1
)->SetToolTip((wxString
const &)*arg2
);
36763 wxPyEndAllowThreads(__tstate
);
36764 if (PyErr_Occurred()) SWIG_fail
;
36766 resultobj
= SWIG_Py_Void();
36781 SWIGINTERN PyObject
*_wrap_Window_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36782 PyObject
*resultobj
= 0;
36783 wxWindow
*arg1
= (wxWindow
*) 0 ;
36784 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
36788 PyObject
* obj0
= 0 ;
36789 PyObject
* obj1
= 0 ;
36790 char * kwnames
[] = {
36791 (char *) "self",(char *) "tip", NULL
36794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36796 if (!SWIG_IsOK(res1
)) {
36797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetToolTip" "', expected argument " "1"" of type '" "wxWindow *""'");
36799 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36800 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxToolTip
, SWIG_POINTER_DISOWN
| 0 );
36801 if (!SWIG_IsOK(res2
)) {
36802 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetToolTip" "', expected argument " "2"" of type '" "wxToolTip *""'");
36805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36806 (arg1
)->SetToolTip(arg2
);
36807 wxPyEndAllowThreads(__tstate
);
36808 if (PyErr_Occurred()) SWIG_fail
;
36810 resultobj
= SWIG_Py_Void();
36817 SWIGINTERN PyObject
*_wrap_Window_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36818 PyObject
*resultobj
= 0;
36819 wxWindow
*arg1
= (wxWindow
*) 0 ;
36820 wxToolTip
*result
= 0 ;
36823 PyObject
*swig_obj
[1] ;
36825 if (!args
) SWIG_fail
;
36826 swig_obj
[0] = args
;
36827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36828 if (!SWIG_IsOK(res1
)) {
36829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetToolTip" "', expected argument " "1"" of type '" "wxWindow const *""'");
36831 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36834 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
36835 wxPyEndAllowThreads(__tstate
);
36836 if (PyErr_Occurred()) SWIG_fail
;
36839 resultobj
= wxPyMake_wxObject(result
, (bool)0);
36847 SWIGINTERN PyObject
*_wrap_Window_SetDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36848 PyObject
*resultobj
= 0;
36849 wxWindow
*arg1
= (wxWindow
*) 0 ;
36850 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
36854 PyObject
* obj0
= 0 ;
36855 PyObject
* obj1
= 0 ;
36856 char * kwnames
[] = {
36857 (char *) "self",(char *) "dropTarget", NULL
36860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36862 if (!SWIG_IsOK(res1
)) {
36863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetDropTarget" "', expected argument " "1"" of type '" "wxWindow *""'");
36865 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36866 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_DISOWN
| 0 );
36867 if (!SWIG_IsOK(res2
)) {
36868 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetDropTarget" "', expected argument " "2"" of type '" "wxPyDropTarget *""'");
36871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36872 (arg1
)->SetDropTarget(arg2
);
36873 wxPyEndAllowThreads(__tstate
);
36874 if (PyErr_Occurred()) SWIG_fail
;
36876 resultobj
= SWIG_Py_Void();
36883 SWIGINTERN PyObject
*_wrap_Window_GetDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36884 PyObject
*resultobj
= 0;
36885 wxWindow
*arg1
= (wxWindow
*) 0 ;
36886 wxPyDropTarget
*result
= 0 ;
36889 PyObject
*swig_obj
[1] ;
36891 if (!args
) SWIG_fail
;
36892 swig_obj
[0] = args
;
36893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36894 if (!SWIG_IsOK(res1
)) {
36895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetDropTarget" "', expected argument " "1"" of type '" "wxWindow const *""'");
36897 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36900 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
36901 wxPyEndAllowThreads(__tstate
);
36902 if (PyErr_Occurred()) SWIG_fail
;
36904 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
36911 SWIGINTERN PyObject
*_wrap_Window_DragAcceptFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36912 PyObject
*resultobj
= 0;
36913 wxWindow
*arg1
= (wxWindow
*) 0 ;
36919 PyObject
* obj0
= 0 ;
36920 PyObject
* obj1
= 0 ;
36921 char * kwnames
[] = {
36922 (char *) "self",(char *) "accept", NULL
36925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DragAcceptFiles",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36927 if (!SWIG_IsOK(res1
)) {
36928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_DragAcceptFiles" "', expected argument " "1"" of type '" "wxWindow *""'");
36930 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36931 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
36932 if (!SWIG_IsOK(ecode2
)) {
36933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_DragAcceptFiles" "', expected argument " "2"" of type '" "bool""'");
36935 arg2
= static_cast< bool >(val2
);
36937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36938 wxWindow_DragAcceptFiles(arg1
,arg2
);
36939 wxPyEndAllowThreads(__tstate
);
36940 if (PyErr_Occurred()) SWIG_fail
;
36942 resultobj
= SWIG_Py_Void();
36949 SWIGINTERN PyObject
*_wrap_Window_SetConstraints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36950 PyObject
*resultobj
= 0;
36951 wxWindow
*arg1
= (wxWindow
*) 0 ;
36952 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
36956 PyObject
* obj0
= 0 ;
36957 PyObject
* obj1
= 0 ;
36958 char * kwnames
[] = {
36959 (char *) "self",(char *) "constraints", NULL
36962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36964 if (!SWIG_IsOK(res1
)) {
36965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetConstraints" "', expected argument " "1"" of type '" "wxWindow *""'");
36967 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36968 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_DISOWN
| 0 );
36969 if (!SWIG_IsOK(res2
)) {
36970 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetConstraints" "', expected argument " "2"" of type '" "wxLayoutConstraints *""'");
36973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36974 (arg1
)->SetConstraints(arg2
);
36975 wxPyEndAllowThreads(__tstate
);
36976 if (PyErr_Occurred()) SWIG_fail
;
36978 resultobj
= SWIG_Py_Void();
36985 SWIGINTERN PyObject
*_wrap_Window_GetConstraints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36986 PyObject
*resultobj
= 0;
36987 wxWindow
*arg1
= (wxWindow
*) 0 ;
36988 wxLayoutConstraints
*result
= 0 ;
36991 PyObject
*swig_obj
[1] ;
36993 if (!args
) SWIG_fail
;
36994 swig_obj
[0] = args
;
36995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36996 if (!SWIG_IsOK(res1
)) {
36997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetConstraints" "', expected argument " "1"" of type '" "wxWindow const *""'");
36999 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37002 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
37003 wxPyEndAllowThreads(__tstate
);
37004 if (PyErr_Occurred()) SWIG_fail
;
37006 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
37013 SWIGINTERN PyObject
*_wrap_Window_SetAutoLayout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37014 PyObject
*resultobj
= 0;
37015 wxWindow
*arg1
= (wxWindow
*) 0 ;
37021 PyObject
* obj0
= 0 ;
37022 PyObject
* obj1
= 0 ;
37023 char * kwnames
[] = {
37024 (char *) "self",(char *) "autoLayout", NULL
37027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37029 if (!SWIG_IsOK(res1
)) {
37030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetAutoLayout" "', expected argument " "1"" of type '" "wxWindow *""'");
37032 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37033 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37034 if (!SWIG_IsOK(ecode2
)) {
37035 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetAutoLayout" "', expected argument " "2"" of type '" "bool""'");
37037 arg2
= static_cast< bool >(val2
);
37039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37040 (arg1
)->SetAutoLayout(arg2
);
37041 wxPyEndAllowThreads(__tstate
);
37042 if (PyErr_Occurred()) SWIG_fail
;
37044 resultobj
= SWIG_Py_Void();
37051 SWIGINTERN PyObject
*_wrap_Window_GetAutoLayout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37052 PyObject
*resultobj
= 0;
37053 wxWindow
*arg1
= (wxWindow
*) 0 ;
37057 PyObject
*swig_obj
[1] ;
37059 if (!args
) SWIG_fail
;
37060 swig_obj
[0] = args
;
37061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37062 if (!SWIG_IsOK(res1
)) {
37063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetAutoLayout" "', expected argument " "1"" of type '" "wxWindow const *""'");
37065 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37068 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
37069 wxPyEndAllowThreads(__tstate
);
37070 if (PyErr_Occurred()) SWIG_fail
;
37073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37081 SWIGINTERN PyObject
*_wrap_Window_Layout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37082 PyObject
*resultobj
= 0;
37083 wxWindow
*arg1
= (wxWindow
*) 0 ;
37087 PyObject
*swig_obj
[1] ;
37089 if (!args
) SWIG_fail
;
37090 swig_obj
[0] = args
;
37091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37092 if (!SWIG_IsOK(res1
)) {
37093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Layout" "', expected argument " "1"" of type '" "wxWindow *""'");
37095 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37098 result
= (bool)(arg1
)->Layout();
37099 wxPyEndAllowThreads(__tstate
);
37100 if (PyErr_Occurred()) SWIG_fail
;
37103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37111 SWIGINTERN PyObject
*_wrap_Window_SetSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37112 PyObject
*resultobj
= 0;
37113 wxWindow
*arg1
= (wxWindow
*) 0 ;
37114 wxSizer
*arg2
= (wxSizer
*) 0 ;
37115 bool arg3
= (bool) true ;
37121 PyObject
* obj0
= 0 ;
37122 PyObject
* obj1
= 0 ;
37123 PyObject
* obj2
= 0 ;
37124 char * kwnames
[] = {
37125 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
37128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37130 if (!SWIG_IsOK(res1
)) {
37131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetSizer" "', expected argument " "1"" of type '" "wxWindow *""'");
37133 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37134 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxSizer
, SWIG_POINTER_DISOWN
| 0 );
37135 if (!SWIG_IsOK(res2
)) {
37136 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetSizer" "', expected argument " "2"" of type '" "wxSizer *""'");
37139 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37140 if (!SWIG_IsOK(ecode3
)) {
37141 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetSizer" "', expected argument " "3"" of type '" "bool""'");
37143 arg3
= static_cast< bool >(val3
);
37146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37147 (arg1
)->SetSizer(arg2
,arg3
);
37148 wxPyEndAllowThreads(__tstate
);
37149 if (PyErr_Occurred()) SWIG_fail
;
37151 resultobj
= SWIG_Py_Void();
37158 SWIGINTERN PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37159 PyObject
*resultobj
= 0;
37160 wxWindow
*arg1
= (wxWindow
*) 0 ;
37161 wxSizer
*arg2
= (wxSizer
*) 0 ;
37162 bool arg3
= (bool) true ;
37168 PyObject
* obj0
= 0 ;
37169 PyObject
* obj1
= 0 ;
37170 PyObject
* obj2
= 0 ;
37171 char * kwnames
[] = {
37172 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
37175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37177 if (!SWIG_IsOK(res1
)) {
37178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetSizerAndFit" "', expected argument " "1"" of type '" "wxWindow *""'");
37180 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37181 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxSizer
, SWIG_POINTER_DISOWN
| 0 );
37182 if (!SWIG_IsOK(res2
)) {
37183 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetSizerAndFit" "', expected argument " "2"" of type '" "wxSizer *""'");
37186 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37187 if (!SWIG_IsOK(ecode3
)) {
37188 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetSizerAndFit" "', expected argument " "3"" of type '" "bool""'");
37190 arg3
= static_cast< bool >(val3
);
37193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37194 (arg1
)->SetSizerAndFit(arg2
,arg3
);
37195 wxPyEndAllowThreads(__tstate
);
37196 if (PyErr_Occurred()) SWIG_fail
;
37198 resultobj
= SWIG_Py_Void();
37205 SWIGINTERN PyObject
*_wrap_Window_GetSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37206 PyObject
*resultobj
= 0;
37207 wxWindow
*arg1
= (wxWindow
*) 0 ;
37208 wxSizer
*result
= 0 ;
37211 PyObject
*swig_obj
[1] ;
37213 if (!args
) SWIG_fail
;
37214 swig_obj
[0] = args
;
37215 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37216 if (!SWIG_IsOK(res1
)) {
37217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetSizer" "', expected argument " "1"" of type '" "wxWindow const *""'");
37219 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37222 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
37223 wxPyEndAllowThreads(__tstate
);
37224 if (PyErr_Occurred()) SWIG_fail
;
37227 resultobj
= wxPyMake_wxObject(result
, (bool)0);
37235 SWIGINTERN PyObject
*_wrap_Window_SetContainingSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37236 PyObject
*resultobj
= 0;
37237 wxWindow
*arg1
= (wxWindow
*) 0 ;
37238 wxSizer
*arg2
= (wxSizer
*) 0 ;
37243 PyObject
* obj0
= 0 ;
37244 PyObject
* obj1
= 0 ;
37245 char * kwnames
[] = {
37246 (char *) "self",(char *) "sizer", NULL
37249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37251 if (!SWIG_IsOK(res1
)) {
37252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetContainingSizer" "', expected argument " "1"" of type '" "wxWindow *""'");
37254 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37255 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
37256 if (!SWIG_IsOK(res2
)) {
37257 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetContainingSizer" "', expected argument " "2"" of type '" "wxSizer *""'");
37259 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
37261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37262 (arg1
)->SetContainingSizer(arg2
);
37263 wxPyEndAllowThreads(__tstate
);
37264 if (PyErr_Occurred()) SWIG_fail
;
37266 resultobj
= SWIG_Py_Void();
37273 SWIGINTERN PyObject
*_wrap_Window_GetContainingSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37274 PyObject
*resultobj
= 0;
37275 wxWindow
*arg1
= (wxWindow
*) 0 ;
37276 wxSizer
*result
= 0 ;
37279 PyObject
*swig_obj
[1] ;
37281 if (!args
) SWIG_fail
;
37282 swig_obj
[0] = args
;
37283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37284 if (!SWIG_IsOK(res1
)) {
37285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetContainingSizer" "', expected argument " "1"" of type '" "wxWindow const *""'");
37287 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37290 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
37291 wxPyEndAllowThreads(__tstate
);
37292 if (PyErr_Occurred()) SWIG_fail
;
37295 resultobj
= wxPyMake_wxObject(result
, (bool)0);
37303 SWIGINTERN PyObject
*_wrap_Window_InheritAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37304 PyObject
*resultobj
= 0;
37305 wxWindow
*arg1
= (wxWindow
*) 0 ;
37308 PyObject
*swig_obj
[1] ;
37310 if (!args
) SWIG_fail
;
37311 swig_obj
[0] = args
;
37312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37313 if (!SWIG_IsOK(res1
)) {
37314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_InheritAttributes" "', expected argument " "1"" of type '" "wxWindow *""'");
37316 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37319 (arg1
)->InheritAttributes();
37320 wxPyEndAllowThreads(__tstate
);
37321 if (PyErr_Occurred()) SWIG_fail
;
37323 resultobj
= SWIG_Py_Void();
37330 SWIGINTERN PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37331 PyObject
*resultobj
= 0;
37332 wxWindow
*arg1
= (wxWindow
*) 0 ;
37336 PyObject
*swig_obj
[1] ;
37338 if (!args
) SWIG_fail
;
37339 swig_obj
[0] = args
;
37340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37341 if (!SWIG_IsOK(res1
)) {
37342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ShouldInheritColours" "', expected argument " "1"" of type '" "wxWindow const *""'");
37344 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37347 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
37348 wxPyEndAllowThreads(__tstate
);
37349 if (PyErr_Occurred()) SWIG_fail
;
37352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37360 SWIGINTERN PyObject
*Window_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37362 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37363 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindow
, SWIG_NewClientData(obj
));
37364 return SWIG_Py_Void();
37367 SWIGINTERN PyObject
*Window_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37368 return SWIG_Python_InitShadowInstance(args
);
37371 SWIGINTERN PyObject
*_wrap_FindWindowById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37372 PyObject
*resultobj
= 0;
37374 wxWindow
*arg2
= (wxWindow
*) NULL
;
37375 wxWindow
*result
= 0 ;
37380 PyObject
* obj0
= 0 ;
37381 PyObject
* obj1
= 0 ;
37382 char * kwnames
[] = {
37383 (char *) "id",(char *) "parent", NULL
37386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37387 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
37388 if (!SWIG_IsOK(ecode1
)) {
37389 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FindWindowById" "', expected argument " "1"" of type '" "long""'");
37391 arg1
= static_cast< long >(val1
);
37393 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37394 if (!SWIG_IsOK(res2
)) {
37395 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindWindowById" "', expected argument " "2"" of type '" "wxWindow const *""'");
37397 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37400 if (!wxPyCheckForApp()) SWIG_fail
;
37401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37402 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
37403 wxPyEndAllowThreads(__tstate
);
37404 if (PyErr_Occurred()) SWIG_fail
;
37407 resultobj
= wxPyMake_wxObject(result
, 0);
37415 SWIGINTERN PyObject
*_wrap_FindWindowByName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37416 PyObject
*resultobj
= 0;
37417 wxString
*arg1
= 0 ;
37418 wxWindow
*arg2
= (wxWindow
*) NULL
;
37419 wxWindow
*result
= 0 ;
37420 bool temp1
= false ;
37423 PyObject
* obj0
= 0 ;
37424 PyObject
* obj1
= 0 ;
37425 char * kwnames
[] = {
37426 (char *) "name",(char *) "parent", NULL
37429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37431 arg1
= wxString_in_helper(obj0
);
37432 if (arg1
== NULL
) SWIG_fail
;
37436 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37437 if (!SWIG_IsOK(res2
)) {
37438 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindWindowByName" "', expected argument " "2"" of type '" "wxWindow const *""'");
37440 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37443 if (!wxPyCheckForApp()) SWIG_fail
;
37444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37445 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
37446 wxPyEndAllowThreads(__tstate
);
37447 if (PyErr_Occurred()) SWIG_fail
;
37450 resultobj
= wxPyMake_wxObject(result
, 0);
37466 SWIGINTERN PyObject
*_wrap_FindWindowByLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37467 PyObject
*resultobj
= 0;
37468 wxString
*arg1
= 0 ;
37469 wxWindow
*arg2
= (wxWindow
*) NULL
;
37470 wxWindow
*result
= 0 ;
37471 bool temp1
= false ;
37474 PyObject
* obj0
= 0 ;
37475 PyObject
* obj1
= 0 ;
37476 char * kwnames
[] = {
37477 (char *) "label",(char *) "parent", NULL
37480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37482 arg1
= wxString_in_helper(obj0
);
37483 if (arg1
== NULL
) SWIG_fail
;
37487 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37488 if (!SWIG_IsOK(res2
)) {
37489 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindWindowByLabel" "', expected argument " "2"" of type '" "wxWindow const *""'");
37491 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37494 if (!wxPyCheckForApp()) SWIG_fail
;
37495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37496 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
37497 wxPyEndAllowThreads(__tstate
);
37498 if (PyErr_Occurred()) SWIG_fail
;
37501 resultobj
= wxPyMake_wxObject(result
, 0);
37517 SWIGINTERN PyObject
*_wrap_Window_FromHWND(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37518 PyObject
*resultobj
= 0;
37519 wxWindow
*arg1
= (wxWindow
*) 0 ;
37520 unsigned long arg2
;
37521 wxWindow
*result
= 0 ;
37524 unsigned long val2
;
37526 PyObject
* obj0
= 0 ;
37527 PyObject
* obj1
= 0 ;
37528 char * kwnames
[] = {
37529 (char *) "parent",(char *) "_hWnd", NULL
37532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37534 if (!SWIG_IsOK(res1
)) {
37535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_FromHWND" "', expected argument " "1"" of type '" "wxWindow *""'");
37537 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37538 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
37539 if (!SWIG_IsOK(ecode2
)) {
37540 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_FromHWND" "', expected argument " "2"" of type '" "unsigned long""'");
37542 arg2
= static_cast< unsigned long >(val2
);
37544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37545 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
37546 wxPyEndAllowThreads(__tstate
);
37547 if (PyErr_Occurred()) SWIG_fail
;
37550 resultobj
= wxPyMake_wxObject(result
, 0);
37558 SWIGINTERN PyObject
*_wrap_GetTopLevelWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37559 PyObject
*resultobj
= 0;
37560 PyObject
*result
= 0 ;
37562 if (!SWIG_Python_UnpackTuple(args
,"GetTopLevelWindows",0,0,0)) SWIG_fail
;
37564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37565 result
= (PyObject
*)GetTopLevelWindows();
37566 wxPyEndAllowThreads(__tstate
);
37567 if (PyErr_Occurred()) SWIG_fail
;
37569 resultobj
= result
;
37576 SWIGINTERN PyObject
*_wrap_new_Validator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37577 PyObject
*resultobj
= 0;
37578 wxValidator
*result
= 0 ;
37580 if (!SWIG_Python_UnpackTuple(args
,"new_Validator",0,0,0)) SWIG_fail
;
37582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37583 result
= (wxValidator
*)new wxValidator();
37584 wxPyEndAllowThreads(__tstate
);
37585 if (PyErr_Occurred()) SWIG_fail
;
37587 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxValidator
, SWIG_POINTER_NEW
| 0 );
37594 SWIGINTERN PyObject
*_wrap_Validator_Clone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37595 PyObject
*resultobj
= 0;
37596 wxValidator
*arg1
= (wxValidator
*) 0 ;
37597 wxValidator
*result
= 0 ;
37600 PyObject
*swig_obj
[1] ;
37602 if (!args
) SWIG_fail
;
37603 swig_obj
[0] = args
;
37604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxValidator
, 0 | 0 );
37605 if (!SWIG_IsOK(res1
)) {
37606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Validator_Clone" "', expected argument " "1"" of type '" "wxValidator *""'");
37608 arg1
= reinterpret_cast< wxValidator
* >(argp1
);
37610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37611 result
= (wxValidator
*)(arg1
)->Clone();
37612 wxPyEndAllowThreads(__tstate
);
37613 if (PyErr_Occurred()) SWIG_fail
;
37616 resultobj
= wxPyMake_wxObject(result
, 0);
37624 SWIGINTERN PyObject
*_wrap_Validator_Validate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37625 PyObject
*resultobj
= 0;
37626 wxValidator
*arg1
= (wxValidator
*) 0 ;
37627 wxWindow
*arg2
= (wxWindow
*) 0 ;
37633 PyObject
* obj0
= 0 ;
37634 PyObject
* obj1
= 0 ;
37635 char * kwnames
[] = {
37636 (char *) "self",(char *) "parent", NULL
37639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxValidator
, 0 | 0 );
37641 if (!SWIG_IsOK(res1
)) {
37642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Validator_Validate" "', expected argument " "1"" of type '" "wxValidator *""'");
37644 arg1
= reinterpret_cast< wxValidator
* >(argp1
);
37645 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37646 if (!SWIG_IsOK(res2
)) {
37647 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Validator_Validate" "', expected argument " "2"" of type '" "wxWindow *""'");
37649 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37652 result
= (bool)(arg1
)->Validate(arg2
);
37653 wxPyEndAllowThreads(__tstate
);
37654 if (PyErr_Occurred()) SWIG_fail
;
37657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37665 SWIGINTERN PyObject
*_wrap_Validator_TransferToWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37666 PyObject
*resultobj
= 0;
37667 wxValidator
*arg1
= (wxValidator
*) 0 ;
37671 PyObject
*swig_obj
[1] ;
37673 if (!args
) SWIG_fail
;
37674 swig_obj
[0] = args
;
37675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxValidator
, 0 | 0 );
37676 if (!SWIG_IsOK(res1
)) {
37677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Validator_TransferToWindow" "', expected argument " "1"" of type '" "wxValidator *""'");
37679 arg1
= reinterpret_cast< wxValidator
* >(argp1
);
37681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37682 result
= (bool)(arg1
)->TransferToWindow();
37683 wxPyEndAllowThreads(__tstate
);
37684 if (PyErr_Occurred()) SWIG_fail
;
37687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37695 SWIGINTERN PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37696 PyObject
*resultobj
= 0;
37697 wxValidator
*arg1
= (wxValidator
*) 0 ;
37701 PyObject
*swig_obj
[1] ;
37703 if (!args
) SWIG_fail
;
37704 swig_obj
[0] = args
;
37705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxValidator
, 0 | 0 );
37706 if (!SWIG_IsOK(res1
)) {
37707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Validator_TransferFromWindow" "', expected argument " "1"" of type '" "wxValidator *""'");
37709 arg1
= reinterpret_cast< wxValidator
* >(argp1
);
37711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37712 result
= (bool)(arg1
)->TransferFromWindow();
37713 wxPyEndAllowThreads(__tstate
);
37714 if (PyErr_Occurred()) SWIG_fail
;
37717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37725 SWIGINTERN PyObject
*_wrap_Validator_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37726 PyObject
*resultobj
= 0;
37727 wxValidator
*arg1
= (wxValidator
*) 0 ;
37728 wxWindow
*result
= 0 ;
37731 PyObject
*swig_obj
[1] ;
37733 if (!args
) SWIG_fail
;
37734 swig_obj
[0] = args
;
37735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxValidator
, 0 | 0 );
37736 if (!SWIG_IsOK(res1
)) {
37737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Validator_GetWindow" "', expected argument " "1"" of type '" "wxValidator *""'");
37739 arg1
= reinterpret_cast< wxValidator
* >(argp1
);
37741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37742 result
= (wxWindow
*)(arg1
)->GetWindow();
37743 wxPyEndAllowThreads(__tstate
);
37744 if (PyErr_Occurred()) SWIG_fail
;
37747 resultobj
= wxPyMake_wxObject(result
, 0);
37755 SWIGINTERN PyObject
*_wrap_Validator_SetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37756 PyObject
*resultobj
= 0;
37757 wxValidator
*arg1
= (wxValidator
*) 0 ;
37758 wxWindow
*arg2
= (wxWindow
*) 0 ;
37763 PyObject
* obj0
= 0 ;
37764 PyObject
* obj1
= 0 ;
37765 char * kwnames
[] = {
37766 (char *) "self",(char *) "window", NULL
37769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxValidator
, 0 | 0 );
37771 if (!SWIG_IsOK(res1
)) {
37772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Validator_SetWindow" "', expected argument " "1"" of type '" "wxValidator *""'");
37774 arg1
= reinterpret_cast< wxValidator
* >(argp1
);
37775 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37776 if (!SWIG_IsOK(res2
)) {
37777 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Validator_SetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
37779 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37782 (arg1
)->SetWindow(arg2
);
37783 wxPyEndAllowThreads(__tstate
);
37784 if (PyErr_Occurred()) SWIG_fail
;
37786 resultobj
= SWIG_Py_Void();
37793 SWIGINTERN PyObject
*_wrap_Validator_IsSilent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37794 PyObject
*resultobj
= 0;
37797 if (!SWIG_Python_UnpackTuple(args
,"Validator_IsSilent",0,0,0)) SWIG_fail
;
37799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37800 result
= (bool)wxValidator::IsSilent();
37801 wxPyEndAllowThreads(__tstate
);
37802 if (PyErr_Occurred()) SWIG_fail
;
37805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37813 SWIGINTERN PyObject
*_wrap_Validator_SetBellOnError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37814 PyObject
*resultobj
= 0;
37815 int arg1
= (int) true ;
37818 PyObject
* obj0
= 0 ;
37819 char * kwnames
[] = {
37820 (char *) "doIt", NULL
37823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) SWIG_fail
;
37825 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
37826 if (!SWIG_IsOK(ecode1
)) {
37827 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Validator_SetBellOnError" "', expected argument " "1"" of type '" "int""'");
37829 arg1
= static_cast< int >(val1
);
37832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37833 wxValidator::SetBellOnError(arg1
);
37834 wxPyEndAllowThreads(__tstate
);
37835 if (PyErr_Occurred()) SWIG_fail
;
37837 resultobj
= SWIG_Py_Void();
37844 SWIGINTERN PyObject
*Validator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37846 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37847 SWIG_TypeNewClientData(SWIGTYPE_p_wxValidator
, SWIG_NewClientData(obj
));
37848 return SWIG_Py_Void();
37851 SWIGINTERN PyObject
*Validator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37852 return SWIG_Python_InitShadowInstance(args
);
37855 SWIGINTERN PyObject
*_wrap_new_PyValidator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37856 PyObject
*resultobj
= 0;
37857 wxPyValidator
*result
= 0 ;
37859 if (!SWIG_Python_UnpackTuple(args
,"new_PyValidator",0,0,0)) SWIG_fail
;
37861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37862 result
= (wxPyValidator
*)new wxPyValidator();
37863 wxPyEndAllowThreads(__tstate
);
37864 if (PyErr_Occurred()) SWIG_fail
;
37866 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyValidator
, SWIG_POINTER_NEW
| 0 );
37873 SWIGINTERN PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37874 PyObject
*resultobj
= 0;
37875 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
37876 PyObject
*arg2
= (PyObject
*) 0 ;
37877 PyObject
*arg3
= (PyObject
*) 0 ;
37878 int arg4
= (int) true ;
37883 PyObject
* obj0
= 0 ;
37884 PyObject
* obj1
= 0 ;
37885 PyObject
* obj2
= 0 ;
37886 PyObject
* obj3
= 0 ;
37887 char * kwnames
[] = {
37888 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
37891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyValidator
, 0 | 0 );
37893 if (!SWIG_IsOK(res1
)) {
37894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyValidator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyValidator *""'");
37896 arg1
= reinterpret_cast< wxPyValidator
* >(argp1
);
37900 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37901 if (!SWIG_IsOK(ecode4
)) {
37902 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyValidator__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
37904 arg4
= static_cast< int >(val4
);
37907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37908 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
37909 wxPyEndAllowThreads(__tstate
);
37910 if (PyErr_Occurred()) SWIG_fail
;
37912 resultobj
= SWIG_Py_Void();
37919 SWIGINTERN PyObject
*PyValidator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37921 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37922 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyValidator
, SWIG_NewClientData(obj
));
37923 return SWIG_Py_Void();
37926 SWIGINTERN PyObject
*PyValidator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37927 return SWIG_Python_InitShadowInstance(args
);
37930 SWIGINTERN
int DefaultValidator_set(PyObject
*) {
37931 SWIG_Error(SWIG_AttributeError
,"Variable DefaultValidator is read-only.");
37936 SWIGINTERN PyObject
*DefaultValidator_get(void) {
37937 PyObject
*pyobj
= 0;
37939 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0 );
37944 SWIGINTERN PyObject
*_wrap_new_Menu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37945 PyObject
*resultobj
= 0;
37946 wxString
const &arg1_defvalue
= wxPyEmptyString
;
37947 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
37948 long arg2
= (long) 0 ;
37949 wxMenu
*result
= 0 ;
37950 bool temp1
= false ;
37953 PyObject
* obj0
= 0 ;
37954 PyObject
* obj1
= 0 ;
37955 char * kwnames
[] = {
37956 (char *) "title",(char *) "style", NULL
37959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37962 arg1
= wxString_in_helper(obj0
);
37963 if (arg1
== NULL
) SWIG_fail
;
37968 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
37969 if (!SWIG_IsOK(ecode2
)) {
37970 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Menu" "', expected argument " "2"" of type '" "long""'");
37972 arg2
= static_cast< long >(val2
);
37975 if (!wxPyCheckForApp()) SWIG_fail
;
37976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37977 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
37978 wxPyEndAllowThreads(__tstate
);
37979 if (PyErr_Occurred()) SWIG_fail
;
37981 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMenu
, SWIG_POINTER_NEW
| 0 );
37996 SWIGINTERN PyObject
*_wrap_Menu_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37997 PyObject
*resultobj
= 0;
37998 wxMenu
*arg1
= (wxMenu
*) 0 ;
38000 wxString
*arg3
= 0 ;
38001 wxString
const &arg4_defvalue
= wxPyEmptyString
;
38002 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
38003 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
38004 wxMenuItem
*result
= 0 ;
38009 bool temp3
= false ;
38010 bool temp4
= false ;
38013 PyObject
* obj0
= 0 ;
38014 PyObject
* obj1
= 0 ;
38015 PyObject
* obj2
= 0 ;
38016 PyObject
* obj3
= 0 ;
38017 PyObject
* obj4
= 0 ;
38018 char * kwnames
[] = {
38019 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
38022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38024 if (!SWIG_IsOK(res1
)) {
38025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Append" "', expected argument " "1"" of type '" "wxMenu *""'");
38027 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38028 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38029 if (!SWIG_IsOK(ecode2
)) {
38030 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Append" "', expected argument " "2"" of type '" "int""'");
38032 arg2
= static_cast< int >(val2
);
38034 arg3
= wxString_in_helper(obj2
);
38035 if (arg3
== NULL
) SWIG_fail
;
38040 arg4
= wxString_in_helper(obj3
);
38041 if (arg4
== NULL
) SWIG_fail
;
38046 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38047 if (!SWIG_IsOK(ecode5
)) {
38048 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Menu_Append" "', expected argument " "5"" of type '" "wxItemKind""'");
38050 arg5
= static_cast< wxItemKind
>(val5
);
38053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38054 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
38055 wxPyEndAllowThreads(__tstate
);
38056 if (PyErr_Occurred()) SWIG_fail
;
38059 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38083 SWIGINTERN PyObject
*_wrap_Menu_AppendSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38084 PyObject
*resultobj
= 0;
38085 wxMenu
*arg1
= (wxMenu
*) 0 ;
38086 wxMenuItem
*result
= 0 ;
38089 PyObject
*swig_obj
[1] ;
38091 if (!args
) SWIG_fail
;
38092 swig_obj
[0] = args
;
38093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38094 if (!SWIG_IsOK(res1
)) {
38095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_AppendSeparator" "', expected argument " "1"" of type '" "wxMenu *""'");
38097 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38100 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
38101 wxPyEndAllowThreads(__tstate
);
38102 if (PyErr_Occurred()) SWIG_fail
;
38105 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38113 SWIGINTERN PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38114 PyObject
*resultobj
= 0;
38115 wxMenu
*arg1
= (wxMenu
*) 0 ;
38117 wxString
*arg3
= 0 ;
38118 wxString
const &arg4_defvalue
= wxPyEmptyString
;
38119 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
38120 wxMenuItem
*result
= 0 ;
38125 bool temp3
= false ;
38126 bool temp4
= false ;
38127 PyObject
* obj0
= 0 ;
38128 PyObject
* obj1
= 0 ;
38129 PyObject
* obj2
= 0 ;
38130 PyObject
* obj3
= 0 ;
38131 char * kwnames
[] = {
38132 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
38135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38137 if (!SWIG_IsOK(res1
)) {
38138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_AppendCheckItem" "', expected argument " "1"" of type '" "wxMenu *""'");
38140 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38141 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38142 if (!SWIG_IsOK(ecode2
)) {
38143 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_AppendCheckItem" "', expected argument " "2"" of type '" "int""'");
38145 arg2
= static_cast< int >(val2
);
38147 arg3
= wxString_in_helper(obj2
);
38148 if (arg3
== NULL
) SWIG_fail
;
38153 arg4
= wxString_in_helper(obj3
);
38154 if (arg4
== NULL
) SWIG_fail
;
38159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38160 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
38161 wxPyEndAllowThreads(__tstate
);
38162 if (PyErr_Occurred()) SWIG_fail
;
38165 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38189 SWIGINTERN PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38190 PyObject
*resultobj
= 0;
38191 wxMenu
*arg1
= (wxMenu
*) 0 ;
38193 wxString
*arg3
= 0 ;
38194 wxString
const &arg4_defvalue
= wxPyEmptyString
;
38195 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
38196 wxMenuItem
*result
= 0 ;
38201 bool temp3
= false ;
38202 bool temp4
= false ;
38203 PyObject
* obj0
= 0 ;
38204 PyObject
* obj1
= 0 ;
38205 PyObject
* obj2
= 0 ;
38206 PyObject
* obj3
= 0 ;
38207 char * kwnames
[] = {
38208 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
38211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38213 if (!SWIG_IsOK(res1
)) {
38214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_AppendRadioItem" "', expected argument " "1"" of type '" "wxMenu *""'");
38216 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38217 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38218 if (!SWIG_IsOK(ecode2
)) {
38219 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_AppendRadioItem" "', expected argument " "2"" of type '" "int""'");
38221 arg2
= static_cast< int >(val2
);
38223 arg3
= wxString_in_helper(obj2
);
38224 if (arg3
== NULL
) SWIG_fail
;
38229 arg4
= wxString_in_helper(obj3
);
38230 if (arg4
== NULL
) SWIG_fail
;
38235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38236 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
38237 wxPyEndAllowThreads(__tstate
);
38238 if (PyErr_Occurred()) SWIG_fail
;
38241 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38265 SWIGINTERN PyObject
*_wrap_Menu_AppendMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38266 PyObject
*resultobj
= 0;
38267 wxMenu
*arg1
= (wxMenu
*) 0 ;
38269 wxString
*arg3
= 0 ;
38270 wxMenu
*arg4
= (wxMenu
*) 0 ;
38271 wxString
const &arg5_defvalue
= wxPyEmptyString
;
38272 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
38273 wxMenuItem
*result
= 0 ;
38278 bool temp3
= false ;
38281 bool temp5
= false ;
38282 PyObject
* obj0
= 0 ;
38283 PyObject
* obj1
= 0 ;
38284 PyObject
* obj2
= 0 ;
38285 PyObject
* obj3
= 0 ;
38286 PyObject
* obj4
= 0 ;
38287 char * kwnames
[] = {
38288 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
38291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38293 if (!SWIG_IsOK(res1
)) {
38294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_AppendMenu" "', expected argument " "1"" of type '" "wxMenu *""'");
38296 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38297 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38298 if (!SWIG_IsOK(ecode2
)) {
38299 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_AppendMenu" "', expected argument " "2"" of type '" "int""'");
38301 arg2
= static_cast< int >(val2
);
38303 arg3
= wxString_in_helper(obj2
);
38304 if (arg3
== NULL
) SWIG_fail
;
38307 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38308 if (!SWIG_IsOK(res4
)) {
38309 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Menu_AppendMenu" "', expected argument " "4"" of type '" "wxMenu *""'");
38311 arg4
= reinterpret_cast< wxMenu
* >(argp4
);
38314 arg5
= wxString_in_helper(obj4
);
38315 if (arg5
== NULL
) SWIG_fail
;
38320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38321 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
38322 wxPyEndAllowThreads(__tstate
);
38323 if (PyErr_Occurred()) SWIG_fail
;
38326 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38350 SWIGINTERN PyObject
*_wrap_Menu_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38351 PyObject
*resultobj
= 0;
38352 wxMenu
*arg1
= (wxMenu
*) 0 ;
38353 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
38354 wxMenuItem
*result
= 0 ;
38358 PyObject
* obj0
= 0 ;
38359 PyObject
* obj1
= 0 ;
38360 char * kwnames
[] = {
38361 (char *) "self",(char *) "item", NULL
38364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38366 if (!SWIG_IsOK(res1
)) {
38367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_AppendItem" "', expected argument " "1"" of type '" "wxMenu *""'");
38369 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38370 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_DISOWN
| 0 );
38371 if (!SWIG_IsOK(res2
)) {
38372 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_AppendItem" "', expected argument " "2"" of type '" "wxMenuItem *""'");
38375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38376 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
38377 wxPyEndAllowThreads(__tstate
);
38378 if (PyErr_Occurred()) SWIG_fail
;
38381 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38389 SWIGINTERN PyObject
*_wrap_Menu_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38390 PyObject
*resultobj
= 0;
38391 wxMenu
*arg1
= (wxMenu
*) 0 ;
38393 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
38394 wxMenuItem
*result
= 0 ;
38400 PyObject
* obj0
= 0 ;
38401 PyObject
* obj1
= 0 ;
38402 PyObject
* obj2
= 0 ;
38403 char * kwnames
[] = {
38404 (char *) "self",(char *) "pos",(char *) "item", NULL
38407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38409 if (!SWIG_IsOK(res1
)) {
38410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_InsertItem" "', expected argument " "1"" of type '" "wxMenu *""'");
38412 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38413 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
38414 if (!SWIG_IsOK(ecode2
)) {
38415 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_InsertItem" "', expected argument " "2"" of type '" "size_t""'");
38417 arg2
= static_cast< size_t >(val2
);
38418 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_DISOWN
| 0 );
38419 if (!SWIG_IsOK(res3
)) {
38420 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Menu_InsertItem" "', expected argument " "3"" of type '" "wxMenuItem *""'");
38423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38424 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
38425 wxPyEndAllowThreads(__tstate
);
38426 if (PyErr_Occurred()) SWIG_fail
;
38429 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38437 SWIGINTERN PyObject
*_wrap_Menu_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38438 PyObject
*resultobj
= 0;
38439 wxMenu
*arg1
= (wxMenu
*) 0 ;
38440 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
38441 wxMenuItem
*result
= 0 ;
38445 PyObject
* obj0
= 0 ;
38446 PyObject
* obj1
= 0 ;
38447 char * kwnames
[] = {
38448 (char *) "self",(char *) "item", NULL
38451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38453 if (!SWIG_IsOK(res1
)) {
38454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_PrependItem" "', expected argument " "1"" of type '" "wxMenu *""'");
38456 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38457 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_DISOWN
| 0 );
38458 if (!SWIG_IsOK(res2
)) {
38459 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_PrependItem" "', expected argument " "2"" of type '" "wxMenuItem *""'");
38462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38463 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
38464 wxPyEndAllowThreads(__tstate
);
38465 if (PyErr_Occurred()) SWIG_fail
;
38468 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38476 SWIGINTERN PyObject
*_wrap_Menu_Break(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38477 PyObject
*resultobj
= 0;
38478 wxMenu
*arg1
= (wxMenu
*) 0 ;
38481 PyObject
*swig_obj
[1] ;
38483 if (!args
) SWIG_fail
;
38484 swig_obj
[0] = args
;
38485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38486 if (!SWIG_IsOK(res1
)) {
38487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Break" "', expected argument " "1"" of type '" "wxMenu *""'");
38489 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38493 wxPyEndAllowThreads(__tstate
);
38494 if (PyErr_Occurred()) SWIG_fail
;
38496 resultobj
= SWIG_Py_Void();
38503 SWIGINTERN PyObject
*_wrap_Menu_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38504 PyObject
*resultobj
= 0;
38505 wxMenu
*arg1
= (wxMenu
*) 0 ;
38508 wxString
*arg4
= 0 ;
38509 wxString
const &arg5_defvalue
= wxPyEmptyString
;
38510 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
38511 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
38512 wxMenuItem
*result
= 0 ;
38519 bool temp4
= false ;
38520 bool temp5
= false ;
38523 PyObject
* obj0
= 0 ;
38524 PyObject
* obj1
= 0 ;
38525 PyObject
* obj2
= 0 ;
38526 PyObject
* obj3
= 0 ;
38527 PyObject
* obj4
= 0 ;
38528 PyObject
* obj5
= 0 ;
38529 char * kwnames
[] = {
38530 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
38533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38535 if (!SWIG_IsOK(res1
)) {
38536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Insert" "', expected argument " "1"" of type '" "wxMenu *""'");
38538 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38539 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
38540 if (!SWIG_IsOK(ecode2
)) {
38541 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Insert" "', expected argument " "2"" of type '" "size_t""'");
38543 arg2
= static_cast< size_t >(val2
);
38544 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38545 if (!SWIG_IsOK(ecode3
)) {
38546 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Menu_Insert" "', expected argument " "3"" of type '" "int""'");
38548 arg3
= static_cast< int >(val3
);
38550 arg4
= wxString_in_helper(obj3
);
38551 if (arg4
== NULL
) SWIG_fail
;
38556 arg5
= wxString_in_helper(obj4
);
38557 if (arg5
== NULL
) SWIG_fail
;
38562 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38563 if (!SWIG_IsOK(ecode6
)) {
38564 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Menu_Insert" "', expected argument " "6"" of type '" "wxItemKind""'");
38566 arg6
= static_cast< wxItemKind
>(val6
);
38569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38570 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
);
38571 wxPyEndAllowThreads(__tstate
);
38572 if (PyErr_Occurred()) SWIG_fail
;
38575 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38599 SWIGINTERN PyObject
*_wrap_Menu_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38600 PyObject
*resultobj
= 0;
38601 wxMenu
*arg1
= (wxMenu
*) 0 ;
38603 wxMenuItem
*result
= 0 ;
38608 PyObject
* obj0
= 0 ;
38609 PyObject
* obj1
= 0 ;
38610 char * kwnames
[] = {
38611 (char *) "self",(char *) "pos", NULL
38614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38616 if (!SWIG_IsOK(res1
)) {
38617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_InsertSeparator" "', expected argument " "1"" of type '" "wxMenu *""'");
38619 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38620 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
38621 if (!SWIG_IsOK(ecode2
)) {
38622 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
38624 arg2
= static_cast< size_t >(val2
);
38626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38627 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
38628 wxPyEndAllowThreads(__tstate
);
38629 if (PyErr_Occurred()) SWIG_fail
;
38632 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38640 SWIGINTERN PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38641 PyObject
*resultobj
= 0;
38642 wxMenu
*arg1
= (wxMenu
*) 0 ;
38645 wxString
*arg4
= 0 ;
38646 wxString
const &arg5_defvalue
= wxPyEmptyString
;
38647 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
38648 wxMenuItem
*result
= 0 ;
38655 bool temp4
= false ;
38656 bool temp5
= false ;
38657 PyObject
* obj0
= 0 ;
38658 PyObject
* obj1
= 0 ;
38659 PyObject
* obj2
= 0 ;
38660 PyObject
* obj3
= 0 ;
38661 PyObject
* obj4
= 0 ;
38662 char * kwnames
[] = {
38663 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
38666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38668 if (!SWIG_IsOK(res1
)) {
38669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_InsertCheckItem" "', expected argument " "1"" of type '" "wxMenu *""'");
38671 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38672 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
38673 if (!SWIG_IsOK(ecode2
)) {
38674 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_InsertCheckItem" "', expected argument " "2"" of type '" "size_t""'");
38676 arg2
= static_cast< size_t >(val2
);
38677 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38678 if (!SWIG_IsOK(ecode3
)) {
38679 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Menu_InsertCheckItem" "', expected argument " "3"" of type '" "int""'");
38681 arg3
= static_cast< int >(val3
);
38683 arg4
= wxString_in_helper(obj3
);
38684 if (arg4
== NULL
) SWIG_fail
;
38689 arg5
= wxString_in_helper(obj4
);
38690 if (arg5
== NULL
) SWIG_fail
;
38695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38696 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
38697 wxPyEndAllowThreads(__tstate
);
38698 if (PyErr_Occurred()) SWIG_fail
;
38701 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38725 SWIGINTERN PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38726 PyObject
*resultobj
= 0;
38727 wxMenu
*arg1
= (wxMenu
*) 0 ;
38730 wxString
*arg4
= 0 ;
38731 wxString
const &arg5_defvalue
= wxPyEmptyString
;
38732 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
38733 wxMenuItem
*result
= 0 ;
38740 bool temp4
= false ;
38741 bool temp5
= false ;
38742 PyObject
* obj0
= 0 ;
38743 PyObject
* obj1
= 0 ;
38744 PyObject
* obj2
= 0 ;
38745 PyObject
* obj3
= 0 ;
38746 PyObject
* obj4
= 0 ;
38747 char * kwnames
[] = {
38748 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
38751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38753 if (!SWIG_IsOK(res1
)) {
38754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_InsertRadioItem" "', expected argument " "1"" of type '" "wxMenu *""'");
38756 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38757 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
38758 if (!SWIG_IsOK(ecode2
)) {
38759 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_InsertRadioItem" "', expected argument " "2"" of type '" "size_t""'");
38761 arg2
= static_cast< size_t >(val2
);
38762 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38763 if (!SWIG_IsOK(ecode3
)) {
38764 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Menu_InsertRadioItem" "', expected argument " "3"" of type '" "int""'");
38766 arg3
= static_cast< int >(val3
);
38768 arg4
= wxString_in_helper(obj3
);
38769 if (arg4
== NULL
) SWIG_fail
;
38774 arg5
= wxString_in_helper(obj4
);
38775 if (arg5
== NULL
) SWIG_fail
;
38780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38781 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
38782 wxPyEndAllowThreads(__tstate
);
38783 if (PyErr_Occurred()) SWIG_fail
;
38786 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38810 SWIGINTERN PyObject
*_wrap_Menu_InsertMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38811 PyObject
*resultobj
= 0;
38812 wxMenu
*arg1
= (wxMenu
*) 0 ;
38815 wxString
*arg4
= 0 ;
38816 wxMenu
*arg5
= (wxMenu
*) 0 ;
38817 wxString
const &arg6_defvalue
= wxPyEmptyString
;
38818 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
38819 wxMenuItem
*result
= 0 ;
38826 bool temp4
= false ;
38829 bool temp6
= false ;
38830 PyObject
* obj0
= 0 ;
38831 PyObject
* obj1
= 0 ;
38832 PyObject
* obj2
= 0 ;
38833 PyObject
* obj3
= 0 ;
38834 PyObject
* obj4
= 0 ;
38835 PyObject
* obj5
= 0 ;
38836 char * kwnames
[] = {
38837 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
38840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38842 if (!SWIG_IsOK(res1
)) {
38843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_InsertMenu" "', expected argument " "1"" of type '" "wxMenu *""'");
38845 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38846 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
38847 if (!SWIG_IsOK(ecode2
)) {
38848 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_InsertMenu" "', expected argument " "2"" of type '" "size_t""'");
38850 arg2
= static_cast< size_t >(val2
);
38851 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38852 if (!SWIG_IsOK(ecode3
)) {
38853 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Menu_InsertMenu" "', expected argument " "3"" of type '" "int""'");
38855 arg3
= static_cast< int >(val3
);
38857 arg4
= wxString_in_helper(obj3
);
38858 if (arg4
== NULL
) SWIG_fail
;
38861 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38862 if (!SWIG_IsOK(res5
)) {
38863 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "Menu_InsertMenu" "', expected argument " "5"" of type '" "wxMenu *""'");
38865 arg5
= reinterpret_cast< wxMenu
* >(argp5
);
38868 arg6
= wxString_in_helper(obj5
);
38869 if (arg6
== NULL
) SWIG_fail
;
38874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38875 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
38876 wxPyEndAllowThreads(__tstate
);
38877 if (PyErr_Occurred()) SWIG_fail
;
38880 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38904 SWIGINTERN PyObject
*_wrap_Menu_Prepend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38905 PyObject
*resultobj
= 0;
38906 wxMenu
*arg1
= (wxMenu
*) 0 ;
38908 wxString
*arg3
= 0 ;
38909 wxString
const &arg4_defvalue
= wxPyEmptyString
;
38910 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
38911 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
38912 wxMenuItem
*result
= 0 ;
38917 bool temp3
= false ;
38918 bool temp4
= false ;
38921 PyObject
* obj0
= 0 ;
38922 PyObject
* obj1
= 0 ;
38923 PyObject
* obj2
= 0 ;
38924 PyObject
* obj3
= 0 ;
38925 PyObject
* obj4
= 0 ;
38926 char * kwnames
[] = {
38927 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
38930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) 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_Prepend" "', expected argument " "1"" of type '" "wxMenu *""'");
38935 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38936 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38937 if (!SWIG_IsOK(ecode2
)) {
38938 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Prepend" "', expected argument " "2"" of type '" "int""'");
38940 arg2
= static_cast< int >(val2
);
38942 arg3
= wxString_in_helper(obj2
);
38943 if (arg3
== NULL
) SWIG_fail
;
38948 arg4
= wxString_in_helper(obj3
);
38949 if (arg4
== NULL
) SWIG_fail
;
38954 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38955 if (!SWIG_IsOK(ecode5
)) {
38956 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Menu_Prepend" "', expected argument " "5"" of type '" "wxItemKind""'");
38958 arg5
= static_cast< wxItemKind
>(val5
);
38961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38962 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
38963 wxPyEndAllowThreads(__tstate
);
38964 if (PyErr_Occurred()) SWIG_fail
;
38967 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38991 SWIGINTERN PyObject
*_wrap_Menu_PrependSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38992 PyObject
*resultobj
= 0;
38993 wxMenu
*arg1
= (wxMenu
*) 0 ;
38994 wxMenuItem
*result
= 0 ;
38997 PyObject
*swig_obj
[1] ;
38999 if (!args
) SWIG_fail
;
39000 swig_obj
[0] = args
;
39001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39002 if (!SWIG_IsOK(res1
)) {
39003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_PrependSeparator" "', expected argument " "1"" of type '" "wxMenu *""'");
39005 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39008 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
39009 wxPyEndAllowThreads(__tstate
);
39010 if (PyErr_Occurred()) SWIG_fail
;
39013 resultobj
= wxPyMake_wxObject(result
, (bool)0);
39021 SWIGINTERN PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39022 PyObject
*resultobj
= 0;
39023 wxMenu
*arg1
= (wxMenu
*) 0 ;
39025 wxString
*arg3
= 0 ;
39026 wxString
const &arg4_defvalue
= wxPyEmptyString
;
39027 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
39028 wxMenuItem
*result
= 0 ;
39033 bool temp3
= false ;
39034 bool temp4
= false ;
39035 PyObject
* obj0
= 0 ;
39036 PyObject
* obj1
= 0 ;
39037 PyObject
* obj2
= 0 ;
39038 PyObject
* obj3
= 0 ;
39039 char * kwnames
[] = {
39040 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
39043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39045 if (!SWIG_IsOK(res1
)) {
39046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_PrependCheckItem" "', expected argument " "1"" of type '" "wxMenu *""'");
39048 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39049 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39050 if (!SWIG_IsOK(ecode2
)) {
39051 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_PrependCheckItem" "', expected argument " "2"" of type '" "int""'");
39053 arg2
= static_cast< int >(val2
);
39055 arg3
= wxString_in_helper(obj2
);
39056 if (arg3
== NULL
) SWIG_fail
;
39061 arg4
= wxString_in_helper(obj3
);
39062 if (arg4
== NULL
) SWIG_fail
;
39067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39068 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
39069 wxPyEndAllowThreads(__tstate
);
39070 if (PyErr_Occurred()) SWIG_fail
;
39073 resultobj
= wxPyMake_wxObject(result
, (bool)0);
39097 SWIGINTERN PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39098 PyObject
*resultobj
= 0;
39099 wxMenu
*arg1
= (wxMenu
*) 0 ;
39101 wxString
*arg3
= 0 ;
39102 wxString
const &arg4_defvalue
= wxPyEmptyString
;
39103 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
39104 wxMenuItem
*result
= 0 ;
39109 bool temp3
= false ;
39110 bool temp4
= false ;
39111 PyObject
* obj0
= 0 ;
39112 PyObject
* obj1
= 0 ;
39113 PyObject
* obj2
= 0 ;
39114 PyObject
* obj3
= 0 ;
39115 char * kwnames
[] = {
39116 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
39119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39121 if (!SWIG_IsOK(res1
)) {
39122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_PrependRadioItem" "', expected argument " "1"" of type '" "wxMenu *""'");
39124 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39125 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39126 if (!SWIG_IsOK(ecode2
)) {
39127 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_PrependRadioItem" "', expected argument " "2"" of type '" "int""'");
39129 arg2
= static_cast< int >(val2
);
39131 arg3
= wxString_in_helper(obj2
);
39132 if (arg3
== NULL
) SWIG_fail
;
39137 arg4
= wxString_in_helper(obj3
);
39138 if (arg4
== NULL
) SWIG_fail
;
39143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39144 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
39145 wxPyEndAllowThreads(__tstate
);
39146 if (PyErr_Occurred()) SWIG_fail
;
39149 resultobj
= wxPyMake_wxObject(result
, (bool)0);
39173 SWIGINTERN PyObject
*_wrap_Menu_PrependMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39174 PyObject
*resultobj
= 0;
39175 wxMenu
*arg1
= (wxMenu
*) 0 ;
39177 wxString
*arg3
= 0 ;
39178 wxMenu
*arg4
= (wxMenu
*) 0 ;
39179 wxString
const &arg5_defvalue
= wxPyEmptyString
;
39180 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
39181 wxMenuItem
*result
= 0 ;
39186 bool temp3
= false ;
39189 bool temp5
= false ;
39190 PyObject
* obj0
= 0 ;
39191 PyObject
* obj1
= 0 ;
39192 PyObject
* obj2
= 0 ;
39193 PyObject
* obj3
= 0 ;
39194 PyObject
* obj4
= 0 ;
39195 char * kwnames
[] = {
39196 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
39199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39201 if (!SWIG_IsOK(res1
)) {
39202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_PrependMenu" "', expected argument " "1"" of type '" "wxMenu *""'");
39204 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39205 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39206 if (!SWIG_IsOK(ecode2
)) {
39207 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_PrependMenu" "', expected argument " "2"" of type '" "int""'");
39209 arg2
= static_cast< int >(val2
);
39211 arg3
= wxString_in_helper(obj2
);
39212 if (arg3
== NULL
) SWIG_fail
;
39215 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39216 if (!SWIG_IsOK(res4
)) {
39217 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Menu_PrependMenu" "', expected argument " "4"" of type '" "wxMenu *""'");
39219 arg4
= reinterpret_cast< wxMenu
* >(argp4
);
39222 arg5
= wxString_in_helper(obj4
);
39223 if (arg5
== NULL
) SWIG_fail
;
39228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39229 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
39230 wxPyEndAllowThreads(__tstate
);
39231 if (PyErr_Occurred()) SWIG_fail
;
39234 resultobj
= wxPyMake_wxObject(result
, (bool)0);
39258 SWIGINTERN PyObject
*_wrap_Menu_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39259 PyObject
*resultobj
= 0;
39260 wxMenu
*arg1
= (wxMenu
*) 0 ;
39262 wxMenuItem
*result
= 0 ;
39267 PyObject
* obj0
= 0 ;
39268 PyObject
* obj1
= 0 ;
39269 char * kwnames
[] = {
39270 (char *) "self",(char *) "id", NULL
39273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39275 if (!SWIG_IsOK(res1
)) {
39276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Remove" "', expected argument " "1"" of type '" "wxMenu *""'");
39278 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39279 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39280 if (!SWIG_IsOK(ecode2
)) {
39281 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Remove" "', expected argument " "2"" of type '" "int""'");
39283 arg2
= static_cast< int >(val2
);
39285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39286 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
39287 wxPyEndAllowThreads(__tstate
);
39288 if (PyErr_Occurred()) SWIG_fail
;
39291 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
39299 SWIGINTERN PyObject
*_wrap_Menu_RemoveItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39300 PyObject
*resultobj
= 0;
39301 wxMenu
*arg1
= (wxMenu
*) 0 ;
39302 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
39303 wxMenuItem
*result
= 0 ;
39308 PyObject
* obj0
= 0 ;
39309 PyObject
* obj1
= 0 ;
39310 char * kwnames
[] = {
39311 (char *) "self",(char *) "item", NULL
39314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39316 if (!SWIG_IsOK(res1
)) {
39317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_RemoveItem" "', expected argument " "1"" of type '" "wxMenu *""'");
39319 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39320 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
39321 if (!SWIG_IsOK(res2
)) {
39322 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_RemoveItem" "', expected argument " "2"" of type '" "wxMenuItem *""'");
39324 arg2
= reinterpret_cast< wxMenuItem
* >(argp2
);
39326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39327 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
39328 wxPyEndAllowThreads(__tstate
);
39329 if (PyErr_Occurred()) SWIG_fail
;
39332 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
39340 SWIGINTERN PyObject
*_wrap_Menu_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39341 PyObject
*resultobj
= 0;
39342 wxMenu
*arg1
= (wxMenu
*) 0 ;
39349 PyObject
* obj0
= 0 ;
39350 PyObject
* obj1
= 0 ;
39351 char * kwnames
[] = {
39352 (char *) "self",(char *) "id", NULL
39355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39357 if (!SWIG_IsOK(res1
)) {
39358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Delete" "', expected argument " "1"" of type '" "wxMenu *""'");
39360 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39361 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39362 if (!SWIG_IsOK(ecode2
)) {
39363 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Delete" "', expected argument " "2"" of type '" "int""'");
39365 arg2
= static_cast< int >(val2
);
39367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39368 result
= (bool)(arg1
)->Delete(arg2
);
39369 wxPyEndAllowThreads(__tstate
);
39370 if (PyErr_Occurred()) SWIG_fail
;
39373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39381 SWIGINTERN PyObject
*_wrap_Menu_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39382 PyObject
*resultobj
= 0;
39383 wxMenu
*arg1
= (wxMenu
*) 0 ;
39384 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
39390 PyObject
* obj0
= 0 ;
39391 PyObject
* obj1
= 0 ;
39392 char * kwnames
[] = {
39393 (char *) "self",(char *) "item", NULL
39396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39398 if (!SWIG_IsOK(res1
)) {
39399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_DeleteItem" "', expected argument " "1"" of type '" "wxMenu *""'");
39401 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39402 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
39403 if (!SWIG_IsOK(res2
)) {
39404 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_DeleteItem" "', expected argument " "2"" of type '" "wxMenuItem *""'");
39406 arg2
= reinterpret_cast< wxMenuItem
* >(argp2
);
39408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39409 result
= (bool)(arg1
)->Delete(arg2
);
39410 wxPyEndAllowThreads(__tstate
);
39411 if (PyErr_Occurred()) SWIG_fail
;
39414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39422 SWIGINTERN PyObject
*_wrap_Menu_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39423 PyObject
*resultobj
= 0;
39424 wxMenu
*arg1
= (wxMenu
*) 0 ;
39427 PyObject
*swig_obj
[1] ;
39429 if (!args
) SWIG_fail
;
39430 swig_obj
[0] = args
;
39431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39432 if (!SWIG_IsOK(res1
)) {
39433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Destroy" "', expected argument " "1"" of type '" "wxMenu *""'");
39435 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39438 wxMenu_Destroy(arg1
);
39439 wxPyEndAllowThreads(__tstate
);
39440 if (PyErr_Occurred()) SWIG_fail
;
39442 resultobj
= SWIG_Py_Void();
39449 SWIGINTERN PyObject
*_wrap_Menu_DestroyId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39450 PyObject
*resultobj
= 0;
39451 wxMenu
*arg1
= (wxMenu
*) 0 ;
39458 PyObject
* obj0
= 0 ;
39459 PyObject
* obj1
= 0 ;
39460 char * kwnames
[] = {
39461 (char *) "self",(char *) "id", NULL
39464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39466 if (!SWIG_IsOK(res1
)) {
39467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_DestroyId" "', expected argument " "1"" of type '" "wxMenu *""'");
39469 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39470 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39471 if (!SWIG_IsOK(ecode2
)) {
39472 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_DestroyId" "', expected argument " "2"" of type '" "int""'");
39474 arg2
= static_cast< int >(val2
);
39476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39477 result
= (bool)(arg1
)->Destroy(arg2
);
39478 wxPyEndAllowThreads(__tstate
);
39479 if (PyErr_Occurred()) SWIG_fail
;
39482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39490 SWIGINTERN PyObject
*_wrap_Menu_DestroyItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39491 PyObject
*resultobj
= 0;
39492 wxMenu
*arg1
= (wxMenu
*) 0 ;
39493 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
39499 PyObject
* obj0
= 0 ;
39500 PyObject
* obj1
= 0 ;
39501 char * kwnames
[] = {
39502 (char *) "self",(char *) "item", NULL
39505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39507 if (!SWIG_IsOK(res1
)) {
39508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_DestroyItem" "', expected argument " "1"" of type '" "wxMenu *""'");
39510 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39511 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
39512 if (!SWIG_IsOK(res2
)) {
39513 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_DestroyItem" "', expected argument " "2"" of type '" "wxMenuItem *""'");
39515 arg2
= reinterpret_cast< wxMenuItem
* >(argp2
);
39517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39518 result
= (bool)(arg1
)->Destroy(arg2
);
39519 wxPyEndAllowThreads(__tstate
);
39520 if (PyErr_Occurred()) SWIG_fail
;
39523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39531 SWIGINTERN PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39532 PyObject
*resultobj
= 0;
39533 wxMenu
*arg1
= (wxMenu
*) 0 ;
39537 PyObject
*swig_obj
[1] ;
39539 if (!args
) SWIG_fail
;
39540 swig_obj
[0] = args
;
39541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39542 if (!SWIG_IsOK(res1
)) {
39543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetMenuItemCount" "', expected argument " "1"" of type '" "wxMenu const *""'");
39545 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39548 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
39549 wxPyEndAllowThreads(__tstate
);
39550 if (PyErr_Occurred()) SWIG_fail
;
39552 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
39559 SWIGINTERN PyObject
*_wrap_Menu_GetMenuItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39560 PyObject
*resultobj
= 0;
39561 wxMenu
*arg1
= (wxMenu
*) 0 ;
39562 PyObject
*result
= 0 ;
39565 PyObject
*swig_obj
[1] ;
39567 if (!args
) SWIG_fail
;
39568 swig_obj
[0] = args
;
39569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39570 if (!SWIG_IsOK(res1
)) {
39571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetMenuItems" "', expected argument " "1"" of type '" "wxMenu *""'");
39573 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39576 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
39577 wxPyEndAllowThreads(__tstate
);
39578 if (PyErr_Occurred()) SWIG_fail
;
39580 resultobj
= result
;
39587 SWIGINTERN PyObject
*_wrap_Menu_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39588 PyObject
*resultobj
= 0;
39589 wxMenu
*arg1
= (wxMenu
*) 0 ;
39590 wxString
*arg2
= 0 ;
39594 bool temp2
= false ;
39595 PyObject
* obj0
= 0 ;
39596 PyObject
* obj1
= 0 ;
39597 char * kwnames
[] = {
39598 (char *) "self",(char *) "item", NULL
39601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39603 if (!SWIG_IsOK(res1
)) {
39604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_FindItem" "', expected argument " "1"" of type '" "wxMenu const *""'");
39606 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39608 arg2
= wxString_in_helper(obj1
);
39609 if (arg2
== NULL
) SWIG_fail
;
39613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39614 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
39615 wxPyEndAllowThreads(__tstate
);
39616 if (PyErr_Occurred()) SWIG_fail
;
39618 resultobj
= SWIG_From_int(static_cast< int >(result
));
39633 SWIGINTERN PyObject
*_wrap_Menu_FindItemById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39634 PyObject
*resultobj
= 0;
39635 wxMenu
*arg1
= (wxMenu
*) 0 ;
39637 wxMenuItem
*result
= 0 ;
39642 PyObject
* obj0
= 0 ;
39643 PyObject
* obj1
= 0 ;
39644 char * kwnames
[] = {
39645 (char *) "self",(char *) "id", NULL
39648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39650 if (!SWIG_IsOK(res1
)) {
39651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_FindItemById" "', expected argument " "1"" of type '" "wxMenu const *""'");
39653 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39654 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39655 if (!SWIG_IsOK(ecode2
)) {
39656 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_FindItemById" "', expected argument " "2"" of type '" "int""'");
39658 arg2
= static_cast< int >(val2
);
39660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39661 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
39662 wxPyEndAllowThreads(__tstate
);
39663 if (PyErr_Occurred()) SWIG_fail
;
39666 resultobj
= wxPyMake_wxObject(result
, (bool)0);
39674 SWIGINTERN PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39675 PyObject
*resultobj
= 0;
39676 wxMenu
*arg1
= (wxMenu
*) 0 ;
39678 wxMenuItem
*result
= 0 ;
39683 PyObject
* obj0
= 0 ;
39684 PyObject
* obj1
= 0 ;
39685 char * kwnames
[] = {
39686 (char *) "self",(char *) "position", NULL
39689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39691 if (!SWIG_IsOK(res1
)) {
39692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_FindItemByPosition" "', expected argument " "1"" of type '" "wxMenu const *""'");
39694 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39695 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
39696 if (!SWIG_IsOK(ecode2
)) {
39697 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_FindItemByPosition" "', expected argument " "2"" of type '" "size_t""'");
39699 arg2
= static_cast< size_t >(val2
);
39701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39702 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
39703 wxPyEndAllowThreads(__tstate
);
39704 if (PyErr_Occurred()) SWIG_fail
;
39707 resultobj
= wxPyMake_wxObject(result
, (bool)0);
39715 SWIGINTERN PyObject
*_wrap_Menu_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39716 PyObject
*resultobj
= 0;
39717 wxMenu
*arg1
= (wxMenu
*) 0 ;
39726 PyObject
* obj0
= 0 ;
39727 PyObject
* obj1
= 0 ;
39728 PyObject
* obj2
= 0 ;
39729 char * kwnames
[] = {
39730 (char *) "self",(char *) "id",(char *) "enable", NULL
39733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39735 if (!SWIG_IsOK(res1
)) {
39736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Enable" "', expected argument " "1"" of type '" "wxMenu *""'");
39738 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39739 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39740 if (!SWIG_IsOK(ecode2
)) {
39741 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Enable" "', expected argument " "2"" of type '" "int""'");
39743 arg2
= static_cast< int >(val2
);
39744 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
39745 if (!SWIG_IsOK(ecode3
)) {
39746 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Menu_Enable" "', expected argument " "3"" of type '" "bool""'");
39748 arg3
= static_cast< bool >(val3
);
39750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39751 (arg1
)->Enable(arg2
,arg3
);
39752 wxPyEndAllowThreads(__tstate
);
39753 if (PyErr_Occurred()) SWIG_fail
;
39755 resultobj
= SWIG_Py_Void();
39762 SWIGINTERN PyObject
*_wrap_Menu_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39763 PyObject
*resultobj
= 0;
39764 wxMenu
*arg1
= (wxMenu
*) 0 ;
39771 PyObject
* obj0
= 0 ;
39772 PyObject
* obj1
= 0 ;
39773 char * kwnames
[] = {
39774 (char *) "self",(char *) "id", NULL
39777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39779 if (!SWIG_IsOK(res1
)) {
39780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_IsEnabled" "', expected argument " "1"" of type '" "wxMenu const *""'");
39782 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39783 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39784 if (!SWIG_IsOK(ecode2
)) {
39785 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_IsEnabled" "', expected argument " "2"" of type '" "int""'");
39787 arg2
= static_cast< int >(val2
);
39789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39790 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
39791 wxPyEndAllowThreads(__tstate
);
39792 if (PyErr_Occurred()) SWIG_fail
;
39795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39803 SWIGINTERN PyObject
*_wrap_Menu_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39804 PyObject
*resultobj
= 0;
39805 wxMenu
*arg1
= (wxMenu
*) 0 ;
39814 PyObject
* obj0
= 0 ;
39815 PyObject
* obj1
= 0 ;
39816 PyObject
* obj2
= 0 ;
39817 char * kwnames
[] = {
39818 (char *) "self",(char *) "id",(char *) "check", NULL
39821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39823 if (!SWIG_IsOK(res1
)) {
39824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Check" "', expected argument " "1"" of type '" "wxMenu *""'");
39826 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39827 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39828 if (!SWIG_IsOK(ecode2
)) {
39829 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Check" "', expected argument " "2"" of type '" "int""'");
39831 arg2
= static_cast< int >(val2
);
39832 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
39833 if (!SWIG_IsOK(ecode3
)) {
39834 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Menu_Check" "', expected argument " "3"" of type '" "bool""'");
39836 arg3
= static_cast< bool >(val3
);
39838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39839 (arg1
)->Check(arg2
,arg3
);
39840 wxPyEndAllowThreads(__tstate
);
39841 if (PyErr_Occurred()) SWIG_fail
;
39843 resultobj
= SWIG_Py_Void();
39850 SWIGINTERN PyObject
*_wrap_Menu_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39851 PyObject
*resultobj
= 0;
39852 wxMenu
*arg1
= (wxMenu
*) 0 ;
39859 PyObject
* obj0
= 0 ;
39860 PyObject
* obj1
= 0 ;
39861 char * kwnames
[] = {
39862 (char *) "self",(char *) "id", NULL
39865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39867 if (!SWIG_IsOK(res1
)) {
39868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_IsChecked" "', expected argument " "1"" of type '" "wxMenu const *""'");
39870 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39871 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39872 if (!SWIG_IsOK(ecode2
)) {
39873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_IsChecked" "', expected argument " "2"" of type '" "int""'");
39875 arg2
= static_cast< int >(val2
);
39877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39878 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
39879 wxPyEndAllowThreads(__tstate
);
39880 if (PyErr_Occurred()) SWIG_fail
;
39883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39891 SWIGINTERN PyObject
*_wrap_Menu_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39892 PyObject
*resultobj
= 0;
39893 wxMenu
*arg1
= (wxMenu
*) 0 ;
39895 wxString
*arg3
= 0 ;
39900 bool temp3
= false ;
39901 PyObject
* obj0
= 0 ;
39902 PyObject
* obj1
= 0 ;
39903 PyObject
* obj2
= 0 ;
39904 char * kwnames
[] = {
39905 (char *) "self",(char *) "id",(char *) "label", NULL
39908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39910 if (!SWIG_IsOK(res1
)) {
39911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_SetLabel" "', expected argument " "1"" of type '" "wxMenu *""'");
39913 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39914 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39915 if (!SWIG_IsOK(ecode2
)) {
39916 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_SetLabel" "', expected argument " "2"" of type '" "int""'");
39918 arg2
= static_cast< int >(val2
);
39920 arg3
= wxString_in_helper(obj2
);
39921 if (arg3
== NULL
) SWIG_fail
;
39925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39926 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
39927 wxPyEndAllowThreads(__tstate
);
39928 if (PyErr_Occurred()) SWIG_fail
;
39930 resultobj
= SWIG_Py_Void();
39945 SWIGINTERN PyObject
*_wrap_Menu_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39946 PyObject
*resultobj
= 0;
39947 wxMenu
*arg1
= (wxMenu
*) 0 ;
39954 PyObject
* obj0
= 0 ;
39955 PyObject
* obj1
= 0 ;
39956 char * kwnames
[] = {
39957 (char *) "self",(char *) "id", NULL
39960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39962 if (!SWIG_IsOK(res1
)) {
39963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetLabel" "', expected argument " "1"" of type '" "wxMenu const *""'");
39965 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39966 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39967 if (!SWIG_IsOK(ecode2
)) {
39968 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_GetLabel" "', expected argument " "2"" of type '" "int""'");
39970 arg2
= static_cast< int >(val2
);
39972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39973 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
39974 wxPyEndAllowThreads(__tstate
);
39975 if (PyErr_Occurred()) SWIG_fail
;
39979 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
39981 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
39990 SWIGINTERN PyObject
*_wrap_Menu_SetHelpString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39991 PyObject
*resultobj
= 0;
39992 wxMenu
*arg1
= (wxMenu
*) 0 ;
39994 wxString
*arg3
= 0 ;
39999 bool temp3
= false ;
40000 PyObject
* obj0
= 0 ;
40001 PyObject
* obj1
= 0 ;
40002 PyObject
* obj2
= 0 ;
40003 char * kwnames
[] = {
40004 (char *) "self",(char *) "id",(char *) "helpString", NULL
40007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40009 if (!SWIG_IsOK(res1
)) {
40010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_SetHelpString" "', expected argument " "1"" of type '" "wxMenu *""'");
40012 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40013 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40014 if (!SWIG_IsOK(ecode2
)) {
40015 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_SetHelpString" "', expected argument " "2"" of type '" "int""'");
40017 arg2
= static_cast< int >(val2
);
40019 arg3
= wxString_in_helper(obj2
);
40020 if (arg3
== NULL
) SWIG_fail
;
40024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40025 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
40026 wxPyEndAllowThreads(__tstate
);
40027 if (PyErr_Occurred()) SWIG_fail
;
40029 resultobj
= SWIG_Py_Void();
40044 SWIGINTERN PyObject
*_wrap_Menu_GetHelpString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40045 PyObject
*resultobj
= 0;
40046 wxMenu
*arg1
= (wxMenu
*) 0 ;
40053 PyObject
* obj0
= 0 ;
40054 PyObject
* obj1
= 0 ;
40055 char * kwnames
[] = {
40056 (char *) "self",(char *) "id", NULL
40059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40061 if (!SWIG_IsOK(res1
)) {
40062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetHelpString" "', expected argument " "1"" of type '" "wxMenu const *""'");
40064 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40065 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40066 if (!SWIG_IsOK(ecode2
)) {
40067 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_GetHelpString" "', expected argument " "2"" of type '" "int""'");
40069 arg2
= static_cast< int >(val2
);
40071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40072 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
40073 wxPyEndAllowThreads(__tstate
);
40074 if (PyErr_Occurred()) SWIG_fail
;
40078 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
40080 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
40089 SWIGINTERN PyObject
*_wrap_Menu_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40090 PyObject
*resultobj
= 0;
40091 wxMenu
*arg1
= (wxMenu
*) 0 ;
40092 wxString
*arg2
= 0 ;
40095 bool temp2
= false ;
40096 PyObject
* obj0
= 0 ;
40097 PyObject
* obj1
= 0 ;
40098 char * kwnames
[] = {
40099 (char *) "self",(char *) "title", NULL
40102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40104 if (!SWIG_IsOK(res1
)) {
40105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_SetTitle" "', expected argument " "1"" of type '" "wxMenu *""'");
40107 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40109 arg2
= wxString_in_helper(obj1
);
40110 if (arg2
== NULL
) SWIG_fail
;
40114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40115 (arg1
)->SetTitle((wxString
const &)*arg2
);
40116 wxPyEndAllowThreads(__tstate
);
40117 if (PyErr_Occurred()) SWIG_fail
;
40119 resultobj
= SWIG_Py_Void();
40134 SWIGINTERN PyObject
*_wrap_Menu_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40135 PyObject
*resultobj
= 0;
40136 wxMenu
*arg1
= (wxMenu
*) 0 ;
40140 PyObject
*swig_obj
[1] ;
40142 if (!args
) SWIG_fail
;
40143 swig_obj
[0] = args
;
40144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40145 if (!SWIG_IsOK(res1
)) {
40146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetTitle" "', expected argument " "1"" of type '" "wxMenu const *""'");
40148 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40151 result
= ((wxMenu
const *)arg1
)->GetTitle();
40152 wxPyEndAllowThreads(__tstate
);
40153 if (PyErr_Occurred()) SWIG_fail
;
40157 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
40159 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
40168 SWIGINTERN PyObject
*_wrap_Menu_SetEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40169 PyObject
*resultobj
= 0;
40170 wxMenu
*arg1
= (wxMenu
*) 0 ;
40171 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
40176 PyObject
* obj0
= 0 ;
40177 PyObject
* obj1
= 0 ;
40178 char * kwnames
[] = {
40179 (char *) "self",(char *) "handler", NULL
40182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40184 if (!SWIG_IsOK(res1
)) {
40185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_SetEventHandler" "', expected argument " "1"" of type '" "wxMenu *""'");
40187 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40188 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
40189 if (!SWIG_IsOK(res2
)) {
40190 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_SetEventHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
40192 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
40194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40195 (arg1
)->SetEventHandler(arg2
);
40196 wxPyEndAllowThreads(__tstate
);
40197 if (PyErr_Occurred()) SWIG_fail
;
40199 resultobj
= SWIG_Py_Void();
40206 SWIGINTERN PyObject
*_wrap_Menu_GetEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40207 PyObject
*resultobj
= 0;
40208 wxMenu
*arg1
= (wxMenu
*) 0 ;
40209 wxEvtHandler
*result
= 0 ;
40212 PyObject
*swig_obj
[1] ;
40214 if (!args
) SWIG_fail
;
40215 swig_obj
[0] = args
;
40216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40217 if (!SWIG_IsOK(res1
)) {
40218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetEventHandler" "', expected argument " "1"" of type '" "wxMenu const *""'");
40220 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40223 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
40224 wxPyEndAllowThreads(__tstate
);
40225 if (PyErr_Occurred()) SWIG_fail
;
40228 resultobj
= wxPyMake_wxObject(result
, 0);
40236 SWIGINTERN PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40237 PyObject
*resultobj
= 0;
40238 wxMenu
*arg1
= (wxMenu
*) 0 ;
40239 wxWindow
*arg2
= (wxWindow
*) 0 ;
40244 PyObject
* obj0
= 0 ;
40245 PyObject
* obj1
= 0 ;
40246 char * kwnames
[] = {
40247 (char *) "self",(char *) "win", NULL
40250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40252 if (!SWIG_IsOK(res1
)) {
40253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_SetInvokingWindow" "', expected argument " "1"" of type '" "wxMenu *""'");
40255 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40256 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40257 if (!SWIG_IsOK(res2
)) {
40258 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_SetInvokingWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
40260 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40263 (arg1
)->SetInvokingWindow(arg2
);
40264 wxPyEndAllowThreads(__tstate
);
40265 if (PyErr_Occurred()) SWIG_fail
;
40267 resultobj
= SWIG_Py_Void();
40274 SWIGINTERN PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40275 PyObject
*resultobj
= 0;
40276 wxMenu
*arg1
= (wxMenu
*) 0 ;
40277 wxWindow
*result
= 0 ;
40280 PyObject
*swig_obj
[1] ;
40282 if (!args
) SWIG_fail
;
40283 swig_obj
[0] = args
;
40284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40285 if (!SWIG_IsOK(res1
)) {
40286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetInvokingWindow" "', expected argument " "1"" of type '" "wxMenu const *""'");
40288 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40291 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
40292 wxPyEndAllowThreads(__tstate
);
40293 if (PyErr_Occurred()) SWIG_fail
;
40296 resultobj
= wxPyMake_wxObject(result
, 0);
40304 SWIGINTERN PyObject
*_wrap_Menu_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40305 PyObject
*resultobj
= 0;
40306 wxMenu
*arg1
= (wxMenu
*) 0 ;
40310 PyObject
*swig_obj
[1] ;
40312 if (!args
) SWIG_fail
;
40313 swig_obj
[0] = args
;
40314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40315 if (!SWIG_IsOK(res1
)) {
40316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetStyle" "', expected argument " "1"" of type '" "wxMenu const *""'");
40318 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40321 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
40322 wxPyEndAllowThreads(__tstate
);
40323 if (PyErr_Occurred()) SWIG_fail
;
40325 resultobj
= SWIG_From_long(static_cast< long >(result
));
40332 SWIGINTERN PyObject
*_wrap_Menu_UpdateUI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40333 PyObject
*resultobj
= 0;
40334 wxMenu
*arg1
= (wxMenu
*) 0 ;
40335 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
40340 PyObject
* obj0
= 0 ;
40341 PyObject
* obj1
= 0 ;
40342 char * kwnames
[] = {
40343 (char *) "self",(char *) "source", NULL
40346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40348 if (!SWIG_IsOK(res1
)) {
40349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_UpdateUI" "', expected argument " "1"" of type '" "wxMenu *""'");
40351 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40353 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
40354 if (!SWIG_IsOK(res2
)) {
40355 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_UpdateUI" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
40357 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
40360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40361 (arg1
)->UpdateUI(arg2
);
40362 wxPyEndAllowThreads(__tstate
);
40363 if (PyErr_Occurred()) SWIG_fail
;
40365 resultobj
= SWIG_Py_Void();
40372 SWIGINTERN PyObject
*_wrap_Menu_GetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40373 PyObject
*resultobj
= 0;
40374 wxMenu
*arg1
= (wxMenu
*) 0 ;
40375 wxMenuBar
*result
= 0 ;
40378 PyObject
*swig_obj
[1] ;
40380 if (!args
) SWIG_fail
;
40381 swig_obj
[0] = args
;
40382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40383 if (!SWIG_IsOK(res1
)) {
40384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetMenuBar" "', expected argument " "1"" of type '" "wxMenu const *""'");
40386 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40389 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
40390 wxPyEndAllowThreads(__tstate
);
40391 if (PyErr_Occurred()) SWIG_fail
;
40394 resultobj
= wxPyMake_wxObject(result
, (bool)0);
40402 SWIGINTERN PyObject
*_wrap_Menu_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40403 PyObject
*resultobj
= 0;
40404 wxMenu
*arg1
= (wxMenu
*) 0 ;
40405 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
40410 PyObject
* obj0
= 0 ;
40411 PyObject
* obj1
= 0 ;
40412 char * kwnames
[] = {
40413 (char *) "self",(char *) "menubar", NULL
40416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40418 if (!SWIG_IsOK(res1
)) {
40419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Attach" "', expected argument " "1"" of type '" "wxMenu *""'");
40421 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40422 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBarBase
, 0 | 0 );
40423 if (!SWIG_IsOK(res2
)) {
40424 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_Attach" "', expected argument " "2"" of type '" "wxMenuBarBase *""'");
40426 arg2
= reinterpret_cast< wxMenuBarBase
* >(argp2
);
40428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40429 (arg1
)->Attach(arg2
);
40430 wxPyEndAllowThreads(__tstate
);
40431 if (PyErr_Occurred()) SWIG_fail
;
40433 resultobj
= SWIG_Py_Void();
40440 SWIGINTERN PyObject
*_wrap_Menu_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40441 PyObject
*resultobj
= 0;
40442 wxMenu
*arg1
= (wxMenu
*) 0 ;
40445 PyObject
*swig_obj
[1] ;
40447 if (!args
) SWIG_fail
;
40448 swig_obj
[0] = args
;
40449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40450 if (!SWIG_IsOK(res1
)) {
40451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Detach" "', expected argument " "1"" of type '" "wxMenu *""'");
40453 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40457 wxPyEndAllowThreads(__tstate
);
40458 if (PyErr_Occurred()) SWIG_fail
;
40460 resultobj
= SWIG_Py_Void();
40467 SWIGINTERN PyObject
*_wrap_Menu_IsAttached(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40468 PyObject
*resultobj
= 0;
40469 wxMenu
*arg1
= (wxMenu
*) 0 ;
40473 PyObject
*swig_obj
[1] ;
40475 if (!args
) SWIG_fail
;
40476 swig_obj
[0] = args
;
40477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40478 if (!SWIG_IsOK(res1
)) {
40479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_IsAttached" "', expected argument " "1"" of type '" "wxMenu const *""'");
40481 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40484 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
40485 wxPyEndAllowThreads(__tstate
);
40486 if (PyErr_Occurred()) SWIG_fail
;
40489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40497 SWIGINTERN PyObject
*_wrap_Menu_SetParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40498 PyObject
*resultobj
= 0;
40499 wxMenu
*arg1
= (wxMenu
*) 0 ;
40500 wxMenu
*arg2
= (wxMenu
*) 0 ;
40505 PyObject
* obj0
= 0 ;
40506 PyObject
* obj1
= 0 ;
40507 char * kwnames
[] = {
40508 (char *) "self",(char *) "parent", NULL
40511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40513 if (!SWIG_IsOK(res1
)) {
40514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_SetParent" "', expected argument " "1"" of type '" "wxMenu *""'");
40516 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40517 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40518 if (!SWIG_IsOK(res2
)) {
40519 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_SetParent" "', expected argument " "2"" of type '" "wxMenu *""'");
40521 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
40523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40524 (arg1
)->SetParent(arg2
);
40525 wxPyEndAllowThreads(__tstate
);
40526 if (PyErr_Occurred()) SWIG_fail
;
40528 resultobj
= SWIG_Py_Void();
40535 SWIGINTERN PyObject
*_wrap_Menu_GetParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40536 PyObject
*resultobj
= 0;
40537 wxMenu
*arg1
= (wxMenu
*) 0 ;
40538 wxMenu
*result
= 0 ;
40541 PyObject
*swig_obj
[1] ;
40543 if (!args
) SWIG_fail
;
40544 swig_obj
[0] = args
;
40545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40546 if (!SWIG_IsOK(res1
)) {
40547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetParent" "', expected argument " "1"" of type '" "wxMenu const *""'");
40549 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40552 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
40553 wxPyEndAllowThreads(__tstate
);
40554 if (PyErr_Occurred()) SWIG_fail
;
40557 resultobj
= wxPyMake_wxObject(result
, 0);
40565 SWIGINTERN PyObject
*Menu_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40567 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40568 SWIG_TypeNewClientData(SWIGTYPE_p_wxMenu
, SWIG_NewClientData(obj
));
40569 return SWIG_Py_Void();
40572 SWIGINTERN PyObject
*Menu_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40573 return SWIG_Python_InitShadowInstance(args
);
40576 SWIGINTERN PyObject
*_wrap_new_MenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40577 PyObject
*resultobj
= 0;
40578 long arg1
= (long) 0 ;
40579 wxMenuBar
*result
= 0 ;
40582 PyObject
* obj0
= 0 ;
40583 char * kwnames
[] = {
40584 (char *) "style", NULL
40587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) SWIG_fail
;
40589 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
40590 if (!SWIG_IsOK(ecode1
)) {
40591 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_MenuBar" "', expected argument " "1"" of type '" "long""'");
40593 arg1
= static_cast< long >(val1
);
40596 if (!wxPyCheckForApp()) SWIG_fail
;
40597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40598 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
40599 wxPyEndAllowThreads(__tstate
);
40600 if (PyErr_Occurred()) SWIG_fail
;
40602 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_NEW
| 0 );
40609 SWIGINTERN PyObject
*_wrap_MenuBar_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40610 PyObject
*resultobj
= 0;
40611 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
40612 wxMenu
*arg2
= (wxMenu
*) 0 ;
40613 wxString
*arg3
= 0 ;
40619 bool temp3
= false ;
40620 PyObject
* obj0
= 0 ;
40621 PyObject
* obj1
= 0 ;
40622 PyObject
* obj2
= 0 ;
40623 char * kwnames
[] = {
40624 (char *) "self",(char *) "menu",(char *) "title", NULL
40627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
40629 if (!SWIG_IsOK(res1
)) {
40630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Append" "', expected argument " "1"" of type '" "wxMenuBar *""'");
40632 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
40633 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40634 if (!SWIG_IsOK(res2
)) {
40635 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuBar_Append" "', expected argument " "2"" of type '" "wxMenu *""'");
40637 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
40639 arg3
= wxString_in_helper(obj2
);
40640 if (arg3
== NULL
) SWIG_fail
;
40644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40645 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
40646 wxPyEndAllowThreads(__tstate
);
40647 if (PyErr_Occurred()) SWIG_fail
;
40650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40666 SWIGINTERN PyObject
*_wrap_MenuBar_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40667 PyObject
*resultobj
= 0;
40668 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
40670 wxMenu
*arg3
= (wxMenu
*) 0 ;
40671 wxString
*arg4
= 0 ;
40679 bool temp4
= false ;
40680 PyObject
* obj0
= 0 ;
40681 PyObject
* obj1
= 0 ;
40682 PyObject
* obj2
= 0 ;
40683 PyObject
* obj3
= 0 ;
40684 char * kwnames
[] = {
40685 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
40688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
40690 if (!SWIG_IsOK(res1
)) {
40691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Insert" "', expected argument " "1"" of type '" "wxMenuBar *""'");
40693 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
40694 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
40695 if (!SWIG_IsOK(ecode2
)) {
40696 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_Insert" "', expected argument " "2"" of type '" "size_t""'");
40698 arg2
= static_cast< size_t >(val2
);
40699 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40700 if (!SWIG_IsOK(res3
)) {
40701 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "MenuBar_Insert" "', expected argument " "3"" of type '" "wxMenu *""'");
40703 arg3
= reinterpret_cast< wxMenu
* >(argp3
);
40705 arg4
= wxString_in_helper(obj3
);
40706 if (arg4
== NULL
) SWIG_fail
;
40710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40711 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
40712 wxPyEndAllowThreads(__tstate
);
40713 if (PyErr_Occurred()) SWIG_fail
;
40716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40732 SWIGINTERN PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40733 PyObject
*resultobj
= 0;
40734 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
40738 PyObject
*swig_obj
[1] ;
40740 if (!args
) SWIG_fail
;
40741 swig_obj
[0] = args
;
40742 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
40743 if (!SWIG_IsOK(res1
)) {
40744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_GetMenuCount" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
40746 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
40748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40749 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
40750 wxPyEndAllowThreads(__tstate
);
40751 if (PyErr_Occurred()) SWIG_fail
;
40753 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
40760 SWIGINTERN PyObject
*_wrap_MenuBar_GetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40761 PyObject
*resultobj
= 0;
40762 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
40764 wxMenu
*result
= 0 ;
40769 PyObject
* obj0
= 0 ;
40770 PyObject
* obj1
= 0 ;
40771 char * kwnames
[] = {
40772 (char *) "self",(char *) "pos", NULL
40775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
40777 if (!SWIG_IsOK(res1
)) {
40778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_GetMenu" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
40780 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
40781 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
40782 if (!SWIG_IsOK(ecode2
)) {
40783 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_GetMenu" "', expected argument " "2"" of type '" "size_t""'");
40785 arg2
= static_cast< size_t >(val2
);
40787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40788 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
40789 wxPyEndAllowThreads(__tstate
);
40790 if (PyErr_Occurred()) SWIG_fail
;
40793 resultobj
= wxPyMake_wxObject(result
, 0);
40801 SWIGINTERN PyObject
*_wrap_MenuBar_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40802 PyObject
*resultobj
= 0;
40803 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
40805 wxMenu
*arg3
= (wxMenu
*) 0 ;
40806 wxString
*arg4
= 0 ;
40807 wxMenu
*result
= 0 ;
40814 bool temp4
= false ;
40815 PyObject
* obj0
= 0 ;
40816 PyObject
* obj1
= 0 ;
40817 PyObject
* obj2
= 0 ;
40818 PyObject
* obj3
= 0 ;
40819 char * kwnames
[] = {
40820 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
40823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
40825 if (!SWIG_IsOK(res1
)) {
40826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Replace" "', expected argument " "1"" of type '" "wxMenuBar *""'");
40828 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
40829 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
40830 if (!SWIG_IsOK(ecode2
)) {
40831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_Replace" "', expected argument " "2"" of type '" "size_t""'");
40833 arg2
= static_cast< size_t >(val2
);
40834 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40835 if (!SWIG_IsOK(res3
)) {
40836 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "MenuBar_Replace" "', expected argument " "3"" of type '" "wxMenu *""'");
40838 arg3
= reinterpret_cast< wxMenu
* >(argp3
);
40840 arg4
= wxString_in_helper(obj3
);
40841 if (arg4
== NULL
) SWIG_fail
;
40845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40846 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
40847 wxPyEndAllowThreads(__tstate
);
40848 if (PyErr_Occurred()) SWIG_fail
;
40851 resultobj
= wxPyMake_wxObject(result
, 0);
40867 SWIGINTERN PyObject
*_wrap_MenuBar_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40868 PyObject
*resultobj
= 0;
40869 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
40871 wxMenu
*result
= 0 ;
40876 PyObject
* obj0
= 0 ;
40877 PyObject
* obj1
= 0 ;
40878 char * kwnames
[] = {
40879 (char *) "self",(char *) "pos", NULL
40882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
40884 if (!SWIG_IsOK(res1
)) {
40885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Remove" "', expected argument " "1"" of type '" "wxMenuBar *""'");
40887 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
40888 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
40889 if (!SWIG_IsOK(ecode2
)) {
40890 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_Remove" "', expected argument " "2"" of type '" "size_t""'");
40892 arg2
= static_cast< size_t >(val2
);
40894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40895 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
40896 wxPyEndAllowThreads(__tstate
);
40897 if (PyErr_Occurred()) SWIG_fail
;
40900 resultobj
= wxPyMake_wxObject(result
, 0);
40908 SWIGINTERN PyObject
*_wrap_MenuBar_EnableTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40909 PyObject
*resultobj
= 0;
40910 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
40919 PyObject
* obj0
= 0 ;
40920 PyObject
* obj1
= 0 ;
40921 PyObject
* obj2
= 0 ;
40922 char * kwnames
[] = {
40923 (char *) "self",(char *) "pos",(char *) "enable", NULL
40926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
40928 if (!SWIG_IsOK(res1
)) {
40929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_EnableTop" "', expected argument " "1"" of type '" "wxMenuBar *""'");
40931 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
40932 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
40933 if (!SWIG_IsOK(ecode2
)) {
40934 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_EnableTop" "', expected argument " "2"" of type '" "size_t""'");
40936 arg2
= static_cast< size_t >(val2
);
40937 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
40938 if (!SWIG_IsOK(ecode3
)) {
40939 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MenuBar_EnableTop" "', expected argument " "3"" of type '" "bool""'");
40941 arg3
= static_cast< bool >(val3
);
40943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40944 (arg1
)->EnableTop(arg2
,arg3
);
40945 wxPyEndAllowThreads(__tstate
);
40946 if (PyErr_Occurred()) SWIG_fail
;
40948 resultobj
= SWIG_Py_Void();
40955 SWIGINTERN PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40956 PyObject
*resultobj
= 0;
40957 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
40964 PyObject
* obj0
= 0 ;
40965 PyObject
* obj1
= 0 ;
40966 char * kwnames
[] = {
40967 (char *) "self",(char *) "pos", NULL
40970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
40972 if (!SWIG_IsOK(res1
)) {
40973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_IsEnabledTop" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
40975 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
40976 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
40977 if (!SWIG_IsOK(ecode2
)) {
40978 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_IsEnabledTop" "', expected argument " "2"" of type '" "size_t""'");
40980 arg2
= static_cast< size_t >(val2
);
40982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40983 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
40984 wxPyEndAllowThreads(__tstate
);
40985 if (PyErr_Occurred()) SWIG_fail
;
40988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40996 SWIGINTERN PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40997 PyObject
*resultobj
= 0;
40998 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41000 wxString
*arg3
= 0 ;
41005 bool temp3
= false ;
41006 PyObject
* obj0
= 0 ;
41007 PyObject
* obj1
= 0 ;
41008 PyObject
* obj2
= 0 ;
41009 char * kwnames
[] = {
41010 (char *) "self",(char *) "pos",(char *) "label", NULL
41013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41015 if (!SWIG_IsOK(res1
)) {
41016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_SetLabelTop" "', expected argument " "1"" of type '" "wxMenuBar *""'");
41018 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41019 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
41020 if (!SWIG_IsOK(ecode2
)) {
41021 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_SetLabelTop" "', expected argument " "2"" of type '" "size_t""'");
41023 arg2
= static_cast< size_t >(val2
);
41025 arg3
= wxString_in_helper(obj2
);
41026 if (arg3
== NULL
) SWIG_fail
;
41030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41031 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
41032 wxPyEndAllowThreads(__tstate
);
41033 if (PyErr_Occurred()) SWIG_fail
;
41035 resultobj
= SWIG_Py_Void();
41050 SWIGINTERN PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41051 PyObject
*resultobj
= 0;
41052 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41059 PyObject
* obj0
= 0 ;
41060 PyObject
* obj1
= 0 ;
41061 char * kwnames
[] = {
41062 (char *) "self",(char *) "pos", NULL
41065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41067 if (!SWIG_IsOK(res1
)) {
41068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_GetLabelTop" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
41070 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41071 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
41072 if (!SWIG_IsOK(ecode2
)) {
41073 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_GetLabelTop" "', expected argument " "2"" of type '" "size_t""'");
41075 arg2
= static_cast< size_t >(val2
);
41077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41078 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
41079 wxPyEndAllowThreads(__tstate
);
41080 if (PyErr_Occurred()) SWIG_fail
;
41084 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
41086 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
41095 SWIGINTERN PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41096 PyObject
*resultobj
= 0;
41097 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41098 wxString
*arg2
= 0 ;
41099 wxString
*arg3
= 0 ;
41103 bool temp2
= false ;
41104 bool temp3
= false ;
41105 PyObject
* obj0
= 0 ;
41106 PyObject
* obj1
= 0 ;
41107 PyObject
* obj2
= 0 ;
41108 char * kwnames
[] = {
41109 (char *) "self",(char *) "menu",(char *) "item", NULL
41112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41114 if (!SWIG_IsOK(res1
)) {
41115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_FindMenuItem" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
41117 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41119 arg2
= wxString_in_helper(obj1
);
41120 if (arg2
== NULL
) SWIG_fail
;
41124 arg3
= wxString_in_helper(obj2
);
41125 if (arg3
== NULL
) SWIG_fail
;
41129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41130 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
41131 wxPyEndAllowThreads(__tstate
);
41132 if (PyErr_Occurred()) SWIG_fail
;
41134 resultobj
= SWIG_From_int(static_cast< int >(result
));
41157 SWIGINTERN PyObject
*_wrap_MenuBar_FindItemById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41158 PyObject
*resultobj
= 0;
41159 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41161 wxMenuItem
*result
= 0 ;
41166 PyObject
* obj0
= 0 ;
41167 PyObject
* obj1
= 0 ;
41168 char * kwnames
[] = {
41169 (char *) "self",(char *) "id", NULL
41172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41174 if (!SWIG_IsOK(res1
)) {
41175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_FindItemById" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
41177 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41178 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41179 if (!SWIG_IsOK(ecode2
)) {
41180 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_FindItemById" "', expected argument " "2"" of type '" "int""'");
41182 arg2
= static_cast< int >(val2
);
41184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41185 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
41186 wxPyEndAllowThreads(__tstate
);
41187 if (PyErr_Occurred()) SWIG_fail
;
41190 resultobj
= wxPyMake_wxObject(result
, (bool)0);
41198 SWIGINTERN PyObject
*_wrap_MenuBar_FindMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41199 PyObject
*resultobj
= 0;
41200 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41201 wxString
*arg2
= 0 ;
41205 bool temp2
= false ;
41206 PyObject
* obj0
= 0 ;
41207 PyObject
* obj1
= 0 ;
41208 char * kwnames
[] = {
41209 (char *) "self",(char *) "title", NULL
41212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41214 if (!SWIG_IsOK(res1
)) {
41215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_FindMenu" "', expected argument " "1"" of type '" "wxMenuBar *""'");
41217 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41219 arg2
= wxString_in_helper(obj1
);
41220 if (arg2
== NULL
) SWIG_fail
;
41224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41225 result
= (int)(arg1
)->FindMenu((wxString
const &)*arg2
);
41226 wxPyEndAllowThreads(__tstate
);
41227 if (PyErr_Occurred()) SWIG_fail
;
41229 resultobj
= SWIG_From_int(static_cast< int >(result
));
41244 SWIGINTERN PyObject
*_wrap_MenuBar_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41245 PyObject
*resultobj
= 0;
41246 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41255 PyObject
* obj0
= 0 ;
41256 PyObject
* obj1
= 0 ;
41257 PyObject
* obj2
= 0 ;
41258 char * kwnames
[] = {
41259 (char *) "self",(char *) "id",(char *) "enable", NULL
41262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) 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_Enable" "', expected argument " "1"" of type '" "wxMenuBar *""'");
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_Enable" "', expected argument " "2"" of type '" "int""'");
41272 arg2
= static_cast< int >(val2
);
41273 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
41274 if (!SWIG_IsOK(ecode3
)) {
41275 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MenuBar_Enable" "', expected argument " "3"" of type '" "bool""'");
41277 arg3
= static_cast< bool >(val3
);
41279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41280 (arg1
)->Enable(arg2
,arg3
);
41281 wxPyEndAllowThreads(__tstate
);
41282 if (PyErr_Occurred()) SWIG_fail
;
41284 resultobj
= SWIG_Py_Void();
41291 SWIGINTERN PyObject
*_wrap_MenuBar_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41292 PyObject
*resultobj
= 0;
41293 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41302 PyObject
* obj0
= 0 ;
41303 PyObject
* obj1
= 0 ;
41304 PyObject
* obj2
= 0 ;
41305 char * kwnames
[] = {
41306 (char *) "self",(char *) "id",(char *) "check", NULL
41309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41311 if (!SWIG_IsOK(res1
)) {
41312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Check" "', expected argument " "1"" of type '" "wxMenuBar *""'");
41314 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41315 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41316 if (!SWIG_IsOK(ecode2
)) {
41317 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_Check" "', expected argument " "2"" of type '" "int""'");
41319 arg2
= static_cast< int >(val2
);
41320 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
41321 if (!SWIG_IsOK(ecode3
)) {
41322 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MenuBar_Check" "', expected argument " "3"" of type '" "bool""'");
41324 arg3
= static_cast< bool >(val3
);
41326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41327 (arg1
)->Check(arg2
,arg3
);
41328 wxPyEndAllowThreads(__tstate
);
41329 if (PyErr_Occurred()) SWIG_fail
;
41331 resultobj
= SWIG_Py_Void();
41338 SWIGINTERN PyObject
*_wrap_MenuBar_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41339 PyObject
*resultobj
= 0;
41340 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41347 PyObject
* obj0
= 0 ;
41348 PyObject
* obj1
= 0 ;
41349 char * kwnames
[] = {
41350 (char *) "self",(char *) "id", NULL
41353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41355 if (!SWIG_IsOK(res1
)) {
41356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_IsChecked" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
41358 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41359 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41360 if (!SWIG_IsOK(ecode2
)) {
41361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_IsChecked" "', expected argument " "2"" of type '" "int""'");
41363 arg2
= static_cast< int >(val2
);
41365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41366 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
41367 wxPyEndAllowThreads(__tstate
);
41368 if (PyErr_Occurred()) SWIG_fail
;
41371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41379 SWIGINTERN PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41380 PyObject
*resultobj
= 0;
41381 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41388 PyObject
* obj0
= 0 ;
41389 PyObject
* obj1
= 0 ;
41390 char * kwnames
[] = {
41391 (char *) "self",(char *) "id", NULL
41394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41396 if (!SWIG_IsOK(res1
)) {
41397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_IsEnabled" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
41399 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41400 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41401 if (!SWIG_IsOK(ecode2
)) {
41402 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_IsEnabled" "', expected argument " "2"" of type '" "int""'");
41404 arg2
= static_cast< int >(val2
);
41406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41407 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
41408 wxPyEndAllowThreads(__tstate
);
41409 if (PyErr_Occurred()) SWIG_fail
;
41412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41420 SWIGINTERN PyObject
*_wrap_MenuBar_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41421 PyObject
*resultobj
= 0;
41422 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41424 wxString
*arg3
= 0 ;
41429 bool temp3
= false ;
41430 PyObject
* obj0
= 0 ;
41431 PyObject
* obj1
= 0 ;
41432 PyObject
* obj2
= 0 ;
41433 char * kwnames
[] = {
41434 (char *) "self",(char *) "id",(char *) "label", NULL
41437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41439 if (!SWIG_IsOK(res1
)) {
41440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_SetLabel" "', expected argument " "1"" of type '" "wxMenuBar *""'");
41442 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41443 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41444 if (!SWIG_IsOK(ecode2
)) {
41445 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_SetLabel" "', expected argument " "2"" of type '" "int""'");
41447 arg2
= static_cast< int >(val2
);
41449 arg3
= wxString_in_helper(obj2
);
41450 if (arg3
== NULL
) SWIG_fail
;
41454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41455 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
41456 wxPyEndAllowThreads(__tstate
);
41457 if (PyErr_Occurred()) SWIG_fail
;
41459 resultobj
= SWIG_Py_Void();
41474 SWIGINTERN PyObject
*_wrap_MenuBar_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41475 PyObject
*resultobj
= 0;
41476 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41483 PyObject
* obj0
= 0 ;
41484 PyObject
* obj1
= 0 ;
41485 char * kwnames
[] = {
41486 (char *) "self",(char *) "id", NULL
41489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41491 if (!SWIG_IsOK(res1
)) {
41492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_GetLabel" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
41494 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41495 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41496 if (!SWIG_IsOK(ecode2
)) {
41497 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_GetLabel" "', expected argument " "2"" of type '" "int""'");
41499 arg2
= static_cast< int >(val2
);
41501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41502 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
41503 wxPyEndAllowThreads(__tstate
);
41504 if (PyErr_Occurred()) SWIG_fail
;
41508 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
41510 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
41519 SWIGINTERN PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41520 PyObject
*resultobj
= 0;
41521 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41523 wxString
*arg3
= 0 ;
41528 bool temp3
= false ;
41529 PyObject
* obj0
= 0 ;
41530 PyObject
* obj1
= 0 ;
41531 PyObject
* obj2
= 0 ;
41532 char * kwnames
[] = {
41533 (char *) "self",(char *) "id",(char *) "helpString", NULL
41536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41538 if (!SWIG_IsOK(res1
)) {
41539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_SetHelpString" "', expected argument " "1"" of type '" "wxMenuBar *""'");
41541 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41542 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41543 if (!SWIG_IsOK(ecode2
)) {
41544 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_SetHelpString" "', expected argument " "2"" of type '" "int""'");
41546 arg2
= static_cast< int >(val2
);
41548 arg3
= wxString_in_helper(obj2
);
41549 if (arg3
== NULL
) SWIG_fail
;
41553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41554 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
41555 wxPyEndAllowThreads(__tstate
);
41556 if (PyErr_Occurred()) SWIG_fail
;
41558 resultobj
= SWIG_Py_Void();
41573 SWIGINTERN PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41574 PyObject
*resultobj
= 0;
41575 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41582 PyObject
* obj0
= 0 ;
41583 PyObject
* obj1
= 0 ;
41584 char * kwnames
[] = {
41585 (char *) "self",(char *) "id", NULL
41588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41590 if (!SWIG_IsOK(res1
)) {
41591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_GetHelpString" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
41593 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41594 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41595 if (!SWIG_IsOK(ecode2
)) {
41596 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_GetHelpString" "', expected argument " "2"" of type '" "int""'");
41598 arg2
= static_cast< int >(val2
);
41600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41601 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
41602 wxPyEndAllowThreads(__tstate
);
41603 if (PyErr_Occurred()) SWIG_fail
;
41607 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
41609 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
41618 SWIGINTERN PyObject
*_wrap_MenuBar_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41619 PyObject
*resultobj
= 0;
41620 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41621 wxFrame
*result
= 0 ;
41624 PyObject
*swig_obj
[1] ;
41626 if (!args
) SWIG_fail
;
41627 swig_obj
[0] = args
;
41628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41629 if (!SWIG_IsOK(res1
)) {
41630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_GetFrame" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
41632 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41635 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
41636 wxPyEndAllowThreads(__tstate
);
41637 if (PyErr_Occurred()) SWIG_fail
;
41640 resultobj
= wxPyMake_wxObject(result
, (bool)0);
41648 SWIGINTERN PyObject
*_wrap_MenuBar_IsAttached(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41649 PyObject
*resultobj
= 0;
41650 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41654 PyObject
*swig_obj
[1] ;
41656 if (!args
) SWIG_fail
;
41657 swig_obj
[0] = args
;
41658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41659 if (!SWIG_IsOK(res1
)) {
41660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_IsAttached" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
41662 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41665 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
41666 wxPyEndAllowThreads(__tstate
);
41667 if (PyErr_Occurred()) SWIG_fail
;
41670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41678 SWIGINTERN PyObject
*_wrap_MenuBar_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41679 PyObject
*resultobj
= 0;
41680 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41681 wxFrame
*arg2
= (wxFrame
*) 0 ;
41686 PyObject
* obj0
= 0 ;
41687 PyObject
* obj1
= 0 ;
41688 char * kwnames
[] = {
41689 (char *) "self",(char *) "frame", NULL
41692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41694 if (!SWIG_IsOK(res1
)) {
41695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Attach" "', expected argument " "1"" of type '" "wxMenuBar *""'");
41697 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41698 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
41699 if (!SWIG_IsOK(res2
)) {
41700 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuBar_Attach" "', expected argument " "2"" of type '" "wxFrame *""'");
41702 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
41704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41705 (arg1
)->Attach(arg2
);
41706 wxPyEndAllowThreads(__tstate
);
41707 if (PyErr_Occurred()) SWIG_fail
;
41709 resultobj
= SWIG_Py_Void();
41716 SWIGINTERN PyObject
*_wrap_MenuBar_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41717 PyObject
*resultobj
= 0;
41718 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41721 PyObject
*swig_obj
[1] ;
41723 if (!args
) SWIG_fail
;
41724 swig_obj
[0] = args
;
41725 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41726 if (!SWIG_IsOK(res1
)) {
41727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Detach" "', expected argument " "1"" of type '" "wxMenuBar *""'");
41729 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41733 wxPyEndAllowThreads(__tstate
);
41734 if (PyErr_Occurred()) SWIG_fail
;
41736 resultobj
= SWIG_Py_Void();
41743 SWIGINTERN PyObject
*_wrap_MenuBar_SetAutoWindowMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41744 PyObject
*resultobj
= 0;
41748 PyObject
* obj0
= 0 ;
41749 char * kwnames
[] = {
41750 (char *) "enable", NULL
41753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_SetAutoWindowMenu",kwnames
,&obj0
)) SWIG_fail
;
41754 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
41755 if (!SWIG_IsOK(ecode1
)) {
41756 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "MenuBar_SetAutoWindowMenu" "', expected argument " "1"" of type '" "bool""'");
41758 arg1
= static_cast< bool >(val1
);
41760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41761 wxMenuBar_SetAutoWindowMenu(arg1
);
41762 wxPyEndAllowThreads(__tstate
);
41763 if (PyErr_Occurred()) SWIG_fail
;
41765 resultobj
= SWIG_Py_Void();
41772 SWIGINTERN PyObject
*_wrap_MenuBar_GetAutoWindowMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41773 PyObject
*resultobj
= 0;
41776 if (!SWIG_Python_UnpackTuple(args
,"MenuBar_GetAutoWindowMenu",0,0,0)) SWIG_fail
;
41778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41779 result
= (bool)wxMenuBar_GetAutoWindowMenu();
41780 wxPyEndAllowThreads(__tstate
);
41781 if (PyErr_Occurred()) SWIG_fail
;
41784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41792 SWIGINTERN PyObject
*MenuBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41794 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41795 SWIG_TypeNewClientData(SWIGTYPE_p_wxMenuBar
, SWIG_NewClientData(obj
));
41796 return SWIG_Py_Void();
41799 SWIGINTERN PyObject
*MenuBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41800 return SWIG_Python_InitShadowInstance(args
);
41803 SWIGINTERN PyObject
*_wrap_new_MenuItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41804 PyObject
*resultobj
= 0;
41805 wxMenu
*arg1
= (wxMenu
*) NULL
;
41806 int arg2
= (int) wxID_ANY
;
41807 wxString
const &arg3_defvalue
= wxPyEmptyString
;
41808 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
41809 wxString
const &arg4_defvalue
= wxPyEmptyString
;
41810 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
41811 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
41812 wxMenu
*arg6
= (wxMenu
*) NULL
;
41813 wxMenuItem
*result
= 0 ;
41818 bool temp3
= false ;
41819 bool temp4
= false ;
41824 PyObject
* obj0
= 0 ;
41825 PyObject
* obj1
= 0 ;
41826 PyObject
* obj2
= 0 ;
41827 PyObject
* obj3
= 0 ;
41828 PyObject
* obj4
= 0 ;
41829 PyObject
* obj5
= 0 ;
41830 char * kwnames
[] = {
41831 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
41834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
41836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41837 if (!SWIG_IsOK(res1
)) {
41838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MenuItem" "', expected argument " "1"" of type '" "wxMenu *""'");
41840 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
41843 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41844 if (!SWIG_IsOK(ecode2
)) {
41845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MenuItem" "', expected argument " "2"" of type '" "int""'");
41847 arg2
= static_cast< int >(val2
);
41851 arg3
= wxString_in_helper(obj2
);
41852 if (arg3
== NULL
) SWIG_fail
;
41858 arg4
= wxString_in_helper(obj3
);
41859 if (arg4
== NULL
) SWIG_fail
;
41864 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
41865 if (!SWIG_IsOK(ecode5
)) {
41866 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_MenuItem" "', expected argument " "5"" of type '" "wxItemKind""'");
41868 arg5
= static_cast< wxItemKind
>(val5
);
41871 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41872 if (!SWIG_IsOK(res6
)) {
41873 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_MenuItem" "', expected argument " "6"" of type '" "wxMenu *""'");
41875 arg6
= reinterpret_cast< wxMenu
* >(argp6
);
41878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41879 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
41880 wxPyEndAllowThreads(__tstate
);
41881 if (PyErr_Occurred()) SWIG_fail
;
41884 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
41908 SWIGINTERN PyObject
*_wrap_delete_MenuItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41909 PyObject
*resultobj
= 0;
41910 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
41913 PyObject
*swig_obj
[1] ;
41915 if (!args
) SWIG_fail
;
41916 swig_obj
[0] = args
;
41917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_DISOWN
| 0 );
41918 if (!SWIG_IsOK(res1
)) {
41919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MenuItem" "', expected argument " "1"" of type '" "wxMenuItem *""'");
41921 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
41923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41926 wxPyEndAllowThreads(__tstate
);
41927 if (PyErr_Occurred()) SWIG_fail
;
41929 resultobj
= SWIG_Py_Void();
41936 SWIGINTERN PyObject
*_wrap_MenuItem_GetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41937 PyObject
*resultobj
= 0;
41938 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
41939 wxMenu
*result
= 0 ;
41942 PyObject
*swig_obj
[1] ;
41944 if (!args
) SWIG_fail
;
41945 swig_obj
[0] = args
;
41946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
41947 if (!SWIG_IsOK(res1
)) {
41948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetMenu" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
41950 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
41952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41953 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
41954 wxPyEndAllowThreads(__tstate
);
41955 if (PyErr_Occurred()) SWIG_fail
;
41958 resultobj
= wxPyMake_wxObject(result
, 0);
41966 SWIGINTERN PyObject
*_wrap_MenuItem_SetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41967 PyObject
*resultobj
= 0;
41968 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
41969 wxMenu
*arg2
= (wxMenu
*) 0 ;
41974 PyObject
* obj0
= 0 ;
41975 PyObject
* obj1
= 0 ;
41976 char * kwnames
[] = {
41977 (char *) "self",(char *) "menu", NULL
41980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
41982 if (!SWIG_IsOK(res1
)) {
41983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetMenu" "', expected argument " "1"" of type '" "wxMenuItem *""'");
41985 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
41986 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41987 if (!SWIG_IsOK(res2
)) {
41988 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
41990 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
41992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41993 (arg1
)->SetMenu(arg2
);
41994 wxPyEndAllowThreads(__tstate
);
41995 if (PyErr_Occurred()) SWIG_fail
;
41997 resultobj
= SWIG_Py_Void();
42004 SWIGINTERN PyObject
*_wrap_MenuItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42005 PyObject
*resultobj
= 0;
42006 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42012 PyObject
* obj0
= 0 ;
42013 PyObject
* obj1
= 0 ;
42014 char * kwnames
[] = {
42015 (char *) "self",(char *) "id", NULL
42018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42020 if (!SWIG_IsOK(res1
)) {
42021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetId" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42023 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42024 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42025 if (!SWIG_IsOK(ecode2
)) {
42026 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_SetId" "', expected argument " "2"" of type '" "int""'");
42028 arg2
= static_cast< int >(val2
);
42030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42031 (arg1
)->SetId(arg2
);
42032 wxPyEndAllowThreads(__tstate
);
42033 if (PyErr_Occurred()) SWIG_fail
;
42035 resultobj
= SWIG_Py_Void();
42042 SWIGINTERN PyObject
*_wrap_MenuItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42043 PyObject
*resultobj
= 0;
42044 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42048 PyObject
*swig_obj
[1] ;
42050 if (!args
) SWIG_fail
;
42051 swig_obj
[0] = args
;
42052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42053 if (!SWIG_IsOK(res1
)) {
42054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetId" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42056 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42059 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
42060 wxPyEndAllowThreads(__tstate
);
42061 if (PyErr_Occurred()) SWIG_fail
;
42063 resultobj
= SWIG_From_int(static_cast< int >(result
));
42070 SWIGINTERN PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42071 PyObject
*resultobj
= 0;
42072 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42076 PyObject
*swig_obj
[1] ;
42078 if (!args
) SWIG_fail
;
42079 swig_obj
[0] = args
;
42080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42081 if (!SWIG_IsOK(res1
)) {
42082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_IsSeparator" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42084 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42087 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
42088 wxPyEndAllowThreads(__tstate
);
42089 if (PyErr_Occurred()) SWIG_fail
;
42092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42100 SWIGINTERN PyObject
*_wrap_MenuItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42101 PyObject
*resultobj
= 0;
42102 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42103 wxString
*arg2
= 0 ;
42106 bool temp2
= false ;
42107 PyObject
* obj0
= 0 ;
42108 PyObject
* obj1
= 0 ;
42109 char * kwnames
[] = {
42110 (char *) "self",(char *) "str", NULL
42113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42115 if (!SWIG_IsOK(res1
)) {
42116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetText" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42118 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42120 arg2
= wxString_in_helper(obj1
);
42121 if (arg2
== NULL
) SWIG_fail
;
42125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42126 (arg1
)->SetText((wxString
const &)*arg2
);
42127 wxPyEndAllowThreads(__tstate
);
42128 if (PyErr_Occurred()) SWIG_fail
;
42130 resultobj
= SWIG_Py_Void();
42145 SWIGINTERN PyObject
*_wrap_MenuItem_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42146 PyObject
*resultobj
= 0;
42147 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42151 PyObject
*swig_obj
[1] ;
42153 if (!args
) SWIG_fail
;
42154 swig_obj
[0] = args
;
42155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42156 if (!SWIG_IsOK(res1
)) {
42157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetLabel" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42159 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42162 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
42163 wxPyEndAllowThreads(__tstate
);
42164 if (PyErr_Occurred()) SWIG_fail
;
42168 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42170 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42179 SWIGINTERN PyObject
*_wrap_MenuItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42180 PyObject
*resultobj
= 0;
42181 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42182 wxString
*result
= 0 ;
42185 PyObject
*swig_obj
[1] ;
42187 if (!args
) SWIG_fail
;
42188 swig_obj
[0] = args
;
42189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42190 if (!SWIG_IsOK(res1
)) {
42191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetText" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42193 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42197 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
42198 result
= (wxString
*) &_result_ref
;
42200 wxPyEndAllowThreads(__tstate
);
42201 if (PyErr_Occurred()) SWIG_fail
;
42205 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
42207 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
42216 SWIGINTERN PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42217 PyObject
*resultobj
= 0;
42218 wxString
*arg1
= 0 ;
42220 bool temp1
= false ;
42221 PyObject
* obj0
= 0 ;
42222 char * kwnames
[] = {
42223 (char *) "text", NULL
42226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) SWIG_fail
;
42228 arg1
= wxString_in_helper(obj0
);
42229 if (arg1
== NULL
) SWIG_fail
;
42233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42234 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
42235 wxPyEndAllowThreads(__tstate
);
42236 if (PyErr_Occurred()) SWIG_fail
;
42240 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42242 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42259 SWIGINTERN PyObject
*_wrap_MenuItem_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42260 PyObject
*resultobj
= 0;
42261 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42265 PyObject
*swig_obj
[1] ;
42267 if (!args
) SWIG_fail
;
42268 swig_obj
[0] = args
;
42269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42270 if (!SWIG_IsOK(res1
)) {
42271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetKind" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42273 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42276 result
= (wxItemKind
)((wxMenuItem
const *)arg1
)->GetKind();
42277 wxPyEndAllowThreads(__tstate
);
42278 if (PyErr_Occurred()) SWIG_fail
;
42280 resultobj
= SWIG_From_int(static_cast< int >(result
));
42287 SWIGINTERN PyObject
*_wrap_MenuItem_SetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42288 PyObject
*resultobj
= 0;
42289 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42295 PyObject
* obj0
= 0 ;
42296 PyObject
* obj1
= 0 ;
42297 char * kwnames
[] = {
42298 (char *) "self",(char *) "kind", NULL
42301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42303 if (!SWIG_IsOK(res1
)) {
42304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetKind" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42306 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42307 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42308 if (!SWIG_IsOK(ecode2
)) {
42309 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_SetKind" "', expected argument " "2"" of type '" "wxItemKind""'");
42311 arg2
= static_cast< wxItemKind
>(val2
);
42313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42314 (arg1
)->SetKind(arg2
);
42315 wxPyEndAllowThreads(__tstate
);
42316 if (PyErr_Occurred()) SWIG_fail
;
42318 resultobj
= SWIG_Py_Void();
42325 SWIGINTERN PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42326 PyObject
*resultobj
= 0;
42327 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42333 PyObject
* obj0
= 0 ;
42334 PyObject
* obj1
= 0 ;
42335 char * kwnames
[] = {
42336 (char *) "self",(char *) "checkable", NULL
42339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42341 if (!SWIG_IsOK(res1
)) {
42342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetCheckable" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42344 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42345 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42346 if (!SWIG_IsOK(ecode2
)) {
42347 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_SetCheckable" "', expected argument " "2"" of type '" "bool""'");
42349 arg2
= static_cast< bool >(val2
);
42351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42352 (arg1
)->SetCheckable(arg2
);
42353 wxPyEndAllowThreads(__tstate
);
42354 if (PyErr_Occurred()) SWIG_fail
;
42356 resultobj
= SWIG_Py_Void();
42363 SWIGINTERN PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42364 PyObject
*resultobj
= 0;
42365 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42369 PyObject
*swig_obj
[1] ;
42371 if (!args
) SWIG_fail
;
42372 swig_obj
[0] = args
;
42373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42374 if (!SWIG_IsOK(res1
)) {
42375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_IsCheckable" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42377 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42380 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
42381 wxPyEndAllowThreads(__tstate
);
42382 if (PyErr_Occurred()) SWIG_fail
;
42385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42393 SWIGINTERN PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42394 PyObject
*resultobj
= 0;
42395 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42399 PyObject
*swig_obj
[1] ;
42401 if (!args
) SWIG_fail
;
42402 swig_obj
[0] = args
;
42403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42404 if (!SWIG_IsOK(res1
)) {
42405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_IsSubMenu" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42407 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42410 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
42411 wxPyEndAllowThreads(__tstate
);
42412 if (PyErr_Occurred()) SWIG_fail
;
42415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42423 SWIGINTERN PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42424 PyObject
*resultobj
= 0;
42425 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42426 wxMenu
*arg2
= (wxMenu
*) 0 ;
42431 PyObject
* obj0
= 0 ;
42432 PyObject
* obj1
= 0 ;
42433 char * kwnames
[] = {
42434 (char *) "self",(char *) "menu", NULL
42437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42439 if (!SWIG_IsOK(res1
)) {
42440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetSubMenu" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42442 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42443 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42444 if (!SWIG_IsOK(res2
)) {
42445 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetSubMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
42447 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
42449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42450 (arg1
)->SetSubMenu(arg2
);
42451 wxPyEndAllowThreads(__tstate
);
42452 if (PyErr_Occurred()) SWIG_fail
;
42454 resultobj
= SWIG_Py_Void();
42461 SWIGINTERN PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42462 PyObject
*resultobj
= 0;
42463 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42464 wxMenu
*result
= 0 ;
42467 PyObject
*swig_obj
[1] ;
42469 if (!args
) SWIG_fail
;
42470 swig_obj
[0] = args
;
42471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42472 if (!SWIG_IsOK(res1
)) {
42473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetSubMenu" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42475 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42478 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
42479 wxPyEndAllowThreads(__tstate
);
42480 if (PyErr_Occurred()) SWIG_fail
;
42483 resultobj
= wxPyMake_wxObject(result
, 0);
42491 SWIGINTERN PyObject
*_wrap_MenuItem_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42492 PyObject
*resultobj
= 0;
42493 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42494 bool arg2
= (bool) true ;
42499 PyObject
* obj0
= 0 ;
42500 PyObject
* obj1
= 0 ;
42501 char * kwnames
[] = {
42502 (char *) "self",(char *) "enable", NULL
42505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42507 if (!SWIG_IsOK(res1
)) {
42508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_Enable" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42510 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42512 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42513 if (!SWIG_IsOK(ecode2
)) {
42514 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_Enable" "', expected argument " "2"" of type '" "bool""'");
42516 arg2
= static_cast< bool >(val2
);
42519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42520 (arg1
)->Enable(arg2
);
42521 wxPyEndAllowThreads(__tstate
);
42522 if (PyErr_Occurred()) SWIG_fail
;
42524 resultobj
= SWIG_Py_Void();
42531 SWIGINTERN PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42532 PyObject
*resultobj
= 0;
42533 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42537 PyObject
*swig_obj
[1] ;
42539 if (!args
) SWIG_fail
;
42540 swig_obj
[0] = args
;
42541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42542 if (!SWIG_IsOK(res1
)) {
42543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_IsEnabled" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42545 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42548 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
42549 wxPyEndAllowThreads(__tstate
);
42550 if (PyErr_Occurred()) SWIG_fail
;
42553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42561 SWIGINTERN PyObject
*_wrap_MenuItem_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42562 PyObject
*resultobj
= 0;
42563 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42564 bool arg2
= (bool) true ;
42569 PyObject
* obj0
= 0 ;
42570 PyObject
* obj1
= 0 ;
42571 char * kwnames
[] = {
42572 (char *) "self",(char *) "check", NULL
42575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42577 if (!SWIG_IsOK(res1
)) {
42578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_Check" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42580 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42582 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42583 if (!SWIG_IsOK(ecode2
)) {
42584 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_Check" "', expected argument " "2"" of type '" "bool""'");
42586 arg2
= static_cast< bool >(val2
);
42589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42590 (arg1
)->Check(arg2
);
42591 wxPyEndAllowThreads(__tstate
);
42592 if (PyErr_Occurred()) SWIG_fail
;
42594 resultobj
= SWIG_Py_Void();
42601 SWIGINTERN PyObject
*_wrap_MenuItem_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42602 PyObject
*resultobj
= 0;
42603 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42607 PyObject
*swig_obj
[1] ;
42609 if (!args
) SWIG_fail
;
42610 swig_obj
[0] = args
;
42611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42612 if (!SWIG_IsOK(res1
)) {
42613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_IsChecked" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42615 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42618 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
42619 wxPyEndAllowThreads(__tstate
);
42620 if (PyErr_Occurred()) SWIG_fail
;
42623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42631 SWIGINTERN PyObject
*_wrap_MenuItem_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42632 PyObject
*resultobj
= 0;
42633 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42636 PyObject
*swig_obj
[1] ;
42638 if (!args
) SWIG_fail
;
42639 swig_obj
[0] = args
;
42640 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42641 if (!SWIG_IsOK(res1
)) {
42642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_Toggle" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42644 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42648 wxPyEndAllowThreads(__tstate
);
42649 if (PyErr_Occurred()) SWIG_fail
;
42651 resultobj
= SWIG_Py_Void();
42658 SWIGINTERN PyObject
*_wrap_MenuItem_SetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42659 PyObject
*resultobj
= 0;
42660 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42661 wxString
*arg2
= 0 ;
42664 bool temp2
= false ;
42665 PyObject
* obj0
= 0 ;
42666 PyObject
* obj1
= 0 ;
42667 char * kwnames
[] = {
42668 (char *) "self",(char *) "str", NULL
42671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42673 if (!SWIG_IsOK(res1
)) {
42674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetHelp" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42676 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42678 arg2
= wxString_in_helper(obj1
);
42679 if (arg2
== NULL
) SWIG_fail
;
42683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42684 (arg1
)->SetHelp((wxString
const &)*arg2
);
42685 wxPyEndAllowThreads(__tstate
);
42686 if (PyErr_Occurred()) SWIG_fail
;
42688 resultobj
= SWIG_Py_Void();
42703 SWIGINTERN PyObject
*_wrap_MenuItem_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42704 PyObject
*resultobj
= 0;
42705 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42706 wxString
*result
= 0 ;
42709 PyObject
*swig_obj
[1] ;
42711 if (!args
) SWIG_fail
;
42712 swig_obj
[0] = args
;
42713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42714 if (!SWIG_IsOK(res1
)) {
42715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetHelp" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42717 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42721 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
42722 result
= (wxString
*) &_result_ref
;
42724 wxPyEndAllowThreads(__tstate
);
42725 if (PyErr_Occurred()) SWIG_fail
;
42729 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
42731 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
42740 SWIGINTERN PyObject
*_wrap_MenuItem_GetAccel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42741 PyObject
*resultobj
= 0;
42742 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42743 wxAcceleratorEntry
*result
= 0 ;
42746 PyObject
*swig_obj
[1] ;
42748 if (!args
) SWIG_fail
;
42749 swig_obj
[0] = args
;
42750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42751 if (!SWIG_IsOK(res1
)) {
42752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetAccel" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42754 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42757 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
42758 wxPyEndAllowThreads(__tstate
);
42759 if (PyErr_Occurred()) SWIG_fail
;
42761 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
42768 SWIGINTERN PyObject
*_wrap_MenuItem_SetAccel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42769 PyObject
*resultobj
= 0;
42770 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42771 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
42776 PyObject
* obj0
= 0 ;
42777 PyObject
* obj1
= 0 ;
42778 char * kwnames
[] = {
42779 (char *) "self",(char *) "accel", NULL
42782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42784 if (!SWIG_IsOK(res1
)) {
42785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetAccel" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42787 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42788 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
42789 if (!SWIG_IsOK(res2
)) {
42790 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetAccel" "', expected argument " "2"" of type '" "wxAcceleratorEntry *""'");
42792 arg2
= reinterpret_cast< wxAcceleratorEntry
* >(argp2
);
42794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42795 (arg1
)->SetAccel(arg2
);
42796 wxPyEndAllowThreads(__tstate
);
42797 if (PyErr_Occurred()) SWIG_fail
;
42799 resultobj
= SWIG_Py_Void();
42806 SWIGINTERN PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42807 PyObject
*resultobj
= 0;
42808 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42809 wxBitmap
*arg2
= 0 ;
42814 PyObject
* obj0
= 0 ;
42815 PyObject
* obj1
= 0 ;
42816 char * kwnames
[] = {
42817 (char *) "self",(char *) "bitmap", NULL
42820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42822 if (!SWIG_IsOK(res1
)) {
42823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetBitmap" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42825 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42826 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
42827 if (!SWIG_IsOK(res2
)) {
42828 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
42831 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MenuItem_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
42833 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
42835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42836 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
42837 wxPyEndAllowThreads(__tstate
);
42838 if (PyErr_Occurred()) SWIG_fail
;
42840 resultobj
= SWIG_Py_Void();
42847 SWIGINTERN PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42848 PyObject
*resultobj
= 0;
42849 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42850 wxBitmap
*result
= 0 ;
42853 PyObject
*swig_obj
[1] ;
42855 if (!args
) SWIG_fail
;
42856 swig_obj
[0] = args
;
42857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42858 if (!SWIG_IsOK(res1
)) {
42859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetBitmap" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42861 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42865 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
42866 result
= (wxBitmap
*) &_result_ref
;
42868 wxPyEndAllowThreads(__tstate
);
42869 if (PyErr_Occurred()) SWIG_fail
;
42872 wxBitmap
* resultptr
= new wxBitmap(*result
);
42873 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
42881 SWIGINTERN PyObject
*_wrap_MenuItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42882 PyObject
*resultobj
= 0;
42883 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42889 PyObject
* obj0
= 0 ;
42890 PyObject
* obj1
= 0 ;
42891 char * kwnames
[] = {
42892 (char *) "self",(char *) "font", NULL
42895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42897 if (!SWIG_IsOK(res1
)) {
42898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetFont" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42900 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42901 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
42902 if (!SWIG_IsOK(res2
)) {
42903 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
42906 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MenuItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
42908 arg2
= reinterpret_cast< wxFont
* >(argp2
);
42910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42911 wxMenuItem_SetFont(arg1
,(wxFont
const &)*arg2
);
42912 wxPyEndAllowThreads(__tstate
);
42913 if (PyErr_Occurred()) SWIG_fail
;
42915 resultobj
= SWIG_Py_Void();
42922 SWIGINTERN PyObject
*_wrap_MenuItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42923 PyObject
*resultobj
= 0;
42924 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42928 PyObject
*swig_obj
[1] ;
42930 if (!args
) SWIG_fail
;
42931 swig_obj
[0] = args
;
42932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42933 if (!SWIG_IsOK(res1
)) {
42934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetFont" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42936 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42939 result
= wxMenuItem_GetFont(arg1
);
42940 wxPyEndAllowThreads(__tstate
);
42941 if (PyErr_Occurred()) SWIG_fail
;
42943 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
42950 SWIGINTERN PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42951 PyObject
*resultobj
= 0;
42952 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42953 wxColour
*arg2
= 0 ;
42957 PyObject
* obj0
= 0 ;
42958 PyObject
* obj1
= 0 ;
42959 char * kwnames
[] = {
42960 (char *) "self",(char *) "colText", NULL
42963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42965 if (!SWIG_IsOK(res1
)) {
42966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetTextColour" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42968 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42971 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42975 wxMenuItem_SetTextColour(arg1
,(wxColour
const &)*arg2
);
42976 wxPyEndAllowThreads(__tstate
);
42977 if (PyErr_Occurred()) SWIG_fail
;
42979 resultobj
= SWIG_Py_Void();
42986 SWIGINTERN PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42987 PyObject
*resultobj
= 0;
42988 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42992 PyObject
*swig_obj
[1] ;
42994 if (!args
) SWIG_fail
;
42995 swig_obj
[0] = args
;
42996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42997 if (!SWIG_IsOK(res1
)) {
42998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetTextColour" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43000 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43003 result
= wxMenuItem_GetTextColour(arg1
);
43004 wxPyEndAllowThreads(__tstate
);
43005 if (PyErr_Occurred()) SWIG_fail
;
43007 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43014 SWIGINTERN PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43015 PyObject
*resultobj
= 0;
43016 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43017 wxColour
*arg2
= 0 ;
43021 PyObject
* obj0
= 0 ;
43022 PyObject
* obj1
= 0 ;
43023 char * kwnames
[] = {
43024 (char *) "self",(char *) "colBack", NULL
43027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43029 if (!SWIG_IsOK(res1
)) {
43030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43032 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43035 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43039 wxMenuItem_SetBackgroundColour(arg1
,(wxColour
const &)*arg2
);
43040 wxPyEndAllowThreads(__tstate
);
43041 if (PyErr_Occurred()) SWIG_fail
;
43043 resultobj
= SWIG_Py_Void();
43050 SWIGINTERN PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43051 PyObject
*resultobj
= 0;
43052 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43056 PyObject
*swig_obj
[1] ;
43058 if (!args
) SWIG_fail
;
43059 swig_obj
[0] = args
;
43060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43061 if (!SWIG_IsOK(res1
)) {
43062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43064 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43067 result
= wxMenuItem_GetBackgroundColour(arg1
);
43068 wxPyEndAllowThreads(__tstate
);
43069 if (PyErr_Occurred()) SWIG_fail
;
43071 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43078 SWIGINTERN PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43079 PyObject
*resultobj
= 0;
43080 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43081 wxBitmap
*arg2
= 0 ;
43082 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
43083 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
43090 PyObject
* obj0
= 0 ;
43091 PyObject
* obj1
= 0 ;
43092 PyObject
* obj2
= 0 ;
43093 char * kwnames
[] = {
43094 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
43097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43099 if (!SWIG_IsOK(res1
)) {
43100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetBitmaps" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43102 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43103 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
43104 if (!SWIG_IsOK(res2
)) {
43105 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetBitmaps" "', expected argument " "2"" of type '" "wxBitmap const &""'");
43108 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MenuItem_SetBitmaps" "', expected argument " "2"" of type '" "wxBitmap const &""'");
43110 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
43112 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
43113 if (!SWIG_IsOK(res3
)) {
43114 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "MenuItem_SetBitmaps" "', expected argument " "3"" of type '" "wxBitmap const &""'");
43117 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MenuItem_SetBitmaps" "', expected argument " "3"" of type '" "wxBitmap const &""'");
43119 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
43122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43123 wxMenuItem_SetBitmaps(arg1
,(wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
43124 wxPyEndAllowThreads(__tstate
);
43125 if (PyErr_Occurred()) SWIG_fail
;
43127 resultobj
= SWIG_Py_Void();
43134 SWIGINTERN PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43135 PyObject
*resultobj
= 0;
43136 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43137 wxBitmap
*arg2
= 0 ;
43142 PyObject
* obj0
= 0 ;
43143 PyObject
* obj1
= 0 ;
43144 char * kwnames
[] = {
43145 (char *) "self",(char *) "bmpDisabled", NULL
43148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43150 if (!SWIG_IsOK(res1
)) {
43151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43153 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43154 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
43155 if (!SWIG_IsOK(res2
)) {
43156 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
43159 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MenuItem_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
43161 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
43163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43164 wxMenuItem_SetDisabledBitmap(arg1
,(wxBitmap
const &)*arg2
);
43165 wxPyEndAllowThreads(__tstate
);
43166 if (PyErr_Occurred()) SWIG_fail
;
43168 resultobj
= SWIG_Py_Void();
43175 SWIGINTERN PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43176 PyObject
*resultobj
= 0;
43177 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43178 wxBitmap
*result
= 0 ;
43181 PyObject
*swig_obj
[1] ;
43183 if (!args
) SWIG_fail
;
43184 swig_obj
[0] = args
;
43185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43186 if (!SWIG_IsOK(res1
)) {
43187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
43189 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43193 wxBitmap
const &_result_ref
= wxMenuItem_GetDisabledBitmap((wxMenuItem
const *)arg1
);
43194 result
= (wxBitmap
*) &_result_ref
;
43196 wxPyEndAllowThreads(__tstate
);
43197 if (PyErr_Occurred()) SWIG_fail
;
43200 wxBitmap
* resultptr
= new wxBitmap(*result
);
43201 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
43209 SWIGINTERN PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43210 PyObject
*resultobj
= 0;
43211 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43217 PyObject
* obj0
= 0 ;
43218 PyObject
* obj1
= 0 ;
43219 char * kwnames
[] = {
43220 (char *) "self",(char *) "nWidth", NULL
43223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43225 if (!SWIG_IsOK(res1
)) {
43226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetMarginWidth" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43228 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43229 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43230 if (!SWIG_IsOK(ecode2
)) {
43231 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_SetMarginWidth" "', expected argument " "2"" of type '" "int""'");
43233 arg2
= static_cast< int >(val2
);
43235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43236 wxMenuItem_SetMarginWidth(arg1
,arg2
);
43237 wxPyEndAllowThreads(__tstate
);
43238 if (PyErr_Occurred()) SWIG_fail
;
43240 resultobj
= SWIG_Py_Void();
43247 SWIGINTERN PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43248 PyObject
*resultobj
= 0;
43249 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43253 PyObject
*swig_obj
[1] ;
43255 if (!args
) SWIG_fail
;
43256 swig_obj
[0] = args
;
43257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43258 if (!SWIG_IsOK(res1
)) {
43259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetMarginWidth" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43261 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43264 result
= (int)wxMenuItem_GetMarginWidth(arg1
);
43265 wxPyEndAllowThreads(__tstate
);
43266 if (PyErr_Occurred()) SWIG_fail
;
43268 resultobj
= SWIG_From_int(static_cast< int >(result
));
43275 SWIGINTERN PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43276 PyObject
*resultobj
= 0;
43279 if (!SWIG_Python_UnpackTuple(args
,"MenuItem_GetDefaultMarginWidth",0,0,0)) SWIG_fail
;
43281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43282 result
= (int)wxMenuItem_GetDefaultMarginWidth();
43283 wxPyEndAllowThreads(__tstate
);
43284 if (PyErr_Occurred()) SWIG_fail
;
43286 resultobj
= SWIG_From_int(static_cast< int >(result
));
43293 SWIGINTERN PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43294 PyObject
*resultobj
= 0;
43295 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43299 PyObject
*swig_obj
[1] ;
43301 if (!args
) SWIG_fail
;
43302 swig_obj
[0] = args
;
43303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43304 if (!SWIG_IsOK(res1
)) {
43305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_IsOwnerDrawn" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43307 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43310 result
= (bool)wxMenuItem_IsOwnerDrawn(arg1
);
43311 wxPyEndAllowThreads(__tstate
);
43312 if (PyErr_Occurred()) SWIG_fail
;
43315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43323 SWIGINTERN PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43324 PyObject
*resultobj
= 0;
43325 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43326 bool arg2
= (bool) true ;
43331 PyObject
* obj0
= 0 ;
43332 PyObject
* obj1
= 0 ;
43333 char * kwnames
[] = {
43334 (char *) "self",(char *) "ownerDrawn", NULL
43337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43339 if (!SWIG_IsOK(res1
)) {
43340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetOwnerDrawn" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43342 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43344 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
43345 if (!SWIG_IsOK(ecode2
)) {
43346 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_SetOwnerDrawn" "', expected argument " "2"" of type '" "bool""'");
43348 arg2
= static_cast< bool >(val2
);
43351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43352 wxMenuItem_SetOwnerDrawn(arg1
,arg2
);
43353 wxPyEndAllowThreads(__tstate
);
43354 if (PyErr_Occurred()) SWIG_fail
;
43356 resultobj
= SWIG_Py_Void();
43363 SWIGINTERN PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43364 PyObject
*resultobj
= 0;
43365 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43368 PyObject
*swig_obj
[1] ;
43370 if (!args
) SWIG_fail
;
43371 swig_obj
[0] = args
;
43372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43373 if (!SWIG_IsOK(res1
)) {
43374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_ResetOwnerDrawn" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43376 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43379 wxMenuItem_ResetOwnerDrawn(arg1
);
43380 wxPyEndAllowThreads(__tstate
);
43381 if (PyErr_Occurred()) SWIG_fail
;
43383 resultobj
= SWIG_Py_Void();
43390 SWIGINTERN PyObject
*MenuItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43392 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43393 SWIG_TypeNewClientData(SWIGTYPE_p_wxMenuItem
, SWIG_NewClientData(obj
));
43394 return SWIG_Py_Void();
43397 SWIGINTERN PyObject
*MenuItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43398 return SWIG_Python_InitShadowInstance(args
);
43401 SWIGINTERN
int ControlNameStr_set(PyObject
*) {
43402 SWIG_Error(SWIG_AttributeError
,"Variable ControlNameStr is read-only.");
43407 SWIGINTERN PyObject
*ControlNameStr_get(void) {
43408 PyObject
*pyobj
= 0;
43412 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
43414 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
43421 SWIGINTERN PyObject
*_wrap_new_Control(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43422 PyObject
*resultobj
= 0;
43423 wxWindow
*arg1
= (wxWindow
*) 0 ;
43424 int arg2
= (int) -1 ;
43425 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
43426 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
43427 wxSize
const &arg4_defvalue
= wxDefaultSize
;
43428 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
43429 long arg5
= (long) 0 ;
43430 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
43431 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
43432 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
43433 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
43434 wxControl
*result
= 0 ;
43445 bool temp7
= false ;
43446 PyObject
* obj0
= 0 ;
43447 PyObject
* obj1
= 0 ;
43448 PyObject
* obj2
= 0 ;
43449 PyObject
* obj3
= 0 ;
43450 PyObject
* obj4
= 0 ;
43451 PyObject
* obj5
= 0 ;
43452 PyObject
* obj6
= 0 ;
43453 char * kwnames
[] = {
43454 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
43458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43459 if (!SWIG_IsOK(res1
)) {
43460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Control" "', expected argument " "1"" of type '" "wxWindow *""'");
43462 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43464 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43465 if (!SWIG_IsOK(ecode2
)) {
43466 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Control" "', expected argument " "2"" of type '" "int""'");
43468 arg2
= static_cast< int >(val2
);
43473 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
43479 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
43483 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
43484 if (!SWIG_IsOK(ecode5
)) {
43485 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Control" "', expected argument " "5"" of type '" "long""'");
43487 arg5
= static_cast< long >(val5
);
43490 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
43491 if (!SWIG_IsOK(res6
)) {
43492 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_Control" "', expected argument " "6"" of type '" "wxValidator const &""'");
43495 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Control" "', expected argument " "6"" of type '" "wxValidator const &""'");
43497 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
43501 arg7
= wxString_in_helper(obj6
);
43502 if (arg7
== NULL
) SWIG_fail
;
43507 if (!wxPyCheckForApp()) SWIG_fail
;
43508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43509 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
43510 wxPyEndAllowThreads(__tstate
);
43511 if (PyErr_Occurred()) SWIG_fail
;
43513 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxControl
, SWIG_POINTER_NEW
| 0 );
43528 SWIGINTERN PyObject
*_wrap_new_PreControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43529 PyObject
*resultobj
= 0;
43530 wxControl
*result
= 0 ;
43532 if (!SWIG_Python_UnpackTuple(args
,"new_PreControl",0,0,0)) SWIG_fail
;
43534 if (!wxPyCheckForApp()) SWIG_fail
;
43535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43536 result
= (wxControl
*)new wxControl();
43537 wxPyEndAllowThreads(__tstate
);
43538 if (PyErr_Occurred()) SWIG_fail
;
43540 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxControl
, SWIG_POINTER_OWN
| 0 );
43547 SWIGINTERN PyObject
*_wrap_Control_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43548 PyObject
*resultobj
= 0;
43549 wxControl
*arg1
= (wxControl
*) 0 ;
43550 wxWindow
*arg2
= (wxWindow
*) 0 ;
43551 int arg3
= (int) -1 ;
43552 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
43553 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
43554 wxSize
const &arg5_defvalue
= wxDefaultSize
;
43555 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
43556 long arg6
= (long) 0 ;
43557 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
43558 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
43559 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
43560 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
43574 bool temp8
= false ;
43575 PyObject
* obj0
= 0 ;
43576 PyObject
* obj1
= 0 ;
43577 PyObject
* obj2
= 0 ;
43578 PyObject
* obj3
= 0 ;
43579 PyObject
* obj4
= 0 ;
43580 PyObject
* obj5
= 0 ;
43581 PyObject
* obj6
= 0 ;
43582 PyObject
* obj7
= 0 ;
43583 char * kwnames
[] = {
43584 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
43588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxControl
, 0 | 0 );
43589 if (!SWIG_IsOK(res1
)) {
43590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Control_Create" "', expected argument " "1"" of type '" "wxControl *""'");
43592 arg1
= reinterpret_cast< wxControl
* >(argp1
);
43593 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43594 if (!SWIG_IsOK(res2
)) {
43595 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Control_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43597 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43599 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43600 if (!SWIG_IsOK(ecode3
)) {
43601 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Control_Create" "', expected argument " "3"" of type '" "int""'");
43603 arg3
= static_cast< int >(val3
);
43608 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
43614 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
43618 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
43619 if (!SWIG_IsOK(ecode6
)) {
43620 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Control_Create" "', expected argument " "6"" of type '" "long""'");
43622 arg6
= static_cast< long >(val6
);
43625 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
43626 if (!SWIG_IsOK(res7
)) {
43627 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "Control_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
43630 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Control_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
43632 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
43636 arg8
= wxString_in_helper(obj7
);
43637 if (arg8
== NULL
) SWIG_fail
;
43642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43643 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
43644 wxPyEndAllowThreads(__tstate
);
43645 if (PyErr_Occurred()) SWIG_fail
;
43648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43664 SWIGINTERN PyObject
*_wrap_Control_Command(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43665 PyObject
*resultobj
= 0;
43666 wxControl
*arg1
= (wxControl
*) 0 ;
43667 wxCommandEvent
*arg2
= 0 ;
43672 PyObject
* obj0
= 0 ;
43673 PyObject
* obj1
= 0 ;
43674 char * kwnames
[] = {
43675 (char *) "self",(char *) "event", NULL
43678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxControl
, 0 | 0 );
43680 if (!SWIG_IsOK(res1
)) {
43681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Control_Command" "', expected argument " "1"" of type '" "wxControl *""'");
43683 arg1
= reinterpret_cast< wxControl
* >(argp1
);
43684 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCommandEvent
, 0 );
43685 if (!SWIG_IsOK(res2
)) {
43686 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Control_Command" "', expected argument " "2"" of type '" "wxCommandEvent &""'");
43689 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Control_Command" "', expected argument " "2"" of type '" "wxCommandEvent &""'");
43691 arg2
= reinterpret_cast< wxCommandEvent
* >(argp2
);
43693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43694 (arg1
)->Command(*arg2
);
43695 wxPyEndAllowThreads(__tstate
);
43696 if (PyErr_Occurred()) SWIG_fail
;
43698 resultobj
= SWIG_Py_Void();
43705 SWIGINTERN PyObject
*_wrap_Control_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43706 PyObject
*resultobj
= 0;
43707 wxControl
*arg1
= (wxControl
*) 0 ;
43711 PyObject
*swig_obj
[1] ;
43713 if (!args
) SWIG_fail
;
43714 swig_obj
[0] = args
;
43715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxControl
, 0 | 0 );
43716 if (!SWIG_IsOK(res1
)) {
43717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Control_GetLabel" "', expected argument " "1"" of type '" "wxControl *""'");
43719 arg1
= reinterpret_cast< wxControl
* >(argp1
);
43721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43722 result
= (arg1
)->GetLabel();
43723 wxPyEndAllowThreads(__tstate
);
43724 if (PyErr_Occurred()) SWIG_fail
;
43728 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
43730 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
43739 SWIGINTERN PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43740 PyObject
*resultobj
= 0;
43741 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
43742 SwigValueWrapper
<wxVisualAttributes
> result
;
43745 PyObject
* obj0
= 0 ;
43746 char * kwnames
[] = {
43747 (char *) "variant", NULL
43750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
43752 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
43753 if (!SWIG_IsOK(ecode1
)) {
43754 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Control_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
43756 arg1
= static_cast< wxWindowVariant
>(val1
);
43759 if (!wxPyCheckForApp()) SWIG_fail
;
43760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43761 result
= wxControl::GetClassDefaultAttributes(arg1
);
43762 wxPyEndAllowThreads(__tstate
);
43763 if (PyErr_Occurred()) SWIG_fail
;
43765 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
43772 SWIGINTERN PyObject
*Control_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43774 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43775 SWIG_TypeNewClientData(SWIGTYPE_p_wxControl
, SWIG_NewClientData(obj
));
43776 return SWIG_Py_Void();
43779 SWIGINTERN PyObject
*Control_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43780 return SWIG_Python_InitShadowInstance(args
);
43783 SWIGINTERN PyObject
*_wrap_ItemContainer_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43784 PyObject
*resultobj
= 0;
43785 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
43786 wxString
*arg2
= 0 ;
43787 PyObject
*arg3
= (PyObject
*) NULL
;
43791 bool temp2
= false ;
43792 PyObject
* obj0
= 0 ;
43793 PyObject
* obj1
= 0 ;
43794 PyObject
* obj2
= 0 ;
43795 char * kwnames
[] = {
43796 (char *) "self",(char *) "item",(char *) "clientData", NULL
43799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
43801 if (!SWIG_IsOK(res1
)) {
43802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_Append" "', expected argument " "1"" of type '" "wxItemContainer *""'");
43804 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
43806 arg2
= wxString_in_helper(obj1
);
43807 if (arg2
== NULL
) SWIG_fail
;
43814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43815 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
43816 wxPyEndAllowThreads(__tstate
);
43817 if (PyErr_Occurred()) SWIG_fail
;
43819 resultobj
= SWIG_From_int(static_cast< int >(result
));
43834 SWIGINTERN PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43835 PyObject
*resultobj
= 0;
43836 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
43837 wxArrayString
*arg2
= 0 ;
43840 bool temp2
= false ;
43841 PyObject
* obj0
= 0 ;
43842 PyObject
* obj1
= 0 ;
43843 char * kwnames
[] = {
43844 (char *) "self",(char *) "strings", NULL
43847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
43849 if (!SWIG_IsOK(res1
)) {
43850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_AppendItems" "', expected argument " "1"" of type '" "wxItemContainer *""'");
43852 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
43854 if (! PySequence_Check(obj1
)) {
43855 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
43858 arg2
= new wxArrayString
;
43860 int i
, len
=PySequence_Length(obj1
);
43861 for (i
=0; i
<len
; i
++) {
43862 PyObject
* item
= PySequence_GetItem(obj1
, i
);
43863 wxString
* s
= wxString_in_helper(item
);
43864 if (PyErr_Occurred()) SWIG_fail
;
43871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43872 (arg1
)->Append((wxArrayString
const &)*arg2
);
43873 wxPyEndAllowThreads(__tstate
);
43874 if (PyErr_Occurred()) SWIG_fail
;
43876 resultobj
= SWIG_Py_Void();
43878 if (temp2
) delete arg2
;
43883 if (temp2
) delete arg2
;
43889 SWIGINTERN PyObject
*_wrap_ItemContainer_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43890 PyObject
*resultobj
= 0;
43891 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
43892 wxString
*arg2
= 0 ;
43893 unsigned int arg3
;
43894 PyObject
*arg4
= (PyObject
*) NULL
;
43898 bool temp2
= false ;
43899 unsigned int val3
;
43901 PyObject
* obj0
= 0 ;
43902 PyObject
* obj1
= 0 ;
43903 PyObject
* obj2
= 0 ;
43904 PyObject
* obj3
= 0 ;
43905 char * kwnames
[] = {
43906 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
43909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
43910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
43911 if (!SWIG_IsOK(res1
)) {
43912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_Insert" "', expected argument " "1"" of type '" "wxItemContainer *""'");
43914 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
43916 arg2
= wxString_in_helper(obj1
);
43917 if (arg2
== NULL
) SWIG_fail
;
43920 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
43921 if (!SWIG_IsOK(ecode3
)) {
43922 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ItemContainer_Insert" "', expected argument " "3"" of type '" "unsigned int""'");
43924 arg3
= static_cast< unsigned int >(val3
);
43929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43930 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
43931 wxPyEndAllowThreads(__tstate
);
43932 if (PyErr_Occurred()) SWIG_fail
;
43934 resultobj
= SWIG_From_int(static_cast< int >(result
));
43949 SWIGINTERN PyObject
*_wrap_ItemContainer_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43950 PyObject
*resultobj
= 0;
43951 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
43954 PyObject
*swig_obj
[1] ;
43956 if (!args
) SWIG_fail
;
43957 swig_obj
[0] = args
;
43958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
43959 if (!SWIG_IsOK(res1
)) {
43960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_Clear" "', expected argument " "1"" of type '" "wxItemContainer *""'");
43962 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
43964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43966 wxPyEndAllowThreads(__tstate
);
43967 if (PyErr_Occurred()) SWIG_fail
;
43969 resultobj
= SWIG_Py_Void();
43976 SWIGINTERN PyObject
*_wrap_ItemContainer_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43977 PyObject
*resultobj
= 0;
43978 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
43979 unsigned int arg2
;
43982 unsigned int val2
;
43984 PyObject
* obj0
= 0 ;
43985 PyObject
* obj1
= 0 ;
43986 char * kwnames
[] = {
43987 (char *) "self",(char *) "n", NULL
43990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
43992 if (!SWIG_IsOK(res1
)) {
43993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_Delete" "', expected argument " "1"" of type '" "wxItemContainer *""'");
43995 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
43996 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
43997 if (!SWIG_IsOK(ecode2
)) {
43998 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_Delete" "', expected argument " "2"" of type '" "unsigned int""'");
44000 arg2
= static_cast< unsigned int >(val2
);
44002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44003 (arg1
)->Delete(arg2
);
44004 wxPyEndAllowThreads(__tstate
);
44005 if (PyErr_Occurred()) SWIG_fail
;
44007 resultobj
= SWIG_Py_Void();
44014 SWIGINTERN PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44015 PyObject
*resultobj
= 0;
44016 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44017 unsigned int arg2
;
44018 PyObject
*result
= 0 ;
44021 unsigned int val2
;
44023 PyObject
* obj0
= 0 ;
44024 PyObject
* obj1
= 0 ;
44025 char * kwnames
[] = {
44026 (char *) "self",(char *) "n", NULL
44029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44031 if (!SWIG_IsOK(res1
)) {
44032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_GetClientData" "', expected argument " "1"" of type '" "wxItemContainer *""'");
44034 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44035 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
44036 if (!SWIG_IsOK(ecode2
)) {
44037 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_GetClientData" "', expected argument " "2"" of type '" "unsigned int""'");
44039 arg2
= static_cast< unsigned int >(val2
);
44041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44042 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
44043 wxPyEndAllowThreads(__tstate
);
44044 if (PyErr_Occurred()) SWIG_fail
;
44046 resultobj
= result
;
44053 SWIGINTERN PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44054 PyObject
*resultobj
= 0;
44055 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44056 unsigned int arg2
;
44057 PyObject
*arg3
= (PyObject
*) 0 ;
44060 unsigned int val2
;
44062 PyObject
* obj0
= 0 ;
44063 PyObject
* obj1
= 0 ;
44064 PyObject
* obj2
= 0 ;
44065 char * kwnames
[] = {
44066 (char *) "self",(char *) "n",(char *) "clientData", NULL
44069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
44070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44071 if (!SWIG_IsOK(res1
)) {
44072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_SetClientData" "', expected argument " "1"" of type '" "wxItemContainer *""'");
44074 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44075 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
44076 if (!SWIG_IsOK(ecode2
)) {
44077 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_SetClientData" "', expected argument " "2"" of type '" "unsigned int""'");
44079 arg2
= static_cast< unsigned int >(val2
);
44082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44083 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
44084 wxPyEndAllowThreads(__tstate
);
44085 if (PyErr_Occurred()) SWIG_fail
;
44087 resultobj
= SWIG_Py_Void();
44094 SWIGINTERN PyObject
*_wrap_ItemContainer_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44095 PyObject
*resultobj
= 0;
44096 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44097 unsigned int result
;
44100 PyObject
*swig_obj
[1] ;
44102 if (!args
) SWIG_fail
;
44103 swig_obj
[0] = args
;
44104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44105 if (!SWIG_IsOK(res1
)) {
44106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_GetCount" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
44108 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44111 result
= (unsigned int)((wxItemContainer
const *)arg1
)->GetCount();
44112 wxPyEndAllowThreads(__tstate
);
44113 if (PyErr_Occurred()) SWIG_fail
;
44115 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
44122 SWIGINTERN PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44123 PyObject
*resultobj
= 0;
44124 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44128 PyObject
*swig_obj
[1] ;
44130 if (!args
) SWIG_fail
;
44131 swig_obj
[0] = args
;
44132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44133 if (!SWIG_IsOK(res1
)) {
44134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_IsEmpty" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
44136 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44139 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
44140 wxPyEndAllowThreads(__tstate
);
44141 if (PyErr_Occurred()) SWIG_fail
;
44144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44152 SWIGINTERN PyObject
*_wrap_ItemContainer_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44153 PyObject
*resultobj
= 0;
44154 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44155 unsigned int arg2
;
44159 unsigned int val2
;
44161 PyObject
* obj0
= 0 ;
44162 PyObject
* obj1
= 0 ;
44163 char * kwnames
[] = {
44164 (char *) "self",(char *) "n", NULL
44167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44169 if (!SWIG_IsOK(res1
)) {
44170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_GetString" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
44172 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44173 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
44174 if (!SWIG_IsOK(ecode2
)) {
44175 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_GetString" "', expected argument " "2"" of type '" "unsigned int""'");
44177 arg2
= static_cast< unsigned int >(val2
);
44179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44180 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
44181 wxPyEndAllowThreads(__tstate
);
44182 if (PyErr_Occurred()) SWIG_fail
;
44186 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44188 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44197 SWIGINTERN PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44198 PyObject
*resultobj
= 0;
44199 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44200 wxArrayString result
;
44203 PyObject
*swig_obj
[1] ;
44205 if (!args
) SWIG_fail
;
44206 swig_obj
[0] = args
;
44207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44208 if (!SWIG_IsOK(res1
)) {
44209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_GetStrings" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
44211 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44214 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
44215 wxPyEndAllowThreads(__tstate
);
44216 if (PyErr_Occurred()) SWIG_fail
;
44219 resultobj
= wxArrayString2PyList_helper(result
);
44227 SWIGINTERN PyObject
*_wrap_ItemContainer_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44228 PyObject
*resultobj
= 0;
44229 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44230 unsigned int arg2
;
44231 wxString
*arg3
= 0 ;
44234 unsigned int val2
;
44236 bool temp3
= false ;
44237 PyObject
* obj0
= 0 ;
44238 PyObject
* obj1
= 0 ;
44239 PyObject
* obj2
= 0 ;
44240 char * kwnames
[] = {
44241 (char *) "self",(char *) "n",(char *) "s", NULL
44244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
44245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44246 if (!SWIG_IsOK(res1
)) {
44247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_SetString" "', expected argument " "1"" of type '" "wxItemContainer *""'");
44249 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44250 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
44251 if (!SWIG_IsOK(ecode2
)) {
44252 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_SetString" "', expected argument " "2"" of type '" "unsigned int""'");
44254 arg2
= static_cast< unsigned int >(val2
);
44256 arg3
= wxString_in_helper(obj2
);
44257 if (arg3
== NULL
) SWIG_fail
;
44261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44262 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
44263 wxPyEndAllowThreads(__tstate
);
44264 if (PyErr_Occurred()) SWIG_fail
;
44266 resultobj
= SWIG_Py_Void();
44281 SWIGINTERN PyObject
*_wrap_ItemContainer_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44282 PyObject
*resultobj
= 0;
44283 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44284 wxString
*arg2
= 0 ;
44288 bool temp2
= false ;
44289 PyObject
* obj0
= 0 ;
44290 PyObject
* obj1
= 0 ;
44291 char * kwnames
[] = {
44292 (char *) "self",(char *) "s", NULL
44295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44297 if (!SWIG_IsOK(res1
)) {
44298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_FindString" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
44300 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44302 arg2
= wxString_in_helper(obj1
);
44303 if (arg2
== NULL
) SWIG_fail
;
44307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44308 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
44309 wxPyEndAllowThreads(__tstate
);
44310 if (PyErr_Occurred()) SWIG_fail
;
44312 resultobj
= SWIG_From_int(static_cast< int >(result
));
44327 SWIGINTERN PyObject
*_wrap_ItemContainer_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44328 PyObject
*resultobj
= 0;
44329 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44335 PyObject
* obj0
= 0 ;
44336 PyObject
* obj1
= 0 ;
44337 char * kwnames
[] = {
44338 (char *) "self",(char *) "n", NULL
44341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44343 if (!SWIG_IsOK(res1
)) {
44344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_SetSelection" "', expected argument " "1"" of type '" "wxItemContainer *""'");
44346 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44347 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44348 if (!SWIG_IsOK(ecode2
)) {
44349 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_SetSelection" "', expected argument " "2"" of type '" "int""'");
44351 arg2
= static_cast< int >(val2
);
44353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44354 (arg1
)->SetSelection(arg2
);
44355 wxPyEndAllowThreads(__tstate
);
44356 if (PyErr_Occurred()) SWIG_fail
;
44358 resultobj
= SWIG_Py_Void();
44365 SWIGINTERN PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44366 PyObject
*resultobj
= 0;
44367 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44371 PyObject
*swig_obj
[1] ;
44373 if (!args
) SWIG_fail
;
44374 swig_obj
[0] = args
;
44375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44376 if (!SWIG_IsOK(res1
)) {
44377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_GetSelection" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
44379 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44382 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
44383 wxPyEndAllowThreads(__tstate
);
44384 if (PyErr_Occurred()) SWIG_fail
;
44386 resultobj
= SWIG_From_int(static_cast< int >(result
));
44393 SWIGINTERN PyObject
*_wrap_ItemContainer_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44394 PyObject
*resultobj
= 0;
44395 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44396 wxString
*arg2
= 0 ;
44400 bool temp2
= false ;
44401 PyObject
* obj0
= 0 ;
44402 PyObject
* obj1
= 0 ;
44403 char * kwnames
[] = {
44404 (char *) "self",(char *) "s", NULL
44407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44409 if (!SWIG_IsOK(res1
)) {
44410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_SetStringSelection" "', expected argument " "1"" of type '" "wxItemContainer *""'");
44412 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44414 arg2
= wxString_in_helper(obj1
);
44415 if (arg2
== NULL
) SWIG_fail
;
44419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44420 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
44421 wxPyEndAllowThreads(__tstate
);
44422 if (PyErr_Occurred()) SWIG_fail
;
44425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44441 SWIGINTERN PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44442 PyObject
*resultobj
= 0;
44443 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44447 PyObject
*swig_obj
[1] ;
44449 if (!args
) SWIG_fail
;
44450 swig_obj
[0] = args
;
44451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44452 if (!SWIG_IsOK(res1
)) {
44453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_GetStringSelection" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
44455 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44458 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
44459 wxPyEndAllowThreads(__tstate
);
44460 if (PyErr_Occurred()) SWIG_fail
;
44464 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44466 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44475 SWIGINTERN PyObject
*_wrap_ItemContainer_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44476 PyObject
*resultobj
= 0;
44477 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44483 PyObject
* obj0
= 0 ;
44484 PyObject
* obj1
= 0 ;
44485 char * kwnames
[] = {
44486 (char *) "self",(char *) "n", NULL
44489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44491 if (!SWIG_IsOK(res1
)) {
44492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_Select" "', expected argument " "1"" of type '" "wxItemContainer *""'");
44494 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44495 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44496 if (!SWIG_IsOK(ecode2
)) {
44497 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_Select" "', expected argument " "2"" of type '" "int""'");
44499 arg2
= static_cast< int >(val2
);
44501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44502 (arg1
)->Select(arg2
);
44503 wxPyEndAllowThreads(__tstate
);
44504 if (PyErr_Occurred()) SWIG_fail
;
44506 resultobj
= SWIG_Py_Void();
44513 SWIGINTERN PyObject
*ItemContainer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44515 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44516 SWIG_TypeNewClientData(SWIGTYPE_p_wxItemContainer
, SWIG_NewClientData(obj
));
44517 return SWIG_Py_Void();
44520 SWIGINTERN PyObject
*ControlWithItems_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44522 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44523 SWIG_TypeNewClientData(SWIGTYPE_p_wxControlWithItems
, SWIG_NewClientData(obj
));
44524 return SWIG_Py_Void();
44527 SWIGINTERN PyObject
*_wrap_new_SizerItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44528 PyObject
*resultobj
= 0;
44529 wxSizerItem
*result
= 0 ;
44531 if (!SWIG_Python_UnpackTuple(args
,"new_SizerItem",0,0,0)) SWIG_fail
;
44533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44534 result
= (wxSizerItem
*)new wxSizerItem();
44535 wxPyEndAllowThreads(__tstate
);
44536 if (PyErr_Occurred()) SWIG_fail
;
44538 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_NEW
| 0 );
44545 SWIGINTERN PyObject
*_wrap_delete_SizerItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44546 PyObject
*resultobj
= 0;
44547 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
44550 PyObject
*swig_obj
[1] ;
44552 if (!args
) SWIG_fail
;
44553 swig_obj
[0] = args
;
44554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_DISOWN
| 0 );
44555 if (!SWIG_IsOK(res1
)) {
44556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SizerItem" "', expected argument " "1"" of type '" "wxSizerItem *""'");
44558 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
44560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44563 wxPyEndAllowThreads(__tstate
);
44564 if (PyErr_Occurred()) SWIG_fail
;
44566 resultobj
= SWIG_Py_Void();
44573 SWIGINTERN PyObject
*_wrap_new_SizerItemWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44574 PyObject
*resultobj
= 0;
44575 wxWindow
*arg1
= (wxWindow
*) 0 ;
44579 PyObject
*arg5
= (PyObject
*) NULL
;
44580 wxSizerItem
*result
= 0 ;
44589 PyObject
* obj0
= 0 ;
44590 PyObject
* obj1
= 0 ;
44591 PyObject
* obj2
= 0 ;
44592 PyObject
* obj3
= 0 ;
44593 PyObject
* obj4
= 0 ;
44594 char * kwnames
[] = {
44595 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
44598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
44599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44600 if (!SWIG_IsOK(res1
)) {
44601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SizerItemWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
44603 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44604 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44605 if (!SWIG_IsOK(ecode2
)) {
44606 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SizerItemWindow" "', expected argument " "2"" of type '" "int""'");
44608 arg2
= static_cast< int >(val2
);
44609 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44610 if (!SWIG_IsOK(ecode3
)) {
44611 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SizerItemWindow" "', expected argument " "3"" of type '" "int""'");
44613 arg3
= static_cast< int >(val3
);
44614 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
44615 if (!SWIG_IsOK(ecode4
)) {
44616 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_SizerItemWindow" "', expected argument " "4"" of type '" "int""'");
44618 arg4
= static_cast< int >(val4
);
44623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44624 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
44625 wxPyEndAllowThreads(__tstate
);
44626 if (PyErr_Occurred()) SWIG_fail
;
44628 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_OWN
| 0 );
44635 SWIGINTERN PyObject
*_wrap_new_SizerItemSpacer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44636 PyObject
*resultobj
= 0;
44642 PyObject
*arg6
= (PyObject
*) NULL
;
44643 wxSizerItem
*result
= 0 ;
44654 PyObject
* obj0
= 0 ;
44655 PyObject
* obj1
= 0 ;
44656 PyObject
* obj2
= 0 ;
44657 PyObject
* obj3
= 0 ;
44658 PyObject
* obj4
= 0 ;
44659 PyObject
* obj5
= 0 ;
44660 char * kwnames
[] = {
44661 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
44664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
44665 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
44666 if (!SWIG_IsOK(ecode1
)) {
44667 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SizerItemSpacer" "', expected argument " "1"" of type '" "int""'");
44669 arg1
= static_cast< int >(val1
);
44670 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44671 if (!SWIG_IsOK(ecode2
)) {
44672 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SizerItemSpacer" "', expected argument " "2"" of type '" "int""'");
44674 arg2
= static_cast< int >(val2
);
44675 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44676 if (!SWIG_IsOK(ecode3
)) {
44677 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SizerItemSpacer" "', expected argument " "3"" of type '" "int""'");
44679 arg3
= static_cast< int >(val3
);
44680 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
44681 if (!SWIG_IsOK(ecode4
)) {
44682 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_SizerItemSpacer" "', expected argument " "4"" of type '" "int""'");
44684 arg4
= static_cast< int >(val4
);
44685 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
44686 if (!SWIG_IsOK(ecode5
)) {
44687 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SizerItemSpacer" "', expected argument " "5"" of type '" "int""'");
44689 arg5
= static_cast< int >(val5
);
44694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44695 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
44696 wxPyEndAllowThreads(__tstate
);
44697 if (PyErr_Occurred()) SWIG_fail
;
44699 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_OWN
| 0 );
44706 SWIGINTERN PyObject
*_wrap_new_SizerItemSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44707 PyObject
*resultobj
= 0;
44708 wxSizer
*arg1
= (wxSizer
*) 0 ;
44712 PyObject
*arg5
= (PyObject
*) NULL
;
44713 wxSizerItem
*result
= 0 ;
44721 PyObject
* obj0
= 0 ;
44722 PyObject
* obj1
= 0 ;
44723 PyObject
* obj2
= 0 ;
44724 PyObject
* obj3
= 0 ;
44725 PyObject
* obj4
= 0 ;
44726 char * kwnames
[] = {
44727 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
44730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
44731 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxSizer
, SWIG_POINTER_DISOWN
| 0 );
44732 if (!SWIG_IsOK(res1
)) {
44733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SizerItemSizer" "', expected argument " "1"" of type '" "wxSizer *""'");
44735 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44736 if (!SWIG_IsOK(ecode2
)) {
44737 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SizerItemSizer" "', expected argument " "2"" of type '" "int""'");
44739 arg2
= static_cast< int >(val2
);
44740 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44741 if (!SWIG_IsOK(ecode3
)) {
44742 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SizerItemSizer" "', expected argument " "3"" of type '" "int""'");
44744 arg3
= static_cast< int >(val3
);
44745 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
44746 if (!SWIG_IsOK(ecode4
)) {
44747 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_SizerItemSizer" "', expected argument " "4"" of type '" "int""'");
44749 arg4
= static_cast< int >(val4
);
44754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44755 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
44756 wxPyEndAllowThreads(__tstate
);
44757 if (PyErr_Occurred()) SWIG_fail
;
44759 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_OWN
| 0 );
44766 SWIGINTERN PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44767 PyObject
*resultobj
= 0;
44768 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
44771 PyObject
*swig_obj
[1] ;
44773 if (!args
) SWIG_fail
;
44774 swig_obj
[0] = args
;
44775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
44776 if (!SWIG_IsOK(res1
)) {
44777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_DeleteWindows" "', expected argument " "1"" of type '" "wxSizerItem *""'");
44779 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
44781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44782 (arg1
)->DeleteWindows();
44783 wxPyEndAllowThreads(__tstate
);
44784 if (PyErr_Occurred()) SWIG_fail
;
44786 resultobj
= SWIG_Py_Void();
44793 SWIGINTERN PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44794 PyObject
*resultobj
= 0;
44795 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
44798 PyObject
*swig_obj
[1] ;
44800 if (!args
) SWIG_fail
;
44801 swig_obj
[0] = args
;
44802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
44803 if (!SWIG_IsOK(res1
)) {
44804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_DetachSizer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
44806 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
44808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44809 (arg1
)->DetachSizer();
44810 wxPyEndAllowThreads(__tstate
);
44811 if (PyErr_Occurred()) SWIG_fail
;
44813 resultobj
= SWIG_Py_Void();
44820 SWIGINTERN PyObject
*_wrap_SizerItem_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44821 PyObject
*resultobj
= 0;
44822 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
44826 PyObject
*swig_obj
[1] ;
44828 if (!args
) SWIG_fail
;
44829 swig_obj
[0] = args
;
44830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
44831 if (!SWIG_IsOK(res1
)) {
44832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetSize" "', expected argument " "1"" of type '" "wxSizerItem *""'");
44834 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
44836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44837 result
= (arg1
)->GetSize();
44838 wxPyEndAllowThreads(__tstate
);
44839 if (PyErr_Occurred()) SWIG_fail
;
44841 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
44848 SWIGINTERN PyObject
*_wrap_SizerItem_CalcMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44849 PyObject
*resultobj
= 0;
44850 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
44854 PyObject
*swig_obj
[1] ;
44856 if (!args
) SWIG_fail
;
44857 swig_obj
[0] = args
;
44858 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
44859 if (!SWIG_IsOK(res1
)) {
44860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_CalcMin" "', expected argument " "1"" of type '" "wxSizerItem *""'");
44862 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
44864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44865 result
= (arg1
)->CalcMin();
44866 wxPyEndAllowThreads(__tstate
);
44867 if (PyErr_Occurred()) SWIG_fail
;
44869 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
44876 SWIGINTERN PyObject
*_wrap_SizerItem_SetDimension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44877 PyObject
*resultobj
= 0;
44878 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
44879 wxPoint
*arg2
= 0 ;
44885 PyObject
* obj0
= 0 ;
44886 PyObject
* obj1
= 0 ;
44887 PyObject
* obj2
= 0 ;
44888 char * kwnames
[] = {
44889 (char *) "self",(char *) "pos",(char *) "size", NULL
44892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
44893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
44894 if (!SWIG_IsOK(res1
)) {
44895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetDimension" "', expected argument " "1"" of type '" "wxSizerItem *""'");
44897 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
44900 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
44904 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
44907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44908 (arg1
)->SetDimension((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
44909 wxPyEndAllowThreads(__tstate
);
44910 if (PyErr_Occurred()) SWIG_fail
;
44912 resultobj
= SWIG_Py_Void();
44919 SWIGINTERN PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44920 PyObject
*resultobj
= 0;
44921 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
44925 PyObject
*swig_obj
[1] ;
44927 if (!args
) SWIG_fail
;
44928 swig_obj
[0] = args
;
44929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
44930 if (!SWIG_IsOK(res1
)) {
44931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetMinSize" "', expected argument " "1"" of type '" "wxSizerItem *""'");
44933 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
44935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44936 result
= (arg1
)->GetMinSize();
44937 wxPyEndAllowThreads(__tstate
);
44938 if (PyErr_Occurred()) SWIG_fail
;
44940 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
44947 SWIGINTERN PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44948 PyObject
*resultobj
= 0;
44949 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
44953 PyObject
*swig_obj
[1] ;
44955 if (!args
) SWIG_fail
;
44956 swig_obj
[0] = args
;
44957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
44958 if (!SWIG_IsOK(res1
)) {
44959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetMinSizeWithBorder" "', expected argument " "1"" of type '" "wxSizerItem const *""'");
44961 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
44963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44964 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
44965 wxPyEndAllowThreads(__tstate
);
44966 if (PyErr_Occurred()) SWIG_fail
;
44968 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
44975 SWIGINTERN PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44976 PyObject
*resultobj
= 0;
44977 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
44986 PyObject
* obj0
= 0 ;
44987 PyObject
* obj1
= 0 ;
44988 PyObject
* obj2
= 0 ;
44989 char * kwnames
[] = {
44990 (char *) "self",(char *) "x",(char *) "y", NULL
44993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
44994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
44995 if (!SWIG_IsOK(res1
)) {
44996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetInitSize" "', expected argument " "1"" of type '" "wxSizerItem *""'");
44998 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
44999 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45000 if (!SWIG_IsOK(ecode2
)) {
45001 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_SetInitSize" "', expected argument " "2"" of type '" "int""'");
45003 arg2
= static_cast< int >(val2
);
45004 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45005 if (!SWIG_IsOK(ecode3
)) {
45006 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SizerItem_SetInitSize" "', expected argument " "3"" of type '" "int""'");
45008 arg3
= static_cast< int >(val3
);
45010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45011 (arg1
)->SetInitSize(arg2
,arg3
);
45012 wxPyEndAllowThreads(__tstate
);
45013 if (PyErr_Occurred()) SWIG_fail
;
45015 resultobj
= SWIG_Py_Void();
45022 SWIGINTERN PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45023 PyObject
*resultobj
= 0;
45024 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45033 PyObject
* obj0
= 0 ;
45034 PyObject
* obj1
= 0 ;
45035 PyObject
* obj2
= 0 ;
45036 char * kwnames
[] = {
45037 (char *) "self",(char *) "width",(char *) "height", NULL
45040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45042 if (!SWIG_IsOK(res1
)) {
45043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetRatioWH" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45045 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45046 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45047 if (!SWIG_IsOK(ecode2
)) {
45048 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_SetRatioWH" "', expected argument " "2"" of type '" "int""'");
45050 arg2
= static_cast< int >(val2
);
45051 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45052 if (!SWIG_IsOK(ecode3
)) {
45053 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SizerItem_SetRatioWH" "', expected argument " "3"" of type '" "int""'");
45055 arg3
= static_cast< int >(val3
);
45057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45058 (arg1
)->SetRatio(arg2
,arg3
);
45059 wxPyEndAllowThreads(__tstate
);
45060 if (PyErr_Occurred()) SWIG_fail
;
45062 resultobj
= SWIG_Py_Void();
45069 SWIGINTERN PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45070 PyObject
*resultobj
= 0;
45071 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45076 PyObject
* obj0
= 0 ;
45077 PyObject
* obj1
= 0 ;
45078 char * kwnames
[] = {
45079 (char *) "self",(char *) "size", NULL
45082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45084 if (!SWIG_IsOK(res1
)) {
45085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetRatioSize" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45087 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45090 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
45093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45094 (arg1
)->SetRatio((wxSize
const &)*arg2
);
45095 wxPyEndAllowThreads(__tstate
);
45096 if (PyErr_Occurred()) SWIG_fail
;
45098 resultobj
= SWIG_Py_Void();
45105 SWIGINTERN PyObject
*_wrap_SizerItem_SetRatio(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45106 PyObject
*resultobj
= 0;
45107 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45113 PyObject
* obj0
= 0 ;
45114 PyObject
* obj1
= 0 ;
45115 char * kwnames
[] = {
45116 (char *) "self",(char *) "ratio", NULL
45119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45121 if (!SWIG_IsOK(res1
)) {
45122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetRatio" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45124 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45125 ecode2
= SWIG_AsVal_float(obj1
, &val2
);
45126 if (!SWIG_IsOK(ecode2
)) {
45127 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_SetRatio" "', expected argument " "2"" of type '" "float""'");
45129 arg2
= static_cast< float >(val2
);
45131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45132 (arg1
)->SetRatio(arg2
);
45133 wxPyEndAllowThreads(__tstate
);
45134 if (PyErr_Occurred()) SWIG_fail
;
45136 resultobj
= SWIG_Py_Void();
45143 SWIGINTERN PyObject
*_wrap_SizerItem_GetRatio(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45144 PyObject
*resultobj
= 0;
45145 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45149 PyObject
*swig_obj
[1] ;
45151 if (!args
) SWIG_fail
;
45152 swig_obj
[0] = args
;
45153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45154 if (!SWIG_IsOK(res1
)) {
45155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetRatio" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45157 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45160 result
= (float)(arg1
)->GetRatio();
45161 wxPyEndAllowThreads(__tstate
);
45162 if (PyErr_Occurred()) SWIG_fail
;
45164 resultobj
= SWIG_From_float(static_cast< float >(result
));
45171 SWIGINTERN PyObject
*_wrap_SizerItem_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45172 PyObject
*resultobj
= 0;
45173 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45177 PyObject
*swig_obj
[1] ;
45179 if (!args
) SWIG_fail
;
45180 swig_obj
[0] = args
;
45181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45182 if (!SWIG_IsOK(res1
)) {
45183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetRect" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45185 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45188 result
= (arg1
)->GetRect();
45189 wxPyEndAllowThreads(__tstate
);
45190 if (PyErr_Occurred()) SWIG_fail
;
45192 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
45199 SWIGINTERN PyObject
*_wrap_SizerItem_IsWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45200 PyObject
*resultobj
= 0;
45201 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45205 PyObject
*swig_obj
[1] ;
45207 if (!args
) SWIG_fail
;
45208 swig_obj
[0] = args
;
45209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45210 if (!SWIG_IsOK(res1
)) {
45211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_IsWindow" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45213 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45216 result
= (bool)(arg1
)->IsWindow();
45217 wxPyEndAllowThreads(__tstate
);
45218 if (PyErr_Occurred()) SWIG_fail
;
45221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45229 SWIGINTERN PyObject
*_wrap_SizerItem_IsSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45230 PyObject
*resultobj
= 0;
45231 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45235 PyObject
*swig_obj
[1] ;
45237 if (!args
) SWIG_fail
;
45238 swig_obj
[0] = args
;
45239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45240 if (!SWIG_IsOK(res1
)) {
45241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_IsSizer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45243 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45246 result
= (bool)(arg1
)->IsSizer();
45247 wxPyEndAllowThreads(__tstate
);
45248 if (PyErr_Occurred()) SWIG_fail
;
45251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45259 SWIGINTERN PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45260 PyObject
*resultobj
= 0;
45261 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45265 PyObject
*swig_obj
[1] ;
45267 if (!args
) SWIG_fail
;
45268 swig_obj
[0] = args
;
45269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45270 if (!SWIG_IsOK(res1
)) {
45271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_IsSpacer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45273 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45276 result
= (bool)(arg1
)->IsSpacer();
45277 wxPyEndAllowThreads(__tstate
);
45278 if (PyErr_Occurred()) SWIG_fail
;
45281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45289 SWIGINTERN PyObject
*_wrap_SizerItem_SetProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45290 PyObject
*resultobj
= 0;
45291 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45297 PyObject
* obj0
= 0 ;
45298 PyObject
* obj1
= 0 ;
45299 char * kwnames
[] = {
45300 (char *) "self",(char *) "proportion", NULL
45303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45305 if (!SWIG_IsOK(res1
)) {
45306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetProportion" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45308 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45309 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45310 if (!SWIG_IsOK(ecode2
)) {
45311 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_SetProportion" "', expected argument " "2"" of type '" "int""'");
45313 arg2
= static_cast< int >(val2
);
45315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45316 (arg1
)->SetProportion(arg2
);
45317 wxPyEndAllowThreads(__tstate
);
45318 if (PyErr_Occurred()) SWIG_fail
;
45320 resultobj
= SWIG_Py_Void();
45327 SWIGINTERN PyObject
*_wrap_SizerItem_GetProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45328 PyObject
*resultobj
= 0;
45329 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45333 PyObject
*swig_obj
[1] ;
45335 if (!args
) SWIG_fail
;
45336 swig_obj
[0] = args
;
45337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45338 if (!SWIG_IsOK(res1
)) {
45339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetProportion" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45341 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45344 result
= (int)(arg1
)->GetProportion();
45345 wxPyEndAllowThreads(__tstate
);
45346 if (PyErr_Occurred()) SWIG_fail
;
45348 resultobj
= SWIG_From_int(static_cast< int >(result
));
45355 SWIGINTERN PyObject
*_wrap_SizerItem_SetFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45356 PyObject
*resultobj
= 0;
45357 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45363 PyObject
* obj0
= 0 ;
45364 PyObject
* obj1
= 0 ;
45365 char * kwnames
[] = {
45366 (char *) "self",(char *) "flag", NULL
45369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45371 if (!SWIG_IsOK(res1
)) {
45372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetFlag" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45374 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45375 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45376 if (!SWIG_IsOK(ecode2
)) {
45377 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_SetFlag" "', expected argument " "2"" of type '" "int""'");
45379 arg2
= static_cast< int >(val2
);
45381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45382 (arg1
)->SetFlag(arg2
);
45383 wxPyEndAllowThreads(__tstate
);
45384 if (PyErr_Occurred()) SWIG_fail
;
45386 resultobj
= SWIG_Py_Void();
45393 SWIGINTERN PyObject
*_wrap_SizerItem_GetFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45394 PyObject
*resultobj
= 0;
45395 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45399 PyObject
*swig_obj
[1] ;
45401 if (!args
) SWIG_fail
;
45402 swig_obj
[0] = args
;
45403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45404 if (!SWIG_IsOK(res1
)) {
45405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetFlag" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45407 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45410 result
= (int)(arg1
)->GetFlag();
45411 wxPyEndAllowThreads(__tstate
);
45412 if (PyErr_Occurred()) SWIG_fail
;
45414 resultobj
= SWIG_From_int(static_cast< int >(result
));
45421 SWIGINTERN PyObject
*_wrap_SizerItem_SetBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45422 PyObject
*resultobj
= 0;
45423 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45429 PyObject
* obj0
= 0 ;
45430 PyObject
* obj1
= 0 ;
45431 char * kwnames
[] = {
45432 (char *) "self",(char *) "border", NULL
45435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45437 if (!SWIG_IsOK(res1
)) {
45438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetBorder" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45440 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45441 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45442 if (!SWIG_IsOK(ecode2
)) {
45443 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_SetBorder" "', expected argument " "2"" of type '" "int""'");
45445 arg2
= static_cast< int >(val2
);
45447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45448 (arg1
)->SetBorder(arg2
);
45449 wxPyEndAllowThreads(__tstate
);
45450 if (PyErr_Occurred()) SWIG_fail
;
45452 resultobj
= SWIG_Py_Void();
45459 SWIGINTERN PyObject
*_wrap_SizerItem_GetBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45460 PyObject
*resultobj
= 0;
45461 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45465 PyObject
*swig_obj
[1] ;
45467 if (!args
) SWIG_fail
;
45468 swig_obj
[0] = args
;
45469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45470 if (!SWIG_IsOK(res1
)) {
45471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetBorder" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45473 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45476 result
= (int)(arg1
)->GetBorder();
45477 wxPyEndAllowThreads(__tstate
);
45478 if (PyErr_Occurred()) SWIG_fail
;
45480 resultobj
= SWIG_From_int(static_cast< int >(result
));
45487 SWIGINTERN PyObject
*_wrap_SizerItem_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45488 PyObject
*resultobj
= 0;
45489 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45490 wxWindow
*result
= 0 ;
45493 PyObject
*swig_obj
[1] ;
45495 if (!args
) SWIG_fail
;
45496 swig_obj
[0] = args
;
45497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45498 if (!SWIG_IsOK(res1
)) {
45499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetWindow" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45501 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45504 result
= (wxWindow
*)(arg1
)->GetWindow();
45505 wxPyEndAllowThreads(__tstate
);
45506 if (PyErr_Occurred()) SWIG_fail
;
45509 resultobj
= wxPyMake_wxObject(result
, 0);
45517 SWIGINTERN PyObject
*_wrap_SizerItem_SetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45518 PyObject
*resultobj
= 0;
45519 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45520 wxWindow
*arg2
= (wxWindow
*) 0 ;
45525 PyObject
* obj0
= 0 ;
45526 PyObject
* obj1
= 0 ;
45527 char * kwnames
[] = {
45528 (char *) "self",(char *) "window", NULL
45531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45533 if (!SWIG_IsOK(res1
)) {
45534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetWindow" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45536 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45537 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45538 if (!SWIG_IsOK(res2
)) {
45539 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SizerItem_SetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
45541 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
45543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45544 (arg1
)->SetWindow(arg2
);
45545 wxPyEndAllowThreads(__tstate
);
45546 if (PyErr_Occurred()) SWIG_fail
;
45548 resultobj
= SWIG_Py_Void();
45555 SWIGINTERN PyObject
*_wrap_SizerItem_GetSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45556 PyObject
*resultobj
= 0;
45557 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45558 wxSizer
*result
= 0 ;
45561 PyObject
*swig_obj
[1] ;
45563 if (!args
) SWIG_fail
;
45564 swig_obj
[0] = args
;
45565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45566 if (!SWIG_IsOK(res1
)) {
45567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetSizer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45569 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45572 result
= (wxSizer
*)(arg1
)->GetSizer();
45573 wxPyEndAllowThreads(__tstate
);
45574 if (PyErr_Occurred()) SWIG_fail
;
45577 resultobj
= wxPyMake_wxObject(result
, (bool)0);
45585 SWIGINTERN PyObject
*_wrap_SizerItem_SetSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45586 PyObject
*resultobj
= 0;
45587 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45588 wxSizer
*arg2
= (wxSizer
*) 0 ;
45592 PyObject
* obj0
= 0 ;
45593 PyObject
* obj1
= 0 ;
45594 char * kwnames
[] = {
45595 (char *) "self",(char *) "sizer", NULL
45598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45600 if (!SWIG_IsOK(res1
)) {
45601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetSizer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45603 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45604 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxSizer
, SWIG_POINTER_DISOWN
| 0 );
45605 if (!SWIG_IsOK(res2
)) {
45606 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SizerItem_SetSizer" "', expected argument " "2"" of type '" "wxSizer *""'");
45609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45610 (arg1
)->SetSizer(arg2
);
45611 wxPyEndAllowThreads(__tstate
);
45612 if (PyErr_Occurred()) SWIG_fail
;
45614 resultobj
= SWIG_Py_Void();
45621 SWIGINTERN PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45622 PyObject
*resultobj
= 0;
45623 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45624 wxSize
*result
= 0 ;
45627 PyObject
*swig_obj
[1] ;
45629 if (!args
) SWIG_fail
;
45630 swig_obj
[0] = args
;
45631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45632 if (!SWIG_IsOK(res1
)) {
45633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetSpacer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45635 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45639 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
45640 result
= (wxSize
*) &_result_ref
;
45642 wxPyEndAllowThreads(__tstate
);
45643 if (PyErr_Occurred()) SWIG_fail
;
45645 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
45652 SWIGINTERN PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45653 PyObject
*resultobj
= 0;
45654 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45659 PyObject
* obj0
= 0 ;
45660 PyObject
* obj1
= 0 ;
45661 char * kwnames
[] = {
45662 (char *) "self",(char *) "size", NULL
45665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45667 if (!SWIG_IsOK(res1
)) {
45668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetSpacer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45670 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45673 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
45676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45677 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
45678 wxPyEndAllowThreads(__tstate
);
45679 if (PyErr_Occurred()) SWIG_fail
;
45681 resultobj
= SWIG_Py_Void();
45688 SWIGINTERN PyObject
*_wrap_SizerItem_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45689 PyObject
*resultobj
= 0;
45690 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45696 PyObject
* obj0
= 0 ;
45697 PyObject
* obj1
= 0 ;
45698 char * kwnames
[] = {
45699 (char *) "self",(char *) "show", NULL
45702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45704 if (!SWIG_IsOK(res1
)) {
45705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_Show" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45707 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45708 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
45709 if (!SWIG_IsOK(ecode2
)) {
45710 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_Show" "', expected argument " "2"" of type '" "bool""'");
45712 arg2
= static_cast< bool >(val2
);
45714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45715 (arg1
)->Show(arg2
);
45716 wxPyEndAllowThreads(__tstate
);
45717 if (PyErr_Occurred()) SWIG_fail
;
45719 resultobj
= SWIG_Py_Void();
45726 SWIGINTERN PyObject
*_wrap_SizerItem_IsShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45727 PyObject
*resultobj
= 0;
45728 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45732 PyObject
*swig_obj
[1] ;
45734 if (!args
) SWIG_fail
;
45735 swig_obj
[0] = args
;
45736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45737 if (!SWIG_IsOK(res1
)) {
45738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_IsShown" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45740 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45743 result
= (bool)(arg1
)->IsShown();
45744 wxPyEndAllowThreads(__tstate
);
45745 if (PyErr_Occurred()) SWIG_fail
;
45748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45756 SWIGINTERN PyObject
*_wrap_SizerItem_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45757 PyObject
*resultobj
= 0;
45758 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45762 PyObject
*swig_obj
[1] ;
45764 if (!args
) SWIG_fail
;
45765 swig_obj
[0] = args
;
45766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45767 if (!SWIG_IsOK(res1
)) {
45768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetPosition" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45770 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45773 result
= (arg1
)->GetPosition();
45774 wxPyEndAllowThreads(__tstate
);
45775 if (PyErr_Occurred()) SWIG_fail
;
45777 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
45784 SWIGINTERN PyObject
*_wrap_SizerItem_GetUserData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45785 PyObject
*resultobj
= 0;
45786 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45787 PyObject
*result
= 0 ;
45790 PyObject
*swig_obj
[1] ;
45792 if (!args
) SWIG_fail
;
45793 swig_obj
[0] = args
;
45794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45795 if (!SWIG_IsOK(res1
)) {
45796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetUserData" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45798 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45801 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
45802 wxPyEndAllowThreads(__tstate
);
45803 if (PyErr_Occurred()) SWIG_fail
;
45805 resultobj
= result
;
45812 SWIGINTERN PyObject
*_wrap_SizerItem_SetUserData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45813 PyObject
*resultobj
= 0;
45814 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45815 PyObject
*arg2
= (PyObject
*) 0 ;
45818 PyObject
* obj0
= 0 ;
45819 PyObject
* obj1
= 0 ;
45820 char * kwnames
[] = {
45821 (char *) "self",(char *) "userData", NULL
45824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetUserData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45826 if (!SWIG_IsOK(res1
)) {
45827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetUserData" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45829 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45833 wxSizerItem_SetUserData(arg1
,arg2
);
45834 wxPyEndAllowThreads(__tstate
);
45835 if (PyErr_Occurred()) SWIG_fail
;
45837 resultobj
= SWIG_Py_Void();
45844 SWIGINTERN PyObject
*SizerItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45846 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45847 SWIG_TypeNewClientData(SWIGTYPE_p_wxSizerItem
, SWIG_NewClientData(obj
));
45848 return SWIG_Py_Void();
45851 SWIGINTERN PyObject
*SizerItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45852 return SWIG_Python_InitShadowInstance(args
);
45855 SWIGINTERN PyObject
*_wrap_delete_Sizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45856 PyObject
*resultobj
= 0;
45857 wxSizer
*arg1
= (wxSizer
*) 0 ;
45860 PyObject
*swig_obj
[1] ;
45862 if (!args
) SWIG_fail
;
45863 swig_obj
[0] = args
;
45864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, SWIG_POINTER_DISOWN
| 0 );
45865 if (!SWIG_IsOK(res1
)) {
45866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Sizer" "', expected argument " "1"" of type '" "wxSizer *""'");
45868 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
45870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45873 wxPyEndAllowThreads(__tstate
);
45874 if (PyErr_Occurred()) SWIG_fail
;
45876 resultobj
= SWIG_Py_Void();
45883 SWIGINTERN PyObject
*_wrap_Sizer__setOORInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45884 PyObject
*resultobj
= 0;
45885 wxSizer
*arg1
= (wxSizer
*) 0 ;
45886 PyObject
*arg2
= (PyObject
*) 0 ;
45889 PyObject
* obj0
= 0 ;
45890 PyObject
* obj1
= 0 ;
45891 char * kwnames
[] = {
45892 (char *) "self",(char *) "_self", NULL
45895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
45897 if (!SWIG_IsOK(res1
)) {
45898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer__setOORInfo" "', expected argument " "1"" of type '" "wxSizer *""'");
45900 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
45903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45904 wxSizer__setOORInfo(arg1
,arg2
);
45905 wxPyEndAllowThreads(__tstate
);
45906 if (PyErr_Occurred()) SWIG_fail
;
45908 resultobj
= SWIG_Py_Void();
45915 SWIGINTERN PyObject
*_wrap_Sizer_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45916 PyObject
*resultobj
= 0;
45917 wxSizer
*arg1
= (wxSizer
*) 0 ;
45918 PyObject
*arg2
= (PyObject
*) 0 ;
45919 int arg3
= (int) 0 ;
45920 int arg4
= (int) 0 ;
45921 int arg5
= (int) 0 ;
45922 PyObject
*arg6
= (PyObject
*) NULL
;
45923 wxSizerItem
*result
= 0 ;
45932 PyObject
* obj0
= 0 ;
45933 PyObject
* obj1
= 0 ;
45934 PyObject
* obj2
= 0 ;
45935 PyObject
* obj3
= 0 ;
45936 PyObject
* obj4
= 0 ;
45937 PyObject
* obj5
= 0 ;
45938 char * kwnames
[] = {
45939 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
45942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
45943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
45944 if (!SWIG_IsOK(res1
)) {
45945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Add" "', expected argument " "1"" of type '" "wxSizer *""'");
45947 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
45950 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45951 if (!SWIG_IsOK(ecode3
)) {
45952 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Sizer_Add" "', expected argument " "3"" of type '" "int""'");
45954 arg3
= static_cast< int >(val3
);
45957 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
45958 if (!SWIG_IsOK(ecode4
)) {
45959 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Sizer_Add" "', expected argument " "4"" of type '" "int""'");
45961 arg4
= static_cast< int >(val4
);
45964 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
45965 if (!SWIG_IsOK(ecode5
)) {
45966 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Sizer_Add" "', expected argument " "5"" of type '" "int""'");
45968 arg5
= static_cast< int >(val5
);
45974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45975 result
= (wxSizerItem
*)wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
45976 wxPyEndAllowThreads(__tstate
);
45977 if (PyErr_Occurred()) SWIG_fail
;
45979 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45986 SWIGINTERN PyObject
*_wrap_Sizer_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45987 PyObject
*resultobj
= 0;
45988 wxSizer
*arg1
= (wxSizer
*) 0 ;
45990 PyObject
*arg3
= (PyObject
*) 0 ;
45991 int arg4
= (int) 0 ;
45992 int arg5
= (int) 0 ;
45993 int arg6
= (int) 0 ;
45994 PyObject
*arg7
= (PyObject
*) NULL
;
45995 wxSizerItem
*result
= 0 ;
46006 PyObject
* obj0
= 0 ;
46007 PyObject
* obj1
= 0 ;
46008 PyObject
* obj2
= 0 ;
46009 PyObject
* obj3
= 0 ;
46010 PyObject
* obj4
= 0 ;
46011 PyObject
* obj5
= 0 ;
46012 PyObject
* obj6
= 0 ;
46013 char * kwnames
[] = {
46014 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
46017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
46018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46019 if (!SWIG_IsOK(res1
)) {
46020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Insert" "', expected argument " "1"" of type '" "wxSizer *""'");
46022 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46023 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
46024 if (!SWIG_IsOK(ecode2
)) {
46025 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sizer_Insert" "', expected argument " "2"" of type '" "int""'");
46027 arg2
= static_cast< int >(val2
);
46030 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
46031 if (!SWIG_IsOK(ecode4
)) {
46032 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Sizer_Insert" "', expected argument " "4"" of type '" "int""'");
46034 arg4
= static_cast< int >(val4
);
46037 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
46038 if (!SWIG_IsOK(ecode5
)) {
46039 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Sizer_Insert" "', expected argument " "5"" of type '" "int""'");
46041 arg5
= static_cast< int >(val5
);
46044 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
46045 if (!SWIG_IsOK(ecode6
)) {
46046 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Sizer_Insert" "', expected argument " "6"" of type '" "int""'");
46048 arg6
= static_cast< int >(val6
);
46054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46055 result
= (wxSizerItem
*)wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
46056 wxPyEndAllowThreads(__tstate
);
46057 if (PyErr_Occurred()) SWIG_fail
;
46059 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46066 SWIGINTERN PyObject
*_wrap_Sizer_Prepend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46067 PyObject
*resultobj
= 0;
46068 wxSizer
*arg1
= (wxSizer
*) 0 ;
46069 PyObject
*arg2
= (PyObject
*) 0 ;
46070 int arg3
= (int) 0 ;
46071 int arg4
= (int) 0 ;
46072 int arg5
= (int) 0 ;
46073 PyObject
*arg6
= (PyObject
*) NULL
;
46074 wxSizerItem
*result
= 0 ;
46083 PyObject
* obj0
= 0 ;
46084 PyObject
* obj1
= 0 ;
46085 PyObject
* obj2
= 0 ;
46086 PyObject
* obj3
= 0 ;
46087 PyObject
* obj4
= 0 ;
46088 PyObject
* obj5
= 0 ;
46089 char * kwnames
[] = {
46090 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
46093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
46094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46095 if (!SWIG_IsOK(res1
)) {
46096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Prepend" "', expected argument " "1"" of type '" "wxSizer *""'");
46098 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46101 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
46102 if (!SWIG_IsOK(ecode3
)) {
46103 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Sizer_Prepend" "', expected argument " "3"" of type '" "int""'");
46105 arg3
= static_cast< int >(val3
);
46108 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
46109 if (!SWIG_IsOK(ecode4
)) {
46110 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Sizer_Prepend" "', expected argument " "4"" of type '" "int""'");
46112 arg4
= static_cast< int >(val4
);
46115 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
46116 if (!SWIG_IsOK(ecode5
)) {
46117 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Sizer_Prepend" "', expected argument " "5"" of type '" "int""'");
46119 arg5
= static_cast< int >(val5
);
46125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46126 result
= (wxSizerItem
*)wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
46127 wxPyEndAllowThreads(__tstate
);
46128 if (PyErr_Occurred()) SWIG_fail
;
46130 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46137 SWIGINTERN PyObject
*_wrap_Sizer_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46138 PyObject
*resultobj
= 0;
46139 wxSizer
*arg1
= (wxSizer
*) 0 ;
46140 PyObject
*arg2
= (PyObject
*) 0 ;
46144 PyObject
* obj0
= 0 ;
46145 PyObject
* obj1
= 0 ;
46146 char * kwnames
[] = {
46147 (char *) "self",(char *) "item", NULL
46150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46152 if (!SWIG_IsOK(res1
)) {
46153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Remove" "', expected argument " "1"" of type '" "wxSizer *""'");
46155 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46159 result
= (bool)wxSizer_Remove(arg1
,arg2
);
46160 wxPyEndAllowThreads(__tstate
);
46161 if (PyErr_Occurred()) SWIG_fail
;
46164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46172 SWIGINTERN PyObject
*_wrap_Sizer_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46173 PyObject
*resultobj
= 0;
46174 wxSizer
*arg1
= (wxSizer
*) 0 ;
46175 PyObject
*arg2
= (PyObject
*) 0 ;
46179 PyObject
* obj0
= 0 ;
46180 PyObject
* obj1
= 0 ;
46181 char * kwnames
[] = {
46182 (char *) "self",(char *) "item", NULL
46185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46187 if (!SWIG_IsOK(res1
)) {
46188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Detach" "', expected argument " "1"" of type '" "wxSizer *""'");
46190 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46194 result
= (bool)wxSizer_Detach(arg1
,arg2
);
46195 wxPyEndAllowThreads(__tstate
);
46196 if (PyErr_Occurred()) SWIG_fail
;
46199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46207 SWIGINTERN PyObject
*_wrap_Sizer_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46208 PyObject
*resultobj
= 0;
46209 wxSizer
*arg1
= (wxSizer
*) 0 ;
46210 PyObject
*arg2
= (PyObject
*) 0 ;
46211 wxSizerItem
*result
= 0 ;
46214 PyObject
* obj0
= 0 ;
46215 PyObject
* obj1
= 0 ;
46216 char * kwnames
[] = {
46217 (char *) "self",(char *) "item", NULL
46220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_GetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46222 if (!SWIG_IsOK(res1
)) {
46223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_GetItem" "', expected argument " "1"" of type '" "wxSizer *""'");
46225 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46229 result
= (wxSizerItem
*)wxSizer_GetItem(arg1
,arg2
);
46230 wxPyEndAllowThreads(__tstate
);
46231 if (PyErr_Occurred()) SWIG_fail
;
46233 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46240 SWIGINTERN PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46241 PyObject
*resultobj
= 0;
46242 wxSizer
*arg1
= (wxSizer
*) 0 ;
46243 PyObject
*arg2
= (PyObject
*) 0 ;
46248 PyObject
* obj0
= 0 ;
46249 PyObject
* obj1
= 0 ;
46250 PyObject
* obj2
= 0 ;
46251 char * kwnames
[] = {
46252 (char *) "self",(char *) "item",(char *) "size", NULL
46255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
46256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46257 if (!SWIG_IsOK(res1
)) {
46258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer__SetItemMinSize" "', expected argument " "1"" of type '" "wxSizer *""'");
46260 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46264 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
46267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46268 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
46269 wxPyEndAllowThreads(__tstate
);
46270 if (PyErr_Occurred()) SWIG_fail
;
46272 resultobj
= SWIG_Py_Void();
46279 SWIGINTERN PyObject
*_wrap_Sizer_AddItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46280 PyObject
*resultobj
= 0;
46281 wxSizer
*arg1
= (wxSizer
*) 0 ;
46282 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
46283 wxSizerItem
*result
= 0 ;
46287 PyObject
* obj0
= 0 ;
46288 PyObject
* obj1
= 0 ;
46289 char * kwnames
[] = {
46290 (char *) "self",(char *) "item", NULL
46293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46295 if (!SWIG_IsOK(res1
)) {
46296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_AddItem" "', expected argument " "1"" of type '" "wxSizer *""'");
46298 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46299 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_DISOWN
| 0 );
46300 if (!SWIG_IsOK(res2
)) {
46301 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_AddItem" "', expected argument " "2"" of type '" "wxSizerItem *""'");
46304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46305 result
= (wxSizerItem
*)(arg1
)->Add(arg2
);
46306 wxPyEndAllowThreads(__tstate
);
46307 if (PyErr_Occurred()) SWIG_fail
;
46309 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46316 SWIGINTERN PyObject
*_wrap_Sizer_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46317 PyObject
*resultobj
= 0;
46318 wxSizer
*arg1
= (wxSizer
*) 0 ;
46320 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
46321 wxSizerItem
*result
= 0 ;
46327 PyObject
* obj0
= 0 ;
46328 PyObject
* obj1
= 0 ;
46329 PyObject
* obj2
= 0 ;
46330 char * kwnames
[] = {
46331 (char *) "self",(char *) "index",(char *) "item", NULL
46334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
46335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46336 if (!SWIG_IsOK(res1
)) {
46337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_InsertItem" "', expected argument " "1"" of type '" "wxSizer *""'");
46339 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46340 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
46341 if (!SWIG_IsOK(ecode2
)) {
46342 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sizer_InsertItem" "', expected argument " "2"" of type '" "size_t""'");
46344 arg2
= static_cast< size_t >(val2
);
46345 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_DISOWN
| 0 );
46346 if (!SWIG_IsOK(res3
)) {
46347 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Sizer_InsertItem" "', expected argument " "3"" of type '" "wxSizerItem *""'");
46350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46351 result
= (wxSizerItem
*)(arg1
)->Insert(arg2
,arg3
);
46352 wxPyEndAllowThreads(__tstate
);
46353 if (PyErr_Occurred()) SWIG_fail
;
46355 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46362 SWIGINTERN PyObject
*_wrap_Sizer_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46363 PyObject
*resultobj
= 0;
46364 wxSizer
*arg1
= (wxSizer
*) 0 ;
46365 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
46366 wxSizerItem
*result
= 0 ;
46370 PyObject
* obj0
= 0 ;
46371 PyObject
* obj1
= 0 ;
46372 char * kwnames
[] = {
46373 (char *) "self",(char *) "item", NULL
46376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46378 if (!SWIG_IsOK(res1
)) {
46379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_PrependItem" "', expected argument " "1"" of type '" "wxSizer *""'");
46381 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46382 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_DISOWN
| 0 );
46383 if (!SWIG_IsOK(res2
)) {
46384 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_PrependItem" "', expected argument " "2"" of type '" "wxSizerItem *""'");
46387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46388 result
= (wxSizerItem
*)(arg1
)->Prepend(arg2
);
46389 wxPyEndAllowThreads(__tstate
);
46390 if (PyErr_Occurred()) SWIG_fail
;
46392 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46399 SWIGINTERN PyObject
*_wrap_Sizer_SetDimension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46400 PyObject
*resultobj
= 0;
46401 wxSizer
*arg1
= (wxSizer
*) 0 ;
46416 PyObject
* obj0
= 0 ;
46417 PyObject
* obj1
= 0 ;
46418 PyObject
* obj2
= 0 ;
46419 PyObject
* obj3
= 0 ;
46420 PyObject
* obj4
= 0 ;
46421 char * kwnames
[] = {
46422 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
46425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
46426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46427 if (!SWIG_IsOK(res1
)) {
46428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_SetDimension" "', expected argument " "1"" of type '" "wxSizer *""'");
46430 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46431 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
46432 if (!SWIG_IsOK(ecode2
)) {
46433 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sizer_SetDimension" "', expected argument " "2"" of type '" "int""'");
46435 arg2
= static_cast< int >(val2
);
46436 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
46437 if (!SWIG_IsOK(ecode3
)) {
46438 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Sizer_SetDimension" "', expected argument " "3"" of type '" "int""'");
46440 arg3
= static_cast< int >(val3
);
46441 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
46442 if (!SWIG_IsOK(ecode4
)) {
46443 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Sizer_SetDimension" "', expected argument " "4"" of type '" "int""'");
46445 arg4
= static_cast< int >(val4
);
46446 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
46447 if (!SWIG_IsOK(ecode5
)) {
46448 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Sizer_SetDimension" "', expected argument " "5"" of type '" "int""'");
46450 arg5
= static_cast< int >(val5
);
46452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46453 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
46454 wxPyEndAllowThreads(__tstate
);
46455 if (PyErr_Occurred()) SWIG_fail
;
46457 resultobj
= SWIG_Py_Void();
46464 SWIGINTERN PyObject
*_wrap_Sizer_SetMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46465 PyObject
*resultobj
= 0;
46466 wxSizer
*arg1
= (wxSizer
*) 0 ;
46471 PyObject
* obj0
= 0 ;
46472 PyObject
* obj1
= 0 ;
46473 char * kwnames
[] = {
46474 (char *) "self",(char *) "size", NULL
46477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46479 if (!SWIG_IsOK(res1
)) {
46480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_SetMinSize" "', expected argument " "1"" of type '" "wxSizer *""'");
46482 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46485 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
46488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46489 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
46490 wxPyEndAllowThreads(__tstate
);
46491 if (PyErr_Occurred()) SWIG_fail
;
46493 resultobj
= SWIG_Py_Void();
46500 SWIGINTERN PyObject
*_wrap_Sizer_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46501 PyObject
*resultobj
= 0;
46502 wxSizer
*arg1
= (wxSizer
*) 0 ;
46506 PyObject
*swig_obj
[1] ;
46508 if (!args
) SWIG_fail
;
46509 swig_obj
[0] = args
;
46510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46511 if (!SWIG_IsOK(res1
)) {
46512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_GetSize" "', expected argument " "1"" of type '" "wxSizer *""'");
46514 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46517 result
= (arg1
)->GetSize();
46518 wxPyEndAllowThreads(__tstate
);
46519 if (PyErr_Occurred()) SWIG_fail
;
46521 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
46528 SWIGINTERN PyObject
*_wrap_Sizer_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46529 PyObject
*resultobj
= 0;
46530 wxSizer
*arg1
= (wxSizer
*) 0 ;
46534 PyObject
*swig_obj
[1] ;
46536 if (!args
) SWIG_fail
;
46537 swig_obj
[0] = args
;
46538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46539 if (!SWIG_IsOK(res1
)) {
46540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_GetPosition" "', expected argument " "1"" of type '" "wxSizer *""'");
46542 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46545 result
= (arg1
)->GetPosition();
46546 wxPyEndAllowThreads(__tstate
);
46547 if (PyErr_Occurred()) SWIG_fail
;
46549 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
46556 SWIGINTERN PyObject
*_wrap_Sizer_GetMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46557 PyObject
*resultobj
= 0;
46558 wxSizer
*arg1
= (wxSizer
*) 0 ;
46562 PyObject
*swig_obj
[1] ;
46564 if (!args
) SWIG_fail
;
46565 swig_obj
[0] = args
;
46566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46567 if (!SWIG_IsOK(res1
)) {
46568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_GetMinSize" "', expected argument " "1"" of type '" "wxSizer *""'");
46570 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46573 result
= (arg1
)->GetMinSize();
46574 wxPyEndAllowThreads(__tstate
);
46575 if (PyErr_Occurred()) SWIG_fail
;
46577 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
46584 SWIGINTERN PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46585 PyObject
*resultobj
= 0;
46586 wxSizer
*arg1
= (wxSizer
*) 0 ;
46589 PyObject
*swig_obj
[1] ;
46591 if (!args
) SWIG_fail
;
46592 swig_obj
[0] = args
;
46593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46594 if (!SWIG_IsOK(res1
)) {
46595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_RecalcSizes" "', expected argument " "1"" of type '" "wxSizer *""'");
46597 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46600 (arg1
)->RecalcSizes();
46601 wxPyEndAllowThreads(__tstate
);
46602 if (PyErr_Occurred()) SWIG_fail
;
46604 resultobj
= SWIG_Py_Void();
46611 SWIGINTERN PyObject
*_wrap_Sizer_CalcMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46612 PyObject
*resultobj
= 0;
46613 wxSizer
*arg1
= (wxSizer
*) 0 ;
46617 PyObject
*swig_obj
[1] ;
46619 if (!args
) SWIG_fail
;
46620 swig_obj
[0] = args
;
46621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46622 if (!SWIG_IsOK(res1
)) {
46623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_CalcMin" "', expected argument " "1"" of type '" "wxSizer *""'");
46625 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46628 result
= (arg1
)->CalcMin();
46629 wxPyEndAllowThreads(__tstate
);
46630 if (PyErr_Occurred()) SWIG_fail
;
46632 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
46639 SWIGINTERN PyObject
*_wrap_Sizer_Layout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46640 PyObject
*resultobj
= 0;
46641 wxSizer
*arg1
= (wxSizer
*) 0 ;
46644 PyObject
*swig_obj
[1] ;
46646 if (!args
) SWIG_fail
;
46647 swig_obj
[0] = args
;
46648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46649 if (!SWIG_IsOK(res1
)) {
46650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Layout" "', expected argument " "1"" of type '" "wxSizer *""'");
46652 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46656 wxPyEndAllowThreads(__tstate
);
46657 if (PyErr_Occurred()) SWIG_fail
;
46659 resultobj
= SWIG_Py_Void();
46666 SWIGINTERN PyObject
*_wrap_Sizer_Fit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46667 PyObject
*resultobj
= 0;
46668 wxSizer
*arg1
= (wxSizer
*) 0 ;
46669 wxWindow
*arg2
= (wxWindow
*) 0 ;
46675 PyObject
* obj0
= 0 ;
46676 PyObject
* obj1
= 0 ;
46677 char * kwnames
[] = {
46678 (char *) "self",(char *) "window", NULL
46681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46683 if (!SWIG_IsOK(res1
)) {
46684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Fit" "', expected argument " "1"" of type '" "wxSizer *""'");
46686 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46687 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
46688 if (!SWIG_IsOK(res2
)) {
46689 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_Fit" "', expected argument " "2"" of type '" "wxWindow *""'");
46691 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
46693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46694 result
= (arg1
)->Fit(arg2
);
46695 wxPyEndAllowThreads(__tstate
);
46696 if (PyErr_Occurred()) SWIG_fail
;
46698 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
46705 SWIGINTERN PyObject
*_wrap_Sizer_FitInside(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46706 PyObject
*resultobj
= 0;
46707 wxSizer
*arg1
= (wxSizer
*) 0 ;
46708 wxWindow
*arg2
= (wxWindow
*) 0 ;
46713 PyObject
* obj0
= 0 ;
46714 PyObject
* obj1
= 0 ;
46715 char * kwnames
[] = {
46716 (char *) "self",(char *) "window", NULL
46719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46721 if (!SWIG_IsOK(res1
)) {
46722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_FitInside" "', expected argument " "1"" of type '" "wxSizer *""'");
46724 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46725 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
46726 if (!SWIG_IsOK(res2
)) {
46727 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_FitInside" "', expected argument " "2"" of type '" "wxWindow *""'");
46729 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
46731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46732 (arg1
)->FitInside(arg2
);
46733 wxPyEndAllowThreads(__tstate
);
46734 if (PyErr_Occurred()) SWIG_fail
;
46736 resultobj
= SWIG_Py_Void();
46743 SWIGINTERN PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46744 PyObject
*resultobj
= 0;
46745 wxSizer
*arg1
= (wxSizer
*) 0 ;
46746 wxWindow
*arg2
= (wxWindow
*) 0 ;
46751 PyObject
* obj0
= 0 ;
46752 PyObject
* obj1
= 0 ;
46753 char * kwnames
[] = {
46754 (char *) "self",(char *) "window", NULL
46757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46759 if (!SWIG_IsOK(res1
)) {
46760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_SetSizeHints" "', expected argument " "1"" of type '" "wxSizer *""'");
46762 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46763 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
46764 if (!SWIG_IsOK(res2
)) {
46765 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_SetSizeHints" "', expected argument " "2"" of type '" "wxWindow *""'");
46767 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
46769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46770 (arg1
)->SetSizeHints(arg2
);
46771 wxPyEndAllowThreads(__tstate
);
46772 if (PyErr_Occurred()) SWIG_fail
;
46774 resultobj
= SWIG_Py_Void();
46781 SWIGINTERN PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46782 PyObject
*resultobj
= 0;
46783 wxSizer
*arg1
= (wxSizer
*) 0 ;
46784 wxWindow
*arg2
= (wxWindow
*) 0 ;
46789 PyObject
* obj0
= 0 ;
46790 PyObject
* obj1
= 0 ;
46791 char * kwnames
[] = {
46792 (char *) "self",(char *) "window", NULL
46795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46797 if (!SWIG_IsOK(res1
)) {
46798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_SetVirtualSizeHints" "', expected argument " "1"" of type '" "wxSizer *""'");
46800 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46801 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
46802 if (!SWIG_IsOK(res2
)) {
46803 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_SetVirtualSizeHints" "', expected argument " "2"" of type '" "wxWindow *""'");
46805 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
46807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46808 (arg1
)->SetVirtualSizeHints(arg2
);
46809 wxPyEndAllowThreads(__tstate
);
46810 if (PyErr_Occurred()) SWIG_fail
;
46812 resultobj
= SWIG_Py_Void();
46819 SWIGINTERN PyObject
*_wrap_Sizer_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46820 PyObject
*resultobj
= 0;
46821 wxSizer
*arg1
= (wxSizer
*) 0 ;
46822 bool arg2
= (bool) false ;
46827 PyObject
* obj0
= 0 ;
46828 PyObject
* obj1
= 0 ;
46829 char * kwnames
[] = {
46830 (char *) "self",(char *) "deleteWindows", NULL
46833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46835 if (!SWIG_IsOK(res1
)) {
46836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Clear" "', expected argument " "1"" of type '" "wxSizer *""'");
46838 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46840 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46841 if (!SWIG_IsOK(ecode2
)) {
46842 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sizer_Clear" "', expected argument " "2"" of type '" "bool""'");
46844 arg2
= static_cast< bool >(val2
);
46847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46848 (arg1
)->Clear(arg2
);
46849 wxPyEndAllowThreads(__tstate
);
46850 if (PyErr_Occurred()) SWIG_fail
;
46852 resultobj
= SWIG_Py_Void();
46859 SWIGINTERN PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46860 PyObject
*resultobj
= 0;
46861 wxSizer
*arg1
= (wxSizer
*) 0 ;
46864 PyObject
*swig_obj
[1] ;
46866 if (!args
) SWIG_fail
;
46867 swig_obj
[0] = args
;
46868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46869 if (!SWIG_IsOK(res1
)) {
46870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_DeleteWindows" "', expected argument " "1"" of type '" "wxSizer *""'");
46872 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46875 (arg1
)->DeleteWindows();
46876 wxPyEndAllowThreads(__tstate
);
46877 if (PyErr_Occurred()) SWIG_fail
;
46879 resultobj
= SWIG_Py_Void();
46886 SWIGINTERN PyObject
*_wrap_Sizer_GetChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46887 PyObject
*resultobj
= 0;
46888 wxSizer
*arg1
= (wxSizer
*) 0 ;
46889 PyObject
*result
= 0 ;
46892 PyObject
*swig_obj
[1] ;
46894 if (!args
) SWIG_fail
;
46895 swig_obj
[0] = args
;
46896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46897 if (!SWIG_IsOK(res1
)) {
46898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_GetChildren" "', expected argument " "1"" of type '" "wxSizer *""'");
46900 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46903 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
46904 wxPyEndAllowThreads(__tstate
);
46905 if (PyErr_Occurred()) SWIG_fail
;
46907 resultobj
= result
;
46914 SWIGINTERN PyObject
*_wrap_Sizer_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46915 PyObject
*resultobj
= 0;
46916 wxSizer
*arg1
= (wxSizer
*) 0 ;
46917 PyObject
*arg2
= (PyObject
*) 0 ;
46918 bool arg3
= (bool) true ;
46919 bool arg4
= (bool) false ;
46927 PyObject
* obj0
= 0 ;
46928 PyObject
* obj1
= 0 ;
46929 PyObject
* obj2
= 0 ;
46930 PyObject
* obj3
= 0 ;
46931 char * kwnames
[] = {
46932 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
46935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
46936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46937 if (!SWIG_IsOK(res1
)) {
46938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Show" "', expected argument " "1"" of type '" "wxSizer *""'");
46940 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46943 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
46944 if (!SWIG_IsOK(ecode3
)) {
46945 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Sizer_Show" "', expected argument " "3"" of type '" "bool""'");
46947 arg3
= static_cast< bool >(val3
);
46950 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
46951 if (!SWIG_IsOK(ecode4
)) {
46952 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Sizer_Show" "', expected argument " "4"" of type '" "bool""'");
46954 arg4
= static_cast< bool >(val4
);
46957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46958 result
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
);
46959 wxPyEndAllowThreads(__tstate
);
46960 if (PyErr_Occurred()) SWIG_fail
;
46963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46971 SWIGINTERN PyObject
*_wrap_Sizer_IsShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46972 PyObject
*resultobj
= 0;
46973 wxSizer
*arg1
= (wxSizer
*) 0 ;
46974 PyObject
*arg2
= (PyObject
*) 0 ;
46978 PyObject
* obj0
= 0 ;
46979 PyObject
* obj1
= 0 ;
46980 char * kwnames
[] = {
46981 (char *) "self",(char *) "item", NULL
46984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46986 if (!SWIG_IsOK(res1
)) {
46987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_IsShown" "', expected argument " "1"" of type '" "wxSizer *""'");
46989 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46993 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
46994 wxPyEndAllowThreads(__tstate
);
46995 if (PyErr_Occurred()) SWIG_fail
;
46998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
47006 SWIGINTERN PyObject
*_wrap_Sizer_ShowItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47007 PyObject
*resultobj
= 0;
47008 wxSizer
*arg1
= (wxSizer
*) 0 ;
47014 PyObject
* obj0
= 0 ;
47015 PyObject
* obj1
= 0 ;
47016 char * kwnames
[] = {
47017 (char *) "self",(char *) "show", NULL
47020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
47022 if (!SWIG_IsOK(res1
)) {
47023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_ShowItems" "', expected argument " "1"" of type '" "wxSizer *""'");
47025 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
47026 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
47027 if (!SWIG_IsOK(ecode2
)) {
47028 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sizer_ShowItems" "', expected argument " "2"" of type '" "bool""'");
47030 arg2
= static_cast< bool >(val2
);
47032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47033 (arg1
)->ShowItems(arg2
);
47034 wxPyEndAllowThreads(__tstate
);
47035 if (PyErr_Occurred()) SWIG_fail
;
47037 resultobj
= SWIG_Py_Void();
47044 SWIGINTERN PyObject
*Sizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47046 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
47047 SWIG_TypeNewClientData(SWIGTYPE_p_wxSizer
, SWIG_NewClientData(obj
));
47048 return SWIG_Py_Void();
47051 SWIGINTERN PyObject
*_wrap_new_PySizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47052 PyObject
*resultobj
= 0;
47053 wxPySizer
*result
= 0 ;
47055 if (!SWIG_Python_UnpackTuple(args
,"new_PySizer",0,0,0)) SWIG_fail
;
47057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47058 result
= (wxPySizer
*)new wxPySizer();
47059 wxPyEndAllowThreads(__tstate
);
47060 if (PyErr_Occurred()) SWIG_fail
;
47062 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPySizer
, SWIG_POINTER_NEW
| 0 );
47069 SWIGINTERN PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47070 PyObject
*resultobj
= 0;
47071 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
47072 PyObject
*arg2
= (PyObject
*) 0 ;
47073 PyObject
*arg3
= (PyObject
*) 0 ;
47076 PyObject
* obj0
= 0 ;
47077 PyObject
* obj1
= 0 ;
47078 PyObject
* obj2
= 0 ;
47079 char * kwnames
[] = {
47080 (char *) "self",(char *) "self",(char *) "_class", NULL
47083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
47084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPySizer
, 0 | 0 );
47085 if (!SWIG_IsOK(res1
)) {
47086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PySizer__setCallbackInfo" "', expected argument " "1"" of type '" "wxPySizer *""'");
47088 arg1
= reinterpret_cast< wxPySizer
* >(argp1
);
47092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47093 (arg1
)->_setCallbackInfo(arg2
,arg3
);
47094 wxPyEndAllowThreads(__tstate
);
47095 if (PyErr_Occurred()) SWIG_fail
;
47097 resultobj
= SWIG_Py_Void();
47104 SWIGINTERN PyObject
*PySizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47106 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
47107 SWIG_TypeNewClientData(SWIGTYPE_p_wxPySizer
, SWIG_NewClientData(obj
));
47108 return SWIG_Py_Void();
47111 SWIGINTERN PyObject
*PySizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47112 return SWIG_Python_InitShadowInstance(args
);
47115 SWIGINTERN PyObject
*_wrap_new_BoxSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47116 PyObject
*resultobj
= 0;
47117 int arg1
= (int) wxHORIZONTAL
;
47118 wxBoxSizer
*result
= 0 ;
47121 PyObject
* obj0
= 0 ;
47122 char * kwnames
[] = {
47123 (char *) "orient", NULL
47126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) SWIG_fail
;
47128 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
47129 if (!SWIG_IsOK(ecode1
)) {
47130 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BoxSizer" "', expected argument " "1"" of type '" "int""'");
47132 arg1
= static_cast< int >(val1
);
47135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47136 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
47137 wxPyEndAllowThreads(__tstate
);
47138 if (PyErr_Occurred()) SWIG_fail
;
47140 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_NEW
| 0 );
47147 SWIGINTERN PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47148 PyObject
*resultobj
= 0;
47149 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
47153 PyObject
*swig_obj
[1] ;
47155 if (!args
) SWIG_fail
;
47156 swig_obj
[0] = args
;
47157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBoxSizer
, 0 | 0 );
47158 if (!SWIG_IsOK(res1
)) {
47159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BoxSizer_GetOrientation" "', expected argument " "1"" of type '" "wxBoxSizer *""'");
47161 arg1
= reinterpret_cast< wxBoxSizer
* >(argp1
);
47163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47164 result
= (int)(arg1
)->GetOrientation();
47165 wxPyEndAllowThreads(__tstate
);
47166 if (PyErr_Occurred()) SWIG_fail
;
47168 resultobj
= SWIG_From_int(static_cast< int >(result
));
47175 SWIGINTERN PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47176 PyObject
*resultobj
= 0;
47177 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
47183 PyObject
* obj0
= 0 ;
47184 PyObject
* obj1
= 0 ;
47185 char * kwnames
[] = {
47186 (char *) "self",(char *) "orient", NULL
47189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBoxSizer
, 0 | 0 );
47191 if (!SWIG_IsOK(res1
)) {
47192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BoxSizer_SetOrientation" "', expected argument " "1"" of type '" "wxBoxSizer *""'");
47194 arg1
= reinterpret_cast< wxBoxSizer
* >(argp1
);
47195 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47196 if (!SWIG_IsOK(ecode2
)) {
47197 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BoxSizer_SetOrientation" "', expected argument " "2"" of type '" "int""'");
47199 arg2
= static_cast< int >(val2
);
47201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47202 (arg1
)->SetOrientation(arg2
);
47203 wxPyEndAllowThreads(__tstate
);
47204 if (PyErr_Occurred()) SWIG_fail
;
47206 resultobj
= SWIG_Py_Void();
47213 SWIGINTERN PyObject
*BoxSizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47215 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
47216 SWIG_TypeNewClientData(SWIGTYPE_p_wxBoxSizer
, SWIG_NewClientData(obj
));
47217 return SWIG_Py_Void();
47220 SWIGINTERN PyObject
*BoxSizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47221 return SWIG_Python_InitShadowInstance(args
);
47224 SWIGINTERN PyObject
*_wrap_new_StaticBoxSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47225 PyObject
*resultobj
= 0;
47226 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
47227 int arg2
= (int) wxHORIZONTAL
;
47228 wxStaticBoxSizer
*result
= 0 ;
47233 PyObject
* obj0
= 0 ;
47234 PyObject
* obj1
= 0 ;
47235 char * kwnames
[] = {
47236 (char *) "box",(char *) "orient", NULL
47239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
47241 if (!SWIG_IsOK(res1
)) {
47242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBoxSizer" "', expected argument " "1"" of type '" "wxStaticBox *""'");
47244 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
47246 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47247 if (!SWIG_IsOK(ecode2
)) {
47248 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBoxSizer" "', expected argument " "2"" of type '" "int""'");
47250 arg2
= static_cast< int >(val2
);
47253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47254 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
47255 wxPyEndAllowThreads(__tstate
);
47256 if (PyErr_Occurred()) SWIG_fail
;
47258 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBoxSizer
, SWIG_POINTER_NEW
| 0 );
47265 SWIGINTERN PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47266 PyObject
*resultobj
= 0;
47267 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
47268 wxStaticBox
*result
= 0 ;
47271 PyObject
*swig_obj
[1] ;
47273 if (!args
) SWIG_fail
;
47274 swig_obj
[0] = args
;
47275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBoxSizer
, 0 | 0 );
47276 if (!SWIG_IsOK(res1
)) {
47277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBoxSizer_GetStaticBox" "', expected argument " "1"" of type '" "wxStaticBoxSizer *""'");
47279 arg1
= reinterpret_cast< wxStaticBoxSizer
* >(argp1
);
47281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47282 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
47283 wxPyEndAllowThreads(__tstate
);
47284 if (PyErr_Occurred()) SWIG_fail
;
47287 resultobj
= wxPyMake_wxObject(result
, (bool)0);
47295 SWIGINTERN PyObject
*StaticBoxSizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47297 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
47298 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBoxSizer
, SWIG_NewClientData(obj
));
47299 return SWIG_Py_Void();
47302 SWIGINTERN PyObject
*StaticBoxSizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47303 return SWIG_Python_InitShadowInstance(args
);
47306 SWIGINTERN PyObject
*_wrap_new_GridSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47307 PyObject
*resultobj
= 0;
47308 int arg1
= (int) 1 ;
47309 int arg2
= (int) 0 ;
47310 int arg3
= (int) 0 ;
47311 int arg4
= (int) 0 ;
47312 wxGridSizer
*result
= 0 ;
47321 PyObject
* obj0
= 0 ;
47322 PyObject
* obj1
= 0 ;
47323 PyObject
* obj2
= 0 ;
47324 PyObject
* obj3
= 0 ;
47325 char * kwnames
[] = {
47326 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
47329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
47331 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
47332 if (!SWIG_IsOK(ecode1
)) {
47333 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridSizer" "', expected argument " "1"" of type '" "int""'");
47335 arg1
= static_cast< int >(val1
);
47338 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47339 if (!SWIG_IsOK(ecode2
)) {
47340 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridSizer" "', expected argument " "2"" of type '" "int""'");
47342 arg2
= static_cast< int >(val2
);
47345 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
47346 if (!SWIG_IsOK(ecode3
)) {
47347 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_GridSizer" "', expected argument " "3"" of type '" "int""'");
47349 arg3
= static_cast< int >(val3
);
47352 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
47353 if (!SWIG_IsOK(ecode4
)) {
47354 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_GridSizer" "', expected argument " "4"" of type '" "int""'");
47356 arg4
= static_cast< int >(val4
);
47359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47360 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
47361 wxPyEndAllowThreads(__tstate
);
47362 if (PyErr_Occurred()) SWIG_fail
;
47364 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_NEW
| 0 );
47371 SWIGINTERN PyObject
*_wrap_GridSizer_SetCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47372 PyObject
*resultobj
= 0;
47373 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
47379 PyObject
* obj0
= 0 ;
47380 PyObject
* obj1
= 0 ;
47381 char * kwnames
[] = {
47382 (char *) "self",(char *) "cols", NULL
47385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
47387 if (!SWIG_IsOK(res1
)) {
47388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_SetCols" "', expected argument " "1"" of type '" "wxGridSizer *""'");
47390 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
47391 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47392 if (!SWIG_IsOK(ecode2
)) {
47393 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridSizer_SetCols" "', expected argument " "2"" of type '" "int""'");
47395 arg2
= static_cast< int >(val2
);
47397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47398 (arg1
)->SetCols(arg2
);
47399 wxPyEndAllowThreads(__tstate
);
47400 if (PyErr_Occurred()) SWIG_fail
;
47402 resultobj
= SWIG_Py_Void();
47409 SWIGINTERN PyObject
*_wrap_GridSizer_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47410 PyObject
*resultobj
= 0;
47411 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
47417 PyObject
* obj0
= 0 ;
47418 PyObject
* obj1
= 0 ;
47419 char * kwnames
[] = {
47420 (char *) "self",(char *) "rows", NULL
47423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
47425 if (!SWIG_IsOK(res1
)) {
47426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_SetRows" "', expected argument " "1"" of type '" "wxGridSizer *""'");
47428 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
47429 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47430 if (!SWIG_IsOK(ecode2
)) {
47431 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridSizer_SetRows" "', expected argument " "2"" of type '" "int""'");
47433 arg2
= static_cast< int >(val2
);
47435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47436 (arg1
)->SetRows(arg2
);
47437 wxPyEndAllowThreads(__tstate
);
47438 if (PyErr_Occurred()) SWIG_fail
;
47440 resultobj
= SWIG_Py_Void();
47447 SWIGINTERN PyObject
*_wrap_GridSizer_SetVGap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47448 PyObject
*resultobj
= 0;
47449 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
47455 PyObject
* obj0
= 0 ;
47456 PyObject
* obj1
= 0 ;
47457 char * kwnames
[] = {
47458 (char *) "self",(char *) "gap", NULL
47461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
47463 if (!SWIG_IsOK(res1
)) {
47464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_SetVGap" "', expected argument " "1"" of type '" "wxGridSizer *""'");
47466 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
47467 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47468 if (!SWIG_IsOK(ecode2
)) {
47469 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridSizer_SetVGap" "', expected argument " "2"" of type '" "int""'");
47471 arg2
= static_cast< int >(val2
);
47473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47474 (arg1
)->SetVGap(arg2
);
47475 wxPyEndAllowThreads(__tstate
);
47476 if (PyErr_Occurred()) SWIG_fail
;
47478 resultobj
= SWIG_Py_Void();
47485 SWIGINTERN PyObject
*_wrap_GridSizer_SetHGap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47486 PyObject
*resultobj
= 0;
47487 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
47493 PyObject
* obj0
= 0 ;
47494 PyObject
* obj1
= 0 ;
47495 char * kwnames
[] = {
47496 (char *) "self",(char *) "gap", NULL
47499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
47501 if (!SWIG_IsOK(res1
)) {
47502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_SetHGap" "', expected argument " "1"" of type '" "wxGridSizer *""'");
47504 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
47505 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47506 if (!SWIG_IsOK(ecode2
)) {
47507 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridSizer_SetHGap" "', expected argument " "2"" of type '" "int""'");
47509 arg2
= static_cast< int >(val2
);
47511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47512 (arg1
)->SetHGap(arg2
);
47513 wxPyEndAllowThreads(__tstate
);
47514 if (PyErr_Occurred()) SWIG_fail
;
47516 resultobj
= SWIG_Py_Void();
47523 SWIGINTERN PyObject
*_wrap_GridSizer_GetCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47524 PyObject
*resultobj
= 0;
47525 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
47529 PyObject
*swig_obj
[1] ;
47531 if (!args
) SWIG_fail
;
47532 swig_obj
[0] = args
;
47533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
47534 if (!SWIG_IsOK(res1
)) {
47535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_GetCols" "', expected argument " "1"" of type '" "wxGridSizer *""'");
47537 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
47539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47540 result
= (int)(arg1
)->GetCols();
47541 wxPyEndAllowThreads(__tstate
);
47542 if (PyErr_Occurred()) SWIG_fail
;
47544 resultobj
= SWIG_From_int(static_cast< int >(result
));
47551 SWIGINTERN PyObject
*_wrap_GridSizer_GetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47552 PyObject
*resultobj
= 0;
47553 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
47557 PyObject
*swig_obj
[1] ;
47559 if (!args
) SWIG_fail
;
47560 swig_obj
[0] = args
;
47561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
47562 if (!SWIG_IsOK(res1
)) {
47563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_GetRows" "', expected argument " "1"" of type '" "wxGridSizer *""'");
47565 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
47567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47568 result
= (int)(arg1
)->GetRows();
47569 wxPyEndAllowThreads(__tstate
);
47570 if (PyErr_Occurred()) SWIG_fail
;
47572 resultobj
= SWIG_From_int(static_cast< int >(result
));
47579 SWIGINTERN PyObject
*_wrap_GridSizer_GetVGap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47580 PyObject
*resultobj
= 0;
47581 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
47585 PyObject
*swig_obj
[1] ;
47587 if (!args
) SWIG_fail
;
47588 swig_obj
[0] = args
;
47589 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
47590 if (!SWIG_IsOK(res1
)) {
47591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_GetVGap" "', expected argument " "1"" of type '" "wxGridSizer *""'");
47593 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
47595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47596 result
= (int)(arg1
)->GetVGap();
47597 wxPyEndAllowThreads(__tstate
);
47598 if (PyErr_Occurred()) SWIG_fail
;
47600 resultobj
= SWIG_From_int(static_cast< int >(result
));
47607 SWIGINTERN PyObject
*_wrap_GridSizer_GetHGap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47608 PyObject
*resultobj
= 0;
47609 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
47613 PyObject
*swig_obj
[1] ;
47615 if (!args
) SWIG_fail
;
47616 swig_obj
[0] = args
;
47617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
47618 if (!SWIG_IsOK(res1
)) {
47619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_GetHGap" "', expected argument " "1"" of type '" "wxGridSizer *""'");
47621 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
47623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47624 result
= (int)(arg1
)->GetHGap();
47625 wxPyEndAllowThreads(__tstate
);
47626 if (PyErr_Occurred()) SWIG_fail
;
47628 resultobj
= SWIG_From_int(static_cast< int >(result
));
47635 SWIGINTERN PyObject
*GridSizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47637 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
47638 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridSizer
, SWIG_NewClientData(obj
));
47639 return SWIG_Py_Void();
47642 SWIGINTERN PyObject
*GridSizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47643 return SWIG_Python_InitShadowInstance(args
);
47646 SWIGINTERN PyObject
*_wrap_new_FlexGridSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47647 PyObject
*resultobj
= 0;
47648 int arg1
= (int) 1 ;
47649 int arg2
= (int) 0 ;
47650 int arg3
= (int) 0 ;
47651 int arg4
= (int) 0 ;
47652 wxFlexGridSizer
*result
= 0 ;
47661 PyObject
* obj0
= 0 ;
47662 PyObject
* obj1
= 0 ;
47663 PyObject
* obj2
= 0 ;
47664 PyObject
* obj3
= 0 ;
47665 char * kwnames
[] = {
47666 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
47669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
47671 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
47672 if (!SWIG_IsOK(ecode1
)) {
47673 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FlexGridSizer" "', expected argument " "1"" of type '" "int""'");
47675 arg1
= static_cast< int >(val1
);
47678 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47679 if (!SWIG_IsOK(ecode2
)) {
47680 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FlexGridSizer" "', expected argument " "2"" of type '" "int""'");
47682 arg2
= static_cast< int >(val2
);
47685 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
47686 if (!SWIG_IsOK(ecode3
)) {
47687 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FlexGridSizer" "', expected argument " "3"" of type '" "int""'");
47689 arg3
= static_cast< int >(val3
);
47692 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
47693 if (!SWIG_IsOK(ecode4
)) {
47694 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FlexGridSizer" "', expected argument " "4"" of type '" "int""'");
47696 arg4
= static_cast< int >(val4
);
47699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47700 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
47701 wxPyEndAllowThreads(__tstate
);
47702 if (PyErr_Occurred()) SWIG_fail
;
47704 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_NEW
| 0 );
47711 SWIGINTERN PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47712 PyObject
*resultobj
= 0;
47713 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
47715 int arg3
= (int) 0 ;
47722 PyObject
* obj0
= 0 ;
47723 PyObject
* obj1
= 0 ;
47724 PyObject
* obj2
= 0 ;
47725 char * kwnames
[] = {
47726 (char *) "self",(char *) "idx",(char *) "proportion", NULL
47729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
47730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
47731 if (!SWIG_IsOK(res1
)) {
47732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_AddGrowableRow" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
47734 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
47735 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
47736 if (!SWIG_IsOK(ecode2
)) {
47737 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FlexGridSizer_AddGrowableRow" "', expected argument " "2"" of type '" "size_t""'");
47739 arg2
= static_cast< size_t >(val2
);
47741 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
47742 if (!SWIG_IsOK(ecode3
)) {
47743 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FlexGridSizer_AddGrowableRow" "', expected argument " "3"" of type '" "int""'");
47745 arg3
= static_cast< int >(val3
);
47748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47749 (arg1
)->AddGrowableRow(arg2
,arg3
);
47750 wxPyEndAllowThreads(__tstate
);
47751 if (PyErr_Occurred()) SWIG_fail
;
47753 resultobj
= SWIG_Py_Void();
47760 SWIGINTERN PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47761 PyObject
*resultobj
= 0;
47762 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
47768 PyObject
* obj0
= 0 ;
47769 PyObject
* obj1
= 0 ;
47770 char * kwnames
[] = {
47771 (char *) "self",(char *) "idx", NULL
47774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
47776 if (!SWIG_IsOK(res1
)) {
47777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_RemoveGrowableRow" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
47779 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
47780 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
47781 if (!SWIG_IsOK(ecode2
)) {
47782 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FlexGridSizer_RemoveGrowableRow" "', expected argument " "2"" of type '" "size_t""'");
47784 arg2
= static_cast< size_t >(val2
);
47786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47787 (arg1
)->RemoveGrowableRow(arg2
);
47788 wxPyEndAllowThreads(__tstate
);
47789 if (PyErr_Occurred()) SWIG_fail
;
47791 resultobj
= SWIG_Py_Void();
47798 SWIGINTERN PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47799 PyObject
*resultobj
= 0;
47800 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
47802 int arg3
= (int) 0 ;
47809 PyObject
* obj0
= 0 ;
47810 PyObject
* obj1
= 0 ;
47811 PyObject
* obj2
= 0 ;
47812 char * kwnames
[] = {
47813 (char *) "self",(char *) "idx",(char *) "proportion", NULL
47816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
47817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
47818 if (!SWIG_IsOK(res1
)) {
47819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_AddGrowableCol" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
47821 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
47822 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
47823 if (!SWIG_IsOK(ecode2
)) {
47824 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FlexGridSizer_AddGrowableCol" "', expected argument " "2"" of type '" "size_t""'");
47826 arg2
= static_cast< size_t >(val2
);
47828 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
47829 if (!SWIG_IsOK(ecode3
)) {
47830 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FlexGridSizer_AddGrowableCol" "', expected argument " "3"" of type '" "int""'");
47832 arg3
= static_cast< int >(val3
);
47835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47836 (arg1
)->AddGrowableCol(arg2
,arg3
);
47837 wxPyEndAllowThreads(__tstate
);
47838 if (PyErr_Occurred()) SWIG_fail
;
47840 resultobj
= SWIG_Py_Void();
47847 SWIGINTERN PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47848 PyObject
*resultobj
= 0;
47849 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
47855 PyObject
* obj0
= 0 ;
47856 PyObject
* obj1
= 0 ;
47857 char * kwnames
[] = {
47858 (char *) "self",(char *) "idx", NULL
47861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
47863 if (!SWIG_IsOK(res1
)) {
47864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_RemoveGrowableCol" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
47866 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
47867 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
47868 if (!SWIG_IsOK(ecode2
)) {
47869 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FlexGridSizer_RemoveGrowableCol" "', expected argument " "2"" of type '" "size_t""'");
47871 arg2
= static_cast< size_t >(val2
);
47873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47874 (arg1
)->RemoveGrowableCol(arg2
);
47875 wxPyEndAllowThreads(__tstate
);
47876 if (PyErr_Occurred()) SWIG_fail
;
47878 resultobj
= SWIG_Py_Void();
47885 SWIGINTERN PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47886 PyObject
*resultobj
= 0;
47887 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
47893 PyObject
* obj0
= 0 ;
47894 PyObject
* obj1
= 0 ;
47895 char * kwnames
[] = {
47896 (char *) "self",(char *) "direction", NULL
47899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
47901 if (!SWIG_IsOK(res1
)) {
47902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_SetFlexibleDirection" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
47904 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
47905 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47906 if (!SWIG_IsOK(ecode2
)) {
47907 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FlexGridSizer_SetFlexibleDirection" "', expected argument " "2"" of type '" "int""'");
47909 arg2
= static_cast< int >(val2
);
47911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47912 (arg1
)->SetFlexibleDirection(arg2
);
47913 wxPyEndAllowThreads(__tstate
);
47914 if (PyErr_Occurred()) SWIG_fail
;
47916 resultobj
= SWIG_Py_Void();
47923 SWIGINTERN PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47924 PyObject
*resultobj
= 0;
47925 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
47929 PyObject
*swig_obj
[1] ;
47931 if (!args
) SWIG_fail
;
47932 swig_obj
[0] = args
;
47933 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
47934 if (!SWIG_IsOK(res1
)) {
47935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_GetFlexibleDirection" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
47937 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
47939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47940 result
= (int)(arg1
)->GetFlexibleDirection();
47941 wxPyEndAllowThreads(__tstate
);
47942 if (PyErr_Occurred()) SWIG_fail
;
47944 resultobj
= SWIG_From_int(static_cast< int >(result
));
47951 SWIGINTERN PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47952 PyObject
*resultobj
= 0;
47953 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
47954 wxFlexSizerGrowMode arg2
;
47959 PyObject
* obj0
= 0 ;
47960 PyObject
* obj1
= 0 ;
47961 char * kwnames
[] = {
47962 (char *) "self",(char *) "mode", NULL
47965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
47967 if (!SWIG_IsOK(res1
)) {
47968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_SetNonFlexibleGrowMode" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
47970 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
47971 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47972 if (!SWIG_IsOK(ecode2
)) {
47973 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FlexGridSizer_SetNonFlexibleGrowMode" "', expected argument " "2"" of type '" "wxFlexSizerGrowMode""'");
47975 arg2
= static_cast< wxFlexSizerGrowMode
>(val2
);
47977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47978 (arg1
)->SetNonFlexibleGrowMode(arg2
);
47979 wxPyEndAllowThreads(__tstate
);
47980 if (PyErr_Occurred()) SWIG_fail
;
47982 resultobj
= SWIG_Py_Void();
47989 SWIGINTERN PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47990 PyObject
*resultobj
= 0;
47991 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
47992 wxFlexSizerGrowMode result
;
47995 PyObject
*swig_obj
[1] ;
47997 if (!args
) SWIG_fail
;
47998 swig_obj
[0] = args
;
47999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
48000 if (!SWIG_IsOK(res1
)) {
48001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_GetNonFlexibleGrowMode" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
48003 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
48005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48006 result
= (wxFlexSizerGrowMode
)(arg1
)->GetNonFlexibleGrowMode();
48007 wxPyEndAllowThreads(__tstate
);
48008 if (PyErr_Occurred()) SWIG_fail
;
48010 resultobj
= SWIG_From_int(static_cast< int >(result
));
48017 SWIGINTERN PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48018 PyObject
*resultobj
= 0;
48019 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
48020 wxArrayInt
*result
= 0 ;
48023 PyObject
*swig_obj
[1] ;
48025 if (!args
) SWIG_fail
;
48026 swig_obj
[0] = args
;
48027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
48028 if (!SWIG_IsOK(res1
)) {
48029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_GetRowHeights" "', expected argument " "1"" of type '" "wxFlexGridSizer const *""'");
48031 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
48033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48035 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
48036 result
= (wxArrayInt
*) &_result_ref
;
48038 wxPyEndAllowThreads(__tstate
);
48039 if (PyErr_Occurred()) SWIG_fail
;
48042 resultobj
= PyList_New(0);
48044 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
48045 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
48046 PyList_Append(resultobj
, val
);
48056 SWIGINTERN PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48057 PyObject
*resultobj
= 0;
48058 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
48059 wxArrayInt
*result
= 0 ;
48062 PyObject
*swig_obj
[1] ;
48064 if (!args
) SWIG_fail
;
48065 swig_obj
[0] = args
;
48066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
48067 if (!SWIG_IsOK(res1
)) {
48068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_GetColWidths" "', expected argument " "1"" of type '" "wxFlexGridSizer const *""'");
48070 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
48072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48074 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
48075 result
= (wxArrayInt
*) &_result_ref
;
48077 wxPyEndAllowThreads(__tstate
);
48078 if (PyErr_Occurred()) SWIG_fail
;
48081 resultobj
= PyList_New(0);
48083 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
48084 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
48085 PyList_Append(resultobj
, val
);
48095 SWIGINTERN PyObject
*FlexGridSizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48097 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
48098 SWIG_TypeNewClientData(SWIGTYPE_p_wxFlexGridSizer
, SWIG_NewClientData(obj
));
48099 return SWIG_Py_Void();
48102 SWIGINTERN PyObject
*FlexGridSizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48103 return SWIG_Python_InitShadowInstance(args
);
48106 SWIGINTERN PyObject
*_wrap_new_StdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48107 PyObject
*resultobj
= 0;
48108 wxStdDialogButtonSizer
*result
= 0 ;
48110 if (!SWIG_Python_UnpackTuple(args
,"new_StdDialogButtonSizer",0,0,0)) SWIG_fail
;
48112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48113 result
= (wxStdDialogButtonSizer
*)new wxStdDialogButtonSizer();
48114 wxPyEndAllowThreads(__tstate
);
48115 if (PyErr_Occurred()) SWIG_fail
;
48117 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_NEW
| 0 );
48124 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_AddButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48125 PyObject
*resultobj
= 0;
48126 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
48127 wxButton
*arg2
= (wxButton
*) 0 ;
48132 PyObject
* obj0
= 0 ;
48133 PyObject
* obj1
= 0 ;
48134 char * kwnames
[] = {
48135 (char *) "self",(char *) "button", NULL
48138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_AddButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
48140 if (!SWIG_IsOK(res1
)) {
48141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_AddButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer *""'");
48143 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
48144 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxButton
, 0 | 0 );
48145 if (!SWIG_IsOK(res2
)) {
48146 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StdDialogButtonSizer_AddButton" "', expected argument " "2"" of type '" "wxButton *""'");
48148 arg2
= reinterpret_cast< wxButton
* >(argp2
);
48150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48151 (arg1
)->AddButton(arg2
);
48152 wxPyEndAllowThreads(__tstate
);
48153 if (PyErr_Occurred()) SWIG_fail
;
48155 resultobj
= SWIG_Py_Void();
48162 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48163 PyObject
*resultobj
= 0;
48164 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
48167 PyObject
*swig_obj
[1] ;
48169 if (!args
) SWIG_fail
;
48170 swig_obj
[0] = args
;
48171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
48172 if (!SWIG_IsOK(res1
)) {
48173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_Realize" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer *""'");
48175 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
48177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48179 wxPyEndAllowThreads(__tstate
);
48180 if (PyErr_Occurred()) SWIG_fail
;
48182 resultobj
= SWIG_Py_Void();
48189 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_SetAffirmativeButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48190 PyObject
*resultobj
= 0;
48191 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
48192 wxButton
*arg2
= (wxButton
*) 0 ;
48197 PyObject
* obj0
= 0 ;
48198 PyObject
* obj1
= 0 ;
48199 char * kwnames
[] = {
48200 (char *) "self",(char *) "button", NULL
48203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetAffirmativeButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
48205 if (!SWIG_IsOK(res1
)) {
48206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_SetAffirmativeButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer *""'");
48208 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
48209 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxButton
, 0 | 0 );
48210 if (!SWIG_IsOK(res2
)) {
48211 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StdDialogButtonSizer_SetAffirmativeButton" "', expected argument " "2"" of type '" "wxButton *""'");
48213 arg2
= reinterpret_cast< wxButton
* >(argp2
);
48215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48216 (arg1
)->SetAffirmativeButton(arg2
);
48217 wxPyEndAllowThreads(__tstate
);
48218 if (PyErr_Occurred()) SWIG_fail
;
48220 resultobj
= SWIG_Py_Void();
48227 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_SetNegativeButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48228 PyObject
*resultobj
= 0;
48229 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
48230 wxButton
*arg2
= (wxButton
*) 0 ;
48235 PyObject
* obj0
= 0 ;
48236 PyObject
* obj1
= 0 ;
48237 char * kwnames
[] = {
48238 (char *) "self",(char *) "button", NULL
48241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetNegativeButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
48243 if (!SWIG_IsOK(res1
)) {
48244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_SetNegativeButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer *""'");
48246 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
48247 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxButton
, 0 | 0 );
48248 if (!SWIG_IsOK(res2
)) {
48249 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StdDialogButtonSizer_SetNegativeButton" "', expected argument " "2"" of type '" "wxButton *""'");
48251 arg2
= reinterpret_cast< wxButton
* >(argp2
);
48253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48254 (arg1
)->SetNegativeButton(arg2
);
48255 wxPyEndAllowThreads(__tstate
);
48256 if (PyErr_Occurred()) SWIG_fail
;
48258 resultobj
= SWIG_Py_Void();
48265 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_SetCancelButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48266 PyObject
*resultobj
= 0;
48267 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
48268 wxButton
*arg2
= (wxButton
*) 0 ;
48273 PyObject
* obj0
= 0 ;
48274 PyObject
* obj1
= 0 ;
48275 char * kwnames
[] = {
48276 (char *) "self",(char *) "button", NULL
48279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetCancelButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
48281 if (!SWIG_IsOK(res1
)) {
48282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_SetCancelButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer *""'");
48284 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
48285 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxButton
, 0 | 0 );
48286 if (!SWIG_IsOK(res2
)) {
48287 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StdDialogButtonSizer_SetCancelButton" "', expected argument " "2"" of type '" "wxButton *""'");
48289 arg2
= reinterpret_cast< wxButton
* >(argp2
);
48291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48292 (arg1
)->SetCancelButton(arg2
);
48293 wxPyEndAllowThreads(__tstate
);
48294 if (PyErr_Occurred()) SWIG_fail
;
48296 resultobj
= SWIG_Py_Void();
48303 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_GetAffirmativeButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48304 PyObject
*resultobj
= 0;
48305 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
48306 wxButton
*result
= 0 ;
48309 PyObject
*swig_obj
[1] ;
48311 if (!args
) SWIG_fail
;
48312 swig_obj
[0] = args
;
48313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
48314 if (!SWIG_IsOK(res1
)) {
48315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_GetAffirmativeButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer const *""'");
48317 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
48319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48320 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetAffirmativeButton();
48321 wxPyEndAllowThreads(__tstate
);
48322 if (PyErr_Occurred()) SWIG_fail
;
48325 resultobj
= wxPyMake_wxObject(result
, (bool)0);
48333 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_GetApplyButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48334 PyObject
*resultobj
= 0;
48335 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
48336 wxButton
*result
= 0 ;
48339 PyObject
*swig_obj
[1] ;
48341 if (!args
) SWIG_fail
;
48342 swig_obj
[0] = args
;
48343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
48344 if (!SWIG_IsOK(res1
)) {
48345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_GetApplyButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer const *""'");
48347 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
48349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48350 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetApplyButton();
48351 wxPyEndAllowThreads(__tstate
);
48352 if (PyErr_Occurred()) SWIG_fail
;
48355 resultobj
= wxPyMake_wxObject(result
, (bool)0);
48363 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_GetNegativeButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48364 PyObject
*resultobj
= 0;
48365 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
48366 wxButton
*result
= 0 ;
48369 PyObject
*swig_obj
[1] ;
48371 if (!args
) SWIG_fail
;
48372 swig_obj
[0] = args
;
48373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
48374 if (!SWIG_IsOK(res1
)) {
48375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_GetNegativeButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer const *""'");
48377 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
48379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48380 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetNegativeButton();
48381 wxPyEndAllowThreads(__tstate
);
48382 if (PyErr_Occurred()) SWIG_fail
;
48385 resultobj
= wxPyMake_wxObject(result
, (bool)0);
48393 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_GetCancelButton(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_GetCancelButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer const *""'");
48407 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
48409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48410 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetCancelButton();
48411 wxPyEndAllowThreads(__tstate
);
48412 if (PyErr_Occurred()) SWIG_fail
;
48415 resultobj
= wxPyMake_wxObject(result
, (bool)0);
48423 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_GetHelpButton(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_GetHelpButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer const *""'");
48437 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
48439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48440 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetHelpButton();
48441 wxPyEndAllowThreads(__tstate
);
48442 if (PyErr_Occurred()) SWIG_fail
;
48445 resultobj
= wxPyMake_wxObject(result
, (bool)0);
48453 SWIGINTERN PyObject
*StdDialogButtonSizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48455 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
48456 SWIG_TypeNewClientData(SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_NewClientData(obj
));
48457 return SWIG_Py_Void();
48460 SWIGINTERN PyObject
*StdDialogButtonSizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48461 return SWIG_Python_InitShadowInstance(args
);
48464 SWIGINTERN PyObject
*_wrap_new_GBPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48465 PyObject
*resultobj
= 0;
48466 int arg1
= (int) 0 ;
48467 int arg2
= (int) 0 ;
48468 wxGBPosition
*result
= 0 ;
48473 PyObject
* obj0
= 0 ;
48474 PyObject
* obj1
= 0 ;
48475 char * kwnames
[] = {
48476 (char *) "row",(char *) "col", NULL
48479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48481 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
48482 if (!SWIG_IsOK(ecode1
)) {
48483 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GBPosition" "', expected argument " "1"" of type '" "int""'");
48485 arg1
= static_cast< int >(val1
);
48488 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
48489 if (!SWIG_IsOK(ecode2
)) {
48490 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GBPosition" "', expected argument " "2"" of type '" "int""'");
48492 arg2
= static_cast< int >(val2
);
48495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48496 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
48497 wxPyEndAllowThreads(__tstate
);
48498 if (PyErr_Occurred()) SWIG_fail
;
48500 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_NEW
| 0 );
48507 SWIGINTERN PyObject
*_wrap_delete_GBPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48508 PyObject
*resultobj
= 0;
48509 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
48512 PyObject
*swig_obj
[1] ;
48514 if (!args
) SWIG_fail
;
48515 swig_obj
[0] = args
;
48516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_DISOWN
| 0 );
48517 if (!SWIG_IsOK(res1
)) {
48518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GBPosition" "', expected argument " "1"" of type '" "wxGBPosition *""'");
48520 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
48522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48525 wxPyEndAllowThreads(__tstate
);
48526 if (PyErr_Occurred()) SWIG_fail
;
48528 resultobj
= SWIG_Py_Void();
48535 SWIGINTERN PyObject
*_wrap_GBPosition_GetRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48536 PyObject
*resultobj
= 0;
48537 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
48541 PyObject
*swig_obj
[1] ;
48543 if (!args
) SWIG_fail
;
48544 swig_obj
[0] = args
;
48545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
48546 if (!SWIG_IsOK(res1
)) {
48547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition_GetRow" "', expected argument " "1"" of type '" "wxGBPosition const *""'");
48549 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
48551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48552 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
48553 wxPyEndAllowThreads(__tstate
);
48554 if (PyErr_Occurred()) SWIG_fail
;
48556 resultobj
= SWIG_From_int(static_cast< int >(result
));
48563 SWIGINTERN PyObject
*_wrap_GBPosition_GetCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48564 PyObject
*resultobj
= 0;
48565 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
48569 PyObject
*swig_obj
[1] ;
48571 if (!args
) SWIG_fail
;
48572 swig_obj
[0] = args
;
48573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
48574 if (!SWIG_IsOK(res1
)) {
48575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition_GetCol" "', expected argument " "1"" of type '" "wxGBPosition const *""'");
48577 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
48579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48580 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
48581 wxPyEndAllowThreads(__tstate
);
48582 if (PyErr_Occurred()) SWIG_fail
;
48584 resultobj
= SWIG_From_int(static_cast< int >(result
));
48591 SWIGINTERN PyObject
*_wrap_GBPosition_SetRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48592 PyObject
*resultobj
= 0;
48593 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
48599 PyObject
* obj0
= 0 ;
48600 PyObject
* obj1
= 0 ;
48601 char * kwnames
[] = {
48602 (char *) "self",(char *) "row", NULL
48605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
48607 if (!SWIG_IsOK(res1
)) {
48608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition_SetRow" "', expected argument " "1"" of type '" "wxGBPosition *""'");
48610 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
48611 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
48612 if (!SWIG_IsOK(ecode2
)) {
48613 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GBPosition_SetRow" "', expected argument " "2"" of type '" "int""'");
48615 arg2
= static_cast< int >(val2
);
48617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48618 (arg1
)->SetRow(arg2
);
48619 wxPyEndAllowThreads(__tstate
);
48620 if (PyErr_Occurred()) SWIG_fail
;
48622 resultobj
= SWIG_Py_Void();
48629 SWIGINTERN PyObject
*_wrap_GBPosition_SetCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48630 PyObject
*resultobj
= 0;
48631 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
48637 PyObject
* obj0
= 0 ;
48638 PyObject
* obj1
= 0 ;
48639 char * kwnames
[] = {
48640 (char *) "self",(char *) "col", NULL
48643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
48645 if (!SWIG_IsOK(res1
)) {
48646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition_SetCol" "', expected argument " "1"" of type '" "wxGBPosition *""'");
48648 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
48649 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
48650 if (!SWIG_IsOK(ecode2
)) {
48651 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GBPosition_SetCol" "', expected argument " "2"" of type '" "int""'");
48653 arg2
= static_cast< int >(val2
);
48655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48656 (arg1
)->SetCol(arg2
);
48657 wxPyEndAllowThreads(__tstate
);
48658 if (PyErr_Occurred()) SWIG_fail
;
48660 resultobj
= SWIG_Py_Void();
48667 SWIGINTERN PyObject
*_wrap_GBPosition___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48668 PyObject
*resultobj
= 0;
48669 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
48670 wxGBPosition
*arg2
= 0 ;
48674 wxGBPosition temp2
;
48675 PyObject
* obj0
= 0 ;
48676 PyObject
* obj1
= 0 ;
48677 char * kwnames
[] = {
48678 (char *) "self",(char *) "other", NULL
48681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
48683 if (!SWIG_IsOK(res1
)) {
48684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition___eq__" "', expected argument " "1"" of type '" "wxGBPosition *""'");
48686 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
48689 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
48692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48693 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
48694 wxPyEndAllowThreads(__tstate
);
48695 if (PyErr_Occurred()) SWIG_fail
;
48698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
48706 SWIGINTERN PyObject
*_wrap_GBPosition___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48707 PyObject
*resultobj
= 0;
48708 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
48709 wxGBPosition
*arg2
= 0 ;
48713 wxGBPosition temp2
;
48714 PyObject
* obj0
= 0 ;
48715 PyObject
* obj1
= 0 ;
48716 char * kwnames
[] = {
48717 (char *) "self",(char *) "other", NULL
48720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
48722 if (!SWIG_IsOK(res1
)) {
48723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition___ne__" "', expected argument " "1"" of type '" "wxGBPosition *""'");
48725 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
48728 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
48731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48732 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
48733 wxPyEndAllowThreads(__tstate
);
48734 if (PyErr_Occurred()) SWIG_fail
;
48737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
48745 SWIGINTERN PyObject
*_wrap_GBPosition_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48746 PyObject
*resultobj
= 0;
48747 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
48748 int arg2
= (int) 0 ;
48749 int arg3
= (int) 0 ;
48756 PyObject
* obj0
= 0 ;
48757 PyObject
* obj1
= 0 ;
48758 PyObject
* obj2
= 0 ;
48759 char * kwnames
[] = {
48760 (char *) "self",(char *) "row",(char *) "col", NULL
48763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
48764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
48765 if (!SWIG_IsOK(res1
)) {
48766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition_Set" "', expected argument " "1"" of type '" "wxGBPosition *""'");
48768 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
48770 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
48771 if (!SWIG_IsOK(ecode2
)) {
48772 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GBPosition_Set" "', expected argument " "2"" of type '" "int""'");
48774 arg2
= static_cast< int >(val2
);
48777 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
48778 if (!SWIG_IsOK(ecode3
)) {
48779 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GBPosition_Set" "', expected argument " "3"" of type '" "int""'");
48781 arg3
= static_cast< int >(val3
);
48784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48785 wxGBPosition_Set(arg1
,arg2
,arg3
);
48786 wxPyEndAllowThreads(__tstate
);
48787 if (PyErr_Occurred()) SWIG_fail
;
48789 resultobj
= SWIG_Py_Void();
48796 SWIGINTERN PyObject
*_wrap_GBPosition_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48797 PyObject
*resultobj
= 0;
48798 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
48799 PyObject
*result
= 0 ;
48802 PyObject
*swig_obj
[1] ;
48804 if (!args
) SWIG_fail
;
48805 swig_obj
[0] = args
;
48806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
48807 if (!SWIG_IsOK(res1
)) {
48808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition_Get" "', expected argument " "1"" of type '" "wxGBPosition *""'");
48810 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
48812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48813 result
= (PyObject
*)wxGBPosition_Get(arg1
);
48814 wxPyEndAllowThreads(__tstate
);
48815 if (PyErr_Occurred()) SWIG_fail
;
48817 resultobj
= result
;
48824 SWIGINTERN PyObject
*GBPosition_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48826 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
48827 SWIG_TypeNewClientData(SWIGTYPE_p_wxGBPosition
, SWIG_NewClientData(obj
));
48828 return SWIG_Py_Void();
48831 SWIGINTERN PyObject
*GBPosition_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48832 return SWIG_Python_InitShadowInstance(args
);
48835 SWIGINTERN PyObject
*_wrap_new_GBSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48836 PyObject
*resultobj
= 0;
48837 int arg1
= (int) 1 ;
48838 int arg2
= (int) 1 ;
48839 wxGBSpan
*result
= 0 ;
48844 PyObject
* obj0
= 0 ;
48845 PyObject
* obj1
= 0 ;
48846 char * kwnames
[] = {
48847 (char *) "rowspan",(char *) "colspan", NULL
48850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48852 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
48853 if (!SWIG_IsOK(ecode1
)) {
48854 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GBSpan" "', expected argument " "1"" of type '" "int""'");
48856 arg1
= static_cast< int >(val1
);
48859 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
48860 if (!SWIG_IsOK(ecode2
)) {
48861 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GBSpan" "', expected argument " "2"" of type '" "int""'");
48863 arg2
= static_cast< int >(val2
);
48866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48867 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
48868 wxPyEndAllowThreads(__tstate
);
48869 if (PyErr_Occurred()) SWIG_fail
;
48871 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_NEW
| 0 );
48878 SWIGINTERN PyObject
*_wrap_delete_GBSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48879 PyObject
*resultobj
= 0;
48880 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
48883 PyObject
*swig_obj
[1] ;
48885 if (!args
) SWIG_fail
;
48886 swig_obj
[0] = args
;
48887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_DISOWN
| 0 );
48888 if (!SWIG_IsOK(res1
)) {
48889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GBSpan" "', expected argument " "1"" of type '" "wxGBSpan *""'");
48891 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
48893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48896 wxPyEndAllowThreads(__tstate
);
48897 if (PyErr_Occurred()) SWIG_fail
;
48899 resultobj
= SWIG_Py_Void();
48906 SWIGINTERN PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48907 PyObject
*resultobj
= 0;
48908 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
48912 PyObject
*swig_obj
[1] ;
48914 if (!args
) SWIG_fail
;
48915 swig_obj
[0] = args
;
48916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
48917 if (!SWIG_IsOK(res1
)) {
48918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan_GetRowspan" "', expected argument " "1"" of type '" "wxGBSpan const *""'");
48920 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
48922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48923 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
48924 wxPyEndAllowThreads(__tstate
);
48925 if (PyErr_Occurred()) SWIG_fail
;
48927 resultobj
= SWIG_From_int(static_cast< int >(result
));
48934 SWIGINTERN PyObject
*_wrap_GBSpan_GetColspan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48935 PyObject
*resultobj
= 0;
48936 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
48940 PyObject
*swig_obj
[1] ;
48942 if (!args
) SWIG_fail
;
48943 swig_obj
[0] = args
;
48944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
48945 if (!SWIG_IsOK(res1
)) {
48946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan_GetColspan" "', expected argument " "1"" of type '" "wxGBSpan const *""'");
48948 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
48950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48951 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
48952 wxPyEndAllowThreads(__tstate
);
48953 if (PyErr_Occurred()) SWIG_fail
;
48955 resultobj
= SWIG_From_int(static_cast< int >(result
));
48962 SWIGINTERN PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48963 PyObject
*resultobj
= 0;
48964 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
48970 PyObject
* obj0
= 0 ;
48971 PyObject
* obj1
= 0 ;
48972 char * kwnames
[] = {
48973 (char *) "self",(char *) "rowspan", NULL
48976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
48978 if (!SWIG_IsOK(res1
)) {
48979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan_SetRowspan" "', expected argument " "1"" of type '" "wxGBSpan *""'");
48981 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
48982 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
48983 if (!SWIG_IsOK(ecode2
)) {
48984 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GBSpan_SetRowspan" "', expected argument " "2"" of type '" "int""'");
48986 arg2
= static_cast< int >(val2
);
48988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48989 (arg1
)->SetRowspan(arg2
);
48990 wxPyEndAllowThreads(__tstate
);
48991 if (PyErr_Occurred()) SWIG_fail
;
48993 resultobj
= SWIG_Py_Void();
49000 SWIGINTERN PyObject
*_wrap_GBSpan_SetColspan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49001 PyObject
*resultobj
= 0;
49002 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
49008 PyObject
* obj0
= 0 ;
49009 PyObject
* obj1
= 0 ;
49010 char * kwnames
[] = {
49011 (char *) "self",(char *) "colspan", NULL
49014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
49016 if (!SWIG_IsOK(res1
)) {
49017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan_SetColspan" "', expected argument " "1"" of type '" "wxGBSpan *""'");
49019 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
49020 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
49021 if (!SWIG_IsOK(ecode2
)) {
49022 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GBSpan_SetColspan" "', expected argument " "2"" of type '" "int""'");
49024 arg2
= static_cast< int >(val2
);
49026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49027 (arg1
)->SetColspan(arg2
);
49028 wxPyEndAllowThreads(__tstate
);
49029 if (PyErr_Occurred()) SWIG_fail
;
49031 resultobj
= SWIG_Py_Void();
49038 SWIGINTERN PyObject
*_wrap_GBSpan___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49039 PyObject
*resultobj
= 0;
49040 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
49041 wxGBSpan
*arg2
= 0 ;
49046 PyObject
* obj0
= 0 ;
49047 PyObject
* obj1
= 0 ;
49048 char * kwnames
[] = {
49049 (char *) "self",(char *) "other", NULL
49052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
49054 if (!SWIG_IsOK(res1
)) {
49055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan___eq__" "', expected argument " "1"" of type '" "wxGBSpan *""'");
49057 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
49060 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
49063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49064 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
49065 wxPyEndAllowThreads(__tstate
);
49066 if (PyErr_Occurred()) SWIG_fail
;
49069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
49077 SWIGINTERN PyObject
*_wrap_GBSpan___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49078 PyObject
*resultobj
= 0;
49079 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
49080 wxGBSpan
*arg2
= 0 ;
49085 PyObject
* obj0
= 0 ;
49086 PyObject
* obj1
= 0 ;
49087 char * kwnames
[] = {
49088 (char *) "self",(char *) "other", NULL
49091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
49093 if (!SWIG_IsOK(res1
)) {
49094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan___ne__" "', expected argument " "1"" of type '" "wxGBSpan *""'");
49096 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
49099 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
49102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49103 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
49104 wxPyEndAllowThreads(__tstate
);
49105 if (PyErr_Occurred()) SWIG_fail
;
49108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
49116 SWIGINTERN PyObject
*_wrap_GBSpan_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49117 PyObject
*resultobj
= 0;
49118 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
49119 int arg2
= (int) 1 ;
49120 int arg3
= (int) 1 ;
49127 PyObject
* obj0
= 0 ;
49128 PyObject
* obj1
= 0 ;
49129 PyObject
* obj2
= 0 ;
49130 char * kwnames
[] = {
49131 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
49134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
49135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
49136 if (!SWIG_IsOK(res1
)) {
49137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan_Set" "', expected argument " "1"" of type '" "wxGBSpan *""'");
49139 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
49141 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
49142 if (!SWIG_IsOK(ecode2
)) {
49143 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GBSpan_Set" "', expected argument " "2"" of type '" "int""'");
49145 arg2
= static_cast< int >(val2
);
49148 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
49149 if (!SWIG_IsOK(ecode3
)) {
49150 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GBSpan_Set" "', expected argument " "3"" of type '" "int""'");
49152 arg3
= static_cast< int >(val3
);
49155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49156 wxGBSpan_Set(arg1
,arg2
,arg3
);
49157 wxPyEndAllowThreads(__tstate
);
49158 if (PyErr_Occurred()) SWIG_fail
;
49160 resultobj
= SWIG_Py_Void();
49167 SWIGINTERN PyObject
*_wrap_GBSpan_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49168 PyObject
*resultobj
= 0;
49169 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
49170 PyObject
*result
= 0 ;
49173 PyObject
*swig_obj
[1] ;
49175 if (!args
) SWIG_fail
;
49176 swig_obj
[0] = args
;
49177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
49178 if (!SWIG_IsOK(res1
)) {
49179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan_Get" "', expected argument " "1"" of type '" "wxGBSpan *""'");
49181 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
49183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49184 result
= (PyObject
*)wxGBSpan_Get(arg1
);
49185 wxPyEndAllowThreads(__tstate
);
49186 if (PyErr_Occurred()) SWIG_fail
;
49188 resultobj
= result
;
49195 SWIGINTERN PyObject
*GBSpan_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49197 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
49198 SWIG_TypeNewClientData(SWIGTYPE_p_wxGBSpan
, SWIG_NewClientData(obj
));
49199 return SWIG_Py_Void();
49202 SWIGINTERN PyObject
*GBSpan_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49203 return SWIG_Python_InitShadowInstance(args
);
49206 SWIGINTERN
int DefaultSpan_set(PyObject
*) {
49207 SWIG_Error(SWIG_AttributeError
,"Variable DefaultSpan is read-only.");
49212 SWIGINTERN PyObject
*DefaultSpan_get(void) {
49213 PyObject
*pyobj
= 0;
49215 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0 );
49220 SWIGINTERN PyObject
*_wrap_new_GBSizerItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49221 PyObject
*resultobj
= 0;
49222 wxGBSizerItem
*result
= 0 ;
49224 if (!SWIG_Python_UnpackTuple(args
,"new_GBSizerItem",0,0,0)) SWIG_fail
;
49226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49227 result
= (wxGBSizerItem
*)new wxGBSizerItem();
49228 wxPyEndAllowThreads(__tstate
);
49229 if (PyErr_Occurred()) SWIG_fail
;
49231 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_NEW
| 0 );
49238 SWIGINTERN PyObject
*_wrap_delete_GBSizerItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49239 PyObject
*resultobj
= 0;
49240 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
49243 PyObject
*swig_obj
[1] ;
49245 if (!args
) SWIG_fail
;
49246 swig_obj
[0] = args
;
49247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_DISOWN
| 0 );
49248 if (!SWIG_IsOK(res1
)) {
49249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GBSizerItem" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
49251 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
49253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49256 wxPyEndAllowThreads(__tstate
);
49257 if (PyErr_Occurred()) SWIG_fail
;
49259 resultobj
= SWIG_Py_Void();
49266 SWIGINTERN PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49267 PyObject
*resultobj
= 0;
49268 wxWindow
*arg1
= (wxWindow
*) 0 ;
49269 wxGBPosition
*arg2
= 0 ;
49270 wxGBSpan
*arg3
= 0 ;
49273 PyObject
*arg6
= (PyObject
*) NULL
;
49274 wxGBSizerItem
*result
= 0 ;
49277 wxGBPosition temp2
;
49283 PyObject
* obj0
= 0 ;
49284 PyObject
* obj1
= 0 ;
49285 PyObject
* obj2
= 0 ;
49286 PyObject
* obj3
= 0 ;
49287 PyObject
* obj4
= 0 ;
49288 PyObject
* obj5
= 0 ;
49289 char * kwnames
[] = {
49290 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
49293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
49294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
49295 if (!SWIG_IsOK(res1
)) {
49296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GBSizerItemWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
49298 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
49301 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
49305 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
49307 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
49308 if (!SWIG_IsOK(ecode4
)) {
49309 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_GBSizerItemWindow" "', expected argument " "4"" of type '" "int""'");
49311 arg4
= static_cast< int >(val4
);
49312 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
49313 if (!SWIG_IsOK(ecode5
)) {
49314 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_GBSizerItemWindow" "', expected argument " "5"" of type '" "int""'");
49316 arg5
= static_cast< int >(val5
);
49321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49322 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
49323 wxPyEndAllowThreads(__tstate
);
49324 if (PyErr_Occurred()) SWIG_fail
;
49326 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_OWN
| 0 );
49333 SWIGINTERN PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49334 PyObject
*resultobj
= 0;
49335 wxSizer
*arg1
= (wxSizer
*) 0 ;
49336 wxGBPosition
*arg2
= 0 ;
49337 wxGBSpan
*arg3
= 0 ;
49340 PyObject
*arg6
= (PyObject
*) NULL
;
49341 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 *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
49359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
49360 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxSizer
, SWIG_POINTER_DISOWN
| 0 );
49361 if (!SWIG_IsOK(res1
)) {
49362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GBSizerItemSizer" "', expected argument " "1"" of type '" "wxSizer *""'");
49366 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
49370 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
49372 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
49373 if (!SWIG_IsOK(ecode4
)) {
49374 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_GBSizerItemSizer" "', expected argument " "4"" of type '" "int""'");
49376 arg4
= static_cast< int >(val4
);
49377 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
49378 if (!SWIG_IsOK(ecode5
)) {
49379 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_GBSizerItemSizer" "', expected argument " "5"" of type '" "int""'");
49381 arg5
= static_cast< int >(val5
);
49386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49387 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
49388 wxPyEndAllowThreads(__tstate
);
49389 if (PyErr_Occurred()) SWIG_fail
;
49391 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_OWN
| 0 );
49398 SWIGINTERN PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49399 PyObject
*resultobj
= 0;
49402 wxGBPosition
*arg3
= 0 ;
49403 wxGBSpan
*arg4
= 0 ;
49406 PyObject
*arg7
= (PyObject
*) NULL
;
49407 wxGBSizerItem
*result
= 0 ;
49412 wxGBPosition temp3
;
49418 PyObject
* obj0
= 0 ;
49419 PyObject
* obj1
= 0 ;
49420 PyObject
* obj2
= 0 ;
49421 PyObject
* obj3
= 0 ;
49422 PyObject
* obj4
= 0 ;
49423 PyObject
* obj5
= 0 ;
49424 PyObject
* obj6
= 0 ;
49425 char * kwnames
[] = {
49426 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
49429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
49430 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
49431 if (!SWIG_IsOK(ecode1
)) {
49432 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GBSizerItemSpacer" "', expected argument " "1"" of type '" "int""'");
49434 arg1
= static_cast< int >(val1
);
49435 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
49436 if (!SWIG_IsOK(ecode2
)) {
49437 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GBSizerItemSpacer" "', expected argument " "2"" of type '" "int""'");
49439 arg2
= static_cast< int >(val2
);
49442 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
49446 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
49448 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
49449 if (!SWIG_IsOK(ecode5
)) {
49450 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_GBSizerItemSpacer" "', expected argument " "5"" of type '" "int""'");
49452 arg5
= static_cast< int >(val5
);
49453 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
49454 if (!SWIG_IsOK(ecode6
)) {
49455 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GBSizerItemSpacer" "', expected argument " "6"" of type '" "int""'");
49457 arg6
= static_cast< int >(val6
);
49462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49463 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
49464 wxPyEndAllowThreads(__tstate
);
49465 if (PyErr_Occurred()) SWIG_fail
;
49467 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_OWN
| 0 );
49474 SWIGINTERN PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49475 PyObject
*resultobj
= 0;
49476 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
49477 wxGBPosition result
;
49480 PyObject
*swig_obj
[1] ;
49482 if (!args
) SWIG_fail
;
49483 swig_obj
[0] = args
;
49484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
49485 if (!SWIG_IsOK(res1
)) {
49486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_GetPos" "', expected argument " "1"" of type '" "wxGBSizerItem const *""'");
49488 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
49490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49491 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
49492 wxPyEndAllowThreads(__tstate
);
49493 if (PyErr_Occurred()) SWIG_fail
;
49495 resultobj
= SWIG_NewPointerObj((new wxGBPosition(static_cast< const wxGBPosition
& >(result
))), SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_OWN
| 0 );
49502 SWIGINTERN PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49503 PyObject
*resultobj
= 0;
49504 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
49508 PyObject
*swig_obj
[1] ;
49510 if (!args
) SWIG_fail
;
49511 swig_obj
[0] = args
;
49512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
49513 if (!SWIG_IsOK(res1
)) {
49514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_GetSpan" "', expected argument " "1"" of type '" "wxGBSizerItem const *""'");
49516 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
49518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49519 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
49520 wxPyEndAllowThreads(__tstate
);
49521 if (PyErr_Occurred()) SWIG_fail
;
49523 resultobj
= SWIG_NewPointerObj((new wxGBSpan(static_cast< const wxGBSpan
& >(result
))), SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_OWN
| 0 );
49530 SWIGINTERN PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49531 PyObject
*resultobj
= 0;
49532 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
49533 wxGBPosition
*arg2
= 0 ;
49537 wxGBPosition temp2
;
49538 PyObject
* obj0
= 0 ;
49539 PyObject
* obj1
= 0 ;
49540 char * kwnames
[] = {
49541 (char *) "self",(char *) "pos", NULL
49544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
49546 if (!SWIG_IsOK(res1
)) {
49547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_SetPos" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
49549 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
49552 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
49555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49556 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
49557 wxPyEndAllowThreads(__tstate
);
49558 if (PyErr_Occurred()) SWIG_fail
;
49561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
49569 SWIGINTERN PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49570 PyObject
*resultobj
= 0;
49571 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
49572 wxGBSpan
*arg2
= 0 ;
49577 PyObject
* obj0
= 0 ;
49578 PyObject
* obj1
= 0 ;
49579 char * kwnames
[] = {
49580 (char *) "self",(char *) "span", NULL
49583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
49585 if (!SWIG_IsOK(res1
)) {
49586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_SetSpan" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
49588 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
49591 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
49594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49595 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
49596 wxPyEndAllowThreads(__tstate
);
49597 if (PyErr_Occurred()) SWIG_fail
;
49600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
49608 SWIGINTERN PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49609 PyObject
*resultobj
= 0;
49610 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
49611 wxGBSizerItem
*arg2
= 0 ;
49617 PyObject
* obj0
= 0 ;
49618 PyObject
* obj1
= 0 ;
49619 char * kwnames
[] = {
49620 (char *) "self",(char *) "other", NULL
49623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
49625 if (!SWIG_IsOK(res1
)) {
49626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_Intersects" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
49628 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
49629 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGBSizerItem
, 0 | 0);
49630 if (!SWIG_IsOK(res2
)) {
49631 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GBSizerItem_Intersects" "', expected argument " "2"" of type '" "wxGBSizerItem const &""'");
49634 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GBSizerItem_Intersects" "', expected argument " "2"" of type '" "wxGBSizerItem const &""'");
49636 arg2
= reinterpret_cast< wxGBSizerItem
* >(argp2
);
49638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49639 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
49640 wxPyEndAllowThreads(__tstate
);
49641 if (PyErr_Occurred()) SWIG_fail
;
49644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
49652 SWIGINTERN PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49653 PyObject
*resultobj
= 0;
49654 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
49655 wxGBPosition
*arg2
= 0 ;
49656 wxGBSpan
*arg3
= 0 ;
49660 wxGBPosition temp2
;
49662 PyObject
* obj0
= 0 ;
49663 PyObject
* obj1
= 0 ;
49664 PyObject
* obj2
= 0 ;
49665 char * kwnames
[] = {
49666 (char *) "self",(char *) "pos",(char *) "span", NULL
49669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
49670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
49671 if (!SWIG_IsOK(res1
)) {
49672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_IntersectsPos" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
49674 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
49677 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
49681 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
49684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49685 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
49686 wxPyEndAllowThreads(__tstate
);
49687 if (PyErr_Occurred()) SWIG_fail
;
49690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
49698 SWIGINTERN PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49699 PyObject
*resultobj
= 0;
49700 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
49701 wxGBPosition result
;
49704 PyObject
*swig_obj
[1] ;
49706 if (!args
) SWIG_fail
;
49707 swig_obj
[0] = args
;
49708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
49709 if (!SWIG_IsOK(res1
)) {
49710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_GetEndPos" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
49712 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
49714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49715 result
= wxGBSizerItem_GetEndPos(arg1
);
49716 wxPyEndAllowThreads(__tstate
);
49717 if (PyErr_Occurred()) SWIG_fail
;
49719 resultobj
= SWIG_NewPointerObj((new wxGBPosition(static_cast< const wxGBPosition
& >(result
))), SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_OWN
| 0 );
49726 SWIGINTERN PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49727 PyObject
*resultobj
= 0;
49728 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
49729 wxGridBagSizer
*result
= 0 ;
49732 PyObject
*swig_obj
[1] ;
49734 if (!args
) SWIG_fail
;
49735 swig_obj
[0] = args
;
49736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
49737 if (!SWIG_IsOK(res1
)) {
49738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_GetGBSizer" "', expected argument " "1"" of type '" "wxGBSizerItem const *""'");
49740 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
49742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49743 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
49744 wxPyEndAllowThreads(__tstate
);
49745 if (PyErr_Occurred()) SWIG_fail
;
49747 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
49754 SWIGINTERN PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49755 PyObject
*resultobj
= 0;
49756 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
49757 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
49762 PyObject
* obj0
= 0 ;
49763 PyObject
* obj1
= 0 ;
49764 char * kwnames
[] = {
49765 (char *) "self",(char *) "sizer", NULL
49768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
49770 if (!SWIG_IsOK(res1
)) {
49771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_SetGBSizer" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
49773 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
49774 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
49775 if (!SWIG_IsOK(res2
)) {
49776 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GBSizerItem_SetGBSizer" "', expected argument " "2"" of type '" "wxGridBagSizer *""'");
49778 arg2
= reinterpret_cast< wxGridBagSizer
* >(argp2
);
49780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49781 (arg1
)->SetGBSizer(arg2
);
49782 wxPyEndAllowThreads(__tstate
);
49783 if (PyErr_Occurred()) SWIG_fail
;
49785 resultobj
= SWIG_Py_Void();
49792 SWIGINTERN PyObject
*GBSizerItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49794 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
49795 SWIG_TypeNewClientData(SWIGTYPE_p_wxGBSizerItem
, SWIG_NewClientData(obj
));
49796 return SWIG_Py_Void();
49799 SWIGINTERN PyObject
*GBSizerItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49800 return SWIG_Python_InitShadowInstance(args
);
49803 SWIGINTERN PyObject
*_wrap_new_GridBagSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49804 PyObject
*resultobj
= 0;
49805 int arg1
= (int) 0 ;
49806 int arg2
= (int) 0 ;
49807 wxGridBagSizer
*result
= 0 ;
49812 PyObject
* obj0
= 0 ;
49813 PyObject
* obj1
= 0 ;
49814 char * kwnames
[] = {
49815 (char *) "vgap",(char *) "hgap", NULL
49818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49820 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
49821 if (!SWIG_IsOK(ecode1
)) {
49822 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridBagSizer" "', expected argument " "1"" of type '" "int""'");
49824 arg1
= static_cast< int >(val1
);
49827 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
49828 if (!SWIG_IsOK(ecode2
)) {
49829 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridBagSizer" "', expected argument " "2"" of type '" "int""'");
49831 arg2
= static_cast< int >(val2
);
49834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49835 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
49836 wxPyEndAllowThreads(__tstate
);
49837 if (PyErr_Occurred()) SWIG_fail
;
49839 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_NEW
| 0 );
49846 SWIGINTERN PyObject
*_wrap_GridBagSizer_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49847 PyObject
*resultobj
= 0;
49848 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
49849 PyObject
*arg2
= (PyObject
*) 0 ;
49850 wxGBPosition
*arg3
= 0 ;
49851 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
49852 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
49853 int arg5
= (int) 0 ;
49854 int arg6
= (int) 0 ;
49855 PyObject
*arg7
= (PyObject
*) NULL
;
49856 wxGBSizerItem
*result
= 0 ;
49859 wxGBPosition temp3
;
49865 PyObject
* obj0
= 0 ;
49866 PyObject
* obj1
= 0 ;
49867 PyObject
* obj2
= 0 ;
49868 PyObject
* obj3
= 0 ;
49869 PyObject
* obj4
= 0 ;
49870 PyObject
* obj5
= 0 ;
49871 PyObject
* obj6
= 0 ;
49872 char * kwnames
[] = {
49873 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
49876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
49877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
49878 if (!SWIG_IsOK(res1
)) {
49879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_Add" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
49881 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
49885 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
49890 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
49894 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
49895 if (!SWIG_IsOK(ecode5
)) {
49896 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GridBagSizer_Add" "', expected argument " "5"" of type '" "int""'");
49898 arg5
= static_cast< int >(val5
);
49901 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
49902 if (!SWIG_IsOK(ecode6
)) {
49903 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GridBagSizer_Add" "', expected argument " "6"" of type '" "int""'");
49905 arg6
= static_cast< int >(val6
);
49911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49912 result
= (wxGBSizerItem
*)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
49913 wxPyEndAllowThreads(__tstate
);
49914 if (PyErr_Occurred()) SWIG_fail
;
49916 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
49923 SWIGINTERN PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49924 PyObject
*resultobj
= 0;
49925 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
49926 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
49927 wxGBSizerItem
*result
= 0 ;
49931 PyObject
* obj0
= 0 ;
49932 PyObject
* obj1
= 0 ;
49933 char * kwnames
[] = {
49934 (char *) "self",(char *) "item", NULL
49937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
49939 if (!SWIG_IsOK(res1
)) {
49940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_AddItem" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
49942 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
49943 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_DISOWN
| 0 );
49944 if (!SWIG_IsOK(res2
)) {
49945 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_AddItem" "', expected argument " "2"" of type '" "wxGBSizerItem *""'");
49948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49949 result
= (wxGBSizerItem
*)(arg1
)->Add(arg2
);
49950 wxPyEndAllowThreads(__tstate
);
49951 if (PyErr_Occurred()) SWIG_fail
;
49953 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
49960 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetCellSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49961 PyObject
*resultobj
= 0;
49962 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
49972 PyObject
* obj0
= 0 ;
49973 PyObject
* obj1
= 0 ;
49974 PyObject
* obj2
= 0 ;
49975 char * kwnames
[] = {
49976 (char *) "self",(char *) "row",(char *) "col", NULL
49979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridBagSizer_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
49980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
49981 if (!SWIG_IsOK(res1
)) {
49982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetCellSize" "', expected argument " "1"" of type '" "wxGridBagSizer const *""'");
49984 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
49985 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
49986 if (!SWIG_IsOK(ecode2
)) {
49987 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridBagSizer_GetCellSize" "', expected argument " "2"" of type '" "int""'");
49989 arg2
= static_cast< int >(val2
);
49990 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
49991 if (!SWIG_IsOK(ecode3
)) {
49992 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridBagSizer_GetCellSize" "', expected argument " "3"" of type '" "int""'");
49994 arg3
= static_cast< int >(val3
);
49996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49997 result
= ((wxGridBagSizer
const *)arg1
)->GetCellSize(arg2
,arg3
);
49998 wxPyEndAllowThreads(__tstate
);
49999 if (PyErr_Occurred()) SWIG_fail
;
50001 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
50008 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50009 PyObject
*resultobj
= 0;
50010 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50014 PyObject
*swig_obj
[1] ;
50016 if (!args
) SWIG_fail
;
50017 swig_obj
[0] = args
;
50018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50019 if (!SWIG_IsOK(res1
)) {
50020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetEmptyCellSize" "', expected argument " "1"" of type '" "wxGridBagSizer const *""'");
50022 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50025 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
50026 wxPyEndAllowThreads(__tstate
);
50027 if (PyErr_Occurred()) SWIG_fail
;
50029 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
50036 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50037 PyObject
*resultobj
= 0;
50038 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50043 PyObject
* obj0
= 0 ;
50044 PyObject
* obj1
= 0 ;
50045 char * kwnames
[] = {
50046 (char *) "self",(char *) "sz", NULL
50049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50051 if (!SWIG_IsOK(res1
)) {
50052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetEmptyCellSize" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50054 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50057 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
50060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50061 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
50062 wxPyEndAllowThreads(__tstate
);
50063 if (PyErr_Occurred()) SWIG_fail
;
50065 resultobj
= SWIG_Py_Void();
50072 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50073 PyObject
*resultobj
= 0;
50074 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50075 wxWindow
*arg2
= (wxWindow
*) 0 ;
50076 wxGBPosition result
;
50082 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
50083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50084 if (!SWIG_IsOK(res1
)) {
50085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetItemPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50087 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50088 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
50089 if (!SWIG_IsOK(res2
)) {
50090 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_GetItemPosition" "', expected argument " "2"" of type '" "wxWindow *""'");
50092 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
50094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50095 result
= (arg1
)->GetItemPosition(arg2
);
50096 wxPyEndAllowThreads(__tstate
);
50097 if (PyErr_Occurred()) SWIG_fail
;
50099 resultobj
= SWIG_NewPointerObj((new wxGBPosition(static_cast< const wxGBPosition
& >(result
))), SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_OWN
| 0 );
50106 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50107 PyObject
*resultobj
= 0;
50108 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50109 wxSizer
*arg2
= (wxSizer
*) 0 ;
50110 wxGBPosition result
;
50116 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
50117 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50118 if (!SWIG_IsOK(res1
)) {
50119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetItemPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50121 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50122 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50123 if (!SWIG_IsOK(res2
)) {
50124 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_GetItemPosition" "', expected argument " "2"" of type '" "wxSizer *""'");
50126 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
50128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50129 result
= (arg1
)->GetItemPosition(arg2
);
50130 wxPyEndAllowThreads(__tstate
);
50131 if (PyErr_Occurred()) SWIG_fail
;
50133 resultobj
= SWIG_NewPointerObj((new wxGBPosition(static_cast< const wxGBPosition
& >(result
))), SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_OWN
| 0 );
50140 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50141 PyObject
*resultobj
= 0;
50142 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50144 wxGBPosition result
;
50150 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
50151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50152 if (!SWIG_IsOK(res1
)) {
50153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetItemPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50155 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50156 ecode2
= SWIG_AsVal_size_t(swig_obj
[1], &val2
);
50157 if (!SWIG_IsOK(ecode2
)) {
50158 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridBagSizer_GetItemPosition" "', expected argument " "2"" of type '" "size_t""'");
50160 arg2
= static_cast< size_t >(val2
);
50162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50163 result
= (arg1
)->GetItemPosition(arg2
);
50164 wxPyEndAllowThreads(__tstate
);
50165 if (PyErr_Occurred()) SWIG_fail
;
50167 resultobj
= SWIG_NewPointerObj((new wxGBPosition(static_cast< const wxGBPosition
& >(result
))), SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_OWN
| 0 );
50174 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
50178 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GridBagSizer_GetItemPosition",0,2,argv
))) SWIG_fail
;
50184 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxWindow
, 0);
50185 _v
= SWIG_CheckState(res
);
50187 if (!_v
) goto check_1
;
50188 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
, argc
, argv
);
50196 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxSizer
, 0);
50197 _v
= SWIG_CheckState(res
);
50199 if (!_v
) goto check_2
;
50200 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
, argc
, argv
);
50205 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
, argc
, argv
);
50209 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
50214 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50215 PyObject
*resultobj
= 0;
50216 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50217 wxWindow
*arg2
= (wxWindow
*) 0 ;
50218 wxGBPosition
*arg3
= 0 ;
50224 wxGBPosition temp3
;
50226 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
50227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50228 if (!SWIG_IsOK(res1
)) {
50229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetItemPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50231 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50232 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
50233 if (!SWIG_IsOK(res2
)) {
50234 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_SetItemPosition" "', expected argument " "2"" of type '" "wxWindow *""'");
50236 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
50239 if ( ! wxGBPosition_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
50242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50243 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
50244 wxPyEndAllowThreads(__tstate
);
50245 if (PyErr_Occurred()) SWIG_fail
;
50248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
50256 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50257 PyObject
*resultobj
= 0;
50258 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50259 wxSizer
*arg2
= (wxSizer
*) 0 ;
50260 wxGBPosition
*arg3
= 0 ;
50266 wxGBPosition temp3
;
50268 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
50269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50270 if (!SWIG_IsOK(res1
)) {
50271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetItemPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50273 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50274 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50275 if (!SWIG_IsOK(res2
)) {
50276 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_SetItemPosition" "', expected argument " "2"" of type '" "wxSizer *""'");
50278 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
50281 if ( ! wxGBPosition_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
50284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50285 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
50286 wxPyEndAllowThreads(__tstate
);
50287 if (PyErr_Occurred()) SWIG_fail
;
50290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
50298 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50299 PyObject
*resultobj
= 0;
50300 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50302 wxGBPosition
*arg3
= 0 ;
50308 wxGBPosition temp3
;
50310 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
50311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50312 if (!SWIG_IsOK(res1
)) {
50313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetItemPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50315 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50316 ecode2
= SWIG_AsVal_size_t(swig_obj
[1], &val2
);
50317 if (!SWIG_IsOK(ecode2
)) {
50318 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridBagSizer_SetItemPosition" "', expected argument " "2"" of type '" "size_t""'");
50320 arg2
= static_cast< size_t >(val2
);
50323 if ( ! wxGBPosition_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
50326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50327 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
50328 wxPyEndAllowThreads(__tstate
);
50329 if (PyErr_Occurred()) SWIG_fail
;
50332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
50340 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
50344 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GridBagSizer_SetItemPosition",0,3,argv
))) SWIG_fail
;
50350 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxWindow
, 0);
50351 _v
= SWIG_CheckState(res
);
50353 if (!_v
) goto check_1
;
50354 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
, argc
, argv
);
50362 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxSizer
, 0);
50363 _v
= SWIG_CheckState(res
);
50365 if (!_v
) goto check_2
;
50366 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
, argc
, argv
);
50371 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
, argc
, argv
);
50375 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
50380 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50381 PyObject
*resultobj
= 0;
50382 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50383 wxWindow
*arg2
= (wxWindow
*) 0 ;
50390 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
50391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50392 if (!SWIG_IsOK(res1
)) {
50393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetItemSpan" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50395 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50396 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
50397 if (!SWIG_IsOK(res2
)) {
50398 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_GetItemSpan" "', expected argument " "2"" of type '" "wxWindow *""'");
50400 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
50402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50403 result
= (arg1
)->GetItemSpan(arg2
);
50404 wxPyEndAllowThreads(__tstate
);
50405 if (PyErr_Occurred()) SWIG_fail
;
50407 resultobj
= SWIG_NewPointerObj((new wxGBSpan(static_cast< const wxGBSpan
& >(result
))), SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_OWN
| 0 );
50414 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50415 PyObject
*resultobj
= 0;
50416 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50417 wxSizer
*arg2
= (wxSizer
*) 0 ;
50424 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
50425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50426 if (!SWIG_IsOK(res1
)) {
50427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetItemSpan" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50429 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50430 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50431 if (!SWIG_IsOK(res2
)) {
50432 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_GetItemSpan" "', expected argument " "2"" of type '" "wxSizer *""'");
50434 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
50436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50437 result
= (arg1
)->GetItemSpan(arg2
);
50438 wxPyEndAllowThreads(__tstate
);
50439 if (PyErr_Occurred()) SWIG_fail
;
50441 resultobj
= SWIG_NewPointerObj((new wxGBSpan(static_cast< const wxGBSpan
& >(result
))), SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_OWN
| 0 );
50448 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50449 PyObject
*resultobj
= 0;
50450 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50458 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
50459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50460 if (!SWIG_IsOK(res1
)) {
50461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetItemSpan" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50463 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50464 ecode2
= SWIG_AsVal_size_t(swig_obj
[1], &val2
);
50465 if (!SWIG_IsOK(ecode2
)) {
50466 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridBagSizer_GetItemSpan" "', expected argument " "2"" of type '" "size_t""'");
50468 arg2
= static_cast< size_t >(val2
);
50470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50471 result
= (arg1
)->GetItemSpan(arg2
);
50472 wxPyEndAllowThreads(__tstate
);
50473 if (PyErr_Occurred()) SWIG_fail
;
50475 resultobj
= SWIG_NewPointerObj((new wxGBSpan(static_cast< const wxGBSpan
& >(result
))), SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_OWN
| 0 );
50482 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
50486 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GridBagSizer_GetItemSpan",0,2,argv
))) SWIG_fail
;
50492 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxWindow
, 0);
50493 _v
= SWIG_CheckState(res
);
50495 if (!_v
) goto check_1
;
50496 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
, argc
, argv
);
50504 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxSizer
, 0);
50505 _v
= SWIG_CheckState(res
);
50507 if (!_v
) goto check_2
;
50508 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
, argc
, argv
);
50513 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
, argc
, argv
);
50517 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
50522 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50523 PyObject
*resultobj
= 0;
50524 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50525 wxWindow
*arg2
= (wxWindow
*) 0 ;
50526 wxGBSpan
*arg3
= 0 ;
50534 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
50535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50536 if (!SWIG_IsOK(res1
)) {
50537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetItemSpan" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50539 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50540 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
50541 if (!SWIG_IsOK(res2
)) {
50542 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_SetItemSpan" "', expected argument " "2"" of type '" "wxWindow *""'");
50544 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
50547 if ( ! wxGBSpan_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
50550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50551 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
50552 wxPyEndAllowThreads(__tstate
);
50553 if (PyErr_Occurred()) SWIG_fail
;
50556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
50564 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50565 PyObject
*resultobj
= 0;
50566 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50567 wxSizer
*arg2
= (wxSizer
*) 0 ;
50568 wxGBSpan
*arg3
= 0 ;
50576 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
50577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50578 if (!SWIG_IsOK(res1
)) {
50579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetItemSpan" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50581 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50582 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50583 if (!SWIG_IsOK(res2
)) {
50584 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_SetItemSpan" "', expected argument " "2"" of type '" "wxSizer *""'");
50586 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
50589 if ( ! wxGBSpan_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
50592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50593 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
50594 wxPyEndAllowThreads(__tstate
);
50595 if (PyErr_Occurred()) SWIG_fail
;
50598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
50606 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50607 PyObject
*resultobj
= 0;
50608 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50610 wxGBSpan
*arg3
= 0 ;
50618 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
50619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50620 if (!SWIG_IsOK(res1
)) {
50621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetItemSpan" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50623 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50624 ecode2
= SWIG_AsVal_size_t(swig_obj
[1], &val2
);
50625 if (!SWIG_IsOK(ecode2
)) {
50626 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridBagSizer_SetItemSpan" "', expected argument " "2"" of type '" "size_t""'");
50628 arg2
= static_cast< size_t >(val2
);
50631 if ( ! wxGBSpan_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
50634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50635 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
50636 wxPyEndAllowThreads(__tstate
);
50637 if (PyErr_Occurred()) SWIG_fail
;
50640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
50648 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
50652 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GridBagSizer_SetItemSpan",0,3,argv
))) SWIG_fail
;
50658 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxWindow
, 0);
50659 _v
= SWIG_CheckState(res
);
50661 if (!_v
) goto check_1
;
50662 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
, argc
, argv
);
50670 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxSizer
, 0);
50671 _v
= SWIG_CheckState(res
);
50673 if (!_v
) goto check_2
;
50674 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
, argc
, argv
);
50679 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
, argc
, argv
);
50683 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
50688 SWIGINTERN PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50689 PyObject
*resultobj
= 0;
50690 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50691 wxWindow
*arg2
= (wxWindow
*) 0 ;
50692 wxGBSizerItem
*result
= 0 ;
50698 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
50699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50700 if (!SWIG_IsOK(res1
)) {
50701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_FindItem" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50703 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50704 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
50705 if (!SWIG_IsOK(res2
)) {
50706 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_FindItem" "', expected argument " "2"" of type '" "wxWindow *""'");
50708 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
50710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50711 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
50712 wxPyEndAllowThreads(__tstate
);
50713 if (PyErr_Occurred()) SWIG_fail
;
50715 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
50722 SWIGINTERN PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50723 PyObject
*resultobj
= 0;
50724 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50725 wxSizer
*arg2
= (wxSizer
*) 0 ;
50726 wxGBSizerItem
*result
= 0 ;
50732 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
50733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50734 if (!SWIG_IsOK(res1
)) {
50735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_FindItem" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50737 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50738 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50739 if (!SWIG_IsOK(res2
)) {
50740 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_FindItem" "', expected argument " "2"" of type '" "wxSizer *""'");
50742 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
50744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50745 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
50746 wxPyEndAllowThreads(__tstate
);
50747 if (PyErr_Occurred()) SWIG_fail
;
50749 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
50756 SWIGINTERN PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
50760 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GridBagSizer_FindItem",0,2,argv
))) SWIG_fail
;
50766 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxWindow
, 0);
50767 _v
= SWIG_CheckState(res
);
50769 if (!_v
) goto check_1
;
50770 return _wrap_GridBagSizer_FindItem__SWIG_0(self
, argc
, argv
);
50775 return _wrap_GridBagSizer_FindItem__SWIG_1(self
, argc
, argv
);
50779 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
50784 SWIGINTERN PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50785 PyObject
*resultobj
= 0;
50786 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50787 wxGBPosition
*arg2
= 0 ;
50788 wxGBSizerItem
*result
= 0 ;
50791 wxGBPosition temp2
;
50792 PyObject
* obj0
= 0 ;
50793 PyObject
* obj1
= 0 ;
50794 char * kwnames
[] = {
50795 (char *) "self",(char *) "pos", NULL
50798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50800 if (!SWIG_IsOK(res1
)) {
50801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_FindItemAtPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50803 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50806 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
50809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50810 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
50811 wxPyEndAllowThreads(__tstate
);
50812 if (PyErr_Occurred()) SWIG_fail
;
50814 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
50821 SWIGINTERN PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50822 PyObject
*resultobj
= 0;
50823 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50824 wxPoint
*arg2
= 0 ;
50825 wxGBSizerItem
*result
= 0 ;
50829 PyObject
* obj0
= 0 ;
50830 PyObject
* obj1
= 0 ;
50831 char * kwnames
[] = {
50832 (char *) "self",(char *) "pt", NULL
50835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50837 if (!SWIG_IsOK(res1
)) {
50838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_FindItemAtPoint" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50840 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50843 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
50846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50847 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
50848 wxPyEndAllowThreads(__tstate
);
50849 if (PyErr_Occurred()) SWIG_fail
;
50851 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
50858 SWIGINTERN PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50859 PyObject
*resultobj
= 0;
50860 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50861 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
50862 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
50870 PyObject
* obj0
= 0 ;
50871 PyObject
* obj1
= 0 ;
50872 PyObject
* obj2
= 0 ;
50873 char * kwnames
[] = {
50874 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
50877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
50878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50879 if (!SWIG_IsOK(res1
)) {
50880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_CheckForIntersection" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50882 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50883 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
50884 if (!SWIG_IsOK(res2
)) {
50885 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_CheckForIntersection" "', expected argument " "2"" of type '" "wxGBSizerItem *""'");
50887 arg2
= reinterpret_cast< wxGBSizerItem
* >(argp2
);
50889 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
50890 if (!SWIG_IsOK(res3
)) {
50891 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "GridBagSizer_CheckForIntersection" "', expected argument " "3"" of type '" "wxGBSizerItem *""'");
50893 arg3
= reinterpret_cast< wxGBSizerItem
* >(argp3
);
50896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50897 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
50898 wxPyEndAllowThreads(__tstate
);
50899 if (PyErr_Occurred()) SWIG_fail
;
50902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
50910 SWIGINTERN PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50911 PyObject
*resultobj
= 0;
50912 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50913 wxGBPosition
*arg2
= 0 ;
50914 wxGBSpan
*arg3
= 0 ;
50915 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
50919 wxGBPosition temp2
;
50923 PyObject
* obj0
= 0 ;
50924 PyObject
* obj1
= 0 ;
50925 PyObject
* obj2
= 0 ;
50926 PyObject
* obj3
= 0 ;
50927 char * kwnames
[] = {
50928 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
50931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
50932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50933 if (!SWIG_IsOK(res1
)) {
50934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_CheckForIntersectionPos" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50936 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50939 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
50943 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
50946 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
50947 if (!SWIG_IsOK(res4
)) {
50948 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GridBagSizer_CheckForIntersectionPos" "', expected argument " "4"" of type '" "wxGBSizerItem *""'");
50950 arg4
= reinterpret_cast< wxGBSizerItem
* >(argp4
);
50953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50954 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
50955 wxPyEndAllowThreads(__tstate
);
50956 if (PyErr_Occurred()) SWIG_fail
;
50959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
50967 SWIGINTERN PyObject
*GridBagSizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50969 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
50970 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridBagSizer
, SWIG_NewClientData(obj
));
50971 return SWIG_Py_Void();
50974 SWIGINTERN PyObject
*GridBagSizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50975 return SWIG_Python_InitShadowInstance(args
);
50978 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50979 PyObject
*resultobj
= 0;
50980 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
50981 wxRelationship arg2
;
50982 wxWindow
*arg3
= (wxWindow
*) 0 ;
50984 int arg5
= (int) 0 ;
50985 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
50998 PyObject
* obj0
= 0 ;
50999 PyObject
* obj1
= 0 ;
51000 PyObject
* obj2
= 0 ;
51001 PyObject
* obj3
= 0 ;
51002 PyObject
* obj4
= 0 ;
51003 PyObject
* obj5
= 0 ;
51004 char * kwnames
[] = {
51005 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
51008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
51009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51010 if (!SWIG_IsOK(res1
)) {
51011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_Set" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51013 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51014 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
51015 if (!SWIG_IsOK(ecode2
)) {
51016 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_Set" "', expected argument " "2"" of type '" "wxRelationship""'");
51018 arg2
= static_cast< wxRelationship
>(val2
);
51019 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
51020 if (!SWIG_IsOK(res3
)) {
51021 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "IndividualLayoutConstraint_Set" "', expected argument " "3"" of type '" "wxWindow *""'");
51023 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
51024 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
51025 if (!SWIG_IsOK(ecode4
)) {
51026 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "IndividualLayoutConstraint_Set" "', expected argument " "4"" of type '" "wxEdge""'");
51028 arg4
= static_cast< wxEdge
>(val4
);
51030 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
51031 if (!SWIG_IsOK(ecode5
)) {
51032 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "IndividualLayoutConstraint_Set" "', expected argument " "5"" of type '" "int""'");
51034 arg5
= static_cast< int >(val5
);
51037 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
51038 if (!SWIG_IsOK(ecode6
)) {
51039 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "IndividualLayoutConstraint_Set" "', expected argument " "6"" of type '" "int""'");
51041 arg6
= static_cast< int >(val6
);
51044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51045 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
);
51046 wxPyEndAllowThreads(__tstate
);
51047 if (PyErr_Occurred()) SWIG_fail
;
51049 resultobj
= SWIG_Py_Void();
51056 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51057 PyObject
*resultobj
= 0;
51058 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51059 wxWindow
*arg2
= (wxWindow
*) 0 ;
51060 int arg3
= (int) 0 ;
51067 PyObject
* obj0
= 0 ;
51068 PyObject
* obj1
= 0 ;
51069 PyObject
* obj2
= 0 ;
51070 char * kwnames
[] = {
51071 (char *) "self",(char *) "sibling",(char *) "marg", NULL
51074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) 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_LeftOf" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51079 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51080 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
51081 if (!SWIG_IsOK(res2
)) {
51082 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_LeftOf" "', expected argument " "2"" of type '" "wxWindow *""'");
51084 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
51086 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
51087 if (!SWIG_IsOK(ecode3
)) {
51088 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IndividualLayoutConstraint_LeftOf" "', expected argument " "3"" of type '" "int""'");
51090 arg3
= static_cast< int >(val3
);
51093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51094 (arg1
)->LeftOf(arg2
,arg3
);
51095 wxPyEndAllowThreads(__tstate
);
51096 if (PyErr_Occurred()) SWIG_fail
;
51098 resultobj
= SWIG_Py_Void();
51105 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51106 PyObject
*resultobj
= 0;
51107 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51108 wxWindow
*arg2
= (wxWindow
*) 0 ;
51109 int arg3
= (int) 0 ;
51116 PyObject
* obj0
= 0 ;
51117 PyObject
* obj1
= 0 ;
51118 PyObject
* obj2
= 0 ;
51119 char * kwnames
[] = {
51120 (char *) "self",(char *) "sibling",(char *) "marg", NULL
51123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
51124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51125 if (!SWIG_IsOK(res1
)) {
51126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_RightOf" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51128 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51129 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
51130 if (!SWIG_IsOK(res2
)) {
51131 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_RightOf" "', expected argument " "2"" of type '" "wxWindow *""'");
51133 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
51135 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
51136 if (!SWIG_IsOK(ecode3
)) {
51137 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IndividualLayoutConstraint_RightOf" "', expected argument " "3"" of type '" "int""'");
51139 arg3
= static_cast< int >(val3
);
51142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51143 (arg1
)->RightOf(arg2
,arg3
);
51144 wxPyEndAllowThreads(__tstate
);
51145 if (PyErr_Occurred()) SWIG_fail
;
51147 resultobj
= SWIG_Py_Void();
51154 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51155 PyObject
*resultobj
= 0;
51156 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51157 wxWindow
*arg2
= (wxWindow
*) 0 ;
51158 int arg3
= (int) 0 ;
51165 PyObject
* obj0
= 0 ;
51166 PyObject
* obj1
= 0 ;
51167 PyObject
* obj2
= 0 ;
51168 char * kwnames
[] = {
51169 (char *) "self",(char *) "sibling",(char *) "marg", NULL
51172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
51173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51174 if (!SWIG_IsOK(res1
)) {
51175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_Above" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51177 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51178 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
51179 if (!SWIG_IsOK(res2
)) {
51180 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_Above" "', expected argument " "2"" of type '" "wxWindow *""'");
51182 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
51184 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
51185 if (!SWIG_IsOK(ecode3
)) {
51186 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IndividualLayoutConstraint_Above" "', expected argument " "3"" of type '" "int""'");
51188 arg3
= static_cast< int >(val3
);
51191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51192 (arg1
)->Above(arg2
,arg3
);
51193 wxPyEndAllowThreads(__tstate
);
51194 if (PyErr_Occurred()) SWIG_fail
;
51196 resultobj
= SWIG_Py_Void();
51203 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51204 PyObject
*resultobj
= 0;
51205 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51206 wxWindow
*arg2
= (wxWindow
*) 0 ;
51207 int arg3
= (int) 0 ;
51214 PyObject
* obj0
= 0 ;
51215 PyObject
* obj1
= 0 ;
51216 PyObject
* obj2
= 0 ;
51217 char * kwnames
[] = {
51218 (char *) "self",(char *) "sibling",(char *) "marg", NULL
51221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
51222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51223 if (!SWIG_IsOK(res1
)) {
51224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_Below" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51226 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51227 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
51228 if (!SWIG_IsOK(res2
)) {
51229 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_Below" "', expected argument " "2"" of type '" "wxWindow *""'");
51231 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
51233 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
51234 if (!SWIG_IsOK(ecode3
)) {
51235 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IndividualLayoutConstraint_Below" "', expected argument " "3"" of type '" "int""'");
51237 arg3
= static_cast< int >(val3
);
51240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51241 (arg1
)->Below(arg2
,arg3
);
51242 wxPyEndAllowThreads(__tstate
);
51243 if (PyErr_Occurred()) SWIG_fail
;
51245 resultobj
= SWIG_Py_Void();
51252 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51253 PyObject
*resultobj
= 0;
51254 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51255 wxWindow
*arg2
= (wxWindow
*) 0 ;
51257 int arg4
= (int) 0 ;
51266 PyObject
* obj0
= 0 ;
51267 PyObject
* obj1
= 0 ;
51268 PyObject
* obj2
= 0 ;
51269 PyObject
* obj3
= 0 ;
51270 char * kwnames
[] = {
51271 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
51274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
51275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51276 if (!SWIG_IsOK(res1
)) {
51277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SameAs" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51279 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51280 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
51281 if (!SWIG_IsOK(res2
)) {
51282 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_SameAs" "', expected argument " "2"" of type '" "wxWindow *""'");
51284 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
51285 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
51286 if (!SWIG_IsOK(ecode3
)) {
51287 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IndividualLayoutConstraint_SameAs" "', expected argument " "3"" of type '" "wxEdge""'");
51289 arg3
= static_cast< wxEdge
>(val3
);
51291 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
51292 if (!SWIG_IsOK(ecode4
)) {
51293 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "IndividualLayoutConstraint_SameAs" "', expected argument " "4"" of type '" "int""'");
51295 arg4
= static_cast< int >(val4
);
51298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51299 (arg1
)->SameAs(arg2
,arg3
,arg4
);
51300 wxPyEndAllowThreads(__tstate
);
51301 if (PyErr_Occurred()) SWIG_fail
;
51303 resultobj
= SWIG_Py_Void();
51310 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51311 PyObject
*resultobj
= 0;
51312 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51313 wxWindow
*arg2
= (wxWindow
*) 0 ;
51324 PyObject
* obj0
= 0 ;
51325 PyObject
* obj1
= 0 ;
51326 PyObject
* obj2
= 0 ;
51327 PyObject
* obj3
= 0 ;
51328 char * kwnames
[] = {
51329 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
51332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
51333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51334 if (!SWIG_IsOK(res1
)) {
51335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_PercentOf" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51337 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51338 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
51339 if (!SWIG_IsOK(res2
)) {
51340 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_PercentOf" "', expected argument " "2"" of type '" "wxWindow *""'");
51342 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
51343 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
51344 if (!SWIG_IsOK(ecode3
)) {
51345 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IndividualLayoutConstraint_PercentOf" "', expected argument " "3"" of type '" "wxEdge""'");
51347 arg3
= static_cast< wxEdge
>(val3
);
51348 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
51349 if (!SWIG_IsOK(ecode4
)) {
51350 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "IndividualLayoutConstraint_PercentOf" "', expected argument " "4"" of type '" "int""'");
51352 arg4
= static_cast< int >(val4
);
51354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51355 (arg1
)->PercentOf(arg2
,arg3
,arg4
);
51356 wxPyEndAllowThreads(__tstate
);
51357 if (PyErr_Occurred()) SWIG_fail
;
51359 resultobj
= SWIG_Py_Void();
51366 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51367 PyObject
*resultobj
= 0;
51368 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51374 PyObject
* obj0
= 0 ;
51375 PyObject
* obj1
= 0 ;
51376 char * kwnames
[] = {
51377 (char *) "self",(char *) "val", NULL
51380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51382 if (!SWIG_IsOK(res1
)) {
51383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_Absolute" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51385 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51386 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
51387 if (!SWIG_IsOK(ecode2
)) {
51388 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_Absolute" "', expected argument " "2"" of type '" "int""'");
51390 arg2
= static_cast< int >(val2
);
51392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51393 (arg1
)->Absolute(arg2
);
51394 wxPyEndAllowThreads(__tstate
);
51395 if (PyErr_Occurred()) SWIG_fail
;
51397 resultobj
= SWIG_Py_Void();
51404 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51405 PyObject
*resultobj
= 0;
51406 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51409 PyObject
*swig_obj
[1] ;
51411 if (!args
) SWIG_fail
;
51412 swig_obj
[0] = args
;
51413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51414 if (!SWIG_IsOK(res1
)) {
51415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_Unconstrained" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51417 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51420 (arg1
)->Unconstrained();
51421 wxPyEndAllowThreads(__tstate
);
51422 if (PyErr_Occurred()) SWIG_fail
;
51424 resultobj
= SWIG_Py_Void();
51431 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51432 PyObject
*resultobj
= 0;
51433 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51436 PyObject
*swig_obj
[1] ;
51438 if (!args
) SWIG_fail
;
51439 swig_obj
[0] = args
;
51440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51441 if (!SWIG_IsOK(res1
)) {
51442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_AsIs" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51444 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51448 wxPyEndAllowThreads(__tstate
);
51449 if (PyErr_Occurred()) SWIG_fail
;
51451 resultobj
= SWIG_Py_Void();
51458 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51459 PyObject
*resultobj
= 0;
51460 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51461 wxWindow
*result
= 0 ;
51464 PyObject
*swig_obj
[1] ;
51466 if (!args
) SWIG_fail
;
51467 swig_obj
[0] = args
;
51468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51469 if (!SWIG_IsOK(res1
)) {
51470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetOtherWindow" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51472 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51475 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
51476 wxPyEndAllowThreads(__tstate
);
51477 if (PyErr_Occurred()) SWIG_fail
;
51480 resultobj
= wxPyMake_wxObject(result
, 0);
51488 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51489 PyObject
*resultobj
= 0;
51490 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51494 PyObject
*swig_obj
[1] ;
51496 if (!args
) SWIG_fail
;
51497 swig_obj
[0] = args
;
51498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51499 if (!SWIG_IsOK(res1
)) {
51500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetMyEdge" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint const *""'");
51502 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51505 result
= (wxEdge
)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
51506 wxPyEndAllowThreads(__tstate
);
51507 if (PyErr_Occurred()) SWIG_fail
;
51509 resultobj
= SWIG_From_int(static_cast< int >(result
));
51516 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51517 PyObject
*resultobj
= 0;
51518 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51524 PyObject
* obj0
= 0 ;
51525 PyObject
* obj1
= 0 ;
51526 char * kwnames
[] = {
51527 (char *) "self",(char *) "which", NULL
51530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51532 if (!SWIG_IsOK(res1
)) {
51533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SetEdge" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51535 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51536 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
51537 if (!SWIG_IsOK(ecode2
)) {
51538 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_SetEdge" "', expected argument " "2"" of type '" "wxEdge""'");
51540 arg2
= static_cast< wxEdge
>(val2
);
51542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51543 (arg1
)->SetEdge(arg2
);
51544 wxPyEndAllowThreads(__tstate
);
51545 if (PyErr_Occurred()) SWIG_fail
;
51547 resultobj
= SWIG_Py_Void();
51554 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51555 PyObject
*resultobj
= 0;
51556 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51562 PyObject
* obj0
= 0 ;
51563 PyObject
* obj1
= 0 ;
51564 char * kwnames
[] = {
51565 (char *) "self",(char *) "v", NULL
51568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51570 if (!SWIG_IsOK(res1
)) {
51571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SetValue" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51573 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51574 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
51575 if (!SWIG_IsOK(ecode2
)) {
51576 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_SetValue" "', expected argument " "2"" of type '" "int""'");
51578 arg2
= static_cast< int >(val2
);
51580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51581 (arg1
)->SetValue(arg2
);
51582 wxPyEndAllowThreads(__tstate
);
51583 if (PyErr_Occurred()) SWIG_fail
;
51585 resultobj
= SWIG_Py_Void();
51592 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51593 PyObject
*resultobj
= 0;
51594 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51598 PyObject
*swig_obj
[1] ;
51600 if (!args
) SWIG_fail
;
51601 swig_obj
[0] = args
;
51602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51603 if (!SWIG_IsOK(res1
)) {
51604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetMargin" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51606 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51609 result
= (int)(arg1
)->GetMargin();
51610 wxPyEndAllowThreads(__tstate
);
51611 if (PyErr_Occurred()) SWIG_fail
;
51613 resultobj
= SWIG_From_int(static_cast< int >(result
));
51620 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(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 *) "m", NULL
51634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",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_SetMargin" "', 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_SetMargin" "', expected argument " "2"" of type '" "int""'");
51644 arg2
= static_cast< int >(val2
);
51646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51647 (arg1
)->SetMargin(arg2
);
51648 wxPyEndAllowThreads(__tstate
);
51649 if (PyErr_Occurred()) SWIG_fail
;
51651 resultobj
= SWIG_Py_Void();
51658 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetValue(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_GetValue" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint const *""'");
51672 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51675 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
51676 wxPyEndAllowThreads(__tstate
);
51677 if (PyErr_Occurred()) SWIG_fail
;
51679 resultobj
= SWIG_From_int(static_cast< int >(result
));
51686 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51687 PyObject
*resultobj
= 0;
51688 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51692 PyObject
*swig_obj
[1] ;
51694 if (!args
) SWIG_fail
;
51695 swig_obj
[0] = args
;
51696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51697 if (!SWIG_IsOK(res1
)) {
51698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetPercent" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint const *""'");
51700 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51703 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
51704 wxPyEndAllowThreads(__tstate
);
51705 if (PyErr_Occurred()) SWIG_fail
;
51707 resultobj
= SWIG_From_int(static_cast< int >(result
));
51714 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51715 PyObject
*resultobj
= 0;
51716 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51720 PyObject
*swig_obj
[1] ;
51722 if (!args
) SWIG_fail
;
51723 swig_obj
[0] = args
;
51724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51725 if (!SWIG_IsOK(res1
)) {
51726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetOtherEdge" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint const *""'");
51728 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51731 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
51732 wxPyEndAllowThreads(__tstate
);
51733 if (PyErr_Occurred()) SWIG_fail
;
51735 resultobj
= SWIG_From_int(static_cast< int >(result
));
51742 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51743 PyObject
*resultobj
= 0;
51744 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51748 PyObject
*swig_obj
[1] ;
51750 if (!args
) SWIG_fail
;
51751 swig_obj
[0] = args
;
51752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51753 if (!SWIG_IsOK(res1
)) {
51754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetDone" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint const *""'");
51756 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51759 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
51760 wxPyEndAllowThreads(__tstate
);
51761 if (PyErr_Occurred()) SWIG_fail
;
51764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
51772 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51773 PyObject
*resultobj
= 0;
51774 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51780 PyObject
* obj0
= 0 ;
51781 PyObject
* obj1
= 0 ;
51782 char * kwnames
[] = {
51783 (char *) "self",(char *) "d", NULL
51786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51788 if (!SWIG_IsOK(res1
)) {
51789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SetDone" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51791 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51792 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
51793 if (!SWIG_IsOK(ecode2
)) {
51794 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_SetDone" "', expected argument " "2"" of type '" "bool""'");
51796 arg2
= static_cast< bool >(val2
);
51798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51799 (arg1
)->SetDone(arg2
);
51800 wxPyEndAllowThreads(__tstate
);
51801 if (PyErr_Occurred()) SWIG_fail
;
51803 resultobj
= SWIG_Py_Void();
51810 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51811 PyObject
*resultobj
= 0;
51812 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51813 wxRelationship result
;
51816 PyObject
*swig_obj
[1] ;
51818 if (!args
) SWIG_fail
;
51819 swig_obj
[0] = args
;
51820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51821 if (!SWIG_IsOK(res1
)) {
51822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetRelationship" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51824 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51827 result
= (wxRelationship
)(arg1
)->GetRelationship();
51828 wxPyEndAllowThreads(__tstate
);
51829 if (PyErr_Occurred()) SWIG_fail
;
51831 resultobj
= SWIG_From_int(static_cast< int >(result
));
51838 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51839 PyObject
*resultobj
= 0;
51840 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51841 wxRelationship arg2
;
51846 PyObject
* obj0
= 0 ;
51847 PyObject
* obj1
= 0 ;
51848 char * kwnames
[] = {
51849 (char *) "self",(char *) "r", NULL
51852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",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_SetRelationship" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51857 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51858 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
51859 if (!SWIG_IsOK(ecode2
)) {
51860 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_SetRelationship" "', expected argument " "2"" of type '" "wxRelationship""'");
51862 arg2
= static_cast< wxRelationship
>(val2
);
51864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51865 (arg1
)->SetRelationship(arg2
);
51866 wxPyEndAllowThreads(__tstate
);
51867 if (PyErr_Occurred()) SWIG_fail
;
51869 resultobj
= SWIG_Py_Void();
51876 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51877 PyObject
*resultobj
= 0;
51878 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51879 wxWindow
*arg2
= (wxWindow
*) 0 ;
51885 PyObject
* obj0
= 0 ;
51886 PyObject
* obj1
= 0 ;
51887 char * kwnames
[] = {
51888 (char *) "self",(char *) "otherW", NULL
51891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51893 if (!SWIG_IsOK(res1
)) {
51894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_ResetIfWin" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51896 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51897 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
51898 if (!SWIG_IsOK(res2
)) {
51899 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_ResetIfWin" "', expected argument " "2"" of type '" "wxWindow *""'");
51901 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
51903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51904 result
= (bool)(arg1
)->ResetIfWin(arg2
);
51905 wxPyEndAllowThreads(__tstate
);
51906 if (PyErr_Occurred()) SWIG_fail
;
51909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
51917 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51918 PyObject
*resultobj
= 0;
51919 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51920 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
51921 wxWindow
*arg3
= (wxWindow
*) 0 ;
51929 PyObject
* obj0
= 0 ;
51930 PyObject
* obj1
= 0 ;
51931 PyObject
* obj2
= 0 ;
51932 char * kwnames
[] = {
51933 (char *) "self",(char *) "constraints",(char *) "win", NULL
51936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
51937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51938 if (!SWIG_IsOK(res1
)) {
51939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SatisfyConstraint" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51941 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51942 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
51943 if (!SWIG_IsOK(res2
)) {
51944 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_SatisfyConstraint" "', expected argument " "2"" of type '" "wxLayoutConstraints *""'");
51946 arg2
= reinterpret_cast< wxLayoutConstraints
* >(argp2
);
51947 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
51948 if (!SWIG_IsOK(res3
)) {
51949 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "IndividualLayoutConstraint_SatisfyConstraint" "', expected argument " "3"" of type '" "wxWindow *""'");
51951 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
51953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51954 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
51955 wxPyEndAllowThreads(__tstate
);
51956 if (PyErr_Occurred()) SWIG_fail
;
51959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
51967 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51968 PyObject
*resultobj
= 0;
51969 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51971 wxWindow
*arg3
= (wxWindow
*) 0 ;
51972 wxWindow
*arg4
= (wxWindow
*) 0 ;
51982 PyObject
* obj0
= 0 ;
51983 PyObject
* obj1
= 0 ;
51984 PyObject
* obj2
= 0 ;
51985 PyObject
* obj3
= 0 ;
51986 char * kwnames
[] = {
51987 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
51990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
51991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51992 if (!SWIG_IsOK(res1
)) {
51993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetEdge" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint const *""'");
51995 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51996 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
51997 if (!SWIG_IsOK(ecode2
)) {
51998 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_GetEdge" "', expected argument " "2"" of type '" "wxEdge""'");
52000 arg2
= static_cast< wxEdge
>(val2
);
52001 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
52002 if (!SWIG_IsOK(res3
)) {
52003 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "IndividualLayoutConstraint_GetEdge" "', expected argument " "3"" of type '" "wxWindow *""'");
52005 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
52006 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
52007 if (!SWIG_IsOK(res4
)) {
52008 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "IndividualLayoutConstraint_GetEdge" "', expected argument " "4"" of type '" "wxWindow *""'");
52010 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
52012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52013 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge(arg2
,arg3
,arg4
);
52014 wxPyEndAllowThreads(__tstate
);
52015 if (PyErr_Occurred()) SWIG_fail
;
52017 resultobj
= SWIG_From_int(static_cast< int >(result
));
52024 SWIGINTERN PyObject
*IndividualLayoutConstraint_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52026 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
52027 SWIG_TypeNewClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_NewClientData(obj
));
52028 return SWIG_Py_Void();
52031 SWIGINTERN PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52032 PyObject
*resultobj
= 0;
52033 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
52034 wxIndividualLayoutConstraint
*result
= 0 ;
52037 PyObject
*swig_obj
[1] ;
52039 if (!args
) SWIG_fail
;
52040 swig_obj
[0] = args
;
52041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
52042 if (!SWIG_IsOK(res1
)) {
52043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_left_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
52045 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
52046 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
52047 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
52054 SWIGINTERN PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52055 PyObject
*resultobj
= 0;
52056 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
52057 wxIndividualLayoutConstraint
*result
= 0 ;
52060 PyObject
*swig_obj
[1] ;
52062 if (!args
) SWIG_fail
;
52063 swig_obj
[0] = args
;
52064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
52065 if (!SWIG_IsOK(res1
)) {
52066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_top_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
52068 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
52069 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
52070 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
52077 SWIGINTERN PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52078 PyObject
*resultobj
= 0;
52079 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
52080 wxIndividualLayoutConstraint
*result
= 0 ;
52083 PyObject
*swig_obj
[1] ;
52085 if (!args
) SWIG_fail
;
52086 swig_obj
[0] = args
;
52087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
52088 if (!SWIG_IsOK(res1
)) {
52089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_right_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
52091 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
52092 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
52093 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
52100 SWIGINTERN PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52101 PyObject
*resultobj
= 0;
52102 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
52103 wxIndividualLayoutConstraint
*result
= 0 ;
52106 PyObject
*swig_obj
[1] ;
52108 if (!args
) SWIG_fail
;
52109 swig_obj
[0] = args
;
52110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
52111 if (!SWIG_IsOK(res1
)) {
52112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_bottom_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
52114 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
52115 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
52116 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
52123 SWIGINTERN PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52124 PyObject
*resultobj
= 0;
52125 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
52126 wxIndividualLayoutConstraint
*result
= 0 ;
52129 PyObject
*swig_obj
[1] ;
52131 if (!args
) SWIG_fail
;
52132 swig_obj
[0] = args
;
52133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
52134 if (!SWIG_IsOK(res1
)) {
52135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_width_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
52137 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
52138 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
52139 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
52146 SWIGINTERN PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52147 PyObject
*resultobj
= 0;
52148 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
52149 wxIndividualLayoutConstraint
*result
= 0 ;
52152 PyObject
*swig_obj
[1] ;
52154 if (!args
) SWIG_fail
;
52155 swig_obj
[0] = args
;
52156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
52157 if (!SWIG_IsOK(res1
)) {
52158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_height_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
52160 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
52161 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
52162 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
52169 SWIGINTERN PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52170 PyObject
*resultobj
= 0;
52171 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
52172 wxIndividualLayoutConstraint
*result
= 0 ;
52175 PyObject
*swig_obj
[1] ;
52177 if (!args
) SWIG_fail
;
52178 swig_obj
[0] = args
;
52179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
52180 if (!SWIG_IsOK(res1
)) {
52181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_centreX_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
52183 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
52184 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
52185 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
52192 SWIGINTERN PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52193 PyObject
*resultobj
= 0;
52194 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
52195 wxIndividualLayoutConstraint
*result
= 0 ;
52198 PyObject
*swig_obj
[1] ;
52200 if (!args
) SWIG_fail
;
52201 swig_obj
[0] = args
;
52202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
52203 if (!SWIG_IsOK(res1
)) {
52204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_centreY_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
52206 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
52207 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
52208 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
52215 SWIGINTERN PyObject
*_wrap_new_LayoutConstraints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52216 PyObject
*resultobj
= 0;
52217 wxLayoutConstraints
*result
= 0 ;
52219 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutConstraints",0,0,0)) SWIG_fail
;
52221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52222 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
52223 wxPyEndAllowThreads(__tstate
);
52224 if (PyErr_Occurred()) SWIG_fail
;
52226 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_NEW
| 0 );
52233 SWIGINTERN PyObject
*_wrap_delete_LayoutConstraints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52234 PyObject
*resultobj
= 0;
52235 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
52238 PyObject
*swig_obj
[1] ;
52240 if (!args
) SWIG_fail
;
52241 swig_obj
[0] = args
;
52242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_DISOWN
| 0 );
52243 if (!SWIG_IsOK(res1
)) {
52244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutConstraints" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
52246 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
52248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52251 wxPyEndAllowThreads(__tstate
);
52252 if (PyErr_Occurred()) SWIG_fail
;
52254 resultobj
= SWIG_Py_Void();
52261 SWIGINTERN PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
52262 PyObject
*resultobj
= 0;
52263 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
52264 wxWindow
*arg2
= (wxWindow
*) 0 ;
52265 int *arg3
= (int *) 0 ;
52272 int res3
= SWIG_TMPOBJ
;
52273 PyObject
* obj0
= 0 ;
52274 PyObject
* obj1
= 0 ;
52275 char * kwnames
[] = {
52276 (char *) "self",(char *) "win", NULL
52280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
52281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
52282 if (!SWIG_IsOK(res1
)) {
52283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_SatisfyConstraints" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
52285 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
52286 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
52287 if (!SWIG_IsOK(res2
)) {
52288 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutConstraints_SatisfyConstraints" "', expected argument " "2"" of type '" "wxWindow *""'");
52290 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
52292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52293 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
52294 wxPyEndAllowThreads(__tstate
);
52295 if (PyErr_Occurred()) SWIG_fail
;
52298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
52300 if (SWIG_IsTmpObj(res3
)) {
52301 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
52303 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
52304 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
52312 SWIGINTERN PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52313 PyObject
*resultobj
= 0;
52314 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
52318 PyObject
*swig_obj
[1] ;
52320 if (!args
) SWIG_fail
;
52321 swig_obj
[0] = args
;
52322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
52323 if (!SWIG_IsOK(res1
)) {
52324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_AreSatisfied" "', expected argument " "1"" of type '" "wxLayoutConstraints const *""'");
52326 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
52328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52329 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
52330 wxPyEndAllowThreads(__tstate
);
52331 if (PyErr_Occurred()) SWIG_fail
;
52334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
52342 SWIGINTERN PyObject
*LayoutConstraints_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52344 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
52345 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutConstraints
, SWIG_NewClientData(obj
));
52346 return SWIG_Py_Void();
52349 SWIGINTERN PyObject
*LayoutConstraints_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52350 return SWIG_Python_InitShadowInstance(args
);
52353 static PyMethodDef SwigMethods
[] = {
52354 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
52355 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
},
52356 { (char *)"Object_GetClassName", (PyCFunction
)_wrap_Object_GetClassName
, METH_O
, NULL
},
52357 { (char *)"Object_Destroy", (PyCFunction
)_wrap_Object_Destroy
, METH_O
, NULL
},
52358 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
52359 { (char *)"Size_width_set", _wrap_Size_width_set
, METH_VARARGS
, NULL
},
52360 { (char *)"Size_width_get", (PyCFunction
)_wrap_Size_width_get
, METH_O
, NULL
},
52361 { (char *)"Size_height_set", _wrap_Size_height_set
, METH_VARARGS
, NULL
},
52362 { (char *)"Size_height_get", (PyCFunction
)_wrap_Size_height_get
, METH_O
, NULL
},
52363 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52364 { (char *)"delete_Size", (PyCFunction
)_wrap_delete_Size
, METH_O
, NULL
},
52365 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52366 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52367 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52368 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52369 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52370 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52371 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52372 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52373 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52374 { (char *)"Size_GetWidth", (PyCFunction
)_wrap_Size_GetWidth
, METH_O
, NULL
},
52375 { (char *)"Size_GetHeight", (PyCFunction
)_wrap_Size_GetHeight
, METH_O
, NULL
},
52376 { (char *)"Size_IsFullySpecified", (PyCFunction
)_wrap_Size_IsFullySpecified
, METH_O
, NULL
},
52377 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52378 { (char *)"Size_Get", (PyCFunction
)_wrap_Size_Get
, METH_O
, NULL
},
52379 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
52380 { (char *)"Size_swiginit", Size_swiginit
, METH_VARARGS
, NULL
},
52381 { (char *)"RealPoint_x_set", _wrap_RealPoint_x_set
, METH_VARARGS
, NULL
},
52382 { (char *)"RealPoint_x_get", (PyCFunction
)_wrap_RealPoint_x_get
, METH_O
, NULL
},
52383 { (char *)"RealPoint_y_set", _wrap_RealPoint_y_set
, METH_VARARGS
, NULL
},
52384 { (char *)"RealPoint_y_get", (PyCFunction
)_wrap_RealPoint_y_get
, METH_O
, NULL
},
52385 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52386 { (char *)"delete_RealPoint", (PyCFunction
)_wrap_delete_RealPoint
, METH_O
, NULL
},
52387 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52388 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52389 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52390 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52391 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52392 { (char *)"RealPoint_Get", (PyCFunction
)_wrap_RealPoint_Get
, METH_O
, NULL
},
52393 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
52394 { (char *)"RealPoint_swiginit", RealPoint_swiginit
, METH_VARARGS
, NULL
},
52395 { (char *)"Point_x_set", _wrap_Point_x_set
, METH_VARARGS
, NULL
},
52396 { (char *)"Point_x_get", (PyCFunction
)_wrap_Point_x_get
, METH_O
, NULL
},
52397 { (char *)"Point_y_set", _wrap_Point_y_set
, METH_VARARGS
, NULL
},
52398 { (char *)"Point_y_get", (PyCFunction
)_wrap_Point_y_get
, METH_O
, NULL
},
52399 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52400 { (char *)"delete_Point", (PyCFunction
)_wrap_delete_Point
, METH_O
, NULL
},
52401 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52402 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52403 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52404 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52405 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52406 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52407 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52408 { (char *)"Point_Get", (PyCFunction
)_wrap_Point_Get
, METH_O
, NULL
},
52409 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
52410 { (char *)"Point_swiginit", Point_swiginit
, METH_VARARGS
, NULL
},
52411 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52412 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52413 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52414 { (char *)"new_RectS", (PyCFunction
) _wrap_new_RectS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52415 { (char *)"delete_Rect", (PyCFunction
)_wrap_delete_Rect
, METH_O
, NULL
},
52416 { (char *)"Rect_GetX", (PyCFunction
)_wrap_Rect_GetX
, METH_O
, NULL
},
52417 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52418 { (char *)"Rect_GetY", (PyCFunction
)_wrap_Rect_GetY
, METH_O
, NULL
},
52419 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52420 { (char *)"Rect_GetWidth", (PyCFunction
)_wrap_Rect_GetWidth
, METH_O
, NULL
},
52421 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52422 { (char *)"Rect_GetHeight", (PyCFunction
)_wrap_Rect_GetHeight
, METH_O
, NULL
},
52423 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52424 { (char *)"Rect_GetPosition", (PyCFunction
)_wrap_Rect_GetPosition
, METH_O
, NULL
},
52425 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52426 { (char *)"Rect_GetSize", (PyCFunction
)_wrap_Rect_GetSize
, METH_O
, NULL
},
52427 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52428 { (char *)"Rect_IsEmpty", (PyCFunction
)_wrap_Rect_IsEmpty
, METH_O
, NULL
},
52429 { (char *)"Rect_GetTopLeft", (PyCFunction
)_wrap_Rect_GetTopLeft
, METH_O
, NULL
},
52430 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52431 { (char *)"Rect_GetBottomRight", (PyCFunction
)_wrap_Rect_GetBottomRight
, METH_O
, NULL
},
52432 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52433 { (char *)"Rect_GetLeft", (PyCFunction
)_wrap_Rect_GetLeft
, METH_O
, NULL
},
52434 { (char *)"Rect_GetTop", (PyCFunction
)_wrap_Rect_GetTop
, METH_O
, NULL
},
52435 { (char *)"Rect_GetBottom", (PyCFunction
)_wrap_Rect_GetBottom
, METH_O
, NULL
},
52436 { (char *)"Rect_GetRight", (PyCFunction
)_wrap_Rect_GetRight
, METH_O
, NULL
},
52437 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52438 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52439 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52440 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52441 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52442 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52443 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52444 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52445 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52446 { (char *)"Rect_Union", (PyCFunction
) _wrap_Rect_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52447 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52448 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52449 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52450 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52451 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52452 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52453 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52454 { (char *)"Rect_CenterIn", (PyCFunction
) _wrap_Rect_CenterIn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52455 { (char *)"Rect_x_set", _wrap_Rect_x_set
, METH_VARARGS
, NULL
},
52456 { (char *)"Rect_x_get", (PyCFunction
)_wrap_Rect_x_get
, METH_O
, NULL
},
52457 { (char *)"Rect_y_set", _wrap_Rect_y_set
, METH_VARARGS
, NULL
},
52458 { (char *)"Rect_y_get", (PyCFunction
)_wrap_Rect_y_get
, METH_O
, NULL
},
52459 { (char *)"Rect_width_set", _wrap_Rect_width_set
, METH_VARARGS
, NULL
},
52460 { (char *)"Rect_width_get", (PyCFunction
)_wrap_Rect_width_get
, METH_O
, NULL
},
52461 { (char *)"Rect_height_set", _wrap_Rect_height_set
, METH_VARARGS
, NULL
},
52462 { (char *)"Rect_height_get", (PyCFunction
)_wrap_Rect_height_get
, METH_O
, NULL
},
52463 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52464 { (char *)"Rect_Get", (PyCFunction
)_wrap_Rect_Get
, METH_O
, NULL
},
52465 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
52466 { (char *)"Rect_swiginit", Rect_swiginit
, METH_VARARGS
, NULL
},
52467 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52468 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52469 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52470 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52471 { (char *)"Point2D_GetFloor", (PyCFunction
)_wrap_Point2D_GetFloor
, METH_O
, NULL
},
52472 { (char *)"Point2D_GetRounded", (PyCFunction
)_wrap_Point2D_GetRounded
, METH_O
, NULL
},
52473 { (char *)"Point2D_GetVectorLength", (PyCFunction
)_wrap_Point2D_GetVectorLength
, METH_O
, NULL
},
52474 { (char *)"Point2D_GetVectorAngle", (PyCFunction
)_wrap_Point2D_GetVectorAngle
, METH_O
, NULL
},
52475 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52476 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52477 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52478 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52479 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52480 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52481 { (char *)"Point2D___neg__", (PyCFunction
)_wrap_Point2D___neg__
, METH_O
, NULL
},
52482 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52483 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52484 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52485 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52486 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52487 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52488 { (char *)"Point2D_x_set", _wrap_Point2D_x_set
, METH_VARARGS
, NULL
},
52489 { (char *)"Point2D_x_get", (PyCFunction
)_wrap_Point2D_x_get
, METH_O
, NULL
},
52490 { (char *)"Point2D_y_set", _wrap_Point2D_y_set
, METH_VARARGS
, NULL
},
52491 { (char *)"Point2D_y_get", (PyCFunction
)_wrap_Point2D_y_get
, METH_O
, NULL
},
52492 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52493 { (char *)"Point2D_Get", (PyCFunction
)_wrap_Point2D_Get
, METH_O
, NULL
},
52494 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
52495 { (char *)"Point2D_swiginit", Point2D_swiginit
, METH_VARARGS
, NULL
},
52496 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52497 { (char *)"delete_InputStream", (PyCFunction
)_wrap_delete_InputStream
, METH_O
, NULL
},
52498 { (char *)"InputStream_close", (PyCFunction
)_wrap_InputStream_close
, METH_O
, NULL
},
52499 { (char *)"InputStream_flush", (PyCFunction
)_wrap_InputStream_flush
, METH_O
, NULL
},
52500 { (char *)"InputStream_eof", (PyCFunction
)_wrap_InputStream_eof
, METH_O
, NULL
},
52501 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52502 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52503 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52504 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52505 { (char *)"InputStream_tell", (PyCFunction
)_wrap_InputStream_tell
, METH_O
, NULL
},
52506 { (char *)"InputStream_Peek", (PyCFunction
)_wrap_InputStream_Peek
, METH_O
, NULL
},
52507 { (char *)"InputStream_GetC", (PyCFunction
)_wrap_InputStream_GetC
, METH_O
, NULL
},
52508 { (char *)"InputStream_LastRead", (PyCFunction
)_wrap_InputStream_LastRead
, METH_O
, NULL
},
52509 { (char *)"InputStream_CanRead", (PyCFunction
)_wrap_InputStream_CanRead
, METH_O
, NULL
},
52510 { (char *)"InputStream_Eof", (PyCFunction
)_wrap_InputStream_Eof
, METH_O
, NULL
},
52511 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52512 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52513 { (char *)"InputStream_TellI", (PyCFunction
)_wrap_InputStream_TellI
, METH_O
, NULL
},
52514 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
52515 { (char *)"InputStream_swiginit", InputStream_swiginit
, METH_VARARGS
, NULL
},
52516 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52517 { (char *)"OutputStream_LastWrite", (PyCFunction
)_wrap_OutputStream_LastWrite
, METH_O
, NULL
},
52518 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
52519 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52520 { (char *)"delete_FSFile", (PyCFunction
)_wrap_delete_FSFile
, METH_O
, NULL
},
52521 { (char *)"FSFile_GetStream", (PyCFunction
)_wrap_FSFile_GetStream
, METH_O
, NULL
},
52522 { (char *)"FSFile_GetMimeType", (PyCFunction
)_wrap_FSFile_GetMimeType
, METH_O
, NULL
},
52523 { (char *)"FSFile_GetLocation", (PyCFunction
)_wrap_FSFile_GetLocation
, METH_O
, NULL
},
52524 { (char *)"FSFile_GetAnchor", (PyCFunction
)_wrap_FSFile_GetAnchor
, METH_O
, NULL
},
52525 { (char *)"FSFile_GetModificationTime", (PyCFunction
)_wrap_FSFile_GetModificationTime
, METH_O
, NULL
},
52526 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
52527 { (char *)"FSFile_swiginit", FSFile_swiginit
, METH_VARARGS
, NULL
},
52528 { (char *)"delete_CPPFileSystemHandler", (PyCFunction
)_wrap_delete_CPPFileSystemHandler
, METH_O
, NULL
},
52529 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
52530 { (char *)"new_FileSystemHandler", (PyCFunction
)_wrap_new_FileSystemHandler
, METH_NOARGS
, NULL
},
52531 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52532 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52533 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52534 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52535 { (char *)"FileSystemHandler_FindNext", (PyCFunction
)_wrap_FileSystemHandler_FindNext
, METH_O
, NULL
},
52536 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52537 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52538 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52539 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52540 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52541 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
52542 { (char *)"FileSystemHandler_swiginit", FileSystemHandler_swiginit
, METH_VARARGS
, NULL
},
52543 { (char *)"new_FileSystem", (PyCFunction
)_wrap_new_FileSystem
, METH_NOARGS
, NULL
},
52544 { (char *)"delete_FileSystem", (PyCFunction
)_wrap_delete_FileSystem
, METH_O
, NULL
},
52545 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52546 { (char *)"FileSystem_GetPath", (PyCFunction
)_wrap_FileSystem_GetPath
, METH_O
, NULL
},
52547 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52548 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52549 { (char *)"FileSystem_FindNext", (PyCFunction
)_wrap_FileSystem_FindNext
, METH_O
, NULL
},
52550 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52551 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
)_wrap_FileSystem_CleanUpHandlers
, METH_NOARGS
, NULL
},
52552 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52553 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52554 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
52555 { (char *)"FileSystem_swiginit", FileSystem_swiginit
, METH_VARARGS
, NULL
},
52556 { (char *)"new_InternetFSHandler", (PyCFunction
)_wrap_new_InternetFSHandler
, METH_NOARGS
, NULL
},
52557 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52558 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52559 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
52560 { (char *)"InternetFSHandler_swiginit", InternetFSHandler_swiginit
, METH_VARARGS
, NULL
},
52561 { (char *)"new_ZipFSHandler", (PyCFunction
)_wrap_new_ZipFSHandler
, METH_NOARGS
, NULL
},
52562 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52563 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52564 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52565 { (char *)"ZipFSHandler_FindNext", (PyCFunction
)_wrap_ZipFSHandler_FindNext
, METH_O
, NULL
},
52566 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
52567 { (char *)"ZipFSHandler_swiginit", ZipFSHandler_swiginit
, METH_VARARGS
, NULL
},
52568 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52569 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52570 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52571 { (char *)"new_MemoryFSHandler", (PyCFunction
)_wrap_new_MemoryFSHandler
, METH_NOARGS
, NULL
},
52572 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52573 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52574 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52575 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52576 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
)_wrap_MemoryFSHandler_FindNext
, METH_O
, NULL
},
52577 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
52578 { (char *)"MemoryFSHandler_swiginit", MemoryFSHandler_swiginit
, METH_VARARGS
, NULL
},
52579 { (char *)"ImageHandler_GetName", (PyCFunction
)_wrap_ImageHandler_GetName
, METH_O
, NULL
},
52580 { (char *)"ImageHandler_GetExtension", (PyCFunction
)_wrap_ImageHandler_GetExtension
, METH_O
, NULL
},
52581 { (char *)"ImageHandler_GetType", (PyCFunction
)_wrap_ImageHandler_GetType
, METH_O
, NULL
},
52582 { (char *)"ImageHandler_GetMimeType", (PyCFunction
)_wrap_ImageHandler_GetMimeType
, METH_O
, NULL
},
52583 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52584 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52585 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52586 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52587 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52588 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
52589 { (char *)"new_PyImageHandler", (PyCFunction
)_wrap_new_PyImageHandler
, METH_NOARGS
, NULL
},
52590 { (char *)"PyImageHandler__SetSelf", (PyCFunction
) _wrap_PyImageHandler__SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52591 { (char *)"PyImageHandler_swigregister", PyImageHandler_swigregister
, METH_VARARGS
, NULL
},
52592 { (char *)"PyImageHandler_swiginit", PyImageHandler_swiginit
, METH_VARARGS
, NULL
},
52593 { (char *)"new_ImageHistogram", (PyCFunction
)_wrap_new_ImageHistogram
, METH_NOARGS
, NULL
},
52594 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52595 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52596 { (char *)"ImageHistogram_GetCount", (PyCFunction
) _wrap_ImageHistogram_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52597 { (char *)"ImageHistogram_GetCountRGB", (PyCFunction
) _wrap_ImageHistogram_GetCountRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52598 { (char *)"ImageHistogram_GetCountColour", (PyCFunction
) _wrap_ImageHistogram_GetCountColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52599 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
52600 { (char *)"ImageHistogram_swiginit", ImageHistogram_swiginit
, METH_VARARGS
, NULL
},
52601 { (char *)"new_Image_RGBValue", (PyCFunction
) _wrap_new_Image_RGBValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52602 { (char *)"Image_RGBValue_red_set", _wrap_Image_RGBValue_red_set
, METH_VARARGS
, NULL
},
52603 { (char *)"Image_RGBValue_red_get", (PyCFunction
)_wrap_Image_RGBValue_red_get
, METH_O
, NULL
},
52604 { (char *)"Image_RGBValue_green_set", _wrap_Image_RGBValue_green_set
, METH_VARARGS
, NULL
},
52605 { (char *)"Image_RGBValue_green_get", (PyCFunction
)_wrap_Image_RGBValue_green_get
, METH_O
, NULL
},
52606 { (char *)"Image_RGBValue_blue_set", _wrap_Image_RGBValue_blue_set
, METH_VARARGS
, NULL
},
52607 { (char *)"Image_RGBValue_blue_get", (PyCFunction
)_wrap_Image_RGBValue_blue_get
, METH_O
, NULL
},
52608 { (char *)"Image_RGBValue_swigregister", Image_RGBValue_swigregister
, METH_VARARGS
, NULL
},
52609 { (char *)"Image_RGBValue_swiginit", Image_RGBValue_swiginit
, METH_VARARGS
, NULL
},
52610 { (char *)"new_Image_HSVValue", (PyCFunction
) _wrap_new_Image_HSVValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52611 { (char *)"Image_HSVValue_hue_set", _wrap_Image_HSVValue_hue_set
, METH_VARARGS
, NULL
},
52612 { (char *)"Image_HSVValue_hue_get", (PyCFunction
)_wrap_Image_HSVValue_hue_get
, METH_O
, NULL
},
52613 { (char *)"Image_HSVValue_saturation_set", _wrap_Image_HSVValue_saturation_set
, METH_VARARGS
, NULL
},
52614 { (char *)"Image_HSVValue_saturation_get", (PyCFunction
)_wrap_Image_HSVValue_saturation_get
, METH_O
, NULL
},
52615 { (char *)"Image_HSVValue_value_set", _wrap_Image_HSVValue_value_set
, METH_VARARGS
, NULL
},
52616 { (char *)"Image_HSVValue_value_get", (PyCFunction
)_wrap_Image_HSVValue_value_get
, METH_O
, NULL
},
52617 { (char *)"Image_HSVValue_swigregister", Image_HSVValue_swigregister
, METH_VARARGS
, NULL
},
52618 { (char *)"Image_HSVValue_swiginit", Image_HSVValue_swiginit
, METH_VARARGS
, NULL
},
52619 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52620 { (char *)"delete_Image", (PyCFunction
)_wrap_delete_Image
, METH_O
, NULL
},
52621 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52622 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52623 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52624 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52625 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52626 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52627 { (char *)"new_ImageFromDataWithAlpha", (PyCFunction
) _wrap_new_ImageFromDataWithAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52628 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52629 { (char *)"Image_Destroy", (PyCFunction
)_wrap_Image_Destroy
, METH_O
, NULL
},
52630 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52631 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52632 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52633 { (char *)"Image_Resize", (PyCFunction
) _wrap_Image_Resize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52634 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52635 { (char *)"Image_SetRGBRect", (PyCFunction
) _wrap_Image_SetRGBRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52636 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52637 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52638 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52639 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52640 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52641 { (char *)"Image_HasAlpha", (PyCFunction
)_wrap_Image_HasAlpha
, METH_O
, NULL
},
52642 { (char *)"Image_InitAlpha", (PyCFunction
)_wrap_Image_InitAlpha
, METH_O
, NULL
},
52643 { (char *)"Image_IsTransparent", (PyCFunction
) _wrap_Image_IsTransparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52644 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52645 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52646 { (char *)"Image_ConvertColourToAlpha", (PyCFunction
) _wrap_Image_ConvertColourToAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52647 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52648 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52649 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52650 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52651 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52652 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52653 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52654 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52655 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52656 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52657 { (char *)"Image_Ok", (PyCFunction
)_wrap_Image_Ok
, METH_O
, NULL
},
52658 { (char *)"Image_GetWidth", (PyCFunction
)_wrap_Image_GetWidth
, METH_O
, NULL
},
52659 { (char *)"Image_GetHeight", (PyCFunction
)_wrap_Image_GetHeight
, METH_O
, NULL
},
52660 { (char *)"Image_GetSize", (PyCFunction
)_wrap_Image_GetSize
, METH_O
, NULL
},
52661 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52662 { (char *)"Image_Size", (PyCFunction
) _wrap_Image_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52663 { (char *)"Image_Copy", (PyCFunction
)_wrap_Image_Copy
, METH_O
, NULL
},
52664 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52665 { (char *)"Image_GetData", (PyCFunction
)_wrap_Image_GetData
, METH_O
, NULL
},
52666 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52667 { (char *)"Image_GetDataBuffer", (PyCFunction
)_wrap_Image_GetDataBuffer
, METH_O
, NULL
},
52668 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52669 { (char *)"Image_GetAlphaData", (PyCFunction
)_wrap_Image_GetAlphaData
, METH_O
, NULL
},
52670 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52671 { (char *)"Image_GetAlphaBuffer", (PyCFunction
)_wrap_Image_GetAlphaBuffer
, METH_O
, NULL
},
52672 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52673 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52674 { (char *)"Image_GetOrFindMaskColour", (PyCFunction
)_wrap_Image_GetOrFindMaskColour
, METH_O
, NULL
},
52675 { (char *)"Image_GetMaskRed", (PyCFunction
)_wrap_Image_GetMaskRed
, METH_O
, NULL
},
52676 { (char *)"Image_GetMaskGreen", (PyCFunction
)_wrap_Image_GetMaskGreen
, METH_O
, NULL
},
52677 { (char *)"Image_GetMaskBlue", (PyCFunction
)_wrap_Image_GetMaskBlue
, METH_O
, NULL
},
52678 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52679 { (char *)"Image_HasMask", (PyCFunction
)_wrap_Image_HasMask
, METH_O
, NULL
},
52680 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52681 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52682 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52683 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52684 { (char *)"Image_ConvertToGreyscale", (PyCFunction
) _wrap_Image_ConvertToGreyscale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52685 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52686 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52687 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52688 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52689 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52690 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52691 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52692 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52693 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52694 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52695 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52696 { (char *)"Image_GetHandlers", (PyCFunction
)_wrap_Image_GetHandlers
, METH_NOARGS
, NULL
},
52697 { (char *)"Image_GetImageExtWildcard", (PyCFunction
)_wrap_Image_GetImageExtWildcard
, METH_NOARGS
, NULL
},
52698 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52699 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52700 { (char *)"Image_RotateHue", (PyCFunction
) _wrap_Image_RotateHue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52701 { (char *)"Image_RGBtoHSV", (PyCFunction
) _wrap_Image_RGBtoHSV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52702 { (char *)"Image_HSVtoRGB", (PyCFunction
) _wrap_Image_HSVtoRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52703 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
52704 { (char *)"Image_swiginit", Image_swiginit
, METH_VARARGS
, NULL
},
52705 { (char *)"new_BMPHandler", (PyCFunction
)_wrap_new_BMPHandler
, METH_NOARGS
, NULL
},
52706 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
52707 { (char *)"BMPHandler_swiginit", BMPHandler_swiginit
, METH_VARARGS
, NULL
},
52708 { (char *)"new_ICOHandler", (PyCFunction
)_wrap_new_ICOHandler
, METH_NOARGS
, NULL
},
52709 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
52710 { (char *)"ICOHandler_swiginit", ICOHandler_swiginit
, METH_VARARGS
, NULL
},
52711 { (char *)"new_CURHandler", (PyCFunction
)_wrap_new_CURHandler
, METH_NOARGS
, NULL
},
52712 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
52713 { (char *)"CURHandler_swiginit", CURHandler_swiginit
, METH_VARARGS
, NULL
},
52714 { (char *)"new_ANIHandler", (PyCFunction
)_wrap_new_ANIHandler
, METH_NOARGS
, NULL
},
52715 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
52716 { (char *)"ANIHandler_swiginit", ANIHandler_swiginit
, METH_VARARGS
, NULL
},
52717 { (char *)"new_PNGHandler", (PyCFunction
)_wrap_new_PNGHandler
, METH_NOARGS
, NULL
},
52718 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
52719 { (char *)"PNGHandler_swiginit", PNGHandler_swiginit
, METH_VARARGS
, NULL
},
52720 { (char *)"new_GIFHandler", (PyCFunction
)_wrap_new_GIFHandler
, METH_NOARGS
, NULL
},
52721 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
52722 { (char *)"GIFHandler_swiginit", GIFHandler_swiginit
, METH_VARARGS
, NULL
},
52723 { (char *)"new_PCXHandler", (PyCFunction
)_wrap_new_PCXHandler
, METH_NOARGS
, NULL
},
52724 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
52725 { (char *)"PCXHandler_swiginit", PCXHandler_swiginit
, METH_VARARGS
, NULL
},
52726 { (char *)"new_JPEGHandler", (PyCFunction
)_wrap_new_JPEGHandler
, METH_NOARGS
, NULL
},
52727 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
52728 { (char *)"JPEGHandler_swiginit", JPEGHandler_swiginit
, METH_VARARGS
, NULL
},
52729 { (char *)"new_PNMHandler", (PyCFunction
)_wrap_new_PNMHandler
, METH_NOARGS
, NULL
},
52730 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
52731 { (char *)"PNMHandler_swiginit", PNMHandler_swiginit
, METH_VARARGS
, NULL
},
52732 { (char *)"new_XPMHandler", (PyCFunction
)_wrap_new_XPMHandler
, METH_NOARGS
, NULL
},
52733 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
52734 { (char *)"XPMHandler_swiginit", XPMHandler_swiginit
, METH_VARARGS
, NULL
},
52735 { (char *)"new_TIFFHandler", (PyCFunction
)_wrap_new_TIFFHandler
, METH_NOARGS
, NULL
},
52736 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
52737 { (char *)"TIFFHandler_swiginit", TIFFHandler_swiginit
, METH_VARARGS
, NULL
},
52738 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52739 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
52740 { (char *)"new_EvtHandler", (PyCFunction
)_wrap_new_EvtHandler
, METH_NOARGS
, NULL
},
52741 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
)_wrap_EvtHandler_GetNextHandler
, METH_O
, NULL
},
52742 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
)_wrap_EvtHandler_GetPreviousHandler
, METH_O
, NULL
},
52743 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52744 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52745 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
)_wrap_EvtHandler_GetEvtHandlerEnabled
, METH_O
, NULL
},
52746 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52747 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52748 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52749 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
)_wrap_EvtHandler_ProcessPendingEvents
, METH_O
, NULL
},
52750 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52751 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52752 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52753 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
52754 { (char *)"EvtHandler_swiginit", EvtHandler_swiginit
, METH_VARARGS
, NULL
},
52755 { (char *)"NewEventType", (PyCFunction
)_wrap_NewEventType
, METH_NOARGS
, NULL
},
52756 { (char *)"delete_Event", (PyCFunction
)_wrap_delete_Event
, METH_O
, NULL
},
52757 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52758 { (char *)"Event_GetEventType", (PyCFunction
)_wrap_Event_GetEventType
, METH_O
, NULL
},
52759 { (char *)"Event_GetEventObject", (PyCFunction
)_wrap_Event_GetEventObject
, METH_O
, NULL
},
52760 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52761 { (char *)"Event_GetTimestamp", (PyCFunction
)_wrap_Event_GetTimestamp
, METH_O
, NULL
},
52762 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52763 { (char *)"Event_GetId", (PyCFunction
)_wrap_Event_GetId
, METH_O
, NULL
},
52764 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52765 { (char *)"Event_IsCommandEvent", (PyCFunction
)_wrap_Event_IsCommandEvent
, METH_O
, NULL
},
52766 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52767 { (char *)"Event_GetSkipped", (PyCFunction
)_wrap_Event_GetSkipped
, METH_O
, NULL
},
52768 { (char *)"Event_ShouldPropagate", (PyCFunction
)_wrap_Event_ShouldPropagate
, METH_O
, NULL
},
52769 { (char *)"Event_StopPropagation", (PyCFunction
)_wrap_Event_StopPropagation
, METH_O
, NULL
},
52770 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52771 { (char *)"Event_Clone", (PyCFunction
)_wrap_Event_Clone
, METH_O
, NULL
},
52772 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
52773 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52774 { (char *)"delete_PropagationDisabler", (PyCFunction
)_wrap_delete_PropagationDisabler
, METH_O
, NULL
},
52775 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
52776 { (char *)"PropagationDisabler_swiginit", PropagationDisabler_swiginit
, METH_VARARGS
, NULL
},
52777 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52778 { (char *)"delete_PropagateOnce", (PyCFunction
)_wrap_delete_PropagateOnce
, METH_O
, NULL
},
52779 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
52780 { (char *)"PropagateOnce_swiginit", PropagateOnce_swiginit
, METH_VARARGS
, NULL
},
52781 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52782 { (char *)"CommandEvent_GetSelection", (PyCFunction
)_wrap_CommandEvent_GetSelection
, METH_O
, NULL
},
52783 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52784 { (char *)"CommandEvent_GetString", (PyCFunction
)_wrap_CommandEvent_GetString
, METH_O
, NULL
},
52785 { (char *)"CommandEvent_IsChecked", (PyCFunction
)_wrap_CommandEvent_IsChecked
, METH_O
, NULL
},
52786 { (char *)"CommandEvent_IsSelection", (PyCFunction
)_wrap_CommandEvent_IsSelection
, METH_O
, NULL
},
52787 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52788 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
)_wrap_CommandEvent_GetExtraLong
, METH_O
, NULL
},
52789 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52790 { (char *)"CommandEvent_GetInt", (PyCFunction
)_wrap_CommandEvent_GetInt
, METH_O
, NULL
},
52791 { (char *)"CommandEvent_GetClientData", (PyCFunction
)_wrap_CommandEvent_GetClientData
, METH_O
, NULL
},
52792 { (char *)"CommandEvent_SetClientData", (PyCFunction
) _wrap_CommandEvent_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52793 { (char *)"CommandEvent_Clone", (PyCFunction
)_wrap_CommandEvent_Clone
, METH_O
, NULL
},
52794 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
52795 { (char *)"CommandEvent_swiginit", CommandEvent_swiginit
, METH_VARARGS
, NULL
},
52796 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52797 { (char *)"NotifyEvent_Veto", (PyCFunction
)_wrap_NotifyEvent_Veto
, METH_O
, NULL
},
52798 { (char *)"NotifyEvent_Allow", (PyCFunction
)_wrap_NotifyEvent_Allow
, METH_O
, NULL
},
52799 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
)_wrap_NotifyEvent_IsAllowed
, METH_O
, NULL
},
52800 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
52801 { (char *)"NotifyEvent_swiginit", NotifyEvent_swiginit
, METH_VARARGS
, NULL
},
52802 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52803 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
)_wrap_ScrollEvent_GetOrientation
, METH_O
, NULL
},
52804 { (char *)"ScrollEvent_GetPosition", (PyCFunction
)_wrap_ScrollEvent_GetPosition
, METH_O
, NULL
},
52805 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52806 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52807 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
52808 { (char *)"ScrollEvent_swiginit", ScrollEvent_swiginit
, METH_VARARGS
, NULL
},
52809 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52810 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
)_wrap_ScrollWinEvent_GetOrientation
, METH_O
, NULL
},
52811 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
)_wrap_ScrollWinEvent_GetPosition
, METH_O
, NULL
},
52812 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52813 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52814 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
52815 { (char *)"ScrollWinEvent_swiginit", ScrollWinEvent_swiginit
, METH_VARARGS
, NULL
},
52816 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52817 { (char *)"MouseEvent_IsButton", (PyCFunction
)_wrap_MouseEvent_IsButton
, METH_O
, NULL
},
52818 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52819 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52820 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52821 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52822 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52823 { (char *)"MouseEvent_GetButton", (PyCFunction
)_wrap_MouseEvent_GetButton
, METH_O
, NULL
},
52824 { (char *)"MouseEvent_ControlDown", (PyCFunction
)_wrap_MouseEvent_ControlDown
, METH_O
, NULL
},
52825 { (char *)"MouseEvent_MetaDown", (PyCFunction
)_wrap_MouseEvent_MetaDown
, METH_O
, NULL
},
52826 { (char *)"MouseEvent_AltDown", (PyCFunction
)_wrap_MouseEvent_AltDown
, METH_O
, NULL
},
52827 { (char *)"MouseEvent_ShiftDown", (PyCFunction
)_wrap_MouseEvent_ShiftDown
, METH_O
, NULL
},
52828 { (char *)"MouseEvent_CmdDown", (PyCFunction
)_wrap_MouseEvent_CmdDown
, METH_O
, NULL
},
52829 { (char *)"MouseEvent_LeftDown", (PyCFunction
)_wrap_MouseEvent_LeftDown
, METH_O
, NULL
},
52830 { (char *)"MouseEvent_MiddleDown", (PyCFunction
)_wrap_MouseEvent_MiddleDown
, METH_O
, NULL
},
52831 { (char *)"MouseEvent_RightDown", (PyCFunction
)_wrap_MouseEvent_RightDown
, METH_O
, NULL
},
52832 { (char *)"MouseEvent_LeftUp", (PyCFunction
)_wrap_MouseEvent_LeftUp
, METH_O
, NULL
},
52833 { (char *)"MouseEvent_MiddleUp", (PyCFunction
)_wrap_MouseEvent_MiddleUp
, METH_O
, NULL
},
52834 { (char *)"MouseEvent_RightUp", (PyCFunction
)_wrap_MouseEvent_RightUp
, METH_O
, NULL
},
52835 { (char *)"MouseEvent_LeftDClick", (PyCFunction
)_wrap_MouseEvent_LeftDClick
, METH_O
, NULL
},
52836 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
)_wrap_MouseEvent_MiddleDClick
, METH_O
, NULL
},
52837 { (char *)"MouseEvent_RightDClick", (PyCFunction
)_wrap_MouseEvent_RightDClick
, METH_O
, NULL
},
52838 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
)_wrap_MouseEvent_LeftIsDown
, METH_O
, NULL
},
52839 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
)_wrap_MouseEvent_MiddleIsDown
, METH_O
, NULL
},
52840 { (char *)"MouseEvent_RightIsDown", (PyCFunction
)_wrap_MouseEvent_RightIsDown
, METH_O
, NULL
},
52841 { (char *)"MouseEvent_Dragging", (PyCFunction
)_wrap_MouseEvent_Dragging
, METH_O
, NULL
},
52842 { (char *)"MouseEvent_Moving", (PyCFunction
)_wrap_MouseEvent_Moving
, METH_O
, NULL
},
52843 { (char *)"MouseEvent_Entering", (PyCFunction
)_wrap_MouseEvent_Entering
, METH_O
, NULL
},
52844 { (char *)"MouseEvent_Leaving", (PyCFunction
)_wrap_MouseEvent_Leaving
, METH_O
, NULL
},
52845 { (char *)"MouseEvent_GetPosition", (PyCFunction
)_wrap_MouseEvent_GetPosition
, METH_O
, NULL
},
52846 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
)_wrap_MouseEvent_GetPositionTuple
, METH_O
, NULL
},
52847 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52848 { (char *)"MouseEvent_GetX", (PyCFunction
)_wrap_MouseEvent_GetX
, METH_O
, NULL
},
52849 { (char *)"MouseEvent_GetY", (PyCFunction
)_wrap_MouseEvent_GetY
, METH_O
, NULL
},
52850 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
)_wrap_MouseEvent_GetWheelRotation
, METH_O
, NULL
},
52851 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
)_wrap_MouseEvent_GetWheelDelta
, METH_O
, NULL
},
52852 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
)_wrap_MouseEvent_GetLinesPerAction
, METH_O
, NULL
},
52853 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
)_wrap_MouseEvent_IsPageScroll
, METH_O
, NULL
},
52854 { (char *)"MouseEvent_m_x_set", _wrap_MouseEvent_m_x_set
, METH_VARARGS
, NULL
},
52855 { (char *)"MouseEvent_m_x_get", (PyCFunction
)_wrap_MouseEvent_m_x_get
, METH_O
, NULL
},
52856 { (char *)"MouseEvent_m_y_set", _wrap_MouseEvent_m_y_set
, METH_VARARGS
, NULL
},
52857 { (char *)"MouseEvent_m_y_get", (PyCFunction
)_wrap_MouseEvent_m_y_get
, METH_O
, NULL
},
52858 { (char *)"MouseEvent_m_leftDown_set", _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
, NULL
},
52859 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
)_wrap_MouseEvent_m_leftDown_get
, METH_O
, NULL
},
52860 { (char *)"MouseEvent_m_middleDown_set", _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
, NULL
},
52861 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
)_wrap_MouseEvent_m_middleDown_get
, METH_O
, NULL
},
52862 { (char *)"MouseEvent_m_rightDown_set", _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
, NULL
},
52863 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
)_wrap_MouseEvent_m_rightDown_get
, METH_O
, NULL
},
52864 { (char *)"MouseEvent_m_controlDown_set", _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
, NULL
},
52865 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
)_wrap_MouseEvent_m_controlDown_get
, METH_O
, NULL
},
52866 { (char *)"MouseEvent_m_shiftDown_set", _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
, NULL
},
52867 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
)_wrap_MouseEvent_m_shiftDown_get
, METH_O
, NULL
},
52868 { (char *)"MouseEvent_m_altDown_set", _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
, NULL
},
52869 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
)_wrap_MouseEvent_m_altDown_get
, METH_O
, NULL
},
52870 { (char *)"MouseEvent_m_metaDown_set", _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
, NULL
},
52871 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
)_wrap_MouseEvent_m_metaDown_get
, METH_O
, NULL
},
52872 { (char *)"MouseEvent_m_wheelRotation_set", _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
, NULL
},
52873 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
)_wrap_MouseEvent_m_wheelRotation_get
, METH_O
, NULL
},
52874 { (char *)"MouseEvent_m_wheelDelta_set", _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
, NULL
},
52875 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
)_wrap_MouseEvent_m_wheelDelta_get
, METH_O
, NULL
},
52876 { (char *)"MouseEvent_m_linesPerAction_set", _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
, NULL
},
52877 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
)_wrap_MouseEvent_m_linesPerAction_get
, METH_O
, NULL
},
52878 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
52879 { (char *)"MouseEvent_swiginit", MouseEvent_swiginit
, METH_VARARGS
, NULL
},
52880 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52881 { (char *)"SetCursorEvent_GetX", (PyCFunction
)_wrap_SetCursorEvent_GetX
, METH_O
, NULL
},
52882 { (char *)"SetCursorEvent_GetY", (PyCFunction
)_wrap_SetCursorEvent_GetY
, METH_O
, NULL
},
52883 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52884 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
)_wrap_SetCursorEvent_GetCursor
, METH_O
, NULL
},
52885 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
)_wrap_SetCursorEvent_HasCursor
, METH_O
, NULL
},
52886 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
52887 { (char *)"SetCursorEvent_swiginit", SetCursorEvent_swiginit
, METH_VARARGS
, NULL
},
52888 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52889 { (char *)"KeyEvent_GetModifiers", (PyCFunction
)_wrap_KeyEvent_GetModifiers
, METH_O
, NULL
},
52890 { (char *)"KeyEvent_ControlDown", (PyCFunction
)_wrap_KeyEvent_ControlDown
, METH_O
, NULL
},
52891 { (char *)"KeyEvent_MetaDown", (PyCFunction
)_wrap_KeyEvent_MetaDown
, METH_O
, NULL
},
52892 { (char *)"KeyEvent_AltDown", (PyCFunction
)_wrap_KeyEvent_AltDown
, METH_O
, NULL
},
52893 { (char *)"KeyEvent_ShiftDown", (PyCFunction
)_wrap_KeyEvent_ShiftDown
, METH_O
, NULL
},
52894 { (char *)"KeyEvent_CmdDown", (PyCFunction
)_wrap_KeyEvent_CmdDown
, METH_O
, NULL
},
52895 { (char *)"KeyEvent_HasModifiers", (PyCFunction
)_wrap_KeyEvent_HasModifiers
, METH_O
, NULL
},
52896 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
)_wrap_KeyEvent_GetKeyCode
, METH_O
, NULL
},
52897 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
)_wrap_KeyEvent_GetUnicodeKey
, METH_O
, NULL
},
52898 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
)_wrap_KeyEvent_GetRawKeyCode
, METH_O
, NULL
},
52899 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
)_wrap_KeyEvent_GetRawKeyFlags
, METH_O
, NULL
},
52900 { (char *)"KeyEvent_GetPosition", (PyCFunction
)_wrap_KeyEvent_GetPosition
, METH_O
, NULL
},
52901 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
)_wrap_KeyEvent_GetPositionTuple
, METH_O
, NULL
},
52902 { (char *)"KeyEvent_GetX", (PyCFunction
)_wrap_KeyEvent_GetX
, METH_O
, NULL
},
52903 { (char *)"KeyEvent_GetY", (PyCFunction
)_wrap_KeyEvent_GetY
, METH_O
, NULL
},
52904 { (char *)"KeyEvent_m_x_set", _wrap_KeyEvent_m_x_set
, METH_VARARGS
, NULL
},
52905 { (char *)"KeyEvent_m_x_get", (PyCFunction
)_wrap_KeyEvent_m_x_get
, METH_O
, NULL
},
52906 { (char *)"KeyEvent_m_y_set", _wrap_KeyEvent_m_y_set
, METH_VARARGS
, NULL
},
52907 { (char *)"KeyEvent_m_y_get", (PyCFunction
)_wrap_KeyEvent_m_y_get
, METH_O
, NULL
},
52908 { (char *)"KeyEvent_m_keyCode_set", _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
, NULL
},
52909 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
)_wrap_KeyEvent_m_keyCode_get
, METH_O
, NULL
},
52910 { (char *)"KeyEvent_m_controlDown_set", _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
, NULL
},
52911 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
)_wrap_KeyEvent_m_controlDown_get
, METH_O
, NULL
},
52912 { (char *)"KeyEvent_m_shiftDown_set", _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
, NULL
},
52913 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
)_wrap_KeyEvent_m_shiftDown_get
, METH_O
, NULL
},
52914 { (char *)"KeyEvent_m_altDown_set", _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
, NULL
},
52915 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
)_wrap_KeyEvent_m_altDown_get
, METH_O
, NULL
},
52916 { (char *)"KeyEvent_m_metaDown_set", _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
, NULL
},
52917 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
)_wrap_KeyEvent_m_metaDown_get
, METH_O
, NULL
},
52918 { (char *)"KeyEvent_m_scanCode_set", _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
, NULL
},
52919 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
)_wrap_KeyEvent_m_scanCode_get
, METH_O
, NULL
},
52920 { (char *)"KeyEvent_m_rawCode_set", _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
, NULL
},
52921 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
)_wrap_KeyEvent_m_rawCode_get
, METH_O
, NULL
},
52922 { (char *)"KeyEvent_m_rawFlags_set", _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
, NULL
},
52923 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
)_wrap_KeyEvent_m_rawFlags_get
, METH_O
, NULL
},
52924 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
52925 { (char *)"KeyEvent_swiginit", KeyEvent_swiginit
, METH_VARARGS
, NULL
},
52926 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52927 { (char *)"SizeEvent_GetSize", (PyCFunction
)_wrap_SizeEvent_GetSize
, METH_O
, NULL
},
52928 { (char *)"SizeEvent_GetRect", (PyCFunction
)_wrap_SizeEvent_GetRect
, METH_O
, NULL
},
52929 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52930 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52931 { (char *)"SizeEvent_m_size_set", _wrap_SizeEvent_m_size_set
, METH_VARARGS
, NULL
},
52932 { (char *)"SizeEvent_m_size_get", (PyCFunction
)_wrap_SizeEvent_m_size_get
, METH_O
, NULL
},
52933 { (char *)"SizeEvent_m_rect_set", _wrap_SizeEvent_m_rect_set
, METH_VARARGS
, NULL
},
52934 { (char *)"SizeEvent_m_rect_get", (PyCFunction
)_wrap_SizeEvent_m_rect_get
, METH_O
, NULL
},
52935 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
52936 { (char *)"SizeEvent_swiginit", SizeEvent_swiginit
, METH_VARARGS
, NULL
},
52937 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52938 { (char *)"MoveEvent_GetPosition", (PyCFunction
)_wrap_MoveEvent_GetPosition
, METH_O
, NULL
},
52939 { (char *)"MoveEvent_GetRect", (PyCFunction
)_wrap_MoveEvent_GetRect
, METH_O
, NULL
},
52940 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52941 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52942 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
52943 { (char *)"MoveEvent_swiginit", MoveEvent_swiginit
, METH_VARARGS
, NULL
},
52944 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52945 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
52946 { (char *)"PaintEvent_swiginit", PaintEvent_swiginit
, METH_VARARGS
, NULL
},
52947 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52948 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
52949 { (char *)"NcPaintEvent_swiginit", NcPaintEvent_swiginit
, METH_VARARGS
, NULL
},
52950 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52951 { (char *)"EraseEvent_GetDC", (PyCFunction
)_wrap_EraseEvent_GetDC
, METH_O
, NULL
},
52952 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
52953 { (char *)"EraseEvent_swiginit", EraseEvent_swiginit
, METH_VARARGS
, NULL
},
52954 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52955 { (char *)"FocusEvent_GetWindow", (PyCFunction
)_wrap_FocusEvent_GetWindow
, METH_O
, NULL
},
52956 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52957 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
52958 { (char *)"FocusEvent_swiginit", FocusEvent_swiginit
, METH_VARARGS
, NULL
},
52959 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52960 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
)_wrap_ChildFocusEvent_GetWindow
, METH_O
, NULL
},
52961 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
52962 { (char *)"ChildFocusEvent_swiginit", ChildFocusEvent_swiginit
, METH_VARARGS
, NULL
},
52963 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52964 { (char *)"ActivateEvent_GetActive", (PyCFunction
)_wrap_ActivateEvent_GetActive
, METH_O
, NULL
},
52965 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
52966 { (char *)"ActivateEvent_swiginit", ActivateEvent_swiginit
, METH_VARARGS
, NULL
},
52967 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52968 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
52969 { (char *)"InitDialogEvent_swiginit", InitDialogEvent_swiginit
, METH_VARARGS
, NULL
},
52970 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52971 { (char *)"MenuEvent_GetMenuId", (PyCFunction
)_wrap_MenuEvent_GetMenuId
, METH_O
, NULL
},
52972 { (char *)"MenuEvent_IsPopup", (PyCFunction
)_wrap_MenuEvent_IsPopup
, METH_O
, NULL
},
52973 { (char *)"MenuEvent_GetMenu", (PyCFunction
)_wrap_MenuEvent_GetMenu
, METH_O
, NULL
},
52974 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
52975 { (char *)"MenuEvent_swiginit", MenuEvent_swiginit
, METH_VARARGS
, NULL
},
52976 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52977 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52978 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
)_wrap_CloseEvent_GetLoggingOff
, METH_O
, NULL
},
52979 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52980 { (char *)"CloseEvent_GetVeto", (PyCFunction
)_wrap_CloseEvent_GetVeto
, METH_O
, NULL
},
52981 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52982 { (char *)"CloseEvent_CanVeto", (PyCFunction
)_wrap_CloseEvent_CanVeto
, METH_O
, NULL
},
52983 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
52984 { (char *)"CloseEvent_swiginit", CloseEvent_swiginit
, METH_VARARGS
, NULL
},
52985 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52986 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52987 { (char *)"ShowEvent_GetShow", (PyCFunction
)_wrap_ShowEvent_GetShow
, METH_O
, NULL
},
52988 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
52989 { (char *)"ShowEvent_swiginit", ShowEvent_swiginit
, METH_VARARGS
, NULL
},
52990 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52991 { (char *)"IconizeEvent_Iconized", (PyCFunction
)_wrap_IconizeEvent_Iconized
, METH_O
, NULL
},
52992 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
52993 { (char *)"IconizeEvent_swiginit", IconizeEvent_swiginit
, METH_VARARGS
, NULL
},
52994 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52995 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
52996 { (char *)"MaximizeEvent_swiginit", MaximizeEvent_swiginit
, METH_VARARGS
, NULL
},
52997 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
)_wrap_DropFilesEvent_GetPosition
, METH_O
, NULL
},
52998 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
)_wrap_DropFilesEvent_GetNumberOfFiles
, METH_O
, NULL
},
52999 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
)_wrap_DropFilesEvent_GetFiles
, METH_O
, NULL
},
53000 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
53001 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53002 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
)_wrap_UpdateUIEvent_GetChecked
, METH_O
, NULL
},
53003 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
)_wrap_UpdateUIEvent_GetEnabled
, METH_O
, NULL
},
53004 { (char *)"UpdateUIEvent_GetShown", (PyCFunction
)_wrap_UpdateUIEvent_GetShown
, METH_O
, NULL
},
53005 { (char *)"UpdateUIEvent_GetText", (PyCFunction
)_wrap_UpdateUIEvent_GetText
, METH_O
, NULL
},
53006 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
)_wrap_UpdateUIEvent_GetSetText
, METH_O
, NULL
},
53007 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
)_wrap_UpdateUIEvent_GetSetChecked
, METH_O
, NULL
},
53008 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
)_wrap_UpdateUIEvent_GetSetEnabled
, METH_O
, NULL
},
53009 { (char *)"UpdateUIEvent_GetSetShown", (PyCFunction
)_wrap_UpdateUIEvent_GetSetShown
, METH_O
, NULL
},
53010 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53011 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53012 { (char *)"UpdateUIEvent_Show", (PyCFunction
) _wrap_UpdateUIEvent_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53013 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53014 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53015 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
)_wrap_UpdateUIEvent_GetUpdateInterval
, METH_NOARGS
, NULL
},
53016 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53017 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
)_wrap_UpdateUIEvent_ResetUpdateTime
, METH_NOARGS
, NULL
},
53018 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53019 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
)_wrap_UpdateUIEvent_GetMode
, METH_NOARGS
, NULL
},
53020 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
53021 { (char *)"UpdateUIEvent_swiginit", UpdateUIEvent_swiginit
, METH_VARARGS
, NULL
},
53022 { (char *)"new_SysColourChangedEvent", (PyCFunction
)_wrap_new_SysColourChangedEvent
, METH_NOARGS
, NULL
},
53023 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
53024 { (char *)"SysColourChangedEvent_swiginit", SysColourChangedEvent_swiginit
, METH_VARARGS
, NULL
},
53025 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53026 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
)_wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_O
, NULL
},
53027 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
53028 { (char *)"MouseCaptureChangedEvent_swiginit", MouseCaptureChangedEvent_swiginit
, METH_VARARGS
, NULL
},
53029 { (char *)"new_DisplayChangedEvent", (PyCFunction
)_wrap_new_DisplayChangedEvent
, METH_NOARGS
, NULL
},
53030 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
53031 { (char *)"DisplayChangedEvent_swiginit", DisplayChangedEvent_swiginit
, METH_VARARGS
, NULL
},
53032 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53033 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53034 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
)_wrap_PaletteChangedEvent_GetChangedWindow
, METH_O
, NULL
},
53035 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
53036 { (char *)"PaletteChangedEvent_swiginit", PaletteChangedEvent_swiginit
, METH_VARARGS
, NULL
},
53037 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53038 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53039 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
)_wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_O
, NULL
},
53040 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
53041 { (char *)"QueryNewPaletteEvent_swiginit", QueryNewPaletteEvent_swiginit
, METH_VARARGS
, NULL
},
53042 { (char *)"new_NavigationKeyEvent", (PyCFunction
)_wrap_new_NavigationKeyEvent
, METH_NOARGS
, NULL
},
53043 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
)_wrap_NavigationKeyEvent_GetDirection
, METH_O
, NULL
},
53044 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53045 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
)_wrap_NavigationKeyEvent_IsWindowChange
, METH_O
, NULL
},
53046 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53047 { (char *)"NavigationKeyEvent_IsFromTab", (PyCFunction
)_wrap_NavigationKeyEvent_IsFromTab
, METH_O
, NULL
},
53048 { (char *)"NavigationKeyEvent_SetFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_SetFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53049 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53050 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
)_wrap_NavigationKeyEvent_GetCurrentFocus
, METH_O
, NULL
},
53051 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53052 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
53053 { (char *)"NavigationKeyEvent_swiginit", NavigationKeyEvent_swiginit
, METH_VARARGS
, NULL
},
53054 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53055 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
)_wrap_WindowCreateEvent_GetWindow
, METH_O
, NULL
},
53056 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
53057 { (char *)"WindowCreateEvent_swiginit", WindowCreateEvent_swiginit
, METH_VARARGS
, NULL
},
53058 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53059 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
)_wrap_WindowDestroyEvent_GetWindow
, METH_O
, NULL
},
53060 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
53061 { (char *)"WindowDestroyEvent_swiginit", WindowDestroyEvent_swiginit
, METH_VARARGS
, NULL
},
53062 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53063 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
)_wrap_ContextMenuEvent_GetPosition
, METH_O
, NULL
},
53064 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53065 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
53066 { (char *)"ContextMenuEvent_swiginit", ContextMenuEvent_swiginit
, METH_VARARGS
, NULL
},
53067 { (char *)"new_IdleEvent", (PyCFunction
)_wrap_new_IdleEvent
, METH_NOARGS
, NULL
},
53068 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53069 { (char *)"IdleEvent_MoreRequested", (PyCFunction
)_wrap_IdleEvent_MoreRequested
, METH_O
, NULL
},
53070 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53071 { (char *)"IdleEvent_GetMode", (PyCFunction
)_wrap_IdleEvent_GetMode
, METH_NOARGS
, NULL
},
53072 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53073 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
53074 { (char *)"IdleEvent_swiginit", IdleEvent_swiginit
, METH_VARARGS
, NULL
},
53075 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53076 { (char *)"delete_PyEvent", (PyCFunction
)_wrap_delete_PyEvent
, METH_O
, NULL
},
53077 { (char *)"PyEvent__SetSelf", (PyCFunction
) _wrap_PyEvent__SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53078 { (char *)"PyEvent__GetSelf", (PyCFunction
)_wrap_PyEvent__GetSelf
, METH_O
, NULL
},
53079 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
53080 { (char *)"PyEvent_swiginit", PyEvent_swiginit
, METH_VARARGS
, NULL
},
53081 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53082 { (char *)"delete_PyCommandEvent", (PyCFunction
)_wrap_delete_PyCommandEvent
, METH_O
, NULL
},
53083 { (char *)"PyCommandEvent__SetSelf", (PyCFunction
) _wrap_PyCommandEvent__SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53084 { (char *)"PyCommandEvent__GetSelf", (PyCFunction
)_wrap_PyCommandEvent__GetSelf
, METH_O
, NULL
},
53085 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
53086 { (char *)"PyCommandEvent_swiginit", PyCommandEvent_swiginit
, METH_VARARGS
, NULL
},
53087 { (char *)"new_DateEvent", (PyCFunction
) _wrap_new_DateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53088 { (char *)"DateEvent_GetDate", (PyCFunction
)_wrap_DateEvent_GetDate
, METH_O
, NULL
},
53089 { (char *)"DateEvent_SetDate", (PyCFunction
) _wrap_DateEvent_SetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53090 { (char *)"DateEvent_swigregister", DateEvent_swigregister
, METH_VARARGS
, NULL
},
53091 { (char *)"DateEvent_swiginit", DateEvent_swiginit
, METH_VARARGS
, NULL
},
53092 { (char *)"new_PyApp", (PyCFunction
)_wrap_new_PyApp
, METH_NOARGS
, NULL
},
53093 { (char *)"delete_PyApp", (PyCFunction
)_wrap_delete_PyApp
, METH_O
, NULL
},
53094 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53095 { (char *)"PyApp_GetAppName", (PyCFunction
)_wrap_PyApp_GetAppName
, METH_O
, NULL
},
53096 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53097 { (char *)"PyApp_GetClassName", (PyCFunction
)_wrap_PyApp_GetClassName
, METH_O
, NULL
},
53098 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53099 { (char *)"PyApp_GetVendorName", (PyCFunction
)_wrap_PyApp_GetVendorName
, METH_O
, NULL
},
53100 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53101 { (char *)"PyApp_GetTraits", (PyCFunction
)_wrap_PyApp_GetTraits
, METH_O
, NULL
},
53102 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
)_wrap_PyApp_ProcessPendingEvents
, METH_O
, NULL
},
53103 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53104 { (char *)"PyApp_WakeUpIdle", (PyCFunction
)_wrap_PyApp_WakeUpIdle
, METH_O
, NULL
},
53105 { (char *)"PyApp_IsMainLoopRunning", (PyCFunction
)_wrap_PyApp_IsMainLoopRunning
, METH_NOARGS
, NULL
},
53106 { (char *)"PyApp_MainLoop", (PyCFunction
)_wrap_PyApp_MainLoop
, METH_O
, NULL
},
53107 { (char *)"PyApp_Exit", (PyCFunction
)_wrap_PyApp_Exit
, METH_O
, NULL
},
53108 { (char *)"PyApp_ExitMainLoop", (PyCFunction
)_wrap_PyApp_ExitMainLoop
, METH_O
, NULL
},
53109 { (char *)"PyApp_Pending", (PyCFunction
)_wrap_PyApp_Pending
, METH_O
, NULL
},
53110 { (char *)"PyApp_Dispatch", (PyCFunction
)_wrap_PyApp_Dispatch
, METH_O
, NULL
},
53111 { (char *)"PyApp_ProcessIdle", (PyCFunction
)_wrap_PyApp_ProcessIdle
, METH_O
, NULL
},
53112 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53113 { (char *)"PyApp_IsActive", (PyCFunction
)_wrap_PyApp_IsActive
, METH_O
, NULL
},
53114 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53115 { (char *)"PyApp_GetTopWindow", (PyCFunction
)_wrap_PyApp_GetTopWindow
, METH_O
, NULL
},
53116 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53117 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
)_wrap_PyApp_GetExitOnFrameDelete
, METH_O
, NULL
},
53118 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53119 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
)_wrap_PyApp_GetUseBestVisual
, METH_O
, NULL
},
53120 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53121 { (char *)"PyApp_GetPrintMode", (PyCFunction
)_wrap_PyApp_GetPrintMode
, METH_O
, NULL
},
53122 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53123 { (char *)"PyApp_GetAssertMode", (PyCFunction
)_wrap_PyApp_GetAssertMode
, METH_O
, NULL
},
53124 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
)_wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_NOARGS
, NULL
},
53125 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
)_wrap_PyApp_GetMacAboutMenuItemId
, METH_NOARGS
, NULL
},
53126 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
)_wrap_PyApp_GetMacPreferencesMenuItemId
, METH_NOARGS
, NULL
},
53127 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
)_wrap_PyApp_GetMacExitMenuItemId
, METH_NOARGS
, NULL
},
53128 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
)_wrap_PyApp_GetMacHelpMenuTitleName
, METH_NOARGS
, NULL
},
53129 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53130 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53131 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53132 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53133 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53134 { (char *)"PyApp__BootstrapApp", (PyCFunction
)_wrap_PyApp__BootstrapApp
, METH_O
, NULL
},
53135 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
)_wrap_PyApp_GetComCtl32Version
, METH_NOARGS
, NULL
},
53136 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
53137 { (char *)"PyApp_swiginit", PyApp_swiginit
, METH_VARARGS
, NULL
},
53138 { (char *)"Exit", (PyCFunction
)_wrap_Exit
, METH_NOARGS
, NULL
},
53139 { (char *)"Yield", (PyCFunction
)_wrap_Yield
, METH_NOARGS
, NULL
},
53140 { (char *)"YieldIfNeeded", (PyCFunction
)_wrap_YieldIfNeeded
, METH_NOARGS
, NULL
},
53141 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53142 { (char *)"WakeUpIdle", (PyCFunction
)_wrap_WakeUpIdle
, METH_NOARGS
, NULL
},
53143 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53144 { (char *)"App_CleanUp", (PyCFunction
)_wrap_App_CleanUp
, METH_NOARGS
, NULL
},
53145 { (char *)"GetApp", (PyCFunction
)_wrap_GetApp
, METH_NOARGS
, NULL
},
53146 { (char *)"SetDefaultPyEncoding", (PyCFunction
) _wrap_SetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53147 { (char *)"GetDefaultPyEncoding", (PyCFunction
)_wrap_GetDefaultPyEncoding
, METH_NOARGS
, NULL
},
53148 { (char *)"new_EventLoop", (PyCFunction
)_wrap_new_EventLoop
, METH_NOARGS
, NULL
},
53149 { (char *)"delete_EventLoop", (PyCFunction
)_wrap_delete_EventLoop
, METH_O
, NULL
},
53150 { (char *)"EventLoop_Run", (PyCFunction
)_wrap_EventLoop_Run
, METH_O
, NULL
},
53151 { (char *)"EventLoop_Exit", (PyCFunction
) _wrap_EventLoop_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53152 { (char *)"EventLoop_Pending", (PyCFunction
)_wrap_EventLoop_Pending
, METH_O
, NULL
},
53153 { (char *)"EventLoop_Dispatch", (PyCFunction
)_wrap_EventLoop_Dispatch
, METH_O
, NULL
},
53154 { (char *)"EventLoop_IsRunning", (PyCFunction
)_wrap_EventLoop_IsRunning
, METH_O
, NULL
},
53155 { (char *)"EventLoop_GetActive", (PyCFunction
)_wrap_EventLoop_GetActive
, METH_NOARGS
, NULL
},
53156 { (char *)"EventLoop_SetActive", (PyCFunction
) _wrap_EventLoop_SetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53157 { (char *)"EventLoop_swigregister", EventLoop_swigregister
, METH_VARARGS
, NULL
},
53158 { (char *)"EventLoop_swiginit", EventLoop_swiginit
, METH_VARARGS
, NULL
},
53159 { (char *)"new_EventLoopActivator", (PyCFunction
) _wrap_new_EventLoopActivator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53160 { (char *)"delete_EventLoopActivator", (PyCFunction
)_wrap_delete_EventLoopActivator
, METH_O
, NULL
},
53161 { (char *)"EventLoopActivator_swigregister", EventLoopActivator_swigregister
, METH_VARARGS
, NULL
},
53162 { (char *)"EventLoopActivator_swiginit", EventLoopActivator_swiginit
, METH_VARARGS
, NULL
},
53163 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53164 { (char *)"delete_AcceleratorEntry", (PyCFunction
)_wrap_delete_AcceleratorEntry
, METH_O
, NULL
},
53165 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53166 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
)_wrap_AcceleratorEntry_GetFlags
, METH_O
, NULL
},
53167 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
)_wrap_AcceleratorEntry_GetKeyCode
, METH_O
, NULL
},
53168 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
)_wrap_AcceleratorEntry_GetCommand
, METH_O
, NULL
},
53169 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
53170 { (char *)"AcceleratorEntry_swiginit", AcceleratorEntry_swiginit
, METH_VARARGS
, NULL
},
53171 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53172 { (char *)"delete_AcceleratorTable", (PyCFunction
)_wrap_delete_AcceleratorTable
, METH_O
, NULL
},
53173 { (char *)"AcceleratorTable_Ok", (PyCFunction
)_wrap_AcceleratorTable_Ok
, METH_O
, NULL
},
53174 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
53175 { (char *)"AcceleratorTable_swiginit", AcceleratorTable_swiginit
, METH_VARARGS
, NULL
},
53176 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53177 { (char *)"new_VisualAttributes", (PyCFunction
)_wrap_new_VisualAttributes
, METH_NOARGS
, NULL
},
53178 { (char *)"delete_VisualAttributes", (PyCFunction
)_wrap_delete_VisualAttributes
, METH_O
, NULL
},
53179 { (char *)"VisualAttributes_font_set", _wrap_VisualAttributes_font_set
, METH_VARARGS
, NULL
},
53180 { (char *)"VisualAttributes_font_get", (PyCFunction
)_wrap_VisualAttributes_font_get
, METH_O
, NULL
},
53181 { (char *)"VisualAttributes_colFg_set", _wrap_VisualAttributes_colFg_set
, METH_VARARGS
, NULL
},
53182 { (char *)"VisualAttributes_colFg_get", (PyCFunction
)_wrap_VisualAttributes_colFg_get
, METH_O
, NULL
},
53183 { (char *)"VisualAttributes_colBg_set", _wrap_VisualAttributes_colBg_set
, METH_VARARGS
, NULL
},
53184 { (char *)"VisualAttributes_colBg_get", (PyCFunction
)_wrap_VisualAttributes_colBg_get
, METH_O
, NULL
},
53185 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
53186 { (char *)"VisualAttributes_swiginit", VisualAttributes_swiginit
, METH_VARARGS
, NULL
},
53187 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53188 { (char *)"new_PreWindow", (PyCFunction
)_wrap_new_PreWindow
, METH_NOARGS
, NULL
},
53189 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53190 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53191 { (char *)"Window_Destroy", (PyCFunction
)_wrap_Window_Destroy
, METH_O
, NULL
},
53192 { (char *)"Window_DestroyChildren", (PyCFunction
)_wrap_Window_DestroyChildren
, METH_O
, NULL
},
53193 { (char *)"Window_IsBeingDeleted", (PyCFunction
)_wrap_Window_IsBeingDeleted
, METH_O
, NULL
},
53194 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53195 { (char *)"Window_GetLabel", (PyCFunction
)_wrap_Window_GetLabel
, METH_O
, NULL
},
53196 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53197 { (char *)"Window_GetName", (PyCFunction
)_wrap_Window_GetName
, METH_O
, NULL
},
53198 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53199 { (char *)"Window_GetWindowVariant", (PyCFunction
)_wrap_Window_GetWindowVariant
, METH_O
, NULL
},
53200 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53201 { (char *)"Window_GetId", (PyCFunction
)_wrap_Window_GetId
, METH_O
, NULL
},
53202 { (char *)"Window_NewControlId", (PyCFunction
)_wrap_Window_NewControlId
, METH_NOARGS
, NULL
},
53203 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53204 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53205 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53206 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53207 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53208 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53209 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53210 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53211 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53212 { (char *)"Window_Raise", (PyCFunction
)_wrap_Window_Raise
, METH_O
, NULL
},
53213 { (char *)"Window_Lower", (PyCFunction
)_wrap_Window_Lower
, METH_O
, NULL
},
53214 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53215 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53216 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53217 { (char *)"Window_GetPosition", (PyCFunction
)_wrap_Window_GetPosition
, METH_O
, NULL
},
53218 { (char *)"Window_GetPositionTuple", (PyCFunction
)_wrap_Window_GetPositionTuple
, METH_O
, NULL
},
53219 { (char *)"Window_GetScreenPosition", (PyCFunction
)_wrap_Window_GetScreenPosition
, METH_O
, NULL
},
53220 { (char *)"Window_GetScreenPositionTuple", (PyCFunction
)_wrap_Window_GetScreenPositionTuple
, METH_O
, NULL
},
53221 { (char *)"Window_GetScreenRect", (PyCFunction
)_wrap_Window_GetScreenRect
, METH_O
, NULL
},
53222 { (char *)"Window_GetSize", (PyCFunction
)_wrap_Window_GetSize
, METH_O
, NULL
},
53223 { (char *)"Window_GetSizeTuple", (PyCFunction
)_wrap_Window_GetSizeTuple
, METH_O
, NULL
},
53224 { (char *)"Window_GetRect", (PyCFunction
)_wrap_Window_GetRect
, METH_O
, NULL
},
53225 { (char *)"Window_GetClientSize", (PyCFunction
)_wrap_Window_GetClientSize
, METH_O
, NULL
},
53226 { (char *)"Window_GetClientSizeTuple", (PyCFunction
)_wrap_Window_GetClientSizeTuple
, METH_O
, NULL
},
53227 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
)_wrap_Window_GetClientAreaOrigin
, METH_O
, NULL
},
53228 { (char *)"Window_GetClientRect", (PyCFunction
)_wrap_Window_GetClientRect
, METH_O
, NULL
},
53229 { (char *)"Window_GetBestSize", (PyCFunction
)_wrap_Window_GetBestSize
, METH_O
, NULL
},
53230 { (char *)"Window_GetBestSizeTuple", (PyCFunction
)_wrap_Window_GetBestSizeTuple
, METH_O
, NULL
},
53231 { (char *)"Window_InvalidateBestSize", (PyCFunction
)_wrap_Window_InvalidateBestSize
, METH_O
, NULL
},
53232 { (char *)"Window_CacheBestSize", (PyCFunction
) _wrap_Window_CacheBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53233 { (char *)"Window_GetBestFittingSize", (PyCFunction
)_wrap_Window_GetBestFittingSize
, METH_O
, NULL
},
53234 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
)_wrap_Window_GetAdjustedBestSize
, METH_O
, NULL
},
53235 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53236 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53237 { (char *)"Window_Fit", (PyCFunction
)_wrap_Window_Fit
, METH_O
, NULL
},
53238 { (char *)"Window_FitInside", (PyCFunction
)_wrap_Window_FitInside
, METH_O
, NULL
},
53239 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53240 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53241 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53242 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53243 { (char *)"Window_GetMaxSize", (PyCFunction
)_wrap_Window_GetMaxSize
, METH_O
, NULL
},
53244 { (char *)"Window_GetMinSize", (PyCFunction
)_wrap_Window_GetMinSize
, METH_O
, NULL
},
53245 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53246 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53247 { (char *)"Window_GetMinWidth", (PyCFunction
)_wrap_Window_GetMinWidth
, METH_O
, NULL
},
53248 { (char *)"Window_GetMinHeight", (PyCFunction
)_wrap_Window_GetMinHeight
, METH_O
, NULL
},
53249 { (char *)"Window_GetMaxWidth", (PyCFunction
)_wrap_Window_GetMaxWidth
, METH_O
, NULL
},
53250 { (char *)"Window_GetMaxHeight", (PyCFunction
)_wrap_Window_GetMaxHeight
, METH_O
, NULL
},
53251 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53252 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53253 { (char *)"Window_GetVirtualSize", (PyCFunction
)_wrap_Window_GetVirtualSize
, METH_O
, NULL
},
53254 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
)_wrap_Window_GetVirtualSizeTuple
, METH_O
, NULL
},
53255 { (char *)"Window_GetBestVirtualSize", (PyCFunction
)_wrap_Window_GetBestVirtualSize
, METH_O
, NULL
},
53256 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53257 { (char *)"Window_Hide", (PyCFunction
)_wrap_Window_Hide
, METH_O
, NULL
},
53258 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53259 { (char *)"Window_Disable", (PyCFunction
)_wrap_Window_Disable
, METH_O
, NULL
},
53260 { (char *)"Window_IsShown", (PyCFunction
)_wrap_Window_IsShown
, METH_O
, NULL
},
53261 { (char *)"Window_IsEnabled", (PyCFunction
)_wrap_Window_IsEnabled
, METH_O
, NULL
},
53262 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53263 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
)_wrap_Window_GetWindowStyleFlag
, METH_O
, NULL
},
53264 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53265 { (char *)"Window_IsRetained", (PyCFunction
)_wrap_Window_IsRetained
, METH_O
, NULL
},
53266 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53267 { (char *)"Window_GetExtraStyle", (PyCFunction
)_wrap_Window_GetExtraStyle
, METH_O
, NULL
},
53268 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53269 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53270 { (char *)"Window_GetThemeEnabled", (PyCFunction
)_wrap_Window_GetThemeEnabled
, METH_O
, NULL
},
53271 { (char *)"Window_SetFocus", (PyCFunction
)_wrap_Window_SetFocus
, METH_O
, NULL
},
53272 { (char *)"Window_SetFocusFromKbd", (PyCFunction
)_wrap_Window_SetFocusFromKbd
, METH_O
, NULL
},
53273 { (char *)"Window_FindFocus", (PyCFunction
)_wrap_Window_FindFocus
, METH_NOARGS
, NULL
},
53274 { (char *)"Window_AcceptsFocus", (PyCFunction
)_wrap_Window_AcceptsFocus
, METH_O
, NULL
},
53275 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
)_wrap_Window_AcceptsFocusFromKeyboard
, METH_O
, NULL
},
53276 { (char *)"Window_GetDefaultItem", (PyCFunction
)_wrap_Window_GetDefaultItem
, METH_O
, NULL
},
53277 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53278 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53279 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53280 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53281 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53282 { (char *)"Window_GetChildren", (PyCFunction
)_wrap_Window_GetChildren
, METH_O
, NULL
},
53283 { (char *)"Window_GetParent", (PyCFunction
)_wrap_Window_GetParent
, METH_O
, NULL
},
53284 { (char *)"Window_GetGrandParent", (PyCFunction
)_wrap_Window_GetGrandParent
, METH_O
, NULL
},
53285 { (char *)"Window_IsTopLevel", (PyCFunction
)_wrap_Window_IsTopLevel
, METH_O
, NULL
},
53286 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53287 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53288 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53289 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53290 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53291 { (char *)"Window_GetEventHandler", (PyCFunction
)_wrap_Window_GetEventHandler
, METH_O
, NULL
},
53292 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53293 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53294 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53295 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53296 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53297 { (char *)"Window_GetValidator", (PyCFunction
)_wrap_Window_GetValidator
, METH_O
, NULL
},
53298 { (char *)"Window_Validate", (PyCFunction
)_wrap_Window_Validate
, METH_O
, NULL
},
53299 { (char *)"Window_TransferDataToWindow", (PyCFunction
)_wrap_Window_TransferDataToWindow
, METH_O
, NULL
},
53300 { (char *)"Window_TransferDataFromWindow", (PyCFunction
)_wrap_Window_TransferDataFromWindow
, METH_O
, NULL
},
53301 { (char *)"Window_InitDialog", (PyCFunction
)_wrap_Window_InitDialog
, METH_O
, NULL
},
53302 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53303 { (char *)"Window_GetAcceleratorTable", (PyCFunction
)_wrap_Window_GetAcceleratorTable
, METH_O
, NULL
},
53304 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53305 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53306 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53307 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53308 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53309 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53310 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53311 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53312 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53313 { (char *)"Window_CaptureMouse", (PyCFunction
)_wrap_Window_CaptureMouse
, METH_O
, NULL
},
53314 { (char *)"Window_ReleaseMouse", (PyCFunction
)_wrap_Window_ReleaseMouse
, METH_O
, NULL
},
53315 { (char *)"Window_GetCapture", (PyCFunction
)_wrap_Window_GetCapture
, METH_NOARGS
, NULL
},
53316 { (char *)"Window_HasCapture", (PyCFunction
)_wrap_Window_HasCapture
, METH_O
, NULL
},
53317 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53318 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53319 { (char *)"Window_Update", (PyCFunction
)_wrap_Window_Update
, METH_O
, NULL
},
53320 { (char *)"Window_ClearBackground", (PyCFunction
)_wrap_Window_ClearBackground
, METH_O
, NULL
},
53321 { (char *)"Window_Freeze", (PyCFunction
)_wrap_Window_Freeze
, METH_O
, NULL
},
53322 { (char *)"Window_Thaw", (PyCFunction
)_wrap_Window_Thaw
, METH_O
, NULL
},
53323 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53324 { (char *)"Window_GetUpdateRegion", (PyCFunction
)_wrap_Window_GetUpdateRegion
, METH_O
, NULL
},
53325 { (char *)"Window_GetUpdateClientRect", (PyCFunction
)_wrap_Window_GetUpdateClientRect
, METH_O
, NULL
},
53326 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53327 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53328 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53329 { (char *)"Window_GetDefaultAttributes", (PyCFunction
)_wrap_Window_GetDefaultAttributes
, METH_O
, NULL
},
53330 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53331 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53332 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53333 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53334 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53335 { (char *)"Window_GetBackgroundColour", (PyCFunction
)_wrap_Window_GetBackgroundColour
, METH_O
, NULL
},
53336 { (char *)"Window_GetForegroundColour", (PyCFunction
)_wrap_Window_GetForegroundColour
, METH_O
, NULL
},
53337 { (char *)"Window_InheritsBackgroundColour", (PyCFunction
)_wrap_Window_InheritsBackgroundColour
, METH_O
, NULL
},
53338 { (char *)"Window_UseBgCol", (PyCFunction
)_wrap_Window_UseBgCol
, METH_O
, NULL
},
53339 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53340 { (char *)"Window_GetBackgroundStyle", (PyCFunction
)_wrap_Window_GetBackgroundStyle
, METH_O
, NULL
},
53341 { (char *)"Window_HasTransparentBackground", (PyCFunction
)_wrap_Window_HasTransparentBackground
, METH_O
, NULL
},
53342 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53343 { (char *)"Window_GetCursor", (PyCFunction
)_wrap_Window_GetCursor
, METH_O
, NULL
},
53344 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53345 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53346 { (char *)"Window_GetFont", (PyCFunction
)_wrap_Window_GetFont
, METH_O
, NULL
},
53347 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53348 { (char *)"Window_GetCaret", (PyCFunction
)_wrap_Window_GetCaret
, METH_O
, NULL
},
53349 { (char *)"Window_GetCharHeight", (PyCFunction
)_wrap_Window_GetCharHeight
, METH_O
, NULL
},
53350 { (char *)"Window_GetCharWidth", (PyCFunction
)_wrap_Window_GetCharWidth
, METH_O
, NULL
},
53351 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53352 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53353 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53354 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53355 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53356 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53357 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53358 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53359 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
53360 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53361 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53362 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53363 { (char *)"Window_GetHandle", (PyCFunction
)_wrap_Window_GetHandle
, METH_O
, NULL
},
53364 { (char *)"Window_AssociateHandle", (PyCFunction
) _wrap_Window_AssociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53365 { (char *)"Window_DissociateHandle", (PyCFunction
)_wrap_Window_DissociateHandle
, METH_O
, NULL
},
53366 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53367 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53368 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53369 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53370 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53371 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53372 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53373 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53374 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53375 { (char *)"Window_LineUp", (PyCFunction
)_wrap_Window_LineUp
, METH_O
, NULL
},
53376 { (char *)"Window_LineDown", (PyCFunction
)_wrap_Window_LineDown
, METH_O
, NULL
},
53377 { (char *)"Window_PageUp", (PyCFunction
)_wrap_Window_PageUp
, METH_O
, NULL
},
53378 { (char *)"Window_PageDown", (PyCFunction
)_wrap_Window_PageDown
, METH_O
, NULL
},
53379 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53380 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53381 { (char *)"Window_GetHelpText", (PyCFunction
)_wrap_Window_GetHelpText
, METH_O
, NULL
},
53382 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53383 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53384 { (char *)"Window_GetToolTip", (PyCFunction
)_wrap_Window_GetToolTip
, METH_O
, NULL
},
53385 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53386 { (char *)"Window_GetDropTarget", (PyCFunction
)_wrap_Window_GetDropTarget
, METH_O
, NULL
},
53387 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53388 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53389 { (char *)"Window_GetConstraints", (PyCFunction
)_wrap_Window_GetConstraints
, METH_O
, NULL
},
53390 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53391 { (char *)"Window_GetAutoLayout", (PyCFunction
)_wrap_Window_GetAutoLayout
, METH_O
, NULL
},
53392 { (char *)"Window_Layout", (PyCFunction
)_wrap_Window_Layout
, METH_O
, NULL
},
53393 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53394 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53395 { (char *)"Window_GetSizer", (PyCFunction
)_wrap_Window_GetSizer
, METH_O
, NULL
},
53396 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53397 { (char *)"Window_GetContainingSizer", (PyCFunction
)_wrap_Window_GetContainingSizer
, METH_O
, NULL
},
53398 { (char *)"Window_InheritAttributes", (PyCFunction
)_wrap_Window_InheritAttributes
, METH_O
, NULL
},
53399 { (char *)"Window_ShouldInheritColours", (PyCFunction
)_wrap_Window_ShouldInheritColours
, METH_O
, NULL
},
53400 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
53401 { (char *)"Window_swiginit", Window_swiginit
, METH_VARARGS
, NULL
},
53402 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53403 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53404 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53405 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53406 { (char *)"GetTopLevelWindows", (PyCFunction
)_wrap_GetTopLevelWindows
, METH_NOARGS
, NULL
},
53407 { (char *)"new_Validator", (PyCFunction
)_wrap_new_Validator
, METH_NOARGS
, NULL
},
53408 { (char *)"Validator_Clone", (PyCFunction
)_wrap_Validator_Clone
, METH_O
, NULL
},
53409 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53410 { (char *)"Validator_TransferToWindow", (PyCFunction
)_wrap_Validator_TransferToWindow
, METH_O
, NULL
},
53411 { (char *)"Validator_TransferFromWindow", (PyCFunction
)_wrap_Validator_TransferFromWindow
, METH_O
, NULL
},
53412 { (char *)"Validator_GetWindow", (PyCFunction
)_wrap_Validator_GetWindow
, METH_O
, NULL
},
53413 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53414 { (char *)"Validator_IsSilent", (PyCFunction
)_wrap_Validator_IsSilent
, METH_NOARGS
, NULL
},
53415 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53416 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
53417 { (char *)"Validator_swiginit", Validator_swiginit
, METH_VARARGS
, NULL
},
53418 { (char *)"new_PyValidator", (PyCFunction
)_wrap_new_PyValidator
, METH_NOARGS
, NULL
},
53419 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53420 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
53421 { (char *)"PyValidator_swiginit", PyValidator_swiginit
, METH_VARARGS
, NULL
},
53422 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53423 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53424 { (char *)"Menu_AppendSeparator", (PyCFunction
)_wrap_Menu_AppendSeparator
, METH_O
, NULL
},
53425 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53426 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53427 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53428 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53429 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53430 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53431 { (char *)"Menu_Break", (PyCFunction
)_wrap_Menu_Break
, METH_O
, NULL
},
53432 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53433 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53434 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53435 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53436 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53437 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53438 { (char *)"Menu_PrependSeparator", (PyCFunction
)_wrap_Menu_PrependSeparator
, METH_O
, NULL
},
53439 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53440 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53441 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53442 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53443 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53444 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53445 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53446 { (char *)"Menu_Destroy", (PyCFunction
)_wrap_Menu_Destroy
, METH_O
, NULL
},
53447 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53448 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53449 { (char *)"Menu_GetMenuItemCount", (PyCFunction
)_wrap_Menu_GetMenuItemCount
, METH_O
, NULL
},
53450 { (char *)"Menu_GetMenuItems", (PyCFunction
)_wrap_Menu_GetMenuItems
, METH_O
, NULL
},
53451 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53452 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53453 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53454 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53455 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53456 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53457 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53458 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53459 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53460 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53461 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53462 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53463 { (char *)"Menu_GetTitle", (PyCFunction
)_wrap_Menu_GetTitle
, METH_O
, NULL
},
53464 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53465 { (char *)"Menu_GetEventHandler", (PyCFunction
)_wrap_Menu_GetEventHandler
, METH_O
, NULL
},
53466 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53467 { (char *)"Menu_GetInvokingWindow", (PyCFunction
)_wrap_Menu_GetInvokingWindow
, METH_O
, NULL
},
53468 { (char *)"Menu_GetStyle", (PyCFunction
)_wrap_Menu_GetStyle
, METH_O
, NULL
},
53469 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53470 { (char *)"Menu_GetMenuBar", (PyCFunction
)_wrap_Menu_GetMenuBar
, METH_O
, NULL
},
53471 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53472 { (char *)"Menu_Detach", (PyCFunction
)_wrap_Menu_Detach
, METH_O
, NULL
},
53473 { (char *)"Menu_IsAttached", (PyCFunction
)_wrap_Menu_IsAttached
, METH_O
, NULL
},
53474 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53475 { (char *)"Menu_GetParent", (PyCFunction
)_wrap_Menu_GetParent
, METH_O
, NULL
},
53476 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
53477 { (char *)"Menu_swiginit", Menu_swiginit
, METH_VARARGS
, NULL
},
53478 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53479 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53480 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53481 { (char *)"MenuBar_GetMenuCount", (PyCFunction
)_wrap_MenuBar_GetMenuCount
, METH_O
, NULL
},
53482 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53483 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53484 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53485 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53486 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53487 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53488 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53489 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53490 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53491 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53492 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53493 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53494 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53495 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53496 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53497 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53498 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53499 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53500 { (char *)"MenuBar_GetFrame", (PyCFunction
)_wrap_MenuBar_GetFrame
, METH_O
, NULL
},
53501 { (char *)"MenuBar_IsAttached", (PyCFunction
)_wrap_MenuBar_IsAttached
, METH_O
, NULL
},
53502 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53503 { (char *)"MenuBar_Detach", (PyCFunction
)_wrap_MenuBar_Detach
, METH_O
, NULL
},
53504 { (char *)"MenuBar_SetAutoWindowMenu", (PyCFunction
) _wrap_MenuBar_SetAutoWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53505 { (char *)"MenuBar_GetAutoWindowMenu", (PyCFunction
)_wrap_MenuBar_GetAutoWindowMenu
, METH_NOARGS
, NULL
},
53506 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
53507 { (char *)"MenuBar_swiginit", MenuBar_swiginit
, METH_VARARGS
, NULL
},
53508 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53509 { (char *)"delete_MenuItem", (PyCFunction
)_wrap_delete_MenuItem
, METH_O
, NULL
},
53510 { (char *)"MenuItem_GetMenu", (PyCFunction
)_wrap_MenuItem_GetMenu
, METH_O
, NULL
},
53511 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53512 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53513 { (char *)"MenuItem_GetId", (PyCFunction
)_wrap_MenuItem_GetId
, METH_O
, NULL
},
53514 { (char *)"MenuItem_IsSeparator", (PyCFunction
)_wrap_MenuItem_IsSeparator
, METH_O
, NULL
},
53515 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53516 { (char *)"MenuItem_GetLabel", (PyCFunction
)_wrap_MenuItem_GetLabel
, METH_O
, NULL
},
53517 { (char *)"MenuItem_GetText", (PyCFunction
)_wrap_MenuItem_GetText
, METH_O
, NULL
},
53518 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53519 { (char *)"MenuItem_GetKind", (PyCFunction
)_wrap_MenuItem_GetKind
, METH_O
, NULL
},
53520 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53521 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53522 { (char *)"MenuItem_IsCheckable", (PyCFunction
)_wrap_MenuItem_IsCheckable
, METH_O
, NULL
},
53523 { (char *)"MenuItem_IsSubMenu", (PyCFunction
)_wrap_MenuItem_IsSubMenu
, METH_O
, NULL
},
53524 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53525 { (char *)"MenuItem_GetSubMenu", (PyCFunction
)_wrap_MenuItem_GetSubMenu
, METH_O
, NULL
},
53526 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53527 { (char *)"MenuItem_IsEnabled", (PyCFunction
)_wrap_MenuItem_IsEnabled
, METH_O
, NULL
},
53528 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53529 { (char *)"MenuItem_IsChecked", (PyCFunction
)_wrap_MenuItem_IsChecked
, METH_O
, NULL
},
53530 { (char *)"MenuItem_Toggle", (PyCFunction
)_wrap_MenuItem_Toggle
, METH_O
, NULL
},
53531 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53532 { (char *)"MenuItem_GetHelp", (PyCFunction
)_wrap_MenuItem_GetHelp
, METH_O
, NULL
},
53533 { (char *)"MenuItem_GetAccel", (PyCFunction
)_wrap_MenuItem_GetAccel
, METH_O
, NULL
},
53534 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53535 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53536 { (char *)"MenuItem_GetBitmap", (PyCFunction
)_wrap_MenuItem_GetBitmap
, METH_O
, NULL
},
53537 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53538 { (char *)"MenuItem_GetFont", (PyCFunction
)_wrap_MenuItem_GetFont
, METH_O
, NULL
},
53539 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53540 { (char *)"MenuItem_GetTextColour", (PyCFunction
)_wrap_MenuItem_GetTextColour
, METH_O
, NULL
},
53541 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53542 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
)_wrap_MenuItem_GetBackgroundColour
, METH_O
, NULL
},
53543 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53544 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53545 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
)_wrap_MenuItem_GetDisabledBitmap
, METH_O
, NULL
},
53546 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53547 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
)_wrap_MenuItem_GetMarginWidth
, METH_O
, NULL
},
53548 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
)_wrap_MenuItem_GetDefaultMarginWidth
, METH_NOARGS
, NULL
},
53549 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
)_wrap_MenuItem_IsOwnerDrawn
, METH_O
, NULL
},
53550 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53551 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
)_wrap_MenuItem_ResetOwnerDrawn
, METH_O
, NULL
},
53552 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
53553 { (char *)"MenuItem_swiginit", MenuItem_swiginit
, METH_VARARGS
, NULL
},
53554 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53555 { (char *)"new_PreControl", (PyCFunction
)_wrap_new_PreControl
, METH_NOARGS
, NULL
},
53556 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53557 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53558 { (char *)"Control_GetLabel", (PyCFunction
)_wrap_Control_GetLabel
, METH_O
, NULL
},
53559 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53560 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
53561 { (char *)"Control_swiginit", Control_swiginit
, METH_VARARGS
, NULL
},
53562 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53563 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53564 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53565 { (char *)"ItemContainer_Clear", (PyCFunction
)_wrap_ItemContainer_Clear
, METH_O
, NULL
},
53566 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53567 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53568 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53569 { (char *)"ItemContainer_GetCount", (PyCFunction
)_wrap_ItemContainer_GetCount
, METH_O
, NULL
},
53570 { (char *)"ItemContainer_IsEmpty", (PyCFunction
)_wrap_ItemContainer_IsEmpty
, METH_O
, NULL
},
53571 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53572 { (char *)"ItemContainer_GetStrings", (PyCFunction
)_wrap_ItemContainer_GetStrings
, METH_O
, NULL
},
53573 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53574 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53575 { (char *)"ItemContainer_SetSelection", (PyCFunction
) _wrap_ItemContainer_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53576 { (char *)"ItemContainer_GetSelection", (PyCFunction
)_wrap_ItemContainer_GetSelection
, METH_O
, NULL
},
53577 { (char *)"ItemContainer_SetStringSelection", (PyCFunction
) _wrap_ItemContainer_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53578 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
)_wrap_ItemContainer_GetStringSelection
, METH_O
, NULL
},
53579 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53580 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
53581 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
53582 { (char *)"new_SizerItem", (PyCFunction
)_wrap_new_SizerItem
, METH_NOARGS
, NULL
},
53583 { (char *)"delete_SizerItem", (PyCFunction
)_wrap_delete_SizerItem
, METH_O
, NULL
},
53584 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53585 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53586 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53587 { (char *)"SizerItem_DeleteWindows", (PyCFunction
)_wrap_SizerItem_DeleteWindows
, METH_O
, NULL
},
53588 { (char *)"SizerItem_DetachSizer", (PyCFunction
)_wrap_SizerItem_DetachSizer
, METH_O
, NULL
},
53589 { (char *)"SizerItem_GetSize", (PyCFunction
)_wrap_SizerItem_GetSize
, METH_O
, NULL
},
53590 { (char *)"SizerItem_CalcMin", (PyCFunction
)_wrap_SizerItem_CalcMin
, METH_O
, NULL
},
53591 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53592 { (char *)"SizerItem_GetMinSize", (PyCFunction
)_wrap_SizerItem_GetMinSize
, METH_O
, NULL
},
53593 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
)_wrap_SizerItem_GetMinSizeWithBorder
, METH_O
, NULL
},
53594 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53595 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53596 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53597 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53598 { (char *)"SizerItem_GetRatio", (PyCFunction
)_wrap_SizerItem_GetRatio
, METH_O
, NULL
},
53599 { (char *)"SizerItem_GetRect", (PyCFunction
)_wrap_SizerItem_GetRect
, METH_O
, NULL
},
53600 { (char *)"SizerItem_IsWindow", (PyCFunction
)_wrap_SizerItem_IsWindow
, METH_O
, NULL
},
53601 { (char *)"SizerItem_IsSizer", (PyCFunction
)_wrap_SizerItem_IsSizer
, METH_O
, NULL
},
53602 { (char *)"SizerItem_IsSpacer", (PyCFunction
)_wrap_SizerItem_IsSpacer
, METH_O
, NULL
},
53603 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53604 { (char *)"SizerItem_GetProportion", (PyCFunction
)_wrap_SizerItem_GetProportion
, METH_O
, NULL
},
53605 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53606 { (char *)"SizerItem_GetFlag", (PyCFunction
)_wrap_SizerItem_GetFlag
, METH_O
, NULL
},
53607 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53608 { (char *)"SizerItem_GetBorder", (PyCFunction
)_wrap_SizerItem_GetBorder
, METH_O
, NULL
},
53609 { (char *)"SizerItem_GetWindow", (PyCFunction
)_wrap_SizerItem_GetWindow
, METH_O
, NULL
},
53610 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53611 { (char *)"SizerItem_GetSizer", (PyCFunction
)_wrap_SizerItem_GetSizer
, METH_O
, NULL
},
53612 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53613 { (char *)"SizerItem_GetSpacer", (PyCFunction
)_wrap_SizerItem_GetSpacer
, METH_O
, NULL
},
53614 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53615 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53616 { (char *)"SizerItem_IsShown", (PyCFunction
)_wrap_SizerItem_IsShown
, METH_O
, NULL
},
53617 { (char *)"SizerItem_GetPosition", (PyCFunction
)_wrap_SizerItem_GetPosition
, METH_O
, NULL
},
53618 { (char *)"SizerItem_GetUserData", (PyCFunction
)_wrap_SizerItem_GetUserData
, METH_O
, NULL
},
53619 { (char *)"SizerItem_SetUserData", (PyCFunction
) _wrap_SizerItem_SetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53620 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
53621 { (char *)"SizerItem_swiginit", SizerItem_swiginit
, METH_VARARGS
, NULL
},
53622 { (char *)"delete_Sizer", (PyCFunction
)_wrap_delete_Sizer
, METH_O
, NULL
},
53623 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53624 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53625 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53626 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53627 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53628 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53629 { (char *)"Sizer_GetItem", (PyCFunction
) _wrap_Sizer_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53630 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53631 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53632 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53633 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53634 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53635 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53636 { (char *)"Sizer_GetSize", (PyCFunction
)_wrap_Sizer_GetSize
, METH_O
, NULL
},
53637 { (char *)"Sizer_GetPosition", (PyCFunction
)_wrap_Sizer_GetPosition
, METH_O
, NULL
},
53638 { (char *)"Sizer_GetMinSize", (PyCFunction
)_wrap_Sizer_GetMinSize
, METH_O
, NULL
},
53639 { (char *)"Sizer_RecalcSizes", (PyCFunction
)_wrap_Sizer_RecalcSizes
, METH_O
, NULL
},
53640 { (char *)"Sizer_CalcMin", (PyCFunction
)_wrap_Sizer_CalcMin
, METH_O
, NULL
},
53641 { (char *)"Sizer_Layout", (PyCFunction
)_wrap_Sizer_Layout
, METH_O
, NULL
},
53642 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53643 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53644 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53645 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53646 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53647 { (char *)"Sizer_DeleteWindows", (PyCFunction
)_wrap_Sizer_DeleteWindows
, METH_O
, NULL
},
53648 { (char *)"Sizer_GetChildren", (PyCFunction
)_wrap_Sizer_GetChildren
, METH_O
, NULL
},
53649 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53650 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53651 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53652 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
53653 { (char *)"new_PySizer", (PyCFunction
)_wrap_new_PySizer
, METH_NOARGS
, NULL
},
53654 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53655 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
53656 { (char *)"PySizer_swiginit", PySizer_swiginit
, METH_VARARGS
, NULL
},
53657 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53658 { (char *)"BoxSizer_GetOrientation", (PyCFunction
)_wrap_BoxSizer_GetOrientation
, METH_O
, NULL
},
53659 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53660 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
53661 { (char *)"BoxSizer_swiginit", BoxSizer_swiginit
, METH_VARARGS
, NULL
},
53662 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53663 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
)_wrap_StaticBoxSizer_GetStaticBox
, METH_O
, NULL
},
53664 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
53665 { (char *)"StaticBoxSizer_swiginit", StaticBoxSizer_swiginit
, METH_VARARGS
, NULL
},
53666 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53667 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53668 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53669 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53670 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53671 { (char *)"GridSizer_GetCols", (PyCFunction
)_wrap_GridSizer_GetCols
, METH_O
, NULL
},
53672 { (char *)"GridSizer_GetRows", (PyCFunction
)_wrap_GridSizer_GetRows
, METH_O
, NULL
},
53673 { (char *)"GridSizer_GetVGap", (PyCFunction
)_wrap_GridSizer_GetVGap
, METH_O
, NULL
},
53674 { (char *)"GridSizer_GetHGap", (PyCFunction
)_wrap_GridSizer_GetHGap
, METH_O
, NULL
},
53675 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
53676 { (char *)"GridSizer_swiginit", GridSizer_swiginit
, METH_VARARGS
, NULL
},
53677 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53678 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53679 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53680 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53681 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53682 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53683 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
)_wrap_FlexGridSizer_GetFlexibleDirection
, METH_O
, NULL
},
53684 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53685 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
)_wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_O
, NULL
},
53686 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
)_wrap_FlexGridSizer_GetRowHeights
, METH_O
, NULL
},
53687 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
)_wrap_FlexGridSizer_GetColWidths
, METH_O
, NULL
},
53688 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
53689 { (char *)"FlexGridSizer_swiginit", FlexGridSizer_swiginit
, METH_VARARGS
, NULL
},
53690 { (char *)"new_StdDialogButtonSizer", (PyCFunction
)_wrap_new_StdDialogButtonSizer
, METH_NOARGS
, NULL
},
53691 { (char *)"StdDialogButtonSizer_AddButton", (PyCFunction
) _wrap_StdDialogButtonSizer_AddButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53692 { (char *)"StdDialogButtonSizer_Realize", (PyCFunction
)_wrap_StdDialogButtonSizer_Realize
, METH_O
, NULL
},
53693 { (char *)"StdDialogButtonSizer_SetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53694 { (char *)"StdDialogButtonSizer_SetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53695 { (char *)"StdDialogButtonSizer_SetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53696 { (char *)"StdDialogButtonSizer_GetAffirmativeButton", (PyCFunction
)_wrap_StdDialogButtonSizer_GetAffirmativeButton
, METH_O
, NULL
},
53697 { (char *)"StdDialogButtonSizer_GetApplyButton", (PyCFunction
)_wrap_StdDialogButtonSizer_GetApplyButton
, METH_O
, NULL
},
53698 { (char *)"StdDialogButtonSizer_GetNegativeButton", (PyCFunction
)_wrap_StdDialogButtonSizer_GetNegativeButton
, METH_O
, NULL
},
53699 { (char *)"StdDialogButtonSizer_GetCancelButton", (PyCFunction
)_wrap_StdDialogButtonSizer_GetCancelButton
, METH_O
, NULL
},
53700 { (char *)"StdDialogButtonSizer_GetHelpButton", (PyCFunction
)_wrap_StdDialogButtonSizer_GetHelpButton
, METH_O
, NULL
},
53701 { (char *)"StdDialogButtonSizer_swigregister", StdDialogButtonSizer_swigregister
, METH_VARARGS
, NULL
},
53702 { (char *)"StdDialogButtonSizer_swiginit", StdDialogButtonSizer_swiginit
, METH_VARARGS
, NULL
},
53703 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53704 { (char *)"delete_GBPosition", (PyCFunction
)_wrap_delete_GBPosition
, METH_O
, NULL
},
53705 { (char *)"GBPosition_GetRow", (PyCFunction
)_wrap_GBPosition_GetRow
, METH_O
, NULL
},
53706 { (char *)"GBPosition_GetCol", (PyCFunction
)_wrap_GBPosition_GetCol
, METH_O
, NULL
},
53707 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53708 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53709 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53710 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53711 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53712 { (char *)"GBPosition_Get", (PyCFunction
)_wrap_GBPosition_Get
, METH_O
, NULL
},
53713 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
53714 { (char *)"GBPosition_swiginit", GBPosition_swiginit
, METH_VARARGS
, NULL
},
53715 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53716 { (char *)"delete_GBSpan", (PyCFunction
)_wrap_delete_GBSpan
, METH_O
, NULL
},
53717 { (char *)"GBSpan_GetRowspan", (PyCFunction
)_wrap_GBSpan_GetRowspan
, METH_O
, NULL
},
53718 { (char *)"GBSpan_GetColspan", (PyCFunction
)_wrap_GBSpan_GetColspan
, METH_O
, NULL
},
53719 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53720 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53721 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53722 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53723 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53724 { (char *)"GBSpan_Get", (PyCFunction
)_wrap_GBSpan_Get
, METH_O
, NULL
},
53725 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
53726 { (char *)"GBSpan_swiginit", GBSpan_swiginit
, METH_VARARGS
, NULL
},
53727 { (char *)"new_GBSizerItem", (PyCFunction
)_wrap_new_GBSizerItem
, METH_NOARGS
, NULL
},
53728 { (char *)"delete_GBSizerItem", (PyCFunction
)_wrap_delete_GBSizerItem
, METH_O
, NULL
},
53729 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53730 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53731 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53732 { (char *)"GBSizerItem_GetPos", (PyCFunction
)_wrap_GBSizerItem_GetPos
, METH_O
, NULL
},
53733 { (char *)"GBSizerItem_GetSpan", (PyCFunction
)_wrap_GBSizerItem_GetSpan
, METH_O
, NULL
},
53734 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53735 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53736 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53737 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53738 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
)_wrap_GBSizerItem_GetEndPos
, METH_O
, NULL
},
53739 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
)_wrap_GBSizerItem_GetGBSizer
, METH_O
, NULL
},
53740 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53741 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
53742 { (char *)"GBSizerItem_swiginit", GBSizerItem_swiginit
, METH_VARARGS
, NULL
},
53743 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53744 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53745 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53746 { (char *)"GridBagSizer_GetCellSize", (PyCFunction
) _wrap_GridBagSizer_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53747 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
)_wrap_GridBagSizer_GetEmptyCellSize
, METH_O
, NULL
},
53748 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53749 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
53750 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
53751 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
53752 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
53753 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
53754 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53755 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53756 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53757 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53758 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
53759 { (char *)"GridBagSizer_swiginit", GridBagSizer_swiginit
, METH_VARARGS
, NULL
},
53760 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53761 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53762 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53763 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53764 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53765 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53766 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53767 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53768 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
)_wrap_IndividualLayoutConstraint_Unconstrained
, METH_O
, NULL
},
53769 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
)_wrap_IndividualLayoutConstraint_AsIs
, METH_O
, NULL
},
53770 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_O
, NULL
},
53771 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetMyEdge
, METH_O
, NULL
},
53772 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53773 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53774 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetMargin
, METH_O
, NULL
},
53775 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53776 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetValue
, METH_O
, NULL
},
53777 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetPercent
, METH_O
, NULL
},
53778 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_O
, NULL
},
53779 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetDone
, METH_O
, NULL
},
53780 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53781 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetRelationship
, METH_O
, NULL
},
53782 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53783 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53784 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53785 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53786 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
53787 { (char *)"LayoutConstraints_left_get", (PyCFunction
)_wrap_LayoutConstraints_left_get
, METH_O
, NULL
},
53788 { (char *)"LayoutConstraints_top_get", (PyCFunction
)_wrap_LayoutConstraints_top_get
, METH_O
, NULL
},
53789 { (char *)"LayoutConstraints_right_get", (PyCFunction
)_wrap_LayoutConstraints_right_get
, METH_O
, NULL
},
53790 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
)_wrap_LayoutConstraints_bottom_get
, METH_O
, NULL
},
53791 { (char *)"LayoutConstraints_width_get", (PyCFunction
)_wrap_LayoutConstraints_width_get
, METH_O
, NULL
},
53792 { (char *)"LayoutConstraints_height_get", (PyCFunction
)_wrap_LayoutConstraints_height_get
, METH_O
, NULL
},
53793 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
)_wrap_LayoutConstraints_centreX_get
, METH_O
, NULL
},
53794 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
)_wrap_LayoutConstraints_centreY_get
, METH_O
, NULL
},
53795 { (char *)"new_LayoutConstraints", (PyCFunction
)_wrap_new_LayoutConstraints
, METH_NOARGS
, NULL
},
53796 { (char *)"delete_LayoutConstraints", (PyCFunction
)_wrap_delete_LayoutConstraints
, METH_O
, NULL
},
53797 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53798 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
)_wrap_LayoutConstraints_AreSatisfied
, METH_O
, NULL
},
53799 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
53800 { (char *)"LayoutConstraints_swiginit", LayoutConstraints_swiginit
, METH_VARARGS
, NULL
},
53801 { NULL
, NULL
, 0, NULL
}
53805 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
53807 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
53808 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
53810 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
53811 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
53813 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
53814 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
53816 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
53817 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
53819 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
53820 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
53822 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
53823 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
53825 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
53826 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
53828 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
53829 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
53831 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
53832 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
53834 static void *_p_wxStdDialogButtonSizerTo_p_wxBoxSizer(void *x
) {
53835 return (void *)((wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
53837 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
53838 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
53840 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
53841 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
53843 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
53844 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
53846 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
53847 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
53849 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
53850 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
53852 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
53853 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
53855 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
53856 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
53858 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
53859 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
53861 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
53862 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
53864 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
53865 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
53867 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
53868 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
53870 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
53871 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
53873 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
53874 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
53876 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
53877 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
53879 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
53880 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
53882 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
53883 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
53885 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
53886 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
53888 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
53889 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
53891 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
53892 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
53894 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
53895 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
53897 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
53898 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
53900 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
53901 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
53903 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
53904 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
53906 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
53907 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
53909 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
53910 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
53912 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
53913 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
53915 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
53916 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
53918 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
53919 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
53921 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
53922 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
53924 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
53925 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
53927 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
53928 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
53930 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
53931 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
53933 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
53934 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
53936 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
53937 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
53939 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
53940 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
53942 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
53943 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
53945 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
53946 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
53948 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
53949 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
53951 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
53952 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
53954 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
53955 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
53957 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
53958 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
53960 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
53961 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
53963 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
53964 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
53966 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
53967 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
53969 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
53970 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
53972 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
53973 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
53975 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
53976 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
53978 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
53979 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
53981 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
53982 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
53984 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
53985 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
53987 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
53988 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
53990 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
53991 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
53993 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
53994 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
53996 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
53997 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
53999 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
54000 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
54002 static void *_p_wxPyImageHandlerTo_p_wxImageHandler(void *x
) {
54003 return (void *)((wxImageHandler
*) ((wxPyImageHandler
*) x
));
54005 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
54006 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
54008 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
54009 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
54011 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
54012 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
54014 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
54015 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
54017 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
54018 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
54020 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
54021 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
54023 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
54024 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
54026 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
54027 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
54029 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
54030 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
54032 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
54033 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
54035 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
54036 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
54038 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
54039 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
54041 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
54042 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
54044 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
54045 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
54047 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
54048 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
54050 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
54051 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
54053 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
54054 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
54056 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
54057 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
54059 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
54060 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
54062 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
54063 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
54065 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
54066 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
54068 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
54069 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
54071 static void *_p_wxSizerTo_p_wxObject(void *x
) {
54072 return (void *)((wxObject
*) ((wxSizer
*) x
));
54074 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
54075 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
54077 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
54078 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
54080 static void *_p_wxEventTo_p_wxObject(void *x
) {
54081 return (void *)((wxObject
*) ((wxEvent
*) x
));
54083 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
54084 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
54086 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
54087 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
54089 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
54090 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
54092 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
54093 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
54095 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
54096 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
54098 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
54099 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
54101 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
54102 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
54104 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
54105 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
54107 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
54108 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
54110 static void *_p_wxControlTo_p_wxObject(void *x
) {
54111 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
54113 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
54114 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
54116 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
54117 return (void *)((wxObject
*) ((wxFSFile
*) x
));
54119 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
54120 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
54122 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
54123 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
54125 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
54126 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
54128 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
54129 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
54131 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
54132 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
54134 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
54135 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
54137 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
54138 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
54140 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
54141 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
54143 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
54144 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
54146 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
54147 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
54149 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
54150 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
54152 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
54153 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
54155 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
54156 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
54158 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
54159 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
54161 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
54162 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
54164 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
54165 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
54167 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
54168 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
54170 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
54171 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
54173 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
54174 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
54176 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
54177 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
54179 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
54180 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
54182 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
54183 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
54185 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
54186 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
54188 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
54189 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
54191 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
54192 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
54194 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
54195 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
54197 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
54198 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
54200 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
54201 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
54203 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
54204 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
54206 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
54207 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
54209 static void *_p_wxImageTo_p_wxObject(void *x
) {
54210 return (void *)((wxObject
*) ((wxImage
*) x
));
54212 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
54213 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
54215 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
54216 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
54218 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
54219 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
54221 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
54222 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
54224 static void *_p_wxWindowTo_p_wxObject(void *x
) {
54225 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
54227 static void *_p_wxMenuTo_p_wxObject(void *x
) {
54228 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
54230 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
54231 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
54233 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
54234 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
54236 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
54237 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
54239 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
54240 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
54242 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
54243 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
54245 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
54246 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
54248 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
54249 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
54251 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
54252 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
54254 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
54255 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
54257 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
54258 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
54260 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
54261 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
54263 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
54264 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
54266 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
54267 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
54269 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
54270 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
54272 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
54273 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
54275 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
54276 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
54278 static void *_p_wxControlTo_p_wxWindow(void *x
) {
54279 return (void *)((wxWindow
*) ((wxControl
*) x
));
54281 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
54282 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
54284 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
54285 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
54287 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
54288 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
54290 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
54291 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
54293 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
54294 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
54296 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
54297 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
54299 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
54300 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
54302 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
54303 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
54305 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
54306 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
54308 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
54309 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
54311 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
54312 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
54314 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
54315 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
54317 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
54318 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
54319 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};
54320 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
54321 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
54322 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
54323 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
54324 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
54325 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", "wxANIHandler *", 0, 0, (void*)0, 0};
54326 static swig_type_info _swigt__p_wxAcceleratorEntry
= {"_p_wxAcceleratorEntry", "wxAcceleratorEntry *", 0, 0, (void*)0, 0};
54327 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", "wxAcceleratorTable *", 0, 0, (void*)0, 0};
54328 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", "wxActivateEvent *", 0, 0, (void*)0, 0};
54329 static swig_type_info _swigt__p_wxAppTraits
= {"_p_wxAppTraits", "wxAppTraits *", 0, 0, (void*)0, 0};
54330 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
54331 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", "wxBMPHandler *", 0, 0, (void*)0, 0};
54332 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
54333 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", "wxBoxSizer *", 0, 0, (void*)0, 0};
54334 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
54335 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", "wxCURHandler *", 0, 0, (void*)0, 0};
54336 static swig_type_info _swigt__p_wxCaret
= {"_p_wxCaret", "wxCaret *", 0, 0, (void*)0, 0};
54337 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", "wxChildFocusEvent *", 0, 0, (void*)0, 0};
54338 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", "wxCloseEvent *", 0, 0, (void*)0, 0};
54339 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
54340 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
54341 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", "wxContextMenuEvent *", 0, 0, (void*)0, 0};
54342 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
54343 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
54344 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
54345 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
54346 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", "wxDateEvent *", 0, 0, (void*)0, 0};
54347 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
54348 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", "wxDisplayChangedEvent *", 0, 0, (void*)0, 0};
54349 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", "wxDropFilesEvent *", 0, 0, (void*)0, 0};
54350 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
54351 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", "wxEraseEvent *", 0, 0, (void*)0, 0};
54352 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
54353 static swig_type_info _swigt__p_wxEventLoop
= {"_p_wxEventLoop", "wxEventLoop *", 0, 0, (void*)0, 0};
54354 static swig_type_info _swigt__p_wxEventLoopActivator
= {"_p_wxEventLoopActivator", "wxEventLoopActivator *", 0, 0, (void*)0, 0};
54355 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
54356 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", "wxFSFile *", 0, 0, (void*)0, 0};
54357 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
54358 static swig_type_info _swigt__p_wxFileSystemHandler
= {"_p_wxFileSystemHandler", "wxFileSystemHandler *", 0, 0, (void*)0, 0};
54359 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", "wxFlexGridSizer *", 0, 0, (void*)0, 0};
54360 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", "wxFocusEvent *", 0, 0, (void*)0, 0};
54361 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
54362 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
54363 static swig_type_info _swigt__p_wxGBPosition
= {"_p_wxGBPosition", "wxGBPosition *", 0, 0, (void*)0, 0};
54364 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", "wxGBSizerItem *", 0, 0, (void*)0, 0};
54365 static swig_type_info _swigt__p_wxGBSpan
= {"_p_wxGBSpan", "wxGBSpan *", 0, 0, (void*)0, 0};
54366 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", "wxGIFHandler *", 0, 0, (void*)0, 0};
54367 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", "wxGridBagSizer *", 0, 0, (void*)0, 0};
54368 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", "wxGridSizer *", 0, 0, (void*)0, 0};
54369 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", "wxICOHandler *", 0, 0, (void*)0, 0};
54370 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", "wxIconizeEvent *", 0, 0, (void*)0, 0};
54371 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", "wxIdleEvent *", 0, 0, (void*)0, 0};
54372 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
54373 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", "wxImageHandler *", 0, 0, (void*)0, 0};
54374 static swig_type_info _swigt__p_wxImageHistogram
= {"_p_wxImageHistogram", "wxImageHistogram *", 0, 0, (void*)0, 0};
54375 static swig_type_info _swigt__p_wxImage_HSVValue
= {"_p_wxImage_HSVValue", "wxImage_HSVValue *", 0, 0, (void*)0, 0};
54376 static swig_type_info _swigt__p_wxImage_RGBValue
= {"_p_wxImage_RGBValue", "wxImage_RGBValue *", 0, 0, (void*)0, 0};
54377 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", "wxIndividualLayoutConstraint *", 0, 0, (void*)0, 0};
54378 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", "wxInitDialogEvent *", 0, 0, (void*)0, 0};
54379 static swig_type_info _swigt__p_wxInputStream
= {"_p_wxInputStream", "wxInputStream *", 0, 0, (void*)0, 0};
54380 static swig_type_info _swigt__p_wxInternetFSHandler
= {"_p_wxInternetFSHandler", "wxInternetFSHandler *", 0, 0, (void*)0, 0};
54381 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
54382 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", "wxJPEGHandler *", 0, 0, (void*)0, 0};
54383 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
54384 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", "wxLayoutConstraints *", 0, 0, (void*)0, 0};
54385 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", "wxMaximizeEvent *", 0, 0, (void*)0, 0};
54386 static swig_type_info _swigt__p_wxMemoryFSHandler
= {"_p_wxMemoryFSHandler", "wxMemoryFSHandler *", 0, 0, (void*)0, 0};
54387 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
54388 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
54389 static swig_type_info _swigt__p_wxMenuBarBase
= {"_p_wxMenuBarBase", "wxMenuBarBase *", 0, 0, (void*)0, 0};
54390 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", "wxMenuEvent *", 0, 0, (void*)0, 0};
54391 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", "wxMenuItem *", 0, 0, (void*)0, 0};
54392 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", "wxMouseCaptureChangedEvent *", 0, 0, (void*)0, 0};
54393 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
54394 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", "wxMoveEvent *", 0, 0, (void*)0, 0};
54395 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", "wxNavigationKeyEvent *", 0, 0, (void*)0, 0};
54396 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", "wxNcPaintEvent *", 0, 0, (void*)0, 0};
54397 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
54398 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
54399 static swig_type_info _swigt__p_wxOutputStream
= {"_p_wxOutputStream", "wxOutputStream *", 0, 0, (void*)0, 0};
54400 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", "wxPCXHandler *", 0, 0, (void*)0, 0};
54401 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", "wxPNGHandler *", 0, 0, (void*)0, 0};
54402 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", "wxPNMHandler *", 0, 0, (void*)0, 0};
54403 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", "wxPaintEvent *", 0, 0, (void*)0, 0};
54404 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", "wxPaletteChangedEvent *", 0, 0, (void*)0, 0};
54405 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
54406 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
54407 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
54408 static swig_type_info _swigt__p_wxPropagateOnce
= {"_p_wxPropagateOnce", "wxPropagateOnce *", 0, 0, (void*)0, 0};
54409 static swig_type_info _swigt__p_wxPropagationDisabler
= {"_p_wxPropagationDisabler", "wxPropagationDisabler *", 0, 0, (void*)0, 0};
54410 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", "wxPyApp *", 0, 0, (void*)0, 0};
54411 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", "wxPyCommandEvent *", 0, 0, (void*)0, 0};
54412 static swig_type_info _swigt__p_wxPyDropTarget
= {"_p_wxPyDropTarget", "wxPyDropTarget *", 0, 0, (void*)0, 0};
54413 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", "wxPyEvent *", 0, 0, (void*)0, 0};
54414 static swig_type_info _swigt__p_wxPyFileSystemHandler
= {"_p_wxPyFileSystemHandler", "wxPyFileSystemHandler *", 0, 0, (void*)0, 0};
54415 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", "wxPyImageHandler *", 0, 0, (void*)0, 0};
54416 static swig_type_info _swigt__p_wxPyInputStream
= {"_p_wxPyInputStream", "wxPyInputStream *", 0, 0, (void*)0, 0};
54417 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", "wxPySizer *", 0, 0, (void*)0, 0};
54418 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", "wxPyValidator *", 0, 0, (void*)0, 0};
54419 static swig_type_info _swigt__p_wxQuantize
= {"_p_wxQuantize", "wxQuantize *", 0, 0, (void*)0, 0};
54420 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", "wxQueryNewPaletteEvent *", 0, 0, (void*)0, 0};
54421 static swig_type_info _swigt__p_wxRealPoint
= {"_p_wxRealPoint", "wxRealPoint *", 0, 0, (void*)0, 0};
54422 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
54423 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
54424 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", "wxScrollEvent *", 0, 0, (void*)0, 0};
54425 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
54426 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", "wxSetCursorEvent *", 0, 0, (void*)0, 0};
54427 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", "wxShowEvent *", 0, 0, (void*)0, 0};
54428 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
54429 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", "wxSizeEvent *", 0, 0, (void*)0, 0};
54430 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", "wxSizer *", 0, 0, (void*)0, 0};
54431 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", "wxSizerItem *", 0, 0, (void*)0, 0};
54432 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
54433 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", "wxStaticBoxSizer *", 0, 0, (void*)0, 0};
54434 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
54435 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", "wxSysColourChangedEvent *", 0, 0, (void*)0, 0};
54436 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", "wxTIFFHandler *", 0, 0, (void*)0, 0};
54437 static swig_type_info _swigt__p_wxToolTip
= {"_p_wxToolTip", "wxToolTip *", 0, 0, (void*)0, 0};
54438 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", "wxUpdateUIEvent *", 0, 0, (void*)0, 0};
54439 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
54440 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
54441 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
54442 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", "wxWindowCreateEvent *", 0, 0, (void*)0, 0};
54443 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", "wxWindowDestroyEvent *", 0, 0, (void*)0, 0};
54444 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", "wxXPMHandler *", 0, 0, (void*)0, 0};
54445 static swig_type_info _swigt__p_wxZipFSHandler
= {"_p_wxZipFSHandler", "wxZipFSHandler *", 0, 0, (void*)0, 0};
54447 static swig_type_info
*swig_type_initial
[] = {
54450 &_swigt__p_form_ops_t
,
54453 &_swigt__p_unsigned_char
,
54454 &_swigt__p_unsigned_int
,
54455 &_swigt__p_unsigned_long
,
54456 &_swigt__p_wxANIHandler
,
54457 &_swigt__p_wxAcceleratorEntry
,
54458 &_swigt__p_wxAcceleratorTable
,
54459 &_swigt__p_wxActivateEvent
,
54460 &_swigt__p_wxAppTraits
,
54461 &_swigt__p_wxArrayString
,
54462 &_swigt__p_wxBMPHandler
,
54463 &_swigt__p_wxBitmap
,
54464 &_swigt__p_wxBoxSizer
,
54465 &_swigt__p_wxButton
,
54466 &_swigt__p_wxCURHandler
,
54467 &_swigt__p_wxCaret
,
54468 &_swigt__p_wxChildFocusEvent
,
54469 &_swigt__p_wxCloseEvent
,
54470 &_swigt__p_wxColour
,
54471 &_swigt__p_wxCommandEvent
,
54472 &_swigt__p_wxContextMenuEvent
,
54473 &_swigt__p_wxControl
,
54474 &_swigt__p_wxControlWithItems
,
54475 &_swigt__p_wxCursor
,
54477 &_swigt__p_wxDateEvent
,
54478 &_swigt__p_wxDateTime
,
54479 &_swigt__p_wxDisplayChangedEvent
,
54480 &_swigt__p_wxDropFilesEvent
,
54481 &_swigt__p_wxDuplexMode
,
54482 &_swigt__p_wxEraseEvent
,
54483 &_swigt__p_wxEvent
,
54484 &_swigt__p_wxEventLoop
,
54485 &_swigt__p_wxEventLoopActivator
,
54486 &_swigt__p_wxEvtHandler
,
54487 &_swigt__p_wxFSFile
,
54488 &_swigt__p_wxFileSystem
,
54489 &_swigt__p_wxFileSystemHandler
,
54490 &_swigt__p_wxFlexGridSizer
,
54491 &_swigt__p_wxFocusEvent
,
54493 &_swigt__p_wxFrame
,
54494 &_swigt__p_wxGBPosition
,
54495 &_swigt__p_wxGBSizerItem
,
54496 &_swigt__p_wxGBSpan
,
54497 &_swigt__p_wxGIFHandler
,
54498 &_swigt__p_wxGridBagSizer
,
54499 &_swigt__p_wxGridSizer
,
54500 &_swigt__p_wxICOHandler
,
54501 &_swigt__p_wxIconizeEvent
,
54502 &_swigt__p_wxIdleEvent
,
54503 &_swigt__p_wxImage
,
54504 &_swigt__p_wxImageHandler
,
54505 &_swigt__p_wxImageHistogram
,
54506 &_swigt__p_wxImage_HSVValue
,
54507 &_swigt__p_wxImage_RGBValue
,
54508 &_swigt__p_wxIndividualLayoutConstraint
,
54509 &_swigt__p_wxInitDialogEvent
,
54510 &_swigt__p_wxInputStream
,
54511 &_swigt__p_wxInternetFSHandler
,
54512 &_swigt__p_wxItemContainer
,
54513 &_swigt__p_wxJPEGHandler
,
54514 &_swigt__p_wxKeyEvent
,
54515 &_swigt__p_wxLayoutConstraints
,
54516 &_swigt__p_wxMaximizeEvent
,
54517 &_swigt__p_wxMemoryFSHandler
,
54519 &_swigt__p_wxMenuBar
,
54520 &_swigt__p_wxMenuBarBase
,
54521 &_swigt__p_wxMenuEvent
,
54522 &_swigt__p_wxMenuItem
,
54523 &_swigt__p_wxMouseCaptureChangedEvent
,
54524 &_swigt__p_wxMouseEvent
,
54525 &_swigt__p_wxMoveEvent
,
54526 &_swigt__p_wxNavigationKeyEvent
,
54527 &_swigt__p_wxNcPaintEvent
,
54528 &_swigt__p_wxNotifyEvent
,
54529 &_swigt__p_wxObject
,
54530 &_swigt__p_wxOutputStream
,
54531 &_swigt__p_wxPCXHandler
,
54532 &_swigt__p_wxPNGHandler
,
54533 &_swigt__p_wxPNMHandler
,
54534 &_swigt__p_wxPaintEvent
,
54535 &_swigt__p_wxPaletteChangedEvent
,
54536 &_swigt__p_wxPaperSize
,
54537 &_swigt__p_wxPoint
,
54538 &_swigt__p_wxPoint2D
,
54539 &_swigt__p_wxPropagateOnce
,
54540 &_swigt__p_wxPropagationDisabler
,
54541 &_swigt__p_wxPyApp
,
54542 &_swigt__p_wxPyCommandEvent
,
54543 &_swigt__p_wxPyDropTarget
,
54544 &_swigt__p_wxPyEvent
,
54545 &_swigt__p_wxPyFileSystemHandler
,
54546 &_swigt__p_wxPyImageHandler
,
54547 &_swigt__p_wxPyInputStream
,
54548 &_swigt__p_wxPySizer
,
54549 &_swigt__p_wxPyValidator
,
54550 &_swigt__p_wxQuantize
,
54551 &_swigt__p_wxQueryNewPaletteEvent
,
54552 &_swigt__p_wxRealPoint
,
54554 &_swigt__p_wxRegion
,
54555 &_swigt__p_wxScrollEvent
,
54556 &_swigt__p_wxScrollWinEvent
,
54557 &_swigt__p_wxSetCursorEvent
,
54558 &_swigt__p_wxShowEvent
,
54560 &_swigt__p_wxSizeEvent
,
54561 &_swigt__p_wxSizer
,
54562 &_swigt__p_wxSizerItem
,
54563 &_swigt__p_wxStaticBox
,
54564 &_swigt__p_wxStaticBoxSizer
,
54565 &_swigt__p_wxStdDialogButtonSizer
,
54566 &_swigt__p_wxSysColourChangedEvent
,
54567 &_swigt__p_wxTIFFHandler
,
54568 &_swigt__p_wxToolTip
,
54569 &_swigt__p_wxUpdateUIEvent
,
54570 &_swigt__p_wxValidator
,
54571 &_swigt__p_wxVisualAttributes
,
54572 &_swigt__p_wxWindow
,
54573 &_swigt__p_wxWindowCreateEvent
,
54574 &_swigt__p_wxWindowDestroyEvent
,
54575 &_swigt__p_wxXPMHandler
,
54576 &_swigt__p_wxZipFSHandler
,
54579 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
54580 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
54581 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
54582 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
54583 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
54584 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
54585 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
54586 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
54587 static swig_cast_info _swigc__p_wxANIHandler
[] = { {&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
54588 static swig_cast_info _swigc__p_wxAcceleratorEntry
[] = { {&_swigt__p_wxAcceleratorEntry
, 0, 0, 0},{0, 0, 0, 0}};
54589 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = { {&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
54590 static swig_cast_info _swigc__p_wxActivateEvent
[] = { {&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
54591 static swig_cast_info _swigc__p_wxAppTraits
[] = { {&_swigt__p_wxAppTraits
, 0, 0, 0},{0, 0, 0, 0}};
54592 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
54593 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}};
54594 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
54595 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}};
54596 static swig_cast_info _swigc__p_wxButton
[] = { {&_swigt__p_wxButton
, 0, 0, 0},{0, 0, 0, 0}};
54597 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}};
54598 static swig_cast_info _swigc__p_wxCaret
[] = { {&_swigt__p_wxCaret
, 0, 0, 0},{0, 0, 0, 0}};
54599 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = { {&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
54600 static swig_cast_info _swigc__p_wxCloseEvent
[] = { {&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
54601 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
54602 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}};
54603 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = { {&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
54604 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}};
54605 static swig_cast_info _swigc__p_wxControlWithItems
[] = { {&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
54606 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
54607 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
54608 static swig_cast_info _swigc__p_wxDateEvent
[] = { {&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
54609 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
54610 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = { {&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
54611 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = { {&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
54612 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
54613 static swig_cast_info _swigc__p_wxEraseEvent
[] = { {&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
54614 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}};
54615 static swig_cast_info _swigc__p_wxEventLoop
[] = { {&_swigt__p_wxEventLoop
, 0, 0, 0},{0, 0, 0, 0}};
54616 static swig_cast_info _swigc__p_wxEventLoopActivator
[] = { {&_swigt__p_wxEventLoopActivator
, 0, 0, 0},{0, 0, 0, 0}};
54617 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}};
54618 static swig_cast_info _swigc__p_wxFSFile
[] = { {&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
54619 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
54620 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}};
54621 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}};
54622 static swig_cast_info _swigc__p_wxFocusEvent
[] = { {&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
54623 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
54624 static swig_cast_info _swigc__p_wxFrame
[] = { {&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}};
54625 static swig_cast_info _swigc__p_wxGBPosition
[] = { {&_swigt__p_wxGBPosition
, 0, 0, 0},{0, 0, 0, 0}};
54626 static swig_cast_info _swigc__p_wxGBSizerItem
[] = { {&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
54627 static swig_cast_info _swigc__p_wxGBSpan
[] = { {&_swigt__p_wxGBSpan
, 0, 0, 0},{0, 0, 0, 0}};
54628 static swig_cast_info _swigc__p_wxGIFHandler
[] = { {&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
54629 static swig_cast_info _swigc__p_wxGridBagSizer
[] = { {&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
54630 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}};
54631 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}};
54632 static swig_cast_info _swigc__p_wxIconizeEvent
[] = { {&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
54633 static swig_cast_info _swigc__p_wxIdleEvent
[] = { {&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
54634 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
54635 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}};
54636 static swig_cast_info _swigc__p_wxImageHistogram
[] = { {&_swigt__p_wxImageHistogram
, 0, 0, 0},{0, 0, 0, 0}};
54637 static swig_cast_info _swigc__p_wxImage_HSVValue
[] = { {&_swigt__p_wxImage_HSVValue
, 0, 0, 0},{0, 0, 0, 0}};
54638 static swig_cast_info _swigc__p_wxImage_RGBValue
[] = { {&_swigt__p_wxImage_RGBValue
, 0, 0, 0},{0, 0, 0, 0}};
54639 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = { {&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
54640 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = { {&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
54641 static swig_cast_info _swigc__p_wxInputStream
[] = { {&_swigt__p_wxInputStream
, 0, 0, 0},{0, 0, 0, 0}};
54642 static swig_cast_info _swigc__p_wxInternetFSHandler
[] = { {&_swigt__p_wxInternetFSHandler
, 0, 0, 0},{0, 0, 0, 0}};
54643 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}};
54644 static swig_cast_info _swigc__p_wxJPEGHandler
[] = { {&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
54645 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
54646 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = { {&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
54647 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = { {&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
54648 static swig_cast_info _swigc__p_wxMemoryFSHandler
[] = { {&_swigt__p_wxMemoryFSHandler
, 0, 0, 0},{0, 0, 0, 0}};
54649 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
54650 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
54651 static swig_cast_info _swigc__p_wxMenuBarBase
[] = { {&_swigt__p_wxMenuBarBase
, 0, 0, 0},{0, 0, 0, 0}};
54652 static swig_cast_info _swigc__p_wxMenuEvent
[] = { {&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
54653 static swig_cast_info _swigc__p_wxMenuItem
[] = { {&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
54654 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = { {&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
54655 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
54656 static swig_cast_info _swigc__p_wxMoveEvent
[] = { {&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
54657 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = { {&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
54658 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = { {&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
54659 static swig_cast_info _swigc__p_wxNotifyEvent
[] = { {&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
54660 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}};
54661 static swig_cast_info _swigc__p_wxOutputStream
[] = { {&_swigt__p_wxOutputStream
, 0, 0, 0},{0, 0, 0, 0}};
54662 static swig_cast_info _swigc__p_wxPCXHandler
[] = { {&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
54663 static swig_cast_info _swigc__p_wxPNGHandler
[] = { {&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
54664 static swig_cast_info _swigc__p_wxPNMHandler
[] = { {&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
54665 static swig_cast_info _swigc__p_wxPaintEvent
[] = { {&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
54666 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = { {&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
54667 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
54668 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
54669 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
54670 static swig_cast_info _swigc__p_wxPropagateOnce
[] = { {&_swigt__p_wxPropagateOnce
, 0, 0, 0},{0, 0, 0, 0}};
54671 static swig_cast_info _swigc__p_wxPropagationDisabler
[] = { {&_swigt__p_wxPropagationDisabler
, 0, 0, 0},{0, 0, 0, 0}};
54672 static swig_cast_info _swigc__p_wxPyApp
[] = { {&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
54673 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = { {&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
54674 static swig_cast_info _swigc__p_wxPyDropTarget
[] = { {&_swigt__p_wxPyDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
54675 static swig_cast_info _swigc__p_wxPyEvent
[] = { {&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
54676 static swig_cast_info _swigc__p_wxPyFileSystemHandler
[] = { {&_swigt__p_wxPyFileSystemHandler
, 0, 0, 0},{0, 0, 0, 0}};
54677 static swig_cast_info _swigc__p_wxPyImageHandler
[] = { {&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
54678 static swig_cast_info _swigc__p_wxPyInputStream
[] = { {&_swigt__p_wxPyInputStream
, 0, 0, 0},{0, 0, 0, 0}};
54679 static swig_cast_info _swigc__p_wxPySizer
[] = { {&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
54680 static swig_cast_info _swigc__p_wxPyValidator
[] = { {&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
54681 static swig_cast_info _swigc__p_wxQuantize
[] = { {&_swigt__p_wxQuantize
, 0, 0, 0},{0, 0, 0, 0}};
54682 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = { {&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
54683 static swig_cast_info _swigc__p_wxRealPoint
[] = { {&_swigt__p_wxRealPoint
, 0, 0, 0},{0, 0, 0, 0}};
54684 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
54685 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
54686 static swig_cast_info _swigc__p_wxScrollEvent
[] = { {&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
54687 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
54688 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = { {&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
54689 static swig_cast_info _swigc__p_wxShowEvent
[] = { {&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
54690 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
54691 static swig_cast_info _swigc__p_wxSizeEvent
[] = { {&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
54692 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}};
54693 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}};
54694 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
54695 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = { {&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
54696 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
54697 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = { {&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
54698 static swig_cast_info _swigc__p_wxTIFFHandler
[] = { {&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
54699 static swig_cast_info _swigc__p_wxToolTip
[] = { {&_swigt__p_wxToolTip
, 0, 0, 0},{0, 0, 0, 0}};
54700 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = { {&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
54701 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}};
54702 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
54703 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}};
54704 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = { {&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
54705 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = { {&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
54706 static swig_cast_info _swigc__p_wxXPMHandler
[] = { {&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
54707 static swig_cast_info _swigc__p_wxZipFSHandler
[] = { {&_swigt__p_wxZipFSHandler
, 0, 0, 0},{0, 0, 0, 0}};
54709 static swig_cast_info
*swig_cast_initial
[] = {
54712 _swigc__p_form_ops_t
,
54715 _swigc__p_unsigned_char
,
54716 _swigc__p_unsigned_int
,
54717 _swigc__p_unsigned_long
,
54718 _swigc__p_wxANIHandler
,
54719 _swigc__p_wxAcceleratorEntry
,
54720 _swigc__p_wxAcceleratorTable
,
54721 _swigc__p_wxActivateEvent
,
54722 _swigc__p_wxAppTraits
,
54723 _swigc__p_wxArrayString
,
54724 _swigc__p_wxBMPHandler
,
54725 _swigc__p_wxBitmap
,
54726 _swigc__p_wxBoxSizer
,
54727 _swigc__p_wxButton
,
54728 _swigc__p_wxCURHandler
,
54730 _swigc__p_wxChildFocusEvent
,
54731 _swigc__p_wxCloseEvent
,
54732 _swigc__p_wxColour
,
54733 _swigc__p_wxCommandEvent
,
54734 _swigc__p_wxContextMenuEvent
,
54735 _swigc__p_wxControl
,
54736 _swigc__p_wxControlWithItems
,
54737 _swigc__p_wxCursor
,
54739 _swigc__p_wxDateEvent
,
54740 _swigc__p_wxDateTime
,
54741 _swigc__p_wxDisplayChangedEvent
,
54742 _swigc__p_wxDropFilesEvent
,
54743 _swigc__p_wxDuplexMode
,
54744 _swigc__p_wxEraseEvent
,
54746 _swigc__p_wxEventLoop
,
54747 _swigc__p_wxEventLoopActivator
,
54748 _swigc__p_wxEvtHandler
,
54749 _swigc__p_wxFSFile
,
54750 _swigc__p_wxFileSystem
,
54751 _swigc__p_wxFileSystemHandler
,
54752 _swigc__p_wxFlexGridSizer
,
54753 _swigc__p_wxFocusEvent
,
54756 _swigc__p_wxGBPosition
,
54757 _swigc__p_wxGBSizerItem
,
54758 _swigc__p_wxGBSpan
,
54759 _swigc__p_wxGIFHandler
,
54760 _swigc__p_wxGridBagSizer
,
54761 _swigc__p_wxGridSizer
,
54762 _swigc__p_wxICOHandler
,
54763 _swigc__p_wxIconizeEvent
,
54764 _swigc__p_wxIdleEvent
,
54766 _swigc__p_wxImageHandler
,
54767 _swigc__p_wxImageHistogram
,
54768 _swigc__p_wxImage_HSVValue
,
54769 _swigc__p_wxImage_RGBValue
,
54770 _swigc__p_wxIndividualLayoutConstraint
,
54771 _swigc__p_wxInitDialogEvent
,
54772 _swigc__p_wxInputStream
,
54773 _swigc__p_wxInternetFSHandler
,
54774 _swigc__p_wxItemContainer
,
54775 _swigc__p_wxJPEGHandler
,
54776 _swigc__p_wxKeyEvent
,
54777 _swigc__p_wxLayoutConstraints
,
54778 _swigc__p_wxMaximizeEvent
,
54779 _swigc__p_wxMemoryFSHandler
,
54781 _swigc__p_wxMenuBar
,
54782 _swigc__p_wxMenuBarBase
,
54783 _swigc__p_wxMenuEvent
,
54784 _swigc__p_wxMenuItem
,
54785 _swigc__p_wxMouseCaptureChangedEvent
,
54786 _swigc__p_wxMouseEvent
,
54787 _swigc__p_wxMoveEvent
,
54788 _swigc__p_wxNavigationKeyEvent
,
54789 _swigc__p_wxNcPaintEvent
,
54790 _swigc__p_wxNotifyEvent
,
54791 _swigc__p_wxObject
,
54792 _swigc__p_wxOutputStream
,
54793 _swigc__p_wxPCXHandler
,
54794 _swigc__p_wxPNGHandler
,
54795 _swigc__p_wxPNMHandler
,
54796 _swigc__p_wxPaintEvent
,
54797 _swigc__p_wxPaletteChangedEvent
,
54798 _swigc__p_wxPaperSize
,
54800 _swigc__p_wxPoint2D
,
54801 _swigc__p_wxPropagateOnce
,
54802 _swigc__p_wxPropagationDisabler
,
54804 _swigc__p_wxPyCommandEvent
,
54805 _swigc__p_wxPyDropTarget
,
54806 _swigc__p_wxPyEvent
,
54807 _swigc__p_wxPyFileSystemHandler
,
54808 _swigc__p_wxPyImageHandler
,
54809 _swigc__p_wxPyInputStream
,
54810 _swigc__p_wxPySizer
,
54811 _swigc__p_wxPyValidator
,
54812 _swigc__p_wxQuantize
,
54813 _swigc__p_wxQueryNewPaletteEvent
,
54814 _swigc__p_wxRealPoint
,
54816 _swigc__p_wxRegion
,
54817 _swigc__p_wxScrollEvent
,
54818 _swigc__p_wxScrollWinEvent
,
54819 _swigc__p_wxSetCursorEvent
,
54820 _swigc__p_wxShowEvent
,
54822 _swigc__p_wxSizeEvent
,
54824 _swigc__p_wxSizerItem
,
54825 _swigc__p_wxStaticBox
,
54826 _swigc__p_wxStaticBoxSizer
,
54827 _swigc__p_wxStdDialogButtonSizer
,
54828 _swigc__p_wxSysColourChangedEvent
,
54829 _swigc__p_wxTIFFHandler
,
54830 _swigc__p_wxToolTip
,
54831 _swigc__p_wxUpdateUIEvent
,
54832 _swigc__p_wxValidator
,
54833 _swigc__p_wxVisualAttributes
,
54834 _swigc__p_wxWindow
,
54835 _swigc__p_wxWindowCreateEvent
,
54836 _swigc__p_wxWindowDestroyEvent
,
54837 _swigc__p_wxXPMHandler
,
54838 _swigc__p_wxZipFSHandler
,
54842 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
54844 static swig_const_info swig_const_table
[] = {
54845 {0, 0, 0, 0.0, 0, 0}};
54850 /* -----------------------------------------------------------------------------
54851 * Type initialization:
54852 * This problem is tough by the requirement that no dynamic
54853 * memory is used. Also, since swig_type_info structures store pointers to
54854 * swig_cast_info structures and swig_cast_info structures store pointers back
54855 * to swig_type_info structures, we need some lookup code at initialization.
54856 * The idea is that swig generates all the structures that are needed.
54857 * The runtime then collects these partially filled structures.
54858 * The SWIG_InitializeModule function takes these initial arrays out of
54859 * swig_module, and does all the lookup, filling in the swig_module.types
54860 * array with the correct data and linking the correct swig_cast_info
54861 * structures together.
54863 * The generated swig_type_info structures are assigned staticly to an initial
54864 * array. We just loop though that array, and handle each type individually.
54865 * First we lookup if this type has been already loaded, and if so, use the
54866 * loaded structure instead of the generated one. Then we have to fill in the
54867 * cast linked list. The cast data is initially stored in something like a
54868 * two-dimensional array. Each row corresponds to a type (there are the same
54869 * number of rows as there are in the swig_type_initial array). Each entry in
54870 * a column is one of the swig_cast_info structures for that type.
54871 * The cast_initial array is actually an array of arrays, because each row has
54872 * a variable number of columns. So to actually build the cast linked list,
54873 * we find the array of casts associated with the type, and loop through it
54874 * adding the casts to the list. The one last trick we need to do is making
54875 * sure the type pointer in the swig_cast_info struct is correct.
54877 * First off, we lookup the cast->type name to see if it is already loaded.
54878 * There are three cases to handle:
54879 * 1) If the cast->type has already been loaded AND the type we are adding
54880 * casting info to has not been loaded (it is in this module), THEN we
54881 * replace the cast->type pointer with the type pointer that has already
54883 * 2) If BOTH types (the one we are adding casting info to, and the
54884 * cast->type) are loaded, THEN the cast info has already been loaded by
54885 * the previous module so we just ignore it.
54886 * 3) Finally, if cast->type has not already been loaded, then we add that
54887 * swig_cast_info to the linked list (because the cast->type) pointer will
54889 * ----------------------------------------------------------------------------- */
54899 #define SWIGRUNTIME_DEBUG
54903 SWIG_InitializeModule(void *clientdata
) {
54905 swig_module_info
*module_head
;
54906 static int init_run
= 0;
54908 clientdata
= clientdata
;
54910 if (init_run
) return;
54913 /* Initialize the swig_module */
54914 swig_module
.type_initial
= swig_type_initial
;
54915 swig_module
.cast_initial
= swig_cast_initial
;
54917 /* Try and load any already created modules */
54918 module_head
= SWIG_GetModule(clientdata
);
54920 swig_module
.next
= module_head
->next
;
54921 module_head
->next
= &swig_module
;
54923 /* This is the first module loaded */
54924 swig_module
.next
= &swig_module
;
54925 SWIG_SetModule(clientdata
, &swig_module
);
54928 /* Now work on filling in swig_module.types */
54929 #ifdef SWIGRUNTIME_DEBUG
54930 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
54932 for (i
= 0; i
< swig_module
.size
; ++i
) {
54933 swig_type_info
*type
= 0;
54934 swig_type_info
*ret
;
54935 swig_cast_info
*cast
;
54937 #ifdef SWIGRUNTIME_DEBUG
54938 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
54941 /* if there is another module already loaded */
54942 if (swig_module
.next
!= &swig_module
) {
54943 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
54946 /* Overwrite clientdata field */
54947 #ifdef SWIGRUNTIME_DEBUG
54948 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
54950 if (swig_module
.type_initial
[i
]->clientdata
) {
54951 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
54952 #ifdef SWIGRUNTIME_DEBUG
54953 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
54957 type
= swig_module
.type_initial
[i
];
54960 /* Insert casting types */
54961 cast
= swig_module
.cast_initial
[i
];
54962 while (cast
->type
) {
54963 /* Don't need to add information already in the list */
54965 #ifdef SWIGRUNTIME_DEBUG
54966 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
54968 if (swig_module
.next
!= &swig_module
) {
54969 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
54970 #ifdef SWIGRUNTIME_DEBUG
54971 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
54975 if (type
== swig_module
.type_initial
[i
]) {
54976 #ifdef SWIGRUNTIME_DEBUG
54977 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
54982 /* Check for casting already in the list */
54983 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
54984 #ifdef SWIGRUNTIME_DEBUG
54985 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
54987 if (!ocast
) ret
= 0;
54992 #ifdef SWIGRUNTIME_DEBUG
54993 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
54996 type
->cast
->prev
= cast
;
54997 cast
->next
= type
->cast
;
55003 /* Set entry in modules->types array equal to the type */
55004 swig_module
.types
[i
] = type
;
55006 swig_module
.types
[i
] = 0;
55008 #ifdef SWIGRUNTIME_DEBUG
55009 printf("**** SWIG_InitializeModule: Cast List ******\n");
55010 for (i
= 0; i
< swig_module
.size
; ++i
) {
55012 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
55013 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
55014 while (cast
->type
) {
55015 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
55019 printf("---- Total casts: %d\n",j
);
55021 printf("**** SWIG_InitializeModule: Cast List ******\n");
55025 /* This function will propagate the clientdata field of type to
55026 * any new swig_type_info structures that have been added into the list
55027 * of equivalent types. It is like calling
55028 * SWIG_TypeClientData(type, clientdata) a second time.
55031 SWIG_PropagateClientData(void) {
55033 swig_cast_info
*equiv
;
55034 static int init_run
= 0;
55036 if (init_run
) return;
55039 for (i
= 0; i
< swig_module
.size
; i
++) {
55040 if (swig_module
.types
[i
]->clientdata
) {
55041 equiv
= swig_module
.types
[i
]->cast
;
55043 if (!equiv
->converter
) {
55044 if (equiv
->type
&& !equiv
->type
->clientdata
)
55045 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
55047 equiv
= equiv
->next
;
55067 /* Python-specific SWIG API */
55068 #define SWIG_newvarlink() SWIG_Python_newvarlink()
55069 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
55070 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
55072 /* -----------------------------------------------------------------------------
55073 * global variable support code.
55074 * ----------------------------------------------------------------------------- */
55076 typedef struct swig_globalvar
{
55077 char *name
; /* Name of global variable */
55078 PyObject
*(*get_attr
)(void); /* Return the current value */
55079 int (*set_attr
)(PyObject
*); /* Set the value */
55080 struct swig_globalvar
*next
;
55083 typedef struct swig_varlinkobject
{
55085 swig_globalvar
*vars
;
55086 } swig_varlinkobject
;
55088 SWIGINTERN PyObject
*
55089 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
55090 return PyString_FromString("<Swig global variables>");
55093 SWIGINTERN PyObject
*
55094 swig_varlink_str(swig_varlinkobject
*v
) {
55095 PyObject
*str
= PyString_FromString("(");
55096 swig_globalvar
*var
;
55097 for (var
= v
->vars
; var
; var
=var
->next
) {
55098 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
55099 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
55101 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
55106 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
55107 PyObject
*str
= swig_varlink_str(v
);
55108 fprintf(fp
,"Swig global variables ");
55109 fprintf(fp
,"%s\n", PyString_AsString(str
));
55115 swig_varlink_dealloc(swig_varlinkobject
*v
) {
55116 swig_globalvar
*var
= v
->vars
;
55118 swig_globalvar
*n
= var
->next
;
55125 SWIGINTERN PyObject
*
55126 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
55127 PyObject
*res
= NULL
;
55128 swig_globalvar
*var
= v
->vars
;
55130 if (strcmp(var
->name
,n
) == 0) {
55131 res
= (*var
->get_attr
)();
55136 if (res
== NULL
&& !PyErr_Occurred()) {
55137 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
55143 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
55145 swig_globalvar
*var
= v
->vars
;
55147 if (strcmp(var
->name
,n
) == 0) {
55148 res
= (*var
->set_attr
)(p
);
55153 if (res
== 1 && !PyErr_Occurred()) {
55154 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
55159 SWIGINTERN PyTypeObject
*
55160 swig_varlink_type(void) {
55161 static char varlink__doc__
[] = "Swig var link object";
55162 static PyTypeObject varlink_type
;
55163 static int type_init
= 0;
55165 const PyTypeObject tmp
55167 PyObject_HEAD_INIT(NULL
)
55168 0, /* Number of items in variable part (ob_size) */
55169 (char *)"swigvarlink", /* Type name (tp_name) */
55170 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
55171 0, /* Itemsize (tp_itemsize) */
55172 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
55173 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
55174 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
55175 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
55176 0, /* tp_compare */
55177 (reprfunc
) swig_varlink_repr
, /* tp_repr */
55178 0, /* tp_as_number */
55179 0, /* tp_as_sequence */
55180 0, /* tp_as_mapping */
55183 (reprfunc
)swig_varlink_str
, /* tp_str */
55184 0, /* tp_getattro */
55185 0, /* tp_setattro */
55186 0, /* tp_as_buffer */
55188 varlink__doc__
, /* tp_doc */
55189 0, /* tp_traverse */
55191 0, /* tp_richcompare */
55192 0, /* tp_weaklistoffset */
55193 #if PY_VERSION_HEX >= 0x02020000
55194 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
55196 #if PY_VERSION_HEX >= 0x02030000
55199 #ifdef COUNT_ALLOCS
55200 0,0,0,0 /* tp_alloc -> tp_next */
55203 varlink_type
= tmp
;
55204 varlink_type
.ob_type
= &PyType_Type
;
55207 return &varlink_type
;
55210 /* Create a variable linking object for use later */
55211 SWIGINTERN PyObject
*
55212 SWIG_Python_newvarlink(void) {
55213 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
55217 return ((PyObject
*) result
);
55221 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
55222 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
55223 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
55225 size_t size
= strlen(name
)+1;
55226 gv
->name
= (char *)malloc(size
);
55228 strncpy(gv
->name
,name
,size
);
55229 gv
->get_attr
= get_attr
;
55230 gv
->set_attr
= set_attr
;
55231 gv
->next
= v
->vars
;
55237 SWIGINTERN PyObject
*
55239 static PyObject
*_SWIG_globals
= 0;
55240 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
55241 return _SWIG_globals
;
55244 /* -----------------------------------------------------------------------------
55245 * constants/methods manipulation
55246 * ----------------------------------------------------------------------------- */
55248 /* Install Constants */
55250 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
55253 for (i
= 0; constants
[i
].type
; ++i
) {
55254 switch(constants
[i
].type
) {
55255 case SWIG_PY_POINTER
:
55256 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
55258 case SWIG_PY_BINARY
:
55259 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
55266 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
55272 /* -----------------------------------------------------------------------------*/
55273 /* Fix SwigMethods to carry the callback ptrs when needed */
55274 /* -----------------------------------------------------------------------------*/
55277 SWIG_Python_FixMethods(PyMethodDef
*methods
,
55278 swig_const_info
*const_table
,
55279 swig_type_info
**types
,
55280 swig_type_info
**types_initial
) {
55282 for (i
= 0; methods
[i
].ml_name
; ++i
) {
55283 char *c
= methods
[i
].ml_doc
;
55284 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
55286 swig_const_info
*ci
= 0;
55287 char *name
= c
+ 10;
55288 for (j
= 0; const_table
[j
].type
; ++j
) {
55289 if (strncmp(const_table
[j
].name
, name
,
55290 strlen(const_table
[j
].name
)) == 0) {
55291 ci
= &(const_table
[j
]);
55296 size_t shift
= (ci
->ptype
) - types
;
55297 swig_type_info
*ty
= types_initial
[shift
];
55298 size_t ldoc
= (c
- methods
[i
].ml_doc
);
55299 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
55300 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
55303 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
55305 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
55307 strncpy(buff
, "swig_ptr: ", 10);
55309 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
55310 methods
[i
].ml_doc
= ndoc
;
55322 /* -----------------------------------------------------------------------------*
55323 * Partial Init method
55324 * -----------------------------------------------------------------------------*/
55329 SWIGEXPORT
void SWIG_init(void) {
55332 /* Fix SwigMethods to carry the callback ptrs when needed */
55333 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
55335 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
55336 d
= PyModule_GetDict(m
);
55338 SWIG_InitializeModule(0);
55339 SWIG_InstallConstants(d
,swig_const_table
);
55343 #ifndef wxPyUSE_EXPORT
55344 // Make our API structure a CObject so other modules can import it
55345 // from this module.
55346 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
55347 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
55351 SWIG_Python_SetConstant(d
, "NOT_FOUND",SWIG_From_int(static_cast< int >(wxNOT_FOUND
)));
55352 SWIG_Python_SetConstant(d
, "VSCROLL",SWIG_From_int(static_cast< int >(wxVSCROLL
)));
55353 SWIG_Python_SetConstant(d
, "HSCROLL",SWIG_From_int(static_cast< int >(wxHSCROLL
)));
55354 SWIG_Python_SetConstant(d
, "CAPTION",SWIG_From_int(static_cast< int >(wxCAPTION
)));
55355 SWIG_Python_SetConstant(d
, "DOUBLE_BORDER",SWIG_From_int(static_cast< int >(wxDOUBLE_BORDER
)));
55356 SWIG_Python_SetConstant(d
, "SUNKEN_BORDER",SWIG_From_int(static_cast< int >(wxSUNKEN_BORDER
)));
55357 SWIG_Python_SetConstant(d
, "RAISED_BORDER",SWIG_From_int(static_cast< int >(wxRAISED_BORDER
)));
55358 SWIG_Python_SetConstant(d
, "BORDER",SWIG_From_int(static_cast< int >(wxBORDER
)));
55359 SWIG_Python_SetConstant(d
, "SIMPLE_BORDER",SWIG_From_int(static_cast< int >(wxSIMPLE_BORDER
)));
55360 SWIG_Python_SetConstant(d
, "STATIC_BORDER",SWIG_From_int(static_cast< int >(wxSTATIC_BORDER
)));
55361 SWIG_Python_SetConstant(d
, "TRANSPARENT_WINDOW",SWIG_From_int(static_cast< int >(wxTRANSPARENT_WINDOW
)));
55362 SWIG_Python_SetConstant(d
, "NO_BORDER",SWIG_From_int(static_cast< int >(wxNO_BORDER
)));
55363 SWIG_Python_SetConstant(d
, "DEFAULT_CONTROL_BORDER",SWIG_From_int(static_cast< int >(wxDEFAULT_CONTROL_BORDER
)));
55364 SWIG_Python_SetConstant(d
, "DEFAULT_STATUSBAR_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_STATUSBAR_STYLE
)));
55365 SWIG_Python_SetConstant(d
, "TAB_TRAVERSAL",SWIG_From_int(static_cast< int >(wxTAB_TRAVERSAL
)));
55366 SWIG_Python_SetConstant(d
, "WANTS_CHARS",SWIG_From_int(static_cast< int >(wxWANTS_CHARS
)));
55367 SWIG_Python_SetConstant(d
, "POPUP_WINDOW",SWIG_From_int(static_cast< int >(wxPOPUP_WINDOW
)));
55368 SWIG_Python_SetConstant(d
, "CENTER_FRAME",SWIG_From_int(static_cast< int >(wxCENTER_FRAME
)));
55369 SWIG_Python_SetConstant(d
, "CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxCENTRE_ON_SCREEN
)));
55370 SWIG_Python_SetConstant(d
, "CENTER_ON_SCREEN",SWIG_From_int(static_cast< int >(wxCENTER_ON_SCREEN
)));
55371 SWIG_Python_SetConstant(d
, "CLIP_CHILDREN",SWIG_From_int(static_cast< int >(wxCLIP_CHILDREN
)));
55372 SWIG_Python_SetConstant(d
, "CLIP_SIBLINGS",SWIG_From_int(static_cast< int >(wxCLIP_SIBLINGS
)));
55373 SWIG_Python_SetConstant(d
, "ALWAYS_SHOW_SB",SWIG_From_int(static_cast< int >(wxALWAYS_SHOW_SB
)));
55374 SWIG_Python_SetConstant(d
, "RETAINED",SWIG_From_int(static_cast< int >(wxRETAINED
)));
55375 SWIG_Python_SetConstant(d
, "BACKINGSTORE",SWIG_From_int(static_cast< int >(wxBACKINGSTORE
)));
55376 SWIG_Python_SetConstant(d
, "COLOURED",SWIG_From_int(static_cast< int >(wxCOLOURED
)));
55377 SWIG_Python_SetConstant(d
, "FIXED_LENGTH",SWIG_From_int(static_cast< int >(wxFIXED_LENGTH
)));
55378 SWIG_Python_SetConstant(d
, "LB_NEEDED_SB",SWIG_From_int(static_cast< int >(wxLB_NEEDED_SB
)));
55379 SWIG_Python_SetConstant(d
, "LB_ALWAYS_SB",SWIG_From_int(static_cast< int >(wxLB_ALWAYS_SB
)));
55380 SWIG_Python_SetConstant(d
, "LB_SORT",SWIG_From_int(static_cast< int >(wxLB_SORT
)));
55381 SWIG_Python_SetConstant(d
, "LB_SINGLE",SWIG_From_int(static_cast< int >(wxLB_SINGLE
)));
55382 SWIG_Python_SetConstant(d
, "LB_MULTIPLE",SWIG_From_int(static_cast< int >(wxLB_MULTIPLE
)));
55383 SWIG_Python_SetConstant(d
, "LB_EXTENDED",SWIG_From_int(static_cast< int >(wxLB_EXTENDED
)));
55384 SWIG_Python_SetConstant(d
, "LB_OWNERDRAW",SWIG_From_int(static_cast< int >(wxLB_OWNERDRAW
)));
55385 SWIG_Python_SetConstant(d
, "LB_HSCROLL",SWIG_From_int(static_cast< int >(wxLB_HSCROLL
)));
55386 SWIG_Python_SetConstant(d
, "PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxPROCESS_ENTER
)));
55387 SWIG_Python_SetConstant(d
, "PASSWORD",SWIG_From_int(static_cast< int >(wxPASSWORD
)));
55388 SWIG_Python_SetConstant(d
, "CB_SIMPLE",SWIG_From_int(static_cast< int >(wxCB_SIMPLE
)));
55389 SWIG_Python_SetConstant(d
, "CB_DROPDOWN",SWIG_From_int(static_cast< int >(wxCB_DROPDOWN
)));
55390 SWIG_Python_SetConstant(d
, "CB_SORT",SWIG_From_int(static_cast< int >(wxCB_SORT
)));
55391 SWIG_Python_SetConstant(d
, "CB_READONLY",SWIG_From_int(static_cast< int >(wxCB_READONLY
)));
55392 SWIG_Python_SetConstant(d
, "RA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxRA_HORIZONTAL
)));
55393 SWIG_Python_SetConstant(d
, "RA_VERTICAL",SWIG_From_int(static_cast< int >(wxRA_VERTICAL
)));
55394 SWIG_Python_SetConstant(d
, "RA_SPECIFY_ROWS",SWIG_From_int(static_cast< int >(wxRA_SPECIFY_ROWS
)));
55395 SWIG_Python_SetConstant(d
, "RA_SPECIFY_COLS",SWIG_From_int(static_cast< int >(wxRA_SPECIFY_COLS
)));
55396 SWIG_Python_SetConstant(d
, "RA_USE_CHECKBOX",SWIG_From_int(static_cast< int >(wxRA_USE_CHECKBOX
)));
55397 SWIG_Python_SetConstant(d
, "RB_GROUP",SWIG_From_int(static_cast< int >(wxRB_GROUP
)));
55398 SWIG_Python_SetConstant(d
, "RB_SINGLE",SWIG_From_int(static_cast< int >(wxRB_SINGLE
)));
55399 SWIG_Python_SetConstant(d
, "SB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSB_HORIZONTAL
)));
55400 SWIG_Python_SetConstant(d
, "SB_VERTICAL",SWIG_From_int(static_cast< int >(wxSB_VERTICAL
)));
55401 SWIG_Python_SetConstant(d
, "RB_USE_CHECKBOX",SWIG_From_int(static_cast< int >(wxRB_USE_CHECKBOX
)));
55402 SWIG_Python_SetConstant(d
, "ST_SIZEGRIP",SWIG_From_int(static_cast< int >(wxST_SIZEGRIP
)));
55403 SWIG_Python_SetConstant(d
, "ST_NO_AUTORESIZE",SWIG_From_int(static_cast< int >(wxST_NO_AUTORESIZE
)));
55404 SWIG_Python_SetConstant(d
, "FLOOD_SURFACE",SWIG_From_int(static_cast< int >(wxFLOOD_SURFACE
)));
55405 SWIG_Python_SetConstant(d
, "FLOOD_BORDER",SWIG_From_int(static_cast< int >(wxFLOOD_BORDER
)));
55406 SWIG_Python_SetConstant(d
, "ODDEVEN_RULE",SWIG_From_int(static_cast< int >(wxODDEVEN_RULE
)));
55407 SWIG_Python_SetConstant(d
, "WINDING_RULE",SWIG_From_int(static_cast< int >(wxWINDING_RULE
)));
55408 SWIG_Python_SetConstant(d
, "TOOL_TOP",SWIG_From_int(static_cast< int >(wxTOOL_TOP
)));
55409 SWIG_Python_SetConstant(d
, "TOOL_BOTTOM",SWIG_From_int(static_cast< int >(wxTOOL_BOTTOM
)));
55410 SWIG_Python_SetConstant(d
, "TOOL_LEFT",SWIG_From_int(static_cast< int >(wxTOOL_LEFT
)));
55411 SWIG_Python_SetConstant(d
, "TOOL_RIGHT",SWIG_From_int(static_cast< int >(wxTOOL_RIGHT
)));
55412 SWIG_Python_SetConstant(d
, "OK",SWIG_From_int(static_cast< int >(wxOK
)));
55413 SWIG_Python_SetConstant(d
, "YES_NO",SWIG_From_int(static_cast< int >(wxYES_NO
)));
55414 SWIG_Python_SetConstant(d
, "CANCEL",SWIG_From_int(static_cast< int >(wxCANCEL
)));
55415 SWIG_Python_SetConstant(d
, "YES",SWIG_From_int(static_cast< int >(wxYES
)));
55416 SWIG_Python_SetConstant(d
, "NO",SWIG_From_int(static_cast< int >(wxNO
)));
55417 SWIG_Python_SetConstant(d
, "NO_DEFAULT",SWIG_From_int(static_cast< int >(wxNO_DEFAULT
)));
55418 SWIG_Python_SetConstant(d
, "YES_DEFAULT",SWIG_From_int(static_cast< int >(wxYES_DEFAULT
)));
55419 SWIG_Python_SetConstant(d
, "ICON_EXCLAMATION",SWIG_From_int(static_cast< int >(wxICON_EXCLAMATION
)));
55420 SWIG_Python_SetConstant(d
, "ICON_HAND",SWIG_From_int(static_cast< int >(wxICON_HAND
)));
55421 SWIG_Python_SetConstant(d
, "ICON_QUESTION",SWIG_From_int(static_cast< int >(wxICON_QUESTION
)));
55422 SWIG_Python_SetConstant(d
, "ICON_INFORMATION",SWIG_From_int(static_cast< int >(wxICON_INFORMATION
)));
55423 SWIG_Python_SetConstant(d
, "ICON_STOP",SWIG_From_int(static_cast< int >(wxICON_STOP
)));
55424 SWIG_Python_SetConstant(d
, "ICON_ASTERISK",SWIG_From_int(static_cast< int >(wxICON_ASTERISK
)));
55425 SWIG_Python_SetConstant(d
, "ICON_MASK",SWIG_From_int(static_cast< int >(wxICON_MASK
)));
55426 SWIG_Python_SetConstant(d
, "ICON_WARNING",SWIG_From_int(static_cast< int >(wxICON_WARNING
)));
55427 SWIG_Python_SetConstant(d
, "ICON_ERROR",SWIG_From_int(static_cast< int >(wxICON_ERROR
)));
55428 SWIG_Python_SetConstant(d
, "FORWARD",SWIG_From_int(static_cast< int >(wxFORWARD
)));
55429 SWIG_Python_SetConstant(d
, "BACKWARD",SWIG_From_int(static_cast< int >(wxBACKWARD
)));
55430 SWIG_Python_SetConstant(d
, "RESET",SWIG_From_int(static_cast< int >(wxRESET
)));
55431 SWIG_Python_SetConstant(d
, "HELP",SWIG_From_int(static_cast< int >(wxHELP
)));
55432 SWIG_Python_SetConstant(d
, "MORE",SWIG_From_int(static_cast< int >(wxMORE
)));
55433 SWIG_Python_SetConstant(d
, "SETUP",SWIG_From_int(static_cast< int >(wxSETUP
)));
55434 SWIG_Python_SetConstant(d
, "SIZE_AUTO_WIDTH",SWIG_From_int(static_cast< int >(wxSIZE_AUTO_WIDTH
)));
55435 SWIG_Python_SetConstant(d
, "SIZE_AUTO_HEIGHT",SWIG_From_int(static_cast< int >(wxSIZE_AUTO_HEIGHT
)));
55436 SWIG_Python_SetConstant(d
, "SIZE_AUTO",SWIG_From_int(static_cast< int >(wxSIZE_AUTO
)));
55437 SWIG_Python_SetConstant(d
, "SIZE_USE_EXISTING",SWIG_From_int(static_cast< int >(wxSIZE_USE_EXISTING
)));
55438 SWIG_Python_SetConstant(d
, "SIZE_ALLOW_MINUS_ONE",SWIG_From_int(static_cast< int >(wxSIZE_ALLOW_MINUS_ONE
)));
55439 SWIG_Python_SetConstant(d
, "SIZE_FORCE",SWIG_From_int(static_cast< int >(wxSIZE_FORCE
)));
55440 SWIG_Python_SetConstant(d
, "PORTRAIT",SWIG_From_int(static_cast< int >(wxPORTRAIT
)));
55441 SWIG_Python_SetConstant(d
, "LANDSCAPE",SWIG_From_int(static_cast< int >(wxLANDSCAPE
)));
55442 SWIG_Python_SetConstant(d
, "PRINT_QUALITY_HIGH",SWIG_From_int(static_cast< int >(wxPRINT_QUALITY_HIGH
)));
55443 SWIG_Python_SetConstant(d
, "PRINT_QUALITY_MEDIUM",SWIG_From_int(static_cast< int >(wxPRINT_QUALITY_MEDIUM
)));
55444 SWIG_Python_SetConstant(d
, "PRINT_QUALITY_LOW",SWIG_From_int(static_cast< int >(wxPRINT_QUALITY_LOW
)));
55445 SWIG_Python_SetConstant(d
, "PRINT_QUALITY_DRAFT",SWIG_From_int(static_cast< int >(wxPRINT_QUALITY_DRAFT
)));
55446 SWIG_Python_SetConstant(d
, "ID_ANY",SWIG_From_int(static_cast< int >(wxID_ANY
)));
55447 SWIG_Python_SetConstant(d
, "ID_SEPARATOR",SWIG_From_int(static_cast< int >(wxID_SEPARATOR
)));
55448 SWIG_Python_SetConstant(d
, "ID_NONE",SWIG_From_int(static_cast< int >(wxID_NONE
)));
55449 SWIG_Python_SetConstant(d
, "ID_LOWEST",SWIG_From_int(static_cast< int >(wxID_LOWEST
)));
55450 SWIG_Python_SetConstant(d
, "ID_OPEN",SWIG_From_int(static_cast< int >(wxID_OPEN
)));
55451 SWIG_Python_SetConstant(d
, "ID_CLOSE",SWIG_From_int(static_cast< int >(wxID_CLOSE
)));
55452 SWIG_Python_SetConstant(d
, "ID_NEW",SWIG_From_int(static_cast< int >(wxID_NEW
)));
55453 SWIG_Python_SetConstant(d
, "ID_SAVE",SWIG_From_int(static_cast< int >(wxID_SAVE
)));
55454 SWIG_Python_SetConstant(d
, "ID_SAVEAS",SWIG_From_int(static_cast< int >(wxID_SAVEAS
)));
55455 SWIG_Python_SetConstant(d
, "ID_REVERT",SWIG_From_int(static_cast< int >(wxID_REVERT
)));
55456 SWIG_Python_SetConstant(d
, "ID_EXIT",SWIG_From_int(static_cast< int >(wxID_EXIT
)));
55457 SWIG_Python_SetConstant(d
, "ID_UNDO",SWIG_From_int(static_cast< int >(wxID_UNDO
)));
55458 SWIG_Python_SetConstant(d
, "ID_REDO",SWIG_From_int(static_cast< int >(wxID_REDO
)));
55459 SWIG_Python_SetConstant(d
, "ID_HELP",SWIG_From_int(static_cast< int >(wxID_HELP
)));
55460 SWIG_Python_SetConstant(d
, "ID_PRINT",SWIG_From_int(static_cast< int >(wxID_PRINT
)));
55461 SWIG_Python_SetConstant(d
, "ID_PRINT_SETUP",SWIG_From_int(static_cast< int >(wxID_PRINT_SETUP
)));
55462 SWIG_Python_SetConstant(d
, "ID_PREVIEW",SWIG_From_int(static_cast< int >(wxID_PREVIEW
)));
55463 SWIG_Python_SetConstant(d
, "ID_ABOUT",SWIG_From_int(static_cast< int >(wxID_ABOUT
)));
55464 SWIG_Python_SetConstant(d
, "ID_HELP_CONTENTS",SWIG_From_int(static_cast< int >(wxID_HELP_CONTENTS
)));
55465 SWIG_Python_SetConstant(d
, "ID_HELP_COMMANDS",SWIG_From_int(static_cast< int >(wxID_HELP_COMMANDS
)));
55466 SWIG_Python_SetConstant(d
, "ID_HELP_PROCEDURES",SWIG_From_int(static_cast< int >(wxID_HELP_PROCEDURES
)));
55467 SWIG_Python_SetConstant(d
, "ID_HELP_CONTEXT",SWIG_From_int(static_cast< int >(wxID_HELP_CONTEXT
)));
55468 SWIG_Python_SetConstant(d
, "ID_CLOSE_ALL",SWIG_From_int(static_cast< int >(wxID_CLOSE_ALL
)));
55469 SWIG_Python_SetConstant(d
, "ID_PREFERENCES",SWIG_From_int(static_cast< int >(wxID_PREFERENCES
)));
55470 SWIG_Python_SetConstant(d
, "ID_CUT",SWIG_From_int(static_cast< int >(wxID_CUT
)));
55471 SWIG_Python_SetConstant(d
, "ID_COPY",SWIG_From_int(static_cast< int >(wxID_COPY
)));
55472 SWIG_Python_SetConstant(d
, "ID_PASTE",SWIG_From_int(static_cast< int >(wxID_PASTE
)));
55473 SWIG_Python_SetConstant(d
, "ID_CLEAR",SWIG_From_int(static_cast< int >(wxID_CLEAR
)));
55474 SWIG_Python_SetConstant(d
, "ID_FIND",SWIG_From_int(static_cast< int >(wxID_FIND
)));
55475 SWIG_Python_SetConstant(d
, "ID_DUPLICATE",SWIG_From_int(static_cast< int >(wxID_DUPLICATE
)));
55476 SWIG_Python_SetConstant(d
, "ID_SELECTALL",SWIG_From_int(static_cast< int >(wxID_SELECTALL
)));
55477 SWIG_Python_SetConstant(d
, "ID_DELETE",SWIG_From_int(static_cast< int >(wxID_DELETE
)));
55478 SWIG_Python_SetConstant(d
, "ID_REPLACE",SWIG_From_int(static_cast< int >(wxID_REPLACE
)));
55479 SWIG_Python_SetConstant(d
, "ID_REPLACE_ALL",SWIG_From_int(static_cast< int >(wxID_REPLACE_ALL
)));
55480 SWIG_Python_SetConstant(d
, "ID_PROPERTIES",SWIG_From_int(static_cast< int >(wxID_PROPERTIES
)));
55481 SWIG_Python_SetConstant(d
, "ID_VIEW_DETAILS",SWIG_From_int(static_cast< int >(wxID_VIEW_DETAILS
)));
55482 SWIG_Python_SetConstant(d
, "ID_VIEW_LARGEICONS",SWIG_From_int(static_cast< int >(wxID_VIEW_LARGEICONS
)));
55483 SWIG_Python_SetConstant(d
, "ID_VIEW_SMALLICONS",SWIG_From_int(static_cast< int >(wxID_VIEW_SMALLICONS
)));
55484 SWIG_Python_SetConstant(d
, "ID_VIEW_LIST",SWIG_From_int(static_cast< int >(wxID_VIEW_LIST
)));
55485 SWIG_Python_SetConstant(d
, "ID_VIEW_SORTDATE",SWIG_From_int(static_cast< int >(wxID_VIEW_SORTDATE
)));
55486 SWIG_Python_SetConstant(d
, "ID_VIEW_SORTNAME",SWIG_From_int(static_cast< int >(wxID_VIEW_SORTNAME
)));
55487 SWIG_Python_SetConstant(d
, "ID_VIEW_SORTSIZE",SWIG_From_int(static_cast< int >(wxID_VIEW_SORTSIZE
)));
55488 SWIG_Python_SetConstant(d
, "ID_VIEW_SORTTYPE",SWIG_From_int(static_cast< int >(wxID_VIEW_SORTTYPE
)));
55489 SWIG_Python_SetConstant(d
, "ID_FILE1",SWIG_From_int(static_cast< int >(wxID_FILE1
)));
55490 SWIG_Python_SetConstant(d
, "ID_FILE2",SWIG_From_int(static_cast< int >(wxID_FILE2
)));
55491 SWIG_Python_SetConstant(d
, "ID_FILE3",SWIG_From_int(static_cast< int >(wxID_FILE3
)));
55492 SWIG_Python_SetConstant(d
, "ID_FILE4",SWIG_From_int(static_cast< int >(wxID_FILE4
)));
55493 SWIG_Python_SetConstant(d
, "ID_FILE5",SWIG_From_int(static_cast< int >(wxID_FILE5
)));
55494 SWIG_Python_SetConstant(d
, "ID_FILE6",SWIG_From_int(static_cast< int >(wxID_FILE6
)));
55495 SWIG_Python_SetConstant(d
, "ID_FILE7",SWIG_From_int(static_cast< int >(wxID_FILE7
)));
55496 SWIG_Python_SetConstant(d
, "ID_FILE8",SWIG_From_int(static_cast< int >(wxID_FILE8
)));
55497 SWIG_Python_SetConstant(d
, "ID_FILE9",SWIG_From_int(static_cast< int >(wxID_FILE9
)));
55498 SWIG_Python_SetConstant(d
, "ID_OK",SWIG_From_int(static_cast< int >(wxID_OK
)));
55499 SWIG_Python_SetConstant(d
, "ID_CANCEL",SWIG_From_int(static_cast< int >(wxID_CANCEL
)));
55500 SWIG_Python_SetConstant(d
, "ID_APPLY",SWIG_From_int(static_cast< int >(wxID_APPLY
)));
55501 SWIG_Python_SetConstant(d
, "ID_YES",SWIG_From_int(static_cast< int >(wxID_YES
)));
55502 SWIG_Python_SetConstant(d
, "ID_NO",SWIG_From_int(static_cast< int >(wxID_NO
)));
55503 SWIG_Python_SetConstant(d
, "ID_STATIC",SWIG_From_int(static_cast< int >(wxID_STATIC
)));
55504 SWIG_Python_SetConstant(d
, "ID_FORWARD",SWIG_From_int(static_cast< int >(wxID_FORWARD
)));
55505 SWIG_Python_SetConstant(d
, "ID_BACKWARD",SWIG_From_int(static_cast< int >(wxID_BACKWARD
)));
55506 SWIG_Python_SetConstant(d
, "ID_DEFAULT",SWIG_From_int(static_cast< int >(wxID_DEFAULT
)));
55507 SWIG_Python_SetConstant(d
, "ID_MORE",SWIG_From_int(static_cast< int >(wxID_MORE
)));
55508 SWIG_Python_SetConstant(d
, "ID_SETUP",SWIG_From_int(static_cast< int >(wxID_SETUP
)));
55509 SWIG_Python_SetConstant(d
, "ID_RESET",SWIG_From_int(static_cast< int >(wxID_RESET
)));
55510 SWIG_Python_SetConstant(d
, "ID_CONTEXT_HELP",SWIG_From_int(static_cast< int >(wxID_CONTEXT_HELP
)));
55511 SWIG_Python_SetConstant(d
, "ID_YESTOALL",SWIG_From_int(static_cast< int >(wxID_YESTOALL
)));
55512 SWIG_Python_SetConstant(d
, "ID_NOTOALL",SWIG_From_int(static_cast< int >(wxID_NOTOALL
)));
55513 SWIG_Python_SetConstant(d
, "ID_ABORT",SWIG_From_int(static_cast< int >(wxID_ABORT
)));
55514 SWIG_Python_SetConstant(d
, "ID_RETRY",SWIG_From_int(static_cast< int >(wxID_RETRY
)));
55515 SWIG_Python_SetConstant(d
, "ID_IGNORE",SWIG_From_int(static_cast< int >(wxID_IGNORE
)));
55516 SWIG_Python_SetConstant(d
, "ID_ADD",SWIG_From_int(static_cast< int >(wxID_ADD
)));
55517 SWIG_Python_SetConstant(d
, "ID_REMOVE",SWIG_From_int(static_cast< int >(wxID_REMOVE
)));
55518 SWIG_Python_SetConstant(d
, "ID_UP",SWIG_From_int(static_cast< int >(wxID_UP
)));
55519 SWIG_Python_SetConstant(d
, "ID_DOWN",SWIG_From_int(static_cast< int >(wxID_DOWN
)));
55520 SWIG_Python_SetConstant(d
, "ID_HOME",SWIG_From_int(static_cast< int >(wxID_HOME
)));
55521 SWIG_Python_SetConstant(d
, "ID_REFRESH",SWIG_From_int(static_cast< int >(wxID_REFRESH
)));
55522 SWIG_Python_SetConstant(d
, "ID_STOP",SWIG_From_int(static_cast< int >(wxID_STOP
)));
55523 SWIG_Python_SetConstant(d
, "ID_INDEX",SWIG_From_int(static_cast< int >(wxID_INDEX
)));
55524 SWIG_Python_SetConstant(d
, "ID_BOLD",SWIG_From_int(static_cast< int >(wxID_BOLD
)));
55525 SWIG_Python_SetConstant(d
, "ID_ITALIC",SWIG_From_int(static_cast< int >(wxID_ITALIC
)));
55526 SWIG_Python_SetConstant(d
, "ID_JUSTIFY_CENTER",SWIG_From_int(static_cast< int >(wxID_JUSTIFY_CENTER
)));
55527 SWIG_Python_SetConstant(d
, "ID_JUSTIFY_FILL",SWIG_From_int(static_cast< int >(wxID_JUSTIFY_FILL
)));
55528 SWIG_Python_SetConstant(d
, "ID_JUSTIFY_RIGHT",SWIG_From_int(static_cast< int >(wxID_JUSTIFY_RIGHT
)));
55529 SWIG_Python_SetConstant(d
, "ID_JUSTIFY_LEFT",SWIG_From_int(static_cast< int >(wxID_JUSTIFY_LEFT
)));
55530 SWIG_Python_SetConstant(d
, "ID_UNDERLINE",SWIG_From_int(static_cast< int >(wxID_UNDERLINE
)));
55531 SWIG_Python_SetConstant(d
, "ID_INDENT",SWIG_From_int(static_cast< int >(wxID_INDENT
)));
55532 SWIG_Python_SetConstant(d
, "ID_UNINDENT",SWIG_From_int(static_cast< int >(wxID_UNINDENT
)));
55533 SWIG_Python_SetConstant(d
, "ID_ZOOM_100",SWIG_From_int(static_cast< int >(wxID_ZOOM_100
)));
55534 SWIG_Python_SetConstant(d
, "ID_ZOOM_FIT",SWIG_From_int(static_cast< int >(wxID_ZOOM_FIT
)));
55535 SWIG_Python_SetConstant(d
, "ID_ZOOM_IN",SWIG_From_int(static_cast< int >(wxID_ZOOM_IN
)));
55536 SWIG_Python_SetConstant(d
, "ID_ZOOM_OUT",SWIG_From_int(static_cast< int >(wxID_ZOOM_OUT
)));
55537 SWIG_Python_SetConstant(d
, "ID_UNDELETE",SWIG_From_int(static_cast< int >(wxID_UNDELETE
)));
55538 SWIG_Python_SetConstant(d
, "ID_REVERT_TO_SAVED",SWIG_From_int(static_cast< int >(wxID_REVERT_TO_SAVED
)));
55539 SWIG_Python_SetConstant(d
, "ID_HIGHEST",SWIG_From_int(static_cast< int >(wxID_HIGHEST
)));
55540 SWIG_Python_SetConstant(d
, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN
)));
55541 SWIG_Python_SetConstant(d
, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE
)));
55542 SWIG_Python_SetConstant(d
, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY
)));
55543 SWIG_Python_SetConstant(d
, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT
)));
55544 SWIG_Python_SetConstant(d
, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST
)));
55545 SWIG_Python_SetConstant(d
, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE
)));
55546 SWIG_Python_SetConstant(d
, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR
)));
55547 SWIG_Python_SetConstant(d
, "ACCEL_ALT",SWIG_From_int(static_cast< int >(wxACCEL_ALT
)));
55548 SWIG_Python_SetConstant(d
, "ACCEL_CTRL",SWIG_From_int(static_cast< int >(wxACCEL_CTRL
)));
55549 SWIG_Python_SetConstant(d
, "ACCEL_SHIFT",SWIG_From_int(static_cast< int >(wxACCEL_SHIFT
)));
55550 SWIG_Python_SetConstant(d
, "ACCEL_NORMAL",SWIG_From_int(static_cast< int >(wxACCEL_NORMAL
)));
55551 SWIG_Python_SetConstant(d
, "PD_AUTO_HIDE",SWIG_From_int(static_cast< int >(wxPD_AUTO_HIDE
)));
55552 SWIG_Python_SetConstant(d
, "PD_APP_MODAL",SWIG_From_int(static_cast< int >(wxPD_APP_MODAL
)));
55553 SWIG_Python_SetConstant(d
, "PD_CAN_ABORT",SWIG_From_int(static_cast< int >(wxPD_CAN_ABORT
)));
55554 SWIG_Python_SetConstant(d
, "PD_ELAPSED_TIME",SWIG_From_int(static_cast< int >(wxPD_ELAPSED_TIME
)));
55555 SWIG_Python_SetConstant(d
, "PD_ESTIMATED_TIME",SWIG_From_int(static_cast< int >(wxPD_ESTIMATED_TIME
)));
55556 SWIG_Python_SetConstant(d
, "PD_REMAINING_TIME",SWIG_From_int(static_cast< int >(wxPD_REMAINING_TIME
)));
55557 SWIG_Python_SetConstant(d
, "PD_SMOOTH",SWIG_From_int(static_cast< int >(wxPD_SMOOTH
)));
55558 SWIG_Python_SetConstant(d
, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP
)));
55559 SWIG_Python_SetConstant(d
, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON
)));
55560 SWIG_Python_SetConstant(d
, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE
)));
55561 SWIG_Python_SetConstant(d
, "MENU_TEAROFF",SWIG_From_int(static_cast< int >(wxMENU_TEAROFF
)));
55562 SWIG_Python_SetConstant(d
, "MB_DOCKABLE",SWIG_From_int(static_cast< int >(wxMB_DOCKABLE
)));
55563 SWIG_Python_SetConstant(d
, "NO_FULL_REPAINT_ON_RESIZE",SWIG_From_int(static_cast< int >(wxNO_FULL_REPAINT_ON_RESIZE
)));
55564 SWIG_Python_SetConstant(d
, "FULL_REPAINT_ON_RESIZE",SWIG_From_int(static_cast< int >(wxFULL_REPAINT_ON_RESIZE
)));
55565 SWIG_Python_SetConstant(d
, "LI_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLI_HORIZONTAL
)));
55566 SWIG_Python_SetConstant(d
, "LI_VERTICAL",SWIG_From_int(static_cast< int >(wxLI_VERTICAL
)));
55567 SWIG_Python_SetConstant(d
, "WS_EX_VALIDATE_RECURSIVELY",SWIG_From_int(static_cast< int >(wxWS_EX_VALIDATE_RECURSIVELY
)));
55568 SWIG_Python_SetConstant(d
, "WS_EX_BLOCK_EVENTS",SWIG_From_int(static_cast< int >(wxWS_EX_BLOCK_EVENTS
)));
55569 SWIG_Python_SetConstant(d
, "WS_EX_TRANSIENT",SWIG_From_int(static_cast< int >(wxWS_EX_TRANSIENT
)));
55570 SWIG_Python_SetConstant(d
, "WS_EX_THEMED_BACKGROUND",SWIG_From_int(static_cast< int >(wxWS_EX_THEMED_BACKGROUND
)));
55571 SWIG_Python_SetConstant(d
, "WS_EX_PROCESS_IDLE",SWIG_From_int(static_cast< int >(wxWS_EX_PROCESS_IDLE
)));
55572 SWIG_Python_SetConstant(d
, "WS_EX_PROCESS_UI_UPDATES",SWIG_From_int(static_cast< int >(wxWS_EX_PROCESS_UI_UPDATES
)));
55573 SWIG_Python_SetConstant(d
, "MM_TEXT",SWIG_From_int(static_cast< int >(wxMM_TEXT
)));
55574 SWIG_Python_SetConstant(d
, "MM_LOMETRIC",SWIG_From_int(static_cast< int >(wxMM_LOMETRIC
)));
55575 SWIG_Python_SetConstant(d
, "MM_HIMETRIC",SWIG_From_int(static_cast< int >(wxMM_HIMETRIC
)));
55576 SWIG_Python_SetConstant(d
, "MM_LOENGLISH",SWIG_From_int(static_cast< int >(wxMM_LOENGLISH
)));
55577 SWIG_Python_SetConstant(d
, "MM_HIENGLISH",SWIG_From_int(static_cast< int >(wxMM_HIENGLISH
)));
55578 SWIG_Python_SetConstant(d
, "MM_TWIPS",SWIG_From_int(static_cast< int >(wxMM_TWIPS
)));
55579 SWIG_Python_SetConstant(d
, "MM_ISOTROPIC",SWIG_From_int(static_cast< int >(wxMM_ISOTROPIC
)));
55580 SWIG_Python_SetConstant(d
, "MM_ANISOTROPIC",SWIG_From_int(static_cast< int >(wxMM_ANISOTROPIC
)));
55581 SWIG_Python_SetConstant(d
, "MM_POINTS",SWIG_From_int(static_cast< int >(wxMM_POINTS
)));
55582 SWIG_Python_SetConstant(d
, "MM_METRIC",SWIG_From_int(static_cast< int >(wxMM_METRIC
)));
55583 SWIG_Python_SetConstant(d
, "CENTRE",SWIG_From_int(static_cast< int >(wxCENTRE
)));
55584 SWIG_Python_SetConstant(d
, "CENTER",SWIG_From_int(static_cast< int >(wxCENTER
)));
55585 SWIG_Python_SetConstant(d
, "HORIZONTAL",SWIG_From_int(static_cast< int >(wxHORIZONTAL
)));
55586 SWIG_Python_SetConstant(d
, "VERTICAL",SWIG_From_int(static_cast< int >(wxVERTICAL
)));
55587 SWIG_Python_SetConstant(d
, "BOTH",SWIG_From_int(static_cast< int >(wxBOTH
)));
55588 SWIG_Python_SetConstant(d
, "LEFT",SWIG_From_int(static_cast< int >(wxLEFT
)));
55589 SWIG_Python_SetConstant(d
, "RIGHT",SWIG_From_int(static_cast< int >(wxRIGHT
)));
55590 SWIG_Python_SetConstant(d
, "UP",SWIG_From_int(static_cast< int >(wxUP
)));
55591 SWIG_Python_SetConstant(d
, "DOWN",SWIG_From_int(static_cast< int >(wxDOWN
)));
55592 SWIG_Python_SetConstant(d
, "TOP",SWIG_From_int(static_cast< int >(wxTOP
)));
55593 SWIG_Python_SetConstant(d
, "BOTTOM",SWIG_From_int(static_cast< int >(wxBOTTOM
)));
55594 SWIG_Python_SetConstant(d
, "NORTH",SWIG_From_int(static_cast< int >(wxNORTH
)));
55595 SWIG_Python_SetConstant(d
, "SOUTH",SWIG_From_int(static_cast< int >(wxSOUTH
)));
55596 SWIG_Python_SetConstant(d
, "WEST",SWIG_From_int(static_cast< int >(wxWEST
)));
55597 SWIG_Python_SetConstant(d
, "EAST",SWIG_From_int(static_cast< int >(wxEAST
)));
55598 SWIG_Python_SetConstant(d
, "ALL",SWIG_From_int(static_cast< int >(wxALL
)));
55599 SWIG_Python_SetConstant(d
, "ALIGN_NOT",SWIG_From_int(static_cast< int >(wxALIGN_NOT
)));
55600 SWIG_Python_SetConstant(d
, "ALIGN_CENTER_HORIZONTAL",SWIG_From_int(static_cast< int >(wxALIGN_CENTER_HORIZONTAL
)));
55601 SWIG_Python_SetConstant(d
, "ALIGN_CENTRE_HORIZONTAL",SWIG_From_int(static_cast< int >(wxALIGN_CENTRE_HORIZONTAL
)));
55602 SWIG_Python_SetConstant(d
, "ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxALIGN_LEFT
)));
55603 SWIG_Python_SetConstant(d
, "ALIGN_TOP",SWIG_From_int(static_cast< int >(wxALIGN_TOP
)));
55604 SWIG_Python_SetConstant(d
, "ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxALIGN_RIGHT
)));
55605 SWIG_Python_SetConstant(d
, "ALIGN_BOTTOM",SWIG_From_int(static_cast< int >(wxALIGN_BOTTOM
)));
55606 SWIG_Python_SetConstant(d
, "ALIGN_CENTER_VERTICAL",SWIG_From_int(static_cast< int >(wxALIGN_CENTER_VERTICAL
)));
55607 SWIG_Python_SetConstant(d
, "ALIGN_CENTRE_VERTICAL",SWIG_From_int(static_cast< int >(wxALIGN_CENTRE_VERTICAL
)));
55608 SWIG_Python_SetConstant(d
, "ALIGN_CENTER",SWIG_From_int(static_cast< int >(wxALIGN_CENTER
)));
55609 SWIG_Python_SetConstant(d
, "ALIGN_CENTRE",SWIG_From_int(static_cast< int >(wxALIGN_CENTRE
)));
55610 SWIG_Python_SetConstant(d
, "ALIGN_MASK",SWIG_From_int(static_cast< int >(wxALIGN_MASK
)));
55611 SWIG_Python_SetConstant(d
, "STRETCH_NOT",SWIG_From_int(static_cast< int >(wxSTRETCH_NOT
)));
55612 SWIG_Python_SetConstant(d
, "SHRINK",SWIG_From_int(static_cast< int >(wxSHRINK
)));
55613 SWIG_Python_SetConstant(d
, "GROW",SWIG_From_int(static_cast< int >(wxGROW
)));
55614 SWIG_Python_SetConstant(d
, "EXPAND",SWIG_From_int(static_cast< int >(wxEXPAND
)));
55615 SWIG_Python_SetConstant(d
, "SHAPED",SWIG_From_int(static_cast< int >(wxSHAPED
)));
55616 SWIG_Python_SetConstant(d
, "FIXED_MINSIZE",SWIG_From_int(static_cast< int >(wxFIXED_MINSIZE
)));
55617 SWIG_Python_SetConstant(d
, "TILE",SWIG_From_int(static_cast< int >(wxTILE
)));
55618 SWIG_Python_SetConstant(d
, "ADJUST_MINSIZE",SWIG_From_int(static_cast< int >(wxADJUST_MINSIZE
)));
55619 SWIG_Python_SetConstant(d
, "BORDER_DEFAULT",SWIG_From_int(static_cast< int >(wxBORDER_DEFAULT
)));
55620 SWIG_Python_SetConstant(d
, "BORDER_NONE",SWIG_From_int(static_cast< int >(wxBORDER_NONE
)));
55621 SWIG_Python_SetConstant(d
, "BORDER_STATIC",SWIG_From_int(static_cast< int >(wxBORDER_STATIC
)));
55622 SWIG_Python_SetConstant(d
, "BORDER_SIMPLE",SWIG_From_int(static_cast< int >(wxBORDER_SIMPLE
)));
55623 SWIG_Python_SetConstant(d
, "BORDER_RAISED",SWIG_From_int(static_cast< int >(wxBORDER_RAISED
)));
55624 SWIG_Python_SetConstant(d
, "BORDER_SUNKEN",SWIG_From_int(static_cast< int >(wxBORDER_SUNKEN
)));
55625 SWIG_Python_SetConstant(d
, "BORDER_DOUBLE",SWIG_From_int(static_cast< int >(wxBORDER_DOUBLE
)));
55626 SWIG_Python_SetConstant(d
, "BORDER_MASK",SWIG_From_int(static_cast< int >(wxBORDER_MASK
)));
55627 SWIG_Python_SetConstant(d
, "BG_STYLE_SYSTEM",SWIG_From_int(static_cast< int >(wxBG_STYLE_SYSTEM
)));
55628 SWIG_Python_SetConstant(d
, "BG_STYLE_COLOUR",SWIG_From_int(static_cast< int >(wxBG_STYLE_COLOUR
)));
55629 SWIG_Python_SetConstant(d
, "BG_STYLE_CUSTOM",SWIG_From_int(static_cast< int >(wxBG_STYLE_CUSTOM
)));
55630 SWIG_Python_SetConstant(d
, "DEFAULT",SWIG_From_int(static_cast< int >(wxDEFAULT
)));
55631 SWIG_Python_SetConstant(d
, "DECORATIVE",SWIG_From_int(static_cast< int >(wxDECORATIVE
)));
55632 SWIG_Python_SetConstant(d
, "ROMAN",SWIG_From_int(static_cast< int >(wxROMAN
)));
55633 SWIG_Python_SetConstant(d
, "SCRIPT",SWIG_From_int(static_cast< int >(wxSCRIPT
)));
55634 SWIG_Python_SetConstant(d
, "SWISS",SWIG_From_int(static_cast< int >(wxSWISS
)));
55635 SWIG_Python_SetConstant(d
, "MODERN",SWIG_From_int(static_cast< int >(wxMODERN
)));
55636 SWIG_Python_SetConstant(d
, "TELETYPE",SWIG_From_int(static_cast< int >(wxTELETYPE
)));
55637 SWIG_Python_SetConstant(d
, "VARIABLE",SWIG_From_int(static_cast< int >(wxVARIABLE
)));
55638 SWIG_Python_SetConstant(d
, "FIXED",SWIG_From_int(static_cast< int >(wxFIXED
)));
55639 SWIG_Python_SetConstant(d
, "NORMAL",SWIG_From_int(static_cast< int >(wxNORMAL
)));
55640 SWIG_Python_SetConstant(d
, "LIGHT",SWIG_From_int(static_cast< int >(wxLIGHT
)));
55641 SWIG_Python_SetConstant(d
, "BOLD",SWIG_From_int(static_cast< int >(wxBOLD
)));
55642 SWIG_Python_SetConstant(d
, "ITALIC",SWIG_From_int(static_cast< int >(wxITALIC
)));
55643 SWIG_Python_SetConstant(d
, "SLANT",SWIG_From_int(static_cast< int >(wxSLANT
)));
55644 SWIG_Python_SetConstant(d
, "SOLID",SWIG_From_int(static_cast< int >(wxSOLID
)));
55645 SWIG_Python_SetConstant(d
, "DOT",SWIG_From_int(static_cast< int >(wxDOT
)));
55646 SWIG_Python_SetConstant(d
, "LONG_DASH",SWIG_From_int(static_cast< int >(wxLONG_DASH
)));
55647 SWIG_Python_SetConstant(d
, "SHORT_DASH",SWIG_From_int(static_cast< int >(wxSHORT_DASH
)));
55648 SWIG_Python_SetConstant(d
, "DOT_DASH",SWIG_From_int(static_cast< int >(wxDOT_DASH
)));
55649 SWIG_Python_SetConstant(d
, "USER_DASH",SWIG_From_int(static_cast< int >(wxUSER_DASH
)));
55650 SWIG_Python_SetConstant(d
, "TRANSPARENT",SWIG_From_int(static_cast< int >(wxTRANSPARENT
)));
55651 SWIG_Python_SetConstant(d
, "STIPPLE",SWIG_From_int(static_cast< int >(wxSTIPPLE
)));
55652 SWIG_Python_SetConstant(d
, "STIPPLE_MASK",SWIG_From_int(static_cast< int >(wxSTIPPLE_MASK
)));
55653 SWIG_Python_SetConstant(d
, "STIPPLE_MASK_OPAQUE",SWIG_From_int(static_cast< int >(wxSTIPPLE_MASK_OPAQUE
)));
55654 SWIG_Python_SetConstant(d
, "BDIAGONAL_HATCH",SWIG_From_int(static_cast< int >(wxBDIAGONAL_HATCH
)));
55655 SWIG_Python_SetConstant(d
, "CROSSDIAG_HATCH",SWIG_From_int(static_cast< int >(wxCROSSDIAG_HATCH
)));
55656 SWIG_Python_SetConstant(d
, "FDIAGONAL_HATCH",SWIG_From_int(static_cast< int >(wxFDIAGONAL_HATCH
)));
55657 SWIG_Python_SetConstant(d
, "CROSS_HATCH",SWIG_From_int(static_cast< int >(wxCROSS_HATCH
)));
55658 SWIG_Python_SetConstant(d
, "HORIZONTAL_HATCH",SWIG_From_int(static_cast< int >(wxHORIZONTAL_HATCH
)));
55659 SWIG_Python_SetConstant(d
, "VERTICAL_HATCH",SWIG_From_int(static_cast< int >(wxVERTICAL_HATCH
)));
55660 SWIG_Python_SetConstant(d
, "JOIN_BEVEL",SWIG_From_int(static_cast< int >(wxJOIN_BEVEL
)));
55661 SWIG_Python_SetConstant(d
, "JOIN_MITER",SWIG_From_int(static_cast< int >(wxJOIN_MITER
)));
55662 SWIG_Python_SetConstant(d
, "JOIN_ROUND",SWIG_From_int(static_cast< int >(wxJOIN_ROUND
)));
55663 SWIG_Python_SetConstant(d
, "CAP_ROUND",SWIG_From_int(static_cast< int >(wxCAP_ROUND
)));
55664 SWIG_Python_SetConstant(d
, "CAP_PROJECTING",SWIG_From_int(static_cast< int >(wxCAP_PROJECTING
)));
55665 SWIG_Python_SetConstant(d
, "CAP_BUTT",SWIG_From_int(static_cast< int >(wxCAP_BUTT
)));
55666 SWIG_Python_SetConstant(d
, "CLEAR",SWIG_From_int(static_cast< int >(wxCLEAR
)));
55667 SWIG_Python_SetConstant(d
, "XOR",SWIG_From_int(static_cast< int >(wxXOR
)));
55668 SWIG_Python_SetConstant(d
, "INVERT",SWIG_From_int(static_cast< int >(wxINVERT
)));
55669 SWIG_Python_SetConstant(d
, "OR_REVERSE",SWIG_From_int(static_cast< int >(wxOR_REVERSE
)));
55670 SWIG_Python_SetConstant(d
, "AND_REVERSE",SWIG_From_int(static_cast< int >(wxAND_REVERSE
)));
55671 SWIG_Python_SetConstant(d
, "COPY",SWIG_From_int(static_cast< int >(wxCOPY
)));
55672 SWIG_Python_SetConstant(d
, "AND",SWIG_From_int(static_cast< int >(wxAND
)));
55673 SWIG_Python_SetConstant(d
, "AND_INVERT",SWIG_From_int(static_cast< int >(wxAND_INVERT
)));
55674 SWIG_Python_SetConstant(d
, "NO_OP",SWIG_From_int(static_cast< int >(wxNO_OP
)));
55675 SWIG_Python_SetConstant(d
, "NOR",SWIG_From_int(static_cast< int >(wxNOR
)));
55676 SWIG_Python_SetConstant(d
, "EQUIV",SWIG_From_int(static_cast< int >(wxEQUIV
)));
55677 SWIG_Python_SetConstant(d
, "SRC_INVERT",SWIG_From_int(static_cast< int >(wxSRC_INVERT
)));
55678 SWIG_Python_SetConstant(d
, "OR_INVERT",SWIG_From_int(static_cast< int >(wxOR_INVERT
)));
55679 SWIG_Python_SetConstant(d
, "NAND",SWIG_From_int(static_cast< int >(wxNAND
)));
55680 SWIG_Python_SetConstant(d
, "OR",SWIG_From_int(static_cast< int >(wxOR
)));
55681 SWIG_Python_SetConstant(d
, "SET",SWIG_From_int(static_cast< int >(wxSET
)));
55682 SWIG_Python_SetConstant(d
, "WXK_BACK",SWIG_From_int(static_cast< int >(WXK_BACK
)));
55683 SWIG_Python_SetConstant(d
, "WXK_TAB",SWIG_From_int(static_cast< int >(WXK_TAB
)));
55684 SWIG_Python_SetConstant(d
, "WXK_RETURN",SWIG_From_int(static_cast< int >(WXK_RETURN
)));
55685 SWIG_Python_SetConstant(d
, "WXK_ESCAPE",SWIG_From_int(static_cast< int >(WXK_ESCAPE
)));
55686 SWIG_Python_SetConstant(d
, "WXK_SPACE",SWIG_From_int(static_cast< int >(WXK_SPACE
)));
55687 SWIG_Python_SetConstant(d
, "WXK_DELETE",SWIG_From_int(static_cast< int >(WXK_DELETE
)));
55688 SWIG_Python_SetConstant(d
, "WXK_START",SWIG_From_int(static_cast< int >(WXK_START
)));
55689 SWIG_Python_SetConstant(d
, "WXK_LBUTTON",SWIG_From_int(static_cast< int >(WXK_LBUTTON
)));
55690 SWIG_Python_SetConstant(d
, "WXK_RBUTTON",SWIG_From_int(static_cast< int >(WXK_RBUTTON
)));
55691 SWIG_Python_SetConstant(d
, "WXK_CANCEL",SWIG_From_int(static_cast< int >(WXK_CANCEL
)));
55692 SWIG_Python_SetConstant(d
, "WXK_MBUTTON",SWIG_From_int(static_cast< int >(WXK_MBUTTON
)));
55693 SWIG_Python_SetConstant(d
, "WXK_CLEAR",SWIG_From_int(static_cast< int >(WXK_CLEAR
)));
55694 SWIG_Python_SetConstant(d
, "WXK_SHIFT",SWIG_From_int(static_cast< int >(WXK_SHIFT
)));
55695 SWIG_Python_SetConstant(d
, "WXK_ALT",SWIG_From_int(static_cast< int >(WXK_ALT
)));
55696 SWIG_Python_SetConstant(d
, "WXK_CONTROL",SWIG_From_int(static_cast< int >(WXK_CONTROL
)));
55697 SWIG_Python_SetConstant(d
, "WXK_MENU",SWIG_From_int(static_cast< int >(WXK_MENU
)));
55698 SWIG_Python_SetConstant(d
, "WXK_PAUSE",SWIG_From_int(static_cast< int >(WXK_PAUSE
)));
55699 SWIG_Python_SetConstant(d
, "WXK_CAPITAL",SWIG_From_int(static_cast< int >(WXK_CAPITAL
)));
55700 SWIG_Python_SetConstant(d
, "WXK_PRIOR",SWIG_From_int(static_cast< int >(WXK_PRIOR
)));
55701 SWIG_Python_SetConstant(d
, "WXK_NEXT",SWIG_From_int(static_cast< int >(WXK_NEXT
)));
55702 SWIG_Python_SetConstant(d
, "WXK_END",SWIG_From_int(static_cast< int >(WXK_END
)));
55703 SWIG_Python_SetConstant(d
, "WXK_HOME",SWIG_From_int(static_cast< int >(WXK_HOME
)));
55704 SWIG_Python_SetConstant(d
, "WXK_LEFT",SWIG_From_int(static_cast< int >(WXK_LEFT
)));
55705 SWIG_Python_SetConstant(d
, "WXK_UP",SWIG_From_int(static_cast< int >(WXK_UP
)));
55706 SWIG_Python_SetConstant(d
, "WXK_RIGHT",SWIG_From_int(static_cast< int >(WXK_RIGHT
)));
55707 SWIG_Python_SetConstant(d
, "WXK_DOWN",SWIG_From_int(static_cast< int >(WXK_DOWN
)));
55708 SWIG_Python_SetConstant(d
, "WXK_SELECT",SWIG_From_int(static_cast< int >(WXK_SELECT
)));
55709 SWIG_Python_SetConstant(d
, "WXK_PRINT",SWIG_From_int(static_cast< int >(WXK_PRINT
)));
55710 SWIG_Python_SetConstant(d
, "WXK_EXECUTE",SWIG_From_int(static_cast< int >(WXK_EXECUTE
)));
55711 SWIG_Python_SetConstant(d
, "WXK_SNAPSHOT",SWIG_From_int(static_cast< int >(WXK_SNAPSHOT
)));
55712 SWIG_Python_SetConstant(d
, "WXK_INSERT",SWIG_From_int(static_cast< int >(WXK_INSERT
)));
55713 SWIG_Python_SetConstant(d
, "WXK_HELP",SWIG_From_int(static_cast< int >(WXK_HELP
)));
55714 SWIG_Python_SetConstant(d
, "WXK_NUMPAD0",SWIG_From_int(static_cast< int >(WXK_NUMPAD0
)));
55715 SWIG_Python_SetConstant(d
, "WXK_NUMPAD1",SWIG_From_int(static_cast< int >(WXK_NUMPAD1
)));
55716 SWIG_Python_SetConstant(d
, "WXK_NUMPAD2",SWIG_From_int(static_cast< int >(WXK_NUMPAD2
)));
55717 SWIG_Python_SetConstant(d
, "WXK_NUMPAD3",SWIG_From_int(static_cast< int >(WXK_NUMPAD3
)));
55718 SWIG_Python_SetConstant(d
, "WXK_NUMPAD4",SWIG_From_int(static_cast< int >(WXK_NUMPAD4
)));
55719 SWIG_Python_SetConstant(d
, "WXK_NUMPAD5",SWIG_From_int(static_cast< int >(WXK_NUMPAD5
)));
55720 SWIG_Python_SetConstant(d
, "WXK_NUMPAD6",SWIG_From_int(static_cast< int >(WXK_NUMPAD6
)));
55721 SWIG_Python_SetConstant(d
, "WXK_NUMPAD7",SWIG_From_int(static_cast< int >(WXK_NUMPAD7
)));
55722 SWIG_Python_SetConstant(d
, "WXK_NUMPAD8",SWIG_From_int(static_cast< int >(WXK_NUMPAD8
)));
55723 SWIG_Python_SetConstant(d
, "WXK_NUMPAD9",SWIG_From_int(static_cast< int >(WXK_NUMPAD9
)));
55724 SWIG_Python_SetConstant(d
, "WXK_MULTIPLY",SWIG_From_int(static_cast< int >(WXK_MULTIPLY
)));
55725 SWIG_Python_SetConstant(d
, "WXK_ADD",SWIG_From_int(static_cast< int >(WXK_ADD
)));
55726 SWIG_Python_SetConstant(d
, "WXK_SEPARATOR",SWIG_From_int(static_cast< int >(WXK_SEPARATOR
)));
55727 SWIG_Python_SetConstant(d
, "WXK_SUBTRACT",SWIG_From_int(static_cast< int >(WXK_SUBTRACT
)));
55728 SWIG_Python_SetConstant(d
, "WXK_DECIMAL",SWIG_From_int(static_cast< int >(WXK_DECIMAL
)));
55729 SWIG_Python_SetConstant(d
, "WXK_DIVIDE",SWIG_From_int(static_cast< int >(WXK_DIVIDE
)));
55730 SWIG_Python_SetConstant(d
, "WXK_F1",SWIG_From_int(static_cast< int >(WXK_F1
)));
55731 SWIG_Python_SetConstant(d
, "WXK_F2",SWIG_From_int(static_cast< int >(WXK_F2
)));
55732 SWIG_Python_SetConstant(d
, "WXK_F3",SWIG_From_int(static_cast< int >(WXK_F3
)));
55733 SWIG_Python_SetConstant(d
, "WXK_F4",SWIG_From_int(static_cast< int >(WXK_F4
)));
55734 SWIG_Python_SetConstant(d
, "WXK_F5",SWIG_From_int(static_cast< int >(WXK_F5
)));
55735 SWIG_Python_SetConstant(d
, "WXK_F6",SWIG_From_int(static_cast< int >(WXK_F6
)));
55736 SWIG_Python_SetConstant(d
, "WXK_F7",SWIG_From_int(static_cast< int >(WXK_F7
)));
55737 SWIG_Python_SetConstant(d
, "WXK_F8",SWIG_From_int(static_cast< int >(WXK_F8
)));
55738 SWIG_Python_SetConstant(d
, "WXK_F9",SWIG_From_int(static_cast< int >(WXK_F9
)));
55739 SWIG_Python_SetConstant(d
, "WXK_F10",SWIG_From_int(static_cast< int >(WXK_F10
)));
55740 SWIG_Python_SetConstant(d
, "WXK_F11",SWIG_From_int(static_cast< int >(WXK_F11
)));
55741 SWIG_Python_SetConstant(d
, "WXK_F12",SWIG_From_int(static_cast< int >(WXK_F12
)));
55742 SWIG_Python_SetConstant(d
, "WXK_F13",SWIG_From_int(static_cast< int >(WXK_F13
)));
55743 SWIG_Python_SetConstant(d
, "WXK_F14",SWIG_From_int(static_cast< int >(WXK_F14
)));
55744 SWIG_Python_SetConstant(d
, "WXK_F15",SWIG_From_int(static_cast< int >(WXK_F15
)));
55745 SWIG_Python_SetConstant(d
, "WXK_F16",SWIG_From_int(static_cast< int >(WXK_F16
)));
55746 SWIG_Python_SetConstant(d
, "WXK_F17",SWIG_From_int(static_cast< int >(WXK_F17
)));
55747 SWIG_Python_SetConstant(d
, "WXK_F18",SWIG_From_int(static_cast< int >(WXK_F18
)));
55748 SWIG_Python_SetConstant(d
, "WXK_F19",SWIG_From_int(static_cast< int >(WXK_F19
)));
55749 SWIG_Python_SetConstant(d
, "WXK_F20",SWIG_From_int(static_cast< int >(WXK_F20
)));
55750 SWIG_Python_SetConstant(d
, "WXK_F21",SWIG_From_int(static_cast< int >(WXK_F21
)));
55751 SWIG_Python_SetConstant(d
, "WXK_F22",SWIG_From_int(static_cast< int >(WXK_F22
)));
55752 SWIG_Python_SetConstant(d
, "WXK_F23",SWIG_From_int(static_cast< int >(WXK_F23
)));
55753 SWIG_Python_SetConstant(d
, "WXK_F24",SWIG_From_int(static_cast< int >(WXK_F24
)));
55754 SWIG_Python_SetConstant(d
, "WXK_NUMLOCK",SWIG_From_int(static_cast< int >(WXK_NUMLOCK
)));
55755 SWIG_Python_SetConstant(d
, "WXK_SCROLL",SWIG_From_int(static_cast< int >(WXK_SCROLL
)));
55756 SWIG_Python_SetConstant(d
, "WXK_PAGEUP",SWIG_From_int(static_cast< int >(WXK_PAGEUP
)));
55757 SWIG_Python_SetConstant(d
, "WXK_PAGEDOWN",SWIG_From_int(static_cast< int >(WXK_PAGEDOWN
)));
55758 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_SPACE",SWIG_From_int(static_cast< int >(WXK_NUMPAD_SPACE
)));
55759 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_TAB",SWIG_From_int(static_cast< int >(WXK_NUMPAD_TAB
)));
55760 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_ENTER",SWIG_From_int(static_cast< int >(WXK_NUMPAD_ENTER
)));
55761 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_F1",SWIG_From_int(static_cast< int >(WXK_NUMPAD_F1
)));
55762 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_F2",SWIG_From_int(static_cast< int >(WXK_NUMPAD_F2
)));
55763 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_F3",SWIG_From_int(static_cast< int >(WXK_NUMPAD_F3
)));
55764 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_F4",SWIG_From_int(static_cast< int >(WXK_NUMPAD_F4
)));
55765 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_HOME",SWIG_From_int(static_cast< int >(WXK_NUMPAD_HOME
)));
55766 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_LEFT",SWIG_From_int(static_cast< int >(WXK_NUMPAD_LEFT
)));
55767 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_UP",SWIG_From_int(static_cast< int >(WXK_NUMPAD_UP
)));
55768 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_RIGHT",SWIG_From_int(static_cast< int >(WXK_NUMPAD_RIGHT
)));
55769 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_DOWN",SWIG_From_int(static_cast< int >(WXK_NUMPAD_DOWN
)));
55770 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_PRIOR",SWIG_From_int(static_cast< int >(WXK_NUMPAD_PRIOR
)));
55771 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_PAGEUP",SWIG_From_int(static_cast< int >(WXK_NUMPAD_PAGEUP
)));
55772 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_NEXT",SWIG_From_int(static_cast< int >(WXK_NUMPAD_NEXT
)));
55773 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_PAGEDOWN",SWIG_From_int(static_cast< int >(WXK_NUMPAD_PAGEDOWN
)));
55774 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_END",SWIG_From_int(static_cast< int >(WXK_NUMPAD_END
)));
55775 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_BEGIN",SWIG_From_int(static_cast< int >(WXK_NUMPAD_BEGIN
)));
55776 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_INSERT",SWIG_From_int(static_cast< int >(WXK_NUMPAD_INSERT
)));
55777 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_DELETE",SWIG_From_int(static_cast< int >(WXK_NUMPAD_DELETE
)));
55778 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_EQUAL",SWIG_From_int(static_cast< int >(WXK_NUMPAD_EQUAL
)));
55779 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_MULTIPLY",SWIG_From_int(static_cast< int >(WXK_NUMPAD_MULTIPLY
)));
55780 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_ADD",SWIG_From_int(static_cast< int >(WXK_NUMPAD_ADD
)));
55781 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_SEPARATOR",SWIG_From_int(static_cast< int >(WXK_NUMPAD_SEPARATOR
)));
55782 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_SUBTRACT",SWIG_From_int(static_cast< int >(WXK_NUMPAD_SUBTRACT
)));
55783 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_DECIMAL",SWIG_From_int(static_cast< int >(WXK_NUMPAD_DECIMAL
)));
55784 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_DIVIDE",SWIG_From_int(static_cast< int >(WXK_NUMPAD_DIVIDE
)));
55785 SWIG_Python_SetConstant(d
, "WXK_WINDOWS_LEFT",SWIG_From_int(static_cast< int >(WXK_WINDOWS_LEFT
)));
55786 SWIG_Python_SetConstant(d
, "WXK_WINDOWS_RIGHT",SWIG_From_int(static_cast< int >(WXK_WINDOWS_RIGHT
)));
55787 SWIG_Python_SetConstant(d
, "WXK_WINDOWS_MENU",SWIG_From_int(static_cast< int >(WXK_WINDOWS_MENU
)));
55788 SWIG_Python_SetConstant(d
, "WXK_COMMAND",SWIG_From_int(static_cast< int >(WXK_COMMAND
)));
55789 SWIG_Python_SetConstant(d
, "WXK_SPECIAL1",SWIG_From_int(static_cast< int >(WXK_SPECIAL1
)));
55790 SWIG_Python_SetConstant(d
, "WXK_SPECIAL2",SWIG_From_int(static_cast< int >(WXK_SPECIAL2
)));
55791 SWIG_Python_SetConstant(d
, "WXK_SPECIAL3",SWIG_From_int(static_cast< int >(WXK_SPECIAL3
)));
55792 SWIG_Python_SetConstant(d
, "WXK_SPECIAL4",SWIG_From_int(static_cast< int >(WXK_SPECIAL4
)));
55793 SWIG_Python_SetConstant(d
, "WXK_SPECIAL5",SWIG_From_int(static_cast< int >(WXK_SPECIAL5
)));
55794 SWIG_Python_SetConstant(d
, "WXK_SPECIAL6",SWIG_From_int(static_cast< int >(WXK_SPECIAL6
)));
55795 SWIG_Python_SetConstant(d
, "WXK_SPECIAL7",SWIG_From_int(static_cast< int >(WXK_SPECIAL7
)));
55796 SWIG_Python_SetConstant(d
, "WXK_SPECIAL8",SWIG_From_int(static_cast< int >(WXK_SPECIAL8
)));
55797 SWIG_Python_SetConstant(d
, "WXK_SPECIAL9",SWIG_From_int(static_cast< int >(WXK_SPECIAL9
)));
55798 SWIG_Python_SetConstant(d
, "WXK_SPECIAL10",SWIG_From_int(static_cast< int >(WXK_SPECIAL10
)));
55799 SWIG_Python_SetConstant(d
, "WXK_SPECIAL11",SWIG_From_int(static_cast< int >(WXK_SPECIAL11
)));
55800 SWIG_Python_SetConstant(d
, "WXK_SPECIAL12",SWIG_From_int(static_cast< int >(WXK_SPECIAL12
)));
55801 SWIG_Python_SetConstant(d
, "WXK_SPECIAL13",SWIG_From_int(static_cast< int >(WXK_SPECIAL13
)));
55802 SWIG_Python_SetConstant(d
, "WXK_SPECIAL14",SWIG_From_int(static_cast< int >(WXK_SPECIAL14
)));
55803 SWIG_Python_SetConstant(d
, "WXK_SPECIAL15",SWIG_From_int(static_cast< int >(WXK_SPECIAL15
)));
55804 SWIG_Python_SetConstant(d
, "WXK_SPECIAL16",SWIG_From_int(static_cast< int >(WXK_SPECIAL16
)));
55805 SWIG_Python_SetConstant(d
, "WXK_SPECIAL17",SWIG_From_int(static_cast< int >(WXK_SPECIAL17
)));
55806 SWIG_Python_SetConstant(d
, "WXK_SPECIAL18",SWIG_From_int(static_cast< int >(WXK_SPECIAL18
)));
55807 SWIG_Python_SetConstant(d
, "WXK_SPECIAL19",SWIG_From_int(static_cast< int >(WXK_SPECIAL19
)));
55808 SWIG_Python_SetConstant(d
, "WXK_SPECIAL20",SWIG_From_int(static_cast< int >(WXK_SPECIAL20
)));
55809 SWIG_Python_SetConstant(d
, "PAPER_NONE",SWIG_From_int(static_cast< int >(wxPAPER_NONE
)));
55810 SWIG_Python_SetConstant(d
, "PAPER_LETTER",SWIG_From_int(static_cast< int >(wxPAPER_LETTER
)));
55811 SWIG_Python_SetConstant(d
, "PAPER_LEGAL",SWIG_From_int(static_cast< int >(wxPAPER_LEGAL
)));
55812 SWIG_Python_SetConstant(d
, "PAPER_A4",SWIG_From_int(static_cast< int >(wxPAPER_A4
)));
55813 SWIG_Python_SetConstant(d
, "PAPER_CSHEET",SWIG_From_int(static_cast< int >(wxPAPER_CSHEET
)));
55814 SWIG_Python_SetConstant(d
, "PAPER_DSHEET",SWIG_From_int(static_cast< int >(wxPAPER_DSHEET
)));
55815 SWIG_Python_SetConstant(d
, "PAPER_ESHEET",SWIG_From_int(static_cast< int >(wxPAPER_ESHEET
)));
55816 SWIG_Python_SetConstant(d
, "PAPER_LETTERSMALL",SWIG_From_int(static_cast< int >(wxPAPER_LETTERSMALL
)));
55817 SWIG_Python_SetConstant(d
, "PAPER_TABLOID",SWIG_From_int(static_cast< int >(wxPAPER_TABLOID
)));
55818 SWIG_Python_SetConstant(d
, "PAPER_LEDGER",SWIG_From_int(static_cast< int >(wxPAPER_LEDGER
)));
55819 SWIG_Python_SetConstant(d
, "PAPER_STATEMENT",SWIG_From_int(static_cast< int >(wxPAPER_STATEMENT
)));
55820 SWIG_Python_SetConstant(d
, "PAPER_EXECUTIVE",SWIG_From_int(static_cast< int >(wxPAPER_EXECUTIVE
)));
55821 SWIG_Python_SetConstant(d
, "PAPER_A3",SWIG_From_int(static_cast< int >(wxPAPER_A3
)));
55822 SWIG_Python_SetConstant(d
, "PAPER_A4SMALL",SWIG_From_int(static_cast< int >(wxPAPER_A4SMALL
)));
55823 SWIG_Python_SetConstant(d
, "PAPER_A5",SWIG_From_int(static_cast< int >(wxPAPER_A5
)));
55824 SWIG_Python_SetConstant(d
, "PAPER_B4",SWIG_From_int(static_cast< int >(wxPAPER_B4
)));
55825 SWIG_Python_SetConstant(d
, "PAPER_B5",SWIG_From_int(static_cast< int >(wxPAPER_B5
)));
55826 SWIG_Python_SetConstant(d
, "PAPER_FOLIO",SWIG_From_int(static_cast< int >(wxPAPER_FOLIO
)));
55827 SWIG_Python_SetConstant(d
, "PAPER_QUARTO",SWIG_From_int(static_cast< int >(wxPAPER_QUARTO
)));
55828 SWIG_Python_SetConstant(d
, "PAPER_10X14",SWIG_From_int(static_cast< int >(wxPAPER_10X14
)));
55829 SWIG_Python_SetConstant(d
, "PAPER_11X17",SWIG_From_int(static_cast< int >(wxPAPER_11X17
)));
55830 SWIG_Python_SetConstant(d
, "PAPER_NOTE",SWIG_From_int(static_cast< int >(wxPAPER_NOTE
)));
55831 SWIG_Python_SetConstant(d
, "PAPER_ENV_9",SWIG_From_int(static_cast< int >(wxPAPER_ENV_9
)));
55832 SWIG_Python_SetConstant(d
, "PAPER_ENV_10",SWIG_From_int(static_cast< int >(wxPAPER_ENV_10
)));
55833 SWIG_Python_SetConstant(d
, "PAPER_ENV_11",SWIG_From_int(static_cast< int >(wxPAPER_ENV_11
)));
55834 SWIG_Python_SetConstant(d
, "PAPER_ENV_12",SWIG_From_int(static_cast< int >(wxPAPER_ENV_12
)));
55835 SWIG_Python_SetConstant(d
, "PAPER_ENV_14",SWIG_From_int(static_cast< int >(wxPAPER_ENV_14
)));
55836 SWIG_Python_SetConstant(d
, "PAPER_ENV_DL",SWIG_From_int(static_cast< int >(wxPAPER_ENV_DL
)));
55837 SWIG_Python_SetConstant(d
, "PAPER_ENV_C5",SWIG_From_int(static_cast< int >(wxPAPER_ENV_C5
)));
55838 SWIG_Python_SetConstant(d
, "PAPER_ENV_C3",SWIG_From_int(static_cast< int >(wxPAPER_ENV_C3
)));
55839 SWIG_Python_SetConstant(d
, "PAPER_ENV_C4",SWIG_From_int(static_cast< int >(wxPAPER_ENV_C4
)));
55840 SWIG_Python_SetConstant(d
, "PAPER_ENV_C6",SWIG_From_int(static_cast< int >(wxPAPER_ENV_C6
)));
55841 SWIG_Python_SetConstant(d
, "PAPER_ENV_C65",SWIG_From_int(static_cast< int >(wxPAPER_ENV_C65
)));
55842 SWIG_Python_SetConstant(d
, "PAPER_ENV_B4",SWIG_From_int(static_cast< int >(wxPAPER_ENV_B4
)));
55843 SWIG_Python_SetConstant(d
, "PAPER_ENV_B5",SWIG_From_int(static_cast< int >(wxPAPER_ENV_B5
)));
55844 SWIG_Python_SetConstant(d
, "PAPER_ENV_B6",SWIG_From_int(static_cast< int >(wxPAPER_ENV_B6
)));
55845 SWIG_Python_SetConstant(d
, "PAPER_ENV_ITALY",SWIG_From_int(static_cast< int >(wxPAPER_ENV_ITALY
)));
55846 SWIG_Python_SetConstant(d
, "PAPER_ENV_MONARCH",SWIG_From_int(static_cast< int >(wxPAPER_ENV_MONARCH
)));
55847 SWIG_Python_SetConstant(d
, "PAPER_ENV_PERSONAL",SWIG_From_int(static_cast< int >(wxPAPER_ENV_PERSONAL
)));
55848 SWIG_Python_SetConstant(d
, "PAPER_FANFOLD_US",SWIG_From_int(static_cast< int >(wxPAPER_FANFOLD_US
)));
55849 SWIG_Python_SetConstant(d
, "PAPER_FANFOLD_STD_GERMAN",SWIG_From_int(static_cast< int >(wxPAPER_FANFOLD_STD_GERMAN
)));
55850 SWIG_Python_SetConstant(d
, "PAPER_FANFOLD_LGL_GERMAN",SWIG_From_int(static_cast< int >(wxPAPER_FANFOLD_LGL_GERMAN
)));
55851 SWIG_Python_SetConstant(d
, "PAPER_ISO_B4",SWIG_From_int(static_cast< int >(wxPAPER_ISO_B4
)));
55852 SWIG_Python_SetConstant(d
, "PAPER_JAPANESE_POSTCARD",SWIG_From_int(static_cast< int >(wxPAPER_JAPANESE_POSTCARD
)));
55853 SWIG_Python_SetConstant(d
, "PAPER_9X11",SWIG_From_int(static_cast< int >(wxPAPER_9X11
)));
55854 SWIG_Python_SetConstant(d
, "PAPER_10X11",SWIG_From_int(static_cast< int >(wxPAPER_10X11
)));
55855 SWIG_Python_SetConstant(d
, "PAPER_15X11",SWIG_From_int(static_cast< int >(wxPAPER_15X11
)));
55856 SWIG_Python_SetConstant(d
, "PAPER_ENV_INVITE",SWIG_From_int(static_cast< int >(wxPAPER_ENV_INVITE
)));
55857 SWIG_Python_SetConstant(d
, "PAPER_LETTER_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_LETTER_EXTRA
)));
55858 SWIG_Python_SetConstant(d
, "PAPER_LEGAL_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_LEGAL_EXTRA
)));
55859 SWIG_Python_SetConstant(d
, "PAPER_TABLOID_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_TABLOID_EXTRA
)));
55860 SWIG_Python_SetConstant(d
, "PAPER_A4_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_A4_EXTRA
)));
55861 SWIG_Python_SetConstant(d
, "PAPER_LETTER_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_LETTER_TRANSVERSE
)));
55862 SWIG_Python_SetConstant(d
, "PAPER_A4_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_A4_TRANSVERSE
)));
55863 SWIG_Python_SetConstant(d
, "PAPER_LETTER_EXTRA_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_LETTER_EXTRA_TRANSVERSE
)));
55864 SWIG_Python_SetConstant(d
, "PAPER_A_PLUS",SWIG_From_int(static_cast< int >(wxPAPER_A_PLUS
)));
55865 SWIG_Python_SetConstant(d
, "PAPER_B_PLUS",SWIG_From_int(static_cast< int >(wxPAPER_B_PLUS
)));
55866 SWIG_Python_SetConstant(d
, "PAPER_LETTER_PLUS",SWIG_From_int(static_cast< int >(wxPAPER_LETTER_PLUS
)));
55867 SWIG_Python_SetConstant(d
, "PAPER_A4_PLUS",SWIG_From_int(static_cast< int >(wxPAPER_A4_PLUS
)));
55868 SWIG_Python_SetConstant(d
, "PAPER_A5_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_A5_TRANSVERSE
)));
55869 SWIG_Python_SetConstant(d
, "PAPER_B5_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_B5_TRANSVERSE
)));
55870 SWIG_Python_SetConstant(d
, "PAPER_A3_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_A3_EXTRA
)));
55871 SWIG_Python_SetConstant(d
, "PAPER_A5_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_A5_EXTRA
)));
55872 SWIG_Python_SetConstant(d
, "PAPER_B5_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_B5_EXTRA
)));
55873 SWIG_Python_SetConstant(d
, "PAPER_A2",SWIG_From_int(static_cast< int >(wxPAPER_A2
)));
55874 SWIG_Python_SetConstant(d
, "PAPER_A3_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_A3_TRANSVERSE
)));
55875 SWIG_Python_SetConstant(d
, "PAPER_A3_EXTRA_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_A3_EXTRA_TRANSVERSE
)));
55876 SWIG_Python_SetConstant(d
, "PAPER_DBL_JAPANESE_POSTCARD",SWIG_From_int(static_cast< int >(wxPAPER_DBL_JAPANESE_POSTCARD
)));
55877 SWIG_Python_SetConstant(d
, "PAPER_A6",SWIG_From_int(static_cast< int >(wxPAPER_A6
)));
55878 SWIG_Python_SetConstant(d
, "PAPER_JENV_KAKU2",SWIG_From_int(static_cast< int >(wxPAPER_JENV_KAKU2
)));
55879 SWIG_Python_SetConstant(d
, "PAPER_JENV_KAKU3",SWIG_From_int(static_cast< int >(wxPAPER_JENV_KAKU3
)));
55880 SWIG_Python_SetConstant(d
, "PAPER_JENV_CHOU3",SWIG_From_int(static_cast< int >(wxPAPER_JENV_CHOU3
)));
55881 SWIG_Python_SetConstant(d
, "PAPER_JENV_CHOU4",SWIG_From_int(static_cast< int >(wxPAPER_JENV_CHOU4
)));
55882 SWIG_Python_SetConstant(d
, "PAPER_LETTER_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_LETTER_ROTATED
)));
55883 SWIG_Python_SetConstant(d
, "PAPER_A3_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_A3_ROTATED
)));
55884 SWIG_Python_SetConstant(d
, "PAPER_A4_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_A4_ROTATED
)));
55885 SWIG_Python_SetConstant(d
, "PAPER_A5_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_A5_ROTATED
)));
55886 SWIG_Python_SetConstant(d
, "PAPER_B4_JIS_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_B4_JIS_ROTATED
)));
55887 SWIG_Python_SetConstant(d
, "PAPER_B5_JIS_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_B5_JIS_ROTATED
)));
55888 SWIG_Python_SetConstant(d
, "PAPER_JAPANESE_POSTCARD_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_JAPANESE_POSTCARD_ROTATED
)));
55889 SWIG_Python_SetConstant(d
, "PAPER_DBL_JAPANESE_POSTCARD_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_DBL_JAPANESE_POSTCARD_ROTATED
)));
55890 SWIG_Python_SetConstant(d
, "PAPER_A6_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_A6_ROTATED
)));
55891 SWIG_Python_SetConstant(d
, "PAPER_JENV_KAKU2_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_JENV_KAKU2_ROTATED
)));
55892 SWIG_Python_SetConstant(d
, "PAPER_JENV_KAKU3_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_JENV_KAKU3_ROTATED
)));
55893 SWIG_Python_SetConstant(d
, "PAPER_JENV_CHOU3_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_JENV_CHOU3_ROTATED
)));
55894 SWIG_Python_SetConstant(d
, "PAPER_JENV_CHOU4_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_JENV_CHOU4_ROTATED
)));
55895 SWIG_Python_SetConstant(d
, "PAPER_B6_JIS",SWIG_From_int(static_cast< int >(wxPAPER_B6_JIS
)));
55896 SWIG_Python_SetConstant(d
, "PAPER_B6_JIS_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_B6_JIS_ROTATED
)));
55897 SWIG_Python_SetConstant(d
, "PAPER_12X11",SWIG_From_int(static_cast< int >(wxPAPER_12X11
)));
55898 SWIG_Python_SetConstant(d
, "PAPER_JENV_YOU4",SWIG_From_int(static_cast< int >(wxPAPER_JENV_YOU4
)));
55899 SWIG_Python_SetConstant(d
, "PAPER_JENV_YOU4_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_JENV_YOU4_ROTATED
)));
55900 SWIG_Python_SetConstant(d
, "PAPER_P16K",SWIG_From_int(static_cast< int >(wxPAPER_P16K
)));
55901 SWIG_Python_SetConstant(d
, "PAPER_P32K",SWIG_From_int(static_cast< int >(wxPAPER_P32K
)));
55902 SWIG_Python_SetConstant(d
, "PAPER_P32KBIG",SWIG_From_int(static_cast< int >(wxPAPER_P32KBIG
)));
55903 SWIG_Python_SetConstant(d
, "PAPER_PENV_1",SWIG_From_int(static_cast< int >(wxPAPER_PENV_1
)));
55904 SWIG_Python_SetConstant(d
, "PAPER_PENV_2",SWIG_From_int(static_cast< int >(wxPAPER_PENV_2
)));
55905 SWIG_Python_SetConstant(d
, "PAPER_PENV_3",SWIG_From_int(static_cast< int >(wxPAPER_PENV_3
)));
55906 SWIG_Python_SetConstant(d
, "PAPER_PENV_4",SWIG_From_int(static_cast< int >(wxPAPER_PENV_4
)));
55907 SWIG_Python_SetConstant(d
, "PAPER_PENV_5",SWIG_From_int(static_cast< int >(wxPAPER_PENV_5
)));
55908 SWIG_Python_SetConstant(d
, "PAPER_PENV_6",SWIG_From_int(static_cast< int >(wxPAPER_PENV_6
)));
55909 SWIG_Python_SetConstant(d
, "PAPER_PENV_7",SWIG_From_int(static_cast< int >(wxPAPER_PENV_7
)));
55910 SWIG_Python_SetConstant(d
, "PAPER_PENV_8",SWIG_From_int(static_cast< int >(wxPAPER_PENV_8
)));
55911 SWIG_Python_SetConstant(d
, "PAPER_PENV_9",SWIG_From_int(static_cast< int >(wxPAPER_PENV_9
)));
55912 SWIG_Python_SetConstant(d
, "PAPER_PENV_10",SWIG_From_int(static_cast< int >(wxPAPER_PENV_10
)));
55913 SWIG_Python_SetConstant(d
, "PAPER_P16K_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_P16K_ROTATED
)));
55914 SWIG_Python_SetConstant(d
, "PAPER_P32K_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_P32K_ROTATED
)));
55915 SWIG_Python_SetConstant(d
, "PAPER_P32KBIG_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_P32KBIG_ROTATED
)));
55916 SWIG_Python_SetConstant(d
, "PAPER_PENV_1_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_1_ROTATED
)));
55917 SWIG_Python_SetConstant(d
, "PAPER_PENV_2_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_2_ROTATED
)));
55918 SWIG_Python_SetConstant(d
, "PAPER_PENV_3_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_3_ROTATED
)));
55919 SWIG_Python_SetConstant(d
, "PAPER_PENV_4_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_4_ROTATED
)));
55920 SWIG_Python_SetConstant(d
, "PAPER_PENV_5_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_5_ROTATED
)));
55921 SWIG_Python_SetConstant(d
, "PAPER_PENV_6_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_6_ROTATED
)));
55922 SWIG_Python_SetConstant(d
, "PAPER_PENV_7_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_7_ROTATED
)));
55923 SWIG_Python_SetConstant(d
, "PAPER_PENV_8_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_8_ROTATED
)));
55924 SWIG_Python_SetConstant(d
, "PAPER_PENV_9_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_9_ROTATED
)));
55925 SWIG_Python_SetConstant(d
, "PAPER_PENV_10_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_10_ROTATED
)));
55926 SWIG_Python_SetConstant(d
, "DUPLEX_SIMPLEX",SWIG_From_int(static_cast< int >(wxDUPLEX_SIMPLEX
)));
55927 SWIG_Python_SetConstant(d
, "DUPLEX_HORIZONTAL",SWIG_From_int(static_cast< int >(wxDUPLEX_HORIZONTAL
)));
55928 SWIG_Python_SetConstant(d
, "DUPLEX_VERTICAL",SWIG_From_int(static_cast< int >(wxDUPLEX_VERTICAL
)));
55929 SWIG_Python_SetConstant(d
, "ITEM_SEPARATOR",SWIG_From_int(static_cast< int >(wxITEM_SEPARATOR
)));
55930 SWIG_Python_SetConstant(d
, "ITEM_NORMAL",SWIG_From_int(static_cast< int >(wxITEM_NORMAL
)));
55931 SWIG_Python_SetConstant(d
, "ITEM_CHECK",SWIG_From_int(static_cast< int >(wxITEM_CHECK
)));
55932 SWIG_Python_SetConstant(d
, "ITEM_RADIO",SWIG_From_int(static_cast< int >(wxITEM_RADIO
)));
55933 SWIG_Python_SetConstant(d
, "ITEM_MAX",SWIG_From_int(static_cast< int >(wxITEM_MAX
)));
55934 SWIG_Python_SetConstant(d
, "HT_NOWHERE",SWIG_From_int(static_cast< int >(wxHT_NOWHERE
)));
55935 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_FIRST",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_FIRST
)));
55936 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_ARROW_LINE_1",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_ARROW_LINE_1
)));
55937 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_ARROW_LINE_2",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_ARROW_LINE_2
)));
55938 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_ARROW_PAGE_1",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_ARROW_PAGE_1
)));
55939 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_ARROW_PAGE_2",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_ARROW_PAGE_2
)));
55940 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_THUMB",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_THUMB
)));
55941 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_BAR_1",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_BAR_1
)));
55942 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_BAR_2",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_BAR_2
)));
55943 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_LAST",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_LAST
)));
55944 SWIG_Python_SetConstant(d
, "HT_WINDOW_OUTSIDE",SWIG_From_int(static_cast< int >(wxHT_WINDOW_OUTSIDE
)));
55945 SWIG_Python_SetConstant(d
, "HT_WINDOW_INSIDE",SWIG_From_int(static_cast< int >(wxHT_WINDOW_INSIDE
)));
55946 SWIG_Python_SetConstant(d
, "HT_WINDOW_VERT_SCROLLBAR",SWIG_From_int(static_cast< int >(wxHT_WINDOW_VERT_SCROLLBAR
)));
55947 SWIG_Python_SetConstant(d
, "HT_WINDOW_HORZ_SCROLLBAR",SWIG_From_int(static_cast< int >(wxHT_WINDOW_HORZ_SCROLLBAR
)));
55948 SWIG_Python_SetConstant(d
, "HT_WINDOW_CORNER",SWIG_From_int(static_cast< int >(wxHT_WINDOW_CORNER
)));
55949 SWIG_Python_SetConstant(d
, "HT_MAX",SWIG_From_int(static_cast< int >(wxHT_MAX
)));
55950 SWIG_Python_SetConstant(d
, "MOD_NONE",SWIG_From_int(static_cast< int >(wxMOD_NONE
)));
55951 SWIG_Python_SetConstant(d
, "MOD_ALT",SWIG_From_int(static_cast< int >(wxMOD_ALT
)));
55952 SWIG_Python_SetConstant(d
, "MOD_CONTROL",SWIG_From_int(static_cast< int >(wxMOD_CONTROL
)));
55953 SWIG_Python_SetConstant(d
, "MOD_ALTGR",SWIG_From_int(static_cast< int >(wxMOD_ALTGR
)));
55954 SWIG_Python_SetConstant(d
, "MOD_SHIFT",SWIG_From_int(static_cast< int >(wxMOD_SHIFT
)));
55955 SWIG_Python_SetConstant(d
, "MOD_META",SWIG_From_int(static_cast< int >(wxMOD_META
)));
55956 SWIG_Python_SetConstant(d
, "MOD_WIN",SWIG_From_int(static_cast< int >(wxMOD_WIN
)));
55957 SWIG_Python_SetConstant(d
, "MOD_CMD",SWIG_From_int(static_cast< int >(wxMOD_CMD
)));
55958 SWIG_Python_SetConstant(d
, "MOD_ALL",SWIG_From_int(static_cast< int >(wxMOD_ALL
)));
55959 SWIG_Python_SetConstant(d
, "UPDATE_UI_NONE",SWIG_From_int(static_cast< int >(wxUPDATE_UI_NONE
)));
55960 SWIG_Python_SetConstant(d
, "UPDATE_UI_RECURSE",SWIG_From_int(static_cast< int >(wxUPDATE_UI_RECURSE
)));
55961 SWIG_Python_SetConstant(d
, "UPDATE_UI_FROMIDLE",SWIG_From_int(static_cast< int >(wxUPDATE_UI_FROMIDLE
)));
55962 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
55963 SWIG_addvarlink(SWIG_globals(),(char*)"EmptyString",EmptyString_get
, EmptyString_set
);
55964 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_INVALID",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_INVALID
)));
55965 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_BMP",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_BMP
)));
55966 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_ICO",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_ICO
)));
55967 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_CUR",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_CUR
)));
55968 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_XBM",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_XBM
)));
55969 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_XBM_DATA",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_XBM_DATA
)));
55970 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_XPM",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_XPM
)));
55971 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_XPM_DATA",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_XPM_DATA
)));
55972 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_TIF",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_TIF
)));
55973 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_GIF",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_GIF
)));
55974 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_PNG",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_PNG
)));
55975 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_JPEG",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_JPEG
)));
55976 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_PNM",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_PNM
)));
55977 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_PCX",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_PCX
)));
55978 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_PICT",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_PICT
)));
55979 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_ICON",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_ICON
)));
55980 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_ANI",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_ANI
)));
55981 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_IFF",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_IFF
)));
55982 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_MACCURSOR",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_MACCURSOR
)));
55983 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_ANY",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_ANY
)));
55984 SWIG_Python_SetConstant(d
, "CURSOR_NONE",SWIG_From_int(static_cast< int >(wxCURSOR_NONE
)));
55985 SWIG_Python_SetConstant(d
, "CURSOR_ARROW",SWIG_From_int(static_cast< int >(wxCURSOR_ARROW
)));
55986 SWIG_Python_SetConstant(d
, "CURSOR_RIGHT_ARROW",SWIG_From_int(static_cast< int >(wxCURSOR_RIGHT_ARROW
)));
55987 SWIG_Python_SetConstant(d
, "CURSOR_BULLSEYE",SWIG_From_int(static_cast< int >(wxCURSOR_BULLSEYE
)));
55988 SWIG_Python_SetConstant(d
, "CURSOR_CHAR",SWIG_From_int(static_cast< int >(wxCURSOR_CHAR
)));
55989 SWIG_Python_SetConstant(d
, "CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxCURSOR_CROSS
)));
55990 SWIG_Python_SetConstant(d
, "CURSOR_HAND",SWIG_From_int(static_cast< int >(wxCURSOR_HAND
)));
55991 SWIG_Python_SetConstant(d
, "CURSOR_IBEAM",SWIG_From_int(static_cast< int >(wxCURSOR_IBEAM
)));
55992 SWIG_Python_SetConstant(d
, "CURSOR_LEFT_BUTTON",SWIG_From_int(static_cast< int >(wxCURSOR_LEFT_BUTTON
)));
55993 SWIG_Python_SetConstant(d
, "CURSOR_MAGNIFIER",SWIG_From_int(static_cast< int >(wxCURSOR_MAGNIFIER
)));
55994 SWIG_Python_SetConstant(d
, "CURSOR_MIDDLE_BUTTON",SWIG_From_int(static_cast< int >(wxCURSOR_MIDDLE_BUTTON
)));
55995 SWIG_Python_SetConstant(d
, "CURSOR_NO_ENTRY",SWIG_From_int(static_cast< int >(wxCURSOR_NO_ENTRY
)));
55996 SWIG_Python_SetConstant(d
, "CURSOR_PAINT_BRUSH",SWIG_From_int(static_cast< int >(wxCURSOR_PAINT_BRUSH
)));
55997 SWIG_Python_SetConstant(d
, "CURSOR_PENCIL",SWIG_From_int(static_cast< int >(wxCURSOR_PENCIL
)));
55998 SWIG_Python_SetConstant(d
, "CURSOR_POINT_LEFT",SWIG_From_int(static_cast< int >(wxCURSOR_POINT_LEFT
)));
55999 SWIG_Python_SetConstant(d
, "CURSOR_POINT_RIGHT",SWIG_From_int(static_cast< int >(wxCURSOR_POINT_RIGHT
)));
56000 SWIG_Python_SetConstant(d
, "CURSOR_QUESTION_ARROW",SWIG_From_int(static_cast< int >(wxCURSOR_QUESTION_ARROW
)));
56001 SWIG_Python_SetConstant(d
, "CURSOR_RIGHT_BUTTON",SWIG_From_int(static_cast< int >(wxCURSOR_RIGHT_BUTTON
)));
56002 SWIG_Python_SetConstant(d
, "CURSOR_SIZENESW",SWIG_From_int(static_cast< int >(wxCURSOR_SIZENESW
)));
56003 SWIG_Python_SetConstant(d
, "CURSOR_SIZENS",SWIG_From_int(static_cast< int >(wxCURSOR_SIZENS
)));
56004 SWIG_Python_SetConstant(d
, "CURSOR_SIZENWSE",SWIG_From_int(static_cast< int >(wxCURSOR_SIZENWSE
)));
56005 SWIG_Python_SetConstant(d
, "CURSOR_SIZEWE",SWIG_From_int(static_cast< int >(wxCURSOR_SIZEWE
)));
56006 SWIG_Python_SetConstant(d
, "CURSOR_SIZING",SWIG_From_int(static_cast< int >(wxCURSOR_SIZING
)));
56007 SWIG_Python_SetConstant(d
, "CURSOR_SPRAYCAN",SWIG_From_int(static_cast< int >(wxCURSOR_SPRAYCAN
)));
56008 SWIG_Python_SetConstant(d
, "CURSOR_WAIT",SWIG_From_int(static_cast< int >(wxCURSOR_WAIT
)));
56009 SWIG_Python_SetConstant(d
, "CURSOR_WATCH",SWIG_From_int(static_cast< int >(wxCURSOR_WATCH
)));
56010 SWIG_Python_SetConstant(d
, "CURSOR_BLANK",SWIG_From_int(static_cast< int >(wxCURSOR_BLANK
)));
56011 SWIG_Python_SetConstant(d
, "CURSOR_DEFAULT",SWIG_From_int(static_cast< int >(wxCURSOR_DEFAULT
)));
56012 SWIG_Python_SetConstant(d
, "CURSOR_COPY_ARROW",SWIG_From_int(static_cast< int >(wxCURSOR_COPY_ARROW
)));
56013 SWIG_Python_SetConstant(d
, "CURSOR_ARROWWAIT",SWIG_From_int(static_cast< int >(wxCURSOR_ARROWWAIT
)));
56014 SWIG_Python_SetConstant(d
, "CURSOR_MAX",SWIG_From_int(static_cast< int >(wxCURSOR_MAX
)));
56015 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultPosition",DefaultPosition_get
, DefaultPosition_set
);
56016 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultSize",DefaultSize_get
, DefaultSize_set
);
56017 SWIG_Python_SetConstant(d
, "FromStart",SWIG_From_int(static_cast< int >(wxFromStart
)));
56018 SWIG_Python_SetConstant(d
, "FromCurrent",SWIG_From_int(static_cast< int >(wxFromCurrent
)));
56019 SWIG_Python_SetConstant(d
, "FromEnd",SWIG_From_int(static_cast< int >(wxFromEnd
)));
56021 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
56024 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
56026 SWIG_Python_SetConstant(d
, "IMAGE_ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGE_ALPHA_TRANSPARENT
)));
56027 SWIG_Python_SetConstant(d
, "IMAGE_ALPHA_THRESHOLD",SWIG_From_int(static_cast< int >(wxIMAGE_ALPHA_THRESHOLD
)));
56028 SWIG_Python_SetConstant(d
, "IMAGE_ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxIMAGE_ALPHA_OPAQUE
)));
56029 SWIG_addvarlink(SWIG_globals(),(char*)"NullImage",NullImage_get
, NullImage_set
);
56030 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_FILENAME",IMAGE_OPTION_FILENAME_get
, IMAGE_OPTION_FILENAME_set
);
56031 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_BMP_FORMAT",IMAGE_OPTION_BMP_FORMAT_get
, IMAGE_OPTION_BMP_FORMAT_set
);
56032 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",IMAGE_OPTION_CUR_HOTSPOT_X_get
, IMAGE_OPTION_CUR_HOTSPOT_X_set
);
56033 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",IMAGE_OPTION_CUR_HOTSPOT_Y_get
, IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
56034 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_RESOLUTION",IMAGE_OPTION_RESOLUTION_get
, IMAGE_OPTION_RESOLUTION_set
);
56035 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_RESOLUTIONX",IMAGE_OPTION_RESOLUTIONX_get
, IMAGE_OPTION_RESOLUTIONX_set
);
56036 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_RESOLUTIONY",IMAGE_OPTION_RESOLUTIONY_get
, IMAGE_OPTION_RESOLUTIONY_set
);
56037 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_RESOLUTIONUNIT",IMAGE_OPTION_RESOLUTIONUNIT_get
, IMAGE_OPTION_RESOLUTIONUNIT_set
);
56038 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_QUALITY",IMAGE_OPTION_QUALITY_get
, IMAGE_OPTION_QUALITY_set
);
56039 SWIG_Python_SetConstant(d
, "IMAGE_RESOLUTION_INCHES",SWIG_From_int(static_cast< int >(wxIMAGE_RESOLUTION_INCHES
)));
56040 SWIG_Python_SetConstant(d
, "IMAGE_RESOLUTION_CM",SWIG_From_int(static_cast< int >(wxIMAGE_RESOLUTION_CM
)));
56041 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_BITSPERSAMPLE",IMAGE_OPTION_BITSPERSAMPLE_get
, IMAGE_OPTION_BITSPERSAMPLE_set
);
56042 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_SAMPLESPERPIXEL",IMAGE_OPTION_SAMPLESPERPIXEL_get
, IMAGE_OPTION_SAMPLESPERPIXEL_set
);
56043 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_COMPRESSION",IMAGE_OPTION_COMPRESSION_get
, IMAGE_OPTION_COMPRESSION_set
);
56044 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_IMAGEDESCRIPTOR",IMAGE_OPTION_IMAGEDESCRIPTOR_get
, IMAGE_OPTION_IMAGEDESCRIPTOR_set
);
56045 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_PNG_FORMAT",IMAGE_OPTION_PNG_FORMAT_get
, IMAGE_OPTION_PNG_FORMAT_set
);
56046 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_PNG_BITDEPTH",IMAGE_OPTION_PNG_BITDEPTH_get
, IMAGE_OPTION_PNG_BITDEPTH_set
);
56047 SWIG_Python_SetConstant(d
, "PNG_TYPE_COLOUR",SWIG_From_int(static_cast< int >(wxPNG_TYPE_COLOUR
)));
56048 SWIG_Python_SetConstant(d
, "PNG_TYPE_GREY",SWIG_From_int(static_cast< int >(wxPNG_TYPE_GREY
)));
56049 SWIG_Python_SetConstant(d
, "PNG_TYPE_GREY_RED",SWIG_From_int(static_cast< int >(wxPNG_TYPE_GREY_RED
)));
56050 SWIG_Python_SetConstant(d
, "BMP_24BPP",SWIG_From_int(static_cast< int >(wxBMP_24BPP
)));
56051 SWIG_Python_SetConstant(d
, "BMP_8BPP",SWIG_From_int(static_cast< int >(wxBMP_8BPP
)));
56052 SWIG_Python_SetConstant(d
, "BMP_8BPP_GREY",SWIG_From_int(static_cast< int >(wxBMP_8BPP_GREY
)));
56053 SWIG_Python_SetConstant(d
, "BMP_8BPP_GRAY",SWIG_From_int(static_cast< int >(wxBMP_8BPP_GRAY
)));
56054 SWIG_Python_SetConstant(d
, "BMP_8BPP_RED",SWIG_From_int(static_cast< int >(wxBMP_8BPP_RED
)));
56055 SWIG_Python_SetConstant(d
, "BMP_8BPP_PALETTE",SWIG_From_int(static_cast< int >(wxBMP_8BPP_PALETTE
)));
56056 SWIG_Python_SetConstant(d
, "BMP_4BPP",SWIG_From_int(static_cast< int >(wxBMP_4BPP
)));
56057 SWIG_Python_SetConstant(d
, "BMP_1BPP",SWIG_From_int(static_cast< int >(wxBMP_1BPP
)));
56058 SWIG_Python_SetConstant(d
, "BMP_1BPP_BW",SWIG_From_int(static_cast< int >(wxBMP_1BPP_BW
)));
56059 SWIG_Python_SetConstant(d
, "QUANTIZE_INCLUDE_WINDOWS_COLOURS",SWIG_From_int(static_cast< int >(wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
)));
56060 SWIG_Python_SetConstant(d
, "QUANTIZE_FILL_DESTINATION_IMAGE",SWIG_From_int(static_cast< int >(wxQUANTIZE_FILL_DESTINATION_IMAGE
)));
56061 SWIG_Python_SetConstant(d
, "EVENT_PROPAGATE_NONE",SWIG_From_int(static_cast< int >(wxEVENT_PROPAGATE_NONE
)));
56062 SWIG_Python_SetConstant(d
, "EVENT_PROPAGATE_MAX",SWIG_From_int(static_cast< int >(wxEVENT_PROPAGATE_MAX
)));
56063 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
56064 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
56065 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
56066 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
56067 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
56068 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
56069 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
56070 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
56071 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
56072 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
56073 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
56074 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
56075 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
56076 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
56077 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
56078 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
56079 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
56080 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
56081 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
56082 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
56083 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
56084 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
56085 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
56086 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
56087 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
56088 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
56089 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
56090 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
56091 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
56092 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
56093 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
56094 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
56095 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
56096 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
56097 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
56098 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
56099 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
56100 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
56101 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
56102 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
56103 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
56104 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
56105 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
56106 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
56107 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
56108 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
56109 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
56110 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
56111 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
56112 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
56113 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
56114 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
56115 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
56116 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
56117 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
56118 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
56119 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
56120 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
56121 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
56122 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
56123 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
56124 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
56125 PyDict_SetItemString(d
, "wxEVT_SCROLL_CHANGED", PyInt_FromLong(wxEVT_SCROLL_CHANGED
));
56126 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
56127 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
56128 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
56129 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
56130 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
56131 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
56132 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
56133 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
56134 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
56135 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
56136 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
56137 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
56138 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
56139 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
56140 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
56141 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
56142 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
56143 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
56144 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
56145 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
56146 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
56147 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
56148 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
56149 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
56150 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
56151 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
56152 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
56153 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
56154 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
56155 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
56156 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
56157 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
56158 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
56159 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
56160 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
56161 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
56162 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
56163 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
56164 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
56165 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
56166 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
56167 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
56168 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
56169 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
56170 PyDict_SetItemString(d
, "wxEVT_HIBERNATE", PyInt_FromLong(wxEVT_HIBERNATE
));
56171 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
56172 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
56173 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
56174 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
56175 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
56176 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
56177 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
56178 SWIG_Python_SetConstant(d
, "MOUSE_BTN_ANY",SWIG_From_int(static_cast< int >(wxMOUSE_BTN_ANY
)));
56179 SWIG_Python_SetConstant(d
, "MOUSE_BTN_NONE",SWIG_From_int(static_cast< int >(wxMOUSE_BTN_NONE
)));
56180 SWIG_Python_SetConstant(d
, "MOUSE_BTN_LEFT",SWIG_From_int(static_cast< int >(wxMOUSE_BTN_LEFT
)));
56181 SWIG_Python_SetConstant(d
, "MOUSE_BTN_MIDDLE",SWIG_From_int(static_cast< int >(wxMOUSE_BTN_MIDDLE
)));
56182 SWIG_Python_SetConstant(d
, "MOUSE_BTN_RIGHT",SWIG_From_int(static_cast< int >(wxMOUSE_BTN_RIGHT
)));
56183 SWIG_Python_SetConstant(d
, "UPDATE_UI_PROCESS_ALL",SWIG_From_int(static_cast< int >(wxUPDATE_UI_PROCESS_ALL
)));
56184 SWIG_Python_SetConstant(d
, "UPDATE_UI_PROCESS_SPECIFIED",SWIG_From_int(static_cast< int >(wxUPDATE_UI_PROCESS_SPECIFIED
)));
56185 SWIG_Python_SetConstant(d
, "NavigationKeyEvent_IsBackward",SWIG_From_int(static_cast< int >(wxNavigationKeyEvent::IsBackward
)));
56186 SWIG_Python_SetConstant(d
, "NavigationKeyEvent_IsForward",SWIG_From_int(static_cast< int >(wxNavigationKeyEvent::IsForward
)));
56187 SWIG_Python_SetConstant(d
, "NavigationKeyEvent_WinChange",SWIG_From_int(static_cast< int >(wxNavigationKeyEvent::WinChange
)));
56188 SWIG_Python_SetConstant(d
, "NavigationKeyEvent_FromTab",SWIG_From_int(static_cast< int >(wxNavigationKeyEvent::FromTab
)));
56189 SWIG_Python_SetConstant(d
, "IDLE_PROCESS_ALL",SWIG_From_int(static_cast< int >(wxIDLE_PROCESS_ALL
)));
56190 SWIG_Python_SetConstant(d
, "IDLE_PROCESS_SPECIFIED",SWIG_From_int(static_cast< int >(wxIDLE_PROCESS_SPECIFIED
)));
56191 PyDict_SetItemString(d
, "wxEVT_DATE_CHANGED", PyInt_FromLong(wxEVT_DATE_CHANGED
));
56192 SWIG_Python_SetConstant(d
, "PYAPP_ASSERT_SUPPRESS",SWIG_From_int(static_cast< int >(wxPYAPP_ASSERT_SUPPRESS
)));
56193 SWIG_Python_SetConstant(d
, "PYAPP_ASSERT_EXCEPTION",SWIG_From_int(static_cast< int >(wxPYAPP_ASSERT_EXCEPTION
)));
56194 SWIG_Python_SetConstant(d
, "PYAPP_ASSERT_DIALOG",SWIG_From_int(static_cast< int >(wxPYAPP_ASSERT_DIALOG
)));
56195 SWIG_Python_SetConstant(d
, "PYAPP_ASSERT_LOG",SWIG_From_int(static_cast< int >(wxPYAPP_ASSERT_LOG
)));
56196 SWIG_Python_SetConstant(d
, "PRINT_WINDOWS",SWIG_From_int(static_cast< int >(wxPRINT_WINDOWS
)));
56197 SWIG_Python_SetConstant(d
, "PRINT_POSTSCRIPT",SWIG_From_int(static_cast< int >(wxPRINT_POSTSCRIPT
)));
56198 SWIG_addvarlink(SWIG_globals(),(char*)"NullAcceleratorTable",NullAcceleratorTable_get
, NullAcceleratorTable_set
);
56199 SWIG_addvarlink(SWIG_globals(),(char*)"PanelNameStr",PanelNameStr_get
, PanelNameStr_set
);
56200 SWIG_Python_SetConstant(d
, "WINDOW_VARIANT_NORMAL",SWIG_From_int(static_cast< int >(wxWINDOW_VARIANT_NORMAL
)));
56201 SWIG_Python_SetConstant(d
, "WINDOW_VARIANT_SMALL",SWIG_From_int(static_cast< int >(wxWINDOW_VARIANT_SMALL
)));
56202 SWIG_Python_SetConstant(d
, "WINDOW_VARIANT_MINI",SWIG_From_int(static_cast< int >(wxWINDOW_VARIANT_MINI
)));
56203 SWIG_Python_SetConstant(d
, "WINDOW_VARIANT_LARGE",SWIG_From_int(static_cast< int >(wxWINDOW_VARIANT_LARGE
)));
56204 SWIG_Python_SetConstant(d
, "WINDOW_VARIANT_MAX",SWIG_From_int(static_cast< int >(wxWINDOW_VARIANT_MAX
)));
56205 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultValidator",DefaultValidator_get
, DefaultValidator_set
);
56206 SWIG_addvarlink(SWIG_globals(),(char*)"ControlNameStr",ControlNameStr_get
, ControlNameStr_set
);
56207 SWIG_Python_SetConstant(d
, "FLEX_GROWMODE_NONE",SWIG_From_int(static_cast< int >(wxFLEX_GROWMODE_NONE
)));
56208 SWIG_Python_SetConstant(d
, "FLEX_GROWMODE_SPECIFIED",SWIG_From_int(static_cast< int >(wxFLEX_GROWMODE_SPECIFIED
)));
56209 SWIG_Python_SetConstant(d
, "FLEX_GROWMODE_ALL",SWIG_From_int(static_cast< int >(wxFLEX_GROWMODE_ALL
)));
56210 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultSpan",DefaultSpan_get
, DefaultSpan_set
);
56211 SWIG_Python_SetConstant(d
, "Left",SWIG_From_int(static_cast< int >(wxLeft
)));
56212 SWIG_Python_SetConstant(d
, "Top",SWIG_From_int(static_cast< int >(wxTop
)));
56213 SWIG_Python_SetConstant(d
, "Right",SWIG_From_int(static_cast< int >(wxRight
)));
56214 SWIG_Python_SetConstant(d
, "Bottom",SWIG_From_int(static_cast< int >(wxBottom
)));
56215 SWIG_Python_SetConstant(d
, "Width",SWIG_From_int(static_cast< int >(wxWidth
)));
56216 SWIG_Python_SetConstant(d
, "Height",SWIG_From_int(static_cast< int >(wxHeight
)));
56217 SWIG_Python_SetConstant(d
, "Centre",SWIG_From_int(static_cast< int >(wxCentre
)));
56218 SWIG_Python_SetConstant(d
, "Center",SWIG_From_int(static_cast< int >(wxCenter
)));
56219 SWIG_Python_SetConstant(d
, "CentreX",SWIG_From_int(static_cast< int >(wxCentreX
)));
56220 SWIG_Python_SetConstant(d
, "CentreY",SWIG_From_int(static_cast< int >(wxCentreY
)));
56221 SWIG_Python_SetConstant(d
, "Unconstrained",SWIG_From_int(static_cast< int >(wxUnconstrained
)));
56222 SWIG_Python_SetConstant(d
, "AsIs",SWIG_From_int(static_cast< int >(wxAsIs
)));
56223 SWIG_Python_SetConstant(d
, "PercentOf",SWIG_From_int(static_cast< int >(wxPercentOf
)));
56224 SWIG_Python_SetConstant(d
, "Above",SWIG_From_int(static_cast< int >(wxAbove
)));
56225 SWIG_Python_SetConstant(d
, "Below",SWIG_From_int(static_cast< int >(wxBelow
)));
56226 SWIG_Python_SetConstant(d
, "LeftOf",SWIG_From_int(static_cast< int >(wxLeftOf
)));
56227 SWIG_Python_SetConstant(d
, "RightOf",SWIG_From_int(static_cast< int >(wxRightOf
)));
56228 SWIG_Python_SetConstant(d
, "SameAs",SWIG_From_int(static_cast< int >(wxSameAs
)));
56229 SWIG_Python_SetConstant(d
, "Absolute",SWIG_From_int(static_cast< int >(wxAbsolute
)));
56231 // Initialize threading, some globals and such
56235 // Although these are defined in __version__ they need to be here too so
56236 // that an assert can be done to ensure that the wxPython and the wxWindows
56238 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
56239 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
56240 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));