1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_buffer swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_long swig_types[4]
2471 #define SWIGTYPE_p_unsigned_char swig_types[5]
2472 #define SWIGTYPE_p_unsigned_int swig_types[6]
2473 #define SWIGTYPE_p_unsigned_long swig_types[7]
2474 #define SWIGTYPE_p_wxANIHandler swig_types[8]
2475 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[9]
2476 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2477 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2478 #define SWIGTYPE_p_wxAppTraits swig_types[12]
2479 #define SWIGTYPE_p_wxArrayString swig_types[13]
2480 #define SWIGTYPE_p_wxBMPHandler swig_types[14]
2481 #define SWIGTYPE_p_wxBitmap swig_types[15]
2482 #define SWIGTYPE_p_wxBoxSizer swig_types[16]
2483 #define SWIGTYPE_p_wxButton swig_types[17]
2484 #define SWIGTYPE_p_wxCURHandler swig_types[18]
2485 #define SWIGTYPE_p_wxCaret swig_types[19]
2486 #define SWIGTYPE_p_wxChildFocusEvent swig_types[20]
2487 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[21]
2488 #define SWIGTYPE_p_wxCloseEvent swig_types[22]
2489 #define SWIGTYPE_p_wxColour swig_types[23]
2490 #define SWIGTYPE_p_wxCommandEvent swig_types[24]
2491 #define SWIGTYPE_p_wxContextMenuEvent swig_types[25]
2492 #define SWIGTYPE_p_wxControl swig_types[26]
2493 #define SWIGTYPE_p_wxControlWithItems swig_types[27]
2494 #define SWIGTYPE_p_wxCursor swig_types[28]
2495 #define SWIGTYPE_p_wxDC swig_types[29]
2496 #define SWIGTYPE_p_wxDateEvent swig_types[30]
2497 #define SWIGTYPE_p_wxDateTime swig_types[31]
2498 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[32]
2499 #define SWIGTYPE_p_wxDouble swig_types[33]
2500 #define SWIGTYPE_p_wxDropFilesEvent swig_types[34]
2501 #define SWIGTYPE_p_wxDuplexMode swig_types[35]
2502 #define SWIGTYPE_p_wxEraseEvent swig_types[36]
2503 #define SWIGTYPE_p_wxEvent swig_types[37]
2504 #define SWIGTYPE_p_wxEventLoop swig_types[38]
2505 #define SWIGTYPE_p_wxEventLoopActivator swig_types[39]
2506 #define SWIGTYPE_p_wxEvtHandler swig_types[40]
2507 #define SWIGTYPE_p_wxFSFile swig_types[41]
2508 #define SWIGTYPE_p_wxFileSystem swig_types[42]
2509 #define SWIGTYPE_p_wxFileSystemHandler swig_types[43]
2510 #define SWIGTYPE_p_wxFlexGridSizer swig_types[44]
2511 #define SWIGTYPE_p_wxFocusEvent swig_types[45]
2512 #define SWIGTYPE_p_wxFont swig_types[46]
2513 #define SWIGTYPE_p_wxFrame swig_types[47]
2514 #define SWIGTYPE_p_wxGBPosition swig_types[48]
2515 #define SWIGTYPE_p_wxGBSizerItem swig_types[49]
2516 #define SWIGTYPE_p_wxGBSpan swig_types[50]
2517 #define SWIGTYPE_p_wxGIFHandler swig_types[51]
2518 #define SWIGTYPE_p_wxGridBagSizer swig_types[52]
2519 #define SWIGTYPE_p_wxGridSizer swig_types[53]
2520 #define SWIGTYPE_p_wxHelpEvent__Origin swig_types[54]
2521 #define SWIGTYPE_p_wxICOHandler swig_types[55]
2522 #define SWIGTYPE_p_wxIconizeEvent swig_types[56]
2523 #define SWIGTYPE_p_wxIdleEvent swig_types[57]
2524 #define SWIGTYPE_p_wxImage swig_types[58]
2525 #define SWIGTYPE_p_wxImageHandler swig_types[59]
2526 #define SWIGTYPE_p_wxImageHistogram swig_types[60]
2527 #define SWIGTYPE_p_wxImage_HSVValue swig_types[61]
2528 #define SWIGTYPE_p_wxImage_RGBValue swig_types[62]
2529 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[63]
2530 #define SWIGTYPE_p_wxInitDialogEvent swig_types[64]
2531 #define SWIGTYPE_p_wxInputStream swig_types[65]
2532 #define SWIGTYPE_p_wxInternetFSHandler swig_types[66]
2533 #define SWIGTYPE_p_wxItemContainer swig_types[67]
2534 #define SWIGTYPE_p_wxJPEGHandler swig_types[68]
2535 #define SWIGTYPE_p_wxKeyEvent swig_types[69]
2536 #define SWIGTYPE_p_wxLayoutConstraints swig_types[70]
2537 #define SWIGTYPE_p_wxMaximizeEvent swig_types[71]
2538 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[72]
2539 #define SWIGTYPE_p_wxMenu swig_types[73]
2540 #define SWIGTYPE_p_wxMenuBar swig_types[74]
2541 #define SWIGTYPE_p_wxMenuBarBase swig_types[75]
2542 #define SWIGTYPE_p_wxMenuEvent swig_types[76]
2543 #define SWIGTYPE_p_wxMenuItem swig_types[77]
2544 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[78]
2545 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[79]
2546 #define SWIGTYPE_p_wxMouseEvent swig_types[80]
2547 #define SWIGTYPE_p_wxMoveEvent swig_types[81]
2548 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[82]
2549 #define SWIGTYPE_p_wxNcPaintEvent swig_types[83]
2550 #define SWIGTYPE_p_wxNotifyEvent swig_types[84]
2551 #define SWIGTYPE_p_wxObject swig_types[85]
2552 #define SWIGTYPE_p_wxOutputStream swig_types[86]
2553 #define SWIGTYPE_p_wxPCXHandler swig_types[87]
2554 #define SWIGTYPE_p_wxPNGHandler swig_types[88]
2555 #define SWIGTYPE_p_wxPNMHandler swig_types[89]
2556 #define SWIGTYPE_p_wxPaintEvent swig_types[90]
2557 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[91]
2558 #define SWIGTYPE_p_wxPaperSize swig_types[92]
2559 #define SWIGTYPE_p_wxPoint swig_types[93]
2560 #define SWIGTYPE_p_wxPoint2D swig_types[94]
2561 #define SWIGTYPE_p_wxPropagateOnce swig_types[95]
2562 #define SWIGTYPE_p_wxPropagationDisabler swig_types[96]
2563 #define SWIGTYPE_p_wxPyApp swig_types[97]
2564 #define SWIGTYPE_p_wxPyCommandEvent swig_types[98]
2565 #define SWIGTYPE_p_wxPyDropTarget swig_types[99]
2566 #define SWIGTYPE_p_wxPyEvent swig_types[100]
2567 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[101]
2568 #define SWIGTYPE_p_wxPyImageHandler swig_types[102]
2569 #define SWIGTYPE_p_wxPyInputStream swig_types[103]
2570 #define SWIGTYPE_p_wxPySizer swig_types[104]
2571 #define SWIGTYPE_p_wxPyValidator swig_types[105]
2572 #define SWIGTYPE_p_wxQuantize swig_types[106]
2573 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[107]
2574 #define SWIGTYPE_p_wxRealPoint swig_types[108]
2575 #define SWIGTYPE_p_wxRect swig_types[109]
2576 #define SWIGTYPE_p_wxRect2D swig_types[110]
2577 #define SWIGTYPE_p_wxRegion swig_types[111]
2578 #define SWIGTYPE_p_wxScrollEvent swig_types[112]
2579 #define SWIGTYPE_p_wxScrollWinEvent swig_types[113]
2580 #define SWIGTYPE_p_wxSetCursorEvent swig_types[114]
2581 #define SWIGTYPE_p_wxShowEvent swig_types[115]
2582 #define SWIGTYPE_p_wxSize swig_types[116]
2583 #define SWIGTYPE_p_wxSizeEvent swig_types[117]
2584 #define SWIGTYPE_p_wxSizer swig_types[118]
2585 #define SWIGTYPE_p_wxSizerItem swig_types[119]
2586 #define SWIGTYPE_p_wxStaticBox swig_types[120]
2587 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[121]
2588 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[122]
2589 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[123]
2590 #define SWIGTYPE_p_wxTGAHandler swig_types[124]
2591 #define SWIGTYPE_p_wxTIFFHandler swig_types[125]
2592 #define SWIGTYPE_p_wxToolTip swig_types[126]
2593 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[127]
2594 #define SWIGTYPE_p_wxValidator swig_types[128]
2595 #define SWIGTYPE_p_wxVisualAttributes swig_types[129]
2596 #define SWIGTYPE_p_wxWindow swig_types[130]
2597 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[131]
2598 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[132]
2599 #define SWIGTYPE_p_wxXPMHandler swig_types[133]
2600 #define SWIGTYPE_p_wxZipFSHandler swig_types[134]
2601 static swig_type_info
*swig_types
[136];
2602 static swig_module_info swig_module
= {swig_types
, 135, 0, 0, 0, 0};
2603 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2604 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2606 /* -------- TYPES TABLE (END) -------- */
2608 #if (PY_VERSION_HEX <= 0x02000000)
2609 # if !defined(SWIG_PYTHON_CLASSIC)
2610 # error "This python version requires to use swig with the '-classic' option"
2613 #if (PY_VERSION_HEX <= 0x02020000)
2614 # error "This python version requires to use swig with the '-nomodern' option"
2616 #if (PY_VERSION_HEX <= 0x02020000)
2617 # error "This python version requires to use swig with the '-nomodernargs' option"
2620 # error "This python version requires to use swig with the '-nofastunpack' option"
2623 /*-----------------------------------------------
2624 @(target):= _core_.so
2625 ------------------------------------------------*/
2626 #define SWIG_init init_core_
2628 #define SWIG_name "_core_"
2630 #define SWIGVERSION 0x010329
2633 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2634 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2637 #include <stdexcept>
2641 class PyObject_ptr
{
2646 PyObject_ptr() :_obj(0)
2650 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2655 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2657 if (initial_ref
) Py_XINCREF(_obj
);
2660 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2662 Py_XINCREF(item
._obj
);
2673 operator PyObject
*() const
2678 PyObject
*operator->() const
2687 struct PyObject_var
: PyObject_ptr
{
2688 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2690 PyObject_var
& operator = (PyObject
* obj
)
2700 #include "wx/wxPython/wxPython_int.h"
2701 #include "wx/wxPython/pyclasses.h"
2702 #include "wx/wxPython/twoitem.h"
2705 #ifndef wxPyUSE_EXPORT
2706 // Helper functions for dealing with SWIG objects and such. These are
2707 // located here so they know about the SWIG types and functions declared
2708 // in the wrapper code.
2710 #include <wx/hashmap.h>
2711 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
2714 // Maintains a hashmap of className to swig_type_info pointers. Given the
2715 // name of a class either looks up the type info in the cache, or scans the
2716 // SWIG tables for it.
2717 extern PyObject
* wxPyPtrTypeMap
;
2719 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
2721 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
2723 if (typeInfoCache
== NULL
)
2724 typeInfoCache
= new wxPyTypeInfoHashMap
;
2726 wxString
name(className
);
2727 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
2730 // it wasn't in the cache, so look it up from SWIG
2731 name
.Append(wxT(" *"));
2732 swigType
= SWIG_TypeQuery(name
.mb_str());
2734 // if it still wasn't found, try looking for a mapped name
2739 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
2740 (char*)(const char*)name
.mbc_str())) != NULL
) {
2741 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
2742 name
.Append(wxT(" *"));
2743 swigType
= SWIG_TypeQuery(name
.mb_str());
2747 // and add it to the map if found
2748 (*typeInfoCache
)[className
] = swigType
;
2755 // Check if a class name is a type known to SWIG
2756 bool wxPyCheckSwigType(const wxChar
* className
) {
2758 swig_type_info
* swigType
= wxPyFindSwigType(className
);
2759 return swigType
!= NULL
;
2763 // Given a pointer to a C++ object and a class name, construct a Python proxy
2765 PyObject
* wxPyConstructObject(void* ptr
,
2766 const wxChar
* className
,
2769 swig_type_info
* swigType
= wxPyFindSwigType(className
);
2770 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
2772 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
2776 // Extract a pointer to the wrapped C++ object from a Python proxy object.
2777 // Ensures that the proxy object is of the specified (or derived) type. If
2778 // not able to perform the conversion then a Python exception is set and the
2779 // error should be handled properly in the caller. Returns True on success.
2780 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
2781 const wxChar
* className
) {
2783 swig_type_info
* swigType
= wxPyFindSwigType(className
);
2784 wxCHECK_MSG(swigType
!= NULL
, false, wxT("Unknown type in wxPyConvertSwigPtr"));
2786 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
2791 // Make a SWIGified pointer object suitable for a .this attribute
2792 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
2794 PyObject
* robj
= NULL
;
2796 swig_type_info
* swigType
= wxPyFindSwigType(className
);
2797 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyMakeSwigPtr"));
2799 robj
= PySwigObject_New(ptr
, swigType
, 0);
2804 // Python's PyInstance_Check does not return True for instances of new-style
2805 // classes. This should get close enough for both new and old classes but I
2806 // should re-evaluate the need for doing instance checks...
2807 bool wxPyInstance_Check(PyObject
* obj
) {
2808 return PyObject_HasAttrString(obj
, "__class__") != 0;
2812 // This one checks if the object is an instance of a SWIG proxy class (it has
2813 // a .this attribute, and the .this attribute is a PySwigObject.)
2814 bool wxPySwigInstance_Check(PyObject
* obj
) {
2815 static PyObject
* this_str
= NULL
;
2816 if (this_str
== NULL
)
2817 this_str
= PyString_FromString("this");
2819 PyObject
* this_attr
= PyObject_GetAttr(obj
, this_str
);
2821 bool retval
= (PySwigObject_Check(this_attr
) != 0);
2822 Py_DECREF(this_attr
);
2831 // Export a C API in a struct. Other modules will be able to load this from
2832 // the wx._core_ module and will then have safe access to these functions,
2833 // even if they are located in another shared library.
2834 static wxPyCoreAPI API
= {
2837 wxPyConstructObject
,
2841 wxPyBeginAllowThreads
,
2842 wxPyEndAllowThreads
,
2843 wxPyBeginBlockThreads
,
2844 wxPyEndBlockThreads
,
2856 wxPoint_LIST_helper
,
2857 wxBitmap_LIST_helper
,
2858 wxString_LIST_helper
,
2859 wxAcceleratorEntry_LIST_helper
,
2868 wxPySimple_typecheck
,
2871 wxPyCBH_setCallbackInfo
,
2872 wxPyCBH_findCallback
,
2873 wxPyCBH_callCallback
,
2874 wxPyCBH_callCallbackObj
,
2880 wxPy2int_seq_helper
,
2881 wxPy4int_seq_helper
,
2882 wxArrayString2PyList_helper
,
2883 wxArrayInt2PyList_helper
,
2885 wxPyClientData_dtor
,
2887 wxPyOORClientData_dtor
,
2889 wxPyCBInputStream_create
,
2890 wxPyCBInputStream_copy
,
2893 wxPySwigInstance_Check
,
2897 wxArrayDouble2PyList_helper
,
2898 wxPoint2D_LIST_helper
,
2906 #if !WXWIN_COMPATIBILITY_2_4
2907 #define wxHIDE_READONLY 0
2911 #define SWIG_From_long PyInt_FromLong
2914 SWIGINTERNINLINE PyObject
*
2915 SWIG_From_int (int value
)
2917 return SWIG_From_long (value
);
2920 static const wxString
wxPyEmptyString(wxEmptyString
);
2921 SWIGINTERN wxString
wxObject_GetClassName(wxObject
*self
){
2922 return self
->GetClassInfo()->GetClassName();
2924 SWIGINTERN
void wxObject_Destroy(wxObject
*self
){
2929 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
2935 # define LLONG_MIN LONG_LONG_MIN
2938 # define LLONG_MAX LONG_LONG_MAX
2941 # define ULLONG_MAX ULONG_LONG_MAX
2946 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2948 if (PyNumber_Check(obj
)) {
2949 if (val
) *val
= PyInt_AsLong(obj
);
2952 return SWIG_TypeError
;
2957 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2960 int res
= SWIG_AsVal_long (obj
, &v
);
2961 if (SWIG_IsOK(res
)) {
2962 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2963 return SWIG_OverflowError
;
2965 if (val
) *val
= static_cast< int >(v
);
2971 SWIGINTERN
bool wxSize___eq__(wxSize
*self
,PyObject
*other
){
2972 wxSize temp
, *obj
= &temp
;
2973 if ( other
== Py_None
) return false;
2974 if ( ! wxSize_helper(other
, &obj
) ) {
2978 return self
->operator==(*obj
);
2980 SWIGINTERN
bool wxSize___ne__(wxSize
*self
,PyObject
*other
){
2981 wxSize temp
, *obj
= &temp
;
2982 if ( other
== Py_None
) return true;
2983 if ( ! wxSize_helper(other
, &obj
)) {
2987 return self
->operator!=(*obj
);
2994 SWIG_AsVal_double (PyObject
*obj
, double* val
)
2996 if (PyNumber_Check(obj
)) {
2997 if (val
) *val
= PyFloat_AsDouble(obj
);
3000 return SWIG_TypeError
;
3005 SWIG_AsVal_float (PyObject
* obj
, float *val
)
3008 int res
= SWIG_AsVal_double (obj
, &v
);
3009 if (SWIG_IsOK(res
)) {
3010 if ((v
< -FLT_MAX
|| v
> FLT_MAX
)) {
3011 return SWIG_OverflowError
;
3013 if (val
) *val
= static_cast< float >(v
);
3019 SWIGINTERN PyObject
*wxSize_Get(wxSize
*self
){
3020 //wxPyBlock_t blocked = wxPyBeginBlockThreads();
3021 PyObject
* tup
= PyTuple_New(2);
3022 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
3023 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
3024 //wxPyEndBlockThreads(blocked);
3028 #define SWIG_From_double PyFloat_FromDouble
3030 SWIGINTERN
bool wxRealPoint___eq__(wxRealPoint
*self
,PyObject
*other
){
3031 wxRealPoint temp
, *obj
= &temp
;
3032 if ( other
== Py_None
) return false;
3033 if ( ! wxRealPoint_helper(other
, &obj
) ) {
3037 return self
->operator==(*obj
);
3039 SWIGINTERN
bool wxRealPoint___ne__(wxRealPoint
*self
,PyObject
*other
){
3040 wxRealPoint temp
, *obj
= &temp
;
3041 if ( other
== Py_None
) return true;
3042 if ( ! wxRealPoint_helper(other
, &obj
)) {
3046 return self
->operator!=(*obj
);
3048 SWIGINTERN
void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
3052 SWIGINTERN PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
3053 //wxPyBlock_t blocked = wxPyBeginBlockThreads();
3054 PyObject
* tup
= PyTuple_New(2);
3055 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
3056 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
3057 //PyEndBlockThreads(blocked);
3060 SWIGINTERN
bool wxPoint___eq__(wxPoint
*self
,PyObject
*other
){
3061 wxPoint temp
, *obj
= &temp
;
3062 if ( other
== Py_None
) return false;
3063 if ( ! wxPoint_helper(other
, &obj
) ) {
3067 return self
->operator==(*obj
);
3069 SWIGINTERN
bool wxPoint___ne__(wxPoint
*self
,PyObject
*other
){
3070 wxPoint temp
, *obj
= &temp
;
3071 if ( other
== Py_None
) return true;
3072 if ( ! wxPoint_helper(other
, &obj
)) {
3076 return self
->operator!=(*obj
);
3078 SWIGINTERN
void wxPoint_Set(wxPoint
*self
,long x
,long y
){
3082 SWIGINTERN PyObject
*wxPoint_Get(wxPoint
*self
){
3083 //wxPyBlock_t blocked = wxPyBeginBlockThreads();
3084 PyObject
* tup
= PyTuple_New(2);
3085 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
3086 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
3087 //wxPyEndBlockThreads(blocked);
3090 SWIGINTERN
bool wxRect___eq__(wxRect
*self
,PyObject
*other
){
3091 wxRect temp
, *obj
= &temp
;
3092 if ( other
== Py_None
) return false;
3093 if ( ! wxRect_helper(other
, &obj
) ) {
3097 return self
->operator==(*obj
);
3099 SWIGINTERN
bool wxRect___ne__(wxRect
*self
,PyObject
*other
){
3100 wxRect temp
, *obj
= &temp
;
3101 if ( other
== Py_None
) return true;
3102 if ( ! wxRect_helper(other
, &obj
)) {
3106 return self
->operator!=(*obj
);
3108 SWIGINTERN
void wxRect_Set(wxRect
*self
,int x
=0,int y
=0,int width
=0,int height
=0){
3111 self
->width
= width
;
3112 self
->height
= height
;
3114 SWIGINTERN PyObject
*wxRect_Get(wxRect
*self
){
3115 //wxPyBlock_t blocked = wxPyBeginBlockThreads();
3116 PyObject
* tup
= PyTuple_New(4);
3117 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
3118 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
3119 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
3120 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
3121 //wxPyEndBlockThreads(blocked);
3125 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
3128 wxRect
dest(0,0,0,0);
3131 reg1
.Intersect(reg2
);
3132 dest
= reg1
.GetBox();
3134 if (dest
!= wxRect(0,0,0,0)) {
3135 //wxPyBlock_t blocked = wxPyBeginBlockThreads();
3136 wxRect
* newRect
= new wxRect(dest
);
3137 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), true);
3138 //wxPyEndBlockThreads(blocked);
3145 SWIGINTERN
bool wxPoint2D___eq__(wxPoint2D
*self
,PyObject
*other
){
3146 wxPoint2D temp
, *obj
= &temp
;
3147 if ( other
== Py_None
) return false;
3148 if ( ! wxPoint2D_helper(other
, &obj
) ) {
3152 return self
->operator==(*obj
);
3154 SWIGINTERN
bool wxPoint2D___ne__(wxPoint2D
*self
,PyObject
*other
){
3155 wxPoint2D temp
, *obj
= &temp
;
3156 if ( other
== Py_None
) return true;
3157 if ( ! wxPoint2D_helper(other
, &obj
)) {
3161 return self
->operator!=(*obj
);
3163 SWIGINTERN
void wxPoint2D_Set(wxPoint2D
*self
,double x
=0,double y
=0){
3167 SWIGINTERN PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
3168 //wxPyBlock_t blocked = wxPyBeginBlockThreads();
3169 PyObject
* tup
= PyTuple_New(2);
3170 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
3171 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
3172 //wxPyEndBlockThreads(blocked);
3175 SWIGINTERN
bool wxRect2D___eq__(wxRect2D
*self
,PyObject
*other
){
3176 wxRect2D temp
, *obj
= &temp
;
3177 if ( other
== Py_None
) return false;
3178 if ( ! wxRect2D_helper(other
, &obj
) ) {
3182 return self
->operator==(*obj
);
3184 SWIGINTERN
bool wxRect2D___ne__(wxRect2D
*self
,PyObject
*other
){
3185 wxRect2D temp
, *obj
= &temp
;
3186 if ( other
== Py_None
) return true;
3187 if ( ! wxRect2D_helper(other
, &obj
)) {
3191 return self
->operator!=(*obj
);
3193 SWIGINTERN
void wxRect2D_Set(wxRect2D
*self
,wxDouble x
=0,wxDouble y
=0,wxDouble width
=0,wxDouble height
=0){
3196 self
->m_width
= width
;
3197 self
->m_height
= height
;
3199 SWIGINTERN PyObject
*wxRect2D_Get(wxRect2D
*self
){
3200 //wxPyBlock_t blocked = wxPyBeginBlockThreads();
3201 PyObject
* tup
= PyTuple_New(4);
3202 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
3203 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
3204 PyTuple_SET_ITEM(tup
, 2, PyFloat_FromDouble(self
->m_width
));
3205 PyTuple_SET_ITEM(tup
, 3, PyFloat_FromDouble(self
->m_height
));
3206 //wxPyEndBlockThreads(blocked);
3210 #include "wx/wxPython/pyistream.h"
3212 SWIGINTERN wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
3213 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
3215 return new wxPyInputStream(wxis
);
3220 SWIGINTERN swig_type_info
*
3221 SWIG_pchar_descriptor()
3223 static int init
= 0;
3224 static swig_type_info
* info
= 0;
3226 info
= SWIG_TypeQuery("_p_char");
3233 SWIGINTERNINLINE PyObject
*
3234 SWIG_FromCharPtrAndSize(const char* carray
, size_t size
)
3237 if (size
> INT_MAX
) {
3238 swig_type_info
* pchar_descriptor
= SWIG_pchar_descriptor();
3239 return pchar_descriptor
?
3240 SWIG_NewPointerObj(const_cast< char * >(carray
), pchar_descriptor
, 0) : SWIG_Py_Void();
3242 return PyString_FromStringAndSize(carray
, static_cast< int >(size
));
3245 return SWIG_Py_Void();
3250 SWIGINTERNINLINE PyObject
*
3251 SWIG_From_char (char c
)
3253 return SWIG_FromCharPtrAndSize(&c
,1);
3257 SWIGINTERNINLINE PyObject
*
3258 SWIG_From_unsigned_SS_long (unsigned long value
)
3260 return (value
> LONG_MAX
) ?
3261 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
3265 SWIGINTERNINLINE PyObject
*
3266 SWIG_From_size_t (size_t value
)
3268 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3273 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* psize
, int *alloc
)
3275 if (PyString_Check(obj
)) {
3276 char *cstr
; Py_ssize_t len
;
3277 PyString_AsStringAndSize(obj
, &cstr
, &len
);
3281 In python the user should not be able to modify the inner
3282 string representation. To warranty that, if you define
3283 SWIG_PYTHON_SAFE_CSTRINGS, a new/copy of the python string
3284 buffer is always returned.
3286 The default behavior is just to return the pointer value,
3289 #if defined(SWIG_PYTHON_SAFE_CSTRINGS)
3290 if (*alloc
!= SWIG_OLDOBJ
)
3292 if (*alloc
== SWIG_NEWOBJ
)
3295 *cptr
= reinterpret_cast< char* >(memcpy((new char[len
+ 1]), cstr
, sizeof(char)*(len
+ 1)));
3296 *alloc
= SWIG_NEWOBJ
;
3300 *alloc
= SWIG_OLDOBJ
;
3303 *cptr
= PyString_AsString(obj
);
3306 if (psize
) *psize
= len
+ 1;
3309 swig_type_info
* pchar_descriptor
= SWIG_pchar_descriptor();
3310 if (pchar_descriptor
) {
3312 if (SWIG_ConvertPtr(obj
, &vptr
, pchar_descriptor
, 0) == SWIG_OK
) {
3313 if (cptr
) *cptr
= (char *) vptr
;
3314 if (psize
) *psize
= vptr
? (strlen((char *)vptr
) + 1) : 0;
3315 if (alloc
) *alloc
= SWIG_OLDOBJ
;
3320 return SWIG_TypeError
;
3325 SWIG_AsCharArray(PyObject
* obj
, char *val
, size_t size
)
3327 char* cptr
= 0; size_t csize
= 0; int alloc
= SWIG_OLDOBJ
;
3328 int res
= SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
, &alloc
);
3329 if (SWIG_IsOK(res
)) {
3330 if ((csize
== size
+ 1) && cptr
&& !(cptr
[csize
-1])) --csize
;
3331 if (csize
<= size
) {
3333 if (csize
) memcpy(val
, cptr
, csize
*sizeof(char));
3334 if (csize
< size
) memset(val
+ csize
, 0, (size
- csize
)*sizeof(char));
3336 if (alloc
== SWIG_NEWOBJ
) {
3338 res
= SWIG_DelNewMask(res
);
3342 if (alloc
== SWIG_NEWOBJ
) delete[] cptr
;
3344 return SWIG_TypeError
;
3349 SWIG_AsVal_char (PyObject
* obj
, char *val
)
3351 int res
= SWIG_AsCharArray(obj
, val
, 1);
3352 if (!SWIG_IsOK(res
)) {
3354 res
= SWIG_AddCast(SWIG_AsVal_long (obj
, &v
));
3355 if (SWIG_IsOK(res
)) {
3356 if ((CHAR_MIN
<= v
) && (v
<= CHAR_MAX
)) {
3357 if (val
) *val
= static_cast< char >(v
);
3359 res
= SWIG_OverflowError
;
3366 SWIGINTERN
void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
3367 // We use only strings for the streams, not unicode
3368 PyObject
* str
= PyObject_Str(obj
);
3370 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
3373 self
->Write(PyString_AS_STRING(str
),
3374 PyString_GET_SIZE(str
));
3378 #include "wx/wxPython/pyistream.h"
3381 class wxPyFileSystemHandler
: public wxFileSystemHandler
3384 wxPyFileSystemHandler() : wxFileSystemHandler() {}
3386 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
3387 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
3388 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
3389 DEC_PYCALLBACK_STRING__pure(FindNext
);
3391 wxString
GetProtocol(const wxString
& location
) {
3392 return wxFileSystemHandler::GetProtocol(location
);
3395 wxString
GetLeftLocation(const wxString
& location
) {
3396 return wxFileSystemHandler::GetLeftLocation(location
);
3399 wxString
GetAnchor(const wxString
& location
) {
3400 return wxFileSystemHandler::GetAnchor(location
);
3403 wxString
GetRightLocation(const wxString
& location
) {
3404 return wxFileSystemHandler::GetRightLocation(location
);
3407 wxString
GetMimeTypeFromExt(const wxString
& location
) {
3408 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
3415 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
3416 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
3417 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
3418 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
3422 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
3424 if (obj
== Py_True
) {
3425 if (val
) *val
= true;
3427 } else if (obj
== Py_False
) {
3428 if (val
) *val
= false;
3432 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
3433 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
3438 SWIGINTERN wxString
wxFileSystem_URLToFileName(wxString
const &url
){
3439 wxFileName fname
= wxFileSystem::URLToFileName(url
);
3440 return fname
.GetFullPath();
3443 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
3446 wxMemoryFSHandler::AddFile(filename
, image
, type
);
3449 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
3450 const wxBitmap
& bitmap
,
3452 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
3455 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
3457 if (! PyString_Check(data
)) {
3458 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
3459 "Expected string object"));
3463 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3464 void* ptr
= (void*)PyString_AsString(data
);
3465 size_t size
= PyString_Size(data
);
3466 wxPyEndBlockThreads(blocked
);
3468 wxMemoryFSHandler::AddFile(filename
, ptr
, size
);
3472 #include "wx/wxPython/pyistream.h"
3476 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
3479 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
3480 return SWIG_TypeError
;
3483 *val
= (unsigned long)v
;
3489 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
3492 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
3493 if (SWIG_IsOK(res
)) {
3494 if ((v
> UCHAR_MAX
)) {
3495 return SWIG_OverflowError
;
3497 if (val
) *val
= static_cast< unsigned char >(v
);
3504 SWIGINTERNINLINE PyObject
*
3505 SWIG_From_unsigned_SS_char (unsigned char value
)
3507 return SWIG_From_unsigned_SS_long (value
);
3510 SWIGINTERN
unsigned long wxImageHistogram_GetCount(wxImageHistogram
*self
,unsigned long key
){
3511 wxImageHistogramEntry e
= (*self
)[key
];
3514 SWIGINTERN
unsigned long wxImageHistogram_GetCountRGB(wxImageHistogram
*self
,byte r
,byte g
,byte b
){
3515 unsigned long key
= wxImageHistogram::MakeKey(r
, g
, b
);
3516 wxImageHistogramEntry e
= (*self
)[key
];
3519 SWIGINTERN
unsigned long wxImageHistogram_GetCountColour(wxImageHistogram
*self
,wxColour
const &colour
){
3520 unsigned long key
= wxImageHistogram::MakeKey(colour
.Red(),
3523 wxImageHistogramEntry e
= (*self
)[key
];
3527 // Pull the nested class out to the top level for SWIG's sake
3528 #define wxImage_RGBValue wxImage::RGBValue
3529 #define wxImage_HSVValue wxImage::HSVValue
3531 SWIGINTERN wxImage
*new_wxImage(int width
=0,int height
=0,bool clear
=true){
3532 if (width
> 0 && height
> 0)
3533 return new wxImage(width
, height
, clear
);
3537 SWIGINTERN wxImage
*new_wxImage(wxBitmap
const &bitmap
){
3538 return new wxImage(bitmap
.ConvertToImage());
3540 SWIGINTERN wxImage
*new_wxImage(int width
,int height
,buffer data
,int DATASIZE
){
3541 if (DATASIZE
!= width
*height
*3) {
3542 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3546 // Copy the source data so the wxImage can clean it up later
3547 buffer copy
= (buffer
)malloc(DATASIZE
);
3549 wxPyBLOCK_THREADS(PyErr_NoMemory());
3552 memcpy(copy
, data
, DATASIZE
);
3553 return new wxImage(width
, height
, copy
, false);
3555 SWIGINTERN wxImage
*new_wxImage(int width
,int height
,buffer data
,int DATASIZE
,buffer alpha
,int ALPHASIZE
){
3556 if (DATASIZE
!= width
*height
*3) {
3557 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3560 if (ALPHASIZE
!= width
*height
) {
3561 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3565 // Copy the source data so the wxImage can clean it up later
3566 buffer dcopy
= (buffer
)malloc(DATASIZE
);
3567 if (dcopy
== NULL
) {
3568 wxPyBLOCK_THREADS(PyErr_NoMemory());
3571 memcpy(dcopy
, data
, DATASIZE
);
3573 buffer acopy
= (buffer
)malloc(ALPHASIZE
);
3574 if (acopy
== NULL
) {
3575 wxPyBLOCK_THREADS(PyErr_NoMemory());
3578 memcpy(acopy
, alpha
, ALPHASIZE
);
3580 return new wxImage(width
, height
, dcopy
, acopy
, false);
3582 SWIGINTERN wxSize
wxImage_GetSize(wxImage
*self
){
3583 wxSize
size(self
->GetWidth(), self
->GetHeight());
3586 SWIGINTERN PyObject
*wxImage_GetData(wxImage
*self
){
3587 buffer data
= self
->GetData();
3588 int len
= self
->GetWidth() * self
->GetHeight() * 3;
3590 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
3593 SWIGINTERN
void wxImage_SetData(wxImage
*self
,buffer data
,int DATASIZE
){
3594 if (DATASIZE
!= self
->GetWidth() * self
->GetHeight() * 3) {
3595 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3598 buffer copy
= (buffer
)malloc(DATASIZE
);
3600 wxPyBLOCK_THREADS(PyErr_NoMemory());
3603 memcpy(copy
, data
, DATASIZE
);
3604 self
->SetData(copy
, false);
3605 // wxImage takes ownership of copy...
3607 SWIGINTERN PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
3608 buffer data
= self
->GetData();
3609 int len
= self
->GetWidth() * self
->GetHeight() * 3;
3611 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
3614 SWIGINTERN
void wxImage_SetDataBuffer(wxImage
*self
,buffer data
,int DATASIZE
){
3615 if (DATASIZE
!= self
->GetWidth() * self
->GetHeight() * 3) {
3616 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3619 self
->SetData(data
, true);
3621 SWIGINTERN PyObject
*wxImage_GetAlphaData(wxImage
*self
){
3622 buffer data
= self
->GetAlpha();
3626 int len
= self
->GetWidth() * self
->GetHeight();
3628 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
3632 SWIGINTERN
void wxImage_SetAlphaData(wxImage
*self
,buffer alpha
,int ALPHASIZE
){
3633 if (ALPHASIZE
!= self
->GetWidth() * self
->GetHeight()) {
3634 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3637 buffer acopy
= (buffer
)malloc(ALPHASIZE
);
3638 if (acopy
== NULL
) {
3639 wxPyBLOCK_THREADS(PyErr_NoMemory());
3642 memcpy(acopy
, alpha
, ALPHASIZE
);
3643 self
->SetAlpha(acopy
, false);
3644 // wxImage takes ownership of acopy...
3646 SWIGINTERN PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
3647 buffer data
= self
->GetAlpha();
3648 int len
= self
->GetWidth() * self
->GetHeight();
3650 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
3653 SWIGINTERN
void wxImage_SetAlphaBuffer(wxImage
*self
,buffer alpha
,int ALPHASIZE
){
3654 if (ALPHASIZE
!= self
->GetWidth() * self
->GetHeight()) {
3655 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3658 self
->SetAlpha(alpha
, true);
3660 SWIGINTERN PyObject
*wxImage_GetHandlers(){
3661 wxList
& list
= wxImage::GetHandlers();
3662 return wxPy_ConvertList(&list
);
3664 SWIGINTERN wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
,int depth
=-1){
3665 wxBitmap
bitmap(*self
, depth
);
3668 SWIGINTERN wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,byte red
,byte green
,byte blue
){
3669 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
3670 wxBitmap
bitmap( mono
, 1 );
3674 wxImage
* _ImageFromBuffer(int width
, int height
,
3675 buffer data
, int DATASIZE
,
3676 buffer alpha
=NULL
, int ALPHASIZE
=0)
3678 if (DATASIZE
!= width
*height
*3) {
3679 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3682 if (alpha
!= NULL
) {
3683 if (ALPHASIZE
!= width
*height
) {
3684 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3687 return new wxImage(width
, height
, data
, alpha
, true);
3689 return new wxImage(width
, height
, data
, true);
3692 static const wxString
wxPyIMAGE_OPTION_FILENAME(wxIMAGE_OPTION_FILENAME
);
3693 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
3694 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
3695 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
3696 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
3697 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONX(wxIMAGE_OPTION_RESOLUTIONX
);
3698 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONY(wxIMAGE_OPTION_RESOLUTIONY
);
3699 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
3700 static const wxString
wxPyIMAGE_OPTION_QUALITY(wxIMAGE_OPTION_QUALITY
);
3701 static const wxString
wxPyIMAGE_OPTION_BITSPERSAMPLE(wxIMAGE_OPTION_BITSPERSAMPLE
);
3702 static const wxString
wxPyIMAGE_OPTION_SAMPLESPERPIXEL(wxIMAGE_OPTION_SAMPLESPERPIXEL
);
3703 static const wxString
wxPyIMAGE_OPTION_COMPRESSION(wxIMAGE_OPTION_COMPRESSION
);
3704 static const wxString
wxPyIMAGE_OPTION_IMAGEDESCRIPTOR(wxIMAGE_OPTION_IMAGEDESCRIPTOR
);
3705 static const wxString
wxPyIMAGE_OPTION_PNG_FORMAT(wxIMAGE_OPTION_PNG_FORMAT
);
3706 static const wxString
wxPyIMAGE_OPTION_PNG_BITDEPTH(wxIMAGE_OPTION_PNG_BITDEPTH
);
3708 #include <wx/imagtga.h>
3711 #include <wx/quantize.h>
3713 SWIGINTERN
bool wxQuantize_Quantize(wxImage
const &src
,wxImage
&dest
,int desiredNoColours
=236,int flags
=wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
){
3714 return wxQuantize::Quantize(src
, dest
,
3717 NULL
, // eightBitData
3720 SWIGINTERN
void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
3721 if (PyCallable_Check(func
)) {
3722 self
->Connect(id
, lastId
, eventType
,
3723 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
3724 new wxPyCallback(func
));
3726 else if (func
== Py_None
) {
3727 self
->Disconnect(id
, lastId
, eventType
,
3728 (wxObjectEventFunction
)
3729 &wxPyCallback::EventThunker
);
3733 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
3736 SWIGINTERN
bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
=-1,wxEventType eventType
=wxEVT_NULL
){
3737 return self
->Disconnect(id
, lastId
, eventType
,
3738 (wxObjectEventFunction
)
3739 &wxPyCallback::EventThunker
);
3741 SWIGINTERN
void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
,bool incref
=true){
3742 if (_self
&& _self
!= Py_None
) {
3743 self
->SetClientObject(new wxPyOORClientData(_self
, incref
));
3746 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
3748 self
->SetClientObject(NULL
); // This will delete it too
3754 #define wxEVT_HOTKEY -9999
3757 SWIGINTERN PyObject
*wxCommandEvent_GetClientData(wxCommandEvent
*self
){
3758 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject();
3760 Py_INCREF(data
->m_obj
);
3767 SWIGINTERN
void wxCommandEvent_SetClientData(wxCommandEvent
*self
,PyObject
*clientData
){
3768 wxPyClientData
* data
= new wxPyClientData(clientData
);
3769 self
->SetClientObject(data
);
3771 SWIGINTERN
int wxKeyEvent_GetUnicodeKey(wxKeyEvent
*self
){
3773 return self
->GetUnicodeKey();
3778 SWIGINTERN
void wxKeyEvent_SetUnicodeKey(wxKeyEvent
*self
,int uniChar
){
3780 self
->m_uniChar
= uniChar
;
3784 SWIGINTERNINLINE PyObject
*
3785 SWIG_From_unsigned_SS_int (unsigned int value
)
3787 return SWIG_From_unsigned_SS_long (value
);
3792 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
3795 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
3796 if (SWIG_IsOK(res
)) {
3797 if ((v
> UINT_MAX
)) {
3798 return SWIG_OverflowError
;
3800 if (val
) *val
= static_cast< unsigned int >(v
);
3806 SWIGINTERN
void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
3807 self
->m_size
= size
;
3809 SWIGINTERN PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
3810 int count
= self
->GetNumberOfFiles();
3811 wxString
* files
= self
->GetFiles();
3812 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3813 PyObject
* list
= PyList_New(count
);
3816 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
3817 wxPyEndBlockThreads(blocked
);
3821 for (int i
=0; i
<count
; i
++) {
3822 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
3824 wxPyEndBlockThreads(blocked
);
3829 SWIGINTERN wxPyApp
*new_wxPyApp(){
3830 wxPythonApp
= new wxPyApp();
3833 SWIGINTERN
bool wxPyApp_IsDisplayAvailable(){
3834 return wxPyTestDisplayAvailable();
3837 void wxApp_CleanUp() {
3842 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
3848 SWIGINTERNINLINE PyObject
*
3849 SWIG_FromCharPtr(const char *cptr
)
3851 return SWIG_FromCharPtrAndSize(cptr
, (cptr
? strlen(cptr
) : 0));
3855 #if 0 // #ifdef __WXMAC__
3857 // A dummy class that raises an exception if used...
3861 wxEventLoop() { wxPyRaiseNotImplemented(); }
3862 int Run() { return 0; }
3863 void Exit(int rc
= 0) {}
3864 bool Pending() const { return false; }
3865 bool Dispatch() { return false; }
3866 bool IsRunning() const { return false; }
3867 static wxEventLoop
*GetActive() { wxPyRaiseNotImplemented(); return NULL
; }
3868 static void SetActive(wxEventLoop
* loop
) { wxPyRaiseNotImplemented(); }
3873 #include <wx/evtloop.h>
3879 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
3880 SWIGINTERN wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
3881 SWIGINTERN
void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
3882 SWIGINTERN PyObject
*wxWindow_GetChildren(wxWindow
*self
){
3883 wxWindowList
& list
= self
->GetChildren();
3884 return wxPy_ConvertList(&list
);
3886 SWIGINTERN
void wxWindow_SetDoubleBuffered(wxWindow
*self
,bool on
){}
3887 SWIGINTERN
bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
3889 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
3894 SWIGINTERN
bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
3901 SWIGINTERN
long wxWindow_GetHandle(wxWindow
*self
){
3902 return wxPyGetWinHandle(self
);
3904 SWIGINTERN
void wxWindow_AssociateHandle(wxWindow
*self
,long handle
){
3905 self
->AssociateHandle((WXWidget
)handle
);
3908 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
3909 return wxWindow::FindWindowById(id
, parent
);
3912 wxWindow
* wxFindWindowByName( const wxString
& name
,
3913 const wxWindow
*parent
= NULL
) {
3914 return wxWindow::FindWindowByName(name
, parent
);
3917 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
3918 const wxWindow
*parent
= NULL
) {
3919 return wxWindow::FindWindowByLabel(label
, parent
);
3924 #include <wx/msw/private.h> // to get wxGetWindowId
3928 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
3930 WXHWND hWnd
= (WXHWND
)_hWnd
;
3931 long id
= wxGetWindowId(hWnd
);
3932 wxWindow
* win
= new wxWindow
;
3934 parent
->AddChild(win
);
3935 win
->SetEventHandler(win
);
3938 win
->SubclassWin(hWnd
);
3939 win
->AdoptAttributesFromHWND();
3940 win
->SetupColours();
3943 wxPyRaiseNotImplemented();
3949 PyObject
* GetTopLevelWindows() {
3950 return wxPy_ConvertList(&wxTopLevelWindows
);
3954 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
3955 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
3956 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
3958 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
3961 SWIGINTERNINLINE
int
3962 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3965 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3966 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3970 SWIGINTERN
void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
3971 SWIGINTERN PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
3972 wxMenuItemList
& list
= self
->GetMenuItems();
3973 return wxPy_ConvertList(&list
);
3975 SWIGINTERN
void wxMenuBar_SetAutoWindowMenu(bool enable
){}
3976 SWIGINTERN
bool wxMenuBar_GetAutoWindowMenu(){ return false; }
3977 static const wxString
wxPyControlNameStr(wxControlNameStr
);
3978 SWIGINTERN
int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
=NULL
){
3980 wxPyClientData
* data
= new wxPyClientData(clientData
);
3981 return self
->Append(item
, data
);
3983 return self
->Append(item
);
3985 SWIGINTERN
int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
3987 wxPyClientData
* data
= new wxPyClientData(clientData
);
3988 return self
->Insert(item
, pos
, data
);
3990 return self
->Insert(item
, pos
);
3992 SWIGINTERN PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
3993 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
3995 Py_INCREF(data
->m_obj
);
4002 SWIGINTERN
void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
4003 wxPyClientData
* data
= new wxPyClientData(clientData
);
4004 self
->SetClientObject(n
, data
);
4008 SWIGINTERN wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
4009 wxPyUserData
* data
= NULL
;
4011 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4012 data
= new wxPyUserData(userData
);
4013 wxPyEndBlockThreads(blocked
);
4015 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
4017 SWIGINTERN wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
4018 wxPyUserData
* data
= NULL
;
4020 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4021 data
= new wxPyUserData(userData
);
4022 wxPyEndBlockThreads(blocked
);
4024 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
4026 SWIGINTERN wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
4027 wxPyUserData
* data
= NULL
;
4029 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4030 data
= new wxPyUserData(userData
);
4031 wxPyEndBlockThreads(blocked
);
4033 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
4036 SWIGINTERNINLINE PyObject
*
4037 SWIG_From_float (float value
)
4039 return SWIG_From_double (value
);
4042 SWIGINTERN PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
4043 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
4045 Py_INCREF(data
->m_obj
);
4052 SWIGINTERN
void wxSizerItem_SetUserData(wxSizerItem
*self
,PyObject
*userData
){
4053 wxPyUserData
* data
= NULL
;
4055 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4056 data
= new wxPyUserData(userData
);
4057 wxPyEndBlockThreads(blocked
);
4059 self
->SetUserData(data
);
4062 // Figure out the type of the sizer item
4064 struct wxPySizerItemInfo
{
4066 : window(NULL
), sizer(NULL
), gotSize(false),
4067 size(wxDefaultSize
), gotPos(false), pos(-1)
4078 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
4080 wxPySizerItemInfo info
;
4082 wxSize
* sizePtr
= &size
;
4084 // Find out what the type of the item is
4086 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
4091 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
4095 // try wxSize or (w,h)
4096 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
4097 info
.size
= *sizePtr
;
4098 info
.gotSize
= true;
4102 if (checkIdx
&& PyInt_Check(item
)) {
4103 info
.pos
= PyInt_AsLong(item
);
4109 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
4110 // no expected type, figure out what kind of error message to generate
4111 if ( !checkSize
&& !checkIdx
)
4112 PyErr_SetString(PyExc_TypeError
, "wx.Window or wx.Sizer expected for item");
4113 else if ( checkSize
&& !checkIdx
)
4114 PyErr_SetString(PyExc_TypeError
, "wx.Window, wx.Sizer, wx.Size, or (w,h) expected for item");
4115 else if ( !checkSize
&& checkIdx
)
4116 PyErr_SetString(PyExc_TypeError
, "wx.Window, wx.Sizer or int (position) expected for item");
4118 // can this one happen?
4119 PyErr_SetString(PyExc_TypeError
, "wx.Window, wx.Sizer, wx.Size, or (w,h) or int (position) expected for item");
4125 SWIGINTERN
void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
4126 if (!self
->GetClientObject())
4127 self
->SetClientObject(new wxPyOORClientData(_self
));
4129 SWIGINTERN wxSizerItem
*wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
4131 wxPyUserData
* data
= NULL
;
4132 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4133 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
4134 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
4135 data
= new wxPyUserData(userData
);
4137 PyObject_SetAttrString(item
,"thisown",Py_False
);
4138 wxPyEndBlockThreads(blocked
);
4140 // Now call the real Add method if a valid item type was found
4142 return self
->Add(info
.window
, proportion
, flag
, border
, data
);
4143 else if ( info
.sizer
)
4144 return self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
4145 else if (info
.gotSize
)
4146 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
4147 proportion
, flag
, border
, data
);
4151 SWIGINTERN wxSizerItem
*wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
4153 wxPyUserData
* data
= NULL
;
4154 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4155 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
4156 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
4157 data
= new wxPyUserData(userData
);
4159 PyObject_SetAttrString(item
,"thisown",Py_False
);
4160 wxPyEndBlockThreads(blocked
);
4162 // Now call the real Insert method if a valid item type was found
4164 return self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
4165 else if ( info
.sizer
)
4166 return self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
4167 else if (info
.gotSize
)
4168 return self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
4169 proportion
, flag
, border
, data
);
4173 SWIGINTERN wxSizerItem
*wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
4175 wxPyUserData
* data
= NULL
;
4176 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4177 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
4178 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
4179 data
= new wxPyUserData(userData
);
4181 PyObject_SetAttrString(item
,"thisown",Py_False
);
4182 wxPyEndBlockThreads(blocked
);
4184 // Now call the real Prepend method if a valid item type was found
4186 return self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
4187 else if ( info
.sizer
)
4188 return self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
4189 else if (info
.gotSize
)
4190 return self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
4191 proportion
, flag
, border
, data
);
4195 SWIGINTERN
bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
4196 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4197 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
4198 wxPyEndBlockThreads(blocked
);
4200 return self
->Remove(info
.window
);
4201 else if ( info
.sizer
)
4202 return self
->Remove(info
.sizer
);
4203 else if ( info
.gotPos
)
4204 return self
->Remove(info
.pos
);
4208 SWIGINTERN
bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
4209 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4210 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
4211 wxPyEndBlockThreads(blocked
);
4213 return self
->Detach(info
.window
);
4214 else if ( info
.sizer
)
4215 return self
->Detach(info
.sizer
);
4216 else if ( info
.gotPos
)
4217 return self
->Detach(info
.pos
);
4221 SWIGINTERN wxSizerItem
*wxSizer_GetItem(wxSizer
*self
,PyObject
*item
){
4222 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4223 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
4224 wxPyEndBlockThreads(blocked
);
4226 return self
->GetItem(info
.window
);
4227 else if ( info
.sizer
)
4228 return self
->GetItem(info
.sizer
);
4229 else if ( info
.gotPos
)
4230 return self
->GetItem(info
.pos
);
4234 SWIGINTERN
void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
4235 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4236 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
4237 wxPyEndBlockThreads(blocked
);
4239 self
->SetItemMinSize(info
.window
, size
);
4240 else if ( info
.sizer
)
4241 self
->SetItemMinSize(info
.sizer
, size
);
4242 else if ( info
.gotPos
)
4243 self
->SetItemMinSize(info
.pos
, size
);
4245 SWIGINTERN PyObject
*wxSizer_GetChildren(wxSizer
*self
){
4246 wxSizerItemList
& list
= self
->GetChildren();
4247 return wxPy_ConvertList(&list
);
4249 SWIGINTERN
bool wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
=true,bool recursive
=false){
4250 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4251 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
4252 wxPyEndBlockThreads(blocked
);
4254 return self
->Show(info
.window
, show
, recursive
);
4255 else if ( info
.sizer
)
4256 return self
->Show(info
.sizer
, show
, recursive
);
4257 else if ( info
.gotPos
)
4258 return self
->Show(info
.pos
, show
);
4262 SWIGINTERN
bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
4263 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4264 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, false);
4265 wxPyEndBlockThreads(blocked
);
4267 return self
->IsShown(info
.window
);
4268 else if ( info
.sizer
)
4269 return self
->IsShown(info
.sizer
);
4270 else if ( info
.gotPos
)
4271 return self
->IsShown(info
.pos
);
4277 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
4278 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
4279 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
4284 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
4286 if (source
== Py_None
) {
4287 **obj
= wxGBPosition(-1,-1);
4290 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
4293 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
4295 if (source
== Py_None
) {
4296 **obj
= wxGBSpan(-1,-1);
4299 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
4303 SWIGINTERN
bool wxGBPosition___eq__(wxGBPosition
*self
,PyObject
*other
){
4304 wxGBPosition temp
, *obj
= &temp
;
4305 if ( other
== Py_None
) return false;
4306 if ( ! wxGBPosition_helper(other
, &obj
) ) {
4310 return self
->operator==(*obj
);
4312 SWIGINTERN
bool wxGBPosition___ne__(wxGBPosition
*self
,PyObject
*other
){
4313 wxGBPosition temp
, *obj
= &temp
;
4314 if ( other
== Py_None
) return true;
4315 if ( ! wxGBPosition_helper(other
, &obj
)) {
4319 return self
->operator!=(*obj
);
4321 SWIGINTERN
void wxGBPosition_Set(wxGBPosition
*self
,int row
=0,int col
=0){
4325 SWIGINTERN PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
4326 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4327 PyObject
* tup
= PyTuple_New(2);
4328 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
4329 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
4330 wxPyEndBlockThreads(blocked
);
4333 SWIGINTERN
bool wxGBSpan___eq__(wxGBSpan
*self
,PyObject
*other
){
4334 wxGBSpan temp
, *obj
= &temp
;
4335 if ( other
== Py_None
) return false;
4336 if ( ! wxGBSpan_helper(other
, &obj
) ) {
4340 return self
->operator==(*obj
);
4342 SWIGINTERN
bool wxGBSpan___ne__(wxGBSpan
*self
,PyObject
*other
){
4343 wxGBSpan temp
, *obj
= &temp
;
4344 if ( other
== Py_None
) return true;
4345 if ( ! wxGBSpan_helper(other
, &obj
)) {
4349 return self
->operator!=(*obj
);
4351 SWIGINTERN
void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
=1,int colspan
=1){
4352 self
->SetRowspan(rowspan
);
4353 self
->SetColspan(colspan
);
4355 SWIGINTERN PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
4356 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4357 PyObject
* tup
= PyTuple_New(2);
4358 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
4359 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
4360 wxPyEndBlockThreads(blocked
);
4363 SWIGINTERN wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
4364 wxPyUserData
* data
= NULL
;
4366 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4367 data
= new wxPyUserData(userData
);
4368 wxPyEndBlockThreads(blocked
);
4370 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
4372 SWIGINTERN wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
4373 wxPyUserData
* data
= NULL
;
4375 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4376 data
= new wxPyUserData(userData
);
4377 wxPyEndBlockThreads(blocked
);
4379 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
4381 SWIGINTERN wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
4382 wxPyUserData
* data
= NULL
;
4384 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4385 data
= new wxPyUserData(userData
);
4386 wxPyEndBlockThreads(blocked
);
4388 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
4390 SWIGINTERN wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
4392 self
->GetEndPos(row
, col
);
4393 return wxGBPosition(row
, col
);
4395 SWIGINTERN wxGBSizerItem
*wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
=wxDefaultSpan
,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
4397 wxPyUserData
* data
= NULL
;
4398 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4399 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
4400 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
4401 data
= new wxPyUserData(userData
);
4403 PyObject_SetAttrString(item
,"thisown",Py_False
);
4404 wxPyEndBlockThreads(blocked
);
4406 // Now call the real Add method if a valid item type was found
4408 return (wxGBSizerItem
*)self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
4409 else if ( info
.sizer
)
4410 return (wxGBSizerItem
*)self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
4411 else if (info
.gotSize
)
4412 return (wxGBSizerItem
*)self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
4413 pos
, span
, flag
, border
, data
);
4421 SWIGINTERN
int EmptyString_set(PyObject
*) {
4422 SWIG_Error(SWIG_AttributeError
,"Variable EmptyString is read-only.");
4427 SWIGINTERN PyObject
*EmptyString_get(void) {
4428 PyObject
*pyobj
= 0;
4432 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
4434 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
4441 SWIGINTERN PyObject
*_wrap_Object_GetClassName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4442 PyObject
*resultobj
= 0;
4443 wxObject
*arg1
= (wxObject
*) 0 ;
4447 PyObject
*swig_obj
[1] ;
4449 if (!args
) SWIG_fail
;
4451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
4452 if (!SWIG_IsOK(res1
)) {
4453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Object_GetClassName" "', expected argument " "1"" of type '" "wxObject *""'");
4455 arg1
= reinterpret_cast< wxObject
* >(argp1
);
4457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4458 result
= wxObject_GetClassName(arg1
);
4459 wxPyEndAllowThreads(__tstate
);
4460 if (PyErr_Occurred()) SWIG_fail
;
4464 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4466 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4475 SWIGINTERN PyObject
*_wrap_Object_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4476 PyObject
*resultobj
= 0;
4477 wxObject
*arg1
= (wxObject
*) 0 ;
4480 PyObject
*swig_obj
[1] ;
4482 if (!args
) SWIG_fail
;
4484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
4485 if (!SWIG_IsOK(res1
)) {
4486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Object_Destroy" "', expected argument " "1"" of type '" "wxObject *""'");
4488 arg1
= reinterpret_cast< wxObject
* >(argp1
);
4490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4491 wxObject_Destroy(arg1
);
4492 wxPyEndAllowThreads(__tstate
);
4493 if (PyErr_Occurred()) SWIG_fail
;
4495 resultobj
= SWIG_Py_Void();
4502 SWIGINTERN PyObject
*_wrap_Object_IsSameAs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4503 PyObject
*resultobj
= 0;
4504 wxObject
*arg1
= (wxObject
*) 0 ;
4505 wxObject
*arg2
= 0 ;
4511 PyObject
* obj0
= 0 ;
4512 PyObject
* obj1
= 0 ;
4513 char * kwnames
[] = {
4514 (char *) "self",(char *) "p", NULL
4517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Object_IsSameAs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
4519 if (!SWIG_IsOK(res1
)) {
4520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Object_IsSameAs" "', expected argument " "1"" of type '" "wxObject const *""'");
4522 arg1
= reinterpret_cast< wxObject
* >(argp1
);
4523 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxObject
, 0 | 0);
4524 if (!SWIG_IsOK(res2
)) {
4525 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Object_IsSameAs" "', expected argument " "2"" of type '" "wxObject const &""'");
4528 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Object_IsSameAs" "', expected argument " "2"" of type '" "wxObject const &""'");
4530 arg2
= reinterpret_cast< wxObject
* >(argp2
);
4532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4533 result
= (bool)((wxObject
const *)arg1
)->IsSameAs((wxObject
const &)*arg2
);
4534 wxPyEndAllowThreads(__tstate
);
4535 if (PyErr_Occurred()) SWIG_fail
;
4538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4546 SWIGINTERN PyObject
*Object_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4548 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4549 SWIG_TypeNewClientData(SWIGTYPE_p_wxObject
, SWIG_NewClientData(obj
));
4550 return SWIG_Py_Void();
4553 SWIGINTERN PyObject
*_wrap_Size_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4554 PyObject
*resultobj
= 0;
4555 wxSize
*arg1
= (wxSize
*) 0 ;
4561 PyObject
*swig_obj
[2] ;
4563 if (!SWIG_Python_UnpackTuple(args
,"Size_width_set",2,2,swig_obj
)) SWIG_fail
;
4564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4565 if (!SWIG_IsOK(res1
)) {
4566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_width_set" "', expected argument " "1"" of type '" "wxSize *""'");
4568 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4569 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4570 if (!SWIG_IsOK(ecode2
)) {
4571 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Size_width_set" "', expected argument " "2"" of type '" "int""'");
4573 arg2
= static_cast< int >(val2
);
4574 if (arg1
) (arg1
)->x
= arg2
;
4576 resultobj
= SWIG_Py_Void();
4583 SWIGINTERN PyObject
*_wrap_Size_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4584 PyObject
*resultobj
= 0;
4585 wxSize
*arg1
= (wxSize
*) 0 ;
4589 PyObject
*swig_obj
[1] ;
4591 if (!args
) SWIG_fail
;
4593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4594 if (!SWIG_IsOK(res1
)) {
4595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_width_get" "', expected argument " "1"" of type '" "wxSize *""'");
4597 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4598 result
= (int) ((arg1
)->x
);
4599 resultobj
= SWIG_From_int(static_cast< int >(result
));
4606 SWIGINTERN PyObject
*_wrap_Size_height_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4607 PyObject
*resultobj
= 0;
4608 wxSize
*arg1
= (wxSize
*) 0 ;
4614 PyObject
*swig_obj
[2] ;
4616 if (!SWIG_Python_UnpackTuple(args
,"Size_height_set",2,2,swig_obj
)) SWIG_fail
;
4617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4618 if (!SWIG_IsOK(res1
)) {
4619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_height_set" "', expected argument " "1"" of type '" "wxSize *""'");
4621 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4622 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4623 if (!SWIG_IsOK(ecode2
)) {
4624 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Size_height_set" "', expected argument " "2"" of type '" "int""'");
4626 arg2
= static_cast< int >(val2
);
4627 if (arg1
) (arg1
)->y
= arg2
;
4629 resultobj
= SWIG_Py_Void();
4636 SWIGINTERN PyObject
*_wrap_Size_height_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4637 PyObject
*resultobj
= 0;
4638 wxSize
*arg1
= (wxSize
*) 0 ;
4642 PyObject
*swig_obj
[1] ;
4644 if (!args
) SWIG_fail
;
4646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4647 if (!SWIG_IsOK(res1
)) {
4648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_height_get" "', expected argument " "1"" of type '" "wxSize *""'");
4650 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4651 result
= (int) ((arg1
)->y
);
4652 resultobj
= SWIG_From_int(static_cast< int >(result
));
4659 SWIGINTERN PyObject
*_wrap_new_Size(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4660 PyObject
*resultobj
= 0;
4661 int arg1
= (int) 0 ;
4662 int arg2
= (int) 0 ;
4663 wxSize
*result
= 0 ;
4668 PyObject
* obj0
= 0 ;
4669 PyObject
* obj1
= 0 ;
4670 char * kwnames
[] = {
4671 (char *) "w",(char *) "h", NULL
4674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4676 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4677 if (!SWIG_IsOK(ecode1
)) {
4678 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Size" "', expected argument " "1"" of type '" "int""'");
4680 arg1
= static_cast< int >(val1
);
4683 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4684 if (!SWIG_IsOK(ecode2
)) {
4685 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Size" "', expected argument " "2"" of type '" "int""'");
4687 arg2
= static_cast< int >(val2
);
4690 result
= (wxSize
*)new wxSize(arg1
,arg2
);
4691 if (PyErr_Occurred()) SWIG_fail
;
4693 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, SWIG_POINTER_NEW
| 0 );
4700 SWIGINTERN PyObject
*_wrap_delete_Size(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4701 PyObject
*resultobj
= 0;
4702 wxSize
*arg1
= (wxSize
*) 0 ;
4705 PyObject
*swig_obj
[1] ;
4707 if (!args
) SWIG_fail
;
4709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, SWIG_POINTER_DISOWN
| 0 );
4710 if (!SWIG_IsOK(res1
)) {
4711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Size" "', expected argument " "1"" of type '" "wxSize *""'");
4713 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4717 if (PyErr_Occurred()) SWIG_fail
;
4719 resultobj
= SWIG_Py_Void();
4726 SWIGINTERN PyObject
*_wrap_Size___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4727 PyObject
*resultobj
= 0;
4728 wxSize
*arg1
= (wxSize
*) 0 ;
4729 PyObject
*arg2
= (PyObject
*) 0 ;
4733 PyObject
* obj0
= 0 ;
4734 PyObject
* obj1
= 0 ;
4735 char * kwnames
[] = {
4736 (char *) "self",(char *) "other", NULL
4739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4741 if (!SWIG_IsOK(res1
)) {
4742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size___eq__" "', expected argument " "1"" of type '" "wxSize *""'");
4744 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4747 result
= (bool)wxSize___eq__(arg1
,arg2
);
4748 if (PyErr_Occurred()) SWIG_fail
;
4751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4759 SWIGINTERN PyObject
*_wrap_Size___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4760 PyObject
*resultobj
= 0;
4761 wxSize
*arg1
= (wxSize
*) 0 ;
4762 PyObject
*arg2
= (PyObject
*) 0 ;
4766 PyObject
* obj0
= 0 ;
4767 PyObject
* obj1
= 0 ;
4768 char * kwnames
[] = {
4769 (char *) "self",(char *) "other", NULL
4772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4774 if (!SWIG_IsOK(res1
)) {
4775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size___ne__" "', expected argument " "1"" of type '" "wxSize *""'");
4777 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4780 result
= (bool)wxSize___ne__(arg1
,arg2
);
4781 if (PyErr_Occurred()) SWIG_fail
;
4784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4792 SWIGINTERN PyObject
*_wrap_Size___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4793 PyObject
*resultobj
= 0;
4794 wxSize
*arg1
= (wxSize
*) 0 ;
4800 PyObject
* obj0
= 0 ;
4801 PyObject
* obj1
= 0 ;
4802 char * kwnames
[] = {
4803 (char *) "self",(char *) "sz", NULL
4806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4808 if (!SWIG_IsOK(res1
)) {
4809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size___add__" "', expected argument " "1"" of type '" "wxSize *""'");
4811 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4814 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4817 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
4818 if (PyErr_Occurred()) SWIG_fail
;
4820 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
4827 SWIGINTERN PyObject
*_wrap_Size___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4828 PyObject
*resultobj
= 0;
4829 wxSize
*arg1
= (wxSize
*) 0 ;
4835 PyObject
* obj0
= 0 ;
4836 PyObject
* obj1
= 0 ;
4837 char * kwnames
[] = {
4838 (char *) "self",(char *) "sz", NULL
4841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4843 if (!SWIG_IsOK(res1
)) {
4844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size___sub__" "', expected argument " "1"" of type '" "wxSize *""'");
4846 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4849 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4852 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
4853 if (PyErr_Occurred()) SWIG_fail
;
4855 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
4862 SWIGINTERN PyObject
*_wrap_Size_IncTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4863 PyObject
*resultobj
= 0;
4864 wxSize
*arg1
= (wxSize
*) 0 ;
4869 PyObject
* obj0
= 0 ;
4870 PyObject
* obj1
= 0 ;
4871 char * kwnames
[] = {
4872 (char *) "self",(char *) "sz", NULL
4875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4877 if (!SWIG_IsOK(res1
)) {
4878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_IncTo" "', expected argument " "1"" of type '" "wxSize *""'");
4880 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4883 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4886 (arg1
)->IncTo((wxSize
const &)*arg2
);
4887 if (PyErr_Occurred()) SWIG_fail
;
4889 resultobj
= SWIG_Py_Void();
4896 SWIGINTERN PyObject
*_wrap_Size_DecTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4897 PyObject
*resultobj
= 0;
4898 wxSize
*arg1
= (wxSize
*) 0 ;
4903 PyObject
* obj0
= 0 ;
4904 PyObject
* obj1
= 0 ;
4905 char * kwnames
[] = {
4906 (char *) "self",(char *) "sz", NULL
4909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4911 if (!SWIG_IsOK(res1
)) {
4912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_DecTo" "', expected argument " "1"" of type '" "wxSize *""'");
4914 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4917 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4920 (arg1
)->DecTo((wxSize
const &)*arg2
);
4921 if (PyErr_Occurred()) SWIG_fail
;
4923 resultobj
= SWIG_Py_Void();
4930 SWIGINTERN PyObject
*_wrap_Size_IncBy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4931 PyObject
*resultobj
= 0;
4932 wxSize
*arg1
= (wxSize
*) 0 ;
4941 PyObject
* obj0
= 0 ;
4942 PyObject
* obj1
= 0 ;
4943 PyObject
* obj2
= 0 ;
4944 char * kwnames
[] = {
4945 (char *) "self",(char *) "dx",(char *) "dy", NULL
4948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_IncBy",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4950 if (!SWIG_IsOK(res1
)) {
4951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_IncBy" "', expected argument " "1"" of type '" "wxSize *""'");
4953 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4954 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4955 if (!SWIG_IsOK(ecode2
)) {
4956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Size_IncBy" "', expected argument " "2"" of type '" "int""'");
4958 arg2
= static_cast< int >(val2
);
4959 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4960 if (!SWIG_IsOK(ecode3
)) {
4961 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Size_IncBy" "', expected argument " "3"" of type '" "int""'");
4963 arg3
= static_cast< int >(val3
);
4965 (arg1
)->IncBy(arg2
,arg3
);
4966 if (PyErr_Occurred()) SWIG_fail
;
4968 resultobj
= SWIG_Py_Void();
4975 SWIGINTERN PyObject
*_wrap_Size_DecBy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4976 PyObject
*resultobj
= 0;
4977 wxSize
*arg1
= (wxSize
*) 0 ;
4986 PyObject
* obj0
= 0 ;
4987 PyObject
* obj1
= 0 ;
4988 PyObject
* obj2
= 0 ;
4989 char * kwnames
[] = {
4990 (char *) "self",(char *) "dx",(char *) "dy", NULL
4993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_DecBy",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4995 if (!SWIG_IsOK(res1
)) {
4996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_DecBy" "', expected argument " "1"" of type '" "wxSize *""'");
4998 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4999 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5000 if (!SWIG_IsOK(ecode2
)) {
5001 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Size_DecBy" "', expected argument " "2"" of type '" "int""'");
5003 arg2
= static_cast< int >(val2
);
5004 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5005 if (!SWIG_IsOK(ecode3
)) {
5006 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Size_DecBy" "', expected argument " "3"" of type '" "int""'");
5008 arg3
= static_cast< int >(val3
);
5010 (arg1
)->DecBy(arg2
,arg3
);
5011 if (PyErr_Occurred()) SWIG_fail
;
5013 resultobj
= SWIG_Py_Void();
5020 SWIGINTERN PyObject
*_wrap_Size_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5021 PyObject
*resultobj
= 0;
5022 wxSize
*arg1
= (wxSize
*) 0 ;
5031 PyObject
* obj0
= 0 ;
5032 PyObject
* obj1
= 0 ;
5033 PyObject
* obj2
= 0 ;
5034 char * kwnames
[] = {
5035 (char *) "self",(char *) "xscale",(char *) "yscale", NULL
5038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
5040 if (!SWIG_IsOK(res1
)) {
5041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_Scale" "', expected argument " "1"" of type '" "wxSize *""'");
5043 arg1
= reinterpret_cast< wxSize
* >(argp1
);
5044 ecode2
= SWIG_AsVal_float(obj1
, &val2
);
5045 if (!SWIG_IsOK(ecode2
)) {
5046 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Size_Scale" "', expected argument " "2"" of type '" "float""'");
5048 arg2
= static_cast< float >(val2
);
5049 ecode3
= SWIG_AsVal_float(obj2
, &val3
);
5050 if (!SWIG_IsOK(ecode3
)) {
5051 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Size_Scale" "', expected argument " "3"" of type '" "float""'");
5053 arg3
= static_cast< float >(val3
);
5055 (arg1
)->Scale(arg2
,arg3
);
5056 if (PyErr_Occurred()) SWIG_fail
;
5058 resultobj
= SWIG_Py_Void();
5065 SWIGINTERN PyObject
*_wrap_Size_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5066 PyObject
*resultobj
= 0;
5067 wxSize
*arg1
= (wxSize
*) 0 ;
5076 PyObject
* obj0
= 0 ;
5077 PyObject
* obj1
= 0 ;
5078 PyObject
* obj2
= 0 ;
5079 char * kwnames
[] = {
5080 (char *) "self",(char *) "w",(char *) "h", NULL
5083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
5085 if (!SWIG_IsOK(res1
)) {
5086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_Set" "', expected argument " "1"" of type '" "wxSize *""'");
5088 arg1
= reinterpret_cast< wxSize
* >(argp1
);
5089 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5090 if (!SWIG_IsOK(ecode2
)) {
5091 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Size_Set" "', expected argument " "2"" of type '" "int""'");
5093 arg2
= static_cast< int >(val2
);
5094 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5095 if (!SWIG_IsOK(ecode3
)) {
5096 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Size_Set" "', expected argument " "3"" of type '" "int""'");
5098 arg3
= static_cast< int >(val3
);
5100 (arg1
)->Set(arg2
,arg3
);
5101 if (PyErr_Occurred()) SWIG_fail
;
5103 resultobj
= SWIG_Py_Void();
5110 SWIGINTERN PyObject
*_wrap_Size_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5111 PyObject
*resultobj
= 0;
5112 wxSize
*arg1
= (wxSize
*) 0 ;
5118 PyObject
* obj0
= 0 ;
5119 PyObject
* obj1
= 0 ;
5120 char * kwnames
[] = {
5121 (char *) "self",(char *) "w", NULL
5124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
5126 if (!SWIG_IsOK(res1
)) {
5127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_SetWidth" "', expected argument " "1"" of type '" "wxSize *""'");
5129 arg1
= reinterpret_cast< wxSize
* >(argp1
);
5130 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5131 if (!SWIG_IsOK(ecode2
)) {
5132 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Size_SetWidth" "', expected argument " "2"" of type '" "int""'");
5134 arg2
= static_cast< int >(val2
);
5136 (arg1
)->SetWidth(arg2
);
5137 if (PyErr_Occurred()) SWIG_fail
;
5139 resultobj
= SWIG_Py_Void();
5146 SWIGINTERN PyObject
*_wrap_Size_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5147 PyObject
*resultobj
= 0;
5148 wxSize
*arg1
= (wxSize
*) 0 ;
5154 PyObject
* obj0
= 0 ;
5155 PyObject
* obj1
= 0 ;
5156 char * kwnames
[] = {
5157 (char *) "self",(char *) "h", NULL
5160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
5162 if (!SWIG_IsOK(res1
)) {
5163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_SetHeight" "', expected argument " "1"" of type '" "wxSize *""'");
5165 arg1
= reinterpret_cast< wxSize
* >(argp1
);
5166 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5167 if (!SWIG_IsOK(ecode2
)) {
5168 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Size_SetHeight" "', expected argument " "2"" of type '" "int""'");
5170 arg2
= static_cast< int >(val2
);
5172 (arg1
)->SetHeight(arg2
);
5173 if (PyErr_Occurred()) SWIG_fail
;
5175 resultobj
= SWIG_Py_Void();
5182 SWIGINTERN PyObject
*_wrap_Size_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5183 PyObject
*resultobj
= 0;
5184 wxSize
*arg1
= (wxSize
*) 0 ;
5188 PyObject
*swig_obj
[1] ;
5190 if (!args
) SWIG_fail
;
5192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
5193 if (!SWIG_IsOK(res1
)) {
5194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_GetWidth" "', expected argument " "1"" of type '" "wxSize const *""'");
5196 arg1
= reinterpret_cast< wxSize
* >(argp1
);
5198 result
= (int)((wxSize
const *)arg1
)->GetWidth();
5199 if (PyErr_Occurred()) SWIG_fail
;
5201 resultobj
= SWIG_From_int(static_cast< int >(result
));
5208 SWIGINTERN PyObject
*_wrap_Size_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5209 PyObject
*resultobj
= 0;
5210 wxSize
*arg1
= (wxSize
*) 0 ;
5214 PyObject
*swig_obj
[1] ;
5216 if (!args
) SWIG_fail
;
5218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
5219 if (!SWIG_IsOK(res1
)) {
5220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_GetHeight" "', expected argument " "1"" of type '" "wxSize const *""'");
5222 arg1
= reinterpret_cast< wxSize
* >(argp1
);
5224 result
= (int)((wxSize
const *)arg1
)->GetHeight();
5225 if (PyErr_Occurred()) SWIG_fail
;
5227 resultobj
= SWIG_From_int(static_cast< int >(result
));
5234 SWIGINTERN PyObject
*_wrap_Size_IsFullySpecified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5235 PyObject
*resultobj
= 0;
5236 wxSize
*arg1
= (wxSize
*) 0 ;
5240 PyObject
*swig_obj
[1] ;
5242 if (!args
) SWIG_fail
;
5244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
5245 if (!SWIG_IsOK(res1
)) {
5246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_IsFullySpecified" "', expected argument " "1"" of type '" "wxSize const *""'");
5248 arg1
= reinterpret_cast< wxSize
* >(argp1
);
5250 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
5251 if (PyErr_Occurred()) SWIG_fail
;
5254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5262 SWIGINTERN PyObject
*_wrap_Size_SetDefaults(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5263 PyObject
*resultobj
= 0;
5264 wxSize
*arg1
= (wxSize
*) 0 ;
5269 PyObject
* obj0
= 0 ;
5270 PyObject
* obj1
= 0 ;
5271 char * kwnames
[] = {
5272 (char *) "self",(char *) "size", NULL
5275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
5277 if (!SWIG_IsOK(res1
)) {
5278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_SetDefaults" "', expected argument " "1"" of type '" "wxSize *""'");
5280 arg1
= reinterpret_cast< wxSize
* >(argp1
);
5283 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5286 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
5287 if (PyErr_Occurred()) SWIG_fail
;
5289 resultobj
= SWIG_Py_Void();
5296 SWIGINTERN PyObject
*_wrap_Size_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5297 PyObject
*resultobj
= 0;
5298 wxSize
*arg1
= (wxSize
*) 0 ;
5299 PyObject
*result
= 0 ;
5302 PyObject
*swig_obj
[1] ;
5304 if (!args
) SWIG_fail
;
5306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
5307 if (!SWIG_IsOK(res1
)) {
5308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_Get" "', expected argument " "1"" of type '" "wxSize *""'");
5310 arg1
= reinterpret_cast< wxSize
* >(argp1
);
5312 result
= (PyObject
*)wxSize_Get(arg1
);
5313 if (PyErr_Occurred()) SWIG_fail
;
5322 SWIGINTERN PyObject
*Size_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5324 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5325 SWIG_TypeNewClientData(SWIGTYPE_p_wxSize
, SWIG_NewClientData(obj
));
5326 return SWIG_Py_Void();
5329 SWIGINTERN PyObject
*Size_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5330 return SWIG_Python_InitShadowInstance(args
);
5333 SWIGINTERN PyObject
*_wrap_RealPoint_x_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5334 PyObject
*resultobj
= 0;
5335 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5341 PyObject
*swig_obj
[2] ;
5343 if (!SWIG_Python_UnpackTuple(args
,"RealPoint_x_set",2,2,swig_obj
)) SWIG_fail
;
5344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5345 if (!SWIG_IsOK(res1
)) {
5346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint_x_set" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5348 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5349 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
5350 if (!SWIG_IsOK(ecode2
)) {
5351 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RealPoint_x_set" "', expected argument " "2"" of type '" "double""'");
5353 arg2
= static_cast< double >(val2
);
5354 if (arg1
) (arg1
)->x
= arg2
;
5356 resultobj
= SWIG_Py_Void();
5363 SWIGINTERN PyObject
*_wrap_RealPoint_x_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5364 PyObject
*resultobj
= 0;
5365 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5369 PyObject
*swig_obj
[1] ;
5371 if (!args
) SWIG_fail
;
5373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5374 if (!SWIG_IsOK(res1
)) {
5375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint_x_get" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5377 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5378 result
= (double) ((arg1
)->x
);
5379 resultobj
= SWIG_From_double(static_cast< double >(result
));
5386 SWIGINTERN PyObject
*_wrap_RealPoint_y_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5387 PyObject
*resultobj
= 0;
5388 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5394 PyObject
*swig_obj
[2] ;
5396 if (!SWIG_Python_UnpackTuple(args
,"RealPoint_y_set",2,2,swig_obj
)) SWIG_fail
;
5397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5398 if (!SWIG_IsOK(res1
)) {
5399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint_y_set" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5401 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5402 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
5403 if (!SWIG_IsOK(ecode2
)) {
5404 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RealPoint_y_set" "', expected argument " "2"" of type '" "double""'");
5406 arg2
= static_cast< double >(val2
);
5407 if (arg1
) (arg1
)->y
= arg2
;
5409 resultobj
= SWIG_Py_Void();
5416 SWIGINTERN PyObject
*_wrap_RealPoint_y_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5417 PyObject
*resultobj
= 0;
5418 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5422 PyObject
*swig_obj
[1] ;
5424 if (!args
) SWIG_fail
;
5426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5427 if (!SWIG_IsOK(res1
)) {
5428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint_y_get" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5430 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5431 result
= (double) ((arg1
)->y
);
5432 resultobj
= SWIG_From_double(static_cast< double >(result
));
5439 SWIGINTERN PyObject
*_wrap_new_RealPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5440 PyObject
*resultobj
= 0;
5441 double arg1
= (double) 0.0 ;
5442 double arg2
= (double) 0.0 ;
5443 wxRealPoint
*result
= 0 ;
5448 PyObject
* obj0
= 0 ;
5449 PyObject
* obj1
= 0 ;
5450 char * kwnames
[] = {
5451 (char *) "x",(char *) "y", NULL
5454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5456 ecode1
= SWIG_AsVal_double(obj0
, &val1
);
5457 if (!SWIG_IsOK(ecode1
)) {
5458 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RealPoint" "', expected argument " "1"" of type '" "double""'");
5460 arg1
= static_cast< double >(val1
);
5463 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
5464 if (!SWIG_IsOK(ecode2
)) {
5465 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RealPoint" "', expected argument " "2"" of type '" "double""'");
5467 arg2
= static_cast< double >(val2
);
5470 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
5471 if (PyErr_Occurred()) SWIG_fail
;
5473 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_NEW
| 0 );
5480 SWIGINTERN PyObject
*_wrap_delete_RealPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5481 PyObject
*resultobj
= 0;
5482 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5485 PyObject
*swig_obj
[1] ;
5487 if (!args
) SWIG_fail
;
5489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_DISOWN
| 0 );
5490 if (!SWIG_IsOK(res1
)) {
5491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RealPoint" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5493 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5497 if (PyErr_Occurred()) SWIG_fail
;
5499 resultobj
= SWIG_Py_Void();
5506 SWIGINTERN PyObject
*_wrap_RealPoint___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5507 PyObject
*resultobj
= 0;
5508 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5509 PyObject
*arg2
= (PyObject
*) 0 ;
5513 PyObject
* obj0
= 0 ;
5514 PyObject
* obj1
= 0 ;
5515 char * kwnames
[] = {
5516 (char *) "self",(char *) "other", NULL
5519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5521 if (!SWIG_IsOK(res1
)) {
5522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint___eq__" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5524 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5527 result
= (bool)wxRealPoint___eq__(arg1
,arg2
);
5528 if (PyErr_Occurred()) SWIG_fail
;
5531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5539 SWIGINTERN PyObject
*_wrap_RealPoint___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5540 PyObject
*resultobj
= 0;
5541 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5542 PyObject
*arg2
= (PyObject
*) 0 ;
5546 PyObject
* obj0
= 0 ;
5547 PyObject
* obj1
= 0 ;
5548 char * kwnames
[] = {
5549 (char *) "self",(char *) "other", NULL
5552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5554 if (!SWIG_IsOK(res1
)) {
5555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint___ne__" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5557 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5560 result
= (bool)wxRealPoint___ne__(arg1
,arg2
);
5561 if (PyErr_Occurred()) SWIG_fail
;
5564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5572 SWIGINTERN PyObject
*_wrap_RealPoint___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5573 PyObject
*resultobj
= 0;
5574 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5575 wxRealPoint
*arg2
= 0 ;
5580 PyObject
* obj0
= 0 ;
5581 PyObject
* obj1
= 0 ;
5582 char * kwnames
[] = {
5583 (char *) "self",(char *) "pt", NULL
5586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5588 if (!SWIG_IsOK(res1
)) {
5589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint___add__" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5591 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5594 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5597 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
5598 if (PyErr_Occurred()) SWIG_fail
;
5600 resultobj
= SWIG_NewPointerObj((new wxRealPoint(static_cast< const wxRealPoint
& >(result
))), SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_OWN
| 0 );
5607 SWIGINTERN PyObject
*_wrap_RealPoint___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5608 PyObject
*resultobj
= 0;
5609 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5610 wxRealPoint
*arg2
= 0 ;
5615 PyObject
* obj0
= 0 ;
5616 PyObject
* obj1
= 0 ;
5617 char * kwnames
[] = {
5618 (char *) "self",(char *) "pt", NULL
5621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5623 if (!SWIG_IsOK(res1
)) {
5624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint___sub__" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5626 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5629 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5632 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
5633 if (PyErr_Occurred()) SWIG_fail
;
5635 resultobj
= SWIG_NewPointerObj((new wxRealPoint(static_cast< const wxRealPoint
& >(result
))), SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_OWN
| 0 );
5642 SWIGINTERN PyObject
*_wrap_RealPoint_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5643 PyObject
*resultobj
= 0;
5644 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5653 PyObject
* obj0
= 0 ;
5654 PyObject
* obj1
= 0 ;
5655 PyObject
* obj2
= 0 ;
5656 char * kwnames
[] = {
5657 (char *) "self",(char *) "x",(char *) "y", NULL
5660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5662 if (!SWIG_IsOK(res1
)) {
5663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint_Set" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5665 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5666 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
5667 if (!SWIG_IsOK(ecode2
)) {
5668 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RealPoint_Set" "', expected argument " "2"" of type '" "double""'");
5670 arg2
= static_cast< double >(val2
);
5671 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
5672 if (!SWIG_IsOK(ecode3
)) {
5673 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RealPoint_Set" "', expected argument " "3"" of type '" "double""'");
5675 arg3
= static_cast< double >(val3
);
5677 wxRealPoint_Set(arg1
,arg2
,arg3
);
5678 if (PyErr_Occurred()) SWIG_fail
;
5680 resultobj
= SWIG_Py_Void();
5687 SWIGINTERN PyObject
*_wrap_RealPoint_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5688 PyObject
*resultobj
= 0;
5689 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5690 PyObject
*result
= 0 ;
5693 PyObject
*swig_obj
[1] ;
5695 if (!args
) SWIG_fail
;
5697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5698 if (!SWIG_IsOK(res1
)) {
5699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint_Get" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5701 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5703 result
= (PyObject
*)wxRealPoint_Get(arg1
);
5704 if (PyErr_Occurred()) SWIG_fail
;
5713 SWIGINTERN PyObject
*RealPoint_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5715 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5716 SWIG_TypeNewClientData(SWIGTYPE_p_wxRealPoint
, SWIG_NewClientData(obj
));
5717 return SWIG_Py_Void();
5720 SWIGINTERN PyObject
*RealPoint_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5721 return SWIG_Python_InitShadowInstance(args
);
5724 SWIGINTERN PyObject
*_wrap_Point_x_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5725 PyObject
*resultobj
= 0;
5726 wxPoint
*arg1
= (wxPoint
*) 0 ;
5732 PyObject
*swig_obj
[2] ;
5734 if (!SWIG_Python_UnpackTuple(args
,"Point_x_set",2,2,swig_obj
)) SWIG_fail
;
5735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5736 if (!SWIG_IsOK(res1
)) {
5737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point_x_set" "', expected argument " "1"" of type '" "wxPoint *""'");
5739 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5740 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
5741 if (!SWIG_IsOK(ecode2
)) {
5742 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point_x_set" "', expected argument " "2"" of type '" "int""'");
5744 arg2
= static_cast< int >(val2
);
5745 if (arg1
) (arg1
)->x
= arg2
;
5747 resultobj
= SWIG_Py_Void();
5754 SWIGINTERN PyObject
*_wrap_Point_x_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5755 PyObject
*resultobj
= 0;
5756 wxPoint
*arg1
= (wxPoint
*) 0 ;
5760 PyObject
*swig_obj
[1] ;
5762 if (!args
) SWIG_fail
;
5764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5765 if (!SWIG_IsOK(res1
)) {
5766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point_x_get" "', expected argument " "1"" of type '" "wxPoint *""'");
5768 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5769 result
= (int) ((arg1
)->x
);
5770 resultobj
= SWIG_From_int(static_cast< int >(result
));
5777 SWIGINTERN PyObject
*_wrap_Point_y_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5778 PyObject
*resultobj
= 0;
5779 wxPoint
*arg1
= (wxPoint
*) 0 ;
5785 PyObject
*swig_obj
[2] ;
5787 if (!SWIG_Python_UnpackTuple(args
,"Point_y_set",2,2,swig_obj
)) SWIG_fail
;
5788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5789 if (!SWIG_IsOK(res1
)) {
5790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point_y_set" "', expected argument " "1"" of type '" "wxPoint *""'");
5792 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5793 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
5794 if (!SWIG_IsOK(ecode2
)) {
5795 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point_y_set" "', expected argument " "2"" of type '" "int""'");
5797 arg2
= static_cast< int >(val2
);
5798 if (arg1
) (arg1
)->y
= arg2
;
5800 resultobj
= SWIG_Py_Void();
5807 SWIGINTERN PyObject
*_wrap_Point_y_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5808 PyObject
*resultobj
= 0;
5809 wxPoint
*arg1
= (wxPoint
*) 0 ;
5813 PyObject
*swig_obj
[1] ;
5815 if (!args
) SWIG_fail
;
5817 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5818 if (!SWIG_IsOK(res1
)) {
5819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point_y_get" "', expected argument " "1"" of type '" "wxPoint *""'");
5821 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5822 result
= (int) ((arg1
)->y
);
5823 resultobj
= SWIG_From_int(static_cast< int >(result
));
5830 SWIGINTERN PyObject
*_wrap_new_Point(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5831 PyObject
*resultobj
= 0;
5832 int arg1
= (int) 0 ;
5833 int arg2
= (int) 0 ;
5834 wxPoint
*result
= 0 ;
5839 PyObject
* obj0
= 0 ;
5840 PyObject
* obj1
= 0 ;
5841 char * kwnames
[] = {
5842 (char *) "x",(char *) "y", NULL
5845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5847 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5848 if (!SWIG_IsOK(ecode1
)) {
5849 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Point" "', expected argument " "1"" of type '" "int""'");
5851 arg1
= static_cast< int >(val1
);
5854 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5855 if (!SWIG_IsOK(ecode2
)) {
5856 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Point" "', expected argument " "2"" of type '" "int""'");
5858 arg2
= static_cast< int >(val2
);
5861 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
5862 if (PyErr_Occurred()) SWIG_fail
;
5864 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, SWIG_POINTER_NEW
| 0 );
5871 SWIGINTERN PyObject
*_wrap_delete_Point(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5872 PyObject
*resultobj
= 0;
5873 wxPoint
*arg1
= (wxPoint
*) 0 ;
5876 PyObject
*swig_obj
[1] ;
5878 if (!args
) SWIG_fail
;
5880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint
, SWIG_POINTER_DISOWN
| 0 );
5881 if (!SWIG_IsOK(res1
)) {
5882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Point" "', expected argument " "1"" of type '" "wxPoint *""'");
5884 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5888 if (PyErr_Occurred()) SWIG_fail
;
5890 resultobj
= SWIG_Py_Void();
5897 SWIGINTERN PyObject
*_wrap_Point___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5898 PyObject
*resultobj
= 0;
5899 wxPoint
*arg1
= (wxPoint
*) 0 ;
5900 PyObject
*arg2
= (PyObject
*) 0 ;
5904 PyObject
* obj0
= 0 ;
5905 PyObject
* obj1
= 0 ;
5906 char * kwnames
[] = {
5907 (char *) "self",(char *) "other", NULL
5910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5912 if (!SWIG_IsOK(res1
)) {
5913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point___eq__" "', expected argument " "1"" of type '" "wxPoint *""'");
5915 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5918 result
= (bool)wxPoint___eq__(arg1
,arg2
);
5919 if (PyErr_Occurred()) SWIG_fail
;
5922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5930 SWIGINTERN PyObject
*_wrap_Point___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5931 PyObject
*resultobj
= 0;
5932 wxPoint
*arg1
= (wxPoint
*) 0 ;
5933 PyObject
*arg2
= (PyObject
*) 0 ;
5937 PyObject
* obj0
= 0 ;
5938 PyObject
* obj1
= 0 ;
5939 char * kwnames
[] = {
5940 (char *) "self",(char *) "other", NULL
5943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5945 if (!SWIG_IsOK(res1
)) {
5946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point___ne__" "', expected argument " "1"" of type '" "wxPoint *""'");
5948 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5951 result
= (bool)wxPoint___ne__(arg1
,arg2
);
5952 if (PyErr_Occurred()) SWIG_fail
;
5955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5963 SWIGINTERN PyObject
*_wrap_Point___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5964 PyObject
*resultobj
= 0;
5965 wxPoint
*arg1
= (wxPoint
*) 0 ;
5971 PyObject
* obj0
= 0 ;
5972 PyObject
* obj1
= 0 ;
5973 char * kwnames
[] = {
5974 (char *) "self",(char *) "pt", NULL
5977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5979 if (!SWIG_IsOK(res1
)) {
5980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point___add__" "', expected argument " "1"" of type '" "wxPoint *""'");
5982 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5985 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5988 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
5989 if (PyErr_Occurred()) SWIG_fail
;
5991 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
5998 SWIGINTERN PyObject
*_wrap_Point___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5999 PyObject
*resultobj
= 0;
6000 wxPoint
*arg1
= (wxPoint
*) 0 ;
6006 PyObject
* obj0
= 0 ;
6007 PyObject
* obj1
= 0 ;
6008 char * kwnames
[] = {
6009 (char *) "self",(char *) "pt", NULL
6012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
6014 if (!SWIG_IsOK(res1
)) {
6015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point___sub__" "', expected argument " "1"" of type '" "wxPoint *""'");
6017 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
6020 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6023 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
6024 if (PyErr_Occurred()) SWIG_fail
;
6026 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6033 SWIGINTERN PyObject
*_wrap_Point___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6034 PyObject
*resultobj
= 0;
6035 wxPoint
*arg1
= (wxPoint
*) 0 ;
6037 wxPoint
*result
= 0 ;
6041 PyObject
* obj0
= 0 ;
6042 PyObject
* obj1
= 0 ;
6043 char * kwnames
[] = {
6044 (char *) "self",(char *) "pt", NULL
6047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, SWIG_POINTER_DISOWN
| 0 );
6049 if (!SWIG_IsOK(res1
)) {
6050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point___iadd__" "', expected argument " "1"" of type '" "wxPoint *""'");
6052 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
6055 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6059 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
6060 result
= (wxPoint
*) &_result_ref
;
6062 if (PyErr_Occurred()) SWIG_fail
;
6064 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6071 SWIGINTERN PyObject
*_wrap_Point___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6072 PyObject
*resultobj
= 0;
6073 wxPoint
*arg1
= (wxPoint
*) 0 ;
6075 wxPoint
*result
= 0 ;
6079 PyObject
* obj0
= 0 ;
6080 PyObject
* obj1
= 0 ;
6081 char * kwnames
[] = {
6082 (char *) "self",(char *) "pt", NULL
6085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, SWIG_POINTER_DISOWN
| 0 );
6087 if (!SWIG_IsOK(res1
)) {
6088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point___isub__" "', expected argument " "1"" of type '" "wxPoint *""'");
6090 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
6093 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6097 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
6098 result
= (wxPoint
*) &_result_ref
;
6100 if (PyErr_Occurred()) SWIG_fail
;
6102 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6109 SWIGINTERN PyObject
*_wrap_Point_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6110 PyObject
*resultobj
= 0;
6111 wxPoint
*arg1
= (wxPoint
*) 0 ;
6120 PyObject
* obj0
= 0 ;
6121 PyObject
* obj1
= 0 ;
6122 PyObject
* obj2
= 0 ;
6123 char * kwnames
[] = {
6124 (char *) "self",(char *) "x",(char *) "y", NULL
6127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
6129 if (!SWIG_IsOK(res1
)) {
6130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point_Set" "', expected argument " "1"" of type '" "wxPoint *""'");
6132 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
6133 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6134 if (!SWIG_IsOK(ecode2
)) {
6135 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point_Set" "', expected argument " "2"" of type '" "long""'");
6137 arg2
= static_cast< long >(val2
);
6138 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6139 if (!SWIG_IsOK(ecode3
)) {
6140 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Point_Set" "', expected argument " "3"" of type '" "long""'");
6142 arg3
= static_cast< long >(val3
);
6144 wxPoint_Set(arg1
,arg2
,arg3
);
6145 if (PyErr_Occurred()) SWIG_fail
;
6147 resultobj
= SWIG_Py_Void();
6154 SWIGINTERN PyObject
*_wrap_Point_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6155 PyObject
*resultobj
= 0;
6156 wxPoint
*arg1
= (wxPoint
*) 0 ;
6157 PyObject
*result
= 0 ;
6160 PyObject
*swig_obj
[1] ;
6162 if (!args
) SWIG_fail
;
6164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
6165 if (!SWIG_IsOK(res1
)) {
6166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point_Get" "', expected argument " "1"" of type '" "wxPoint *""'");
6168 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
6170 result
= (PyObject
*)wxPoint_Get(arg1
);
6171 if (PyErr_Occurred()) SWIG_fail
;
6180 SWIGINTERN PyObject
*Point_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6182 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6183 SWIG_TypeNewClientData(SWIGTYPE_p_wxPoint
, SWIG_NewClientData(obj
));
6184 return SWIG_Py_Void();
6187 SWIGINTERN PyObject
*Point_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6188 return SWIG_Python_InitShadowInstance(args
);
6191 SWIGINTERN PyObject
*_wrap_new_Rect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6192 PyObject
*resultobj
= 0;
6193 int arg1
= (int) 0 ;
6194 int arg2
= (int) 0 ;
6195 int arg3
= (int) 0 ;
6196 int arg4
= (int) 0 ;
6197 wxRect
*result
= 0 ;
6206 PyObject
* obj0
= 0 ;
6207 PyObject
* obj1
= 0 ;
6208 PyObject
* obj2
= 0 ;
6209 PyObject
* obj3
= 0 ;
6210 char * kwnames
[] = {
6211 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6216 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6217 if (!SWIG_IsOK(ecode1
)) {
6218 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Rect" "', expected argument " "1"" of type '" "int""'");
6220 arg1
= static_cast< int >(val1
);
6223 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6224 if (!SWIG_IsOK(ecode2
)) {
6225 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Rect" "', expected argument " "2"" of type '" "int""'");
6227 arg2
= static_cast< int >(val2
);
6230 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6231 if (!SWIG_IsOK(ecode3
)) {
6232 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Rect" "', expected argument " "3"" of type '" "int""'");
6234 arg3
= static_cast< int >(val3
);
6237 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6238 if (!SWIG_IsOK(ecode4
)) {
6239 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Rect" "', expected argument " "4"" of type '" "int""'");
6241 arg4
= static_cast< int >(val4
);
6244 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
6245 if (PyErr_Occurred()) SWIG_fail
;
6247 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, SWIG_POINTER_NEW
| 0 );
6254 SWIGINTERN PyObject
*_wrap_new_RectPP(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6255 PyObject
*resultobj
= 0;
6258 wxRect
*result
= 0 ;
6261 PyObject
* obj0
= 0 ;
6262 PyObject
* obj1
= 0 ;
6263 char * kwnames
[] = {
6264 (char *) "topLeft",(char *) "bottomRight", NULL
6267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6270 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6274 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6277 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
6278 if (PyErr_Occurred()) SWIG_fail
;
6280 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
6287 SWIGINTERN PyObject
*_wrap_new_RectPS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6288 PyObject
*resultobj
= 0;
6291 wxRect
*result
= 0 ;
6294 PyObject
* obj0
= 0 ;
6295 PyObject
* obj1
= 0 ;
6296 char * kwnames
[] = {
6297 (char *) "pos",(char *) "size", NULL
6300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6303 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6307 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6310 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
6311 if (PyErr_Occurred()) SWIG_fail
;
6313 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
6320 SWIGINTERN PyObject
*_wrap_new_RectS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6321 PyObject
*resultobj
= 0;
6323 wxRect
*result
= 0 ;
6325 PyObject
* obj0
= 0 ;
6326 char * kwnames
[] = {
6327 (char *) "size", NULL
6330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RectS",kwnames
,&obj0
)) SWIG_fail
;
6333 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
6336 result
= (wxRect
*)new wxRect((wxSize
const &)*arg1
);
6337 if (PyErr_Occurred()) SWIG_fail
;
6339 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
6346 SWIGINTERN PyObject
*_wrap_delete_Rect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6347 PyObject
*resultobj
= 0;
6348 wxRect
*arg1
= (wxRect
*) 0 ;
6351 PyObject
*swig_obj
[1] ;
6353 if (!args
) SWIG_fail
;
6355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, SWIG_POINTER_DISOWN
| 0 );
6356 if (!SWIG_IsOK(res1
)) {
6357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Rect" "', expected argument " "1"" of type '" "wxRect *""'");
6359 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6363 if (PyErr_Occurred()) SWIG_fail
;
6365 resultobj
= SWIG_Py_Void();
6372 SWIGINTERN PyObject
*_wrap_Rect_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6373 PyObject
*resultobj
= 0;
6374 wxRect
*arg1
= (wxRect
*) 0 ;
6378 PyObject
*swig_obj
[1] ;
6380 if (!args
) SWIG_fail
;
6382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6383 if (!SWIG_IsOK(res1
)) {
6384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetX" "', expected argument " "1"" of type '" "wxRect const *""'");
6386 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6388 result
= (int)((wxRect
const *)arg1
)->GetX();
6389 if (PyErr_Occurred()) SWIG_fail
;
6391 resultobj
= SWIG_From_int(static_cast< int >(result
));
6398 SWIGINTERN PyObject
*_wrap_Rect_SetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6399 PyObject
*resultobj
= 0;
6400 wxRect
*arg1
= (wxRect
*) 0 ;
6406 PyObject
* obj0
= 0 ;
6407 PyObject
* obj1
= 0 ;
6408 char * kwnames
[] = {
6409 (char *) "self",(char *) "x", NULL
6412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6414 if (!SWIG_IsOK(res1
)) {
6415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetX" "', expected argument " "1"" of type '" "wxRect *""'");
6417 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6418 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6419 if (!SWIG_IsOK(ecode2
)) {
6420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetX" "', expected argument " "2"" of type '" "int""'");
6422 arg2
= static_cast< int >(val2
);
6425 if (PyErr_Occurred()) SWIG_fail
;
6427 resultobj
= SWIG_Py_Void();
6434 SWIGINTERN PyObject
*_wrap_Rect_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6435 PyObject
*resultobj
= 0;
6436 wxRect
*arg1
= (wxRect
*) 0 ;
6440 PyObject
*swig_obj
[1] ;
6442 if (!args
) SWIG_fail
;
6444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6445 if (!SWIG_IsOK(res1
)) {
6446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetY" "', expected argument " "1"" of type '" "wxRect *""'");
6448 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6450 result
= (int)(arg1
)->GetY();
6451 if (PyErr_Occurred()) SWIG_fail
;
6453 resultobj
= SWIG_From_int(static_cast< int >(result
));
6460 SWIGINTERN PyObject
*_wrap_Rect_SetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6461 PyObject
*resultobj
= 0;
6462 wxRect
*arg1
= (wxRect
*) 0 ;
6468 PyObject
* obj0
= 0 ;
6469 PyObject
* obj1
= 0 ;
6470 char * kwnames
[] = {
6471 (char *) "self",(char *) "y", NULL
6474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6476 if (!SWIG_IsOK(res1
)) {
6477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetY" "', expected argument " "1"" of type '" "wxRect *""'");
6479 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6480 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6481 if (!SWIG_IsOK(ecode2
)) {
6482 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetY" "', expected argument " "2"" of type '" "int""'");
6484 arg2
= static_cast< int >(val2
);
6487 if (PyErr_Occurred()) SWIG_fail
;
6489 resultobj
= SWIG_Py_Void();
6496 SWIGINTERN PyObject
*_wrap_Rect_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6497 PyObject
*resultobj
= 0;
6498 wxRect
*arg1
= (wxRect
*) 0 ;
6502 PyObject
*swig_obj
[1] ;
6504 if (!args
) SWIG_fail
;
6506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6507 if (!SWIG_IsOK(res1
)) {
6508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetWidth" "', expected argument " "1"" of type '" "wxRect const *""'");
6510 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6512 result
= (int)((wxRect
const *)arg1
)->GetWidth();
6513 if (PyErr_Occurred()) SWIG_fail
;
6515 resultobj
= SWIG_From_int(static_cast< int >(result
));
6522 SWIGINTERN PyObject
*_wrap_Rect_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6523 PyObject
*resultobj
= 0;
6524 wxRect
*arg1
= (wxRect
*) 0 ;
6530 PyObject
* obj0
= 0 ;
6531 PyObject
* obj1
= 0 ;
6532 char * kwnames
[] = {
6533 (char *) "self",(char *) "w", NULL
6536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6538 if (!SWIG_IsOK(res1
)) {
6539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetWidth" "', expected argument " "1"" of type '" "wxRect *""'");
6541 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6542 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6543 if (!SWIG_IsOK(ecode2
)) {
6544 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetWidth" "', expected argument " "2"" of type '" "int""'");
6546 arg2
= static_cast< int >(val2
);
6548 (arg1
)->SetWidth(arg2
);
6549 if (PyErr_Occurred()) SWIG_fail
;
6551 resultobj
= SWIG_Py_Void();
6558 SWIGINTERN PyObject
*_wrap_Rect_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6559 PyObject
*resultobj
= 0;
6560 wxRect
*arg1
= (wxRect
*) 0 ;
6564 PyObject
*swig_obj
[1] ;
6566 if (!args
) SWIG_fail
;
6568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6569 if (!SWIG_IsOK(res1
)) {
6570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetHeight" "', expected argument " "1"" of type '" "wxRect const *""'");
6572 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6574 result
= (int)((wxRect
const *)arg1
)->GetHeight();
6575 if (PyErr_Occurred()) SWIG_fail
;
6577 resultobj
= SWIG_From_int(static_cast< int >(result
));
6584 SWIGINTERN PyObject
*_wrap_Rect_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6585 PyObject
*resultobj
= 0;
6586 wxRect
*arg1
= (wxRect
*) 0 ;
6592 PyObject
* obj0
= 0 ;
6593 PyObject
* obj1
= 0 ;
6594 char * kwnames
[] = {
6595 (char *) "self",(char *) "h", NULL
6598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6600 if (!SWIG_IsOK(res1
)) {
6601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetHeight" "', expected argument " "1"" of type '" "wxRect *""'");
6603 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6604 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6605 if (!SWIG_IsOK(ecode2
)) {
6606 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetHeight" "', expected argument " "2"" of type '" "int""'");
6608 arg2
= static_cast< int >(val2
);
6610 (arg1
)->SetHeight(arg2
);
6611 if (PyErr_Occurred()) SWIG_fail
;
6613 resultobj
= SWIG_Py_Void();
6620 SWIGINTERN PyObject
*_wrap_Rect_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6621 PyObject
*resultobj
= 0;
6622 wxRect
*arg1
= (wxRect
*) 0 ;
6626 PyObject
*swig_obj
[1] ;
6628 if (!args
) SWIG_fail
;
6630 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6631 if (!SWIG_IsOK(res1
)) {
6632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetPosition" "', expected argument " "1"" of type '" "wxRect const *""'");
6634 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6636 result
= ((wxRect
const *)arg1
)->GetPosition();
6637 if (PyErr_Occurred()) SWIG_fail
;
6639 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6646 SWIGINTERN PyObject
*_wrap_Rect_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6647 PyObject
*resultobj
= 0;
6648 wxRect
*arg1
= (wxRect
*) 0 ;
6653 PyObject
* obj0
= 0 ;
6654 PyObject
* obj1
= 0 ;
6655 char * kwnames
[] = {
6656 (char *) "self",(char *) "p", NULL
6659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6661 if (!SWIG_IsOK(res1
)) {
6662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetPosition" "', expected argument " "1"" of type '" "wxRect *""'");
6664 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6667 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6670 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
6671 if (PyErr_Occurred()) SWIG_fail
;
6673 resultobj
= SWIG_Py_Void();
6680 SWIGINTERN PyObject
*_wrap_Rect_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6681 PyObject
*resultobj
= 0;
6682 wxRect
*arg1
= (wxRect
*) 0 ;
6686 PyObject
*swig_obj
[1] ;
6688 if (!args
) SWIG_fail
;
6690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6691 if (!SWIG_IsOK(res1
)) {
6692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetSize" "', expected argument " "1"" of type '" "wxRect const *""'");
6694 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6696 result
= ((wxRect
const *)arg1
)->GetSize();
6697 if (PyErr_Occurred()) SWIG_fail
;
6699 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6706 SWIGINTERN PyObject
*_wrap_Rect_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6707 PyObject
*resultobj
= 0;
6708 wxRect
*arg1
= (wxRect
*) 0 ;
6713 PyObject
* obj0
= 0 ;
6714 PyObject
* obj1
= 0 ;
6715 char * kwnames
[] = {
6716 (char *) "self",(char *) "s", NULL
6719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6721 if (!SWIG_IsOK(res1
)) {
6722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetSize" "', expected argument " "1"" of type '" "wxRect *""'");
6724 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6727 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6730 (arg1
)->SetSize((wxSize
const &)*arg2
);
6731 if (PyErr_Occurred()) SWIG_fail
;
6733 resultobj
= SWIG_Py_Void();
6740 SWIGINTERN PyObject
*_wrap_Rect_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6741 PyObject
*resultobj
= 0;
6742 wxRect
*arg1
= (wxRect
*) 0 ;
6746 PyObject
*swig_obj
[1] ;
6748 if (!args
) SWIG_fail
;
6750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6751 if (!SWIG_IsOK(res1
)) {
6752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_IsEmpty" "', expected argument " "1"" of type '" "wxRect const *""'");
6754 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6756 result
= (bool)((wxRect
const *)arg1
)->IsEmpty();
6757 if (PyErr_Occurred()) SWIG_fail
;
6760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6768 SWIGINTERN PyObject
*_wrap_Rect_GetTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6769 PyObject
*resultobj
= 0;
6770 wxRect
*arg1
= (wxRect
*) 0 ;
6774 PyObject
*swig_obj
[1] ;
6776 if (!args
) SWIG_fail
;
6778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6779 if (!SWIG_IsOK(res1
)) {
6780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetTopLeft" "', expected argument " "1"" of type '" "wxRect const *""'");
6782 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6784 result
= ((wxRect
const *)arg1
)->GetTopLeft();
6785 if (PyErr_Occurred()) SWIG_fail
;
6787 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6794 SWIGINTERN PyObject
*_wrap_Rect_SetTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6795 PyObject
*resultobj
= 0;
6796 wxRect
*arg1
= (wxRect
*) 0 ;
6801 PyObject
* obj0
= 0 ;
6802 PyObject
* obj1
= 0 ;
6803 char * kwnames
[] = {
6804 (char *) "self",(char *) "p", NULL
6807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6809 if (!SWIG_IsOK(res1
)) {
6810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetTopLeft" "', expected argument " "1"" of type '" "wxRect *""'");
6812 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6815 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6818 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
6819 if (PyErr_Occurred()) SWIG_fail
;
6821 resultobj
= SWIG_Py_Void();
6828 SWIGINTERN PyObject
*_wrap_Rect_GetBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6829 PyObject
*resultobj
= 0;
6830 wxRect
*arg1
= (wxRect
*) 0 ;
6834 PyObject
*swig_obj
[1] ;
6836 if (!args
) SWIG_fail
;
6838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6839 if (!SWIG_IsOK(res1
)) {
6840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetBottomRight" "', expected argument " "1"" of type '" "wxRect const *""'");
6842 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6844 result
= ((wxRect
const *)arg1
)->GetBottomRight();
6845 if (PyErr_Occurred()) SWIG_fail
;
6847 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6854 SWIGINTERN PyObject
*_wrap_Rect_SetBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6855 PyObject
*resultobj
= 0;
6856 wxRect
*arg1
= (wxRect
*) 0 ;
6861 PyObject
* obj0
= 0 ;
6862 PyObject
* obj1
= 0 ;
6863 char * kwnames
[] = {
6864 (char *) "self",(char *) "p", NULL
6867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6869 if (!SWIG_IsOK(res1
)) {
6870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetBottomRight" "', expected argument " "1"" of type '" "wxRect *""'");
6872 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6875 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6878 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
6879 if (PyErr_Occurred()) SWIG_fail
;
6881 resultobj
= SWIG_Py_Void();
6888 SWIGINTERN PyObject
*_wrap_Rect_GetTopRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6889 PyObject
*resultobj
= 0;
6890 wxRect
*arg1
= (wxRect
*) 0 ;
6894 PyObject
*swig_obj
[1] ;
6896 if (!args
) SWIG_fail
;
6898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6899 if (!SWIG_IsOK(res1
)) {
6900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetTopRight" "', expected argument " "1"" of type '" "wxRect const *""'");
6902 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6904 result
= ((wxRect
const *)arg1
)->GetTopRight();
6905 if (PyErr_Occurred()) SWIG_fail
;
6907 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6914 SWIGINTERN PyObject
*_wrap_Rect_SetTopRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6915 PyObject
*resultobj
= 0;
6916 wxRect
*arg1
= (wxRect
*) 0 ;
6921 PyObject
* obj0
= 0 ;
6922 PyObject
* obj1
= 0 ;
6923 char * kwnames
[] = {
6924 (char *) "self",(char *) "p", NULL
6927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6929 if (!SWIG_IsOK(res1
)) {
6930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetTopRight" "', expected argument " "1"" of type '" "wxRect *""'");
6932 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6935 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6938 (arg1
)->SetTopRight((wxPoint
const &)*arg2
);
6939 if (PyErr_Occurred()) SWIG_fail
;
6941 resultobj
= SWIG_Py_Void();
6948 SWIGINTERN PyObject
*_wrap_Rect_GetBottomLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6949 PyObject
*resultobj
= 0;
6950 wxRect
*arg1
= (wxRect
*) 0 ;
6954 PyObject
*swig_obj
[1] ;
6956 if (!args
) SWIG_fail
;
6958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6959 if (!SWIG_IsOK(res1
)) {
6960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetBottomLeft" "', expected argument " "1"" of type '" "wxRect const *""'");
6962 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6964 result
= ((wxRect
const *)arg1
)->GetBottomLeft();
6965 if (PyErr_Occurred()) SWIG_fail
;
6967 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6974 SWIGINTERN PyObject
*_wrap_Rect_SetBottomLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6975 PyObject
*resultobj
= 0;
6976 wxRect
*arg1
= (wxRect
*) 0 ;
6981 PyObject
* obj0
= 0 ;
6982 PyObject
* obj1
= 0 ;
6983 char * kwnames
[] = {
6984 (char *) "self",(char *) "p", NULL
6987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6989 if (!SWIG_IsOK(res1
)) {
6990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetBottomLeft" "', expected argument " "1"" of type '" "wxRect *""'");
6992 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6995 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6998 (arg1
)->SetBottomLeft((wxPoint
const &)*arg2
);
6999 if (PyErr_Occurred()) SWIG_fail
;
7001 resultobj
= SWIG_Py_Void();
7008 SWIGINTERN PyObject
*_wrap_Rect_GetLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7009 PyObject
*resultobj
= 0;
7010 wxRect
*arg1
= (wxRect
*) 0 ;
7014 PyObject
*swig_obj
[1] ;
7016 if (!args
) SWIG_fail
;
7018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7019 if (!SWIG_IsOK(res1
)) {
7020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetLeft" "', expected argument " "1"" of type '" "wxRect const *""'");
7022 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7024 result
= (int)((wxRect
const *)arg1
)->GetLeft();
7025 if (PyErr_Occurred()) SWIG_fail
;
7027 resultobj
= SWIG_From_int(static_cast< int >(result
));
7034 SWIGINTERN PyObject
*_wrap_Rect_GetTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7035 PyObject
*resultobj
= 0;
7036 wxRect
*arg1
= (wxRect
*) 0 ;
7040 PyObject
*swig_obj
[1] ;
7042 if (!args
) SWIG_fail
;
7044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7045 if (!SWIG_IsOK(res1
)) {
7046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetTop" "', expected argument " "1"" of type '" "wxRect const *""'");
7048 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7050 result
= (int)((wxRect
const *)arg1
)->GetTop();
7051 if (PyErr_Occurred()) SWIG_fail
;
7053 resultobj
= SWIG_From_int(static_cast< int >(result
));
7060 SWIGINTERN PyObject
*_wrap_Rect_GetBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7061 PyObject
*resultobj
= 0;
7062 wxRect
*arg1
= (wxRect
*) 0 ;
7066 PyObject
*swig_obj
[1] ;
7068 if (!args
) SWIG_fail
;
7070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7071 if (!SWIG_IsOK(res1
)) {
7072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetBottom" "', expected argument " "1"" of type '" "wxRect const *""'");
7074 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7076 result
= (int)((wxRect
const *)arg1
)->GetBottom();
7077 if (PyErr_Occurred()) SWIG_fail
;
7079 resultobj
= SWIG_From_int(static_cast< int >(result
));
7086 SWIGINTERN PyObject
*_wrap_Rect_GetRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7087 PyObject
*resultobj
= 0;
7088 wxRect
*arg1
= (wxRect
*) 0 ;
7092 PyObject
*swig_obj
[1] ;
7094 if (!args
) SWIG_fail
;
7096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7097 if (!SWIG_IsOK(res1
)) {
7098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetRight" "', expected argument " "1"" of type '" "wxRect const *""'");
7100 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7102 result
= (int)((wxRect
const *)arg1
)->GetRight();
7103 if (PyErr_Occurred()) SWIG_fail
;
7105 resultobj
= SWIG_From_int(static_cast< int >(result
));
7112 SWIGINTERN PyObject
*_wrap_Rect_SetLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7113 PyObject
*resultobj
= 0;
7114 wxRect
*arg1
= (wxRect
*) 0 ;
7120 PyObject
* obj0
= 0 ;
7121 PyObject
* obj1
= 0 ;
7122 char * kwnames
[] = {
7123 (char *) "self",(char *) "left", NULL
7126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7128 if (!SWIG_IsOK(res1
)) {
7129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetLeft" "', expected argument " "1"" of type '" "wxRect *""'");
7131 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7132 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7133 if (!SWIG_IsOK(ecode2
)) {
7134 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetLeft" "', expected argument " "2"" of type '" "int""'");
7136 arg2
= static_cast< int >(val2
);
7138 (arg1
)->SetLeft(arg2
);
7139 if (PyErr_Occurred()) SWIG_fail
;
7141 resultobj
= SWIG_Py_Void();
7148 SWIGINTERN PyObject
*_wrap_Rect_SetRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7149 PyObject
*resultobj
= 0;
7150 wxRect
*arg1
= (wxRect
*) 0 ;
7156 PyObject
* obj0
= 0 ;
7157 PyObject
* obj1
= 0 ;
7158 char * kwnames
[] = {
7159 (char *) "self",(char *) "right", NULL
7162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7164 if (!SWIG_IsOK(res1
)) {
7165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetRight" "', expected argument " "1"" of type '" "wxRect *""'");
7167 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7168 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7169 if (!SWIG_IsOK(ecode2
)) {
7170 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetRight" "', expected argument " "2"" of type '" "int""'");
7172 arg2
= static_cast< int >(val2
);
7174 (arg1
)->SetRight(arg2
);
7175 if (PyErr_Occurred()) SWIG_fail
;
7177 resultobj
= SWIG_Py_Void();
7184 SWIGINTERN PyObject
*_wrap_Rect_SetTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7185 PyObject
*resultobj
= 0;
7186 wxRect
*arg1
= (wxRect
*) 0 ;
7192 PyObject
* obj0
= 0 ;
7193 PyObject
* obj1
= 0 ;
7194 char * kwnames
[] = {
7195 (char *) "self",(char *) "top", NULL
7198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7200 if (!SWIG_IsOK(res1
)) {
7201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetTop" "', expected argument " "1"" of type '" "wxRect *""'");
7203 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7204 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7205 if (!SWIG_IsOK(ecode2
)) {
7206 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetTop" "', expected argument " "2"" of type '" "int""'");
7208 arg2
= static_cast< int >(val2
);
7210 (arg1
)->SetTop(arg2
);
7211 if (PyErr_Occurred()) SWIG_fail
;
7213 resultobj
= SWIG_Py_Void();
7220 SWIGINTERN PyObject
*_wrap_Rect_SetBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7221 PyObject
*resultobj
= 0;
7222 wxRect
*arg1
= (wxRect
*) 0 ;
7228 PyObject
* obj0
= 0 ;
7229 PyObject
* obj1
= 0 ;
7230 char * kwnames
[] = {
7231 (char *) "self",(char *) "bottom", NULL
7234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7236 if (!SWIG_IsOK(res1
)) {
7237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetBottom" "', expected argument " "1"" of type '" "wxRect *""'");
7239 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7240 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7241 if (!SWIG_IsOK(ecode2
)) {
7242 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetBottom" "', expected argument " "2"" of type '" "int""'");
7244 arg2
= static_cast< int >(val2
);
7246 (arg1
)->SetBottom(arg2
);
7247 if (PyErr_Occurred()) SWIG_fail
;
7249 resultobj
= SWIG_Py_Void();
7256 SWIGINTERN PyObject
*_wrap_Rect_Inflate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7257 PyObject
*resultobj
= 0;
7258 wxRect
*arg1
= (wxRect
*) 0 ;
7261 wxRect
*result
= 0 ;
7268 PyObject
* obj0
= 0 ;
7269 PyObject
* obj1
= 0 ;
7270 PyObject
* obj2
= 0 ;
7271 char * kwnames
[] = {
7272 (char *) "self",(char *) "dx",(char *) "dy", NULL
7275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7277 if (!SWIG_IsOK(res1
)) {
7278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Inflate" "', expected argument " "1"" of type '" "wxRect *""'");
7280 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7281 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7282 if (!SWIG_IsOK(ecode2
)) {
7283 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_Inflate" "', expected argument " "2"" of type '" "int""'");
7285 arg2
= static_cast< int >(val2
);
7286 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7287 if (!SWIG_IsOK(ecode3
)) {
7288 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect_Inflate" "', expected argument " "3"" of type '" "int""'");
7290 arg3
= static_cast< int >(val3
);
7293 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
7294 result
= (wxRect
*) &_result_ref
;
7296 if (PyErr_Occurred()) SWIG_fail
;
7298 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, 0 | 0 );
7305 SWIGINTERN PyObject
*_wrap_Rect_Deflate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7306 PyObject
*resultobj
= 0;
7307 wxRect
*arg1
= (wxRect
*) 0 ;
7310 wxRect
*result
= 0 ;
7317 PyObject
* obj0
= 0 ;
7318 PyObject
* obj1
= 0 ;
7319 PyObject
* obj2
= 0 ;
7320 char * kwnames
[] = {
7321 (char *) "self",(char *) "dx",(char *) "dy", NULL
7324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7326 if (!SWIG_IsOK(res1
)) {
7327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Deflate" "', expected argument " "1"" of type '" "wxRect *""'");
7329 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7330 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7331 if (!SWIG_IsOK(ecode2
)) {
7332 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_Deflate" "', expected argument " "2"" of type '" "int""'");
7334 arg2
= static_cast< int >(val2
);
7335 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7336 if (!SWIG_IsOK(ecode3
)) {
7337 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect_Deflate" "', expected argument " "3"" of type '" "int""'");
7339 arg3
= static_cast< int >(val3
);
7342 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
7343 result
= (wxRect
*) &_result_ref
;
7345 if (PyErr_Occurred()) SWIG_fail
;
7347 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, 0 | 0 );
7354 SWIGINTERN PyObject
*_wrap_Rect_OffsetXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7355 PyObject
*resultobj
= 0;
7356 wxRect
*arg1
= (wxRect
*) 0 ;
7365 PyObject
* obj0
= 0 ;
7366 PyObject
* obj1
= 0 ;
7367 PyObject
* obj2
= 0 ;
7368 char * kwnames
[] = {
7369 (char *) "self",(char *) "dx",(char *) "dy", NULL
7372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7374 if (!SWIG_IsOK(res1
)) {
7375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_OffsetXY" "', expected argument " "1"" of type '" "wxRect *""'");
7377 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7378 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7379 if (!SWIG_IsOK(ecode2
)) {
7380 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_OffsetXY" "', expected argument " "2"" of type '" "int""'");
7382 arg2
= static_cast< int >(val2
);
7383 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7384 if (!SWIG_IsOK(ecode3
)) {
7385 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect_OffsetXY" "', expected argument " "3"" of type '" "int""'");
7387 arg3
= static_cast< int >(val3
);
7389 (arg1
)->Offset(arg2
,arg3
);
7390 if (PyErr_Occurred()) SWIG_fail
;
7392 resultobj
= SWIG_Py_Void();
7399 SWIGINTERN PyObject
*_wrap_Rect_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7400 PyObject
*resultobj
= 0;
7401 wxRect
*arg1
= (wxRect
*) 0 ;
7406 PyObject
* obj0
= 0 ;
7407 PyObject
* obj1
= 0 ;
7408 char * kwnames
[] = {
7409 (char *) "self",(char *) "pt", NULL
7412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7414 if (!SWIG_IsOK(res1
)) {
7415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Offset" "', expected argument " "1"" of type '" "wxRect *""'");
7417 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7420 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7423 (arg1
)->Offset((wxPoint
const &)*arg2
);
7424 if (PyErr_Occurred()) SWIG_fail
;
7426 resultobj
= SWIG_Py_Void();
7433 SWIGINTERN PyObject
*_wrap_Rect_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7434 PyObject
*resultobj
= 0;
7435 wxRect
*arg1
= (wxRect
*) 0 ;
7441 PyObject
* obj0
= 0 ;
7442 PyObject
* obj1
= 0 ;
7443 char * kwnames
[] = {
7444 (char *) "self",(char *) "rect", NULL
7447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7449 if (!SWIG_IsOK(res1
)) {
7450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Intersect" "', expected argument " "1"" of type '" "wxRect *""'");
7452 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7455 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7458 result
= (arg1
)->Intersect((wxRect
const &)*arg2
);
7459 if (PyErr_Occurred()) SWIG_fail
;
7461 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
7468 SWIGINTERN PyObject
*_wrap_Rect_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7469 PyObject
*resultobj
= 0;
7470 wxRect
*arg1
= (wxRect
*) 0 ;
7476 PyObject
* obj0
= 0 ;
7477 PyObject
* obj1
= 0 ;
7478 char * kwnames
[] = {
7479 (char *) "self",(char *) "rect", NULL
7482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Union",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7484 if (!SWIG_IsOK(res1
)) {
7485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Union" "', expected argument " "1"" of type '" "wxRect *""'");
7487 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7490 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7493 result
= (arg1
)->Union((wxRect
const &)*arg2
);
7494 if (PyErr_Occurred()) SWIG_fail
;
7496 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
7503 SWIGINTERN PyObject
*_wrap_Rect___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7504 PyObject
*resultobj
= 0;
7505 wxRect
*arg1
= (wxRect
*) 0 ;
7511 PyObject
* obj0
= 0 ;
7512 PyObject
* obj1
= 0 ;
7513 char * kwnames
[] = {
7514 (char *) "self",(char *) "rect", NULL
7517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7519 if (!SWIG_IsOK(res1
)) {
7520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect___add__" "', expected argument " "1"" of type '" "wxRect const *""'");
7522 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7525 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7528 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
7529 if (PyErr_Occurred()) SWIG_fail
;
7531 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
7538 SWIGINTERN PyObject
*_wrap_Rect___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7539 PyObject
*resultobj
= 0;
7540 wxRect
*arg1
= (wxRect
*) 0 ;
7542 wxRect
*result
= 0 ;
7546 PyObject
* obj0
= 0 ;
7547 PyObject
* obj1
= 0 ;
7548 char * kwnames
[] = {
7549 (char *) "self",(char *) "rect", NULL
7552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, SWIG_POINTER_DISOWN
| 0 );
7554 if (!SWIG_IsOK(res1
)) {
7555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect___iadd__" "', expected argument " "1"" of type '" "wxRect *""'");
7557 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7560 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7564 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
7565 result
= (wxRect
*) &_result_ref
;
7567 if (PyErr_Occurred()) SWIG_fail
;
7569 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
7576 SWIGINTERN PyObject
*_wrap_Rect___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7577 PyObject
*resultobj
= 0;
7578 wxRect
*arg1
= (wxRect
*) 0 ;
7579 PyObject
*arg2
= (PyObject
*) 0 ;
7583 PyObject
* obj0
= 0 ;
7584 PyObject
* obj1
= 0 ;
7585 char * kwnames
[] = {
7586 (char *) "self",(char *) "other", NULL
7589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7591 if (!SWIG_IsOK(res1
)) {
7592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect___eq__" "', expected argument " "1"" of type '" "wxRect *""'");
7594 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7597 result
= (bool)wxRect___eq__(arg1
,arg2
);
7598 if (PyErr_Occurred()) SWIG_fail
;
7601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7609 SWIGINTERN PyObject
*_wrap_Rect___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7610 PyObject
*resultobj
= 0;
7611 wxRect
*arg1
= (wxRect
*) 0 ;
7612 PyObject
*arg2
= (PyObject
*) 0 ;
7616 PyObject
* obj0
= 0 ;
7617 PyObject
* obj1
= 0 ;
7618 char * kwnames
[] = {
7619 (char *) "self",(char *) "other", NULL
7622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7624 if (!SWIG_IsOK(res1
)) {
7625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect___ne__" "', expected argument " "1"" of type '" "wxRect *""'");
7627 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7630 result
= (bool)wxRect___ne__(arg1
,arg2
);
7631 if (PyErr_Occurred()) SWIG_fail
;
7634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7642 SWIGINTERN PyObject
*_wrap_Rect_ContainsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7643 PyObject
*resultobj
= 0;
7644 wxRect
*arg1
= (wxRect
*) 0 ;
7654 PyObject
* obj0
= 0 ;
7655 PyObject
* obj1
= 0 ;
7656 PyObject
* obj2
= 0 ;
7657 char * kwnames
[] = {
7658 (char *) "self",(char *) "x",(char *) "y", NULL
7661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_ContainsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7663 if (!SWIG_IsOK(res1
)) {
7664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_ContainsXY" "', expected argument " "1"" of type '" "wxRect const *""'");
7666 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7667 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7668 if (!SWIG_IsOK(ecode2
)) {
7669 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_ContainsXY" "', expected argument " "2"" of type '" "int""'");
7671 arg2
= static_cast< int >(val2
);
7672 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7673 if (!SWIG_IsOK(ecode3
)) {
7674 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect_ContainsXY" "', expected argument " "3"" of type '" "int""'");
7676 arg3
= static_cast< int >(val3
);
7678 result
= (bool)((wxRect
const *)arg1
)->Contains(arg2
,arg3
);
7679 if (PyErr_Occurred()) SWIG_fail
;
7682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7690 SWIGINTERN PyObject
*_wrap_Rect_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7691 PyObject
*resultobj
= 0;
7692 wxRect
*arg1
= (wxRect
*) 0 ;
7698 PyObject
* obj0
= 0 ;
7699 PyObject
* obj1
= 0 ;
7700 char * kwnames
[] = {
7701 (char *) "self",(char *) "pt", NULL
7704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Contains",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7706 if (!SWIG_IsOK(res1
)) {
7707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Contains" "', expected argument " "1"" of type '" "wxRect const *""'");
7709 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7712 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7715 result
= (bool)((wxRect
const *)arg1
)->Contains((wxPoint
const &)*arg2
);
7716 if (PyErr_Occurred()) SWIG_fail
;
7719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7727 SWIGINTERN PyObject
*_wrap_Rect_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7728 PyObject
*resultobj
= 0;
7729 wxRect
*arg1
= (wxRect
*) 0 ;
7735 PyObject
* obj0
= 0 ;
7736 PyObject
* obj1
= 0 ;
7737 char * kwnames
[] = {
7738 (char *) "self",(char *) "rect", NULL
7741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7743 if (!SWIG_IsOK(res1
)) {
7744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_ContainsRect" "', expected argument " "1"" of type '" "wxRect const *""'");
7746 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7749 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7752 result
= (bool)((wxRect
const *)arg1
)->Contains((wxRect
const &)*arg2
);
7753 if (PyErr_Occurred()) SWIG_fail
;
7756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7764 SWIGINTERN PyObject
*_wrap_Rect_Intersects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7765 PyObject
*resultobj
= 0;
7766 wxRect
*arg1
= (wxRect
*) 0 ;
7772 PyObject
* obj0
= 0 ;
7773 PyObject
* obj1
= 0 ;
7774 char * kwnames
[] = {
7775 (char *) "self",(char *) "rect", NULL
7778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7780 if (!SWIG_IsOK(res1
)) {
7781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Intersects" "', expected argument " "1"" of type '" "wxRect const *""'");
7783 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7786 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7789 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
7790 if (PyErr_Occurred()) SWIG_fail
;
7793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7801 SWIGINTERN PyObject
*_wrap_Rect_CenterIn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7802 PyObject
*resultobj
= 0;
7803 wxRect
*arg1
= (wxRect
*) 0 ;
7805 int arg3
= (int) wxBOTH
;
7812 PyObject
* obj0
= 0 ;
7813 PyObject
* obj1
= 0 ;
7814 PyObject
* obj2
= 0 ;
7815 char * kwnames
[] = {
7816 (char *) "self",(char *) "r",(char *) "dir", NULL
7819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Rect_CenterIn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7821 if (!SWIG_IsOK(res1
)) {
7822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_CenterIn" "', expected argument " "1"" of type '" "wxRect *""'");
7824 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7827 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7830 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7831 if (!SWIG_IsOK(ecode3
)) {
7832 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect_CenterIn" "', expected argument " "3"" of type '" "int""'");
7834 arg3
= static_cast< int >(val3
);
7837 result
= (arg1
)->CenterIn((wxRect
const &)*arg2
,arg3
);
7838 if (PyErr_Occurred()) SWIG_fail
;
7840 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
7847 SWIGINTERN PyObject
*_wrap_Rect_x_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7848 PyObject
*resultobj
= 0;
7849 wxRect
*arg1
= (wxRect
*) 0 ;
7855 PyObject
*swig_obj
[2] ;
7857 if (!SWIG_Python_UnpackTuple(args
,"Rect_x_set",2,2,swig_obj
)) SWIG_fail
;
7858 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7859 if (!SWIG_IsOK(res1
)) {
7860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_x_set" "', expected argument " "1"" of type '" "wxRect *""'");
7862 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7863 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
7864 if (!SWIG_IsOK(ecode2
)) {
7865 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_x_set" "', expected argument " "2"" of type '" "int""'");
7867 arg2
= static_cast< int >(val2
);
7868 if (arg1
) (arg1
)->x
= arg2
;
7870 resultobj
= SWIG_Py_Void();
7877 SWIGINTERN PyObject
*_wrap_Rect_x_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7878 PyObject
*resultobj
= 0;
7879 wxRect
*arg1
= (wxRect
*) 0 ;
7883 PyObject
*swig_obj
[1] ;
7885 if (!args
) SWIG_fail
;
7887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7888 if (!SWIG_IsOK(res1
)) {
7889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_x_get" "', expected argument " "1"" of type '" "wxRect *""'");
7891 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7892 result
= (int) ((arg1
)->x
);
7893 resultobj
= SWIG_From_int(static_cast< int >(result
));
7900 SWIGINTERN PyObject
*_wrap_Rect_y_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7901 PyObject
*resultobj
= 0;
7902 wxRect
*arg1
= (wxRect
*) 0 ;
7908 PyObject
*swig_obj
[2] ;
7910 if (!SWIG_Python_UnpackTuple(args
,"Rect_y_set",2,2,swig_obj
)) SWIG_fail
;
7911 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7912 if (!SWIG_IsOK(res1
)) {
7913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_y_set" "', expected argument " "1"" of type '" "wxRect *""'");
7915 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7916 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
7917 if (!SWIG_IsOK(ecode2
)) {
7918 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_y_set" "', expected argument " "2"" of type '" "int""'");
7920 arg2
= static_cast< int >(val2
);
7921 if (arg1
) (arg1
)->y
= arg2
;
7923 resultobj
= SWIG_Py_Void();
7930 SWIGINTERN PyObject
*_wrap_Rect_y_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7931 PyObject
*resultobj
= 0;
7932 wxRect
*arg1
= (wxRect
*) 0 ;
7936 PyObject
*swig_obj
[1] ;
7938 if (!args
) SWIG_fail
;
7940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7941 if (!SWIG_IsOK(res1
)) {
7942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_y_get" "', expected argument " "1"" of type '" "wxRect *""'");
7944 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7945 result
= (int) ((arg1
)->y
);
7946 resultobj
= SWIG_From_int(static_cast< int >(result
));
7953 SWIGINTERN PyObject
*_wrap_Rect_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7954 PyObject
*resultobj
= 0;
7955 wxRect
*arg1
= (wxRect
*) 0 ;
7961 PyObject
*swig_obj
[2] ;
7963 if (!SWIG_Python_UnpackTuple(args
,"Rect_width_set",2,2,swig_obj
)) SWIG_fail
;
7964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7965 if (!SWIG_IsOK(res1
)) {
7966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_width_set" "', expected argument " "1"" of type '" "wxRect *""'");
7968 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7969 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
7970 if (!SWIG_IsOK(ecode2
)) {
7971 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_width_set" "', expected argument " "2"" of type '" "int""'");
7973 arg2
= static_cast< int >(val2
);
7974 if (arg1
) (arg1
)->width
= arg2
;
7976 resultobj
= SWIG_Py_Void();
7983 SWIGINTERN PyObject
*_wrap_Rect_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7984 PyObject
*resultobj
= 0;
7985 wxRect
*arg1
= (wxRect
*) 0 ;
7989 PyObject
*swig_obj
[1] ;
7991 if (!args
) SWIG_fail
;
7993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7994 if (!SWIG_IsOK(res1
)) {
7995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_width_get" "', expected argument " "1"" of type '" "wxRect *""'");
7997 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7998 result
= (int) ((arg1
)->width
);
7999 resultobj
= SWIG_From_int(static_cast< int >(result
));
8006 SWIGINTERN PyObject
*_wrap_Rect_height_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8007 PyObject
*resultobj
= 0;
8008 wxRect
*arg1
= (wxRect
*) 0 ;
8014 PyObject
*swig_obj
[2] ;
8016 if (!SWIG_Python_UnpackTuple(args
,"Rect_height_set",2,2,swig_obj
)) SWIG_fail
;
8017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
8018 if (!SWIG_IsOK(res1
)) {
8019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_height_set" "', expected argument " "1"" of type '" "wxRect *""'");
8021 arg1
= reinterpret_cast< wxRect
* >(argp1
);
8022 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
8023 if (!SWIG_IsOK(ecode2
)) {
8024 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_height_set" "', expected argument " "2"" of type '" "int""'");
8026 arg2
= static_cast< int >(val2
);
8027 if (arg1
) (arg1
)->height
= arg2
;
8029 resultobj
= SWIG_Py_Void();
8036 SWIGINTERN PyObject
*_wrap_Rect_height_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8037 PyObject
*resultobj
= 0;
8038 wxRect
*arg1
= (wxRect
*) 0 ;
8042 PyObject
*swig_obj
[1] ;
8044 if (!args
) SWIG_fail
;
8046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
8047 if (!SWIG_IsOK(res1
)) {
8048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_height_get" "', expected argument " "1"" of type '" "wxRect *""'");
8050 arg1
= reinterpret_cast< wxRect
* >(argp1
);
8051 result
= (int) ((arg1
)->height
);
8052 resultobj
= SWIG_From_int(static_cast< int >(result
));
8059 SWIGINTERN PyObject
*_wrap_Rect_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8060 PyObject
*resultobj
= 0;
8061 wxRect
*arg1
= (wxRect
*) 0 ;
8062 int arg2
= (int) 0 ;
8063 int arg3
= (int) 0 ;
8064 int arg4
= (int) 0 ;
8065 int arg5
= (int) 0 ;
8076 PyObject
* obj0
= 0 ;
8077 PyObject
* obj1
= 0 ;
8078 PyObject
* obj2
= 0 ;
8079 PyObject
* obj3
= 0 ;
8080 PyObject
* obj4
= 0 ;
8081 char * kwnames
[] = {
8082 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
8085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
8087 if (!SWIG_IsOK(res1
)) {
8088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Set" "', expected argument " "1"" of type '" "wxRect *""'");
8090 arg1
= reinterpret_cast< wxRect
* >(argp1
);
8092 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8093 if (!SWIG_IsOK(ecode2
)) {
8094 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_Set" "', expected argument " "2"" of type '" "int""'");
8096 arg2
= static_cast< int >(val2
);
8099 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8100 if (!SWIG_IsOK(ecode3
)) {
8101 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect_Set" "', expected argument " "3"" of type '" "int""'");
8103 arg3
= static_cast< int >(val3
);
8106 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8107 if (!SWIG_IsOK(ecode4
)) {
8108 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Rect_Set" "', expected argument " "4"" of type '" "int""'");
8110 arg4
= static_cast< int >(val4
);
8113 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8114 if (!SWIG_IsOK(ecode5
)) {
8115 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Rect_Set" "', expected argument " "5"" of type '" "int""'");
8117 arg5
= static_cast< int >(val5
);
8120 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8121 if (PyErr_Occurred()) SWIG_fail
;
8123 resultobj
= SWIG_Py_Void();
8130 SWIGINTERN PyObject
*_wrap_Rect_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8131 PyObject
*resultobj
= 0;
8132 wxRect
*arg1
= (wxRect
*) 0 ;
8133 PyObject
*result
= 0 ;
8136 PyObject
*swig_obj
[1] ;
8138 if (!args
) SWIG_fail
;
8140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
8141 if (!SWIG_IsOK(res1
)) {
8142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Get" "', expected argument " "1"" of type '" "wxRect *""'");
8144 arg1
= reinterpret_cast< wxRect
* >(argp1
);
8146 result
= (PyObject
*)wxRect_Get(arg1
);
8147 if (PyErr_Occurred()) SWIG_fail
;
8156 SWIGINTERN PyObject
*Rect_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8158 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8159 SWIG_TypeNewClientData(SWIGTYPE_p_wxRect
, SWIG_NewClientData(obj
));
8160 return SWIG_Py_Void();
8163 SWIGINTERN PyObject
*Rect_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8164 return SWIG_Python_InitShadowInstance(args
);
8167 SWIGINTERN PyObject
*_wrap_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8168 PyObject
*resultobj
= 0;
8169 wxRect
*arg1
= (wxRect
*) 0 ;
8170 wxRect
*arg2
= (wxRect
*) 0 ;
8171 PyObject
*result
= 0 ;
8176 PyObject
* obj0
= 0 ;
8177 PyObject
* obj1
= 0 ;
8178 char * kwnames
[] = {
8179 (char *) "r1",(char *) "r2", NULL
8182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
8184 if (!SWIG_IsOK(res1
)) {
8185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IntersectRect" "', expected argument " "1"" of type '" "wxRect *""'");
8187 arg1
= reinterpret_cast< wxRect
* >(argp1
);
8188 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
8189 if (!SWIG_IsOK(res2
)) {
8190 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IntersectRect" "', expected argument " "2"" of type '" "wxRect *""'");
8192 arg2
= reinterpret_cast< wxRect
* >(argp2
);
8194 if (!wxPyCheckForApp()) SWIG_fail
;
8195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8196 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
8197 wxPyEndAllowThreads(__tstate
);
8198 if (PyErr_Occurred()) SWIG_fail
;
8207 SWIGINTERN PyObject
*_wrap_new_Point2D(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8208 PyObject
*resultobj
= 0;
8209 double arg1
= (double) 0.0 ;
8210 double arg2
= (double) 0.0 ;
8211 wxPoint2D
*result
= 0 ;
8216 PyObject
* obj0
= 0 ;
8217 PyObject
* obj1
= 0 ;
8218 char * kwnames
[] = {
8219 (char *) "x",(char *) "y", NULL
8222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8224 ecode1
= SWIG_AsVal_double(obj0
, &val1
);
8225 if (!SWIG_IsOK(ecode1
)) {
8226 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Point2D" "', expected argument " "1"" of type '" "double""'");
8228 arg1
= static_cast< double >(val1
);
8231 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
8232 if (!SWIG_IsOK(ecode2
)) {
8233 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Point2D" "', expected argument " "2"" of type '" "double""'");
8235 arg2
= static_cast< double >(val2
);
8238 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
8239 if (PyErr_Occurred()) SWIG_fail
;
8241 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_NEW
| 0 );
8248 SWIGINTERN PyObject
*_wrap_new_Point2DCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8249 PyObject
*resultobj
= 0;
8250 wxPoint2D
*arg1
= 0 ;
8251 wxPoint2D
*result
= 0 ;
8253 PyObject
* obj0
= 0 ;
8254 char * kwnames
[] = {
8258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) SWIG_fail
;
8261 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
8264 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
8265 if (PyErr_Occurred()) SWIG_fail
;
8267 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8274 SWIGINTERN PyObject
*_wrap_new_Point2DFromPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8275 PyObject
*resultobj
= 0;
8277 wxPoint2D
*result
= 0 ;
8279 PyObject
* obj0
= 0 ;
8280 char * kwnames
[] = {
8284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) SWIG_fail
;
8287 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
8290 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
8291 if (PyErr_Occurred()) SWIG_fail
;
8293 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8300 SWIGINTERN PyObject
*_wrap_delete_Point2D(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8301 PyObject
*resultobj
= 0;
8302 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8305 PyObject
*swig_obj
[1] ;
8307 if (!args
) SWIG_fail
;
8309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_DISOWN
| 0 );
8310 if (!SWIG_IsOK(res1
)) {
8311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Point2D" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8313 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8317 if (PyErr_Occurred()) SWIG_fail
;
8319 resultobj
= SWIG_Py_Void();
8326 SWIGINTERN PyObject
*_wrap_Point2D_GetFloor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8327 PyObject
*resultobj
= 0;
8328 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8329 int *arg2
= (int *) 0 ;
8330 int *arg3
= (int *) 0 ;
8334 int res2
= SWIG_TMPOBJ
;
8336 int res3
= SWIG_TMPOBJ
;
8337 PyObject
*swig_obj
[1] ;
8341 if (!args
) SWIG_fail
;
8343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8344 if (!SWIG_IsOK(res1
)) {
8345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetFloor" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8347 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8349 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
8350 if (PyErr_Occurred()) SWIG_fail
;
8352 resultobj
= SWIG_Py_Void();
8353 if (SWIG_IsTmpObj(res2
)) {
8354 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8356 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8357 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8359 if (SWIG_IsTmpObj(res3
)) {
8360 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8362 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8363 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8371 SWIGINTERN PyObject
*_wrap_Point2D_GetRounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8372 PyObject
*resultobj
= 0;
8373 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8374 int *arg2
= (int *) 0 ;
8375 int *arg3
= (int *) 0 ;
8379 int res2
= SWIG_TMPOBJ
;
8381 int res3
= SWIG_TMPOBJ
;
8382 PyObject
*swig_obj
[1] ;
8386 if (!args
) SWIG_fail
;
8388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8389 if (!SWIG_IsOK(res1
)) {
8390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetRounded" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8392 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8394 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
8395 if (PyErr_Occurred()) SWIG_fail
;
8397 resultobj
= SWIG_Py_Void();
8398 if (SWIG_IsTmpObj(res2
)) {
8399 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8401 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8402 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8404 if (SWIG_IsTmpObj(res3
)) {
8405 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8407 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8408 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8416 SWIGINTERN PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8417 PyObject
*resultobj
= 0;
8418 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8422 PyObject
*swig_obj
[1] ;
8424 if (!args
) SWIG_fail
;
8426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8427 if (!SWIG_IsOK(res1
)) {
8428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetVectorLength" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8430 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8432 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
8433 if (PyErr_Occurred()) SWIG_fail
;
8435 resultobj
= SWIG_From_double(static_cast< double >(result
));
8442 SWIGINTERN PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8443 PyObject
*resultobj
= 0;
8444 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8448 PyObject
*swig_obj
[1] ;
8450 if (!args
) SWIG_fail
;
8452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8453 if (!SWIG_IsOK(res1
)) {
8454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetVectorAngle" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8456 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8458 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
8459 if (PyErr_Occurred()) SWIG_fail
;
8461 resultobj
= SWIG_From_double(static_cast< double >(result
));
8468 SWIGINTERN PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8469 PyObject
*resultobj
= 0;
8470 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8476 PyObject
* obj0
= 0 ;
8477 PyObject
* obj1
= 0 ;
8478 char * kwnames
[] = {
8479 (char *) "self",(char *) "length", NULL
8482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8484 if (!SWIG_IsOK(res1
)) {
8485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_SetVectorLength" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8487 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8488 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
8489 if (!SWIG_IsOK(ecode2
)) {
8490 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point2D_SetVectorLength" "', expected argument " "2"" of type '" "double""'");
8492 arg2
= static_cast< double >(val2
);
8494 (arg1
)->SetVectorLength(arg2
);
8495 if (PyErr_Occurred()) SWIG_fail
;
8497 resultobj
= SWIG_Py_Void();
8504 SWIGINTERN PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8505 PyObject
*resultobj
= 0;
8506 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8512 PyObject
* obj0
= 0 ;
8513 PyObject
* obj1
= 0 ;
8514 char * kwnames
[] = {
8515 (char *) "self",(char *) "degrees", NULL
8518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8520 if (!SWIG_IsOK(res1
)) {
8521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_SetVectorAngle" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8523 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8524 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
8525 if (!SWIG_IsOK(ecode2
)) {
8526 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point2D_SetVectorAngle" "', expected argument " "2"" of type '" "double""'");
8528 arg2
= static_cast< double >(val2
);
8530 (arg1
)->SetVectorAngle(arg2
);
8531 if (PyErr_Occurred()) SWIG_fail
;
8533 resultobj
= SWIG_Py_Void();
8540 SWIGINTERN PyObject
*_wrap_Point2D_GetDistance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8541 PyObject
*resultobj
= 0;
8542 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8543 wxPoint2D
*arg2
= 0 ;
8548 PyObject
* obj0
= 0 ;
8549 PyObject
* obj1
= 0 ;
8550 char * kwnames
[] = {
8551 (char *) "self",(char *) "pt", NULL
8554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8556 if (!SWIG_IsOK(res1
)) {
8557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetDistance" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8559 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8562 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8565 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
8566 if (PyErr_Occurred()) SWIG_fail
;
8568 resultobj
= SWIG_From_double(static_cast< double >(result
));
8575 SWIGINTERN PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8576 PyObject
*resultobj
= 0;
8577 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8578 wxPoint2D
*arg2
= 0 ;
8583 PyObject
* obj0
= 0 ;
8584 PyObject
* obj1
= 0 ;
8585 char * kwnames
[] = {
8586 (char *) "self",(char *) "pt", NULL
8589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8591 if (!SWIG_IsOK(res1
)) {
8592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetDistanceSquare" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8594 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8597 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8600 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
8601 if (PyErr_Occurred()) SWIG_fail
;
8603 resultobj
= SWIG_From_double(static_cast< double >(result
));
8610 SWIGINTERN PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8611 PyObject
*resultobj
= 0;
8612 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8613 wxPoint2D
*arg2
= 0 ;
8618 PyObject
* obj0
= 0 ;
8619 PyObject
* obj1
= 0 ;
8620 char * kwnames
[] = {
8621 (char *) "self",(char *) "vec", NULL
8624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8626 if (!SWIG_IsOK(res1
)) {
8627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetDotProduct" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8629 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8632 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8635 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
8636 if (PyErr_Occurred()) SWIG_fail
;
8638 resultobj
= SWIG_From_double(static_cast< double >(result
));
8645 SWIGINTERN PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8646 PyObject
*resultobj
= 0;
8647 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8648 wxPoint2D
*arg2
= 0 ;
8653 PyObject
* obj0
= 0 ;
8654 PyObject
* obj1
= 0 ;
8655 char * kwnames
[] = {
8656 (char *) "self",(char *) "vec", NULL
8659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8661 if (!SWIG_IsOK(res1
)) {
8662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetCrossProduct" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8664 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8667 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8670 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
8671 if (PyErr_Occurred()) SWIG_fail
;
8673 resultobj
= SWIG_From_double(static_cast< double >(result
));
8680 SWIGINTERN PyObject
*_wrap_Point2D___neg__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8681 PyObject
*resultobj
= 0;
8682 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8686 PyObject
*swig_obj
[1] ;
8688 if (!args
) SWIG_fail
;
8690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8691 if (!SWIG_IsOK(res1
)) {
8692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___neg__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8694 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8696 result
= (arg1
)->operator -();
8697 if (PyErr_Occurred()) SWIG_fail
;
8699 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8706 SWIGINTERN PyObject
*_wrap_Point2D___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8707 PyObject
*resultobj
= 0;
8708 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8709 wxPoint2D
*arg2
= 0 ;
8710 wxPoint2D
*result
= 0 ;
8714 PyObject
* obj0
= 0 ;
8715 PyObject
* obj1
= 0 ;
8716 char * kwnames
[] = {
8717 (char *) "self",(char *) "pt", NULL
8720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_DISOWN
| 0 );
8722 if (!SWIG_IsOK(res1
)) {
8723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___iadd__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8725 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8728 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8732 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
8733 result
= (wxPoint2D
*) &_result_ref
;
8735 if (PyErr_Occurred()) SWIG_fail
;
8737 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8744 SWIGINTERN PyObject
*_wrap_Point2D___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8745 PyObject
*resultobj
= 0;
8746 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8747 wxPoint2D
*arg2
= 0 ;
8748 wxPoint2D
*result
= 0 ;
8752 PyObject
* obj0
= 0 ;
8753 PyObject
* obj1
= 0 ;
8754 char * kwnames
[] = {
8755 (char *) "self",(char *) "pt", NULL
8758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_DISOWN
| 0 );
8760 if (!SWIG_IsOK(res1
)) {
8761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___isub__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8763 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8766 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8770 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
8771 result
= (wxPoint2D
*) &_result_ref
;
8773 if (PyErr_Occurred()) SWIG_fail
;
8775 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8782 SWIGINTERN PyObject
*_wrap_Point2D___imul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8783 PyObject
*resultobj
= 0;
8784 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8785 wxPoint2D
*arg2
= 0 ;
8786 wxPoint2D
*result
= 0 ;
8790 PyObject
* obj0
= 0 ;
8791 PyObject
* obj1
= 0 ;
8792 char * kwnames
[] = {
8793 (char *) "self",(char *) "pt", NULL
8796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_DISOWN
| 0 );
8798 if (!SWIG_IsOK(res1
)) {
8799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___imul__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8801 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8804 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8808 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
8809 result
= (wxPoint2D
*) &_result_ref
;
8811 if (PyErr_Occurred()) SWIG_fail
;
8813 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8820 SWIGINTERN PyObject
*_wrap_Point2D___idiv__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8821 PyObject
*resultobj
= 0;
8822 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8823 wxPoint2D
*arg2
= 0 ;
8824 wxPoint2D
*result
= 0 ;
8828 PyObject
* obj0
= 0 ;
8829 PyObject
* obj1
= 0 ;
8830 char * kwnames
[] = {
8831 (char *) "self",(char *) "pt", NULL
8834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_DISOWN
| 0 );
8836 if (!SWIG_IsOK(res1
)) {
8837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___idiv__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8839 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8842 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8846 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
8847 result
= (wxPoint2D
*) &_result_ref
;
8849 if (PyErr_Occurred()) SWIG_fail
;
8851 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8858 SWIGINTERN PyObject
*_wrap_Point2D___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8859 PyObject
*resultobj
= 0;
8860 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8861 PyObject
*arg2
= (PyObject
*) 0 ;
8865 PyObject
* obj0
= 0 ;
8866 PyObject
* obj1
= 0 ;
8867 char * kwnames
[] = {
8868 (char *) "self",(char *) "other", NULL
8871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8873 if (!SWIG_IsOK(res1
)) {
8874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___eq__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8876 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8879 result
= (bool)wxPoint2D___eq__(arg1
,arg2
);
8880 if (PyErr_Occurred()) SWIG_fail
;
8883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8891 SWIGINTERN PyObject
*_wrap_Point2D___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8892 PyObject
*resultobj
= 0;
8893 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8894 PyObject
*arg2
= (PyObject
*) 0 ;
8898 PyObject
* obj0
= 0 ;
8899 PyObject
* obj1
= 0 ;
8900 char * kwnames
[] = {
8901 (char *) "self",(char *) "other", NULL
8904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8906 if (!SWIG_IsOK(res1
)) {
8907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___ne__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8909 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8912 result
= (bool)wxPoint2D___ne__(arg1
,arg2
);
8913 if (PyErr_Occurred()) SWIG_fail
;
8916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8924 SWIGINTERN PyObject
*_wrap_Point2D_x_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8925 PyObject
*resultobj
= 0;
8926 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8932 PyObject
*swig_obj
[2] ;
8934 if (!SWIG_Python_UnpackTuple(args
,"Point2D_x_set",2,2,swig_obj
)) SWIG_fail
;
8935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8936 if (!SWIG_IsOK(res1
)) {
8937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_x_set" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8939 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8940 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
8941 if (!SWIG_IsOK(ecode2
)) {
8942 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point2D_x_set" "', expected argument " "2"" of type '" "double""'");
8944 arg2
= static_cast< double >(val2
);
8945 if (arg1
) (arg1
)->m_x
= arg2
;
8947 resultobj
= SWIG_Py_Void();
8954 SWIGINTERN PyObject
*_wrap_Point2D_x_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8955 PyObject
*resultobj
= 0;
8956 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8960 PyObject
*swig_obj
[1] ;
8962 if (!args
) SWIG_fail
;
8964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8965 if (!SWIG_IsOK(res1
)) {
8966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_x_get" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8968 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8969 result
= (double) ((arg1
)->m_x
);
8970 resultobj
= SWIG_From_double(static_cast< double >(result
));
8977 SWIGINTERN PyObject
*_wrap_Point2D_y_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8978 PyObject
*resultobj
= 0;
8979 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8985 PyObject
*swig_obj
[2] ;
8987 if (!SWIG_Python_UnpackTuple(args
,"Point2D_y_set",2,2,swig_obj
)) SWIG_fail
;
8988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8989 if (!SWIG_IsOK(res1
)) {
8990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_y_set" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8992 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8993 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
8994 if (!SWIG_IsOK(ecode2
)) {
8995 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point2D_y_set" "', expected argument " "2"" of type '" "double""'");
8997 arg2
= static_cast< double >(val2
);
8998 if (arg1
) (arg1
)->m_y
= arg2
;
9000 resultobj
= SWIG_Py_Void();
9007 SWIGINTERN PyObject
*_wrap_Point2D_y_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9008 PyObject
*resultobj
= 0;
9009 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
9013 PyObject
*swig_obj
[1] ;
9015 if (!args
) SWIG_fail
;
9017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
9018 if (!SWIG_IsOK(res1
)) {
9019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_y_get" "', expected argument " "1"" of type '" "wxPoint2D *""'");
9021 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
9022 result
= (double) ((arg1
)->m_y
);
9023 resultobj
= SWIG_From_double(static_cast< double >(result
));
9030 SWIGINTERN PyObject
*_wrap_Point2D_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9031 PyObject
*resultobj
= 0;
9032 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
9033 double arg2
= (double) 0 ;
9034 double arg3
= (double) 0 ;
9041 PyObject
* obj0
= 0 ;
9042 PyObject
* obj1
= 0 ;
9043 PyObject
* obj2
= 0 ;
9044 char * kwnames
[] = {
9045 (char *) "self",(char *) "x",(char *) "y", NULL
9048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
9050 if (!SWIG_IsOK(res1
)) {
9051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_Set" "', expected argument " "1"" of type '" "wxPoint2D *""'");
9053 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
9055 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
9056 if (!SWIG_IsOK(ecode2
)) {
9057 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point2D_Set" "', expected argument " "2"" of type '" "double""'");
9059 arg2
= static_cast< double >(val2
);
9062 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
9063 if (!SWIG_IsOK(ecode3
)) {
9064 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Point2D_Set" "', expected argument " "3"" of type '" "double""'");
9066 arg3
= static_cast< double >(val3
);
9069 wxPoint2D_Set(arg1
,arg2
,arg3
);
9070 if (PyErr_Occurred()) SWIG_fail
;
9072 resultobj
= SWIG_Py_Void();
9079 SWIGINTERN PyObject
*_wrap_Point2D_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9080 PyObject
*resultobj
= 0;
9081 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
9082 PyObject
*result
= 0 ;
9085 PyObject
*swig_obj
[1] ;
9087 if (!args
) SWIG_fail
;
9089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
9090 if (!SWIG_IsOK(res1
)) {
9091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_Get" "', expected argument " "1"" of type '" "wxPoint2D *""'");
9093 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
9095 result
= (PyObject
*)wxPoint2D_Get(arg1
);
9096 if (PyErr_Occurred()) SWIG_fail
;
9105 SWIGINTERN PyObject
*Point2D_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9107 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9108 SWIG_TypeNewClientData(SWIGTYPE_p_wxPoint2D
, SWIG_NewClientData(obj
));
9109 return SWIG_Py_Void();
9112 SWIGINTERN PyObject
*Point2D_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9113 return SWIG_Python_InitShadowInstance(args
);
9116 SWIGINTERN PyObject
*_wrap_new_Rect2D(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9117 PyObject
*resultobj
= 0;
9118 wxDouble arg1
= (wxDouble
) 0.0 ;
9119 wxDouble arg2
= (wxDouble
) 0.0 ;
9120 wxDouble arg3
= (wxDouble
) 0.0 ;
9121 wxDouble arg4
= (wxDouble
) 0.0 ;
9122 wxRect2D
*result
= 0 ;
9131 PyObject
* obj0
= 0 ;
9132 PyObject
* obj1
= 0 ;
9133 PyObject
* obj2
= 0 ;
9134 PyObject
* obj3
= 0 ;
9135 char * kwnames
[] = {
9136 (char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
9139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect2D",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9142 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDouble
, 0 | 0);
9143 if (!SWIG_IsOK(res1
)) {
9144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Rect2D" "', expected argument " "1"" of type '" "wxDouble""'");
9147 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Rect2D" "', expected argument " "1"" of type '" "wxDouble""'");
9149 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp1
);
9151 if (SWIG_IsNewObj(res1
)) delete temp
;
9157 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDouble
, 0 | 0);
9158 if (!SWIG_IsOK(res2
)) {
9159 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Rect2D" "', expected argument " "2"" of type '" "wxDouble""'");
9162 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Rect2D" "', expected argument " "2"" of type '" "wxDouble""'");
9164 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp2
);
9166 if (SWIG_IsNewObj(res2
)) delete temp
;
9172 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDouble
, 0 | 0);
9173 if (!SWIG_IsOK(res3
)) {
9174 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Rect2D" "', expected argument " "3"" of type '" "wxDouble""'");
9177 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Rect2D" "', expected argument " "3"" of type '" "wxDouble""'");
9179 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp3
);
9181 if (SWIG_IsNewObj(res3
)) delete temp
;
9187 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDouble
, 0 | 0);
9188 if (!SWIG_IsOK(res4
)) {
9189 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Rect2D" "', expected argument " "4"" of type '" "wxDouble""'");
9192 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Rect2D" "', expected argument " "4"" of type '" "wxDouble""'");
9194 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp4
);
9196 if (SWIG_IsNewObj(res4
)) delete temp
;
9201 result
= (wxRect2D
*)new wxRect2D(arg1
,arg2
,arg3
,arg4
);
9202 if (PyErr_Occurred()) SWIG_fail
;
9204 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect2D
, SWIG_POINTER_NEW
| 0 );
9211 SWIGINTERN PyObject
*_wrap_delete_Rect2D(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9212 PyObject
*resultobj
= 0;
9213 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
9216 PyObject
*swig_obj
[1] ;
9218 if (!args
) SWIG_fail
;
9220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, SWIG_POINTER_DISOWN
| 0 );
9221 if (!SWIG_IsOK(res1
)) {
9222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Rect2D" "', expected argument " "1"" of type '" "wxRect2D *""'");
9224 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
9228 if (PyErr_Occurred()) SWIG_fail
;
9230 resultobj
= SWIG_Py_Void();
9237 SWIGINTERN PyObject
*_wrap_Rect2D_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9238 PyObject
*resultobj
= 0;
9239 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
9243 PyObject
*swig_obj
[1] ;
9245 if (!args
) SWIG_fail
;
9247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
9248 if (!SWIG_IsOK(res1
)) {
9249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_GetPosition" "', expected argument " "1"" of type '" "wxRect2D *""'");
9251 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
9253 result
= (arg1
)->GetPosition();
9254 if (PyErr_Occurred()) SWIG_fail
;
9256 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
9263 SWIGINTERN PyObject
*_wrap_Rect2D_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9264 PyObject
*resultobj
= 0;
9265 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
9269 PyObject
*swig_obj
[1] ;
9271 if (!args
) SWIG_fail
;
9273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
9274 if (!SWIG_IsOK(res1
)) {
9275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_GetSize" "', expected argument " "1"" of type '" "wxRect2D *""'");
9277 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
9279 result
= (arg1
)->GetSize();
9280 if (PyErr_Occurred()) SWIG_fail
;
9282 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
9289 SWIGINTERN PyObject
*_wrap_Rect2D_GetLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9290 PyObject
*resultobj
= 0;
9291 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
9295 PyObject
*swig_obj
[1] ;
9297 if (!args
) SWIG_fail
;
9299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
9300 if (!SWIG_IsOK(res1
)) {
9301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_GetLeft" "', expected argument " "1"" of type '" "wxRect2D const *""'");
9303 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
9305 result
= ((wxRect2D
const *)arg1
)->GetLeft();
9306 if (PyErr_Occurred()) SWIG_fail
;
9308 resultobj
= SWIG_NewPointerObj((new wxDouble(static_cast< const wxDouble
& >(result
))), SWIGTYPE_p_wxDouble
, SWIG_POINTER_OWN
| 0 );
9315 SWIGINTERN PyObject
*_wrap_Rect2D_SetLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9316 PyObject
*resultobj
= 0;
9317 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
9323 PyObject
* obj0
= 0 ;
9324 PyObject
* obj1
= 0 ;
9325 char * kwnames
[] = {
9326 (char *) "self",(char *) "n", NULL
9329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_SetLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
9331 if (!SWIG_IsOK(res1
)) {
9332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_SetLeft" "', expected argument " "1"" of type '" "wxRect2D *""'");
9334 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
9336 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDouble
, 0 | 0);
9337 if (!SWIG_IsOK(res2
)) {
9338 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Rect2D_SetLeft" "', expected argument " "2"" of type '" "wxDouble""'");
9341 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Rect2D_SetLeft" "', expected argument " "2"" of type '" "wxDouble""'");
9343 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp2
);
9345 if (SWIG_IsNewObj(res2
)) delete temp
;
9349 (arg1
)->SetLeft(arg2
);
9350 if (PyErr_Occurred()) SWIG_fail
;
9352 resultobj
= SWIG_Py_Void();
9359 SWIGINTERN PyObject
*_wrap_Rect2D_MoveLeftTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9360 PyObject
*resultobj
= 0;
9361 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
9367 PyObject
* obj0
= 0 ;
9368 PyObject
* obj1
= 0 ;
9369 char * kwnames
[] = {
9370 (char *) "self",(char *) "n", NULL
9373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_MoveLeftTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
9375 if (!SWIG_IsOK(res1
)) {
9376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_MoveLeftTo" "', expected argument " "1"" of type '" "wxRect2D *""'");
9378 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
9380 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDouble
, 0 | 0);
9381 if (!SWIG_IsOK(res2
)) {
9382 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Rect2D_MoveLeftTo" "', expected argument " "2"" of type '" "wxDouble""'");
9385 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Rect2D_MoveLeftTo" "', expected argument " "2"" of type '" "wxDouble""'");
9387 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp2
);
9389 if (SWIG_IsNewObj(res2
)) delete temp
;
9393 (arg1
)->MoveLeftTo(arg2
);
9394 if (PyErr_Occurred()) SWIG_fail
;
9396 resultobj
= SWIG_Py_Void();
9403 SWIGINTERN PyObject
*_wrap_Rect2D_GetTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9404 PyObject
*resultobj
= 0;
9405 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
9409 PyObject
*swig_obj
[1] ;
9411 if (!args
) SWIG_fail
;
9413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
9414 if (!SWIG_IsOK(res1
)) {
9415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_GetTop" "', expected argument " "1"" of type '" "wxRect2D const *""'");
9417 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
9419 result
= ((wxRect2D
const *)arg1
)->GetTop();
9420 if (PyErr_Occurred()) SWIG_fail
;
9422 resultobj
= SWIG_NewPointerObj((new wxDouble(static_cast< const wxDouble
& >(result
))), SWIGTYPE_p_wxDouble
, SWIG_POINTER_OWN
| 0 );
9429 SWIGINTERN PyObject
*_wrap_Rect2D_SetTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9430 PyObject
*resultobj
= 0;
9431 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
9437 PyObject
* obj0
= 0 ;
9438 PyObject
* obj1
= 0 ;
9439 char * kwnames
[] = {
9440 (char *) "self",(char *) "n", NULL
9443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_SetTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
9445 if (!SWIG_IsOK(res1
)) {
9446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_SetTop" "', expected argument " "1"" of type '" "wxRect2D *""'");
9448 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
9450 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDouble
, 0 | 0);
9451 if (!SWIG_IsOK(res2
)) {
9452 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Rect2D_SetTop" "', expected argument " "2"" of type '" "wxDouble""'");
9455 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Rect2D_SetTop" "', expected argument " "2"" of type '" "wxDouble""'");
9457 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp2
);
9459 if (SWIG_IsNewObj(res2
)) delete temp
;
9463 (arg1
)->SetTop(arg2
);
9464 if (PyErr_Occurred()) SWIG_fail
;
9466 resultobj
= SWIG_Py_Void();
9473 SWIGINTERN PyObject
*_wrap_Rect2D_MoveTopTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9474 PyObject
*resultobj
= 0;
9475 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
9481 PyObject
* obj0
= 0 ;
9482 PyObject
* obj1
= 0 ;
9483 char * kwnames
[] = {
9484 (char *) "self",(char *) "n", NULL
9487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_MoveTopTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
9489 if (!SWIG_IsOK(res1
)) {
9490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_MoveTopTo" "', expected argument " "1"" of type '" "wxRect2D *""'");
9492 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
9494 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDouble
, 0 | 0);
9495 if (!SWIG_IsOK(res2
)) {
9496 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Rect2D_MoveTopTo" "', expected argument " "2"" of type '" "wxDouble""'");
9499 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Rect2D_MoveTopTo" "', expected argument " "2"" of type '" "wxDouble""'");
9501 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp2
);
9503 if (SWIG_IsNewObj(res2
)) delete temp
;
9507 (arg1
)->MoveTopTo(arg2
);
9508 if (PyErr_Occurred()) SWIG_fail
;
9510 resultobj
= SWIG_Py_Void();
9517 SWIGINTERN PyObject
*_wrap_Rect2D_GetBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9518 PyObject
*resultobj
= 0;
9519 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
9523 PyObject
*swig_obj
[1] ;
9525 if (!args
) SWIG_fail
;
9527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
9528 if (!SWIG_IsOK(res1
)) {
9529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_GetBottom" "', expected argument " "1"" of type '" "wxRect2D const *""'");
9531 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
9533 result
= ((wxRect2D
const *)arg1
)->GetBottom();
9534 if (PyErr_Occurred()) SWIG_fail
;
9536 resultobj
= SWIG_NewPointerObj((new wxDouble(static_cast< const wxDouble
& >(result
))), SWIGTYPE_p_wxDouble
, SWIG_POINTER_OWN
| 0 );
9543 SWIGINTERN PyObject
*_wrap_Rect2D_SetBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9544 PyObject
*resultobj
= 0;
9545 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
9551 PyObject
* obj0
= 0 ;
9552 PyObject
* obj1
= 0 ;
9553 char * kwnames
[] = {
9554 (char *) "self",(char *) "n", NULL
9557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_SetBottom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
9559 if (!SWIG_IsOK(res1
)) {
9560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_SetBottom" "', expected argument " "1"" of type '" "wxRect2D *""'");
9562 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
9564 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDouble
, 0 | 0);
9565 if (!SWIG_IsOK(res2
)) {
9566 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Rect2D_SetBottom" "', expected argument " "2"" of type '" "wxDouble""'");
9569 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Rect2D_SetBottom" "', expected argument " "2"" of type '" "wxDouble""'");
9571 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp2
);
9573 if (SWIG_IsNewObj(res2
)) delete temp
;
9577 (arg1
)->SetBottom(arg2
);
9578 if (PyErr_Occurred()) SWIG_fail
;
9580 resultobj
= SWIG_Py_Void();
9587 SWIGINTERN PyObject
*_wrap_Rect2D_MoveBottomTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9588 PyObject
*resultobj
= 0;
9589 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
9595 PyObject
* obj0
= 0 ;
9596 PyObject
* obj1
= 0 ;
9597 char * kwnames
[] = {
9598 (char *) "self",(char *) "n", NULL
9601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_MoveBottomTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
9603 if (!SWIG_IsOK(res1
)) {
9604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_MoveBottomTo" "', expected argument " "1"" of type '" "wxRect2D *""'");
9606 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
9608 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDouble
, 0 | 0);
9609 if (!SWIG_IsOK(res2
)) {
9610 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Rect2D_MoveBottomTo" "', expected argument " "2"" of type '" "wxDouble""'");
9613 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Rect2D_MoveBottomTo" "', expected argument " "2"" of type '" "wxDouble""'");
9615 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp2
);
9617 if (SWIG_IsNewObj(res2
)) delete temp
;
9621 (arg1
)->MoveBottomTo(arg2
);
9622 if (PyErr_Occurred()) SWIG_fail
;
9624 resultobj
= SWIG_Py_Void();
9631 SWIGINTERN PyObject
*_wrap_Rect2D_GetRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9632 PyObject
*resultobj
= 0;
9633 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
9637 PyObject
*swig_obj
[1] ;
9639 if (!args
) SWIG_fail
;
9641 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
9642 if (!SWIG_IsOK(res1
)) {
9643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_GetRight" "', expected argument " "1"" of type '" "wxRect2D const *""'");
9645 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
9647 result
= ((wxRect2D
const *)arg1
)->GetRight();
9648 if (PyErr_Occurred()) SWIG_fail
;
9650 resultobj
= SWIG_NewPointerObj((new wxDouble(static_cast< const wxDouble
& >(result
))), SWIGTYPE_p_wxDouble
, SWIG_POINTER_OWN
| 0 );
9657 SWIGINTERN PyObject
*_wrap_Rect2D_SetRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9658 PyObject
*resultobj
= 0;
9659 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
9665 PyObject
* obj0
= 0 ;
9666 PyObject
* obj1
= 0 ;
9667 char * kwnames
[] = {
9668 (char *) "self",(char *) "n", NULL
9671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_SetRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
9673 if (!SWIG_IsOK(res1
)) {
9674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_SetRight" "', expected argument " "1"" of type '" "wxRect2D *""'");
9676 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
9678 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDouble
, 0 | 0);
9679 if (!SWIG_IsOK(res2
)) {
9680 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Rect2D_SetRight" "', expected argument " "2"" of type '" "wxDouble""'");
9683 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Rect2D_SetRight" "', expected argument " "2"" of type '" "wxDouble""'");
9685 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp2
);
9687 if (SWIG_IsNewObj(res2
)) delete temp
;
9691 (arg1
)->SetRight(arg2
);
9692 if (PyErr_Occurred()) SWIG_fail
;
9694 resultobj
= SWIG_Py_Void();
9701 SWIGINTERN PyObject
*_wrap_Rect2D_MoveRightTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9702 PyObject
*resultobj
= 0;
9703 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
9709 PyObject
* obj0
= 0 ;
9710 PyObject
* obj1
= 0 ;
9711 char * kwnames
[] = {
9712 (char *) "self",(char *) "n", NULL
9715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_MoveRightTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
9717 if (!SWIG_IsOK(res1
)) {
9718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_MoveRightTo" "', expected argument " "1"" of type '" "wxRect2D *""'");
9720 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
9722 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDouble
, 0 | 0);
9723 if (!SWIG_IsOK(res2
)) {
9724 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Rect2D_MoveRightTo" "', expected argument " "2"" of type '" "wxDouble""'");
9727 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Rect2D_MoveRightTo" "', expected argument " "2"" of type '" "wxDouble""'");
9729 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp2
);
9731 if (SWIG_IsNewObj(res2
)) delete temp
;
9735 (arg1
)->MoveRightTo(arg2
);
9736 if (PyErr_Occurred()) SWIG_fail
;
9738 resultobj
= SWIG_Py_Void();
9745 SWIGINTERN PyObject
*_wrap_Rect2D_GetLeftTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9746 PyObject
*resultobj
= 0;
9747 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
9751 PyObject
*swig_obj
[1] ;
9753 if (!args
) SWIG_fail
;
9755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
9756 if (!SWIG_IsOK(res1
)) {
9757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_GetLeftTop" "', expected argument " "1"" of type '" "wxRect2D const *""'");
9759 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
9761 result
= ((wxRect2D
const *)arg1
)->GetLeftTop();
9762 if (PyErr_Occurred()) SWIG_fail
;
9764 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
9771 SWIGINTERN PyObject
*_wrap_Rect2D_SetLeftTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9772 PyObject
*resultobj
= 0;
9773 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
9774 wxPoint2D
*arg2
= 0 ;
9778 PyObject
* obj0
= 0 ;
9779 PyObject
* obj1
= 0 ;
9780 char * kwnames
[] = {
9781 (char *) "self",(char *) "pt", NULL
9784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_SetLeftTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
9786 if (!SWIG_IsOK(res1
)) {
9787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_SetLeftTop" "', expected argument " "1"" of type '" "wxRect2D *""'");
9789 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
9792 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
9795 (arg1
)->SetLeftTop((wxPoint2D
const &)*arg2
);
9796 if (PyErr_Occurred()) SWIG_fail
;
9798 resultobj
= SWIG_Py_Void();
9805 SWIGINTERN PyObject
*_wrap_Rect2D_MoveLeftTopTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9806 PyObject
*resultobj
= 0;
9807 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
9808 wxPoint2D
*arg2
= 0 ;
9812 PyObject
* obj0
= 0 ;
9813 PyObject
* obj1
= 0 ;
9814 char * kwnames
[] = {
9815 (char *) "self",(char *) "pt", NULL
9818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_MoveLeftTopTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
9820 if (!SWIG_IsOK(res1
)) {
9821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_MoveLeftTopTo" "', expected argument " "1"" of type '" "wxRect2D *""'");
9823 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
9826 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
9829 (arg1
)->MoveLeftTopTo((wxPoint2D
const &)*arg2
);
9830 if (PyErr_Occurred()) SWIG_fail
;
9832 resultobj
= SWIG_Py_Void();
9839 SWIGINTERN PyObject
*_wrap_Rect2D_GetLeftBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9840 PyObject
*resultobj
= 0;
9841 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
9845 PyObject
*swig_obj
[1] ;
9847 if (!args
) SWIG_fail
;
9849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
9850 if (!SWIG_IsOK(res1
)) {
9851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_GetLeftBottom" "', expected argument " "1"" of type '" "wxRect2D const *""'");
9853 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
9855 result
= ((wxRect2D
const *)arg1
)->GetLeftBottom();
9856 if (PyErr_Occurred()) SWIG_fail
;
9858 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
9865 SWIGINTERN PyObject
*_wrap_Rect2D_SetLeftBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9866 PyObject
*resultobj
= 0;
9867 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
9868 wxPoint2D
*arg2
= 0 ;
9872 PyObject
* obj0
= 0 ;
9873 PyObject
* obj1
= 0 ;
9874 char * kwnames
[] = {
9875 (char *) "self",(char *) "pt", NULL
9878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_SetLeftBottom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
9880 if (!SWIG_IsOK(res1
)) {
9881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_SetLeftBottom" "', expected argument " "1"" of type '" "wxRect2D *""'");
9883 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
9886 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
9889 (arg1
)->SetLeftBottom((wxPoint2D
const &)*arg2
);
9890 if (PyErr_Occurred()) SWIG_fail
;
9892 resultobj
= SWIG_Py_Void();
9899 SWIGINTERN PyObject
*_wrap_Rect2D_MoveLeftBottomTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9900 PyObject
*resultobj
= 0;
9901 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
9902 wxPoint2D
*arg2
= 0 ;
9906 PyObject
* obj0
= 0 ;
9907 PyObject
* obj1
= 0 ;
9908 char * kwnames
[] = {
9909 (char *) "self",(char *) "pt", NULL
9912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_MoveLeftBottomTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
9914 if (!SWIG_IsOK(res1
)) {
9915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_MoveLeftBottomTo" "', expected argument " "1"" of type '" "wxRect2D *""'");
9917 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
9920 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
9923 (arg1
)->MoveLeftBottomTo((wxPoint2D
const &)*arg2
);
9924 if (PyErr_Occurred()) SWIG_fail
;
9926 resultobj
= SWIG_Py_Void();
9933 SWIGINTERN PyObject
*_wrap_Rect2D_GetRightTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9934 PyObject
*resultobj
= 0;
9935 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
9939 PyObject
*swig_obj
[1] ;
9941 if (!args
) SWIG_fail
;
9943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
9944 if (!SWIG_IsOK(res1
)) {
9945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_GetRightTop" "', expected argument " "1"" of type '" "wxRect2D const *""'");
9947 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
9949 result
= ((wxRect2D
const *)arg1
)->GetRightTop();
9950 if (PyErr_Occurred()) SWIG_fail
;
9952 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
9959 SWIGINTERN PyObject
*_wrap_Rect2D_SetRightTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9960 PyObject
*resultobj
= 0;
9961 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
9962 wxPoint2D
*arg2
= 0 ;
9966 PyObject
* obj0
= 0 ;
9967 PyObject
* obj1
= 0 ;
9968 char * kwnames
[] = {
9969 (char *) "self",(char *) "pt", NULL
9972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_SetRightTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
9974 if (!SWIG_IsOK(res1
)) {
9975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_SetRightTop" "', expected argument " "1"" of type '" "wxRect2D *""'");
9977 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
9980 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
9983 (arg1
)->SetRightTop((wxPoint2D
const &)*arg2
);
9984 if (PyErr_Occurred()) SWIG_fail
;
9986 resultobj
= SWIG_Py_Void();
9993 SWIGINTERN PyObject
*_wrap_Rect2D_MoveRightTopTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9994 PyObject
*resultobj
= 0;
9995 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
9996 wxPoint2D
*arg2
= 0 ;
10000 PyObject
* obj0
= 0 ;
10001 PyObject
* obj1
= 0 ;
10002 char * kwnames
[] = {
10003 (char *) "self",(char *) "pt", NULL
10006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_MoveRightTopTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10008 if (!SWIG_IsOK(res1
)) {
10009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_MoveRightTopTo" "', expected argument " "1"" of type '" "wxRect2D *""'");
10011 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10014 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
10017 (arg1
)->MoveRightTopTo((wxPoint2D
const &)*arg2
);
10018 if (PyErr_Occurred()) SWIG_fail
;
10020 resultobj
= SWIG_Py_Void();
10027 SWIGINTERN PyObject
*_wrap_Rect2D_GetRightBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10028 PyObject
*resultobj
= 0;
10029 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10033 PyObject
*swig_obj
[1] ;
10035 if (!args
) SWIG_fail
;
10036 swig_obj
[0] = args
;
10037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10038 if (!SWIG_IsOK(res1
)) {
10039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_GetRightBottom" "', expected argument " "1"" of type '" "wxRect2D const *""'");
10041 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10043 result
= ((wxRect2D
const *)arg1
)->GetRightBottom();
10044 if (PyErr_Occurred()) SWIG_fail
;
10046 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
10053 SWIGINTERN PyObject
*_wrap_Rect2D_SetRightBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10054 PyObject
*resultobj
= 0;
10055 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10056 wxPoint2D
*arg2
= 0 ;
10060 PyObject
* obj0
= 0 ;
10061 PyObject
* obj1
= 0 ;
10062 char * kwnames
[] = {
10063 (char *) "self",(char *) "pt", NULL
10066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_SetRightBottom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10068 if (!SWIG_IsOK(res1
)) {
10069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_SetRightBottom" "', expected argument " "1"" of type '" "wxRect2D *""'");
10071 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10074 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
10077 (arg1
)->SetRightBottom((wxPoint2D
const &)*arg2
);
10078 if (PyErr_Occurred()) SWIG_fail
;
10080 resultobj
= SWIG_Py_Void();
10087 SWIGINTERN PyObject
*_wrap_Rect2D_MoveRightBottomTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10088 PyObject
*resultobj
= 0;
10089 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10090 wxPoint2D
*arg2
= 0 ;
10094 PyObject
* obj0
= 0 ;
10095 PyObject
* obj1
= 0 ;
10096 char * kwnames
[] = {
10097 (char *) "self",(char *) "pt", NULL
10100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_MoveRightBottomTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10102 if (!SWIG_IsOK(res1
)) {
10103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_MoveRightBottomTo" "', expected argument " "1"" of type '" "wxRect2D *""'");
10105 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10108 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
10111 (arg1
)->MoveRightBottomTo((wxPoint2D
const &)*arg2
);
10112 if (PyErr_Occurred()) SWIG_fail
;
10114 resultobj
= SWIG_Py_Void();
10121 SWIGINTERN PyObject
*_wrap_Rect2D_GetCentre(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10122 PyObject
*resultobj
= 0;
10123 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10127 PyObject
*swig_obj
[1] ;
10129 if (!args
) SWIG_fail
;
10130 swig_obj
[0] = args
;
10131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10132 if (!SWIG_IsOK(res1
)) {
10133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_GetCentre" "', expected argument " "1"" of type '" "wxRect2D const *""'");
10135 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10137 result
= ((wxRect2D
const *)arg1
)->GetCentre();
10138 if (PyErr_Occurred()) SWIG_fail
;
10140 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
10147 SWIGINTERN PyObject
*_wrap_Rect2D_SetCentre(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10148 PyObject
*resultobj
= 0;
10149 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10150 wxPoint2D
*arg2
= 0 ;
10154 PyObject
* obj0
= 0 ;
10155 PyObject
* obj1
= 0 ;
10156 char * kwnames
[] = {
10157 (char *) "self",(char *) "pt", NULL
10160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_SetCentre",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10162 if (!SWIG_IsOK(res1
)) {
10163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_SetCentre" "', expected argument " "1"" of type '" "wxRect2D *""'");
10165 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10168 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
10171 (arg1
)->SetCentre((wxPoint2D
const &)*arg2
);
10172 if (PyErr_Occurred()) SWIG_fail
;
10174 resultobj
= SWIG_Py_Void();
10181 SWIGINTERN PyObject
*_wrap_Rect2D_MoveCentreTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10182 PyObject
*resultobj
= 0;
10183 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10184 wxPoint2D
*arg2
= 0 ;
10188 PyObject
* obj0
= 0 ;
10189 PyObject
* obj1
= 0 ;
10190 char * kwnames
[] = {
10191 (char *) "self",(char *) "pt", NULL
10194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_MoveCentreTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10196 if (!SWIG_IsOK(res1
)) {
10197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_MoveCentreTo" "', expected argument " "1"" of type '" "wxRect2D *""'");
10199 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10202 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
10205 (arg1
)->MoveCentreTo((wxPoint2D
const &)*arg2
);
10206 if (PyErr_Occurred()) SWIG_fail
;
10208 resultobj
= SWIG_Py_Void();
10215 SWIGINTERN PyObject
*_wrap_Rect2D_GetOutcode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10216 PyObject
*resultobj
= 0;
10217 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10218 wxPoint2D
*arg2
= 0 ;
10223 PyObject
* obj0
= 0 ;
10224 PyObject
* obj1
= 0 ;
10225 char * kwnames
[] = {
10226 (char *) "self",(char *) "pt", NULL
10229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_GetOutcode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10231 if (!SWIG_IsOK(res1
)) {
10232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_GetOutcode" "', expected argument " "1"" of type '" "wxRect2D const *""'");
10234 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10237 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
10240 result
= (wxOutCode
)((wxRect2D
const *)arg1
)->GetOutcode((wxPoint2D
const &)*arg2
);
10241 if (PyErr_Occurred()) SWIG_fail
;
10243 resultobj
= SWIG_From_int(static_cast< int >(result
));
10250 SWIGINTERN PyObject
*_wrap_Rect2D_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10251 PyObject
*resultobj
= 0;
10252 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10253 wxPoint2D
*arg2
= 0 ;
10258 PyObject
* obj0
= 0 ;
10259 PyObject
* obj1
= 0 ;
10260 char * kwnames
[] = {
10261 (char *) "self",(char *) "pt", NULL
10264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_Contains",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10266 if (!SWIG_IsOK(res1
)) {
10267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_Contains" "', expected argument " "1"" of type '" "wxRect2D const *""'");
10269 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10272 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
10275 result
= (bool)((wxRect2D
const *)arg1
)->Contains((wxPoint2D
const &)*arg2
);
10276 if (PyErr_Occurred()) SWIG_fail
;
10279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10287 SWIGINTERN PyObject
*_wrap_Rect2D_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10288 PyObject
*resultobj
= 0;
10289 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10290 wxRect2D
*arg2
= 0 ;
10295 PyObject
* obj0
= 0 ;
10296 PyObject
* obj1
= 0 ;
10297 char * kwnames
[] = {
10298 (char *) "self",(char *) "rect", NULL
10301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10303 if (!SWIG_IsOK(res1
)) {
10304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_ContainsRect" "', expected argument " "1"" of type '" "wxRect2D const *""'");
10306 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10309 if ( ! wxRect2D_helper(obj1
, &arg2
)) SWIG_fail
;
10312 result
= (bool)((wxRect2D
const *)arg1
)->Contains((wxRect2D
const &)*arg2
);
10313 if (PyErr_Occurred()) SWIG_fail
;
10316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10324 SWIGINTERN PyObject
*_wrap_Rect2D_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10325 PyObject
*resultobj
= 0;
10326 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10330 PyObject
*swig_obj
[1] ;
10332 if (!args
) SWIG_fail
;
10333 swig_obj
[0] = args
;
10334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10335 if (!SWIG_IsOK(res1
)) {
10336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_IsEmpty" "', expected argument " "1"" of type '" "wxRect2D const *""'");
10338 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10340 result
= (bool)((wxRect2D
const *)arg1
)->IsEmpty();
10341 if (PyErr_Occurred()) SWIG_fail
;
10344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10352 SWIGINTERN PyObject
*_wrap_Rect2D_HaveEqualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10353 PyObject
*resultobj
= 0;
10354 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10355 wxRect2D
*arg2
= 0 ;
10360 PyObject
* obj0
= 0 ;
10361 PyObject
* obj1
= 0 ;
10362 char * kwnames
[] = {
10363 (char *) "self",(char *) "rect", NULL
10366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_HaveEqualSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10368 if (!SWIG_IsOK(res1
)) {
10369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_HaveEqualSize" "', expected argument " "1"" of type '" "wxRect2D const *""'");
10371 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10374 if ( ! wxRect2D_helper(obj1
, &arg2
)) SWIG_fail
;
10377 result
= (bool)((wxRect2D
const *)arg1
)->HaveEqualSize((wxRect2D
const &)*arg2
);
10378 if (PyErr_Occurred()) SWIG_fail
;
10381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10389 SWIGINTERN PyObject
*_wrap_Rect2D_Inset__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
10390 PyObject
*resultobj
= 0;
10391 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10401 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
10402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10403 if (!SWIG_IsOK(res1
)) {
10404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_Inset" "', expected argument " "1"" of type '" "wxRect2D *""'");
10406 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10408 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDouble
, 0 | 0);
10409 if (!SWIG_IsOK(res2
)) {
10410 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Rect2D_Inset" "', expected argument " "2"" of type '" "wxDouble""'");
10413 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Rect2D_Inset" "', expected argument " "2"" of type '" "wxDouble""'");
10415 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp2
);
10417 if (SWIG_IsNewObj(res2
)) delete temp
;
10421 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
, SWIGTYPE_p_wxDouble
, 0 | 0);
10422 if (!SWIG_IsOK(res3
)) {
10423 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Rect2D_Inset" "', expected argument " "3"" of type '" "wxDouble""'");
10426 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Rect2D_Inset" "', expected argument " "3"" of type '" "wxDouble""'");
10428 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp3
);
10430 if (SWIG_IsNewObj(res3
)) delete temp
;
10434 (arg1
)->Inset(arg2
,arg3
);
10435 if (PyErr_Occurred()) SWIG_fail
;
10437 resultobj
= SWIG_Py_Void();
10444 SWIGINTERN PyObject
*_wrap_Rect2D_Inset__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
10445 PyObject
*resultobj
= 0;
10446 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10462 if ((nobjs
< 5) || (nobjs
> 5)) SWIG_fail
;
10463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10464 if (!SWIG_IsOK(res1
)) {
10465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_Inset" "', expected argument " "1"" of type '" "wxRect2D *""'");
10467 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10469 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDouble
, 0 | 0);
10470 if (!SWIG_IsOK(res2
)) {
10471 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Rect2D_Inset" "', expected argument " "2"" of type '" "wxDouble""'");
10474 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Rect2D_Inset" "', expected argument " "2"" of type '" "wxDouble""'");
10476 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp2
);
10478 if (SWIG_IsNewObj(res2
)) delete temp
;
10482 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
, SWIGTYPE_p_wxDouble
, 0 | 0);
10483 if (!SWIG_IsOK(res3
)) {
10484 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Rect2D_Inset" "', expected argument " "3"" of type '" "wxDouble""'");
10487 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Rect2D_Inset" "', expected argument " "3"" of type '" "wxDouble""'");
10489 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp3
);
10491 if (SWIG_IsNewObj(res3
)) delete temp
;
10495 res4
= SWIG_ConvertPtr(swig_obj
[3], &argp4
, SWIGTYPE_p_wxDouble
, 0 | 0);
10496 if (!SWIG_IsOK(res4
)) {
10497 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Rect2D_Inset" "', expected argument " "4"" of type '" "wxDouble""'");
10500 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Rect2D_Inset" "', expected argument " "4"" of type '" "wxDouble""'");
10502 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp4
);
10504 if (SWIG_IsNewObj(res4
)) delete temp
;
10508 res5
= SWIG_ConvertPtr(swig_obj
[4], &argp5
, SWIGTYPE_p_wxDouble
, 0 | 0);
10509 if (!SWIG_IsOK(res5
)) {
10510 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "Rect2D_Inset" "', expected argument " "5"" of type '" "wxDouble""'");
10513 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Rect2D_Inset" "', expected argument " "5"" of type '" "wxDouble""'");
10515 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp5
);
10517 if (SWIG_IsNewObj(res5
)) delete temp
;
10521 (arg1
)->Inset(arg2
,arg3
,arg4
,arg5
);
10522 if (PyErr_Occurred()) SWIG_fail
;
10524 resultobj
= SWIG_Py_Void();
10531 SWIGINTERN PyObject
*_wrap_Rect2D_Inset(PyObject
*self
, PyObject
*args
) {
10535 if (!(argc
= SWIG_Python_UnpackTuple(args
,"Rect2D_Inset",0,5,argv
))) SWIG_fail
;
10538 return _wrap_Rect2D_Inset__SWIG_0(self
, argc
, argv
);
10541 return _wrap_Rect2D_Inset__SWIG_1(self
, argc
, argv
);
10545 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'Rect2D_Inset'");
10550 SWIGINTERN PyObject
*_wrap_Rect2D_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10551 PyObject
*resultobj
= 0;
10552 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10553 wxPoint2D
*arg2
= 0 ;
10557 PyObject
* obj0
= 0 ;
10558 PyObject
* obj1
= 0 ;
10559 char * kwnames
[] = {
10560 (char *) "self",(char *) "pt", NULL
10563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_Offset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10565 if (!SWIG_IsOK(res1
)) {
10566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_Offset" "', expected argument " "1"" of type '" "wxRect2D *""'");
10568 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10571 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
10574 (arg1
)->Offset((wxPoint2D
const &)*arg2
);
10575 if (PyErr_Occurred()) SWIG_fail
;
10577 resultobj
= SWIG_Py_Void();
10584 SWIGINTERN PyObject
*_wrap_Rect2D_ConstrainTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10585 PyObject
*resultobj
= 0;
10586 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10587 wxRect2D
*arg2
= 0 ;
10591 PyObject
* obj0
= 0 ;
10592 PyObject
* obj1
= 0 ;
10593 char * kwnames
[] = {
10594 (char *) "self",(char *) "rect", NULL
10597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_ConstrainTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10599 if (!SWIG_IsOK(res1
)) {
10600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_ConstrainTo" "', expected argument " "1"" of type '" "wxRect2D *""'");
10602 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10605 if ( ! wxRect2D_helper(obj1
, &arg2
)) SWIG_fail
;
10608 (arg1
)->ConstrainTo((wxRect2D
const &)*arg2
);
10609 if (PyErr_Occurred()) SWIG_fail
;
10611 resultobj
= SWIG_Py_Void();
10618 SWIGINTERN PyObject
*_wrap_Rect2D_Interpolate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10619 PyObject
*resultobj
= 0;
10620 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10630 PyObject
* obj0
= 0 ;
10631 PyObject
* obj1
= 0 ;
10632 PyObject
* obj2
= 0 ;
10633 char * kwnames
[] = {
10634 (char *) "self",(char *) "widthfactor",(char *) "heightfactor", NULL
10637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect2D_Interpolate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10639 if (!SWIG_IsOK(res1
)) {
10640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_Interpolate" "', expected argument " "1"" of type '" "wxRect2D *""'");
10642 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10643 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10644 if (!SWIG_IsOK(ecode2
)) {
10645 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect2D_Interpolate" "', expected argument " "2"" of type '" "int""'");
10647 arg2
= static_cast< int >(val2
);
10648 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10649 if (!SWIG_IsOK(ecode3
)) {
10650 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect2D_Interpolate" "', expected argument " "3"" of type '" "int""'");
10652 arg3
= static_cast< int >(val3
);
10654 result
= (arg1
)->Interpolate(arg2
,arg3
);
10655 if (PyErr_Occurred()) SWIG_fail
;
10657 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
10664 SWIGINTERN PyObject
*_wrap_Rect2D_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10665 PyObject
*resultobj
= 0;
10666 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10667 wxRect2D
*arg2
= 0 ;
10671 PyObject
* obj0
= 0 ;
10672 PyObject
* obj1
= 0 ;
10673 char * kwnames
[] = {
10674 (char *) "self",(char *) "otherRect", NULL
10677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_Intersect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10679 if (!SWIG_IsOK(res1
)) {
10680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_Intersect" "', expected argument " "1"" of type '" "wxRect2D *""'");
10682 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10685 if ( ! wxRect2D_helper(obj1
, &arg2
)) SWIG_fail
;
10688 (arg1
)->Intersect((wxRect2D
const &)*arg2
);
10689 if (PyErr_Occurred()) SWIG_fail
;
10691 resultobj
= SWIG_Py_Void();
10698 SWIGINTERN PyObject
*_wrap_Rect2D_CreateIntersection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10699 PyObject
*resultobj
= 0;
10700 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10701 wxRect2D
*arg2
= 0 ;
10706 PyObject
* obj0
= 0 ;
10707 PyObject
* obj1
= 0 ;
10708 char * kwnames
[] = {
10709 (char *) "self",(char *) "otherRect", NULL
10712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_CreateIntersection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10714 if (!SWIG_IsOK(res1
)) {
10715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_CreateIntersection" "', expected argument " "1"" of type '" "wxRect2D const *""'");
10717 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10720 if ( ! wxRect2D_helper(obj1
, &arg2
)) SWIG_fail
;
10723 result
= ((wxRect2D
const *)arg1
)->CreateIntersection((wxRect2D
const &)*arg2
);
10724 if (PyErr_Occurred()) SWIG_fail
;
10726 resultobj
= SWIG_NewPointerObj((new wxRect2D(static_cast< const wxRect2D
& >(result
))), SWIGTYPE_p_wxRect2D
, SWIG_POINTER_OWN
| 0 );
10733 SWIGINTERN PyObject
*_wrap_Rect2D_Intersects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10734 PyObject
*resultobj
= 0;
10735 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10736 wxRect2D
*arg2
= 0 ;
10741 PyObject
* obj0
= 0 ;
10742 PyObject
* obj1
= 0 ;
10743 char * kwnames
[] = {
10744 (char *) "self",(char *) "rect", NULL
10747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_Intersects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10749 if (!SWIG_IsOK(res1
)) {
10750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_Intersects" "', expected argument " "1"" of type '" "wxRect2D const *""'");
10752 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10755 if ( ! wxRect2D_helper(obj1
, &arg2
)) SWIG_fail
;
10758 result
= (bool)((wxRect2D
const *)arg1
)->Intersects((wxRect2D
const &)*arg2
);
10759 if (PyErr_Occurred()) SWIG_fail
;
10762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10770 SWIGINTERN PyObject
*_wrap_Rect2D_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10771 PyObject
*resultobj
= 0;
10772 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10773 wxRect2D
*arg2
= 0 ;
10777 PyObject
* obj0
= 0 ;
10778 PyObject
* obj1
= 0 ;
10779 char * kwnames
[] = {
10780 (char *) "self",(char *) "otherRect", NULL
10783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_Union",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10785 if (!SWIG_IsOK(res1
)) {
10786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_Union" "', expected argument " "1"" of type '" "wxRect2D *""'");
10788 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10791 if ( ! wxRect2D_helper(obj1
, &arg2
)) SWIG_fail
;
10794 (arg1
)->Union((wxRect2D
const &)*arg2
);
10795 if (PyErr_Occurred()) SWIG_fail
;
10797 resultobj
= SWIG_Py_Void();
10804 SWIGINTERN PyObject
*_wrap_Rect2D_CreateUnion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10805 PyObject
*resultobj
= 0;
10806 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10807 wxRect2D
*arg2
= 0 ;
10812 PyObject
* obj0
= 0 ;
10813 PyObject
* obj1
= 0 ;
10814 char * kwnames
[] = {
10815 (char *) "self",(char *) "otherRect", NULL
10818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_CreateUnion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10820 if (!SWIG_IsOK(res1
)) {
10821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_CreateUnion" "', expected argument " "1"" of type '" "wxRect2D const *""'");
10823 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10826 if ( ! wxRect2D_helper(obj1
, &arg2
)) SWIG_fail
;
10829 result
= ((wxRect2D
const *)arg1
)->CreateUnion((wxRect2D
const &)*arg2
);
10830 if (PyErr_Occurred()) SWIG_fail
;
10832 resultobj
= SWIG_NewPointerObj((new wxRect2D(static_cast< const wxRect2D
& >(result
))), SWIGTYPE_p_wxRect2D
, SWIG_POINTER_OWN
| 0 );
10839 SWIGINTERN PyObject
*_wrap_Rect2D_Scale__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
10840 PyObject
*resultobj
= 0;
10841 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10848 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
10849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10850 if (!SWIG_IsOK(res1
)) {
10851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_Scale" "', expected argument " "1"" of type '" "wxRect2D *""'");
10853 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10855 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDouble
, 0 | 0);
10856 if (!SWIG_IsOK(res2
)) {
10857 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Rect2D_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
10860 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Rect2D_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
10862 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp2
);
10864 if (SWIG_IsNewObj(res2
)) delete temp
;
10868 (arg1
)->Scale(arg2
);
10869 if (PyErr_Occurred()) SWIG_fail
;
10871 resultobj
= SWIG_Py_Void();
10878 SWIGINTERN PyObject
*_wrap_Rect2D_Scale__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
10879 PyObject
*resultobj
= 0;
10880 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10890 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
10891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10892 if (!SWIG_IsOK(res1
)) {
10893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_Scale" "', expected argument " "1"" of type '" "wxRect2D *""'");
10895 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10896 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
10897 if (!SWIG_IsOK(ecode2
)) {
10898 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect2D_Scale" "', expected argument " "2"" of type '" "int""'");
10900 arg2
= static_cast< int >(val2
);
10901 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
10902 if (!SWIG_IsOK(ecode3
)) {
10903 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect2D_Scale" "', expected argument " "3"" of type '" "int""'");
10905 arg3
= static_cast< int >(val3
);
10907 (arg1
)->Scale(arg2
,arg3
);
10908 if (PyErr_Occurred()) SWIG_fail
;
10910 resultobj
= SWIG_Py_Void();
10917 SWIGINTERN PyObject
*_wrap_Rect2D_Scale(PyObject
*self
, PyObject
*args
) {
10921 if (!(argc
= SWIG_Python_UnpackTuple(args
,"Rect2D_Scale",0,3,argv
))) SWIG_fail
;
10924 return _wrap_Rect2D_Scale__SWIG_0(self
, argc
, argv
);
10927 return _wrap_Rect2D_Scale__SWIG_1(self
, argc
, argv
);
10931 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'Rect2D_Scale'");
10936 SWIGINTERN PyObject
*_wrap_Rect2D___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10937 PyObject
*resultobj
= 0;
10938 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10939 PyObject
*arg2
= (PyObject
*) 0 ;
10943 PyObject
* obj0
= 0 ;
10944 PyObject
* obj1
= 0 ;
10945 char * kwnames
[] = {
10946 (char *) "self",(char *) "other", NULL
10949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10951 if (!SWIG_IsOK(res1
)) {
10952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D___eq__" "', expected argument " "1"" of type '" "wxRect2D *""'");
10954 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10957 result
= (bool)wxRect2D___eq__(arg1
,arg2
);
10958 if (PyErr_Occurred()) SWIG_fail
;
10961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10969 SWIGINTERN PyObject
*_wrap_Rect2D___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10970 PyObject
*resultobj
= 0;
10971 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10972 PyObject
*arg2
= (PyObject
*) 0 ;
10976 PyObject
* obj0
= 0 ;
10977 PyObject
* obj1
= 0 ;
10978 char * kwnames
[] = {
10979 (char *) "self",(char *) "other", NULL
10982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10984 if (!SWIG_IsOK(res1
)) {
10985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D___ne__" "', expected argument " "1"" of type '" "wxRect2D *""'");
10987 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10990 result
= (bool)wxRect2D___ne__(arg1
,arg2
);
10991 if (PyErr_Occurred()) SWIG_fail
;
10994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11002 SWIGINTERN PyObject
*_wrap_Rect2D_x_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11003 PyObject
*resultobj
= 0;
11004 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
11010 PyObject
*swig_obj
[2] ;
11012 if (!SWIG_Python_UnpackTuple(args
,"Rect2D_x_set",2,2,swig_obj
)) SWIG_fail
;
11013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
11014 if (!SWIG_IsOK(res1
)) {
11015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_x_set" "', expected argument " "1"" of type '" "wxRect2D *""'");
11017 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
11019 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDouble
, 0 | 0);
11020 if (!SWIG_IsOK(res2
)) {
11021 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Rect2D_x_set" "', expected argument " "2"" of type '" "wxDouble""'");
11024 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Rect2D_x_set" "', expected argument " "2"" of type '" "wxDouble""'");
11026 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp2
);
11028 if (SWIG_IsNewObj(res2
)) delete temp
;
11031 if (arg1
) (arg1
)->m_x
= arg2
;
11033 resultobj
= SWIG_Py_Void();
11040 SWIGINTERN PyObject
*_wrap_Rect2D_x_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11041 PyObject
*resultobj
= 0;
11042 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
11046 PyObject
*swig_obj
[1] ;
11048 if (!args
) SWIG_fail
;
11049 swig_obj
[0] = args
;
11050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
11051 if (!SWIG_IsOK(res1
)) {
11052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_x_get" "', expected argument " "1"" of type '" "wxRect2D *""'");
11054 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
11055 result
= ((arg1
)->m_x
);
11056 resultobj
= SWIG_NewPointerObj((new wxDouble(static_cast< const wxDouble
& >(result
))), SWIGTYPE_p_wxDouble
, SWIG_POINTER_OWN
| 0 );
11063 SWIGINTERN PyObject
*_wrap_Rect2D_y_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11064 PyObject
*resultobj
= 0;
11065 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
11071 PyObject
*swig_obj
[2] ;
11073 if (!SWIG_Python_UnpackTuple(args
,"Rect2D_y_set",2,2,swig_obj
)) SWIG_fail
;
11074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
11075 if (!SWIG_IsOK(res1
)) {
11076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_y_set" "', expected argument " "1"" of type '" "wxRect2D *""'");
11078 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
11080 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDouble
, 0 | 0);
11081 if (!SWIG_IsOK(res2
)) {
11082 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Rect2D_y_set" "', expected argument " "2"" of type '" "wxDouble""'");
11085 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Rect2D_y_set" "', expected argument " "2"" of type '" "wxDouble""'");
11087 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp2
);
11089 if (SWIG_IsNewObj(res2
)) delete temp
;
11092 if (arg1
) (arg1
)->m_y
= arg2
;
11094 resultobj
= SWIG_Py_Void();
11101 SWIGINTERN PyObject
*_wrap_Rect2D_y_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11102 PyObject
*resultobj
= 0;
11103 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
11107 PyObject
*swig_obj
[1] ;
11109 if (!args
) SWIG_fail
;
11110 swig_obj
[0] = args
;
11111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
11112 if (!SWIG_IsOK(res1
)) {
11113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_y_get" "', expected argument " "1"" of type '" "wxRect2D *""'");
11115 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
11116 result
= ((arg1
)->m_y
);
11117 resultobj
= SWIG_NewPointerObj((new wxDouble(static_cast< const wxDouble
& >(result
))), SWIGTYPE_p_wxDouble
, SWIG_POINTER_OWN
| 0 );
11124 SWIGINTERN PyObject
*_wrap_Rect2D_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11125 PyObject
*resultobj
= 0;
11126 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
11132 PyObject
*swig_obj
[2] ;
11134 if (!SWIG_Python_UnpackTuple(args
,"Rect2D_width_set",2,2,swig_obj
)) SWIG_fail
;
11135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
11136 if (!SWIG_IsOK(res1
)) {
11137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_width_set" "', expected argument " "1"" of type '" "wxRect2D *""'");
11139 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
11141 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDouble
, 0 | 0);
11142 if (!SWIG_IsOK(res2
)) {
11143 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Rect2D_width_set" "', expected argument " "2"" of type '" "wxDouble""'");
11146 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Rect2D_width_set" "', expected argument " "2"" of type '" "wxDouble""'");
11148 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp2
);
11150 if (SWIG_IsNewObj(res2
)) delete temp
;
11153 if (arg1
) (arg1
)->m_width
= arg2
;
11155 resultobj
= SWIG_Py_Void();
11162 SWIGINTERN PyObject
*_wrap_Rect2D_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11163 PyObject
*resultobj
= 0;
11164 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
11168 PyObject
*swig_obj
[1] ;
11170 if (!args
) SWIG_fail
;
11171 swig_obj
[0] = args
;
11172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
11173 if (!SWIG_IsOK(res1
)) {
11174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_width_get" "', expected argument " "1"" of type '" "wxRect2D *""'");
11176 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
11177 result
= ((arg1
)->m_width
);
11178 resultobj
= SWIG_NewPointerObj((new wxDouble(static_cast< const wxDouble
& >(result
))), SWIGTYPE_p_wxDouble
, SWIG_POINTER_OWN
| 0 );
11185 SWIGINTERN PyObject
*_wrap_Rect2D_height_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11186 PyObject
*resultobj
= 0;
11187 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
11193 PyObject
*swig_obj
[2] ;
11195 if (!SWIG_Python_UnpackTuple(args
,"Rect2D_height_set",2,2,swig_obj
)) SWIG_fail
;
11196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
11197 if (!SWIG_IsOK(res1
)) {
11198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_height_set" "', expected argument " "1"" of type '" "wxRect2D *""'");
11200 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
11202 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDouble
, 0 | 0);
11203 if (!SWIG_IsOK(res2
)) {
11204 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Rect2D_height_set" "', expected argument " "2"" of type '" "wxDouble""'");
11207 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Rect2D_height_set" "', expected argument " "2"" of type '" "wxDouble""'");
11209 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp2
);
11211 if (SWIG_IsNewObj(res2
)) delete temp
;
11214 if (arg1
) (arg1
)->m_height
= arg2
;
11216 resultobj
= SWIG_Py_Void();
11223 SWIGINTERN PyObject
*_wrap_Rect2D_height_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11224 PyObject
*resultobj
= 0;
11225 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
11229 PyObject
*swig_obj
[1] ;
11231 if (!args
) SWIG_fail
;
11232 swig_obj
[0] = args
;
11233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
11234 if (!SWIG_IsOK(res1
)) {
11235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_height_get" "', expected argument " "1"" of type '" "wxRect2D *""'");
11237 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
11238 result
= ((arg1
)->m_height
);
11239 resultobj
= SWIG_NewPointerObj((new wxDouble(static_cast< const wxDouble
& >(result
))), SWIGTYPE_p_wxDouble
, SWIG_POINTER_OWN
| 0 );
11246 SWIGINTERN PyObject
*_wrap_Rect2D_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11247 PyObject
*resultobj
= 0;
11248 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
11249 wxDouble arg2
= (wxDouble
) 0 ;
11250 wxDouble arg3
= (wxDouble
) 0 ;
11251 wxDouble arg4
= (wxDouble
) 0 ;
11252 wxDouble arg5
= (wxDouble
) 0 ;
11263 PyObject
* obj0
= 0 ;
11264 PyObject
* obj1
= 0 ;
11265 PyObject
* obj2
= 0 ;
11266 PyObject
* obj3
= 0 ;
11267 PyObject
* obj4
= 0 ;
11268 char * kwnames
[] = {
11269 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect2D_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
11274 if (!SWIG_IsOK(res1
)) {
11275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_Set" "', expected argument " "1"" of type '" "wxRect2D *""'");
11277 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
11280 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDouble
, 0 | 0);
11281 if (!SWIG_IsOK(res2
)) {
11282 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Rect2D_Set" "', expected argument " "2"" of type '" "wxDouble""'");
11285 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Rect2D_Set" "', expected argument " "2"" of type '" "wxDouble""'");
11287 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp2
);
11289 if (SWIG_IsNewObj(res2
)) delete temp
;
11295 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDouble
, 0 | 0);
11296 if (!SWIG_IsOK(res3
)) {
11297 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Rect2D_Set" "', expected argument " "3"" of type '" "wxDouble""'");
11300 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Rect2D_Set" "', expected argument " "3"" of type '" "wxDouble""'");
11302 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp3
);
11304 if (SWIG_IsNewObj(res3
)) delete temp
;
11310 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDouble
, 0 | 0);
11311 if (!SWIG_IsOK(res4
)) {
11312 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Rect2D_Set" "', expected argument " "4"" of type '" "wxDouble""'");
11315 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Rect2D_Set" "', expected argument " "4"" of type '" "wxDouble""'");
11317 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp4
);
11319 if (SWIG_IsNewObj(res4
)) delete temp
;
11325 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxDouble
, 0 | 0);
11326 if (!SWIG_IsOK(res5
)) {
11327 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "Rect2D_Set" "', expected argument " "5"" of type '" "wxDouble""'");
11330 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Rect2D_Set" "', expected argument " "5"" of type '" "wxDouble""'");
11332 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp5
);
11334 if (SWIG_IsNewObj(res5
)) delete temp
;
11339 wxRect2D_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
11340 if (PyErr_Occurred()) SWIG_fail
;
11342 resultobj
= SWIG_Py_Void();
11349 SWIGINTERN PyObject
*_wrap_Rect2D_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11350 PyObject
*resultobj
= 0;
11351 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
11352 PyObject
*result
= 0 ;
11355 PyObject
*swig_obj
[1] ;
11357 if (!args
) SWIG_fail
;
11358 swig_obj
[0] = args
;
11359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
11360 if (!SWIG_IsOK(res1
)) {
11361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_Get" "', expected argument " "1"" of type '" "wxRect2D *""'");
11363 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
11365 result
= (PyObject
*)wxRect2D_Get(arg1
);
11366 if (PyErr_Occurred()) SWIG_fail
;
11368 resultobj
= result
;
11375 SWIGINTERN PyObject
*Rect2D_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11377 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11378 SWIG_TypeNewClientData(SWIGTYPE_p_wxRect2D
, SWIG_NewClientData(obj
));
11379 return SWIG_Py_Void();
11382 SWIGINTERN PyObject
*Rect2D_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11383 return SWIG_Python_InitShadowInstance(args
);
11386 SWIGINTERN
int DefaultPosition_set(PyObject
*) {
11387 SWIG_Error(SWIG_AttributeError
,"Variable DefaultPosition is read-only.");
11392 SWIGINTERN PyObject
*DefaultPosition_get(void) {
11393 PyObject
*pyobj
= 0;
11395 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0 );
11400 SWIGINTERN
int DefaultSize_set(PyObject
*) {
11401 SWIG_Error(SWIG_AttributeError
,"Variable DefaultSize is read-only.");
11406 SWIGINTERN PyObject
*DefaultSize_get(void) {
11407 PyObject
*pyobj
= 0;
11409 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0 );
11414 SWIGINTERN PyObject
*_wrap_new_InputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11415 PyObject
*resultobj
= 0;
11416 PyObject
*arg1
= (PyObject
*) 0 ;
11417 wxPyInputStream
*result
= 0 ;
11418 PyObject
* obj0
= 0 ;
11419 char * kwnames
[] = {
11423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) SWIG_fail
;
11426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11427 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
11428 wxPyEndAllowThreads(__tstate
);
11429 if (PyErr_Occurred()) SWIG_fail
;
11431 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_NEW
| 0 );
11438 SWIGINTERN PyObject
*_wrap_delete_InputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11439 PyObject
*resultobj
= 0;
11440 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
11443 PyObject
*swig_obj
[1] ;
11445 if (!args
) SWIG_fail
;
11446 swig_obj
[0] = args
;
11447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_DISOWN
| 0 );
11448 if (!SWIG_IsOK(res1
)) {
11449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_InputStream" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
11451 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
11453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11456 wxPyEndAllowThreads(__tstate
);
11457 if (PyErr_Occurred()) SWIG_fail
;
11459 resultobj
= SWIG_Py_Void();
11466 SWIGINTERN PyObject
*_wrap_InputStream_close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11467 PyObject
*resultobj
= 0;
11468 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
11471 PyObject
*swig_obj
[1] ;
11473 if (!args
) SWIG_fail
;
11474 swig_obj
[0] = args
;
11475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
11476 if (!SWIG_IsOK(res1
)) {
11477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_close" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
11479 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
11481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11483 wxPyEndAllowThreads(__tstate
);
11484 if (PyErr_Occurred()) SWIG_fail
;
11486 resultobj
= SWIG_Py_Void();
11493 SWIGINTERN PyObject
*_wrap_InputStream_flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11494 PyObject
*resultobj
= 0;
11495 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
11498 PyObject
*swig_obj
[1] ;
11500 if (!args
) SWIG_fail
;
11501 swig_obj
[0] = args
;
11502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
11503 if (!SWIG_IsOK(res1
)) {
11504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_flush" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
11506 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
11508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11510 wxPyEndAllowThreads(__tstate
);
11511 if (PyErr_Occurred()) SWIG_fail
;
11513 resultobj
= SWIG_Py_Void();
11520 SWIGINTERN PyObject
*_wrap_InputStream_eof(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11521 PyObject
*resultobj
= 0;
11522 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
11526 PyObject
*swig_obj
[1] ;
11528 if (!args
) SWIG_fail
;
11529 swig_obj
[0] = args
;
11530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
11531 if (!SWIG_IsOK(res1
)) {
11532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_eof" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
11534 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
11536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11537 result
= (bool)(arg1
)->eof();
11538 wxPyEndAllowThreads(__tstate
);
11539 if (PyErr_Occurred()) SWIG_fail
;
11542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11550 SWIGINTERN PyObject
*_wrap_InputStream_read(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11551 PyObject
*resultobj
= 0;
11552 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
11553 int arg2
= (int) -1 ;
11554 PyObject
*result
= 0 ;
11559 PyObject
* obj0
= 0 ;
11560 PyObject
* obj1
= 0 ;
11561 char * kwnames
[] = {
11562 (char *) "self",(char *) "size", NULL
11565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
11567 if (!SWIG_IsOK(res1
)) {
11568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_read" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
11570 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
11572 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11573 if (!SWIG_IsOK(ecode2
)) {
11574 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "InputStream_read" "', expected argument " "2"" of type '" "int""'");
11576 arg2
= static_cast< int >(val2
);
11579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11580 result
= (PyObject
*)(arg1
)->read(arg2
);
11581 wxPyEndAllowThreads(__tstate
);
11582 if (PyErr_Occurred()) SWIG_fail
;
11584 resultobj
= result
;
11591 SWIGINTERN PyObject
*_wrap_InputStream_readline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11592 PyObject
*resultobj
= 0;
11593 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
11594 int arg2
= (int) -1 ;
11595 PyObject
*result
= 0 ;
11600 PyObject
* obj0
= 0 ;
11601 PyObject
* obj1
= 0 ;
11602 char * kwnames
[] = {
11603 (char *) "self",(char *) "size", NULL
11606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
11608 if (!SWIG_IsOK(res1
)) {
11609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_readline" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
11611 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
11613 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11614 if (!SWIG_IsOK(ecode2
)) {
11615 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "InputStream_readline" "', expected argument " "2"" of type '" "int""'");
11617 arg2
= static_cast< int >(val2
);
11620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11621 result
= (PyObject
*)(arg1
)->readline(arg2
);
11622 wxPyEndAllowThreads(__tstate
);
11623 if (PyErr_Occurred()) SWIG_fail
;
11625 resultobj
= result
;
11632 SWIGINTERN PyObject
*_wrap_InputStream_readlines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11633 PyObject
*resultobj
= 0;
11634 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
11635 int arg2
= (int) -1 ;
11636 PyObject
*result
= 0 ;
11641 PyObject
* obj0
= 0 ;
11642 PyObject
* obj1
= 0 ;
11643 char * kwnames
[] = {
11644 (char *) "self",(char *) "sizehint", NULL
11647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
11649 if (!SWIG_IsOK(res1
)) {
11650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_readlines" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
11652 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
11654 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11655 if (!SWIG_IsOK(ecode2
)) {
11656 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "InputStream_readlines" "', expected argument " "2"" of type '" "int""'");
11658 arg2
= static_cast< int >(val2
);
11661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11662 result
= (PyObject
*)(arg1
)->readlines(arg2
);
11663 wxPyEndAllowThreads(__tstate
);
11664 if (PyErr_Occurred()) SWIG_fail
;
11666 resultobj
= result
;
11673 SWIGINTERN PyObject
*_wrap_InputStream_seek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11674 PyObject
*resultobj
= 0;
11675 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
11677 int arg3
= (int) 0 ;
11684 PyObject
* obj0
= 0 ;
11685 PyObject
* obj1
= 0 ;
11686 PyObject
* obj2
= 0 ;
11687 char * kwnames
[] = {
11688 (char *) "self",(char *) "offset",(char *) "whence", NULL
11691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
11693 if (!SWIG_IsOK(res1
)) {
11694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_seek" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
11696 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
11697 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11698 if (!SWIG_IsOK(ecode2
)) {
11699 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "InputStream_seek" "', expected argument " "2"" of type '" "int""'");
11701 arg2
= static_cast< int >(val2
);
11703 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11704 if (!SWIG_IsOK(ecode3
)) {
11705 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "InputStream_seek" "', expected argument " "3"" of type '" "int""'");
11707 arg3
= static_cast< int >(val3
);
11710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11711 (arg1
)->seek(arg2
,arg3
);
11712 wxPyEndAllowThreads(__tstate
);
11713 if (PyErr_Occurred()) SWIG_fail
;
11715 resultobj
= SWIG_Py_Void();
11722 SWIGINTERN PyObject
*_wrap_InputStream_tell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11723 PyObject
*resultobj
= 0;
11724 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
11728 PyObject
*swig_obj
[1] ;
11730 if (!args
) SWIG_fail
;
11731 swig_obj
[0] = args
;
11732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
11733 if (!SWIG_IsOK(res1
)) {
11734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_tell" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
11736 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
11738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11739 result
= (int)(arg1
)->tell();
11740 wxPyEndAllowThreads(__tstate
);
11741 if (PyErr_Occurred()) SWIG_fail
;
11743 resultobj
= SWIG_From_int(static_cast< int >(result
));
11750 SWIGINTERN PyObject
*_wrap_InputStream_Peek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11751 PyObject
*resultobj
= 0;
11752 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
11756 PyObject
*swig_obj
[1] ;
11758 if (!args
) SWIG_fail
;
11759 swig_obj
[0] = args
;
11760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
11761 if (!SWIG_IsOK(res1
)) {
11762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_Peek" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
11764 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
11766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11767 result
= (char)(arg1
)->Peek();
11768 wxPyEndAllowThreads(__tstate
);
11769 if (PyErr_Occurred()) SWIG_fail
;
11771 resultobj
= SWIG_From_char(static_cast< char >(result
));
11778 SWIGINTERN PyObject
*_wrap_InputStream_GetC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11779 PyObject
*resultobj
= 0;
11780 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
11784 PyObject
*swig_obj
[1] ;
11786 if (!args
) SWIG_fail
;
11787 swig_obj
[0] = args
;
11788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
11789 if (!SWIG_IsOK(res1
)) {
11790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_GetC" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
11792 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
11794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11795 result
= (char)(arg1
)->GetC();
11796 wxPyEndAllowThreads(__tstate
);
11797 if (PyErr_Occurred()) SWIG_fail
;
11799 resultobj
= SWIG_From_char(static_cast< char >(result
));
11806 SWIGINTERN PyObject
*_wrap_InputStream_LastRead(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11807 PyObject
*resultobj
= 0;
11808 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
11812 PyObject
*swig_obj
[1] ;
11814 if (!args
) SWIG_fail
;
11815 swig_obj
[0] = args
;
11816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
11817 if (!SWIG_IsOK(res1
)) {
11818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_LastRead" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
11820 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
11822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11823 result
= (size_t)(arg1
)->LastRead();
11824 wxPyEndAllowThreads(__tstate
);
11825 if (PyErr_Occurred()) SWIG_fail
;
11827 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
11834 SWIGINTERN PyObject
*_wrap_InputStream_CanRead(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11835 PyObject
*resultobj
= 0;
11836 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
11840 PyObject
*swig_obj
[1] ;
11842 if (!args
) SWIG_fail
;
11843 swig_obj
[0] = args
;
11844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
11845 if (!SWIG_IsOK(res1
)) {
11846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_CanRead" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
11848 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
11850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11851 result
= (bool)(arg1
)->CanRead();
11852 wxPyEndAllowThreads(__tstate
);
11853 if (PyErr_Occurred()) SWIG_fail
;
11856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11864 SWIGINTERN PyObject
*_wrap_InputStream_Eof(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11865 PyObject
*resultobj
= 0;
11866 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
11870 PyObject
*swig_obj
[1] ;
11872 if (!args
) SWIG_fail
;
11873 swig_obj
[0] = args
;
11874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
11875 if (!SWIG_IsOK(res1
)) {
11876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_Eof" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
11878 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
11880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11881 result
= (bool)(arg1
)->Eof();
11882 wxPyEndAllowThreads(__tstate
);
11883 if (PyErr_Occurred()) SWIG_fail
;
11886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11894 SWIGINTERN PyObject
*_wrap_InputStream_Ungetch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11895 PyObject
*resultobj
= 0;
11896 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
11903 PyObject
* obj0
= 0 ;
11904 PyObject
* obj1
= 0 ;
11905 char * kwnames
[] = {
11906 (char *) "self",(char *) "c", NULL
11909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
11911 if (!SWIG_IsOK(res1
)) {
11912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_Ungetch" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
11914 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
11915 ecode2
= SWIG_AsVal_char(obj1
, &val2
);
11916 if (!SWIG_IsOK(ecode2
)) {
11917 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "InputStream_Ungetch" "', expected argument " "2"" of type '" "char""'");
11919 arg2
= static_cast< char >(val2
);
11921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11922 result
= (bool)(arg1
)->Ungetch(arg2
);
11923 wxPyEndAllowThreads(__tstate
);
11924 if (PyErr_Occurred()) SWIG_fail
;
11927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11935 SWIGINTERN PyObject
*_wrap_InputStream_SeekI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11936 PyObject
*resultobj
= 0;
11937 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
11939 wxSeekMode arg3
= (wxSeekMode
) wxFromStart
;
11947 PyObject
* obj0
= 0 ;
11948 PyObject
* obj1
= 0 ;
11949 PyObject
* obj2
= 0 ;
11950 char * kwnames
[] = {
11951 (char *) "self",(char *) "pos",(char *) "mode", NULL
11954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
11956 if (!SWIG_IsOK(res1
)) {
11957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_SeekI" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
11959 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
11960 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11961 if (!SWIG_IsOK(ecode2
)) {
11962 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "InputStream_SeekI" "', expected argument " "2"" of type '" "long""'");
11964 arg2
= static_cast< long >(val2
);
11966 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11967 if (!SWIG_IsOK(ecode3
)) {
11968 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "InputStream_SeekI" "', expected argument " "3"" of type '" "wxSeekMode""'");
11970 arg3
= static_cast< wxSeekMode
>(val3
);
11973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11974 result
= (long)(arg1
)->SeekI(arg2
,arg3
);
11975 wxPyEndAllowThreads(__tstate
);
11976 if (PyErr_Occurred()) SWIG_fail
;
11978 resultobj
= SWIG_From_long(static_cast< long >(result
));
11985 SWIGINTERN PyObject
*_wrap_InputStream_TellI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11986 PyObject
*resultobj
= 0;
11987 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
11991 PyObject
*swig_obj
[1] ;
11993 if (!args
) SWIG_fail
;
11994 swig_obj
[0] = args
;
11995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
11996 if (!SWIG_IsOK(res1
)) {
11997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_TellI" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
11999 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
12001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12002 result
= (long)(arg1
)->TellI();
12003 wxPyEndAllowThreads(__tstate
);
12004 if (PyErr_Occurred()) SWIG_fail
;
12006 resultobj
= SWIG_From_long(static_cast< long >(result
));
12013 SWIGINTERN PyObject
*InputStream_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12015 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12016 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyInputStream
, SWIG_NewClientData(obj
));
12017 return SWIG_Py_Void();
12020 SWIGINTERN PyObject
*InputStream_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12021 return SWIG_Python_InitShadowInstance(args
);
12024 SWIGINTERN PyObject
*_wrap_OutputStream_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12025 PyObject
*resultobj
= 0;
12026 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
12027 PyObject
*arg2
= (PyObject
*) 0 ;
12030 PyObject
* obj0
= 0 ;
12031 PyObject
* obj1
= 0 ;
12032 char * kwnames
[] = {
12033 (char *) "self",(char *) "obj", NULL
12036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxOutputStream
, 0 | 0 );
12038 if (!SWIG_IsOK(res1
)) {
12039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "OutputStream_write" "', expected argument " "1"" of type '" "wxOutputStream *""'");
12041 arg1
= reinterpret_cast< wxOutputStream
* >(argp1
);
12044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12045 wxOutputStream_write(arg1
,arg2
);
12046 wxPyEndAllowThreads(__tstate
);
12047 if (PyErr_Occurred()) SWIG_fail
;
12049 resultobj
= SWIG_Py_Void();
12056 SWIGINTERN PyObject
*_wrap_OutputStream_LastWrite(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12057 PyObject
*resultobj
= 0;
12058 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
12062 PyObject
*swig_obj
[1] ;
12064 if (!args
) SWIG_fail
;
12065 swig_obj
[0] = args
;
12066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOutputStream
, 0 | 0 );
12067 if (!SWIG_IsOK(res1
)) {
12068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "OutputStream_LastWrite" "', expected argument " "1"" of type '" "wxOutputStream const *""'");
12070 arg1
= reinterpret_cast< wxOutputStream
* >(argp1
);
12072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12073 result
= (size_t)((wxOutputStream
const *)arg1
)->LastWrite();
12074 wxPyEndAllowThreads(__tstate
);
12075 if (PyErr_Occurred()) SWIG_fail
;
12077 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
12084 SWIGINTERN PyObject
*OutputStream_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12086 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12087 SWIG_TypeNewClientData(SWIGTYPE_p_wxOutputStream
, SWIG_NewClientData(obj
));
12088 return SWIG_Py_Void();
12091 SWIGINTERN PyObject
*_wrap_new_FSFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12092 PyObject
*resultobj
= 0;
12093 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
12094 wxString
*arg2
= 0 ;
12095 wxString
*arg3
= 0 ;
12096 wxString
*arg4
= 0 ;
12098 wxFSFile
*result
= 0 ;
12099 wxPyInputStream
*temp1
;
12100 bool temp2
= false ;
12101 bool temp3
= false ;
12102 bool temp4
= false ;
12105 PyObject
* obj0
= 0 ;
12106 PyObject
* obj1
= 0 ;
12107 PyObject
* obj2
= 0 ;
12108 PyObject
* obj3
= 0 ;
12109 PyObject
* obj4
= 0 ;
12110 char * kwnames
[] = {
12111 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
12114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
12116 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
12117 arg1
= wxPyCBInputStream_copy((wxPyCBInputStream
*)temp1
->m_wxis
);
12119 PyErr_Clear(); // clear the failure of the wxPyConvert above
12120 arg1
= wxPyCBInputStream_create(obj0
, true);
12121 if (arg1
== NULL
) {
12122 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12128 arg2
= wxString_in_helper(obj1
);
12129 if (arg2
== NULL
) SWIG_fail
;
12133 arg3
= wxString_in_helper(obj2
);
12134 if (arg3
== NULL
) SWIG_fail
;
12138 arg4
= wxString_in_helper(obj3
);
12139 if (arg4
== NULL
) SWIG_fail
;
12143 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxDateTime
, 0 | 0);
12144 if (!SWIG_IsOK(res5
)) {
12145 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "new_FSFile" "', expected argument " "5"" of type '" "wxDateTime""'");
12148 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FSFile" "', expected argument " "5"" of type '" "wxDateTime""'");
12150 wxDateTime
* temp
= reinterpret_cast< wxDateTime
* >(argp5
);
12152 if (SWIG_IsNewObj(res5
)) delete temp
;
12156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12157 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
12158 wxPyEndAllowThreads(__tstate
);
12159 if (PyErr_Occurred()) SWIG_fail
;
12161 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFSFile
, SWIG_POINTER_NEW
| 0 );
12192 SWIGINTERN PyObject
*_wrap_delete_FSFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12193 PyObject
*resultobj
= 0;
12194 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
12197 PyObject
*swig_obj
[1] ;
12199 if (!args
) SWIG_fail
;
12200 swig_obj
[0] = args
;
12201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFSFile
, SWIG_POINTER_DISOWN
| 0 );
12202 if (!SWIG_IsOK(res1
)) {
12203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FSFile" "', expected argument " "1"" of type '" "wxFSFile *""'");
12205 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
12207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12210 wxPyEndAllowThreads(__tstate
);
12211 if (PyErr_Occurred()) SWIG_fail
;
12213 resultobj
= SWIG_Py_Void();
12220 SWIGINTERN PyObject
*_wrap_FSFile_GetStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12221 PyObject
*resultobj
= 0;
12222 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
12223 wxInputStream
*result
= 0 ;
12226 PyObject
*swig_obj
[1] ;
12228 if (!args
) SWIG_fail
;
12229 swig_obj
[0] = args
;
12230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFSFile
, 0 | 0 );
12231 if (!SWIG_IsOK(res1
)) {
12232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FSFile_GetStream" "', expected argument " "1"" of type '" "wxFSFile *""'");
12234 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
12236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12237 result
= (wxInputStream
*)(arg1
)->GetStream();
12238 wxPyEndAllowThreads(__tstate
);
12239 if (PyErr_Occurred()) SWIG_fail
;
12242 wxPyInputStream
* _ptr
= NULL
;
12245 _ptr
= new wxPyInputStream(result
);
12247 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
12255 SWIGINTERN PyObject
*_wrap_FSFile_DetachStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12256 PyObject
*resultobj
= 0;
12257 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
12260 PyObject
*swig_obj
[1] ;
12262 if (!args
) SWIG_fail
;
12263 swig_obj
[0] = args
;
12264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFSFile
, 0 | 0 );
12265 if (!SWIG_IsOK(res1
)) {
12266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FSFile_DetachStream" "', expected argument " "1"" of type '" "wxFSFile *""'");
12268 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
12270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12271 (arg1
)->DetachStream();
12272 wxPyEndAllowThreads(__tstate
);
12273 if (PyErr_Occurred()) SWIG_fail
;
12275 resultobj
= SWIG_Py_Void();
12282 SWIGINTERN PyObject
*_wrap_FSFile_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12283 PyObject
*resultobj
= 0;
12284 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
12285 wxString
*result
= 0 ;
12288 PyObject
*swig_obj
[1] ;
12290 if (!args
) SWIG_fail
;
12291 swig_obj
[0] = args
;
12292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFSFile
, 0 | 0 );
12293 if (!SWIG_IsOK(res1
)) {
12294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FSFile_GetMimeType" "', expected argument " "1"" of type '" "wxFSFile *""'");
12296 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
12298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12300 wxString
const &_result_ref
= (arg1
)->GetMimeType();
12301 result
= (wxString
*) &_result_ref
;
12303 wxPyEndAllowThreads(__tstate
);
12304 if (PyErr_Occurred()) SWIG_fail
;
12308 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12310 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12319 SWIGINTERN PyObject
*_wrap_FSFile_GetLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12320 PyObject
*resultobj
= 0;
12321 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
12322 wxString
*result
= 0 ;
12325 PyObject
*swig_obj
[1] ;
12327 if (!args
) SWIG_fail
;
12328 swig_obj
[0] = args
;
12329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFSFile
, 0 | 0 );
12330 if (!SWIG_IsOK(res1
)) {
12331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FSFile_GetLocation" "', expected argument " "1"" of type '" "wxFSFile *""'");
12333 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
12335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12337 wxString
const &_result_ref
= (arg1
)->GetLocation();
12338 result
= (wxString
*) &_result_ref
;
12340 wxPyEndAllowThreads(__tstate
);
12341 if (PyErr_Occurred()) SWIG_fail
;
12345 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12347 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12356 SWIGINTERN PyObject
*_wrap_FSFile_GetAnchor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12357 PyObject
*resultobj
= 0;
12358 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
12359 wxString
*result
= 0 ;
12362 PyObject
*swig_obj
[1] ;
12364 if (!args
) SWIG_fail
;
12365 swig_obj
[0] = args
;
12366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFSFile
, 0 | 0 );
12367 if (!SWIG_IsOK(res1
)) {
12368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FSFile_GetAnchor" "', expected argument " "1"" of type '" "wxFSFile *""'");
12370 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
12372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12374 wxString
const &_result_ref
= (arg1
)->GetAnchor();
12375 result
= (wxString
*) &_result_ref
;
12377 wxPyEndAllowThreads(__tstate
);
12378 if (PyErr_Occurred()) SWIG_fail
;
12382 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12384 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12393 SWIGINTERN PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12394 PyObject
*resultobj
= 0;
12395 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
12399 PyObject
*swig_obj
[1] ;
12401 if (!args
) SWIG_fail
;
12402 swig_obj
[0] = args
;
12403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFSFile
, 0 | 0 );
12404 if (!SWIG_IsOK(res1
)) {
12405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FSFile_GetModificationTime" "', expected argument " "1"" of type '" "wxFSFile *""'");
12407 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
12409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12410 result
= (arg1
)->GetModificationTime();
12411 wxPyEndAllowThreads(__tstate
);
12412 if (PyErr_Occurred()) SWIG_fail
;
12414 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
12421 SWIGINTERN PyObject
*FSFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12423 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12424 SWIG_TypeNewClientData(SWIGTYPE_p_wxFSFile
, SWIG_NewClientData(obj
));
12425 return SWIG_Py_Void();
12428 SWIGINTERN PyObject
*FSFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12429 return SWIG_Python_InitShadowInstance(args
);
12432 SWIGINTERN PyObject
*_wrap_delete_CPPFileSystemHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12433 PyObject
*resultobj
= 0;
12434 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
12437 PyObject
*swig_obj
[1] ;
12439 if (!args
) SWIG_fail
;
12440 swig_obj
[0] = args
;
12441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileSystemHandler
, SWIG_POINTER_DISOWN
| 0 );
12442 if (!SWIG_IsOK(res1
)) {
12443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_CPPFileSystemHandler" "', expected argument " "1"" of type '" "wxFileSystemHandler *""'");
12445 arg1
= reinterpret_cast< wxFileSystemHandler
* >(argp1
);
12447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12450 wxPyEndAllowThreads(__tstate
);
12451 if (PyErr_Occurred()) SWIG_fail
;
12453 resultobj
= SWIG_Py_Void();
12460 SWIGINTERN PyObject
*CPPFileSystemHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12462 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12463 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileSystemHandler
, SWIG_NewClientData(obj
));
12464 return SWIG_Py_Void();
12467 SWIGINTERN PyObject
*_wrap_new_FileSystemHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12468 PyObject
*resultobj
= 0;
12469 wxPyFileSystemHandler
*result
= 0 ;
12471 if (!SWIG_Python_UnpackTuple(args
,"new_FileSystemHandler",0,0,0)) SWIG_fail
;
12473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12474 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
12475 wxPyEndAllowThreads(__tstate
);
12476 if (PyErr_Occurred()) SWIG_fail
;
12478 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_NEW
| 0 );
12485 SWIGINTERN PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12486 PyObject
*resultobj
= 0;
12487 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
12488 PyObject
*arg2
= (PyObject
*) 0 ;
12489 PyObject
*arg3
= (PyObject
*) 0 ;
12492 PyObject
* obj0
= 0 ;
12493 PyObject
* obj1
= 0 ;
12494 PyObject
* obj2
= 0 ;
12495 char * kwnames
[] = {
12496 (char *) "self",(char *) "self",(char *) "_class", NULL
12499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
12501 if (!SWIG_IsOK(res1
)) {
12502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
12504 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
12508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12509 (arg1
)->_setCallbackInfo(arg2
,arg3
);
12510 wxPyEndAllowThreads(__tstate
);
12511 if (PyErr_Occurred()) SWIG_fail
;
12513 resultobj
= SWIG_Py_Void();
12520 SWIGINTERN PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12521 PyObject
*resultobj
= 0;
12522 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
12523 wxString
*arg2
= 0 ;
12527 bool temp2
= false ;
12528 PyObject
* obj0
= 0 ;
12529 PyObject
* obj1
= 0 ;
12530 char * kwnames
[] = {
12531 (char *) "self",(char *) "location", NULL
12534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
12536 if (!SWIG_IsOK(res1
)) {
12537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_CanOpen" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
12539 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
12541 arg2
= wxString_in_helper(obj1
);
12542 if (arg2
== NULL
) SWIG_fail
;
12546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12547 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
12548 wxPyEndAllowThreads(__tstate
);
12549 if (PyErr_Occurred()) SWIG_fail
;
12552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12568 SWIGINTERN PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12569 PyObject
*resultobj
= 0;
12570 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
12571 wxFileSystem
*arg2
= 0 ;
12572 wxString
*arg3
= 0 ;
12573 wxFSFile
*result
= 0 ;
12578 bool temp3
= false ;
12579 PyObject
* obj0
= 0 ;
12580 PyObject
* obj1
= 0 ;
12581 PyObject
* obj2
= 0 ;
12582 char * kwnames
[] = {
12583 (char *) "self",(char *) "fs",(char *) "location", NULL
12586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
12588 if (!SWIG_IsOK(res1
)) {
12589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_OpenFile" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
12591 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
12592 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileSystem
, 0 );
12593 if (!SWIG_IsOK(res2
)) {
12594 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileSystemHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
12597 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FileSystemHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
12599 arg2
= reinterpret_cast< wxFileSystem
* >(argp2
);
12601 arg3
= wxString_in_helper(obj2
);
12602 if (arg3
== NULL
) SWIG_fail
;
12606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12607 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
12608 wxPyEndAllowThreads(__tstate
);
12609 if (PyErr_Occurred()) SWIG_fail
;
12612 resultobj
= wxPyMake_wxObject(result
, SWIG_POINTER_OWN
);
12628 SWIGINTERN PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12629 PyObject
*resultobj
= 0;
12630 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
12631 wxString
*arg2
= 0 ;
12632 int arg3
= (int) 0 ;
12636 bool temp2
= false ;
12639 PyObject
* obj0
= 0 ;
12640 PyObject
* obj1
= 0 ;
12641 PyObject
* obj2
= 0 ;
12642 char * kwnames
[] = {
12643 (char *) "self",(char *) "spec",(char *) "flags", NULL
12646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
12648 if (!SWIG_IsOK(res1
)) {
12649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_FindFirst" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
12651 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
12653 arg2
= wxString_in_helper(obj1
);
12654 if (arg2
== NULL
) SWIG_fail
;
12658 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12659 if (!SWIG_IsOK(ecode3
)) {
12660 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileSystemHandler_FindFirst" "', expected argument " "3"" of type '" "int""'");
12662 arg3
= static_cast< int >(val3
);
12665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12666 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
12667 wxPyEndAllowThreads(__tstate
);
12668 if (PyErr_Occurred()) SWIG_fail
;
12672 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12674 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12691 SWIGINTERN PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12692 PyObject
*resultobj
= 0;
12693 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
12697 PyObject
*swig_obj
[1] ;
12699 if (!args
) SWIG_fail
;
12700 swig_obj
[0] = args
;
12701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
12702 if (!SWIG_IsOK(res1
)) {
12703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_FindNext" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
12705 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
12707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12708 result
= (arg1
)->FindNext();
12709 wxPyEndAllowThreads(__tstate
);
12710 if (PyErr_Occurred()) SWIG_fail
;
12714 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12716 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12725 SWIGINTERN PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12726 PyObject
*resultobj
= 0;
12727 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
12728 wxString
*arg2
= 0 ;
12732 bool temp2
= false ;
12733 PyObject
* obj0
= 0 ;
12734 PyObject
* obj1
= 0 ;
12735 char * kwnames
[] = {
12736 (char *) "self",(char *) "location", NULL
12739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
12741 if (!SWIG_IsOK(res1
)) {
12742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_GetProtocol" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
12744 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
12746 arg2
= wxString_in_helper(obj1
);
12747 if (arg2
== NULL
) SWIG_fail
;
12751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12752 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
12753 wxPyEndAllowThreads(__tstate
);
12754 if (PyErr_Occurred()) SWIG_fail
;
12758 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12760 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12777 SWIGINTERN PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12778 PyObject
*resultobj
= 0;
12779 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
12780 wxString
*arg2
= 0 ;
12784 bool temp2
= false ;
12785 PyObject
* obj0
= 0 ;
12786 PyObject
* obj1
= 0 ;
12787 char * kwnames
[] = {
12788 (char *) "self",(char *) "location", NULL
12791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
12793 if (!SWIG_IsOK(res1
)) {
12794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_GetLeftLocation" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
12796 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
12798 arg2
= wxString_in_helper(obj1
);
12799 if (arg2
== NULL
) SWIG_fail
;
12803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12804 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
12805 wxPyEndAllowThreads(__tstate
);
12806 if (PyErr_Occurred()) SWIG_fail
;
12810 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12812 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12829 SWIGINTERN PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12830 PyObject
*resultobj
= 0;
12831 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
12832 wxString
*arg2
= 0 ;
12836 bool temp2
= false ;
12837 PyObject
* obj0
= 0 ;
12838 PyObject
* obj1
= 0 ;
12839 char * kwnames
[] = {
12840 (char *) "self",(char *) "location", NULL
12843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
12845 if (!SWIG_IsOK(res1
)) {
12846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_GetAnchor" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
12848 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
12850 arg2
= wxString_in_helper(obj1
);
12851 if (arg2
== NULL
) SWIG_fail
;
12855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12856 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
12857 wxPyEndAllowThreads(__tstate
);
12858 if (PyErr_Occurred()) SWIG_fail
;
12862 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12864 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12881 SWIGINTERN PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12882 PyObject
*resultobj
= 0;
12883 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
12884 wxString
*arg2
= 0 ;
12888 bool temp2
= false ;
12889 PyObject
* obj0
= 0 ;
12890 PyObject
* obj1
= 0 ;
12891 char * kwnames
[] = {
12892 (char *) "self",(char *) "location", NULL
12895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
12897 if (!SWIG_IsOK(res1
)) {
12898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_GetRightLocation" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
12900 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
12902 arg2
= wxString_in_helper(obj1
);
12903 if (arg2
== NULL
) SWIG_fail
;
12907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12908 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
12909 wxPyEndAllowThreads(__tstate
);
12910 if (PyErr_Occurred()) SWIG_fail
;
12914 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12916 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12933 SWIGINTERN PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12934 PyObject
*resultobj
= 0;
12935 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
12936 wxString
*arg2
= 0 ;
12940 bool temp2
= false ;
12941 PyObject
* obj0
= 0 ;
12942 PyObject
* obj1
= 0 ;
12943 char * kwnames
[] = {
12944 (char *) "self",(char *) "location", NULL
12947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
12949 if (!SWIG_IsOK(res1
)) {
12950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_GetMimeTypeFromExt" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
12952 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
12954 arg2
= wxString_in_helper(obj1
);
12955 if (arg2
== NULL
) SWIG_fail
;
12959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12960 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
12961 wxPyEndAllowThreads(__tstate
);
12962 if (PyErr_Occurred()) SWIG_fail
;
12966 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12968 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12985 SWIGINTERN PyObject
*FileSystemHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12987 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12988 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_NewClientData(obj
));
12989 return SWIG_Py_Void();
12992 SWIGINTERN PyObject
*FileSystemHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12993 return SWIG_Python_InitShadowInstance(args
);
12996 SWIGINTERN PyObject
*_wrap_new_FileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12997 PyObject
*resultobj
= 0;
12998 wxFileSystem
*result
= 0 ;
13000 if (!SWIG_Python_UnpackTuple(args
,"new_FileSystem",0,0,0)) SWIG_fail
;
13002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13003 result
= (wxFileSystem
*)new wxFileSystem();
13004 wxPyEndAllowThreads(__tstate
);
13005 if (PyErr_Occurred()) SWIG_fail
;
13007 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_NEW
| 0 );
13014 SWIGINTERN PyObject
*_wrap_delete_FileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13015 PyObject
*resultobj
= 0;
13016 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
13019 PyObject
*swig_obj
[1] ;
13021 if (!args
) SWIG_fail
;
13022 swig_obj
[0] = args
;
13023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_DISOWN
| 0 );
13024 if (!SWIG_IsOK(res1
)) {
13025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileSystem" "', expected argument " "1"" of type '" "wxFileSystem *""'");
13027 arg1
= reinterpret_cast< wxFileSystem
* >(argp1
);
13029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13032 wxPyEndAllowThreads(__tstate
);
13033 if (PyErr_Occurred()) SWIG_fail
;
13035 resultobj
= SWIG_Py_Void();
13042 SWIGINTERN PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13043 PyObject
*resultobj
= 0;
13044 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
13045 wxString
*arg2
= 0 ;
13046 bool arg3
= (bool) false ;
13049 bool temp2
= false ;
13052 PyObject
* obj0
= 0 ;
13053 PyObject
* obj1
= 0 ;
13054 PyObject
* obj2
= 0 ;
13055 char * kwnames
[] = {
13056 (char *) "self",(char *) "location",(char *) "is_dir", NULL
13059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileSystem
, 0 | 0 );
13061 if (!SWIG_IsOK(res1
)) {
13062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_ChangePathTo" "', expected argument " "1"" of type '" "wxFileSystem *""'");
13064 arg1
= reinterpret_cast< wxFileSystem
* >(argp1
);
13066 arg2
= wxString_in_helper(obj1
);
13067 if (arg2
== NULL
) SWIG_fail
;
13071 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13072 if (!SWIG_IsOK(ecode3
)) {
13073 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileSystem_ChangePathTo" "', expected argument " "3"" of type '" "bool""'");
13075 arg3
= static_cast< bool >(val3
);
13078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13079 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
13080 wxPyEndAllowThreads(__tstate
);
13081 if (PyErr_Occurred()) SWIG_fail
;
13083 resultobj
= SWIG_Py_Void();
13098 SWIGINTERN PyObject
*_wrap_FileSystem_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13099 PyObject
*resultobj
= 0;
13100 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
13104 PyObject
*swig_obj
[1] ;
13106 if (!args
) SWIG_fail
;
13107 swig_obj
[0] = args
;
13108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileSystem
, 0 | 0 );
13109 if (!SWIG_IsOK(res1
)) {
13110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_GetPath" "', expected argument " "1"" of type '" "wxFileSystem *""'");
13112 arg1
= reinterpret_cast< wxFileSystem
* >(argp1
);
13114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13115 result
= (arg1
)->GetPath();
13116 wxPyEndAllowThreads(__tstate
);
13117 if (PyErr_Occurred()) SWIG_fail
;
13121 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13123 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13132 SWIGINTERN PyObject
*_wrap_FileSystem_OpenFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13133 PyObject
*resultobj
= 0;
13134 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
13135 wxString
*arg2
= 0 ;
13136 wxFSFile
*result
= 0 ;
13139 bool temp2
= false ;
13140 PyObject
* obj0
= 0 ;
13141 PyObject
* obj1
= 0 ;
13142 char * kwnames
[] = {
13143 (char *) "self",(char *) "location", NULL
13146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileSystem
, 0 | 0 );
13148 if (!SWIG_IsOK(res1
)) {
13149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_OpenFile" "', expected argument " "1"" of type '" "wxFileSystem *""'");
13151 arg1
= reinterpret_cast< wxFileSystem
* >(argp1
);
13153 arg2
= wxString_in_helper(obj1
);
13154 if (arg2
== NULL
) SWIG_fail
;
13158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13159 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
13160 wxPyEndAllowThreads(__tstate
);
13161 if (PyErr_Occurred()) SWIG_fail
;
13164 resultobj
= wxPyMake_wxObject(result
, SWIG_POINTER_OWN
);
13180 SWIGINTERN PyObject
*_wrap_FileSystem_FindFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13181 PyObject
*resultobj
= 0;
13182 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
13183 wxString
*arg2
= 0 ;
13184 int arg3
= (int) 0 ;
13188 bool temp2
= false ;
13191 PyObject
* obj0
= 0 ;
13192 PyObject
* obj1
= 0 ;
13193 PyObject
* obj2
= 0 ;
13194 char * kwnames
[] = {
13195 (char *) "self",(char *) "spec",(char *) "flags", NULL
13198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileSystem
, 0 | 0 );
13200 if (!SWIG_IsOK(res1
)) {
13201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_FindFirst" "', expected argument " "1"" of type '" "wxFileSystem *""'");
13203 arg1
= reinterpret_cast< wxFileSystem
* >(argp1
);
13205 arg2
= wxString_in_helper(obj1
);
13206 if (arg2
== NULL
) SWIG_fail
;
13210 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13211 if (!SWIG_IsOK(ecode3
)) {
13212 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileSystem_FindFirst" "', expected argument " "3"" of type '" "int""'");
13214 arg3
= static_cast< int >(val3
);
13217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13218 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
13219 wxPyEndAllowThreads(__tstate
);
13220 if (PyErr_Occurred()) SWIG_fail
;
13224 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13226 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13243 SWIGINTERN PyObject
*_wrap_FileSystem_FindNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13244 PyObject
*resultobj
= 0;
13245 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
13249 PyObject
*swig_obj
[1] ;
13251 if (!args
) SWIG_fail
;
13252 swig_obj
[0] = args
;
13253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileSystem
, 0 | 0 );
13254 if (!SWIG_IsOK(res1
)) {
13255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_FindNext" "', expected argument " "1"" of type '" "wxFileSystem *""'");
13257 arg1
= reinterpret_cast< wxFileSystem
* >(argp1
);
13259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13260 result
= (arg1
)->FindNext();
13261 wxPyEndAllowThreads(__tstate
);
13262 if (PyErr_Occurred()) SWIG_fail
;
13266 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13268 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13277 SWIGINTERN PyObject
*_wrap_FileSystem_AddHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13278 PyObject
*resultobj
= 0;
13279 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
13281 PyObject
* obj0
= 0 ;
13282 char * kwnames
[] = {
13283 (char *) "handler", NULL
13286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) SWIG_fail
;
13287 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxFileSystemHandler
, SWIG_POINTER_DISOWN
| 0 );
13288 if (!SWIG_IsOK(res1
)) {
13289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_AddHandler" "', expected argument " "1"" of type '" "wxFileSystemHandler *""'");
13292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13293 wxFileSystem::AddHandler(arg1
);
13294 wxPyEndAllowThreads(__tstate
);
13295 if (PyErr_Occurred()) SWIG_fail
;
13297 resultobj
= SWIG_Py_Void();
13304 SWIGINTERN PyObject
*_wrap_FileSystem_RemoveHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13305 PyObject
*resultobj
= 0;
13306 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
13307 wxFileSystemHandler
*result
= 0 ;
13310 PyObject
* obj0
= 0 ;
13311 char * kwnames
[] = {
13312 (char *) "handler", NULL
13315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_RemoveHandler",kwnames
,&obj0
)) SWIG_fail
;
13316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileSystemHandler
, 0 | 0 );
13317 if (!SWIG_IsOK(res1
)) {
13318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_RemoveHandler" "', expected argument " "1"" of type '" "wxFileSystemHandler *""'");
13320 arg1
= reinterpret_cast< wxFileSystemHandler
* >(argp1
);
13322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13323 result
= (wxFileSystemHandler
*)wxFileSystem::RemoveHandler(arg1
);
13324 wxPyEndAllowThreads(__tstate
);
13325 if (PyErr_Occurred()) SWIG_fail
;
13327 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystemHandler
, SWIG_POINTER_OWN
| 0 );
13334 SWIGINTERN PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13335 PyObject
*resultobj
= 0;
13337 if (!SWIG_Python_UnpackTuple(args
,"FileSystem_CleanUpHandlers",0,0,0)) SWIG_fail
;
13339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13340 wxFileSystem::CleanUpHandlers();
13341 wxPyEndAllowThreads(__tstate
);
13342 if (PyErr_Occurred()) SWIG_fail
;
13344 resultobj
= SWIG_Py_Void();
13351 SWIGINTERN PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13352 PyObject
*resultobj
= 0;
13353 wxString
*arg1
= 0 ;
13355 bool temp1
= false ;
13356 PyObject
* obj0
= 0 ;
13357 char * kwnames
[] = {
13358 (char *) "filename", NULL
13361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) SWIG_fail
;
13363 arg1
= wxString_in_helper(obj0
);
13364 if (arg1
== NULL
) SWIG_fail
;
13368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13369 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
13370 wxPyEndAllowThreads(__tstate
);
13371 if (PyErr_Occurred()) SWIG_fail
;
13375 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13377 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13394 SWIGINTERN PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13395 PyObject
*resultobj
= 0;
13396 wxString
*arg1
= 0 ;
13398 bool temp1
= false ;
13399 PyObject
* obj0
= 0 ;
13400 char * kwnames
[] = {
13401 (char *) "url", NULL
13404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) SWIG_fail
;
13406 arg1
= wxString_in_helper(obj0
);
13407 if (arg1
== NULL
) SWIG_fail
;
13411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13412 result
= wxFileSystem_URLToFileName((wxString
const &)*arg1
);
13413 wxPyEndAllowThreads(__tstate
);
13414 if (PyErr_Occurred()) SWIG_fail
;
13418 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13420 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13437 SWIGINTERN PyObject
*FileSystem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13439 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13440 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileSystem
, SWIG_NewClientData(obj
));
13441 return SWIG_Py_Void();
13444 SWIGINTERN PyObject
*FileSystem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13445 return SWIG_Python_InitShadowInstance(args
);
13448 SWIGINTERN PyObject
*_wrap_new_InternetFSHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13449 PyObject
*resultobj
= 0;
13450 wxInternetFSHandler
*result
= 0 ;
13452 if (!SWIG_Python_UnpackTuple(args
,"new_InternetFSHandler",0,0,0)) SWIG_fail
;
13454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13455 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
13456 wxPyEndAllowThreads(__tstate
);
13457 if (PyErr_Occurred()) SWIG_fail
;
13459 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_NEW
| 0 );
13466 SWIGINTERN PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13467 PyObject
*resultobj
= 0;
13468 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
13469 wxString
*arg2
= 0 ;
13473 bool temp2
= false ;
13474 PyObject
* obj0
= 0 ;
13475 PyObject
* obj1
= 0 ;
13476 char * kwnames
[] = {
13477 (char *) "self",(char *) "location", NULL
13480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxInternetFSHandler
, 0 | 0 );
13482 if (!SWIG_IsOK(res1
)) {
13483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InternetFSHandler_CanOpen" "', expected argument " "1"" of type '" "wxInternetFSHandler *""'");
13485 arg1
= reinterpret_cast< wxInternetFSHandler
* >(argp1
);
13487 arg2
= wxString_in_helper(obj1
);
13488 if (arg2
== NULL
) SWIG_fail
;
13492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13493 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
13494 wxPyEndAllowThreads(__tstate
);
13495 if (PyErr_Occurred()) SWIG_fail
;
13498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13514 SWIGINTERN PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13515 PyObject
*resultobj
= 0;
13516 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
13517 wxFileSystem
*arg2
= 0 ;
13518 wxString
*arg3
= 0 ;
13519 wxFSFile
*result
= 0 ;
13524 bool temp3
= false ;
13525 PyObject
* obj0
= 0 ;
13526 PyObject
* obj1
= 0 ;
13527 PyObject
* obj2
= 0 ;
13528 char * kwnames
[] = {
13529 (char *) "self",(char *) "fs",(char *) "location", NULL
13532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxInternetFSHandler
, 0 | 0 );
13534 if (!SWIG_IsOK(res1
)) {
13535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InternetFSHandler_OpenFile" "', expected argument " "1"" of type '" "wxInternetFSHandler *""'");
13537 arg1
= reinterpret_cast< wxInternetFSHandler
* >(argp1
);
13538 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileSystem
, 0 );
13539 if (!SWIG_IsOK(res2
)) {
13540 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "InternetFSHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
13543 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "InternetFSHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
13545 arg2
= reinterpret_cast< wxFileSystem
* >(argp2
);
13547 arg3
= wxString_in_helper(obj2
);
13548 if (arg3
== NULL
) SWIG_fail
;
13552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13553 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
13554 wxPyEndAllowThreads(__tstate
);
13555 if (PyErr_Occurred()) SWIG_fail
;
13558 resultobj
= wxPyMake_wxObject(result
, SWIG_POINTER_OWN
);
13574 SWIGINTERN PyObject
*InternetFSHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13576 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13577 SWIG_TypeNewClientData(SWIGTYPE_p_wxInternetFSHandler
, SWIG_NewClientData(obj
));
13578 return SWIG_Py_Void();
13581 SWIGINTERN PyObject
*InternetFSHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13582 return SWIG_Python_InitShadowInstance(args
);
13585 SWIGINTERN PyObject
*_wrap_new_ZipFSHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13586 PyObject
*resultobj
= 0;
13587 wxZipFSHandler
*result
= 0 ;
13589 if (!SWIG_Python_UnpackTuple(args
,"new_ZipFSHandler",0,0,0)) SWIG_fail
;
13591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13592 result
= (wxZipFSHandler
*)new wxZipFSHandler();
13593 wxPyEndAllowThreads(__tstate
);
13594 if (PyErr_Occurred()) SWIG_fail
;
13596 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_NEW
| 0 );
13603 SWIGINTERN PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13604 PyObject
*resultobj
= 0;
13605 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
13606 wxString
*arg2
= 0 ;
13610 bool temp2
= false ;
13611 PyObject
* obj0
= 0 ;
13612 PyObject
* obj1
= 0 ;
13613 char * kwnames
[] = {
13614 (char *) "self",(char *) "location", NULL
13617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxZipFSHandler
, 0 | 0 );
13619 if (!SWIG_IsOK(res1
)) {
13620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ZipFSHandler_CanOpen" "', expected argument " "1"" of type '" "wxZipFSHandler *""'");
13622 arg1
= reinterpret_cast< wxZipFSHandler
* >(argp1
);
13624 arg2
= wxString_in_helper(obj1
);
13625 if (arg2
== NULL
) SWIG_fail
;
13629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13630 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
13631 wxPyEndAllowThreads(__tstate
);
13632 if (PyErr_Occurred()) SWIG_fail
;
13635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13651 SWIGINTERN PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13652 PyObject
*resultobj
= 0;
13653 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
13654 wxFileSystem
*arg2
= 0 ;
13655 wxString
*arg3
= 0 ;
13656 wxFSFile
*result
= 0 ;
13661 bool temp3
= false ;
13662 PyObject
* obj0
= 0 ;
13663 PyObject
* obj1
= 0 ;
13664 PyObject
* obj2
= 0 ;
13665 char * kwnames
[] = {
13666 (char *) "self",(char *) "fs",(char *) "location", NULL
13669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxZipFSHandler
, 0 | 0 );
13671 if (!SWIG_IsOK(res1
)) {
13672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ZipFSHandler_OpenFile" "', expected argument " "1"" of type '" "wxZipFSHandler *""'");
13674 arg1
= reinterpret_cast< wxZipFSHandler
* >(argp1
);
13675 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileSystem
, 0 );
13676 if (!SWIG_IsOK(res2
)) {
13677 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ZipFSHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
13680 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ZipFSHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
13682 arg2
= reinterpret_cast< wxFileSystem
* >(argp2
);
13684 arg3
= wxString_in_helper(obj2
);
13685 if (arg3
== NULL
) SWIG_fail
;
13689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13690 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
13691 wxPyEndAllowThreads(__tstate
);
13692 if (PyErr_Occurred()) SWIG_fail
;
13695 resultobj
= wxPyMake_wxObject(result
, SWIG_POINTER_OWN
);
13711 SWIGINTERN PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13712 PyObject
*resultobj
= 0;
13713 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
13714 wxString
*arg2
= 0 ;
13715 int arg3
= (int) 0 ;
13719 bool temp2
= false ;
13722 PyObject
* obj0
= 0 ;
13723 PyObject
* obj1
= 0 ;
13724 PyObject
* obj2
= 0 ;
13725 char * kwnames
[] = {
13726 (char *) "self",(char *) "spec",(char *) "flags", NULL
13729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxZipFSHandler
, 0 | 0 );
13731 if (!SWIG_IsOK(res1
)) {
13732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ZipFSHandler_FindFirst" "', expected argument " "1"" of type '" "wxZipFSHandler *""'");
13734 arg1
= reinterpret_cast< wxZipFSHandler
* >(argp1
);
13736 arg2
= wxString_in_helper(obj1
);
13737 if (arg2
== NULL
) SWIG_fail
;
13741 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13742 if (!SWIG_IsOK(ecode3
)) {
13743 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ZipFSHandler_FindFirst" "', expected argument " "3"" of type '" "int""'");
13745 arg3
= static_cast< int >(val3
);
13748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13749 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
13750 wxPyEndAllowThreads(__tstate
);
13751 if (PyErr_Occurred()) SWIG_fail
;
13755 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13757 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13774 SWIGINTERN PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13775 PyObject
*resultobj
= 0;
13776 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
13780 PyObject
*swig_obj
[1] ;
13782 if (!args
) SWIG_fail
;
13783 swig_obj
[0] = args
;
13784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxZipFSHandler
, 0 | 0 );
13785 if (!SWIG_IsOK(res1
)) {
13786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ZipFSHandler_FindNext" "', expected argument " "1"" of type '" "wxZipFSHandler *""'");
13788 arg1
= reinterpret_cast< wxZipFSHandler
* >(argp1
);
13790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13791 result
= (arg1
)->FindNext();
13792 wxPyEndAllowThreads(__tstate
);
13793 if (PyErr_Occurred()) SWIG_fail
;
13797 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13799 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13808 SWIGINTERN PyObject
*ZipFSHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13810 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13811 SWIG_TypeNewClientData(SWIGTYPE_p_wxZipFSHandler
, SWIG_NewClientData(obj
));
13812 return SWIG_Py_Void();
13815 SWIGINTERN PyObject
*ZipFSHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13816 return SWIG_Python_InitShadowInstance(args
);
13819 SWIGINTERN PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13820 PyObject
*resultobj
= 0;
13821 wxString
*arg1
= 0 ;
13822 wxImage
*arg2
= 0 ;
13824 bool temp1
= false ;
13829 PyObject
* obj0
= 0 ;
13830 PyObject
* obj1
= 0 ;
13831 PyObject
* obj2
= 0 ;
13832 char * kwnames
[] = {
13833 (char *) "filename",(char *) "image",(char *) "type", NULL
13836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13838 arg1
= wxString_in_helper(obj0
);
13839 if (arg1
== NULL
) SWIG_fail
;
13842 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImage
, 0 );
13843 if (!SWIG_IsOK(res2
)) {
13844 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "__wxMemoryFSHandler_AddFile_wxImage" "', expected argument " "2"" of type '" "wxImage &""'");
13847 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "__wxMemoryFSHandler_AddFile_wxImage" "', expected argument " "2"" of type '" "wxImage &""'");
13849 arg2
= reinterpret_cast< wxImage
* >(argp2
);
13850 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13851 if (!SWIG_IsOK(ecode3
)) {
13852 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "__wxMemoryFSHandler_AddFile_wxImage" "', expected argument " "3"" of type '" "long""'");
13854 arg3
= static_cast< long >(val3
);
13856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13857 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
13858 wxPyEndAllowThreads(__tstate
);
13859 if (PyErr_Occurred()) SWIG_fail
;
13861 resultobj
= SWIG_Py_Void();
13876 SWIGINTERN PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13877 PyObject
*resultobj
= 0;
13878 wxString
*arg1
= 0 ;
13879 wxBitmap
*arg2
= 0 ;
13881 bool temp1
= false ;
13886 PyObject
* obj0
= 0 ;
13887 PyObject
* obj1
= 0 ;
13888 PyObject
* obj2
= 0 ;
13889 char * kwnames
[] = {
13890 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
13893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13895 arg1
= wxString_in_helper(obj0
);
13896 if (arg1
== NULL
) SWIG_fail
;
13899 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
13900 if (!SWIG_IsOK(res2
)) {
13901 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "__wxMemoryFSHandler_AddFile_wxBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
13904 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "__wxMemoryFSHandler_AddFile_wxBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
13906 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
13907 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13908 if (!SWIG_IsOK(ecode3
)) {
13909 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "__wxMemoryFSHandler_AddFile_wxBitmap" "', expected argument " "3"" of type '" "long""'");
13911 arg3
= static_cast< long >(val3
);
13913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13914 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
13915 wxPyEndAllowThreads(__tstate
);
13916 if (PyErr_Occurred()) SWIG_fail
;
13918 resultobj
= SWIG_Py_Void();
13933 SWIGINTERN PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13934 PyObject
*resultobj
= 0;
13935 wxString
*arg1
= 0 ;
13936 PyObject
*arg2
= (PyObject
*) 0 ;
13937 bool temp1
= false ;
13938 PyObject
* obj0
= 0 ;
13939 PyObject
* obj1
= 0 ;
13940 char * kwnames
[] = {
13941 (char *) "filename",(char *) "data", NULL
13944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13946 arg1
= wxString_in_helper(obj0
);
13947 if (arg1
== NULL
) SWIG_fail
;
13952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13953 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
13954 wxPyEndAllowThreads(__tstate
);
13955 if (PyErr_Occurred()) SWIG_fail
;
13957 resultobj
= SWIG_Py_Void();
13972 SWIGINTERN PyObject
*_wrap_new_MemoryFSHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13973 PyObject
*resultobj
= 0;
13974 wxMemoryFSHandler
*result
= 0 ;
13976 if (!SWIG_Python_UnpackTuple(args
,"new_MemoryFSHandler",0,0,0)) SWIG_fail
;
13978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13979 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
13980 wxPyEndAllowThreads(__tstate
);
13981 if (PyErr_Occurred()) SWIG_fail
;
13983 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_NEW
| 0 );
13990 SWIGINTERN PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13991 PyObject
*resultobj
= 0;
13992 wxString
*arg1
= 0 ;
13993 bool temp1
= false ;
13994 PyObject
* obj0
= 0 ;
13995 char * kwnames
[] = {
13996 (char *) "filename", NULL
13999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) SWIG_fail
;
14001 arg1
= wxString_in_helper(obj0
);
14002 if (arg1
== NULL
) SWIG_fail
;
14006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14007 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
14008 wxPyEndAllowThreads(__tstate
);
14009 if (PyErr_Occurred()) SWIG_fail
;
14011 resultobj
= SWIG_Py_Void();
14026 SWIGINTERN PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14027 PyObject
*resultobj
= 0;
14028 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
14029 wxString
*arg2
= 0 ;
14033 bool temp2
= false ;
14034 PyObject
* obj0
= 0 ;
14035 PyObject
* obj1
= 0 ;
14036 char * kwnames
[] = {
14037 (char *) "self",(char *) "location", NULL
14040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryFSHandler
, 0 | 0 );
14042 if (!SWIG_IsOK(res1
)) {
14043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryFSHandler_CanOpen" "', expected argument " "1"" of type '" "wxMemoryFSHandler *""'");
14045 arg1
= reinterpret_cast< wxMemoryFSHandler
* >(argp1
);
14047 arg2
= wxString_in_helper(obj1
);
14048 if (arg2
== NULL
) SWIG_fail
;
14052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14053 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
14054 wxPyEndAllowThreads(__tstate
);
14055 if (PyErr_Occurred()) SWIG_fail
;
14058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14074 SWIGINTERN PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14075 PyObject
*resultobj
= 0;
14076 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
14077 wxFileSystem
*arg2
= 0 ;
14078 wxString
*arg3
= 0 ;
14079 wxFSFile
*result
= 0 ;
14084 bool temp3
= false ;
14085 PyObject
* obj0
= 0 ;
14086 PyObject
* obj1
= 0 ;
14087 PyObject
* obj2
= 0 ;
14088 char * kwnames
[] = {
14089 (char *) "self",(char *) "fs",(char *) "location", NULL
14092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryFSHandler
, 0 | 0 );
14094 if (!SWIG_IsOK(res1
)) {
14095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryFSHandler_OpenFile" "', expected argument " "1"" of type '" "wxMemoryFSHandler *""'");
14097 arg1
= reinterpret_cast< wxMemoryFSHandler
* >(argp1
);
14098 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileSystem
, 0 );
14099 if (!SWIG_IsOK(res2
)) {
14100 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryFSHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
14103 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryFSHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
14105 arg2
= reinterpret_cast< wxFileSystem
* >(argp2
);
14107 arg3
= wxString_in_helper(obj2
);
14108 if (arg3
== NULL
) SWIG_fail
;
14112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14113 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
14114 wxPyEndAllowThreads(__tstate
);
14115 if (PyErr_Occurred()) SWIG_fail
;
14118 resultobj
= wxPyMake_wxObject(result
, SWIG_POINTER_OWN
);
14134 SWIGINTERN PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14135 PyObject
*resultobj
= 0;
14136 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
14137 wxString
*arg2
= 0 ;
14138 int arg3
= (int) 0 ;
14142 bool temp2
= false ;
14145 PyObject
* obj0
= 0 ;
14146 PyObject
* obj1
= 0 ;
14147 PyObject
* obj2
= 0 ;
14148 char * kwnames
[] = {
14149 (char *) "self",(char *) "spec",(char *) "flags", NULL
14152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryFSHandler
, 0 | 0 );
14154 if (!SWIG_IsOK(res1
)) {
14155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryFSHandler_FindFirst" "', expected argument " "1"" of type '" "wxMemoryFSHandler *""'");
14157 arg1
= reinterpret_cast< wxMemoryFSHandler
* >(argp1
);
14159 arg2
= wxString_in_helper(obj1
);
14160 if (arg2
== NULL
) SWIG_fail
;
14164 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14165 if (!SWIG_IsOK(ecode3
)) {
14166 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MemoryFSHandler_FindFirst" "', expected argument " "3"" of type '" "int""'");
14168 arg3
= static_cast< int >(val3
);
14171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14172 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
14173 wxPyEndAllowThreads(__tstate
);
14174 if (PyErr_Occurred()) SWIG_fail
;
14178 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14180 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14197 SWIGINTERN PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14198 PyObject
*resultobj
= 0;
14199 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
14203 PyObject
*swig_obj
[1] ;
14205 if (!args
) SWIG_fail
;
14206 swig_obj
[0] = args
;
14207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMemoryFSHandler
, 0 | 0 );
14208 if (!SWIG_IsOK(res1
)) {
14209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryFSHandler_FindNext" "', expected argument " "1"" of type '" "wxMemoryFSHandler *""'");
14211 arg1
= reinterpret_cast< wxMemoryFSHandler
* >(argp1
);
14213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14214 result
= (arg1
)->FindNext();
14215 wxPyEndAllowThreads(__tstate
);
14216 if (PyErr_Occurred()) SWIG_fail
;
14220 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14222 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14231 SWIGINTERN PyObject
*MemoryFSHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14233 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14234 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryFSHandler
, SWIG_NewClientData(obj
));
14235 return SWIG_Py_Void();
14238 SWIGINTERN PyObject
*MemoryFSHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14239 return SWIG_Python_InitShadowInstance(args
);
14242 SWIGINTERN PyObject
*_wrap_ImageHandler_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14243 PyObject
*resultobj
= 0;
14244 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
14248 PyObject
*swig_obj
[1] ;
14250 if (!args
) SWIG_fail
;
14251 swig_obj
[0] = args
;
14252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
14253 if (!SWIG_IsOK(res1
)) {
14254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_GetName" "', expected argument " "1"" of type '" "wxImageHandler *""'");
14256 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
14258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14259 result
= (arg1
)->GetName();
14260 wxPyEndAllowThreads(__tstate
);
14261 if (PyErr_Occurred()) SWIG_fail
;
14265 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14267 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14276 SWIGINTERN PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14277 PyObject
*resultobj
= 0;
14278 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
14282 PyObject
*swig_obj
[1] ;
14284 if (!args
) SWIG_fail
;
14285 swig_obj
[0] = args
;
14286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
14287 if (!SWIG_IsOK(res1
)) {
14288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_GetExtension" "', expected argument " "1"" of type '" "wxImageHandler *""'");
14290 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
14292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14293 result
= (arg1
)->GetExtension();
14294 wxPyEndAllowThreads(__tstate
);
14295 if (PyErr_Occurred()) SWIG_fail
;
14299 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14301 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14310 SWIGINTERN PyObject
*_wrap_ImageHandler_GetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14311 PyObject
*resultobj
= 0;
14312 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
14316 PyObject
*swig_obj
[1] ;
14318 if (!args
) SWIG_fail
;
14319 swig_obj
[0] = args
;
14320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
14321 if (!SWIG_IsOK(res1
)) {
14322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_GetType" "', expected argument " "1"" of type '" "wxImageHandler *""'");
14324 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
14326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14327 result
= (long)(arg1
)->GetType();
14328 wxPyEndAllowThreads(__tstate
);
14329 if (PyErr_Occurred()) SWIG_fail
;
14331 resultobj
= SWIG_From_long(static_cast< long >(result
));
14338 SWIGINTERN PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14339 PyObject
*resultobj
= 0;
14340 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
14344 PyObject
*swig_obj
[1] ;
14346 if (!args
) SWIG_fail
;
14347 swig_obj
[0] = args
;
14348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
14349 if (!SWIG_IsOK(res1
)) {
14350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_GetMimeType" "', expected argument " "1"" of type '" "wxImageHandler *""'");
14352 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
14354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14355 result
= (arg1
)->GetMimeType();
14356 wxPyEndAllowThreads(__tstate
);
14357 if (PyErr_Occurred()) SWIG_fail
;
14361 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14363 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14372 SWIGINTERN PyObject
*_wrap_ImageHandler_CanRead(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14373 PyObject
*resultobj
= 0;
14374 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
14375 wxString
*arg2
= 0 ;
14379 bool temp2
= false ;
14380 PyObject
* obj0
= 0 ;
14381 PyObject
* obj1
= 0 ;
14382 char * kwnames
[] = {
14383 (char *) "self",(char *) "name", NULL
14386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
14388 if (!SWIG_IsOK(res1
)) {
14389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_CanRead" "', expected argument " "1"" of type '" "wxImageHandler *""'");
14391 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
14393 arg2
= wxString_in_helper(obj1
);
14394 if (arg2
== NULL
) SWIG_fail
;
14398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14399 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
14400 wxPyEndAllowThreads(__tstate
);
14401 if (PyErr_Occurred()) SWIG_fail
;
14404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14420 SWIGINTERN PyObject
*_wrap_ImageHandler_CanReadStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14421 PyObject
*resultobj
= 0;
14422 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
14423 wxInputStream
*arg2
= 0 ;
14427 wxPyInputStream
*temp2
;
14429 PyObject
* obj0
= 0 ;
14430 PyObject
* obj1
= 0 ;
14431 char * kwnames
[] = {
14432 (char *) "self",(char *) "stream", NULL
14435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanReadStream",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
14437 if (!SWIG_IsOK(res1
)) {
14438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_CanReadStream" "', expected argument " "1"" of type '" "wxImageHandler *""'");
14440 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
14442 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
14443 arg2
= temp2
->m_wxis
;
14446 PyErr_Clear(); // clear the failure of the wxPyConvert above
14447 arg2
= wxPyCBInputStream_create(obj1
, false);
14448 if (arg2
== NULL
) {
14449 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
14456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14457 result
= (bool)(arg1
)->CanRead(*arg2
);
14458 wxPyEndAllowThreads(__tstate
);
14459 if (PyErr_Occurred()) SWIG_fail
;
14462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14465 if (created2
) delete arg2
;
14470 if (created2
) delete arg2
;
14476 SWIGINTERN PyObject
*_wrap_ImageHandler_SetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14477 PyObject
*resultobj
= 0;
14478 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
14479 wxString
*arg2
= 0 ;
14482 bool temp2
= false ;
14483 PyObject
* obj0
= 0 ;
14484 PyObject
* obj1
= 0 ;
14485 char * kwnames
[] = {
14486 (char *) "self",(char *) "name", NULL
14489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
14491 if (!SWIG_IsOK(res1
)) {
14492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_SetName" "', expected argument " "1"" of type '" "wxImageHandler *""'");
14494 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
14496 arg2
= wxString_in_helper(obj1
);
14497 if (arg2
== NULL
) SWIG_fail
;
14501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14502 (arg1
)->SetName((wxString
const &)*arg2
);
14503 wxPyEndAllowThreads(__tstate
);
14504 if (PyErr_Occurred()) SWIG_fail
;
14506 resultobj
= SWIG_Py_Void();
14521 SWIGINTERN PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14522 PyObject
*resultobj
= 0;
14523 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
14524 wxString
*arg2
= 0 ;
14527 bool temp2
= false ;
14528 PyObject
* obj0
= 0 ;
14529 PyObject
* obj1
= 0 ;
14530 char * kwnames
[] = {
14531 (char *) "self",(char *) "extension", NULL
14534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
14536 if (!SWIG_IsOK(res1
)) {
14537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_SetExtension" "', expected argument " "1"" of type '" "wxImageHandler *""'");
14539 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
14541 arg2
= wxString_in_helper(obj1
);
14542 if (arg2
== NULL
) SWIG_fail
;
14546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14547 (arg1
)->SetExtension((wxString
const &)*arg2
);
14548 wxPyEndAllowThreads(__tstate
);
14549 if (PyErr_Occurred()) SWIG_fail
;
14551 resultobj
= SWIG_Py_Void();
14566 SWIGINTERN PyObject
*_wrap_ImageHandler_SetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14567 PyObject
*resultobj
= 0;
14568 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
14574 PyObject
* obj0
= 0 ;
14575 PyObject
* obj1
= 0 ;
14576 char * kwnames
[] = {
14577 (char *) "self",(char *) "type", NULL
14580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
14582 if (!SWIG_IsOK(res1
)) {
14583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_SetType" "', expected argument " "1"" of type '" "wxImageHandler *""'");
14585 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
14586 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
14587 if (!SWIG_IsOK(ecode2
)) {
14588 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageHandler_SetType" "', expected argument " "2"" of type '" "long""'");
14590 arg2
= static_cast< long >(val2
);
14592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14593 (arg1
)->SetType(arg2
);
14594 wxPyEndAllowThreads(__tstate
);
14595 if (PyErr_Occurred()) SWIG_fail
;
14597 resultobj
= SWIG_Py_Void();
14604 SWIGINTERN PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14605 PyObject
*resultobj
= 0;
14606 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
14607 wxString
*arg2
= 0 ;
14610 bool temp2
= false ;
14611 PyObject
* obj0
= 0 ;
14612 PyObject
* obj1
= 0 ;
14613 char * kwnames
[] = {
14614 (char *) "self",(char *) "mimetype", NULL
14617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
14619 if (!SWIG_IsOK(res1
)) {
14620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_SetMimeType" "', expected argument " "1"" of type '" "wxImageHandler *""'");
14622 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
14624 arg2
= wxString_in_helper(obj1
);
14625 if (arg2
== NULL
) SWIG_fail
;
14629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14630 (arg1
)->SetMimeType((wxString
const &)*arg2
);
14631 wxPyEndAllowThreads(__tstate
);
14632 if (PyErr_Occurred()) SWIG_fail
;
14634 resultobj
= SWIG_Py_Void();
14649 SWIGINTERN PyObject
*ImageHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14651 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14652 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageHandler
, SWIG_NewClientData(obj
));
14653 return SWIG_Py_Void();
14656 SWIGINTERN PyObject
*_wrap_new_PyImageHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14657 PyObject
*resultobj
= 0;
14658 wxPyImageHandler
*result
= 0 ;
14660 if (!SWIG_Python_UnpackTuple(args
,"new_PyImageHandler",0,0,0)) SWIG_fail
;
14662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14663 result
= (wxPyImageHandler
*)new wxPyImageHandler();
14664 wxPyEndAllowThreads(__tstate
);
14665 if (PyErr_Occurred()) SWIG_fail
;
14667 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyImageHandler
, SWIG_POINTER_NEW
| 0 );
14674 SWIGINTERN PyObject
*_wrap_PyImageHandler__SetSelf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14675 PyObject
*resultobj
= 0;
14676 wxPyImageHandler
*arg1
= (wxPyImageHandler
*) 0 ;
14677 PyObject
*arg2
= (PyObject
*) 0 ;
14680 PyObject
* obj0
= 0 ;
14681 PyObject
* obj1
= 0 ;
14682 char * kwnames
[] = {
14683 (char *) "self",(char *) "self", NULL
14686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyImageHandler__SetSelf",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyImageHandler
, 0 | 0 );
14688 if (!SWIG_IsOK(res1
)) {
14689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyImageHandler__SetSelf" "', expected argument " "1"" of type '" "wxPyImageHandler *""'");
14691 arg1
= reinterpret_cast< wxPyImageHandler
* >(argp1
);
14694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14695 (arg1
)->_SetSelf(arg2
);
14696 wxPyEndAllowThreads(__tstate
);
14697 if (PyErr_Occurred()) SWIG_fail
;
14699 resultobj
= SWIG_Py_Void();
14706 SWIGINTERN PyObject
*PyImageHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14708 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14709 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyImageHandler
, SWIG_NewClientData(obj
));
14710 return SWIG_Py_Void();
14713 SWIGINTERN PyObject
*PyImageHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14714 return SWIG_Python_InitShadowInstance(args
);
14717 SWIGINTERN PyObject
*_wrap_new_ImageHistogram(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14718 PyObject
*resultobj
= 0;
14719 wxImageHistogram
*result
= 0 ;
14721 if (!SWIG_Python_UnpackTuple(args
,"new_ImageHistogram",0,0,0)) SWIG_fail
;
14723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14724 result
= (wxImageHistogram
*)new wxImageHistogram();
14725 wxPyEndAllowThreads(__tstate
);
14726 if (PyErr_Occurred()) SWIG_fail
;
14728 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_NEW
| 0 );
14735 SWIGINTERN PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14736 PyObject
*resultobj
= 0;
14740 unsigned long result
;
14741 unsigned char val1
;
14743 unsigned char val2
;
14745 unsigned char val3
;
14747 PyObject
* obj0
= 0 ;
14748 PyObject
* obj1
= 0 ;
14749 PyObject
* obj2
= 0 ;
14750 char * kwnames
[] = {
14751 (char *) "r",(char *) "g",(char *) "b", NULL
14754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14755 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
14756 if (!SWIG_IsOK(ecode1
)) {
14757 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ImageHistogram_MakeKey" "', expected argument " "1"" of type '" "byte""'");
14759 arg1
= static_cast< byte
>(val1
);
14760 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
14761 if (!SWIG_IsOK(ecode2
)) {
14762 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageHistogram_MakeKey" "', expected argument " "2"" of type '" "byte""'");
14764 arg2
= static_cast< byte
>(val2
);
14765 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
14766 if (!SWIG_IsOK(ecode3
)) {
14767 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ImageHistogram_MakeKey" "', expected argument " "3"" of type '" "byte""'");
14769 arg3
= static_cast< byte
>(val3
);
14771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14772 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
14773 wxPyEndAllowThreads(__tstate
);
14774 if (PyErr_Occurred()) SWIG_fail
;
14776 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
14783 SWIGINTERN PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14784 PyObject
*resultobj
= 0;
14785 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
14786 byte
*arg2
= (byte
*) 0 ;
14787 byte
*arg3
= (byte
*) 0 ;
14788 byte
*arg4
= (byte
*) 0 ;
14789 byte arg5
= (byte
) 1 ;
14790 byte arg6
= (byte
) 0 ;
14791 byte arg7
= (byte
) 0 ;
14796 int res2
= SWIG_TMPOBJ
;
14798 int res3
= SWIG_TMPOBJ
;
14800 int res4
= SWIG_TMPOBJ
;
14801 unsigned char val5
;
14803 unsigned char val6
;
14805 unsigned char val7
;
14807 PyObject
* obj0
= 0 ;
14808 PyObject
* obj1
= 0 ;
14809 PyObject
* obj2
= 0 ;
14810 PyObject
* obj3
= 0 ;
14811 char * kwnames
[] = {
14812 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
14818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHistogram
, 0 | 0 );
14820 if (!SWIG_IsOK(res1
)) {
14821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHistogram_FindFirstUnusedColour" "', expected argument " "1"" of type '" "wxImageHistogram const *""'");
14823 arg1
= reinterpret_cast< wxImageHistogram
* >(argp1
);
14825 ecode5
= SWIG_AsVal_unsigned_SS_char(obj1
, &val5
);
14826 if (!SWIG_IsOK(ecode5
)) {
14827 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageHistogram_FindFirstUnusedColour" "', expected argument " "5"" of type '" "byte""'");
14829 arg5
= static_cast< byte
>(val5
);
14832 ecode6
= SWIG_AsVal_unsigned_SS_char(obj2
, &val6
);
14833 if (!SWIG_IsOK(ecode6
)) {
14834 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageHistogram_FindFirstUnusedColour" "', expected argument " "6"" of type '" "byte""'");
14836 arg6
= static_cast< byte
>(val6
);
14839 ecode7
= SWIG_AsVal_unsigned_SS_char(obj3
, &val7
);
14840 if (!SWIG_IsOK(ecode7
)) {
14841 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageHistogram_FindFirstUnusedColour" "', expected argument " "7"" of type '" "byte""'");
14843 arg7
= static_cast< byte
>(val7
);
14846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14847 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
14848 wxPyEndAllowThreads(__tstate
);
14849 if (PyErr_Occurred()) SWIG_fail
;
14852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14854 if (SWIG_IsTmpObj(res2
)) {
14855 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg2
)));
14857 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
14858 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, new_flags
));
14860 if (SWIG_IsTmpObj(res3
)) {
14861 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
14863 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
14864 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
14866 if (SWIG_IsTmpObj(res4
)) {
14867 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
14869 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
14870 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
14878 SWIGINTERN PyObject
*_wrap_ImageHistogram_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14879 PyObject
*resultobj
= 0;
14880 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
14881 unsigned long arg2
;
14882 unsigned long result
;
14885 unsigned long val2
;
14887 PyObject
* obj0
= 0 ;
14888 PyObject
* obj1
= 0 ;
14889 char * kwnames
[] = {
14890 (char *) "self",(char *) "key", NULL
14893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHistogram_GetCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHistogram
, 0 | 0 );
14895 if (!SWIG_IsOK(res1
)) {
14896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHistogram_GetCount" "', expected argument " "1"" of type '" "wxImageHistogram *""'");
14898 arg1
= reinterpret_cast< wxImageHistogram
* >(argp1
);
14899 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
14900 if (!SWIG_IsOK(ecode2
)) {
14901 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageHistogram_GetCount" "', expected argument " "2"" of type '" "unsigned long""'");
14903 arg2
= static_cast< unsigned long >(val2
);
14905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14906 result
= (unsigned long)wxImageHistogram_GetCount(arg1
,arg2
);
14907 wxPyEndAllowThreads(__tstate
);
14908 if (PyErr_Occurred()) SWIG_fail
;
14910 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
14917 SWIGINTERN PyObject
*_wrap_ImageHistogram_GetCountRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14918 PyObject
*resultobj
= 0;
14919 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
14923 unsigned long result
;
14926 unsigned char val2
;
14928 unsigned char val3
;
14930 unsigned char val4
;
14932 PyObject
* obj0
= 0 ;
14933 PyObject
* obj1
= 0 ;
14934 PyObject
* obj2
= 0 ;
14935 PyObject
* obj3
= 0 ;
14936 char * kwnames
[] = {
14937 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
14940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ImageHistogram_GetCountRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHistogram
, 0 | 0 );
14942 if (!SWIG_IsOK(res1
)) {
14943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHistogram_GetCountRGB" "', expected argument " "1"" of type '" "wxImageHistogram *""'");
14945 arg1
= reinterpret_cast< wxImageHistogram
* >(argp1
);
14946 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
14947 if (!SWIG_IsOK(ecode2
)) {
14948 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageHistogram_GetCountRGB" "', expected argument " "2"" of type '" "byte""'");
14950 arg2
= static_cast< byte
>(val2
);
14951 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
14952 if (!SWIG_IsOK(ecode3
)) {
14953 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ImageHistogram_GetCountRGB" "', expected argument " "3"" of type '" "byte""'");
14955 arg3
= static_cast< byte
>(val3
);
14956 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
14957 if (!SWIG_IsOK(ecode4
)) {
14958 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageHistogram_GetCountRGB" "', expected argument " "4"" of type '" "byte""'");
14960 arg4
= static_cast< byte
>(val4
);
14962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14963 result
= (unsigned long)wxImageHistogram_GetCountRGB(arg1
,arg2
,arg3
,arg4
);
14964 wxPyEndAllowThreads(__tstate
);
14965 if (PyErr_Occurred()) SWIG_fail
;
14967 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
14974 SWIGINTERN PyObject
*_wrap_ImageHistogram_GetCountColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14975 PyObject
*resultobj
= 0;
14976 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
14977 wxColour
*arg2
= 0 ;
14978 unsigned long result
;
14982 PyObject
* obj0
= 0 ;
14983 PyObject
* obj1
= 0 ;
14984 char * kwnames
[] = {
14985 (char *) "self",(char *) "colour", NULL
14988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHistogram_GetCountColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHistogram
, 0 | 0 );
14990 if (!SWIG_IsOK(res1
)) {
14991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHistogram_GetCountColour" "', expected argument " "1"" of type '" "wxImageHistogram *""'");
14993 arg1
= reinterpret_cast< wxImageHistogram
* >(argp1
);
14996 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15000 result
= (unsigned long)wxImageHistogram_GetCountColour(arg1
,(wxColour
const &)*arg2
);
15001 wxPyEndAllowThreads(__tstate
);
15002 if (PyErr_Occurred()) SWIG_fail
;
15004 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
15011 SWIGINTERN PyObject
*ImageHistogram_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15013 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15014 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageHistogram
, SWIG_NewClientData(obj
));
15015 return SWIG_Py_Void();
15018 SWIGINTERN PyObject
*ImageHistogram_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15019 return SWIG_Python_InitShadowInstance(args
);
15022 SWIGINTERN PyObject
*_wrap_new_Image_RGBValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15023 PyObject
*resultobj
= 0;
15024 byte arg1
= (byte
) 0 ;
15025 byte arg2
= (byte
) 0 ;
15026 byte arg3
= (byte
) 0 ;
15027 wxImage_RGBValue
*result
= 0 ;
15028 unsigned char val1
;
15030 unsigned char val2
;
15032 unsigned char val3
;
15034 PyObject
* obj0
= 0 ;
15035 PyObject
* obj1
= 0 ;
15036 PyObject
* obj2
= 0 ;
15037 char * kwnames
[] = {
15038 (char *) "r",(char *) "g",(char *) "b", NULL
15041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Image_RGBValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15043 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
15044 if (!SWIG_IsOK(ecode1
)) {
15045 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Image_RGBValue" "', expected argument " "1"" of type '" "byte""'");
15047 arg1
= static_cast< byte
>(val1
);
15050 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
15051 if (!SWIG_IsOK(ecode2
)) {
15052 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Image_RGBValue" "', expected argument " "2"" of type '" "byte""'");
15054 arg2
= static_cast< byte
>(val2
);
15057 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
15058 if (!SWIG_IsOK(ecode3
)) {
15059 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Image_RGBValue" "', expected argument " "3"" of type '" "byte""'");
15061 arg3
= static_cast< byte
>(val3
);
15064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15065 result
= (wxImage_RGBValue
*)new wxImage_RGBValue(arg1
,arg2
,arg3
);
15066 wxPyEndAllowThreads(__tstate
);
15067 if (PyErr_Occurred()) SWIG_fail
;
15069 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage_RGBValue
, SWIG_POINTER_NEW
| 0 );
15076 SWIGINTERN PyObject
*_wrap_Image_RGBValue_red_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15077 PyObject
*resultobj
= 0;
15078 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
15082 unsigned char val2
;
15084 PyObject
*swig_obj
[2] ;
15086 if (!SWIG_Python_UnpackTuple(args
,"Image_RGBValue_red_set",2,2,swig_obj
)) SWIG_fail
;
15087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_RGBValue
, 0 | 0 );
15088 if (!SWIG_IsOK(res1
)) {
15089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBValue_red_set" "', expected argument " "1"" of type '" "wxImage_RGBValue *""'");
15091 arg1
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
15092 ecode2
= SWIG_AsVal_unsigned_SS_char(swig_obj
[1], &val2
);
15093 if (!SWIG_IsOK(ecode2
)) {
15094 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_RGBValue_red_set" "', expected argument " "2"" of type '" "byte""'");
15096 arg2
= static_cast< byte
>(val2
);
15097 if (arg1
) (arg1
)->red
= arg2
;
15099 resultobj
= SWIG_Py_Void();
15106 SWIGINTERN PyObject
*_wrap_Image_RGBValue_red_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15107 PyObject
*resultobj
= 0;
15108 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
15112 PyObject
*swig_obj
[1] ;
15114 if (!args
) SWIG_fail
;
15115 swig_obj
[0] = args
;
15116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_RGBValue
, 0 | 0 );
15117 if (!SWIG_IsOK(res1
)) {
15118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBValue_red_get" "', expected argument " "1"" of type '" "wxImage_RGBValue *""'");
15120 arg1
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
15121 result
= (byte
) ((arg1
)->red
);
15122 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
15129 SWIGINTERN PyObject
*_wrap_Image_RGBValue_green_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15130 PyObject
*resultobj
= 0;
15131 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
15135 unsigned char val2
;
15137 PyObject
*swig_obj
[2] ;
15139 if (!SWIG_Python_UnpackTuple(args
,"Image_RGBValue_green_set",2,2,swig_obj
)) SWIG_fail
;
15140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_RGBValue
, 0 | 0 );
15141 if (!SWIG_IsOK(res1
)) {
15142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBValue_green_set" "', expected argument " "1"" of type '" "wxImage_RGBValue *""'");
15144 arg1
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
15145 ecode2
= SWIG_AsVal_unsigned_SS_char(swig_obj
[1], &val2
);
15146 if (!SWIG_IsOK(ecode2
)) {
15147 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_RGBValue_green_set" "', expected argument " "2"" of type '" "byte""'");
15149 arg2
= static_cast< byte
>(val2
);
15150 if (arg1
) (arg1
)->green
= arg2
;
15152 resultobj
= SWIG_Py_Void();
15159 SWIGINTERN PyObject
*_wrap_Image_RGBValue_green_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15160 PyObject
*resultobj
= 0;
15161 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
15165 PyObject
*swig_obj
[1] ;
15167 if (!args
) SWIG_fail
;
15168 swig_obj
[0] = args
;
15169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_RGBValue
, 0 | 0 );
15170 if (!SWIG_IsOK(res1
)) {
15171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBValue_green_get" "', expected argument " "1"" of type '" "wxImage_RGBValue *""'");
15173 arg1
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
15174 result
= (byte
) ((arg1
)->green
);
15175 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
15182 SWIGINTERN PyObject
*_wrap_Image_RGBValue_blue_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15183 PyObject
*resultobj
= 0;
15184 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
15188 unsigned char val2
;
15190 PyObject
*swig_obj
[2] ;
15192 if (!SWIG_Python_UnpackTuple(args
,"Image_RGBValue_blue_set",2,2,swig_obj
)) SWIG_fail
;
15193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_RGBValue
, 0 | 0 );
15194 if (!SWIG_IsOK(res1
)) {
15195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBValue_blue_set" "', expected argument " "1"" of type '" "wxImage_RGBValue *""'");
15197 arg1
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
15198 ecode2
= SWIG_AsVal_unsigned_SS_char(swig_obj
[1], &val2
);
15199 if (!SWIG_IsOK(ecode2
)) {
15200 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_RGBValue_blue_set" "', expected argument " "2"" of type '" "byte""'");
15202 arg2
= static_cast< byte
>(val2
);
15203 if (arg1
) (arg1
)->blue
= arg2
;
15205 resultobj
= SWIG_Py_Void();
15212 SWIGINTERN PyObject
*_wrap_Image_RGBValue_blue_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15213 PyObject
*resultobj
= 0;
15214 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
15218 PyObject
*swig_obj
[1] ;
15220 if (!args
) SWIG_fail
;
15221 swig_obj
[0] = args
;
15222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_RGBValue
, 0 | 0 );
15223 if (!SWIG_IsOK(res1
)) {
15224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBValue_blue_get" "', expected argument " "1"" of type '" "wxImage_RGBValue *""'");
15226 arg1
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
15227 result
= (byte
) ((arg1
)->blue
);
15228 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
15235 SWIGINTERN PyObject
*Image_RGBValue_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15237 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15238 SWIG_TypeNewClientData(SWIGTYPE_p_wxImage_RGBValue
, SWIG_NewClientData(obj
));
15239 return SWIG_Py_Void();
15242 SWIGINTERN PyObject
*Image_RGBValue_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15243 return SWIG_Python_InitShadowInstance(args
);
15246 SWIGINTERN PyObject
*_wrap_new_Image_HSVValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15247 PyObject
*resultobj
= 0;
15248 double arg1
= (double) 0.0 ;
15249 double arg2
= (double) 0.0 ;
15250 double arg3
= (double) 0.0 ;
15251 wxImage_HSVValue
*result
= 0 ;
15258 PyObject
* obj0
= 0 ;
15259 PyObject
* obj1
= 0 ;
15260 PyObject
* obj2
= 0 ;
15261 char * kwnames
[] = {
15262 (char *) "h",(char *) "s",(char *) "v", NULL
15265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Image_HSVValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15267 ecode1
= SWIG_AsVal_double(obj0
, &val1
);
15268 if (!SWIG_IsOK(ecode1
)) {
15269 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Image_HSVValue" "', expected argument " "1"" of type '" "double""'");
15271 arg1
= static_cast< double >(val1
);
15274 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
15275 if (!SWIG_IsOK(ecode2
)) {
15276 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Image_HSVValue" "', expected argument " "2"" of type '" "double""'");
15278 arg2
= static_cast< double >(val2
);
15281 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
15282 if (!SWIG_IsOK(ecode3
)) {
15283 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Image_HSVValue" "', expected argument " "3"" of type '" "double""'");
15285 arg3
= static_cast< double >(val3
);
15288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15289 result
= (wxImage_HSVValue
*)new wxImage_HSVValue(arg1
,arg2
,arg3
);
15290 wxPyEndAllowThreads(__tstate
);
15291 if (PyErr_Occurred()) SWIG_fail
;
15293 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage_HSVValue
, SWIG_POINTER_NEW
| 0 );
15300 SWIGINTERN PyObject
*_wrap_Image_HSVValue_hue_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15301 PyObject
*resultobj
= 0;
15302 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
15308 PyObject
*swig_obj
[2] ;
15310 if (!SWIG_Python_UnpackTuple(args
,"Image_HSVValue_hue_set",2,2,swig_obj
)) SWIG_fail
;
15311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_HSVValue
, 0 | 0 );
15312 if (!SWIG_IsOK(res1
)) {
15313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVValue_hue_set" "', expected argument " "1"" of type '" "wxImage_HSVValue *""'");
15315 arg1
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
15316 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
15317 if (!SWIG_IsOK(ecode2
)) {
15318 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_HSVValue_hue_set" "', expected argument " "2"" of type '" "double""'");
15320 arg2
= static_cast< double >(val2
);
15321 if (arg1
) (arg1
)->hue
= arg2
;
15323 resultobj
= SWIG_Py_Void();
15330 SWIGINTERN PyObject
*_wrap_Image_HSVValue_hue_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15331 PyObject
*resultobj
= 0;
15332 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
15336 PyObject
*swig_obj
[1] ;
15338 if (!args
) SWIG_fail
;
15339 swig_obj
[0] = args
;
15340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_HSVValue
, 0 | 0 );
15341 if (!SWIG_IsOK(res1
)) {
15342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVValue_hue_get" "', expected argument " "1"" of type '" "wxImage_HSVValue *""'");
15344 arg1
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
15345 result
= (double) ((arg1
)->hue
);
15346 resultobj
= SWIG_From_double(static_cast< double >(result
));
15353 SWIGINTERN PyObject
*_wrap_Image_HSVValue_saturation_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15354 PyObject
*resultobj
= 0;
15355 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
15361 PyObject
*swig_obj
[2] ;
15363 if (!SWIG_Python_UnpackTuple(args
,"Image_HSVValue_saturation_set",2,2,swig_obj
)) SWIG_fail
;
15364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_HSVValue
, 0 | 0 );
15365 if (!SWIG_IsOK(res1
)) {
15366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVValue_saturation_set" "', expected argument " "1"" of type '" "wxImage_HSVValue *""'");
15368 arg1
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
15369 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
15370 if (!SWIG_IsOK(ecode2
)) {
15371 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_HSVValue_saturation_set" "', expected argument " "2"" of type '" "double""'");
15373 arg2
= static_cast< double >(val2
);
15374 if (arg1
) (arg1
)->saturation
= arg2
;
15376 resultobj
= SWIG_Py_Void();
15383 SWIGINTERN PyObject
*_wrap_Image_HSVValue_saturation_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15384 PyObject
*resultobj
= 0;
15385 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
15389 PyObject
*swig_obj
[1] ;
15391 if (!args
) SWIG_fail
;
15392 swig_obj
[0] = args
;
15393 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_HSVValue
, 0 | 0 );
15394 if (!SWIG_IsOK(res1
)) {
15395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVValue_saturation_get" "', expected argument " "1"" of type '" "wxImage_HSVValue *""'");
15397 arg1
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
15398 result
= (double) ((arg1
)->saturation
);
15399 resultobj
= SWIG_From_double(static_cast< double >(result
));
15406 SWIGINTERN PyObject
*_wrap_Image_HSVValue_value_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15407 PyObject
*resultobj
= 0;
15408 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
15414 PyObject
*swig_obj
[2] ;
15416 if (!SWIG_Python_UnpackTuple(args
,"Image_HSVValue_value_set",2,2,swig_obj
)) SWIG_fail
;
15417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_HSVValue
, 0 | 0 );
15418 if (!SWIG_IsOK(res1
)) {
15419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVValue_value_set" "', expected argument " "1"" of type '" "wxImage_HSVValue *""'");
15421 arg1
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
15422 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
15423 if (!SWIG_IsOK(ecode2
)) {
15424 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_HSVValue_value_set" "', expected argument " "2"" of type '" "double""'");
15426 arg2
= static_cast< double >(val2
);
15427 if (arg1
) (arg1
)->value
= arg2
;
15429 resultobj
= SWIG_Py_Void();
15436 SWIGINTERN PyObject
*_wrap_Image_HSVValue_value_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15437 PyObject
*resultobj
= 0;
15438 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
15442 PyObject
*swig_obj
[1] ;
15444 if (!args
) SWIG_fail
;
15445 swig_obj
[0] = args
;
15446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_HSVValue
, 0 | 0 );
15447 if (!SWIG_IsOK(res1
)) {
15448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVValue_value_get" "', expected argument " "1"" of type '" "wxImage_HSVValue *""'");
15450 arg1
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
15451 result
= (double) ((arg1
)->value
);
15452 resultobj
= SWIG_From_double(static_cast< double >(result
));
15459 SWIGINTERN PyObject
*Image_HSVValue_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15461 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15462 SWIG_TypeNewClientData(SWIGTYPE_p_wxImage_HSVValue
, SWIG_NewClientData(obj
));
15463 return SWIG_Py_Void();
15466 SWIGINTERN PyObject
*Image_HSVValue_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15467 return SWIG_Python_InitShadowInstance(args
);
15470 SWIGINTERN PyObject
*_wrap_new_Image(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15471 PyObject
*resultobj
= 0;
15472 wxString
*arg1
= 0 ;
15473 long arg2
= (long) wxBITMAP_TYPE_ANY
;
15474 int arg3
= (int) -1 ;
15475 wxImage
*result
= 0 ;
15476 bool temp1
= false ;
15481 PyObject
* obj0
= 0 ;
15482 PyObject
* obj1
= 0 ;
15483 PyObject
* obj2
= 0 ;
15484 char * kwnames
[] = {
15485 (char *) "name",(char *) "type",(char *) "index", NULL
15488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15490 arg1
= wxString_in_helper(obj0
);
15491 if (arg1
== NULL
) SWIG_fail
;
15495 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15496 if (!SWIG_IsOK(ecode2
)) {
15497 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Image" "', expected argument " "2"" of type '" "long""'");
15499 arg2
= static_cast< long >(val2
);
15502 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15503 if (!SWIG_IsOK(ecode3
)) {
15504 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Image" "', expected argument " "3"" of type '" "int""'");
15506 arg3
= static_cast< int >(val3
);
15509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15510 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
15511 wxPyEndAllowThreads(__tstate
);
15512 if (PyErr_Occurred()) SWIG_fail
;
15514 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_NEW
| 0 );
15529 SWIGINTERN PyObject
*_wrap_delete_Image(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15530 PyObject
*resultobj
= 0;
15531 wxImage
*arg1
= (wxImage
*) 0 ;
15534 PyObject
*swig_obj
[1] ;
15536 if (!args
) SWIG_fail
;
15537 swig_obj
[0] = args
;
15538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, SWIG_POINTER_DISOWN
| 0 );
15539 if (!SWIG_IsOK(res1
)) {
15540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Image" "', expected argument " "1"" of type '" "wxImage *""'");
15542 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15547 wxPyEndAllowThreads(__tstate
);
15548 if (PyErr_Occurred()) SWIG_fail
;
15550 resultobj
= SWIG_Py_Void();
15557 SWIGINTERN PyObject
*_wrap_new_ImageFromMime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15558 PyObject
*resultobj
= 0;
15559 wxString
*arg1
= 0 ;
15560 wxString
*arg2
= 0 ;
15561 int arg3
= (int) -1 ;
15562 wxImage
*result
= 0 ;
15563 bool temp1
= false ;
15564 bool temp2
= false ;
15567 PyObject
* obj0
= 0 ;
15568 PyObject
* obj1
= 0 ;
15569 PyObject
* obj2
= 0 ;
15570 char * kwnames
[] = {
15571 (char *) "name",(char *) "mimetype",(char *) "index", NULL
15574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15576 arg1
= wxString_in_helper(obj0
);
15577 if (arg1
== NULL
) SWIG_fail
;
15581 arg2
= wxString_in_helper(obj1
);
15582 if (arg2
== NULL
) SWIG_fail
;
15586 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15587 if (!SWIG_IsOK(ecode3
)) {
15588 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageFromMime" "', expected argument " "3"" of type '" "int""'");
15590 arg3
= static_cast< int >(val3
);
15593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15594 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
15595 wxPyEndAllowThreads(__tstate
);
15596 if (PyErr_Occurred()) SWIG_fail
;
15598 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
15621 SWIGINTERN PyObject
*_wrap_new_ImageFromStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15622 PyObject
*resultobj
= 0;
15623 wxInputStream
*arg1
= 0 ;
15624 long arg2
= (long) wxBITMAP_TYPE_ANY
;
15625 int arg3
= (int) -1 ;
15626 wxImage
*result
= 0 ;
15627 wxPyInputStream
*temp1
;
15633 PyObject
* obj0
= 0 ;
15634 PyObject
* obj1
= 0 ;
15635 PyObject
* obj2
= 0 ;
15636 char * kwnames
[] = {
15637 (char *) "stream",(char *) "type",(char *) "index", NULL
15640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15642 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
15643 arg1
= temp1
->m_wxis
;
15646 PyErr_Clear(); // clear the failure of the wxPyConvert above
15647 arg1
= wxPyCBInputStream_create(obj0
, false);
15648 if (arg1
== NULL
) {
15649 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
15656 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15657 if (!SWIG_IsOK(ecode2
)) {
15658 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageFromStream" "', expected argument " "2"" of type '" "long""'");
15660 arg2
= static_cast< long >(val2
);
15663 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15664 if (!SWIG_IsOK(ecode3
)) {
15665 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageFromStream" "', expected argument " "3"" of type '" "int""'");
15667 arg3
= static_cast< int >(val3
);
15670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15671 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
15672 wxPyEndAllowThreads(__tstate
);
15673 if (PyErr_Occurred()) SWIG_fail
;
15675 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
15677 if (created1
) delete arg1
;
15682 if (created1
) delete arg1
;
15688 SWIGINTERN PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15689 PyObject
*resultobj
= 0;
15690 wxInputStream
*arg1
= 0 ;
15691 wxString
*arg2
= 0 ;
15692 int arg3
= (int) -1 ;
15693 wxImage
*result
= 0 ;
15694 wxPyInputStream
*temp1
;
15696 bool temp2
= false ;
15699 PyObject
* obj0
= 0 ;
15700 PyObject
* obj1
= 0 ;
15701 PyObject
* obj2
= 0 ;
15702 char * kwnames
[] = {
15703 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
15706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15708 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
15709 arg1
= temp1
->m_wxis
;
15712 PyErr_Clear(); // clear the failure of the wxPyConvert above
15713 arg1
= wxPyCBInputStream_create(obj0
, false);
15714 if (arg1
== NULL
) {
15715 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
15722 arg2
= wxString_in_helper(obj1
);
15723 if (arg2
== NULL
) SWIG_fail
;
15727 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15728 if (!SWIG_IsOK(ecode3
)) {
15729 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageFromStreamMime" "', expected argument " "3"" of type '" "int""'");
15731 arg3
= static_cast< int >(val3
);
15734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15735 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
15736 wxPyEndAllowThreads(__tstate
);
15737 if (PyErr_Occurred()) SWIG_fail
;
15739 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
15741 if (created1
) delete arg1
;
15750 if (created1
) delete arg1
;
15760 SWIGINTERN PyObject
*_wrap_new_EmptyImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15761 PyObject
*resultobj
= 0;
15762 int arg1
= (int) 0 ;
15763 int arg2
= (int) 0 ;
15764 bool arg3
= (bool) true ;
15765 wxImage
*result
= 0 ;
15772 PyObject
* obj0
= 0 ;
15773 PyObject
* obj1
= 0 ;
15774 PyObject
* obj2
= 0 ;
15775 char * kwnames
[] = {
15776 (char *) "width",(char *) "height",(char *) "clear", NULL
15779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15781 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15782 if (!SWIG_IsOK(ecode1
)) {
15783 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyImage" "', expected argument " "1"" of type '" "int""'");
15785 arg1
= static_cast< int >(val1
);
15788 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15789 if (!SWIG_IsOK(ecode2
)) {
15790 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyImage" "', expected argument " "2"" of type '" "int""'");
15792 arg2
= static_cast< int >(val2
);
15795 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15796 if (!SWIG_IsOK(ecode3
)) {
15797 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyImage" "', expected argument " "3"" of type '" "bool""'");
15799 arg3
= static_cast< bool >(val3
);
15802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15803 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
15804 wxPyEndAllowThreads(__tstate
);
15805 if (PyErr_Occurred()) SWIG_fail
;
15807 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
15814 SWIGINTERN PyObject
*_wrap_new_ImageFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15815 PyObject
*resultobj
= 0;
15816 wxBitmap
*arg1
= 0 ;
15817 wxImage
*result
= 0 ;
15820 PyObject
* obj0
= 0 ;
15821 char * kwnames
[] = {
15822 (char *) "bitmap", NULL
15825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
15826 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
15827 if (!SWIG_IsOK(res1
)) {
15828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ImageFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
15831 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ImageFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
15833 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
15835 if (!wxPyCheckForApp()) SWIG_fail
;
15836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15837 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
15838 wxPyEndAllowThreads(__tstate
);
15839 if (PyErr_Occurred()) SWIG_fail
;
15841 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
15848 SWIGINTERN PyObject
*_wrap_new_ImageFromData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15849 PyObject
*resultobj
= 0;
15854 wxImage
*result
= 0 ;
15860 PyObject
* obj0
= 0 ;
15861 PyObject
* obj1
= 0 ;
15862 PyObject
* obj2
= 0 ;
15863 char * kwnames
[] = {
15864 (char *) "width",(char *) "height",(char *) "data", NULL
15867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15868 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15869 if (!SWIG_IsOK(ecode1
)) {
15870 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageFromData" "', expected argument " "1"" of type '" "int""'");
15872 arg1
= static_cast< int >(val1
);
15873 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15874 if (!SWIG_IsOK(ecode2
)) {
15875 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageFromData" "', expected argument " "2"" of type '" "int""'");
15877 arg2
= static_cast< int >(val2
);
15879 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
15883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15884 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
);
15885 wxPyEndAllowThreads(__tstate
);
15886 if (PyErr_Occurred()) SWIG_fail
;
15888 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
15895 SWIGINTERN PyObject
*_wrap_new_ImageFromDataWithAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15896 PyObject
*resultobj
= 0;
15903 wxImage
*result
= 0 ;
15910 PyObject
* obj0
= 0 ;
15911 PyObject
* obj1
= 0 ;
15912 PyObject
* obj2
= 0 ;
15913 PyObject
* obj3
= 0 ;
15914 char * kwnames
[] = {
15915 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
15918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_ImageFromDataWithAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15919 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15920 if (!SWIG_IsOK(ecode1
)) {
15921 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageFromDataWithAlpha" "', expected argument " "1"" of type '" "int""'");
15923 arg1
= static_cast< int >(val1
);
15924 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15925 if (!SWIG_IsOK(ecode2
)) {
15926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageFromDataWithAlpha" "', expected argument " "2"" of type '" "int""'");
15928 arg2
= static_cast< int >(val2
);
15930 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
15934 if (obj3
!= Py_None
) {
15935 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
15940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15941 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
15942 wxPyEndAllowThreads(__tstate
);
15943 if (PyErr_Occurred()) SWIG_fail
;
15945 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
15952 SWIGINTERN PyObject
*_wrap_Image_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15953 PyObject
*resultobj
= 0;
15954 wxImage
*arg1
= (wxImage
*) 0 ;
15957 bool arg4
= (bool) true ;
15966 PyObject
* obj0
= 0 ;
15967 PyObject
* obj1
= 0 ;
15968 PyObject
* obj2
= 0 ;
15969 PyObject
* obj3
= 0 ;
15970 char * kwnames
[] = {
15971 (char *) "self",(char *) "width",(char *) "height",(char *) "clear", NULL
15974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15976 if (!SWIG_IsOK(res1
)) {
15977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Create" "', expected argument " "1"" of type '" "wxImage *""'");
15979 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15980 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15981 if (!SWIG_IsOK(ecode2
)) {
15982 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Create" "', expected argument " "2"" of type '" "int""'");
15984 arg2
= static_cast< int >(val2
);
15985 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15986 if (!SWIG_IsOK(ecode3
)) {
15987 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_Create" "', expected argument " "3"" of type '" "int""'");
15989 arg3
= static_cast< int >(val3
);
15991 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
15992 if (!SWIG_IsOK(ecode4
)) {
15993 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Create" "', expected argument " "4"" of type '" "bool""'");
15995 arg4
= static_cast< bool >(val4
);
15998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15999 (arg1
)->Create(arg2
,arg3
,arg4
);
16000 wxPyEndAllowThreads(__tstate
);
16001 if (PyErr_Occurred()) SWIG_fail
;
16003 resultobj
= SWIG_Py_Void();
16010 SWIGINTERN PyObject
*_wrap_Image_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16011 PyObject
*resultobj
= 0;
16012 wxImage
*arg1
= (wxImage
*) 0 ;
16015 PyObject
*swig_obj
[1] ;
16017 if (!args
) SWIG_fail
;
16018 swig_obj
[0] = args
;
16019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16020 if (!SWIG_IsOK(res1
)) {
16021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Destroy" "', expected argument " "1"" of type '" "wxImage *""'");
16023 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16027 wxPyEndAllowThreads(__tstate
);
16028 if (PyErr_Occurred()) SWIG_fail
;
16030 resultobj
= SWIG_Py_Void();
16037 SWIGINTERN PyObject
*_wrap_Image_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16038 PyObject
*resultobj
= 0;
16039 wxImage
*arg1
= (wxImage
*) 0 ;
16042 int arg4
= (int) wxIMAGE_QUALITY_NORMAL
;
16043 SwigValueWrapper
<wxImage
> result
;
16052 PyObject
* obj0
= 0 ;
16053 PyObject
* obj1
= 0 ;
16054 PyObject
* obj2
= 0 ;
16055 PyObject
* obj3
= 0 ;
16056 char * kwnames
[] = {
16057 (char *) "self",(char *) "width",(char *) "height",(char *) "quality", NULL
16060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16062 if (!SWIG_IsOK(res1
)) {
16063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Scale" "', expected argument " "1"" of type '" "wxImage *""'");
16065 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16066 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16067 if (!SWIG_IsOK(ecode2
)) {
16068 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Scale" "', expected argument " "2"" of type '" "int""'");
16070 arg2
= static_cast< int >(val2
);
16071 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16072 if (!SWIG_IsOK(ecode3
)) {
16073 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_Scale" "', expected argument " "3"" of type '" "int""'");
16075 arg3
= static_cast< int >(val3
);
16077 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16078 if (!SWIG_IsOK(ecode4
)) {
16079 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Scale" "', expected argument " "4"" of type '" "int""'");
16081 arg4
= static_cast< int >(val4
);
16084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16085 result
= (arg1
)->Scale(arg2
,arg3
,arg4
);
16086 wxPyEndAllowThreads(__tstate
);
16087 if (PyErr_Occurred()) SWIG_fail
;
16089 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
16096 SWIGINTERN PyObject
*_wrap_Image_ResampleBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16097 PyObject
*resultobj
= 0;
16098 wxImage
*arg1
= (wxImage
*) 0 ;
16101 SwigValueWrapper
<wxImage
> result
;
16108 PyObject
* obj0
= 0 ;
16109 PyObject
* obj1
= 0 ;
16110 PyObject
* obj2
= 0 ;
16111 char * kwnames
[] = {
16112 (char *) "self",(char *) "width",(char *) "height", NULL
16115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ResampleBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16117 if (!SWIG_IsOK(res1
)) {
16118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ResampleBox" "', expected argument " "1"" of type '" "wxImage const *""'");
16120 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16121 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16122 if (!SWIG_IsOK(ecode2
)) {
16123 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ResampleBox" "', expected argument " "2"" of type '" "int""'");
16125 arg2
= static_cast< int >(val2
);
16126 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16127 if (!SWIG_IsOK(ecode3
)) {
16128 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_ResampleBox" "', expected argument " "3"" of type '" "int""'");
16130 arg3
= static_cast< int >(val3
);
16132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16133 result
= ((wxImage
const *)arg1
)->ResampleBox(arg2
,arg3
);
16134 wxPyEndAllowThreads(__tstate
);
16135 if (PyErr_Occurred()) SWIG_fail
;
16137 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
16144 SWIGINTERN PyObject
*_wrap_Image_ResampleBicubic(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16145 PyObject
*resultobj
= 0;
16146 wxImage
*arg1
= (wxImage
*) 0 ;
16149 SwigValueWrapper
<wxImage
> result
;
16156 PyObject
* obj0
= 0 ;
16157 PyObject
* obj1
= 0 ;
16158 PyObject
* obj2
= 0 ;
16159 char * kwnames
[] = {
16160 (char *) "self",(char *) "width",(char *) "height", NULL
16163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ResampleBicubic",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16165 if (!SWIG_IsOK(res1
)) {
16166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ResampleBicubic" "', expected argument " "1"" of type '" "wxImage const *""'");
16168 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16169 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16170 if (!SWIG_IsOK(ecode2
)) {
16171 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ResampleBicubic" "', expected argument " "2"" of type '" "int""'");
16173 arg2
= static_cast< int >(val2
);
16174 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16175 if (!SWIG_IsOK(ecode3
)) {
16176 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_ResampleBicubic" "', expected argument " "3"" of type '" "int""'");
16178 arg3
= static_cast< int >(val3
);
16180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16181 result
= ((wxImage
const *)arg1
)->ResampleBicubic(arg2
,arg3
);
16182 wxPyEndAllowThreads(__tstate
);
16183 if (PyErr_Occurred()) SWIG_fail
;
16185 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
16192 SWIGINTERN PyObject
*_wrap_Image_Blur(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16193 PyObject
*resultobj
= 0;
16194 wxImage
*arg1
= (wxImage
*) 0 ;
16196 SwigValueWrapper
<wxImage
> result
;
16201 PyObject
* obj0
= 0 ;
16202 PyObject
* obj1
= 0 ;
16203 char * kwnames
[] = {
16204 (char *) "self",(char *) "radius", NULL
16207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_Blur",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16209 if (!SWIG_IsOK(res1
)) {
16210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Blur" "', expected argument " "1"" of type '" "wxImage *""'");
16212 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16213 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16214 if (!SWIG_IsOK(ecode2
)) {
16215 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Blur" "', expected argument " "2"" of type '" "int""'");
16217 arg2
= static_cast< int >(val2
);
16219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16220 result
= (arg1
)->Blur(arg2
);
16221 wxPyEndAllowThreads(__tstate
);
16222 if (PyErr_Occurred()) SWIG_fail
;
16224 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
16231 SWIGINTERN PyObject
*_wrap_Image_BlurHorizontal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16232 PyObject
*resultobj
= 0;
16233 wxImage
*arg1
= (wxImage
*) 0 ;
16235 SwigValueWrapper
<wxImage
> result
;
16240 PyObject
* obj0
= 0 ;
16241 PyObject
* obj1
= 0 ;
16242 char * kwnames
[] = {
16243 (char *) "self",(char *) "radius", NULL
16246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_BlurHorizontal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16248 if (!SWIG_IsOK(res1
)) {
16249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_BlurHorizontal" "', expected argument " "1"" of type '" "wxImage *""'");
16251 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16252 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16253 if (!SWIG_IsOK(ecode2
)) {
16254 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_BlurHorizontal" "', expected argument " "2"" of type '" "int""'");
16256 arg2
= static_cast< int >(val2
);
16258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16259 result
= (arg1
)->BlurHorizontal(arg2
);
16260 wxPyEndAllowThreads(__tstate
);
16261 if (PyErr_Occurred()) SWIG_fail
;
16263 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
16270 SWIGINTERN PyObject
*_wrap_Image_BlurVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16271 PyObject
*resultobj
= 0;
16272 wxImage
*arg1
= (wxImage
*) 0 ;
16274 SwigValueWrapper
<wxImage
> result
;
16279 PyObject
* obj0
= 0 ;
16280 PyObject
* obj1
= 0 ;
16281 char * kwnames
[] = {
16282 (char *) "self",(char *) "radius", NULL
16285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_BlurVertical",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16287 if (!SWIG_IsOK(res1
)) {
16288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_BlurVertical" "', expected argument " "1"" of type '" "wxImage *""'");
16290 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16291 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16292 if (!SWIG_IsOK(ecode2
)) {
16293 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_BlurVertical" "', expected argument " "2"" of type '" "int""'");
16295 arg2
= static_cast< int >(val2
);
16297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16298 result
= (arg1
)->BlurVertical(arg2
);
16299 wxPyEndAllowThreads(__tstate
);
16300 if (PyErr_Occurred()) SWIG_fail
;
16302 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
16309 SWIGINTERN PyObject
*_wrap_Image_ShrinkBy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16310 PyObject
*resultobj
= 0;
16311 wxImage
*arg1
= (wxImage
*) 0 ;
16314 SwigValueWrapper
<wxImage
> result
;
16321 PyObject
* obj0
= 0 ;
16322 PyObject
* obj1
= 0 ;
16323 PyObject
* obj2
= 0 ;
16324 char * kwnames
[] = {
16325 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
16328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16330 if (!SWIG_IsOK(res1
)) {
16331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ShrinkBy" "', expected argument " "1"" of type '" "wxImage const *""'");
16333 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16334 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16335 if (!SWIG_IsOK(ecode2
)) {
16336 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ShrinkBy" "', expected argument " "2"" of type '" "int""'");
16338 arg2
= static_cast< int >(val2
);
16339 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16340 if (!SWIG_IsOK(ecode3
)) {
16341 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_ShrinkBy" "', expected argument " "3"" of type '" "int""'");
16343 arg3
= static_cast< int >(val3
);
16345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16346 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
16347 wxPyEndAllowThreads(__tstate
);
16348 if (PyErr_Occurred()) SWIG_fail
;
16350 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
16357 SWIGINTERN PyObject
*_wrap_Image_Rescale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16358 PyObject
*resultobj
= 0;
16359 wxImage
*arg1
= (wxImage
*) 0 ;
16362 int arg4
= (int) wxIMAGE_QUALITY_NORMAL
;
16363 wxImage
*result
= 0 ;
16372 PyObject
* obj0
= 0 ;
16373 PyObject
* obj1
= 0 ;
16374 PyObject
* obj2
= 0 ;
16375 PyObject
* obj3
= 0 ;
16376 char * kwnames
[] = {
16377 (char *) "self",(char *) "width",(char *) "height",(char *) "quality", NULL
16380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16382 if (!SWIG_IsOK(res1
)) {
16383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Rescale" "', expected argument " "1"" of type '" "wxImage *""'");
16385 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16386 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16387 if (!SWIG_IsOK(ecode2
)) {
16388 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Rescale" "', expected argument " "2"" of type '" "int""'");
16390 arg2
= static_cast< int >(val2
);
16391 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16392 if (!SWIG_IsOK(ecode3
)) {
16393 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_Rescale" "', expected argument " "3"" of type '" "int""'");
16395 arg3
= static_cast< int >(val3
);
16397 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16398 if (!SWIG_IsOK(ecode4
)) {
16399 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Rescale" "', expected argument " "4"" of type '" "int""'");
16401 arg4
= static_cast< int >(val4
);
16404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16406 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
,arg4
);
16407 result
= (wxImage
*) &_result_ref
;
16409 wxPyEndAllowThreads(__tstate
);
16410 if (PyErr_Occurred()) SWIG_fail
;
16412 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, 0 | 0 );
16419 SWIGINTERN PyObject
*_wrap_Image_Resize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16420 PyObject
*resultobj
= 0;
16421 wxImage
*arg1
= (wxImage
*) 0 ;
16423 wxPoint
*arg3
= 0 ;
16424 int arg4
= (int) -1 ;
16425 int arg5
= (int) -1 ;
16426 int arg6
= (int) -1 ;
16427 wxImage
*result
= 0 ;
16438 PyObject
* obj0
= 0 ;
16439 PyObject
* obj1
= 0 ;
16440 PyObject
* obj2
= 0 ;
16441 PyObject
* obj3
= 0 ;
16442 PyObject
* obj4
= 0 ;
16443 PyObject
* obj5
= 0 ;
16444 char * kwnames
[] = {
16445 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
16448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Image_Resize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
16449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16450 if (!SWIG_IsOK(res1
)) {
16451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Resize" "', expected argument " "1"" of type '" "wxImage *""'");
16453 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16456 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16460 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16463 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16464 if (!SWIG_IsOK(ecode4
)) {
16465 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Resize" "', expected argument " "4"" of type '" "int""'");
16467 arg4
= static_cast< int >(val4
);
16470 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
16471 if (!SWIG_IsOK(ecode5
)) {
16472 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_Resize" "', expected argument " "5"" of type '" "int""'");
16474 arg5
= static_cast< int >(val5
);
16477 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
16478 if (!SWIG_IsOK(ecode6
)) {
16479 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Image_Resize" "', expected argument " "6"" of type '" "int""'");
16481 arg6
= static_cast< int >(val6
);
16484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16486 wxImage
&_result_ref
= (arg1
)->Resize((wxSize
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
,arg6
);
16487 result
= (wxImage
*) &_result_ref
;
16489 wxPyEndAllowThreads(__tstate
);
16490 if (PyErr_Occurred()) SWIG_fail
;
16492 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, 0 | 0 );
16499 SWIGINTERN PyObject
*_wrap_Image_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16500 PyObject
*resultobj
= 0;
16501 wxImage
*arg1
= (wxImage
*) 0 ;
16513 unsigned char val4
;
16515 unsigned char val5
;
16517 unsigned char val6
;
16519 PyObject
* obj0
= 0 ;
16520 PyObject
* obj1
= 0 ;
16521 PyObject
* obj2
= 0 ;
16522 PyObject
* obj3
= 0 ;
16523 PyObject
* obj4
= 0 ;
16524 PyObject
* obj5
= 0 ;
16525 char * kwnames
[] = {
16526 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
16529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
16530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16531 if (!SWIG_IsOK(res1
)) {
16532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetRGB" "', expected argument " "1"" of type '" "wxImage *""'");
16534 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16535 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16536 if (!SWIG_IsOK(ecode2
)) {
16537 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_SetRGB" "', expected argument " "2"" of type '" "int""'");
16539 arg2
= static_cast< int >(val2
);
16540 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16541 if (!SWIG_IsOK(ecode3
)) {
16542 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SetRGB" "', expected argument " "3"" of type '" "int""'");
16544 arg3
= static_cast< int >(val3
);
16545 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
16546 if (!SWIG_IsOK(ecode4
)) {
16547 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_SetRGB" "', expected argument " "4"" of type '" "byte""'");
16549 arg4
= static_cast< byte
>(val4
);
16550 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
16551 if (!SWIG_IsOK(ecode5
)) {
16552 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_SetRGB" "', expected argument " "5"" of type '" "byte""'");
16554 arg5
= static_cast< byte
>(val5
);
16555 ecode6
= SWIG_AsVal_unsigned_SS_char(obj5
, &val6
);
16556 if (!SWIG_IsOK(ecode6
)) {
16557 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Image_SetRGB" "', expected argument " "6"" of type '" "byte""'");
16559 arg6
= static_cast< byte
>(val6
);
16561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16562 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
16563 wxPyEndAllowThreads(__tstate
);
16564 if (PyErr_Occurred()) SWIG_fail
;
16566 resultobj
= SWIG_Py_Void();
16573 SWIGINTERN PyObject
*_wrap_Image_SetRGBRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16574 PyObject
*resultobj
= 0;
16575 wxImage
*arg1
= (wxImage
*) 0 ;
16583 unsigned char val3
;
16585 unsigned char val4
;
16587 unsigned char val5
;
16589 PyObject
* obj0
= 0 ;
16590 PyObject
* obj1
= 0 ;
16591 PyObject
* obj2
= 0 ;
16592 PyObject
* obj3
= 0 ;
16593 PyObject
* obj4
= 0 ;
16594 char * kwnames
[] = {
16595 (char *) "self",(char *) "rect",(char *) "r",(char *) "g",(char *) "b", NULL
16598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetRGBRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16600 if (!SWIG_IsOK(res1
)) {
16601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetRGBRect" "', expected argument " "1"" of type '" "wxImage *""'");
16603 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16606 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
16608 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
16609 if (!SWIG_IsOK(ecode3
)) {
16610 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SetRGBRect" "', expected argument " "3"" of type '" "byte""'");
16612 arg3
= static_cast< byte
>(val3
);
16613 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
16614 if (!SWIG_IsOK(ecode4
)) {
16615 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_SetRGBRect" "', expected argument " "4"" of type '" "byte""'");
16617 arg4
= static_cast< byte
>(val4
);
16618 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
16619 if (!SWIG_IsOK(ecode5
)) {
16620 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_SetRGBRect" "', expected argument " "5"" of type '" "byte""'");
16622 arg5
= static_cast< byte
>(val5
);
16624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16625 (arg1
)->SetRGB((wxRect
const &)*arg2
,arg3
,arg4
,arg5
);
16626 wxPyEndAllowThreads(__tstate
);
16627 if (PyErr_Occurred()) SWIG_fail
;
16629 resultobj
= SWIG_Py_Void();
16636 SWIGINTERN PyObject
*_wrap_Image_GetRed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16637 PyObject
*resultobj
= 0;
16638 wxImage
*arg1
= (wxImage
*) 0 ;
16648 PyObject
* obj0
= 0 ;
16649 PyObject
* obj1
= 0 ;
16650 PyObject
* obj2
= 0 ;
16651 char * kwnames
[] = {
16652 (char *) "self",(char *) "x",(char *) "y", NULL
16655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16657 if (!SWIG_IsOK(res1
)) {
16658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetRed" "', expected argument " "1"" of type '" "wxImage *""'");
16660 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16661 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16662 if (!SWIG_IsOK(ecode2
)) {
16663 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_GetRed" "', expected argument " "2"" of type '" "int""'");
16665 arg2
= static_cast< int >(val2
);
16666 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16667 if (!SWIG_IsOK(ecode3
)) {
16668 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_GetRed" "', expected argument " "3"" of type '" "int""'");
16670 arg3
= static_cast< int >(val3
);
16672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16673 result
= (byte
)(arg1
)->GetRed(arg2
,arg3
);
16674 wxPyEndAllowThreads(__tstate
);
16675 if (PyErr_Occurred()) SWIG_fail
;
16677 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
16684 SWIGINTERN PyObject
*_wrap_Image_GetGreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16685 PyObject
*resultobj
= 0;
16686 wxImage
*arg1
= (wxImage
*) 0 ;
16696 PyObject
* obj0
= 0 ;
16697 PyObject
* obj1
= 0 ;
16698 PyObject
* obj2
= 0 ;
16699 char * kwnames
[] = {
16700 (char *) "self",(char *) "x",(char *) "y", NULL
16703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16705 if (!SWIG_IsOK(res1
)) {
16706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetGreen" "', expected argument " "1"" of type '" "wxImage *""'");
16708 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16709 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16710 if (!SWIG_IsOK(ecode2
)) {
16711 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_GetGreen" "', expected argument " "2"" of type '" "int""'");
16713 arg2
= static_cast< int >(val2
);
16714 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16715 if (!SWIG_IsOK(ecode3
)) {
16716 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_GetGreen" "', expected argument " "3"" of type '" "int""'");
16718 arg3
= static_cast< int >(val3
);
16720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16721 result
= (byte
)(arg1
)->GetGreen(arg2
,arg3
);
16722 wxPyEndAllowThreads(__tstate
);
16723 if (PyErr_Occurred()) SWIG_fail
;
16725 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
16732 SWIGINTERN PyObject
*_wrap_Image_GetBlue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16733 PyObject
*resultobj
= 0;
16734 wxImage
*arg1
= (wxImage
*) 0 ;
16744 PyObject
* obj0
= 0 ;
16745 PyObject
* obj1
= 0 ;
16746 PyObject
* obj2
= 0 ;
16747 char * kwnames
[] = {
16748 (char *) "self",(char *) "x",(char *) "y", NULL
16751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16753 if (!SWIG_IsOK(res1
)) {
16754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetBlue" "', expected argument " "1"" of type '" "wxImage *""'");
16756 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16757 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16758 if (!SWIG_IsOK(ecode2
)) {
16759 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_GetBlue" "', expected argument " "2"" of type '" "int""'");
16761 arg2
= static_cast< int >(val2
);
16762 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16763 if (!SWIG_IsOK(ecode3
)) {
16764 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_GetBlue" "', expected argument " "3"" of type '" "int""'");
16766 arg3
= static_cast< int >(val3
);
16768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16769 result
= (byte
)(arg1
)->GetBlue(arg2
,arg3
);
16770 wxPyEndAllowThreads(__tstate
);
16771 if (PyErr_Occurred()) SWIG_fail
;
16773 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
16780 SWIGINTERN PyObject
*_wrap_Image_SetAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16781 PyObject
*resultobj
= 0;
16782 wxImage
*arg1
= (wxImage
*) 0 ;
16792 unsigned char val4
;
16794 PyObject
* obj0
= 0 ;
16795 PyObject
* obj1
= 0 ;
16796 PyObject
* obj2
= 0 ;
16797 PyObject
* obj3
= 0 ;
16798 char * kwnames
[] = {
16799 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
16802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16804 if (!SWIG_IsOK(res1
)) {
16805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetAlpha" "', expected argument " "1"" of type '" "wxImage *""'");
16807 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16808 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16809 if (!SWIG_IsOK(ecode2
)) {
16810 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_SetAlpha" "', expected argument " "2"" of type '" "int""'");
16812 arg2
= static_cast< int >(val2
);
16813 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16814 if (!SWIG_IsOK(ecode3
)) {
16815 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SetAlpha" "', expected argument " "3"" of type '" "int""'");
16817 arg3
= static_cast< int >(val3
);
16818 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
16819 if (!SWIG_IsOK(ecode4
)) {
16820 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_SetAlpha" "', expected argument " "4"" of type '" "byte""'");
16822 arg4
= static_cast< byte
>(val4
);
16824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16825 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
16826 wxPyEndAllowThreads(__tstate
);
16827 if (PyErr_Occurred()) SWIG_fail
;
16829 resultobj
= SWIG_Py_Void();
16836 SWIGINTERN PyObject
*_wrap_Image_GetAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16837 PyObject
*resultobj
= 0;
16838 wxImage
*arg1
= (wxImage
*) 0 ;
16848 PyObject
* obj0
= 0 ;
16849 PyObject
* obj1
= 0 ;
16850 PyObject
* obj2
= 0 ;
16851 char * kwnames
[] = {
16852 (char *) "self",(char *) "x",(char *) "y", NULL
16855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16857 if (!SWIG_IsOK(res1
)) {
16858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetAlpha" "', expected argument " "1"" of type '" "wxImage *""'");
16860 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16861 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16862 if (!SWIG_IsOK(ecode2
)) {
16863 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_GetAlpha" "', expected argument " "2"" of type '" "int""'");
16865 arg2
= static_cast< int >(val2
);
16866 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16867 if (!SWIG_IsOK(ecode3
)) {
16868 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_GetAlpha" "', expected argument " "3"" of type '" "int""'");
16870 arg3
= static_cast< int >(val3
);
16872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16873 result
= (byte
)(arg1
)->GetAlpha(arg2
,arg3
);
16874 wxPyEndAllowThreads(__tstate
);
16875 if (PyErr_Occurred()) SWIG_fail
;
16877 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
16884 SWIGINTERN PyObject
*_wrap_Image_HasAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16885 PyObject
*resultobj
= 0;
16886 wxImage
*arg1
= (wxImage
*) 0 ;
16890 PyObject
*swig_obj
[1] ;
16892 if (!args
) SWIG_fail
;
16893 swig_obj
[0] = args
;
16894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16895 if (!SWIG_IsOK(res1
)) {
16896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HasAlpha" "', expected argument " "1"" of type '" "wxImage *""'");
16898 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16901 result
= (bool)(arg1
)->HasAlpha();
16902 wxPyEndAllowThreads(__tstate
);
16903 if (PyErr_Occurred()) SWIG_fail
;
16906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16914 SWIGINTERN PyObject
*_wrap_Image_InitAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16915 PyObject
*resultobj
= 0;
16916 wxImage
*arg1
= (wxImage
*) 0 ;
16919 PyObject
*swig_obj
[1] ;
16921 if (!args
) SWIG_fail
;
16922 swig_obj
[0] = args
;
16923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16924 if (!SWIG_IsOK(res1
)) {
16925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_InitAlpha" "', expected argument " "1"" of type '" "wxImage *""'");
16927 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16930 (arg1
)->InitAlpha();
16931 wxPyEndAllowThreads(__tstate
);
16932 if (PyErr_Occurred()) SWIG_fail
;
16934 resultobj
= SWIG_Py_Void();
16941 SWIGINTERN PyObject
*_wrap_Image_IsTransparent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16942 PyObject
*resultobj
= 0;
16943 wxImage
*arg1
= (wxImage
*) 0 ;
16946 byte arg4
= (byte
) wxIMAGE_ALPHA_THRESHOLD
;
16954 unsigned char val4
;
16956 PyObject
* obj0
= 0 ;
16957 PyObject
* obj1
= 0 ;
16958 PyObject
* obj2
= 0 ;
16959 PyObject
* obj3
= 0 ;
16960 char * kwnames
[] = {
16961 (char *) "self",(char *) "x",(char *) "y",(char *) "threshold", NULL
16964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_IsTransparent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16966 if (!SWIG_IsOK(res1
)) {
16967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_IsTransparent" "', expected argument " "1"" of type '" "wxImage const *""'");
16969 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16970 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16971 if (!SWIG_IsOK(ecode2
)) {
16972 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_IsTransparent" "', expected argument " "2"" of type '" "int""'");
16974 arg2
= static_cast< int >(val2
);
16975 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16976 if (!SWIG_IsOK(ecode3
)) {
16977 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_IsTransparent" "', expected argument " "3"" of type '" "int""'");
16979 arg3
= static_cast< int >(val3
);
16981 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
16982 if (!SWIG_IsOK(ecode4
)) {
16983 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_IsTransparent" "', expected argument " "4"" of type '" "byte""'");
16985 arg4
= static_cast< byte
>(val4
);
16988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16989 result
= (bool)((wxImage
const *)arg1
)->IsTransparent(arg2
,arg3
,arg4
);
16990 wxPyEndAllowThreads(__tstate
);
16991 if (PyErr_Occurred()) SWIG_fail
;
16994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17002 SWIGINTERN PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17003 PyObject
*resultobj
= 0;
17004 wxImage
*arg1
= (wxImage
*) 0 ;
17005 byte
*arg2
= (byte
*) 0 ;
17006 byte
*arg3
= (byte
*) 0 ;
17007 byte
*arg4
= (byte
*) 0 ;
17008 byte arg5
= (byte
) 0 ;
17009 byte arg6
= (byte
) 0 ;
17010 byte arg7
= (byte
) 0 ;
17015 int res2
= SWIG_TMPOBJ
;
17017 int res3
= SWIG_TMPOBJ
;
17019 int res4
= SWIG_TMPOBJ
;
17020 unsigned char val5
;
17022 unsigned char val6
;
17024 unsigned char val7
;
17026 PyObject
* obj0
= 0 ;
17027 PyObject
* obj1
= 0 ;
17028 PyObject
* obj2
= 0 ;
17029 PyObject
* obj3
= 0 ;
17030 char * kwnames
[] = {
17031 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
17037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
17039 if (!SWIG_IsOK(res1
)) {
17040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_FindFirstUnusedColour" "', expected argument " "1"" of type '" "wxImage const *""'");
17042 arg1
= reinterpret_cast< wxImage
* >(argp1
);
17044 ecode5
= SWIG_AsVal_unsigned_SS_char(obj1
, &val5
);
17045 if (!SWIG_IsOK(ecode5
)) {
17046 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_FindFirstUnusedColour" "', expected argument " "5"" of type '" "byte""'");
17048 arg5
= static_cast< byte
>(val5
);
17051 ecode6
= SWIG_AsVal_unsigned_SS_char(obj2
, &val6
);
17052 if (!SWIG_IsOK(ecode6
)) {
17053 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Image_FindFirstUnusedColour" "', expected argument " "6"" of type '" "byte""'");
17055 arg6
= static_cast< byte
>(val6
);
17058 ecode7
= SWIG_AsVal_unsigned_SS_char(obj3
, &val7
);
17059 if (!SWIG_IsOK(ecode7
)) {
17060 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Image_FindFirstUnusedColour" "', expected argument " "7"" of type '" "byte""'");
17062 arg7
= static_cast< byte
>(val7
);
17065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17066 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17067 wxPyEndAllowThreads(__tstate
);
17068 if (PyErr_Occurred()) SWIG_fail
;
17071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17073 if (SWIG_IsTmpObj(res2
)) {
17074 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg2
)));
17076 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17077 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, new_flags
));
17079 if (SWIG_IsTmpObj(res3
)) {
17080 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
17082 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17083 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
17085 if (SWIG_IsTmpObj(res4
)) {
17086 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
17088 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17089 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
17097 SWIGINTERN PyObject
*_wrap_Image_ConvertAlphaToMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17098 PyObject
*resultobj
= 0;
17099 wxImage
*arg1
= (wxImage
*) 0 ;
17100 byte arg2
= (byte
) wxIMAGE_ALPHA_THRESHOLD
;
17104 unsigned char val2
;
17106 PyObject
* obj0
= 0 ;
17107 PyObject
* obj1
= 0 ;
17108 char * kwnames
[] = {
17109 (char *) "self",(char *) "threshold", NULL
17112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
17114 if (!SWIG_IsOK(res1
)) {
17115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ConvertAlphaToMask" "', expected argument " "1"" of type '" "wxImage *""'");
17117 arg1
= reinterpret_cast< wxImage
* >(argp1
);
17119 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
17120 if (!SWIG_IsOK(ecode2
)) {
17121 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ConvertAlphaToMask" "', expected argument " "2"" of type '" "byte""'");
17123 arg2
= static_cast< byte
>(val2
);
17126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17127 result
= (bool)(arg1
)->ConvertAlphaToMask(arg2
);
17128 wxPyEndAllowThreads(__tstate
);
17129 if (PyErr_Occurred()) SWIG_fail
;
17132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17140 SWIGINTERN PyObject
*_wrap_Image_ConvertColourToAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17141 PyObject
*resultobj
= 0;
17142 wxImage
*arg1
= (wxImage
*) 0 ;
17149 unsigned char val2
;
17151 unsigned char val3
;
17153 unsigned char val4
;
17155 PyObject
* obj0
= 0 ;
17156 PyObject
* obj1
= 0 ;
17157 PyObject
* obj2
= 0 ;
17158 PyObject
* obj3
= 0 ;
17159 char * kwnames
[] = {
17160 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
17163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertColourToAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
17165 if (!SWIG_IsOK(res1
)) {
17166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ConvertColourToAlpha" "', expected argument " "1"" of type '" "wxImage *""'");
17168 arg1
= reinterpret_cast< wxImage
* >(argp1
);
17169 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
17170 if (!SWIG_IsOK(ecode2
)) {
17171 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ConvertColourToAlpha" "', expected argument " "2"" of type '" "byte""'");
17173 arg2
= static_cast< byte
>(val2
);
17174 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
17175 if (!SWIG_IsOK(ecode3
)) {
17176 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_ConvertColourToAlpha" "', expected argument " "3"" of type '" "byte""'");
17178 arg3
= static_cast< byte
>(val3
);
17179 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
17180 if (!SWIG_IsOK(ecode4
)) {
17181 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_ConvertColourToAlpha" "', expected argument " "4"" of type '" "byte""'");
17183 arg4
= static_cast< byte
>(val4
);
17185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17186 result
= (bool)(arg1
)->ConvertColourToAlpha(arg2
,arg3
,arg4
);
17187 wxPyEndAllowThreads(__tstate
);
17188 if (PyErr_Occurred()) SWIG_fail
;
17191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17199 SWIGINTERN PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17200 PyObject
*resultobj
= 0;
17201 wxImage
*arg1
= (wxImage
*) 0 ;
17202 wxImage
*arg2
= 0 ;
17211 unsigned char val3
;
17213 unsigned char val4
;
17215 unsigned char val5
;
17217 PyObject
* obj0
= 0 ;
17218 PyObject
* obj1
= 0 ;
17219 PyObject
* obj2
= 0 ;
17220 PyObject
* obj3
= 0 ;
17221 PyObject
* obj4
= 0 ;
17222 char * kwnames
[] = {
17223 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
17226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
17228 if (!SWIG_IsOK(res1
)) {
17229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetMaskFromImage" "', expected argument " "1"" of type '" "wxImage *""'");
17231 arg1
= reinterpret_cast< wxImage
* >(argp1
);
17232 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImage
, 0 | 0);
17233 if (!SWIG_IsOK(res2
)) {
17234 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Image_SetMaskFromImage" "', expected argument " "2"" of type '" "wxImage const &""'");
17237 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Image_SetMaskFromImage" "', expected argument " "2"" of type '" "wxImage const &""'");
17239 arg2
= reinterpret_cast< wxImage
* >(argp2
);
17240 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
17241 if (!SWIG_IsOK(ecode3
)) {
17242 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SetMaskFromImage" "', expected argument " "3"" of type '" "byte""'");
17244 arg3
= static_cast< byte
>(val3
);
17245 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
17246 if (!SWIG_IsOK(ecode4
)) {
17247 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_SetMaskFromImage" "', expected argument " "4"" of type '" "byte""'");
17249 arg4
= static_cast< byte
>(val4
);
17250 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
17251 if (!SWIG_IsOK(ecode5
)) {
17252 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_SetMaskFromImage" "', expected argument " "5"" of type '" "byte""'");
17254 arg5
= static_cast< byte
>(val5
);
17256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17257 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
17258 wxPyEndAllowThreads(__tstate
);
17259 if (PyErr_Occurred()) SWIG_fail
;
17262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17270 SWIGINTERN PyObject
*_wrap_Image_CanRead(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17271 PyObject
*resultobj
= 0;
17272 wxString
*arg1
= 0 ;
17274 bool temp1
= false ;
17275 PyObject
* obj0
= 0 ;
17276 char * kwnames
[] = {
17277 (char *) "filename", NULL
17280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) SWIG_fail
;
17282 arg1
= wxString_in_helper(obj0
);
17283 if (arg1
== NULL
) SWIG_fail
;
17287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17288 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
17289 wxPyEndAllowThreads(__tstate
);
17290 if (PyErr_Occurred()) SWIG_fail
;
17293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17309 SWIGINTERN PyObject
*_wrap_Image_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17310 PyObject
*resultobj
= 0;
17311 wxString
*arg1
= 0 ;
17312 long arg2
= (long) wxBITMAP_TYPE_ANY
;
17314 bool temp1
= false ;
17317 PyObject
* obj0
= 0 ;
17318 PyObject
* obj1
= 0 ;
17319 char * kwnames
[] = {
17320 (char *) "filename",(char *) "type", NULL
17323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17325 arg1
= wxString_in_helper(obj0
);
17326 if (arg1
== NULL
) SWIG_fail
;
17330 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
17331 if (!SWIG_IsOK(ecode2
)) {
17332 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_GetImageCount" "', expected argument " "2"" of type '" "long""'");
17334 arg2
= static_cast< long >(val2
);
17337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17338 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
17339 wxPyEndAllowThreads(__tstate
);
17340 if (PyErr_Occurred()) SWIG_fail
;
17342 resultobj
= SWIG_From_int(static_cast< int >(result
));
17357 SWIGINTERN PyObject
*_wrap_Image_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17358 PyObject
*resultobj
= 0;
17359 wxImage
*arg1
= (wxImage
*) 0 ;
17360 wxString
*arg2
= 0 ;
17361 long arg3
= (long) wxBITMAP_TYPE_ANY
;
17362 int arg4
= (int) -1 ;
17366 bool temp2
= false ;
17371 PyObject
* obj0
= 0 ;
17372 PyObject
* obj1
= 0 ;
17373 PyObject
* obj2
= 0 ;
17374 PyObject
* obj3
= 0 ;
17375 char * kwnames
[] = {
17376 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
17379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
17381 if (!SWIG_IsOK(res1
)) {
17382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_LoadFile" "', expected argument " "1"" of type '" "wxImage *""'");
17384 arg1
= reinterpret_cast< wxImage
* >(argp1
);
17386 arg2
= wxString_in_helper(obj1
);
17387 if (arg2
== NULL
) SWIG_fail
;
17391 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
17392 if (!SWIG_IsOK(ecode3
)) {
17393 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_LoadFile" "', expected argument " "3"" of type '" "long""'");
17395 arg3
= static_cast< long >(val3
);
17398 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17399 if (!SWIG_IsOK(ecode4
)) {
17400 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_LoadFile" "', expected argument " "4"" of type '" "int""'");
17402 arg4
= static_cast< int >(val4
);
17405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17406 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
17407 wxPyEndAllowThreads(__tstate
);
17408 if (PyErr_Occurred()) SWIG_fail
;
17411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17427 SWIGINTERN PyObject
*_wrap_Image_LoadMimeFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17428 PyObject
*resultobj
= 0;
17429 wxImage
*arg1
= (wxImage
*) 0 ;
17430 wxString
*arg2
= 0 ;
17431 wxString
*arg3
= 0 ;
17432 int arg4
= (int) -1 ;
17436 bool temp2
= false ;
17437 bool temp3
= false ;
17440 PyObject
* obj0
= 0 ;
17441 PyObject
* obj1
= 0 ;
17442 PyObject
* obj2
= 0 ;
17443 PyObject
* obj3
= 0 ;
17444 char * kwnames
[] = {
17445 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
17448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
17450 if (!SWIG_IsOK(res1
)) {
17451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_LoadMimeFile" "', expected argument " "1"" of type '" "wxImage *""'");
17453 arg1
= reinterpret_cast< wxImage
* >(argp1
);
17455 arg2
= wxString_in_helper(obj1
);
17456 if (arg2
== NULL
) SWIG_fail
;
17460 arg3
= wxString_in_helper(obj2
);
17461 if (arg3
== NULL
) SWIG_fail
;
17465 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17466 if (!SWIG_IsOK(ecode4
)) {
17467 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_LoadMimeFile" "', expected argument " "4"" of type '" "int""'");
17469 arg4
= static_cast< int >(val4
);
17472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17473 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
17474 wxPyEndAllowThreads(__tstate
);
17475 if (PyErr_Occurred()) SWIG_fail
;
17478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17502 SWIGINTERN PyObject
*_wrap_Image_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17503 PyObject
*resultobj
= 0;
17504 wxImage
*arg1
= (wxImage
*) 0 ;
17505 wxString
*arg2
= 0 ;
17510 bool temp2
= false ;
17513 PyObject
* obj0
= 0 ;
17514 PyObject
* obj1
= 0 ;
17515 PyObject
* obj2
= 0 ;
17516 char * kwnames
[] = {
17517 (char *) "self",(char *) "name",(char *) "type", NULL
17520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
17522 if (!SWIG_IsOK(res1
)) {
17523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SaveFile" "', expected argument " "1"" of type '" "wxImage *""'");
17525 arg1
= reinterpret_cast< wxImage
* >(argp1
);
17527 arg2
= wxString_in_helper(obj1
);
17528 if (arg2
== NULL
) SWIG_fail
;
17531 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17532 if (!SWIG_IsOK(ecode3
)) {
17533 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SaveFile" "', expected argument " "3"" of type '" "int""'");
17535 arg3
= static_cast< int >(val3
);
17537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17538 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
17539 wxPyEndAllowThreads(__tstate
);
17540 if (PyErr_Occurred()) SWIG_fail
;
17543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17559 SWIGINTERN PyObject
*_wrap_Image_SaveMimeFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17560 PyObject
*resultobj
= 0;
17561 wxImage
*arg1
= (wxImage
*) 0 ;
17562 wxString
*arg2
= 0 ;
17563 wxString
*arg3
= 0 ;
17567 bool temp2
= false ;
17568 bool temp3
= false ;
17569 PyObject
* obj0
= 0 ;
17570 PyObject
* obj1
= 0 ;
17571 PyObject
* obj2
= 0 ;
17572 char * kwnames
[] = {
17573 (char *) "self",(char *) "name",(char *) "mimetype", NULL
17576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
17578 if (!SWIG_IsOK(res1
)) {
17579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SaveMimeFile" "', expected argument " "1"" of type '" "wxImage *""'");
17581 arg1
= reinterpret_cast< wxImage
* >(argp1
);
17583 arg2
= wxString_in_helper(obj1
);
17584 if (arg2
== NULL
) SWIG_fail
;
17588 arg3
= wxString_in_helper(obj2
);
17589 if (arg3
== NULL
) SWIG_fail
;
17593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17594 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17595 wxPyEndAllowThreads(__tstate
);
17596 if (PyErr_Occurred()) SWIG_fail
;
17599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17623 SWIGINTERN PyObject
*_wrap_Image_CanReadStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17624 PyObject
*resultobj
= 0;
17625 wxInputStream
*arg1
= 0 ;
17627 wxPyInputStream
*temp1
;
17629 PyObject
* obj0
= 0 ;
17630 char * kwnames
[] = {
17631 (char *) "stream", NULL
17634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) SWIG_fail
;
17636 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
17637 arg1
= temp1
->m_wxis
;
17640 PyErr_Clear(); // clear the failure of the wxPyConvert above
17641 arg1
= wxPyCBInputStream_create(obj0
, false);
17642 if (arg1
== NULL
) {
17643 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
17650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17651 result
= (bool)wxImage::CanRead(*arg1
);
17652 wxPyEndAllowThreads(__tstate
);
17653 if (PyErr_Occurred()) SWIG_fail
;
17656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17659 if (created1
) delete arg1
;
17664 if (created1
) delete arg1
;
17670 SWIGINTERN PyObject
*_wrap_Image_LoadStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17671 PyObject
*resultobj
= 0;
17672 wxImage
*arg1
= (wxImage
*) 0 ;
17673 wxInputStream
*arg2
= 0 ;
17674 long arg3
= (long) wxBITMAP_TYPE_ANY
;
17675 int arg4
= (int) -1 ;
17679 wxPyInputStream
*temp2
;
17685 PyObject
* obj0
= 0 ;
17686 PyObject
* obj1
= 0 ;
17687 PyObject
* obj2
= 0 ;
17688 PyObject
* obj3
= 0 ;
17689 char * kwnames
[] = {
17690 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
17693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
17695 if (!SWIG_IsOK(res1
)) {
17696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_LoadStream" "', expected argument " "1"" of type '" "wxImage *""'");
17698 arg1
= reinterpret_cast< wxImage
* >(argp1
);
17700 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
17701 arg2
= temp2
->m_wxis
;
17704 PyErr_Clear(); // clear the failure of the wxPyConvert above
17705 arg2
= wxPyCBInputStream_create(obj1
, false);
17706 if (arg2
== NULL
) {
17707 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
17714 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
17715 if (!SWIG_IsOK(ecode3
)) {
17716 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_LoadStream" "', expected argument " "3"" of type '" "long""'");
17718 arg3
= static_cast< long >(val3
);
17721 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17722 if (!SWIG_IsOK(ecode4
)) {
17723 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_LoadStream" "', expected argument " "4"" of type '" "int""'");
17725 arg4
= static_cast< int >(val4
);
17728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17729 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
17730 wxPyEndAllowThreads(__tstate
);
17731 if (PyErr_Occurred()) SWIG_fail
;
17734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17737 if (created2
) delete arg2
;
17742 if (created2
) delete arg2
;
17748 SWIGINTERN PyObject
*_wrap_Image_LoadMimeStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17749 PyObject
*resultobj
= 0;
17750 wxImage
*arg1
= (wxImage
*) 0 ;
17751 wxInputStream
*arg2
= 0 ;
17752 wxString
*arg3
= 0 ;
17753 int arg4
= (int) -1 ;
17757 wxPyInputStream
*temp2
;
17759 bool temp3
= false ;
17762 PyObject
* obj0
= 0 ;
17763 PyObject
* obj1
= 0 ;
17764 PyObject
* obj2
= 0 ;
17765 PyObject
* obj3
= 0 ;
17766 char * kwnames
[] = {
17767 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
17770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
17772 if (!SWIG_IsOK(res1
)) {
17773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_LoadMimeStream" "', expected argument " "1"" of type '" "wxImage *""'");
17775 arg1
= reinterpret_cast< wxImage
* >(argp1
);
17777 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
17778 arg2
= temp2
->m_wxis
;
17781 PyErr_Clear(); // clear the failure of the wxPyConvert above
17782 arg2
= wxPyCBInputStream_create(obj1
, false);
17783 if (arg2
== NULL
) {
17784 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
17791 arg3
= wxString_in_helper(obj2
);
17792 if (arg3
== NULL
) SWIG_fail
;
17796 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17797 if (!SWIG_IsOK(ecode4
)) {
17798 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_LoadMimeStream" "', expected argument " "4"" of type '" "int""'");
17800 arg4
= static_cast< int >(val4
);
17803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17804 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
17805 wxPyEndAllowThreads(__tstate
);
17806 if (PyErr_Occurred()) SWIG_fail
;
17809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17812 if (created2
) delete arg2
;
17821 if (created2
) delete arg2
;
17831 SWIGINTERN PyObject
*_wrap_Image_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17832 PyObject
*resultobj
= 0;
17833 wxImage
*arg1
= (wxImage
*) 0 ;
17837 PyObject
*swig_obj
[1] ;
17839 if (!args
) SWIG_fail
;
17840 swig_obj
[0] = args
;
17841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
17842 if (!SWIG_IsOK(res1
)) {
17843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_IsOk" "', expected argument " "1"" of type '" "wxImage *""'");
17845 arg1
= reinterpret_cast< wxImage
* >(argp1
);
17847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17848 result
= (bool)(arg1
)->IsOk();
17849 wxPyEndAllowThreads(__tstate
);
17850 if (PyErr_Occurred()) SWIG_fail
;
17853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17861 SWIGINTERN PyObject
*_wrap_Image_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17862 PyObject
*resultobj
= 0;
17863 wxImage
*arg1
= (wxImage
*) 0 ;
17867 PyObject
*swig_obj
[1] ;
17869 if (!args
) SWIG_fail
;
17870 swig_obj
[0] = args
;
17871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
17872 if (!SWIG_IsOK(res1
)) {
17873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetWidth" "', expected argument " "1"" of type '" "wxImage *""'");
17875 arg1
= reinterpret_cast< wxImage
* >(argp1
);
17877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17878 result
= (int)(arg1
)->GetWidth();
17879 wxPyEndAllowThreads(__tstate
);
17880 if (PyErr_Occurred()) SWIG_fail
;
17882 resultobj
= SWIG_From_int(static_cast< int >(result
));
17889 SWIGINTERN PyObject
*_wrap_Image_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17890 PyObject
*resultobj
= 0;
17891 wxImage
*arg1
= (wxImage
*) 0 ;
17895 PyObject
*swig_obj
[1] ;
17897 if (!args
) SWIG_fail
;
17898 swig_obj
[0] = args
;
17899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
17900 if (!SWIG_IsOK(res1
)) {
17901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetHeight" "', expected argument " "1"" of type '" "wxImage *""'");
17903 arg1
= reinterpret_cast< wxImage
* >(argp1
);
17905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17906 result
= (int)(arg1
)->GetHeight();
17907 wxPyEndAllowThreads(__tstate
);
17908 if (PyErr_Occurred()) SWIG_fail
;
17910 resultobj
= SWIG_From_int(static_cast< int >(result
));
17917 SWIGINTERN PyObject
*_wrap_Image_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17918 PyObject
*resultobj
= 0;
17919 wxImage
*arg1
= (wxImage
*) 0 ;
17923 PyObject
*swig_obj
[1] ;
17925 if (!args
) SWIG_fail
;
17926 swig_obj
[0] = args
;
17927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
17928 if (!SWIG_IsOK(res1
)) {
17929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetSize" "', expected argument " "1"" of type '" "wxImage *""'");
17931 arg1
= reinterpret_cast< wxImage
* >(argp1
);
17933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17934 result
= wxImage_GetSize(arg1
);
17935 wxPyEndAllowThreads(__tstate
);
17936 if (PyErr_Occurred()) SWIG_fail
;
17938 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
17945 SWIGINTERN PyObject
*_wrap_Image_GetSubImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17946 PyObject
*resultobj
= 0;
17947 wxImage
*arg1
= (wxImage
*) 0 ;
17949 SwigValueWrapper
<wxImage
> result
;
17953 PyObject
* obj0
= 0 ;
17954 PyObject
* obj1
= 0 ;
17955 char * kwnames
[] = {
17956 (char *) "self",(char *) "rect", NULL
17959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
17961 if (!SWIG_IsOK(res1
)) {
17962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetSubImage" "', expected argument " "1"" of type '" "wxImage *""'");
17964 arg1
= reinterpret_cast< wxImage
* >(argp1
);
17967 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17971 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
17972 wxPyEndAllowThreads(__tstate
);
17973 if (PyErr_Occurred()) SWIG_fail
;
17975 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
17982 SWIGINTERN PyObject
*_wrap_Image_Size(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17983 PyObject
*resultobj
= 0;
17984 wxImage
*arg1
= (wxImage
*) 0 ;
17986 wxPoint
*arg3
= 0 ;
17987 int arg4
= (int) -1 ;
17988 int arg5
= (int) -1 ;
17989 int arg6
= (int) -1 ;
17990 SwigValueWrapper
<wxImage
> result
;
18001 PyObject
* obj0
= 0 ;
18002 PyObject
* obj1
= 0 ;
18003 PyObject
* obj2
= 0 ;
18004 PyObject
* obj3
= 0 ;
18005 PyObject
* obj4
= 0 ;
18006 PyObject
* obj5
= 0 ;
18007 char * kwnames
[] = {
18008 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
18011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Image_Size",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18013 if (!SWIG_IsOK(res1
)) {
18014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Size" "', expected argument " "1"" of type '" "wxImage const *""'");
18016 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18019 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18023 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18026 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18027 if (!SWIG_IsOK(ecode4
)) {
18028 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Size" "', expected argument " "4"" of type '" "int""'");
18030 arg4
= static_cast< int >(val4
);
18033 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18034 if (!SWIG_IsOK(ecode5
)) {
18035 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_Size" "', expected argument " "5"" of type '" "int""'");
18037 arg5
= static_cast< int >(val5
);
18040 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18041 if (!SWIG_IsOK(ecode6
)) {
18042 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Image_Size" "', expected argument " "6"" of type '" "int""'");
18044 arg6
= static_cast< int >(val6
);
18047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18048 result
= ((wxImage
const *)arg1
)->Size((wxSize
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
,arg6
);
18049 wxPyEndAllowThreads(__tstate
);
18050 if (PyErr_Occurred()) SWIG_fail
;
18052 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
18059 SWIGINTERN PyObject
*_wrap_Image_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18060 PyObject
*resultobj
= 0;
18061 wxImage
*arg1
= (wxImage
*) 0 ;
18062 SwigValueWrapper
<wxImage
> result
;
18065 PyObject
*swig_obj
[1] ;
18067 if (!args
) SWIG_fail
;
18068 swig_obj
[0] = args
;
18069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18070 if (!SWIG_IsOK(res1
)) {
18071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Copy" "', expected argument " "1"" of type '" "wxImage *""'");
18073 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18076 result
= (arg1
)->Copy();
18077 wxPyEndAllowThreads(__tstate
);
18078 if (PyErr_Occurred()) SWIG_fail
;
18080 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
18087 SWIGINTERN PyObject
*_wrap_Image_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18088 PyObject
*resultobj
= 0;
18089 wxImage
*arg1
= (wxImage
*) 0 ;
18090 wxImage
*arg2
= 0 ;
18101 PyObject
* obj0
= 0 ;
18102 PyObject
* obj1
= 0 ;
18103 PyObject
* obj2
= 0 ;
18104 PyObject
* obj3
= 0 ;
18105 char * kwnames
[] = {
18106 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
18109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18111 if (!SWIG_IsOK(res1
)) {
18112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Paste" "', expected argument " "1"" of type '" "wxImage *""'");
18114 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18115 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImage
, 0 | 0);
18116 if (!SWIG_IsOK(res2
)) {
18117 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Image_Paste" "', expected argument " "2"" of type '" "wxImage const &""'");
18120 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Image_Paste" "', expected argument " "2"" of type '" "wxImage const &""'");
18122 arg2
= reinterpret_cast< wxImage
* >(argp2
);
18123 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18124 if (!SWIG_IsOK(ecode3
)) {
18125 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_Paste" "', expected argument " "3"" of type '" "int""'");
18127 arg3
= static_cast< int >(val3
);
18128 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18129 if (!SWIG_IsOK(ecode4
)) {
18130 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Paste" "', expected argument " "4"" of type '" "int""'");
18132 arg4
= static_cast< int >(val4
);
18134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18135 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
18136 wxPyEndAllowThreads(__tstate
);
18137 if (PyErr_Occurred()) SWIG_fail
;
18139 resultobj
= SWIG_Py_Void();
18146 SWIGINTERN PyObject
*_wrap_Image_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18147 PyObject
*resultobj
= 0;
18148 wxImage
*arg1
= (wxImage
*) 0 ;
18149 PyObject
*result
= 0 ;
18152 PyObject
*swig_obj
[1] ;
18154 if (!args
) SWIG_fail
;
18155 swig_obj
[0] = args
;
18156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18157 if (!SWIG_IsOK(res1
)) {
18158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetData" "', expected argument " "1"" of type '" "wxImage *""'");
18160 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18163 result
= (PyObject
*)wxImage_GetData(arg1
);
18164 wxPyEndAllowThreads(__tstate
);
18165 if (PyErr_Occurred()) SWIG_fail
;
18167 resultobj
= result
;
18174 SWIGINTERN PyObject
*_wrap_Image_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18175 PyObject
*resultobj
= 0;
18176 wxImage
*arg1
= (wxImage
*) 0 ;
18182 PyObject
* obj0
= 0 ;
18183 PyObject
* obj1
= 0 ;
18184 char * kwnames
[] = {
18185 (char *) "self",(char *) "data", NULL
18188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18190 if (!SWIG_IsOK(res1
)) {
18191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetData" "', expected argument " "1"" of type '" "wxImage *""'");
18193 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18195 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
18199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18200 wxImage_SetData(arg1
,arg2
,arg3
);
18201 wxPyEndAllowThreads(__tstate
);
18202 if (PyErr_Occurred()) SWIG_fail
;
18204 resultobj
= SWIG_Py_Void();
18211 SWIGINTERN PyObject
*_wrap_Image_GetDataBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18212 PyObject
*resultobj
= 0;
18213 wxImage
*arg1
= (wxImage
*) 0 ;
18214 PyObject
*result
= 0 ;
18217 PyObject
*swig_obj
[1] ;
18219 if (!args
) SWIG_fail
;
18220 swig_obj
[0] = args
;
18221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18222 if (!SWIG_IsOK(res1
)) {
18223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetDataBuffer" "', expected argument " "1"" of type '" "wxImage *""'");
18225 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18228 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
18229 wxPyEndAllowThreads(__tstate
);
18230 if (PyErr_Occurred()) SWIG_fail
;
18232 resultobj
= result
;
18239 SWIGINTERN PyObject
*_wrap_Image_SetDataBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18240 PyObject
*resultobj
= 0;
18241 wxImage
*arg1
= (wxImage
*) 0 ;
18247 PyObject
* obj0
= 0 ;
18248 PyObject
* obj1
= 0 ;
18249 char * kwnames
[] = {
18250 (char *) "self",(char *) "data", NULL
18253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18255 if (!SWIG_IsOK(res1
)) {
18256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetDataBuffer" "', expected argument " "1"" of type '" "wxImage *""'");
18258 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18260 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
18264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18265 wxImage_SetDataBuffer(arg1
,arg2
,arg3
);
18266 wxPyEndAllowThreads(__tstate
);
18267 if (PyErr_Occurred()) SWIG_fail
;
18269 resultobj
= SWIG_Py_Void();
18276 SWIGINTERN PyObject
*_wrap_Image_GetAlphaData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18277 PyObject
*resultobj
= 0;
18278 wxImage
*arg1
= (wxImage
*) 0 ;
18279 PyObject
*result
= 0 ;
18282 PyObject
*swig_obj
[1] ;
18284 if (!args
) SWIG_fail
;
18285 swig_obj
[0] = args
;
18286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18287 if (!SWIG_IsOK(res1
)) {
18288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetAlphaData" "', expected argument " "1"" of type '" "wxImage *""'");
18290 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18293 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
18294 wxPyEndAllowThreads(__tstate
);
18295 if (PyErr_Occurred()) SWIG_fail
;
18297 resultobj
= result
;
18304 SWIGINTERN PyObject
*_wrap_Image_SetAlphaData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18305 PyObject
*resultobj
= 0;
18306 wxImage
*arg1
= (wxImage
*) 0 ;
18312 PyObject
* obj0
= 0 ;
18313 PyObject
* obj1
= 0 ;
18314 char * kwnames
[] = {
18315 (char *) "self",(char *) "alpha", NULL
18318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18320 if (!SWIG_IsOK(res1
)) {
18321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetAlphaData" "', expected argument " "1"" of type '" "wxImage *""'");
18323 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18325 if (obj1
!= Py_None
) {
18326 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
18331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18332 wxImage_SetAlphaData(arg1
,arg2
,arg3
);
18333 wxPyEndAllowThreads(__tstate
);
18334 if (PyErr_Occurred()) SWIG_fail
;
18336 resultobj
= SWIG_Py_Void();
18343 SWIGINTERN PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18344 PyObject
*resultobj
= 0;
18345 wxImage
*arg1
= (wxImage
*) 0 ;
18346 PyObject
*result
= 0 ;
18349 PyObject
*swig_obj
[1] ;
18351 if (!args
) SWIG_fail
;
18352 swig_obj
[0] = args
;
18353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18354 if (!SWIG_IsOK(res1
)) {
18355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetAlphaBuffer" "', expected argument " "1"" of type '" "wxImage *""'");
18357 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18360 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
18361 wxPyEndAllowThreads(__tstate
);
18362 if (PyErr_Occurred()) SWIG_fail
;
18364 resultobj
= result
;
18371 SWIGINTERN PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18372 PyObject
*resultobj
= 0;
18373 wxImage
*arg1
= (wxImage
*) 0 ;
18379 PyObject
* obj0
= 0 ;
18380 PyObject
* obj1
= 0 ;
18381 char * kwnames
[] = {
18382 (char *) "self",(char *) "alpha", NULL
18385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18387 if (!SWIG_IsOK(res1
)) {
18388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetAlphaBuffer" "', expected argument " "1"" of type '" "wxImage *""'");
18390 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18392 if (obj1
!= Py_None
) {
18393 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
18398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18399 wxImage_SetAlphaBuffer(arg1
,arg2
,arg3
);
18400 wxPyEndAllowThreads(__tstate
);
18401 if (PyErr_Occurred()) SWIG_fail
;
18403 resultobj
= SWIG_Py_Void();
18410 SWIGINTERN PyObject
*_wrap_Image_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18411 PyObject
*resultobj
= 0;
18412 wxImage
*arg1
= (wxImage
*) 0 ;
18418 unsigned char val2
;
18420 unsigned char val3
;
18422 unsigned char val4
;
18424 PyObject
* obj0
= 0 ;
18425 PyObject
* obj1
= 0 ;
18426 PyObject
* obj2
= 0 ;
18427 PyObject
* obj3
= 0 ;
18428 char * kwnames
[] = {
18429 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
18432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18434 if (!SWIG_IsOK(res1
)) {
18435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetMaskColour" "', expected argument " "1"" of type '" "wxImage *""'");
18437 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18438 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
18439 if (!SWIG_IsOK(ecode2
)) {
18440 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_SetMaskColour" "', expected argument " "2"" of type '" "byte""'");
18442 arg2
= static_cast< byte
>(val2
);
18443 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
18444 if (!SWIG_IsOK(ecode3
)) {
18445 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SetMaskColour" "', expected argument " "3"" of type '" "byte""'");
18447 arg3
= static_cast< byte
>(val3
);
18448 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
18449 if (!SWIG_IsOK(ecode4
)) {
18450 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_SetMaskColour" "', expected argument " "4"" of type '" "byte""'");
18452 arg4
= static_cast< byte
>(val4
);
18454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18455 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
18456 wxPyEndAllowThreads(__tstate
);
18457 if (PyErr_Occurred()) SWIG_fail
;
18459 resultobj
= SWIG_Py_Void();
18466 SWIGINTERN PyObject
*_wrap_Image_GetOrFindMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18467 PyObject
*resultobj
= 0;
18468 wxImage
*arg1
= (wxImage
*) 0 ;
18469 byte
*arg2
= (byte
*) 0 ;
18470 byte
*arg3
= (byte
*) 0 ;
18471 byte
*arg4
= (byte
*) 0 ;
18475 int res2
= SWIG_TMPOBJ
;
18477 int res3
= SWIG_TMPOBJ
;
18479 int res4
= SWIG_TMPOBJ
;
18480 PyObject
*swig_obj
[1] ;
18485 if (!args
) SWIG_fail
;
18486 swig_obj
[0] = args
;
18487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18488 if (!SWIG_IsOK(res1
)) {
18489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetOrFindMaskColour" "', expected argument " "1"" of type '" "wxImage const *""'");
18491 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18494 ((wxImage
const *)arg1
)->GetOrFindMaskColour(arg2
,arg3
,arg4
);
18495 wxPyEndAllowThreads(__tstate
);
18496 if (PyErr_Occurred()) SWIG_fail
;
18498 resultobj
= SWIG_Py_Void();
18499 if (SWIG_IsTmpObj(res2
)) {
18500 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg2
)));
18502 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18503 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, new_flags
));
18505 if (SWIG_IsTmpObj(res3
)) {
18506 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
18508 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18509 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
18511 if (SWIG_IsTmpObj(res4
)) {
18512 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
18514 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18515 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
18523 SWIGINTERN PyObject
*_wrap_Image_GetMaskRed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18524 PyObject
*resultobj
= 0;
18525 wxImage
*arg1
= (wxImage
*) 0 ;
18529 PyObject
*swig_obj
[1] ;
18531 if (!args
) SWIG_fail
;
18532 swig_obj
[0] = args
;
18533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18534 if (!SWIG_IsOK(res1
)) {
18535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetMaskRed" "', expected argument " "1"" of type '" "wxImage *""'");
18537 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18540 result
= (byte
)(arg1
)->GetMaskRed();
18541 wxPyEndAllowThreads(__tstate
);
18542 if (PyErr_Occurred()) SWIG_fail
;
18544 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
18551 SWIGINTERN PyObject
*_wrap_Image_GetMaskGreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18552 PyObject
*resultobj
= 0;
18553 wxImage
*arg1
= (wxImage
*) 0 ;
18557 PyObject
*swig_obj
[1] ;
18559 if (!args
) SWIG_fail
;
18560 swig_obj
[0] = args
;
18561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18562 if (!SWIG_IsOK(res1
)) {
18563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetMaskGreen" "', expected argument " "1"" of type '" "wxImage *""'");
18565 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18568 result
= (byte
)(arg1
)->GetMaskGreen();
18569 wxPyEndAllowThreads(__tstate
);
18570 if (PyErr_Occurred()) SWIG_fail
;
18572 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
18579 SWIGINTERN PyObject
*_wrap_Image_GetMaskBlue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18580 PyObject
*resultobj
= 0;
18581 wxImage
*arg1
= (wxImage
*) 0 ;
18585 PyObject
*swig_obj
[1] ;
18587 if (!args
) SWIG_fail
;
18588 swig_obj
[0] = args
;
18589 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18590 if (!SWIG_IsOK(res1
)) {
18591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetMaskBlue" "', expected argument " "1"" of type '" "wxImage *""'");
18593 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18596 result
= (byte
)(arg1
)->GetMaskBlue();
18597 wxPyEndAllowThreads(__tstate
);
18598 if (PyErr_Occurred()) SWIG_fail
;
18600 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
18607 SWIGINTERN PyObject
*_wrap_Image_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18608 PyObject
*resultobj
= 0;
18609 wxImage
*arg1
= (wxImage
*) 0 ;
18610 bool arg2
= (bool) true ;
18615 PyObject
* obj0
= 0 ;
18616 PyObject
* obj1
= 0 ;
18617 char * kwnames
[] = {
18618 (char *) "self",(char *) "mask", NULL
18621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18623 if (!SWIG_IsOK(res1
)) {
18624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetMask" "', expected argument " "1"" of type '" "wxImage *""'");
18626 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18628 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18629 if (!SWIG_IsOK(ecode2
)) {
18630 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_SetMask" "', expected argument " "2"" of type '" "bool""'");
18632 arg2
= static_cast< bool >(val2
);
18635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18636 (arg1
)->SetMask(arg2
);
18637 wxPyEndAllowThreads(__tstate
);
18638 if (PyErr_Occurred()) SWIG_fail
;
18640 resultobj
= SWIG_Py_Void();
18647 SWIGINTERN PyObject
*_wrap_Image_HasMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18648 PyObject
*resultobj
= 0;
18649 wxImage
*arg1
= (wxImage
*) 0 ;
18653 PyObject
*swig_obj
[1] ;
18655 if (!args
) SWIG_fail
;
18656 swig_obj
[0] = args
;
18657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18658 if (!SWIG_IsOK(res1
)) {
18659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HasMask" "', expected argument " "1"" of type '" "wxImage *""'");
18661 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18664 result
= (bool)(arg1
)->HasMask();
18665 wxPyEndAllowThreads(__tstate
);
18666 if (PyErr_Occurred()) SWIG_fail
;
18669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18677 SWIGINTERN PyObject
*_wrap_Image_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18678 PyObject
*resultobj
= 0;
18679 wxImage
*arg1
= (wxImage
*) 0 ;
18681 wxPoint
*arg3
= 0 ;
18682 bool arg4
= (bool) true ;
18683 wxPoint
*arg5
= (wxPoint
*) NULL
;
18684 SwigValueWrapper
<wxImage
> result
;
18694 PyObject
* obj0
= 0 ;
18695 PyObject
* obj1
= 0 ;
18696 PyObject
* obj2
= 0 ;
18697 PyObject
* obj3
= 0 ;
18698 PyObject
* obj4
= 0 ;
18699 char * kwnames
[] = {
18700 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
18703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18705 if (!SWIG_IsOK(res1
)) {
18706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Rotate" "', expected argument " "1"" of type '" "wxImage const *""'");
18708 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18709 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
18710 if (!SWIG_IsOK(ecode2
)) {
18711 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Rotate" "', expected argument " "2"" of type '" "double""'");
18713 arg2
= static_cast< double >(val2
);
18716 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18719 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
18720 if (!SWIG_IsOK(ecode4
)) {
18721 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Rotate" "', expected argument " "4"" of type '" "bool""'");
18723 arg4
= static_cast< bool >(val4
);
18726 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxPoint
, 0 | 0 );
18727 if (!SWIG_IsOK(res5
)) {
18728 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "Image_Rotate" "', expected argument " "5"" of type '" "wxPoint *""'");
18730 arg5
= reinterpret_cast< wxPoint
* >(argp5
);
18733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18734 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
18735 wxPyEndAllowThreads(__tstate
);
18736 if (PyErr_Occurred()) SWIG_fail
;
18738 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
18745 SWIGINTERN PyObject
*_wrap_Image_Rotate90(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18746 PyObject
*resultobj
= 0;
18747 wxImage
*arg1
= (wxImage
*) 0 ;
18748 bool arg2
= (bool) true ;
18749 SwigValueWrapper
<wxImage
> result
;
18754 PyObject
* obj0
= 0 ;
18755 PyObject
* obj1
= 0 ;
18756 char * kwnames
[] = {
18757 (char *) "self",(char *) "clockwise", NULL
18760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18762 if (!SWIG_IsOK(res1
)) {
18763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Rotate90" "', expected argument " "1"" of type '" "wxImage *""'");
18765 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18767 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18768 if (!SWIG_IsOK(ecode2
)) {
18769 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Rotate90" "', expected argument " "2"" of type '" "bool""'");
18771 arg2
= static_cast< bool >(val2
);
18774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18775 result
= (arg1
)->Rotate90(arg2
);
18776 wxPyEndAllowThreads(__tstate
);
18777 if (PyErr_Occurred()) SWIG_fail
;
18779 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
18786 SWIGINTERN PyObject
*_wrap_Image_Mirror(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18787 PyObject
*resultobj
= 0;
18788 wxImage
*arg1
= (wxImage
*) 0 ;
18789 bool arg2
= (bool) true ;
18790 SwigValueWrapper
<wxImage
> result
;
18795 PyObject
* obj0
= 0 ;
18796 PyObject
* obj1
= 0 ;
18797 char * kwnames
[] = {
18798 (char *) "self",(char *) "horizontally", NULL
18801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18803 if (!SWIG_IsOK(res1
)) {
18804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Mirror" "', expected argument " "1"" of type '" "wxImage *""'");
18806 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18808 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18809 if (!SWIG_IsOK(ecode2
)) {
18810 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Mirror" "', expected argument " "2"" of type '" "bool""'");
18812 arg2
= static_cast< bool >(val2
);
18815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18816 result
= (arg1
)->Mirror(arg2
);
18817 wxPyEndAllowThreads(__tstate
);
18818 if (PyErr_Occurred()) SWIG_fail
;
18820 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
18827 SWIGINTERN PyObject
*_wrap_Image_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18828 PyObject
*resultobj
= 0;
18829 wxImage
*arg1
= (wxImage
*) 0 ;
18838 unsigned char val2
;
18840 unsigned char val3
;
18842 unsigned char val4
;
18844 unsigned char val5
;
18846 unsigned char val6
;
18848 unsigned char val7
;
18850 PyObject
* obj0
= 0 ;
18851 PyObject
* obj1
= 0 ;
18852 PyObject
* obj2
= 0 ;
18853 PyObject
* obj3
= 0 ;
18854 PyObject
* obj4
= 0 ;
18855 PyObject
* obj5
= 0 ;
18856 PyObject
* obj6
= 0 ;
18857 char * kwnames
[] = {
18858 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
18861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18863 if (!SWIG_IsOK(res1
)) {
18864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Replace" "', expected argument " "1"" of type '" "wxImage *""'");
18866 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18867 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
18868 if (!SWIG_IsOK(ecode2
)) {
18869 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Replace" "', expected argument " "2"" of type '" "byte""'");
18871 arg2
= static_cast< byte
>(val2
);
18872 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
18873 if (!SWIG_IsOK(ecode3
)) {
18874 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_Replace" "', expected argument " "3"" of type '" "byte""'");
18876 arg3
= static_cast< byte
>(val3
);
18877 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
18878 if (!SWIG_IsOK(ecode4
)) {
18879 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Replace" "', expected argument " "4"" of type '" "byte""'");
18881 arg4
= static_cast< byte
>(val4
);
18882 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
18883 if (!SWIG_IsOK(ecode5
)) {
18884 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_Replace" "', expected argument " "5"" of type '" "byte""'");
18886 arg5
= static_cast< byte
>(val5
);
18887 ecode6
= SWIG_AsVal_unsigned_SS_char(obj5
, &val6
);
18888 if (!SWIG_IsOK(ecode6
)) {
18889 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Image_Replace" "', expected argument " "6"" of type '" "byte""'");
18891 arg6
= static_cast< byte
>(val6
);
18892 ecode7
= SWIG_AsVal_unsigned_SS_char(obj6
, &val7
);
18893 if (!SWIG_IsOK(ecode7
)) {
18894 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Image_Replace" "', expected argument " "7"" of type '" "byte""'");
18896 arg7
= static_cast< byte
>(val7
);
18898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18899 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18900 wxPyEndAllowThreads(__tstate
);
18901 if (PyErr_Occurred()) SWIG_fail
;
18903 resultobj
= SWIG_Py_Void();
18910 SWIGINTERN PyObject
*_wrap_Image_ConvertToGreyscale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18911 PyObject
*resultobj
= 0;
18912 wxImage
*arg1
= (wxImage
*) 0 ;
18913 double arg2
= (double) 0.299 ;
18914 double arg3
= (double) 0.587 ;
18915 double arg4
= (double) 0.114 ;
18916 SwigValueWrapper
<wxImage
> result
;
18925 PyObject
* obj0
= 0 ;
18926 PyObject
* obj1
= 0 ;
18927 PyObject
* obj2
= 0 ;
18928 PyObject
* obj3
= 0 ;
18929 char * kwnames
[] = {
18930 (char *) "self",(char *) "lr",(char *) "lg",(char *) "lb", NULL
18933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_ConvertToGreyscale",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18935 if (!SWIG_IsOK(res1
)) {
18936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ConvertToGreyscale" "', expected argument " "1"" of type '" "wxImage const *""'");
18938 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18940 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
18941 if (!SWIG_IsOK(ecode2
)) {
18942 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ConvertToGreyscale" "', expected argument " "2"" of type '" "double""'");
18944 arg2
= static_cast< double >(val2
);
18947 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
18948 if (!SWIG_IsOK(ecode3
)) {
18949 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_ConvertToGreyscale" "', expected argument " "3"" of type '" "double""'");
18951 arg3
= static_cast< double >(val3
);
18954 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18955 if (!SWIG_IsOK(ecode4
)) {
18956 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_ConvertToGreyscale" "', expected argument " "4"" of type '" "double""'");
18958 arg4
= static_cast< double >(val4
);
18961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18962 result
= ((wxImage
const *)arg1
)->ConvertToGreyscale(arg2
,arg3
,arg4
);
18963 wxPyEndAllowThreads(__tstate
);
18964 if (PyErr_Occurred()) SWIG_fail
;
18966 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
18973 SWIGINTERN PyObject
*_wrap_Image_ConvertToMono(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18974 PyObject
*resultobj
= 0;
18975 wxImage
*arg1
= (wxImage
*) 0 ;
18979 SwigValueWrapper
<wxImage
> result
;
18982 unsigned char val2
;
18984 unsigned char val3
;
18986 unsigned char val4
;
18988 PyObject
* obj0
= 0 ;
18989 PyObject
* obj1
= 0 ;
18990 PyObject
* obj2
= 0 ;
18991 PyObject
* obj3
= 0 ;
18992 char * kwnames
[] = {
18993 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
18996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18998 if (!SWIG_IsOK(res1
)) {
18999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ConvertToMono" "', expected argument " "1"" of type '" "wxImage const *""'");
19001 arg1
= reinterpret_cast< wxImage
* >(argp1
);
19002 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
19003 if (!SWIG_IsOK(ecode2
)) {
19004 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ConvertToMono" "', expected argument " "2"" of type '" "byte""'");
19006 arg2
= static_cast< byte
>(val2
);
19007 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
19008 if (!SWIG_IsOK(ecode3
)) {
19009 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_ConvertToMono" "', expected argument " "3"" of type '" "byte""'");
19011 arg3
= static_cast< byte
>(val3
);
19012 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
19013 if (!SWIG_IsOK(ecode4
)) {
19014 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_ConvertToMono" "', expected argument " "4"" of type '" "byte""'");
19016 arg4
= static_cast< byte
>(val4
);
19018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19019 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
19020 wxPyEndAllowThreads(__tstate
);
19021 if (PyErr_Occurred()) SWIG_fail
;
19023 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
19030 SWIGINTERN PyObject
*_wrap_Image_SetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19031 PyObject
*resultobj
= 0;
19032 wxImage
*arg1
= (wxImage
*) 0 ;
19033 wxString
*arg2
= 0 ;
19034 wxString
*arg3
= 0 ;
19037 bool temp2
= false ;
19038 bool temp3
= false ;
19039 PyObject
* obj0
= 0 ;
19040 PyObject
* obj1
= 0 ;
19041 PyObject
* obj2
= 0 ;
19042 char * kwnames
[] = {
19043 (char *) "self",(char *) "name",(char *) "value", NULL
19046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
19048 if (!SWIG_IsOK(res1
)) {
19049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetOption" "', expected argument " "1"" of type '" "wxImage *""'");
19051 arg1
= reinterpret_cast< wxImage
* >(argp1
);
19053 arg2
= wxString_in_helper(obj1
);
19054 if (arg2
== NULL
) SWIG_fail
;
19058 arg3
= wxString_in_helper(obj2
);
19059 if (arg3
== NULL
) SWIG_fail
;
19063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19064 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
19065 wxPyEndAllowThreads(__tstate
);
19066 if (PyErr_Occurred()) SWIG_fail
;
19068 resultobj
= SWIG_Py_Void();
19091 SWIGINTERN PyObject
*_wrap_Image_SetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19092 PyObject
*resultobj
= 0;
19093 wxImage
*arg1
= (wxImage
*) 0 ;
19094 wxString
*arg2
= 0 ;
19098 bool temp2
= false ;
19101 PyObject
* obj0
= 0 ;
19102 PyObject
* obj1
= 0 ;
19103 PyObject
* obj2
= 0 ;
19104 char * kwnames
[] = {
19105 (char *) "self",(char *) "name",(char *) "value", NULL
19108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
19110 if (!SWIG_IsOK(res1
)) {
19111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetOptionInt" "', expected argument " "1"" of type '" "wxImage *""'");
19113 arg1
= reinterpret_cast< wxImage
* >(argp1
);
19115 arg2
= wxString_in_helper(obj1
);
19116 if (arg2
== NULL
) SWIG_fail
;
19119 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19120 if (!SWIG_IsOK(ecode3
)) {
19121 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SetOptionInt" "', expected argument " "3"" of type '" "int""'");
19123 arg3
= static_cast< int >(val3
);
19125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19126 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
19127 wxPyEndAllowThreads(__tstate
);
19128 if (PyErr_Occurred()) SWIG_fail
;
19130 resultobj
= SWIG_Py_Void();
19145 SWIGINTERN PyObject
*_wrap_Image_GetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19146 PyObject
*resultobj
= 0;
19147 wxImage
*arg1
= (wxImage
*) 0 ;
19148 wxString
*arg2
= 0 ;
19152 bool temp2
= false ;
19153 PyObject
* obj0
= 0 ;
19154 PyObject
* obj1
= 0 ;
19155 char * kwnames
[] = {
19156 (char *) "self",(char *) "name", NULL
19159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
19161 if (!SWIG_IsOK(res1
)) {
19162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetOption" "', expected argument " "1"" of type '" "wxImage const *""'");
19164 arg1
= reinterpret_cast< wxImage
* >(argp1
);
19166 arg2
= wxString_in_helper(obj1
);
19167 if (arg2
== NULL
) SWIG_fail
;
19171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19172 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
19173 wxPyEndAllowThreads(__tstate
);
19174 if (PyErr_Occurred()) SWIG_fail
;
19178 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19180 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19197 SWIGINTERN PyObject
*_wrap_Image_GetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19198 PyObject
*resultobj
= 0;
19199 wxImage
*arg1
= (wxImage
*) 0 ;
19200 wxString
*arg2
= 0 ;
19204 bool temp2
= false ;
19205 PyObject
* obj0
= 0 ;
19206 PyObject
* obj1
= 0 ;
19207 char * kwnames
[] = {
19208 (char *) "self",(char *) "name", NULL
19211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
19213 if (!SWIG_IsOK(res1
)) {
19214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetOptionInt" "', expected argument " "1"" of type '" "wxImage const *""'");
19216 arg1
= reinterpret_cast< wxImage
* >(argp1
);
19218 arg2
= wxString_in_helper(obj1
);
19219 if (arg2
== NULL
) SWIG_fail
;
19223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19224 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
19225 wxPyEndAllowThreads(__tstate
);
19226 if (PyErr_Occurred()) SWIG_fail
;
19228 resultobj
= SWIG_From_int(static_cast< int >(result
));
19243 SWIGINTERN PyObject
*_wrap_Image_HasOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19244 PyObject
*resultobj
= 0;
19245 wxImage
*arg1
= (wxImage
*) 0 ;
19246 wxString
*arg2
= 0 ;
19250 bool temp2
= false ;
19251 PyObject
* obj0
= 0 ;
19252 PyObject
* obj1
= 0 ;
19253 char * kwnames
[] = {
19254 (char *) "self",(char *) "name", NULL
19257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
19259 if (!SWIG_IsOK(res1
)) {
19260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HasOption" "', expected argument " "1"" of type '" "wxImage const *""'");
19262 arg1
= reinterpret_cast< wxImage
* >(argp1
);
19264 arg2
= wxString_in_helper(obj1
);
19265 if (arg2
== NULL
) SWIG_fail
;
19269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19270 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
19271 wxPyEndAllowThreads(__tstate
);
19272 if (PyErr_Occurred()) SWIG_fail
;
19275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19291 SWIGINTERN PyObject
*_wrap_Image_CountColours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19292 PyObject
*resultobj
= 0;
19293 wxImage
*arg1
= (wxImage
*) 0 ;
19294 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
19295 unsigned long result
;
19298 unsigned long val2
;
19300 PyObject
* obj0
= 0 ;
19301 PyObject
* obj1
= 0 ;
19302 char * kwnames
[] = {
19303 (char *) "self",(char *) "stopafter", NULL
19306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
19308 if (!SWIG_IsOK(res1
)) {
19309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_CountColours" "', expected argument " "1"" of type '" "wxImage *""'");
19311 arg1
= reinterpret_cast< wxImage
* >(argp1
);
19313 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
19314 if (!SWIG_IsOK(ecode2
)) {
19315 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_CountColours" "', expected argument " "2"" of type '" "unsigned long""'");
19317 arg2
= static_cast< unsigned long >(val2
);
19320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19321 result
= (unsigned long)(arg1
)->CountColours(arg2
);
19322 wxPyEndAllowThreads(__tstate
);
19323 if (PyErr_Occurred()) SWIG_fail
;
19325 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
19332 SWIGINTERN PyObject
*_wrap_Image_ComputeHistogram(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19333 PyObject
*resultobj
= 0;
19334 wxImage
*arg1
= (wxImage
*) 0 ;
19335 wxImageHistogram
*arg2
= 0 ;
19336 unsigned long result
;
19341 PyObject
* obj0
= 0 ;
19342 PyObject
* obj1
= 0 ;
19343 char * kwnames
[] = {
19344 (char *) "self",(char *) "h", NULL
19347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
19349 if (!SWIG_IsOK(res1
)) {
19350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ComputeHistogram" "', expected argument " "1"" of type '" "wxImage *""'");
19352 arg1
= reinterpret_cast< wxImage
* >(argp1
);
19353 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImageHistogram
, 0 );
19354 if (!SWIG_IsOK(res2
)) {
19355 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Image_ComputeHistogram" "', expected argument " "2"" of type '" "wxImageHistogram &""'");
19358 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Image_ComputeHistogram" "', expected argument " "2"" of type '" "wxImageHistogram &""'");
19360 arg2
= reinterpret_cast< wxImageHistogram
* >(argp2
);
19362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19363 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
19364 wxPyEndAllowThreads(__tstate
);
19365 if (PyErr_Occurred()) SWIG_fail
;
19367 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
19374 SWIGINTERN PyObject
*_wrap_Image_AddHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19375 PyObject
*resultobj
= 0;
19376 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
19379 PyObject
* obj0
= 0 ;
19380 char * kwnames
[] = {
19381 (char *) "handler", NULL
19384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) SWIG_fail
;
19385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
19386 if (!SWIG_IsOK(res1
)) {
19387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_AddHandler" "', expected argument " "1"" of type '" "wxImageHandler *""'");
19389 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
19391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19392 wxImage::AddHandler(arg1
);
19393 wxPyEndAllowThreads(__tstate
);
19394 if (PyErr_Occurred()) SWIG_fail
;
19396 resultobj
= SWIG_Py_Void();
19403 SWIGINTERN PyObject
*_wrap_Image_InsertHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19404 PyObject
*resultobj
= 0;
19405 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
19408 PyObject
* obj0
= 0 ;
19409 char * kwnames
[] = {
19410 (char *) "handler", NULL
19413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) SWIG_fail
;
19414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
19415 if (!SWIG_IsOK(res1
)) {
19416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_InsertHandler" "', expected argument " "1"" of type '" "wxImageHandler *""'");
19418 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
19420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19421 wxImage::InsertHandler(arg1
);
19422 wxPyEndAllowThreads(__tstate
);
19423 if (PyErr_Occurred()) SWIG_fail
;
19425 resultobj
= SWIG_Py_Void();
19432 SWIGINTERN PyObject
*_wrap_Image_RemoveHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19433 PyObject
*resultobj
= 0;
19434 wxString
*arg1
= 0 ;
19436 bool temp1
= false ;
19437 PyObject
* obj0
= 0 ;
19438 char * kwnames
[] = {
19439 (char *) "name", NULL
19442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) SWIG_fail
;
19444 arg1
= wxString_in_helper(obj0
);
19445 if (arg1
== NULL
) SWIG_fail
;
19449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19450 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
19451 wxPyEndAllowThreads(__tstate
);
19452 if (PyErr_Occurred()) SWIG_fail
;
19455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19471 SWIGINTERN PyObject
*_wrap_Image_GetHandlers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19472 PyObject
*resultobj
= 0;
19473 PyObject
*result
= 0 ;
19475 if (!SWIG_Python_UnpackTuple(args
,"Image_GetHandlers",0,0,0)) SWIG_fail
;
19477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19478 result
= (PyObject
*)wxImage_GetHandlers();
19479 wxPyEndAllowThreads(__tstate
);
19480 if (PyErr_Occurred()) SWIG_fail
;
19482 resultobj
= result
;
19489 SWIGINTERN PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19490 PyObject
*resultobj
= 0;
19493 if (!SWIG_Python_UnpackTuple(args
,"Image_GetImageExtWildcard",0,0,0)) SWIG_fail
;
19495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19496 result
= wxImage::GetImageExtWildcard();
19497 wxPyEndAllowThreads(__tstate
);
19498 if (PyErr_Occurred()) SWIG_fail
;
19502 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19504 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19513 SWIGINTERN PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19514 PyObject
*resultobj
= 0;
19515 wxImage
*arg1
= (wxImage
*) 0 ;
19516 int arg2
= (int) -1 ;
19522 PyObject
* obj0
= 0 ;
19523 PyObject
* obj1
= 0 ;
19524 char * kwnames
[] = {
19525 (char *) "self",(char *) "depth", NULL
19528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertToBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
19530 if (!SWIG_IsOK(res1
)) {
19531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ConvertToBitmap" "', expected argument " "1"" of type '" "wxImage *""'");
19533 arg1
= reinterpret_cast< wxImage
* >(argp1
);
19535 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19536 if (!SWIG_IsOK(ecode2
)) {
19537 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ConvertToBitmap" "', expected argument " "2"" of type '" "int""'");
19539 arg2
= static_cast< int >(val2
);
19542 if (!wxPyCheckForApp()) SWIG_fail
;
19543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19544 result
= wxImage_ConvertToBitmap(arg1
,arg2
);
19545 wxPyEndAllowThreads(__tstate
);
19546 if (PyErr_Occurred()) SWIG_fail
;
19548 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
19555 SWIGINTERN PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19556 PyObject
*resultobj
= 0;
19557 wxImage
*arg1
= (wxImage
*) 0 ;
19564 unsigned char val2
;
19566 unsigned char val3
;
19568 unsigned char val4
;
19570 PyObject
* obj0
= 0 ;
19571 PyObject
* obj1
= 0 ;
19572 PyObject
* obj2
= 0 ;
19573 PyObject
* obj3
= 0 ;
19574 char * kwnames
[] = {
19575 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
19578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
19580 if (!SWIG_IsOK(res1
)) {
19581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ConvertToMonoBitmap" "', expected argument " "1"" of type '" "wxImage *""'");
19583 arg1
= reinterpret_cast< wxImage
* >(argp1
);
19584 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
19585 if (!SWIG_IsOK(ecode2
)) {
19586 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ConvertToMonoBitmap" "', expected argument " "2"" of type '" "byte""'");
19588 arg2
= static_cast< byte
>(val2
);
19589 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
19590 if (!SWIG_IsOK(ecode3
)) {
19591 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_ConvertToMonoBitmap" "', expected argument " "3"" of type '" "byte""'");
19593 arg3
= static_cast< byte
>(val3
);
19594 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
19595 if (!SWIG_IsOK(ecode4
)) {
19596 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_ConvertToMonoBitmap" "', expected argument " "4"" of type '" "byte""'");
19598 arg4
= static_cast< byte
>(val4
);
19600 if (!wxPyCheckForApp()) SWIG_fail
;
19601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19602 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
19603 wxPyEndAllowThreads(__tstate
);
19604 if (PyErr_Occurred()) SWIG_fail
;
19606 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
19613 SWIGINTERN PyObject
*_wrap_Image_RotateHue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19614 PyObject
*resultobj
= 0;
19615 wxImage
*arg1
= (wxImage
*) 0 ;
19621 PyObject
* obj0
= 0 ;
19622 PyObject
* obj1
= 0 ;
19623 char * kwnames
[] = {
19624 (char *) "self",(char *) "angle", NULL
19627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_RotateHue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
19629 if (!SWIG_IsOK(res1
)) {
19630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RotateHue" "', expected argument " "1"" of type '" "wxImage *""'");
19632 arg1
= reinterpret_cast< wxImage
* >(argp1
);
19633 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
19634 if (!SWIG_IsOK(ecode2
)) {
19635 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_RotateHue" "', expected argument " "2"" of type '" "double""'");
19637 arg2
= static_cast< double >(val2
);
19639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19640 (arg1
)->RotateHue(arg2
);
19641 wxPyEndAllowThreads(__tstate
);
19642 if (PyErr_Occurred()) SWIG_fail
;
19644 resultobj
= SWIG_Py_Void();
19651 SWIGINTERN PyObject
*_wrap_Image_RGBtoHSV(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19652 PyObject
*resultobj
= 0;
19653 wxImage_RGBValue arg1
;
19654 wxImage_HSVValue result
;
19657 PyObject
* obj0
= 0 ;
19658 char * kwnames
[] = {
19659 (char *) "rgb", NULL
19662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RGBtoHSV",kwnames
,&obj0
)) SWIG_fail
;
19664 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage_RGBValue
, 0 | 0);
19665 if (!SWIG_IsOK(res1
)) {
19666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBtoHSV" "', expected argument " "1"" of type '" "wxImage_RGBValue""'");
19669 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Image_RGBtoHSV" "', expected argument " "1"" of type '" "wxImage_RGBValue""'");
19671 wxImage_RGBValue
* temp
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
19673 if (SWIG_IsNewObj(res1
)) delete temp
;
19677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19678 result
= wxImage::RGBtoHSV(arg1
);
19679 wxPyEndAllowThreads(__tstate
);
19680 if (PyErr_Occurred()) SWIG_fail
;
19682 resultobj
= SWIG_NewPointerObj((new wxImage_HSVValue(static_cast< const wxImage_HSVValue
& >(result
))), SWIGTYPE_p_wxImage_HSVValue
, SWIG_POINTER_OWN
| 0 );
19689 SWIGINTERN PyObject
*_wrap_Image_HSVtoRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19690 PyObject
*resultobj
= 0;
19691 wxImage_HSVValue arg1
;
19692 wxImage_RGBValue result
;
19695 PyObject
* obj0
= 0 ;
19696 char * kwnames
[] = {
19697 (char *) "hsv", NULL
19700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HSVtoRGB",kwnames
,&obj0
)) SWIG_fail
;
19702 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage_HSVValue
, 0 | 0);
19703 if (!SWIG_IsOK(res1
)) {
19704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVtoRGB" "', expected argument " "1"" of type '" "wxImage_HSVValue""'");
19707 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Image_HSVtoRGB" "', expected argument " "1"" of type '" "wxImage_HSVValue""'");
19709 wxImage_HSVValue
* temp
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
19711 if (SWIG_IsNewObj(res1
)) delete temp
;
19715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19716 result
= wxImage::HSVtoRGB(arg1
);
19717 wxPyEndAllowThreads(__tstate
);
19718 if (PyErr_Occurred()) SWIG_fail
;
19720 resultobj
= SWIG_NewPointerObj((new wxImage_RGBValue(static_cast< const wxImage_RGBValue
& >(result
))), SWIGTYPE_p_wxImage_RGBValue
, SWIG_POINTER_OWN
| 0 );
19727 SWIGINTERN PyObject
*Image_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19729 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19730 SWIG_TypeNewClientData(SWIGTYPE_p_wxImage
, SWIG_NewClientData(obj
));
19731 return SWIG_Py_Void();
19734 SWIGINTERN PyObject
*Image_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19735 return SWIG_Python_InitShadowInstance(args
);
19738 SWIGINTERN PyObject
*_wrap__ImageFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19739 PyObject
*resultobj
= 0;
19744 buffer arg5
= (buffer
) NULL
;
19745 int arg6
= (int) 0 ;
19746 wxImage
*result
= 0 ;
19753 PyObject
* obj0
= 0 ;
19754 PyObject
* obj1
= 0 ;
19755 PyObject
* obj2
= 0 ;
19756 PyObject
* obj3
= 0 ;
19757 char * kwnames
[] = {
19758 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
19761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:_ImageFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19762 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19763 if (!SWIG_IsOK(ecode1
)) {
19764 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_ImageFromBuffer" "', expected argument " "1"" of type '" "int""'");
19766 arg1
= static_cast< int >(val1
);
19767 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19768 if (!SWIG_IsOK(ecode2
)) {
19769 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_ImageFromBuffer" "', expected argument " "2"" of type '" "int""'");
19771 arg2
= static_cast< int >(val2
);
19773 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
19778 if (obj3
!= Py_None
) {
19779 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
19785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19786 result
= (wxImage
*)_ImageFromBuffer(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
19787 wxPyEndAllowThreads(__tstate
);
19788 if (PyErr_Occurred()) SWIG_fail
;
19791 resultobj
= wxPyMake_wxObject(result
, SWIG_POINTER_OWN
);
19799 SWIGINTERN
int NullImage_set(PyObject
*) {
19800 SWIG_Error(SWIG_AttributeError
,"Variable NullImage is read-only.");
19805 SWIGINTERN PyObject
*NullImage_get(void) {
19806 PyObject
*pyobj
= 0;
19808 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullImage
), SWIGTYPE_p_wxImage
, 0 );
19813 SWIGINTERN
int IMAGE_OPTION_FILENAME_set(PyObject
*) {
19814 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_FILENAME is read-only.");
19819 SWIGINTERN PyObject
*IMAGE_OPTION_FILENAME_get(void) {
19820 PyObject
*pyobj
= 0;
19824 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
19826 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
19833 SWIGINTERN
int IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
19834 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
19839 SWIGINTERN PyObject
*IMAGE_OPTION_BMP_FORMAT_get(void) {
19840 PyObject
*pyobj
= 0;
19844 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
19846 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
19853 SWIGINTERN
int IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
19854 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
19859 SWIGINTERN PyObject
*IMAGE_OPTION_CUR_HOTSPOT_X_get(void) {
19860 PyObject
*pyobj
= 0;
19864 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
19866 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
19873 SWIGINTERN
int IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
19874 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
19879 SWIGINTERN PyObject
*IMAGE_OPTION_CUR_HOTSPOT_Y_get(void) {
19880 PyObject
*pyobj
= 0;
19884 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
19886 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
19893 SWIGINTERN
int IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
19894 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
19899 SWIGINTERN PyObject
*IMAGE_OPTION_RESOLUTION_get(void) {
19900 PyObject
*pyobj
= 0;
19904 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
19906 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
19913 SWIGINTERN
int IMAGE_OPTION_RESOLUTIONX_set(PyObject
*) {
19914 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_RESOLUTIONX is read-only.");
19919 SWIGINTERN PyObject
*IMAGE_OPTION_RESOLUTIONX_get(void) {
19920 PyObject
*pyobj
= 0;
19924 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
19926 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
19933 SWIGINTERN
int IMAGE_OPTION_RESOLUTIONY_set(PyObject
*) {
19934 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_RESOLUTIONY is read-only.");
19939 SWIGINTERN PyObject
*IMAGE_OPTION_RESOLUTIONY_get(void) {
19940 PyObject
*pyobj
= 0;
19944 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
19946 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
19953 SWIGINTERN
int IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
19954 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
19959 SWIGINTERN PyObject
*IMAGE_OPTION_RESOLUTIONUNIT_get(void) {
19960 PyObject
*pyobj
= 0;
19964 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
19966 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
19973 SWIGINTERN
int IMAGE_OPTION_QUALITY_set(PyObject
*) {
19974 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_QUALITY is read-only.");
19979 SWIGINTERN PyObject
*IMAGE_OPTION_QUALITY_get(void) {
19980 PyObject
*pyobj
= 0;
19984 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
19986 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
19993 SWIGINTERN
int IMAGE_OPTION_BITSPERSAMPLE_set(PyObject
*) {
19994 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_BITSPERSAMPLE is read-only.");
19999 SWIGINTERN PyObject
*IMAGE_OPTION_BITSPERSAMPLE_get(void) {
20000 PyObject
*pyobj
= 0;
20004 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
20006 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
20013 SWIGINTERN
int IMAGE_OPTION_SAMPLESPERPIXEL_set(PyObject
*) {
20014 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_SAMPLESPERPIXEL is read-only.");
20019 SWIGINTERN PyObject
*IMAGE_OPTION_SAMPLESPERPIXEL_get(void) {
20020 PyObject
*pyobj
= 0;
20024 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
20026 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
20033 SWIGINTERN
int IMAGE_OPTION_COMPRESSION_set(PyObject
*) {
20034 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_COMPRESSION is read-only.");
20039 SWIGINTERN PyObject
*IMAGE_OPTION_COMPRESSION_get(void) {
20040 PyObject
*pyobj
= 0;
20044 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
20046 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
20053 SWIGINTERN
int IMAGE_OPTION_IMAGEDESCRIPTOR_set(PyObject
*) {
20054 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_IMAGEDESCRIPTOR is read-only.");
20059 SWIGINTERN PyObject
*IMAGE_OPTION_IMAGEDESCRIPTOR_get(void) {
20060 PyObject
*pyobj
= 0;
20064 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
20066 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
20073 SWIGINTERN
int IMAGE_OPTION_PNG_FORMAT_set(PyObject
*) {
20074 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_PNG_FORMAT is read-only.");
20079 SWIGINTERN PyObject
*IMAGE_OPTION_PNG_FORMAT_get(void) {
20080 PyObject
*pyobj
= 0;
20084 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
20086 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
20093 SWIGINTERN
int IMAGE_OPTION_PNG_BITDEPTH_set(PyObject
*) {
20094 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_PNG_BITDEPTH is read-only.");
20099 SWIGINTERN PyObject
*IMAGE_OPTION_PNG_BITDEPTH_get(void) {
20100 PyObject
*pyobj
= 0;
20104 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
20106 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
20113 SWIGINTERN PyObject
*_wrap_new_BMPHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20114 PyObject
*resultobj
= 0;
20115 wxBMPHandler
*result
= 0 ;
20117 if (!SWIG_Python_UnpackTuple(args
,"new_BMPHandler",0,0,0)) SWIG_fail
;
20119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20120 result
= (wxBMPHandler
*)new wxBMPHandler();
20121 wxPyEndAllowThreads(__tstate
);
20122 if (PyErr_Occurred()) SWIG_fail
;
20124 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBMPHandler
, SWIG_POINTER_NEW
| 0 );
20131 SWIGINTERN PyObject
*BMPHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20133 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20134 SWIG_TypeNewClientData(SWIGTYPE_p_wxBMPHandler
, SWIG_NewClientData(obj
));
20135 return SWIG_Py_Void();
20138 SWIGINTERN PyObject
*BMPHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20139 return SWIG_Python_InitShadowInstance(args
);
20142 SWIGINTERN PyObject
*_wrap_new_ICOHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20143 PyObject
*resultobj
= 0;
20144 wxICOHandler
*result
= 0 ;
20146 if (!SWIG_Python_UnpackTuple(args
,"new_ICOHandler",0,0,0)) SWIG_fail
;
20148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20149 result
= (wxICOHandler
*)new wxICOHandler();
20150 wxPyEndAllowThreads(__tstate
);
20151 if (PyErr_Occurred()) SWIG_fail
;
20153 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxICOHandler
, SWIG_POINTER_NEW
| 0 );
20160 SWIGINTERN PyObject
*ICOHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20162 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20163 SWIG_TypeNewClientData(SWIGTYPE_p_wxICOHandler
, SWIG_NewClientData(obj
));
20164 return SWIG_Py_Void();
20167 SWIGINTERN PyObject
*ICOHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20168 return SWIG_Python_InitShadowInstance(args
);
20171 SWIGINTERN PyObject
*_wrap_new_CURHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20172 PyObject
*resultobj
= 0;
20173 wxCURHandler
*result
= 0 ;
20175 if (!SWIG_Python_UnpackTuple(args
,"new_CURHandler",0,0,0)) SWIG_fail
;
20177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20178 result
= (wxCURHandler
*)new wxCURHandler();
20179 wxPyEndAllowThreads(__tstate
);
20180 if (PyErr_Occurred()) SWIG_fail
;
20182 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCURHandler
, SWIG_POINTER_NEW
| 0 );
20189 SWIGINTERN PyObject
*CURHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20191 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20192 SWIG_TypeNewClientData(SWIGTYPE_p_wxCURHandler
, SWIG_NewClientData(obj
));
20193 return SWIG_Py_Void();
20196 SWIGINTERN PyObject
*CURHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20197 return SWIG_Python_InitShadowInstance(args
);
20200 SWIGINTERN PyObject
*_wrap_new_ANIHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20201 PyObject
*resultobj
= 0;
20202 wxANIHandler
*result
= 0 ;
20204 if (!SWIG_Python_UnpackTuple(args
,"new_ANIHandler",0,0,0)) SWIG_fail
;
20206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20207 result
= (wxANIHandler
*)new wxANIHandler();
20208 wxPyEndAllowThreads(__tstate
);
20209 if (PyErr_Occurred()) SWIG_fail
;
20211 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxANIHandler
, SWIG_POINTER_NEW
| 0 );
20218 SWIGINTERN PyObject
*ANIHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20220 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20221 SWIG_TypeNewClientData(SWIGTYPE_p_wxANIHandler
, SWIG_NewClientData(obj
));
20222 return SWIG_Py_Void();
20225 SWIGINTERN PyObject
*ANIHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20226 return SWIG_Python_InitShadowInstance(args
);
20229 SWIGINTERN PyObject
*_wrap_new_PNGHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20230 PyObject
*resultobj
= 0;
20231 wxPNGHandler
*result
= 0 ;
20233 if (!SWIG_Python_UnpackTuple(args
,"new_PNGHandler",0,0,0)) SWIG_fail
;
20235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20236 result
= (wxPNGHandler
*)new wxPNGHandler();
20237 wxPyEndAllowThreads(__tstate
);
20238 if (PyErr_Occurred()) SWIG_fail
;
20240 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPNGHandler
, SWIG_POINTER_NEW
| 0 );
20247 SWIGINTERN PyObject
*PNGHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20249 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20250 SWIG_TypeNewClientData(SWIGTYPE_p_wxPNGHandler
, SWIG_NewClientData(obj
));
20251 return SWIG_Py_Void();
20254 SWIGINTERN PyObject
*PNGHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20255 return SWIG_Python_InitShadowInstance(args
);
20258 SWIGINTERN PyObject
*_wrap_new_GIFHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20259 PyObject
*resultobj
= 0;
20260 wxGIFHandler
*result
= 0 ;
20262 if (!SWIG_Python_UnpackTuple(args
,"new_GIFHandler",0,0,0)) SWIG_fail
;
20264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20265 result
= (wxGIFHandler
*)new wxGIFHandler();
20266 wxPyEndAllowThreads(__tstate
);
20267 if (PyErr_Occurred()) SWIG_fail
;
20269 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGIFHandler
, SWIG_POINTER_NEW
| 0 );
20276 SWIGINTERN PyObject
*GIFHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20278 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20279 SWIG_TypeNewClientData(SWIGTYPE_p_wxGIFHandler
, SWIG_NewClientData(obj
));
20280 return SWIG_Py_Void();
20283 SWIGINTERN PyObject
*GIFHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20284 return SWIG_Python_InitShadowInstance(args
);
20287 SWIGINTERN PyObject
*_wrap_new_PCXHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20288 PyObject
*resultobj
= 0;
20289 wxPCXHandler
*result
= 0 ;
20291 if (!SWIG_Python_UnpackTuple(args
,"new_PCXHandler",0,0,0)) SWIG_fail
;
20293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20294 result
= (wxPCXHandler
*)new wxPCXHandler();
20295 wxPyEndAllowThreads(__tstate
);
20296 if (PyErr_Occurred()) SWIG_fail
;
20298 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPCXHandler
, SWIG_POINTER_NEW
| 0 );
20305 SWIGINTERN PyObject
*PCXHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20307 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20308 SWIG_TypeNewClientData(SWIGTYPE_p_wxPCXHandler
, SWIG_NewClientData(obj
));
20309 return SWIG_Py_Void();
20312 SWIGINTERN PyObject
*PCXHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20313 return SWIG_Python_InitShadowInstance(args
);
20316 SWIGINTERN PyObject
*_wrap_new_JPEGHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20317 PyObject
*resultobj
= 0;
20318 wxJPEGHandler
*result
= 0 ;
20320 if (!SWIG_Python_UnpackTuple(args
,"new_JPEGHandler",0,0,0)) SWIG_fail
;
20322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20323 result
= (wxJPEGHandler
*)new wxJPEGHandler();
20324 wxPyEndAllowThreads(__tstate
);
20325 if (PyErr_Occurred()) SWIG_fail
;
20327 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxJPEGHandler
, SWIG_POINTER_NEW
| 0 );
20334 SWIGINTERN PyObject
*JPEGHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20336 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20337 SWIG_TypeNewClientData(SWIGTYPE_p_wxJPEGHandler
, SWIG_NewClientData(obj
));
20338 return SWIG_Py_Void();
20341 SWIGINTERN PyObject
*JPEGHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20342 return SWIG_Python_InitShadowInstance(args
);
20345 SWIGINTERN PyObject
*_wrap_new_PNMHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20346 PyObject
*resultobj
= 0;
20347 wxPNMHandler
*result
= 0 ;
20349 if (!SWIG_Python_UnpackTuple(args
,"new_PNMHandler",0,0,0)) SWIG_fail
;
20351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20352 result
= (wxPNMHandler
*)new wxPNMHandler();
20353 wxPyEndAllowThreads(__tstate
);
20354 if (PyErr_Occurred()) SWIG_fail
;
20356 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPNMHandler
, SWIG_POINTER_NEW
| 0 );
20363 SWIGINTERN PyObject
*PNMHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20365 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20366 SWIG_TypeNewClientData(SWIGTYPE_p_wxPNMHandler
, SWIG_NewClientData(obj
));
20367 return SWIG_Py_Void();
20370 SWIGINTERN PyObject
*PNMHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20371 return SWIG_Python_InitShadowInstance(args
);
20374 SWIGINTERN PyObject
*_wrap_new_XPMHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20375 PyObject
*resultobj
= 0;
20376 wxXPMHandler
*result
= 0 ;
20378 if (!SWIG_Python_UnpackTuple(args
,"new_XPMHandler",0,0,0)) SWIG_fail
;
20380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20381 result
= (wxXPMHandler
*)new wxXPMHandler();
20382 wxPyEndAllowThreads(__tstate
);
20383 if (PyErr_Occurred()) SWIG_fail
;
20385 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxXPMHandler
, SWIG_POINTER_NEW
| 0 );
20392 SWIGINTERN PyObject
*XPMHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20394 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20395 SWIG_TypeNewClientData(SWIGTYPE_p_wxXPMHandler
, SWIG_NewClientData(obj
));
20396 return SWIG_Py_Void();
20399 SWIGINTERN PyObject
*XPMHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20400 return SWIG_Python_InitShadowInstance(args
);
20403 SWIGINTERN PyObject
*_wrap_new_TIFFHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20404 PyObject
*resultobj
= 0;
20405 wxTIFFHandler
*result
= 0 ;
20407 if (!SWIG_Python_UnpackTuple(args
,"new_TIFFHandler",0,0,0)) SWIG_fail
;
20409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20410 result
= (wxTIFFHandler
*)new wxTIFFHandler();
20411 wxPyEndAllowThreads(__tstate
);
20412 if (PyErr_Occurred()) SWIG_fail
;
20414 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTIFFHandler
, SWIG_POINTER_NEW
| 0 );
20421 SWIGINTERN PyObject
*TIFFHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20423 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20424 SWIG_TypeNewClientData(SWIGTYPE_p_wxTIFFHandler
, SWIG_NewClientData(obj
));
20425 return SWIG_Py_Void();
20428 SWIGINTERN PyObject
*TIFFHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20429 return SWIG_Python_InitShadowInstance(args
);
20432 SWIGINTERN PyObject
*_wrap_new_TGAHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20433 PyObject
*resultobj
= 0;
20434 wxTGAHandler
*result
= 0 ;
20436 if (!SWIG_Python_UnpackTuple(args
,"new_TGAHandler",0,0,0)) SWIG_fail
;
20438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20439 result
= (wxTGAHandler
*)new wxTGAHandler();
20440 wxPyEndAllowThreads(__tstate
);
20441 if (PyErr_Occurred()) SWIG_fail
;
20443 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTGAHandler
, SWIG_POINTER_NEW
| 0 );
20450 SWIGINTERN PyObject
*TGAHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20452 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20453 SWIG_TypeNewClientData(SWIGTYPE_p_wxTGAHandler
, SWIG_NewClientData(obj
));
20454 return SWIG_Py_Void();
20457 SWIGINTERN PyObject
*TGAHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20458 return SWIG_Python_InitShadowInstance(args
);
20461 SWIGINTERN PyObject
*_wrap_Quantize_Quantize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20462 PyObject
*resultobj
= 0;
20463 wxImage
*arg1
= 0 ;
20464 wxImage
*arg2
= 0 ;
20465 int arg3
= (int) 236 ;
20466 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
20476 PyObject
* obj0
= 0 ;
20477 PyObject
* obj1
= 0 ;
20478 PyObject
* obj2
= 0 ;
20479 PyObject
* obj3
= 0 ;
20480 char * kwnames
[] = {
20481 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
20484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20485 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
20486 if (!SWIG_IsOK(res1
)) {
20487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Quantize_Quantize" "', expected argument " "1"" of type '" "wxImage const &""'");
20490 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Quantize_Quantize" "', expected argument " "1"" of type '" "wxImage const &""'");
20492 arg1
= reinterpret_cast< wxImage
* >(argp1
);
20493 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImage
, 0 );
20494 if (!SWIG_IsOK(res2
)) {
20495 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Quantize_Quantize" "', expected argument " "2"" of type '" "wxImage &""'");
20498 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Quantize_Quantize" "', expected argument " "2"" of type '" "wxImage &""'");
20500 arg2
= reinterpret_cast< wxImage
* >(argp2
);
20502 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20503 if (!SWIG_IsOK(ecode3
)) {
20504 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Quantize_Quantize" "', expected argument " "3"" of type '" "int""'");
20506 arg3
= static_cast< int >(val3
);
20509 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20510 if (!SWIG_IsOK(ecode4
)) {
20511 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Quantize_Quantize" "', expected argument " "4"" of type '" "int""'");
20513 arg4
= static_cast< int >(val4
);
20516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20517 result
= (bool)wxQuantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
20518 wxPyEndAllowThreads(__tstate
);
20519 if (PyErr_Occurred()) SWIG_fail
;
20522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20530 SWIGINTERN PyObject
*Quantize_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20532 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20533 SWIG_TypeNewClientData(SWIGTYPE_p_wxQuantize
, SWIG_NewClientData(obj
));
20534 return SWIG_Py_Void();
20537 SWIGINTERN PyObject
*_wrap_new_EvtHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20538 PyObject
*resultobj
= 0;
20539 wxEvtHandler
*result
= 0 ;
20541 if (!SWIG_Python_UnpackTuple(args
,"new_EvtHandler",0,0,0)) SWIG_fail
;
20543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20544 result
= (wxEvtHandler
*)new wxEvtHandler();
20545 wxPyEndAllowThreads(__tstate
);
20546 if (PyErr_Occurred()) SWIG_fail
;
20548 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_NEW
| 0 );
20555 SWIGINTERN PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20556 PyObject
*resultobj
= 0;
20557 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20558 wxEvtHandler
*result
= 0 ;
20561 PyObject
*swig_obj
[1] ;
20563 if (!args
) SWIG_fail
;
20564 swig_obj
[0] = args
;
20565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
20566 if (!SWIG_IsOK(res1
)) {
20567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_GetNextHandler" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
20569 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
20571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20572 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
20573 wxPyEndAllowThreads(__tstate
);
20574 if (PyErr_Occurred()) SWIG_fail
;
20577 resultobj
= wxPyMake_wxObject(result
, 0);
20585 SWIGINTERN PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20586 PyObject
*resultobj
= 0;
20587 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20588 wxEvtHandler
*result
= 0 ;
20591 PyObject
*swig_obj
[1] ;
20593 if (!args
) SWIG_fail
;
20594 swig_obj
[0] = args
;
20595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
20596 if (!SWIG_IsOK(res1
)) {
20597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_GetPreviousHandler" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
20599 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
20601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20602 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
20603 wxPyEndAllowThreads(__tstate
);
20604 if (PyErr_Occurred()) SWIG_fail
;
20607 resultobj
= wxPyMake_wxObject(result
, 0);
20615 SWIGINTERN PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20616 PyObject
*resultobj
= 0;
20617 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20618 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
20623 PyObject
* obj0
= 0 ;
20624 PyObject
* obj1
= 0 ;
20625 char * kwnames
[] = {
20626 (char *) "self",(char *) "handler", NULL
20629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
20631 if (!SWIG_IsOK(res1
)) {
20632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_SetNextHandler" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
20634 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
20635 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
20636 if (!SWIG_IsOK(res2
)) {
20637 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "EvtHandler_SetNextHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
20639 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
20641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20642 (arg1
)->SetNextHandler(arg2
);
20643 wxPyEndAllowThreads(__tstate
);
20644 if (PyErr_Occurred()) SWIG_fail
;
20646 resultobj
= SWIG_Py_Void();
20653 SWIGINTERN PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20654 PyObject
*resultobj
= 0;
20655 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20656 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
20661 PyObject
* obj0
= 0 ;
20662 PyObject
* obj1
= 0 ;
20663 char * kwnames
[] = {
20664 (char *) "self",(char *) "handler", NULL
20667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
20669 if (!SWIG_IsOK(res1
)) {
20670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_SetPreviousHandler" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
20672 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
20673 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
20674 if (!SWIG_IsOK(res2
)) {
20675 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "EvtHandler_SetPreviousHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
20677 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
20679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20680 (arg1
)->SetPreviousHandler(arg2
);
20681 wxPyEndAllowThreads(__tstate
);
20682 if (PyErr_Occurred()) SWIG_fail
;
20684 resultobj
= SWIG_Py_Void();
20691 SWIGINTERN PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20692 PyObject
*resultobj
= 0;
20693 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20697 PyObject
*swig_obj
[1] ;
20699 if (!args
) SWIG_fail
;
20700 swig_obj
[0] = args
;
20701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
20702 if (!SWIG_IsOK(res1
)) {
20703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_GetEvtHandlerEnabled" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
20705 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
20707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20708 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
20709 wxPyEndAllowThreads(__tstate
);
20710 if (PyErr_Occurred()) SWIG_fail
;
20713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20721 SWIGINTERN PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20722 PyObject
*resultobj
= 0;
20723 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20729 PyObject
* obj0
= 0 ;
20730 PyObject
* obj1
= 0 ;
20731 char * kwnames
[] = {
20732 (char *) "self",(char *) "enabled", NULL
20735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
20737 if (!SWIG_IsOK(res1
)) {
20738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_SetEvtHandlerEnabled" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
20740 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
20741 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20742 if (!SWIG_IsOK(ecode2
)) {
20743 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EvtHandler_SetEvtHandlerEnabled" "', expected argument " "2"" of type '" "bool""'");
20745 arg2
= static_cast< bool >(val2
);
20747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20748 (arg1
)->SetEvtHandlerEnabled(arg2
);
20749 wxPyEndAllowThreads(__tstate
);
20750 if (PyErr_Occurred()) SWIG_fail
;
20752 resultobj
= SWIG_Py_Void();
20759 SWIGINTERN PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20760 PyObject
*resultobj
= 0;
20761 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20762 wxEvent
*arg2
= 0 ;
20768 PyObject
* obj0
= 0 ;
20769 PyObject
* obj1
= 0 ;
20770 char * kwnames
[] = {
20771 (char *) "self",(char *) "event", NULL
20774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
20776 if (!SWIG_IsOK(res1
)) {
20777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_ProcessEvent" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
20779 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
20780 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxEvent
, 0 );
20781 if (!SWIG_IsOK(res2
)) {
20782 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "EvtHandler_ProcessEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
20785 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "EvtHandler_ProcessEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
20787 arg2
= reinterpret_cast< wxEvent
* >(argp2
);
20789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20790 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
20791 wxPyEndAllowThreads(__tstate
);
20792 if (PyErr_Occurred()) SWIG_fail
;
20795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20803 SWIGINTERN PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20804 PyObject
*resultobj
= 0;
20805 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20806 wxEvent
*arg2
= 0 ;
20811 PyObject
* obj0
= 0 ;
20812 PyObject
* obj1
= 0 ;
20813 char * kwnames
[] = {
20814 (char *) "self",(char *) "event", NULL
20817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
20819 if (!SWIG_IsOK(res1
)) {
20820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_AddPendingEvent" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
20822 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
20823 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxEvent
, 0 );
20824 if (!SWIG_IsOK(res2
)) {
20825 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "EvtHandler_AddPendingEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
20828 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "EvtHandler_AddPendingEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
20830 arg2
= reinterpret_cast< wxEvent
* >(argp2
);
20832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20833 (arg1
)->AddPendingEvent(*arg2
);
20834 wxPyEndAllowThreads(__tstate
);
20835 if (PyErr_Occurred()) SWIG_fail
;
20837 resultobj
= SWIG_Py_Void();
20844 SWIGINTERN PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20845 PyObject
*resultobj
= 0;
20846 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20849 PyObject
*swig_obj
[1] ;
20851 if (!args
) SWIG_fail
;
20852 swig_obj
[0] = args
;
20853 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
20854 if (!SWIG_IsOK(res1
)) {
20855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_ProcessPendingEvents" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
20857 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
20859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20860 (arg1
)->ProcessPendingEvents();
20861 wxPyEndAllowThreads(__tstate
);
20862 if (PyErr_Occurred()) SWIG_fail
;
20864 resultobj
= SWIG_Py_Void();
20871 SWIGINTERN PyObject
*_wrap_EvtHandler_Connect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20872 PyObject
*resultobj
= 0;
20873 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20877 PyObject
*arg5
= (PyObject
*) 0 ;
20886 PyObject
* obj0
= 0 ;
20887 PyObject
* obj1
= 0 ;
20888 PyObject
* obj2
= 0 ;
20889 PyObject
* obj3
= 0 ;
20890 PyObject
* obj4
= 0 ;
20891 char * kwnames
[] = {
20892 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
20895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
20897 if (!SWIG_IsOK(res1
)) {
20898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_Connect" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
20900 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
20901 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20902 if (!SWIG_IsOK(ecode2
)) {
20903 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EvtHandler_Connect" "', expected argument " "2"" of type '" "int""'");
20905 arg2
= static_cast< int >(val2
);
20906 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20907 if (!SWIG_IsOK(ecode3
)) {
20908 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EvtHandler_Connect" "', expected argument " "3"" of type '" "int""'");
20910 arg3
= static_cast< int >(val3
);
20911 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20912 if (!SWIG_IsOK(ecode4
)) {
20913 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EvtHandler_Connect" "', expected argument " "4"" of type '" "int""'");
20915 arg4
= static_cast< int >(val4
);
20918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20919 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
20920 wxPyEndAllowThreads(__tstate
);
20921 if (PyErr_Occurred()) SWIG_fail
;
20923 resultobj
= SWIG_Py_Void();
20930 SWIGINTERN PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20931 PyObject
*resultobj
= 0;
20932 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20934 int arg3
= (int) -1 ;
20935 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
20945 PyObject
* obj0
= 0 ;
20946 PyObject
* obj1
= 0 ;
20947 PyObject
* obj2
= 0 ;
20948 PyObject
* obj3
= 0 ;
20949 char * kwnames
[] = {
20950 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
20953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
20955 if (!SWIG_IsOK(res1
)) {
20956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_Disconnect" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
20958 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
20959 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20960 if (!SWIG_IsOK(ecode2
)) {
20961 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EvtHandler_Disconnect" "', expected argument " "2"" of type '" "int""'");
20963 arg2
= static_cast< int >(val2
);
20965 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20966 if (!SWIG_IsOK(ecode3
)) {
20967 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EvtHandler_Disconnect" "', expected argument " "3"" of type '" "int""'");
20969 arg3
= static_cast< int >(val3
);
20972 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20973 if (!SWIG_IsOK(ecode4
)) {
20974 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EvtHandler_Disconnect" "', expected argument " "4"" of type '" "wxEventType""'");
20976 arg4
= static_cast< wxEventType
>(val4
);
20979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20980 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
20981 wxPyEndAllowThreads(__tstate
);
20982 if (PyErr_Occurred()) SWIG_fail
;
20985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20993 SWIGINTERN PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20994 PyObject
*resultobj
= 0;
20995 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20996 PyObject
*arg2
= (PyObject
*) 0 ;
20997 bool arg3
= (bool) true ;
21002 PyObject
* obj0
= 0 ;
21003 PyObject
* obj1
= 0 ;
21004 PyObject
* obj2
= 0 ;
21005 char * kwnames
[] = {
21006 (char *) "self",(char *) "_self",(char *) "incref", NULL
21009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
21011 if (!SWIG_IsOK(res1
)) {
21012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler__setOORInfo" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
21014 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
21017 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
21018 if (!SWIG_IsOK(ecode3
)) {
21019 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EvtHandler__setOORInfo" "', expected argument " "3"" of type '" "bool""'");
21021 arg3
= static_cast< bool >(val3
);
21024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21025 wxEvtHandler__setOORInfo(arg1
,arg2
,arg3
);
21026 wxPyEndAllowThreads(__tstate
);
21027 if (PyErr_Occurred()) SWIG_fail
;
21029 resultobj
= SWIG_Py_Void();
21036 SWIGINTERN PyObject
*EvtHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21038 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21039 SWIG_TypeNewClientData(SWIGTYPE_p_wxEvtHandler
, SWIG_NewClientData(obj
));
21040 return SWIG_Py_Void();
21043 SWIGINTERN PyObject
*EvtHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21044 return SWIG_Python_InitShadowInstance(args
);
21047 SWIGINTERN PyObject
*_wrap_NewEventType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21048 PyObject
*resultobj
= 0;
21049 wxEventType result
;
21051 if (!SWIG_Python_UnpackTuple(args
,"NewEventType",0,0,0)) SWIG_fail
;
21053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21054 result
= (wxEventType
)wxNewEventType();
21055 wxPyEndAllowThreads(__tstate
);
21056 if (PyErr_Occurred()) SWIG_fail
;
21058 resultobj
= SWIG_From_int(static_cast< int >(result
));
21065 SWIGINTERN PyObject
*_wrap_delete_Event(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21066 PyObject
*resultobj
= 0;
21067 wxEvent
*arg1
= (wxEvent
*) 0 ;
21070 PyObject
*swig_obj
[1] ;
21072 if (!args
) SWIG_fail
;
21073 swig_obj
[0] = args
;
21074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, SWIG_POINTER_DISOWN
| 0 );
21075 if (!SWIG_IsOK(res1
)) {
21076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Event" "', expected argument " "1"" of type '" "wxEvent *""'");
21078 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
21080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21083 wxPyEndAllowThreads(__tstate
);
21084 if (PyErr_Occurred()) SWIG_fail
;
21086 resultobj
= SWIG_Py_Void();
21093 SWIGINTERN PyObject
*_wrap_Event_SetEventType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21094 PyObject
*resultobj
= 0;
21095 wxEvent
*arg1
= (wxEvent
*) 0 ;
21101 PyObject
* obj0
= 0 ;
21102 PyObject
* obj1
= 0 ;
21103 char * kwnames
[] = {
21104 (char *) "self",(char *) "typ", NULL
21107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
21109 if (!SWIG_IsOK(res1
)) {
21110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_SetEventType" "', expected argument " "1"" of type '" "wxEvent *""'");
21112 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
21113 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21114 if (!SWIG_IsOK(ecode2
)) {
21115 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Event_SetEventType" "', expected argument " "2"" of type '" "wxEventType""'");
21117 arg2
= static_cast< wxEventType
>(val2
);
21119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21120 (arg1
)->SetEventType(arg2
);
21121 wxPyEndAllowThreads(__tstate
);
21122 if (PyErr_Occurred()) SWIG_fail
;
21124 resultobj
= SWIG_Py_Void();
21131 SWIGINTERN PyObject
*_wrap_Event_GetEventType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21132 PyObject
*resultobj
= 0;
21133 wxEvent
*arg1
= (wxEvent
*) 0 ;
21134 wxEventType result
;
21137 PyObject
*swig_obj
[1] ;
21139 if (!args
) SWIG_fail
;
21140 swig_obj
[0] = args
;
21141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
21142 if (!SWIG_IsOK(res1
)) {
21143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_GetEventType" "', expected argument " "1"" of type '" "wxEvent const *""'");
21145 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
21147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21148 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
21149 wxPyEndAllowThreads(__tstate
);
21150 if (PyErr_Occurred()) SWIG_fail
;
21152 resultobj
= SWIG_From_int(static_cast< int >(result
));
21159 SWIGINTERN PyObject
*_wrap_Event_GetEventObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21160 PyObject
*resultobj
= 0;
21161 wxEvent
*arg1
= (wxEvent
*) 0 ;
21162 wxObject
*result
= 0 ;
21165 PyObject
*swig_obj
[1] ;
21167 if (!args
) SWIG_fail
;
21168 swig_obj
[0] = args
;
21169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
21170 if (!SWIG_IsOK(res1
)) {
21171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_GetEventObject" "', expected argument " "1"" of type '" "wxEvent const *""'");
21173 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
21175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21176 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
21177 wxPyEndAllowThreads(__tstate
);
21178 if (PyErr_Occurred()) SWIG_fail
;
21181 resultobj
= wxPyMake_wxObject(result
, (bool)0);
21189 SWIGINTERN PyObject
*_wrap_Event_SetEventObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21190 PyObject
*resultobj
= 0;
21191 wxEvent
*arg1
= (wxEvent
*) 0 ;
21192 wxObject
*arg2
= (wxObject
*) 0 ;
21197 PyObject
* obj0
= 0 ;
21198 PyObject
* obj1
= 0 ;
21199 char * kwnames
[] = {
21200 (char *) "self",(char *) "obj", NULL
21203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
21205 if (!SWIG_IsOK(res1
)) {
21206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_SetEventObject" "', expected argument " "1"" of type '" "wxEvent *""'");
21208 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
21209 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxObject
, 0 | 0 );
21210 if (!SWIG_IsOK(res2
)) {
21211 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Event_SetEventObject" "', expected argument " "2"" of type '" "wxObject *""'");
21213 arg2
= reinterpret_cast< wxObject
* >(argp2
);
21215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21216 (arg1
)->SetEventObject(arg2
);
21217 wxPyEndAllowThreads(__tstate
);
21218 if (PyErr_Occurred()) SWIG_fail
;
21220 resultobj
= SWIG_Py_Void();
21227 SWIGINTERN PyObject
*_wrap_Event_GetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21228 PyObject
*resultobj
= 0;
21229 wxEvent
*arg1
= (wxEvent
*) 0 ;
21233 PyObject
*swig_obj
[1] ;
21235 if (!args
) SWIG_fail
;
21236 swig_obj
[0] = args
;
21237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
21238 if (!SWIG_IsOK(res1
)) {
21239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_GetTimestamp" "', expected argument " "1"" of type '" "wxEvent const *""'");
21241 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
21243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21244 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
21245 wxPyEndAllowThreads(__tstate
);
21246 if (PyErr_Occurred()) SWIG_fail
;
21248 resultobj
= SWIG_From_long(static_cast< long >(result
));
21255 SWIGINTERN PyObject
*_wrap_Event_SetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21256 PyObject
*resultobj
= 0;
21257 wxEvent
*arg1
= (wxEvent
*) 0 ;
21258 long arg2
= (long) 0 ;
21263 PyObject
* obj0
= 0 ;
21264 PyObject
* obj1
= 0 ;
21265 char * kwnames
[] = {
21266 (char *) "self",(char *) "ts", NULL
21269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
21271 if (!SWIG_IsOK(res1
)) {
21272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_SetTimestamp" "', expected argument " "1"" of type '" "wxEvent *""'");
21274 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
21276 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21277 if (!SWIG_IsOK(ecode2
)) {
21278 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Event_SetTimestamp" "', expected argument " "2"" of type '" "long""'");
21280 arg2
= static_cast< long >(val2
);
21283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21284 (arg1
)->SetTimestamp(arg2
);
21285 wxPyEndAllowThreads(__tstate
);
21286 if (PyErr_Occurred()) SWIG_fail
;
21288 resultobj
= SWIG_Py_Void();
21295 SWIGINTERN PyObject
*_wrap_Event_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21296 PyObject
*resultobj
= 0;
21297 wxEvent
*arg1
= (wxEvent
*) 0 ;
21301 PyObject
*swig_obj
[1] ;
21303 if (!args
) SWIG_fail
;
21304 swig_obj
[0] = args
;
21305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
21306 if (!SWIG_IsOK(res1
)) {
21307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_GetId" "', expected argument " "1"" of type '" "wxEvent const *""'");
21309 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
21311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21312 result
= (int)((wxEvent
const *)arg1
)->GetId();
21313 wxPyEndAllowThreads(__tstate
);
21314 if (PyErr_Occurred()) SWIG_fail
;
21316 resultobj
= SWIG_From_int(static_cast< int >(result
));
21323 SWIGINTERN PyObject
*_wrap_Event_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21324 PyObject
*resultobj
= 0;
21325 wxEvent
*arg1
= (wxEvent
*) 0 ;
21331 PyObject
* obj0
= 0 ;
21332 PyObject
* obj1
= 0 ;
21333 char * kwnames
[] = {
21334 (char *) "self",(char *) "Id", NULL
21337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
21339 if (!SWIG_IsOK(res1
)) {
21340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_SetId" "', expected argument " "1"" of type '" "wxEvent *""'");
21342 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
21343 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21344 if (!SWIG_IsOK(ecode2
)) {
21345 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Event_SetId" "', expected argument " "2"" of type '" "int""'");
21347 arg2
= static_cast< int >(val2
);
21349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21350 (arg1
)->SetId(arg2
);
21351 wxPyEndAllowThreads(__tstate
);
21352 if (PyErr_Occurred()) SWIG_fail
;
21354 resultobj
= SWIG_Py_Void();
21361 SWIGINTERN PyObject
*_wrap_Event_IsCommandEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21362 PyObject
*resultobj
= 0;
21363 wxEvent
*arg1
= (wxEvent
*) 0 ;
21367 PyObject
*swig_obj
[1] ;
21369 if (!args
) SWIG_fail
;
21370 swig_obj
[0] = args
;
21371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
21372 if (!SWIG_IsOK(res1
)) {
21373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_IsCommandEvent" "', expected argument " "1"" of type '" "wxEvent const *""'");
21375 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
21377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21378 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
21379 wxPyEndAllowThreads(__tstate
);
21380 if (PyErr_Occurred()) SWIG_fail
;
21383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21391 SWIGINTERN PyObject
*_wrap_Event_Skip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21392 PyObject
*resultobj
= 0;
21393 wxEvent
*arg1
= (wxEvent
*) 0 ;
21394 bool arg2
= (bool) true ;
21399 PyObject
* obj0
= 0 ;
21400 PyObject
* obj1
= 0 ;
21401 char * kwnames
[] = {
21402 (char *) "self",(char *) "skip", NULL
21405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
21407 if (!SWIG_IsOK(res1
)) {
21408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_Skip" "', expected argument " "1"" of type '" "wxEvent *""'");
21410 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
21412 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21413 if (!SWIG_IsOK(ecode2
)) {
21414 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Event_Skip" "', expected argument " "2"" of type '" "bool""'");
21416 arg2
= static_cast< bool >(val2
);
21419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21420 (arg1
)->Skip(arg2
);
21421 wxPyEndAllowThreads(__tstate
);
21422 if (PyErr_Occurred()) SWIG_fail
;
21424 resultobj
= SWIG_Py_Void();
21431 SWIGINTERN PyObject
*_wrap_Event_GetSkipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21432 PyObject
*resultobj
= 0;
21433 wxEvent
*arg1
= (wxEvent
*) 0 ;
21437 PyObject
*swig_obj
[1] ;
21439 if (!args
) SWIG_fail
;
21440 swig_obj
[0] = args
;
21441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
21442 if (!SWIG_IsOK(res1
)) {
21443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_GetSkipped" "', expected argument " "1"" of type '" "wxEvent const *""'");
21445 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
21447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21448 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
21449 wxPyEndAllowThreads(__tstate
);
21450 if (PyErr_Occurred()) SWIG_fail
;
21453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21461 SWIGINTERN PyObject
*_wrap_Event_ShouldPropagate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21462 PyObject
*resultobj
= 0;
21463 wxEvent
*arg1
= (wxEvent
*) 0 ;
21467 PyObject
*swig_obj
[1] ;
21469 if (!args
) SWIG_fail
;
21470 swig_obj
[0] = args
;
21471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
21472 if (!SWIG_IsOK(res1
)) {
21473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_ShouldPropagate" "', expected argument " "1"" of type '" "wxEvent const *""'");
21475 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
21477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21478 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
21479 wxPyEndAllowThreads(__tstate
);
21480 if (PyErr_Occurred()) SWIG_fail
;
21483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21491 SWIGINTERN PyObject
*_wrap_Event_StopPropagation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21492 PyObject
*resultobj
= 0;
21493 wxEvent
*arg1
= (wxEvent
*) 0 ;
21497 PyObject
*swig_obj
[1] ;
21499 if (!args
) SWIG_fail
;
21500 swig_obj
[0] = args
;
21501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
21502 if (!SWIG_IsOK(res1
)) {
21503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_StopPropagation" "', expected argument " "1"" of type '" "wxEvent *""'");
21505 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
21507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21508 result
= (int)(arg1
)->StopPropagation();
21509 wxPyEndAllowThreads(__tstate
);
21510 if (PyErr_Occurred()) SWIG_fail
;
21512 resultobj
= SWIG_From_int(static_cast< int >(result
));
21519 SWIGINTERN PyObject
*_wrap_Event_ResumePropagation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21520 PyObject
*resultobj
= 0;
21521 wxEvent
*arg1
= (wxEvent
*) 0 ;
21527 PyObject
* obj0
= 0 ;
21528 PyObject
* obj1
= 0 ;
21529 char * kwnames
[] = {
21530 (char *) "self",(char *) "propagationLevel", NULL
21533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
21535 if (!SWIG_IsOK(res1
)) {
21536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_ResumePropagation" "', expected argument " "1"" of type '" "wxEvent *""'");
21538 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
21539 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21540 if (!SWIG_IsOK(ecode2
)) {
21541 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Event_ResumePropagation" "', expected argument " "2"" of type '" "int""'");
21543 arg2
= static_cast< int >(val2
);
21545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21546 (arg1
)->ResumePropagation(arg2
);
21547 wxPyEndAllowThreads(__tstate
);
21548 if (PyErr_Occurred()) SWIG_fail
;
21550 resultobj
= SWIG_Py_Void();
21557 SWIGINTERN PyObject
*_wrap_Event_Clone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21558 PyObject
*resultobj
= 0;
21559 wxEvent
*arg1
= (wxEvent
*) 0 ;
21560 wxEvent
*result
= 0 ;
21563 PyObject
*swig_obj
[1] ;
21565 if (!args
) SWIG_fail
;
21566 swig_obj
[0] = args
;
21567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
21568 if (!SWIG_IsOK(res1
)) {
21569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_Clone" "', expected argument " "1"" of type '" "wxEvent *""'");
21571 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
21573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21574 result
= (wxEvent
*)(arg1
)->Clone();
21575 wxPyEndAllowThreads(__tstate
);
21576 if (PyErr_Occurred()) SWIG_fail
;
21578 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEvent
, 0 | 0 );
21585 SWIGINTERN PyObject
*Event_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21587 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21588 SWIG_TypeNewClientData(SWIGTYPE_p_wxEvent
, SWIG_NewClientData(obj
));
21589 return SWIG_Py_Void();
21592 SWIGINTERN PyObject
*_wrap_new_PropagationDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21593 PyObject
*resultobj
= 0;
21594 wxEvent
*arg1
= 0 ;
21595 wxPropagationDisabler
*result
= 0 ;
21598 PyObject
* obj0
= 0 ;
21599 char * kwnames
[] = {
21600 (char *) "event", NULL
21603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) SWIG_fail
;
21604 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxEvent
, 0 );
21605 if (!SWIG_IsOK(res1
)) {
21606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PropagationDisabler" "', expected argument " "1"" of type '" "wxEvent &""'");
21609 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PropagationDisabler" "', expected argument " "1"" of type '" "wxEvent &""'");
21611 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
21613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21614 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
21615 wxPyEndAllowThreads(__tstate
);
21616 if (PyErr_Occurred()) SWIG_fail
;
21618 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPropagationDisabler
, SWIG_POINTER_NEW
| 0 );
21625 SWIGINTERN PyObject
*_wrap_delete_PropagationDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21626 PyObject
*resultobj
= 0;
21627 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
21630 PyObject
*swig_obj
[1] ;
21632 if (!args
) SWIG_fail
;
21633 swig_obj
[0] = args
;
21634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPropagationDisabler
, SWIG_POINTER_DISOWN
| 0 );
21635 if (!SWIG_IsOK(res1
)) {
21636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PropagationDisabler" "', expected argument " "1"" of type '" "wxPropagationDisabler *""'");
21638 arg1
= reinterpret_cast< wxPropagationDisabler
* >(argp1
);
21640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21643 wxPyEndAllowThreads(__tstate
);
21644 if (PyErr_Occurred()) SWIG_fail
;
21646 resultobj
= SWIG_Py_Void();
21653 SWIGINTERN PyObject
*PropagationDisabler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21655 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21656 SWIG_TypeNewClientData(SWIGTYPE_p_wxPropagationDisabler
, SWIG_NewClientData(obj
));
21657 return SWIG_Py_Void();
21660 SWIGINTERN PyObject
*PropagationDisabler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21661 return SWIG_Python_InitShadowInstance(args
);
21664 SWIGINTERN PyObject
*_wrap_new_PropagateOnce(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21665 PyObject
*resultobj
= 0;
21666 wxEvent
*arg1
= 0 ;
21667 wxPropagateOnce
*result
= 0 ;
21670 PyObject
* obj0
= 0 ;
21671 char * kwnames
[] = {
21672 (char *) "event", NULL
21675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) SWIG_fail
;
21676 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxEvent
, 0 );
21677 if (!SWIG_IsOK(res1
)) {
21678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PropagateOnce" "', expected argument " "1"" of type '" "wxEvent &""'");
21681 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PropagateOnce" "', expected argument " "1"" of type '" "wxEvent &""'");
21683 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
21685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21686 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
21687 wxPyEndAllowThreads(__tstate
);
21688 if (PyErr_Occurred()) SWIG_fail
;
21690 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPropagateOnce
, SWIG_POINTER_NEW
| 0 );
21697 SWIGINTERN PyObject
*_wrap_delete_PropagateOnce(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21698 PyObject
*resultobj
= 0;
21699 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
21702 PyObject
*swig_obj
[1] ;
21704 if (!args
) SWIG_fail
;
21705 swig_obj
[0] = args
;
21706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPropagateOnce
, SWIG_POINTER_DISOWN
| 0 );
21707 if (!SWIG_IsOK(res1
)) {
21708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PropagateOnce" "', expected argument " "1"" of type '" "wxPropagateOnce *""'");
21710 arg1
= reinterpret_cast< wxPropagateOnce
* >(argp1
);
21712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21715 wxPyEndAllowThreads(__tstate
);
21716 if (PyErr_Occurred()) SWIG_fail
;
21718 resultobj
= SWIG_Py_Void();
21725 SWIGINTERN PyObject
*PropagateOnce_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21727 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21728 SWIG_TypeNewClientData(SWIGTYPE_p_wxPropagateOnce
, SWIG_NewClientData(obj
));
21729 return SWIG_Py_Void();
21732 SWIGINTERN PyObject
*PropagateOnce_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21733 return SWIG_Python_InitShadowInstance(args
);
21736 SWIGINTERN PyObject
*_wrap_new_CommandEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21737 PyObject
*resultobj
= 0;
21738 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21739 int arg2
= (int) 0 ;
21740 wxCommandEvent
*result
= 0 ;
21745 PyObject
* obj0
= 0 ;
21746 PyObject
* obj1
= 0 ;
21747 char * kwnames
[] = {
21748 (char *) "commandType",(char *) "winid", NULL
21751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21753 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21754 if (!SWIG_IsOK(ecode1
)) {
21755 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CommandEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21757 arg1
= static_cast< wxEventType
>(val1
);
21760 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21761 if (!SWIG_IsOK(ecode2
)) {
21762 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CommandEvent" "', expected argument " "2"" of type '" "int""'");
21764 arg2
= static_cast< int >(val2
);
21767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21768 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
21769 wxPyEndAllowThreads(__tstate
);
21770 if (PyErr_Occurred()) SWIG_fail
;
21772 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_NEW
| 0 );
21779 SWIGINTERN PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21780 PyObject
*resultobj
= 0;
21781 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
21785 PyObject
*swig_obj
[1] ;
21787 if (!args
) SWIG_fail
;
21788 swig_obj
[0] = args
;
21789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
21790 if (!SWIG_IsOK(res1
)) {
21791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_GetSelection" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
21793 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
21795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21796 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
21797 wxPyEndAllowThreads(__tstate
);
21798 if (PyErr_Occurred()) SWIG_fail
;
21800 resultobj
= SWIG_From_int(static_cast< int >(result
));
21807 SWIGINTERN PyObject
*_wrap_CommandEvent_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21808 PyObject
*resultobj
= 0;
21809 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
21810 wxString
*arg2
= 0 ;
21813 bool temp2
= false ;
21814 PyObject
* obj0
= 0 ;
21815 PyObject
* obj1
= 0 ;
21816 char * kwnames
[] = {
21817 (char *) "self",(char *) "s", NULL
21820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
21822 if (!SWIG_IsOK(res1
)) {
21823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_SetString" "', expected argument " "1"" of type '" "wxCommandEvent *""'");
21825 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
21827 arg2
= wxString_in_helper(obj1
);
21828 if (arg2
== NULL
) SWIG_fail
;
21832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21833 (arg1
)->SetString((wxString
const &)*arg2
);
21834 wxPyEndAllowThreads(__tstate
);
21835 if (PyErr_Occurred()) SWIG_fail
;
21837 resultobj
= SWIG_Py_Void();
21852 SWIGINTERN PyObject
*_wrap_CommandEvent_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21853 PyObject
*resultobj
= 0;
21854 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
21858 PyObject
*swig_obj
[1] ;
21860 if (!args
) SWIG_fail
;
21861 swig_obj
[0] = args
;
21862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
21863 if (!SWIG_IsOK(res1
)) {
21864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_GetString" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
21866 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
21868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21869 result
= ((wxCommandEvent
const *)arg1
)->GetString();
21870 wxPyEndAllowThreads(__tstate
);
21871 if (PyErr_Occurred()) SWIG_fail
;
21875 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21877 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21886 SWIGINTERN PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21887 PyObject
*resultobj
= 0;
21888 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
21892 PyObject
*swig_obj
[1] ;
21894 if (!args
) SWIG_fail
;
21895 swig_obj
[0] = args
;
21896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
21897 if (!SWIG_IsOK(res1
)) {
21898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_IsChecked" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
21900 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
21902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21903 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
21904 wxPyEndAllowThreads(__tstate
);
21905 if (PyErr_Occurred()) SWIG_fail
;
21908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21916 SWIGINTERN PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21917 PyObject
*resultobj
= 0;
21918 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
21922 PyObject
*swig_obj
[1] ;
21924 if (!args
) SWIG_fail
;
21925 swig_obj
[0] = args
;
21926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
21927 if (!SWIG_IsOK(res1
)) {
21928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_IsSelection" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
21930 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
21932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21933 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
21934 wxPyEndAllowThreads(__tstate
);
21935 if (PyErr_Occurred()) SWIG_fail
;
21938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21946 SWIGINTERN PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21947 PyObject
*resultobj
= 0;
21948 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
21954 PyObject
* obj0
= 0 ;
21955 PyObject
* obj1
= 0 ;
21956 char * kwnames
[] = {
21957 (char *) "self",(char *) "extraLong", NULL
21960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
21962 if (!SWIG_IsOK(res1
)) {
21963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_SetExtraLong" "', expected argument " "1"" of type '" "wxCommandEvent *""'");
21965 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
21966 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21967 if (!SWIG_IsOK(ecode2
)) {
21968 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CommandEvent_SetExtraLong" "', expected argument " "2"" of type '" "long""'");
21970 arg2
= static_cast< long >(val2
);
21972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21973 (arg1
)->SetExtraLong(arg2
);
21974 wxPyEndAllowThreads(__tstate
);
21975 if (PyErr_Occurred()) SWIG_fail
;
21977 resultobj
= SWIG_Py_Void();
21984 SWIGINTERN PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21985 PyObject
*resultobj
= 0;
21986 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
21990 PyObject
*swig_obj
[1] ;
21992 if (!args
) SWIG_fail
;
21993 swig_obj
[0] = args
;
21994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
21995 if (!SWIG_IsOK(res1
)) {
21996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_GetExtraLong" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
21998 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
22000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22001 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
22002 wxPyEndAllowThreads(__tstate
);
22003 if (PyErr_Occurred()) SWIG_fail
;
22005 resultobj
= SWIG_From_long(static_cast< long >(result
));
22012 SWIGINTERN PyObject
*_wrap_CommandEvent_SetInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22013 PyObject
*resultobj
= 0;
22014 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
22020 PyObject
* obj0
= 0 ;
22021 PyObject
* obj1
= 0 ;
22022 char * kwnames
[] = {
22023 (char *) "self",(char *) "i", NULL
22026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
22028 if (!SWIG_IsOK(res1
)) {
22029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_SetInt" "', expected argument " "1"" of type '" "wxCommandEvent *""'");
22031 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
22032 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22033 if (!SWIG_IsOK(ecode2
)) {
22034 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CommandEvent_SetInt" "', expected argument " "2"" of type '" "int""'");
22036 arg2
= static_cast< int >(val2
);
22038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22039 (arg1
)->SetInt(arg2
);
22040 wxPyEndAllowThreads(__tstate
);
22041 if (PyErr_Occurred()) SWIG_fail
;
22043 resultobj
= SWIG_Py_Void();
22050 SWIGINTERN PyObject
*_wrap_CommandEvent_GetInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22051 PyObject
*resultobj
= 0;
22052 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
22056 PyObject
*swig_obj
[1] ;
22058 if (!args
) SWIG_fail
;
22059 swig_obj
[0] = args
;
22060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
22061 if (!SWIG_IsOK(res1
)) {
22062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_GetInt" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
22064 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
22066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22067 result
= (int)((wxCommandEvent
const *)arg1
)->GetInt();
22068 wxPyEndAllowThreads(__tstate
);
22069 if (PyErr_Occurred()) SWIG_fail
;
22071 resultobj
= SWIG_From_int(static_cast< int >(result
));
22078 SWIGINTERN PyObject
*_wrap_CommandEvent_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22079 PyObject
*resultobj
= 0;
22080 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
22081 PyObject
*result
= 0 ;
22084 PyObject
*swig_obj
[1] ;
22086 if (!args
) SWIG_fail
;
22087 swig_obj
[0] = args
;
22088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
22089 if (!SWIG_IsOK(res1
)) {
22090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_GetClientData" "', expected argument " "1"" of type '" "wxCommandEvent *""'");
22092 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
22094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22095 result
= (PyObject
*)wxCommandEvent_GetClientData(arg1
);
22096 wxPyEndAllowThreads(__tstate
);
22097 if (PyErr_Occurred()) SWIG_fail
;
22099 resultobj
= result
;
22106 SWIGINTERN PyObject
*_wrap_CommandEvent_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22107 PyObject
*resultobj
= 0;
22108 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
22109 PyObject
*arg2
= (PyObject
*) 0 ;
22112 PyObject
* obj0
= 0 ;
22113 PyObject
* obj1
= 0 ;
22114 char * kwnames
[] = {
22115 (char *) "self",(char *) "clientData", NULL
22118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
22120 if (!SWIG_IsOK(res1
)) {
22121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_SetClientData" "', expected argument " "1"" of type '" "wxCommandEvent *""'");
22123 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
22126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22127 wxCommandEvent_SetClientData(arg1
,arg2
);
22128 wxPyEndAllowThreads(__tstate
);
22129 if (PyErr_Occurred()) SWIG_fail
;
22131 resultobj
= SWIG_Py_Void();
22138 SWIGINTERN PyObject
*_wrap_CommandEvent_Clone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22139 PyObject
*resultobj
= 0;
22140 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
22141 wxEvent
*result
= 0 ;
22144 PyObject
*swig_obj
[1] ;
22146 if (!args
) SWIG_fail
;
22147 swig_obj
[0] = args
;
22148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
22149 if (!SWIG_IsOK(res1
)) {
22150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_Clone" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
22152 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
22154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22155 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
22156 wxPyEndAllowThreads(__tstate
);
22157 if (PyErr_Occurred()) SWIG_fail
;
22159 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEvent
, 0 | 0 );
22166 SWIGINTERN PyObject
*CommandEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22168 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22169 SWIG_TypeNewClientData(SWIGTYPE_p_wxCommandEvent
, SWIG_NewClientData(obj
));
22170 return SWIG_Py_Void();
22173 SWIGINTERN PyObject
*CommandEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22174 return SWIG_Python_InitShadowInstance(args
);
22177 SWIGINTERN PyObject
*_wrap_new_NotifyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22178 PyObject
*resultobj
= 0;
22179 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22180 int arg2
= (int) 0 ;
22181 wxNotifyEvent
*result
= 0 ;
22186 PyObject
* obj0
= 0 ;
22187 PyObject
* obj1
= 0 ;
22188 char * kwnames
[] = {
22189 (char *) "commandType",(char *) "winid", NULL
22192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22194 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22195 if (!SWIG_IsOK(ecode1
)) {
22196 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotifyEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22198 arg1
= static_cast< wxEventType
>(val1
);
22201 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22202 if (!SWIG_IsOK(ecode2
)) {
22203 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotifyEvent" "', expected argument " "2"" of type '" "int""'");
22205 arg2
= static_cast< int >(val2
);
22208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22209 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
22210 wxPyEndAllowThreads(__tstate
);
22211 if (PyErr_Occurred()) SWIG_fail
;
22213 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_NEW
| 0 );
22220 SWIGINTERN PyObject
*_wrap_NotifyEvent_Veto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22221 PyObject
*resultobj
= 0;
22222 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
22225 PyObject
*swig_obj
[1] ;
22227 if (!args
) SWIG_fail
;
22228 swig_obj
[0] = args
;
22229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotifyEvent
, 0 | 0 );
22230 if (!SWIG_IsOK(res1
)) {
22231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NotifyEvent_Veto" "', expected argument " "1"" of type '" "wxNotifyEvent *""'");
22233 arg1
= reinterpret_cast< wxNotifyEvent
* >(argp1
);
22235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22237 wxPyEndAllowThreads(__tstate
);
22238 if (PyErr_Occurred()) SWIG_fail
;
22240 resultobj
= SWIG_Py_Void();
22247 SWIGINTERN PyObject
*_wrap_NotifyEvent_Allow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22248 PyObject
*resultobj
= 0;
22249 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
22252 PyObject
*swig_obj
[1] ;
22254 if (!args
) SWIG_fail
;
22255 swig_obj
[0] = args
;
22256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotifyEvent
, 0 | 0 );
22257 if (!SWIG_IsOK(res1
)) {
22258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NotifyEvent_Allow" "', expected argument " "1"" of type '" "wxNotifyEvent *""'");
22260 arg1
= reinterpret_cast< wxNotifyEvent
* >(argp1
);
22262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22264 wxPyEndAllowThreads(__tstate
);
22265 if (PyErr_Occurred()) SWIG_fail
;
22267 resultobj
= SWIG_Py_Void();
22274 SWIGINTERN PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22275 PyObject
*resultobj
= 0;
22276 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
22280 PyObject
*swig_obj
[1] ;
22282 if (!args
) SWIG_fail
;
22283 swig_obj
[0] = args
;
22284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotifyEvent
, 0 | 0 );
22285 if (!SWIG_IsOK(res1
)) {
22286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NotifyEvent_IsAllowed" "', expected argument " "1"" of type '" "wxNotifyEvent *""'");
22288 arg1
= reinterpret_cast< wxNotifyEvent
* >(argp1
);
22290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22291 result
= (bool)(arg1
)->IsAllowed();
22292 wxPyEndAllowThreads(__tstate
);
22293 if (PyErr_Occurred()) SWIG_fail
;
22296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22304 SWIGINTERN PyObject
*NotifyEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22306 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22307 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotifyEvent
, SWIG_NewClientData(obj
));
22308 return SWIG_Py_Void();
22311 SWIGINTERN PyObject
*NotifyEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22312 return SWIG_Python_InitShadowInstance(args
);
22315 SWIGINTERN PyObject
*_wrap_new_ScrollEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22316 PyObject
*resultobj
= 0;
22317 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22318 int arg2
= (int) 0 ;
22319 int arg3
= (int) 0 ;
22320 int arg4
= (int) 0 ;
22321 wxScrollEvent
*result
= 0 ;
22330 PyObject
* obj0
= 0 ;
22331 PyObject
* obj1
= 0 ;
22332 PyObject
* obj2
= 0 ;
22333 PyObject
* obj3
= 0 ;
22334 char * kwnames
[] = {
22335 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
22338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22340 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22341 if (!SWIG_IsOK(ecode1
)) {
22342 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ScrollEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22344 arg1
= static_cast< wxEventType
>(val1
);
22347 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22348 if (!SWIG_IsOK(ecode2
)) {
22349 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollEvent" "', expected argument " "2"" of type '" "int""'");
22351 arg2
= static_cast< int >(val2
);
22354 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22355 if (!SWIG_IsOK(ecode3
)) {
22356 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ScrollEvent" "', expected argument " "3"" of type '" "int""'");
22358 arg3
= static_cast< int >(val3
);
22361 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22362 if (!SWIG_IsOK(ecode4
)) {
22363 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ScrollEvent" "', expected argument " "4"" of type '" "int""'");
22365 arg4
= static_cast< int >(val4
);
22368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22369 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
22370 wxPyEndAllowThreads(__tstate
);
22371 if (PyErr_Occurred()) SWIG_fail
;
22373 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_NEW
| 0 );
22380 SWIGINTERN PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22381 PyObject
*resultobj
= 0;
22382 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
22386 PyObject
*swig_obj
[1] ;
22388 if (!args
) SWIG_fail
;
22389 swig_obj
[0] = args
;
22390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollEvent
, 0 | 0 );
22391 if (!SWIG_IsOK(res1
)) {
22392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollEvent_GetOrientation" "', expected argument " "1"" of type '" "wxScrollEvent const *""'");
22394 arg1
= reinterpret_cast< wxScrollEvent
* >(argp1
);
22396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22397 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
22398 wxPyEndAllowThreads(__tstate
);
22399 if (PyErr_Occurred()) SWIG_fail
;
22401 resultobj
= SWIG_From_int(static_cast< int >(result
));
22408 SWIGINTERN PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22409 PyObject
*resultobj
= 0;
22410 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
22414 PyObject
*swig_obj
[1] ;
22416 if (!args
) SWIG_fail
;
22417 swig_obj
[0] = args
;
22418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollEvent
, 0 | 0 );
22419 if (!SWIG_IsOK(res1
)) {
22420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollEvent_GetPosition" "', expected argument " "1"" of type '" "wxScrollEvent const *""'");
22422 arg1
= reinterpret_cast< wxScrollEvent
* >(argp1
);
22424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22425 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
22426 wxPyEndAllowThreads(__tstate
);
22427 if (PyErr_Occurred()) SWIG_fail
;
22429 resultobj
= SWIG_From_int(static_cast< int >(result
));
22436 SWIGINTERN PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22437 PyObject
*resultobj
= 0;
22438 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
22444 PyObject
* obj0
= 0 ;
22445 PyObject
* obj1
= 0 ;
22446 char * kwnames
[] = {
22447 (char *) "self",(char *) "orient", NULL
22450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollEvent
, 0 | 0 );
22452 if (!SWIG_IsOK(res1
)) {
22453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollEvent_SetOrientation" "', expected argument " "1"" of type '" "wxScrollEvent *""'");
22455 arg1
= reinterpret_cast< wxScrollEvent
* >(argp1
);
22456 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22457 if (!SWIG_IsOK(ecode2
)) {
22458 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollEvent_SetOrientation" "', expected argument " "2"" of type '" "int""'");
22460 arg2
= static_cast< int >(val2
);
22462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22463 (arg1
)->SetOrientation(arg2
);
22464 wxPyEndAllowThreads(__tstate
);
22465 if (PyErr_Occurred()) SWIG_fail
;
22467 resultobj
= SWIG_Py_Void();
22474 SWIGINTERN PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22475 PyObject
*resultobj
= 0;
22476 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
22482 PyObject
* obj0
= 0 ;
22483 PyObject
* obj1
= 0 ;
22484 char * kwnames
[] = {
22485 (char *) "self",(char *) "pos", NULL
22488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollEvent
, 0 | 0 );
22490 if (!SWIG_IsOK(res1
)) {
22491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollEvent_SetPosition" "', expected argument " "1"" of type '" "wxScrollEvent *""'");
22493 arg1
= reinterpret_cast< wxScrollEvent
* >(argp1
);
22494 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22495 if (!SWIG_IsOK(ecode2
)) {
22496 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
22498 arg2
= static_cast< int >(val2
);
22500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22501 (arg1
)->SetPosition(arg2
);
22502 wxPyEndAllowThreads(__tstate
);
22503 if (PyErr_Occurred()) SWIG_fail
;
22505 resultobj
= SWIG_Py_Void();
22512 SWIGINTERN PyObject
*ScrollEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22514 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22515 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollEvent
, SWIG_NewClientData(obj
));
22516 return SWIG_Py_Void();
22519 SWIGINTERN PyObject
*ScrollEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22520 return SWIG_Python_InitShadowInstance(args
);
22523 SWIGINTERN PyObject
*_wrap_new_ScrollWinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22524 PyObject
*resultobj
= 0;
22525 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22526 int arg2
= (int) 0 ;
22527 int arg3
= (int) 0 ;
22528 wxScrollWinEvent
*result
= 0 ;
22535 PyObject
* obj0
= 0 ;
22536 PyObject
* obj1
= 0 ;
22537 PyObject
* obj2
= 0 ;
22538 char * kwnames
[] = {
22539 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
22542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22544 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22545 if (!SWIG_IsOK(ecode1
)) {
22546 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ScrollWinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22548 arg1
= static_cast< wxEventType
>(val1
);
22551 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22552 if (!SWIG_IsOK(ecode2
)) {
22553 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollWinEvent" "', expected argument " "2"" of type '" "int""'");
22555 arg2
= static_cast< int >(val2
);
22558 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22559 if (!SWIG_IsOK(ecode3
)) {
22560 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ScrollWinEvent" "', expected argument " "3"" of type '" "int""'");
22562 arg3
= static_cast< int >(val3
);
22565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22566 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
22567 wxPyEndAllowThreads(__tstate
);
22568 if (PyErr_Occurred()) SWIG_fail
;
22570 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_NEW
| 0 );
22577 SWIGINTERN PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22578 PyObject
*resultobj
= 0;
22579 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
22583 PyObject
*swig_obj
[1] ;
22585 if (!args
) SWIG_fail
;
22586 swig_obj
[0] = args
;
22587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollWinEvent
, 0 | 0 );
22588 if (!SWIG_IsOK(res1
)) {
22589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollWinEvent_GetOrientation" "', expected argument " "1"" of type '" "wxScrollWinEvent const *""'");
22591 arg1
= reinterpret_cast< wxScrollWinEvent
* >(argp1
);
22593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22594 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
22595 wxPyEndAllowThreads(__tstate
);
22596 if (PyErr_Occurred()) SWIG_fail
;
22598 resultobj
= SWIG_From_int(static_cast< int >(result
));
22605 SWIGINTERN PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22606 PyObject
*resultobj
= 0;
22607 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
22611 PyObject
*swig_obj
[1] ;
22613 if (!args
) SWIG_fail
;
22614 swig_obj
[0] = args
;
22615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollWinEvent
, 0 | 0 );
22616 if (!SWIG_IsOK(res1
)) {
22617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollWinEvent_GetPosition" "', expected argument " "1"" of type '" "wxScrollWinEvent const *""'");
22619 arg1
= reinterpret_cast< wxScrollWinEvent
* >(argp1
);
22621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22622 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
22623 wxPyEndAllowThreads(__tstate
);
22624 if (PyErr_Occurred()) SWIG_fail
;
22626 resultobj
= SWIG_From_int(static_cast< int >(result
));
22633 SWIGINTERN PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22634 PyObject
*resultobj
= 0;
22635 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
22641 PyObject
* obj0
= 0 ;
22642 PyObject
* obj1
= 0 ;
22643 char * kwnames
[] = {
22644 (char *) "self",(char *) "orient", NULL
22647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollWinEvent
, 0 | 0 );
22649 if (!SWIG_IsOK(res1
)) {
22650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollWinEvent_SetOrientation" "', expected argument " "1"" of type '" "wxScrollWinEvent *""'");
22652 arg1
= reinterpret_cast< wxScrollWinEvent
* >(argp1
);
22653 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22654 if (!SWIG_IsOK(ecode2
)) {
22655 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollWinEvent_SetOrientation" "', expected argument " "2"" of type '" "int""'");
22657 arg2
= static_cast< int >(val2
);
22659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22660 (arg1
)->SetOrientation(arg2
);
22661 wxPyEndAllowThreads(__tstate
);
22662 if (PyErr_Occurred()) SWIG_fail
;
22664 resultobj
= SWIG_Py_Void();
22671 SWIGINTERN PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22672 PyObject
*resultobj
= 0;
22673 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
22679 PyObject
* obj0
= 0 ;
22680 PyObject
* obj1
= 0 ;
22681 char * kwnames
[] = {
22682 (char *) "self",(char *) "pos", NULL
22685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollWinEvent
, 0 | 0 );
22687 if (!SWIG_IsOK(res1
)) {
22688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollWinEvent_SetPosition" "', expected argument " "1"" of type '" "wxScrollWinEvent *""'");
22690 arg1
= reinterpret_cast< wxScrollWinEvent
* >(argp1
);
22691 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22692 if (!SWIG_IsOK(ecode2
)) {
22693 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollWinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
22695 arg2
= static_cast< int >(val2
);
22697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22698 (arg1
)->SetPosition(arg2
);
22699 wxPyEndAllowThreads(__tstate
);
22700 if (PyErr_Occurred()) SWIG_fail
;
22702 resultobj
= SWIG_Py_Void();
22709 SWIGINTERN PyObject
*ScrollWinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22711 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22712 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollWinEvent
, SWIG_NewClientData(obj
));
22713 return SWIG_Py_Void();
22716 SWIGINTERN PyObject
*ScrollWinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22717 return SWIG_Python_InitShadowInstance(args
);
22720 SWIGINTERN PyObject
*_wrap_new_MouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22721 PyObject
*resultobj
= 0;
22722 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22723 wxMouseEvent
*result
= 0 ;
22726 PyObject
* obj0
= 0 ;
22727 char * kwnames
[] = {
22728 (char *) "mouseType", NULL
22731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) SWIG_fail
;
22733 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22734 if (!SWIG_IsOK(ecode1
)) {
22735 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_MouseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22737 arg1
= static_cast< wxEventType
>(val1
);
22740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22741 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
22742 wxPyEndAllowThreads(__tstate
);
22743 if (PyErr_Occurred()) SWIG_fail
;
22745 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_NEW
| 0 );
22752 SWIGINTERN PyObject
*_wrap_MouseEvent_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22753 PyObject
*resultobj
= 0;
22754 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
22758 PyObject
*swig_obj
[1] ;
22760 if (!args
) SWIG_fail
;
22761 swig_obj
[0] = args
;
22762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
22763 if (!SWIG_IsOK(res1
)) {
22764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_IsButton" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
22766 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
22768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22769 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
22770 wxPyEndAllowThreads(__tstate
);
22771 if (PyErr_Occurred()) SWIG_fail
;
22774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22782 SWIGINTERN PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22783 PyObject
*resultobj
= 0;
22784 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
22785 int arg2
= (int) wxMOUSE_BTN_ANY
;
22791 PyObject
* obj0
= 0 ;
22792 PyObject
* obj1
= 0 ;
22793 char * kwnames
[] = {
22794 (char *) "self",(char *) "but", NULL
22797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
22799 if (!SWIG_IsOK(res1
)) {
22800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_ButtonDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
22802 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
22804 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22805 if (!SWIG_IsOK(ecode2
)) {
22806 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_ButtonDown" "', expected argument " "2"" of type '" "int""'");
22808 arg2
= static_cast< int >(val2
);
22811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22812 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
22813 wxPyEndAllowThreads(__tstate
);
22814 if (PyErr_Occurred()) SWIG_fail
;
22817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22825 SWIGINTERN PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22826 PyObject
*resultobj
= 0;
22827 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
22828 int arg2
= (int) wxMOUSE_BTN_ANY
;
22834 PyObject
* obj0
= 0 ;
22835 PyObject
* obj1
= 0 ;
22836 char * kwnames
[] = {
22837 (char *) "self",(char *) "but", NULL
22840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
22842 if (!SWIG_IsOK(res1
)) {
22843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_ButtonDClick" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
22845 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
22847 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22848 if (!SWIG_IsOK(ecode2
)) {
22849 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_ButtonDClick" "', expected argument " "2"" of type '" "int""'");
22851 arg2
= static_cast< int >(val2
);
22854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22855 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
22856 wxPyEndAllowThreads(__tstate
);
22857 if (PyErr_Occurred()) SWIG_fail
;
22860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22868 SWIGINTERN PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22869 PyObject
*resultobj
= 0;
22870 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
22871 int arg2
= (int) wxMOUSE_BTN_ANY
;
22877 PyObject
* obj0
= 0 ;
22878 PyObject
* obj1
= 0 ;
22879 char * kwnames
[] = {
22880 (char *) "self",(char *) "but", NULL
22883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
22885 if (!SWIG_IsOK(res1
)) {
22886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_ButtonUp" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
22888 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
22890 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22891 if (!SWIG_IsOK(ecode2
)) {
22892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_ButtonUp" "', expected argument " "2"" of type '" "int""'");
22894 arg2
= static_cast< int >(val2
);
22897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22898 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
22899 wxPyEndAllowThreads(__tstate
);
22900 if (PyErr_Occurred()) SWIG_fail
;
22903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22911 SWIGINTERN PyObject
*_wrap_MouseEvent_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22912 PyObject
*resultobj
= 0;
22913 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
22920 PyObject
* obj0
= 0 ;
22921 PyObject
* obj1
= 0 ;
22922 char * kwnames
[] = {
22923 (char *) "self",(char *) "button", NULL
22926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
22928 if (!SWIG_IsOK(res1
)) {
22929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_Button" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
22931 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
22932 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22933 if (!SWIG_IsOK(ecode2
)) {
22934 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_Button" "', expected argument " "2"" of type '" "int""'");
22936 arg2
= static_cast< int >(val2
);
22938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22939 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
22940 wxPyEndAllowThreads(__tstate
);
22941 if (PyErr_Occurred()) SWIG_fail
;
22944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22952 SWIGINTERN PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22953 PyObject
*resultobj
= 0;
22954 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
22961 PyObject
* obj0
= 0 ;
22962 PyObject
* obj1
= 0 ;
22963 char * kwnames
[] = {
22964 (char *) "self",(char *) "but", NULL
22967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
22969 if (!SWIG_IsOK(res1
)) {
22970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_ButtonIsDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
22972 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
22973 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22974 if (!SWIG_IsOK(ecode2
)) {
22975 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_ButtonIsDown" "', expected argument " "2"" of type '" "int""'");
22977 arg2
= static_cast< int >(val2
);
22979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22980 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
22981 wxPyEndAllowThreads(__tstate
);
22982 if (PyErr_Occurred()) SWIG_fail
;
22985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22993 SWIGINTERN PyObject
*_wrap_MouseEvent_GetButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22994 PyObject
*resultobj
= 0;
22995 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
22999 PyObject
*swig_obj
[1] ;
23001 if (!args
) SWIG_fail
;
23002 swig_obj
[0] = args
;
23003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23004 if (!SWIG_IsOK(res1
)) {
23005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetButton" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23007 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23010 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
23011 wxPyEndAllowThreads(__tstate
);
23012 if (PyErr_Occurred()) SWIG_fail
;
23014 resultobj
= SWIG_From_int(static_cast< int >(result
));
23021 SWIGINTERN PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23022 PyObject
*resultobj
= 0;
23023 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23027 PyObject
*swig_obj
[1] ;
23029 if (!args
) SWIG_fail
;
23030 swig_obj
[0] = args
;
23031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23032 if (!SWIG_IsOK(res1
)) {
23033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_ControlDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23035 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23038 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
23039 wxPyEndAllowThreads(__tstate
);
23040 if (PyErr_Occurred()) SWIG_fail
;
23043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23051 SWIGINTERN PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23052 PyObject
*resultobj
= 0;
23053 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23057 PyObject
*swig_obj
[1] ;
23059 if (!args
) SWIG_fail
;
23060 swig_obj
[0] = args
;
23061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23062 if (!SWIG_IsOK(res1
)) {
23063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_MetaDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23065 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23068 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
23069 wxPyEndAllowThreads(__tstate
);
23070 if (PyErr_Occurred()) SWIG_fail
;
23073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23081 SWIGINTERN PyObject
*_wrap_MouseEvent_AltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23082 PyObject
*resultobj
= 0;
23083 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23087 PyObject
*swig_obj
[1] ;
23089 if (!args
) SWIG_fail
;
23090 swig_obj
[0] = args
;
23091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23092 if (!SWIG_IsOK(res1
)) {
23093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_AltDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23095 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23098 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
23099 wxPyEndAllowThreads(__tstate
);
23100 if (PyErr_Occurred()) SWIG_fail
;
23103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23111 SWIGINTERN PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23112 PyObject
*resultobj
= 0;
23113 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23117 PyObject
*swig_obj
[1] ;
23119 if (!args
) SWIG_fail
;
23120 swig_obj
[0] = args
;
23121 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23122 if (!SWIG_IsOK(res1
)) {
23123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_ShiftDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23125 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23128 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
23129 wxPyEndAllowThreads(__tstate
);
23130 if (PyErr_Occurred()) SWIG_fail
;
23133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23141 SWIGINTERN PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23142 PyObject
*resultobj
= 0;
23143 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23147 PyObject
*swig_obj
[1] ;
23149 if (!args
) SWIG_fail
;
23150 swig_obj
[0] = args
;
23151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23152 if (!SWIG_IsOK(res1
)) {
23153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_CmdDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23155 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23158 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
23159 wxPyEndAllowThreads(__tstate
);
23160 if (PyErr_Occurred()) SWIG_fail
;
23163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23171 SWIGINTERN PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23172 PyObject
*resultobj
= 0;
23173 wxMouseEvent
*arg1
= (wxMouseEvent
*) 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_wxMouseEvent
, 0 | 0 );
23182 if (!SWIG_IsOK(res1
)) {
23183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_LeftDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23185 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23188 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
23189 wxPyEndAllowThreads(__tstate
);
23190 if (PyErr_Occurred()) SWIG_fail
;
23193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23201 SWIGINTERN PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23202 PyObject
*resultobj
= 0;
23203 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23207 PyObject
*swig_obj
[1] ;
23209 if (!args
) SWIG_fail
;
23210 swig_obj
[0] = args
;
23211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23212 if (!SWIG_IsOK(res1
)) {
23213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_MiddleDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23215 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23218 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
23219 wxPyEndAllowThreads(__tstate
);
23220 if (PyErr_Occurred()) SWIG_fail
;
23223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23231 SWIGINTERN PyObject
*_wrap_MouseEvent_RightDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23232 PyObject
*resultobj
= 0;
23233 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23237 PyObject
*swig_obj
[1] ;
23239 if (!args
) SWIG_fail
;
23240 swig_obj
[0] = args
;
23241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23242 if (!SWIG_IsOK(res1
)) {
23243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_RightDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23245 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23248 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
23249 wxPyEndAllowThreads(__tstate
);
23250 if (PyErr_Occurred()) SWIG_fail
;
23253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23261 SWIGINTERN PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23262 PyObject
*resultobj
= 0;
23263 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23267 PyObject
*swig_obj
[1] ;
23269 if (!args
) SWIG_fail
;
23270 swig_obj
[0] = args
;
23271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23272 if (!SWIG_IsOK(res1
)) {
23273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_LeftUp" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23275 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23278 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
23279 wxPyEndAllowThreads(__tstate
);
23280 if (PyErr_Occurred()) SWIG_fail
;
23283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23291 SWIGINTERN PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23292 PyObject
*resultobj
= 0;
23293 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23297 PyObject
*swig_obj
[1] ;
23299 if (!args
) SWIG_fail
;
23300 swig_obj
[0] = args
;
23301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23302 if (!SWIG_IsOK(res1
)) {
23303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_MiddleUp" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23305 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23308 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
23309 wxPyEndAllowThreads(__tstate
);
23310 if (PyErr_Occurred()) SWIG_fail
;
23313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23321 SWIGINTERN PyObject
*_wrap_MouseEvent_RightUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23322 PyObject
*resultobj
= 0;
23323 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23327 PyObject
*swig_obj
[1] ;
23329 if (!args
) SWIG_fail
;
23330 swig_obj
[0] = args
;
23331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23332 if (!SWIG_IsOK(res1
)) {
23333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_RightUp" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23335 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23338 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
23339 wxPyEndAllowThreads(__tstate
);
23340 if (PyErr_Occurred()) SWIG_fail
;
23343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23351 SWIGINTERN PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23352 PyObject
*resultobj
= 0;
23353 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23357 PyObject
*swig_obj
[1] ;
23359 if (!args
) SWIG_fail
;
23360 swig_obj
[0] = args
;
23361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23362 if (!SWIG_IsOK(res1
)) {
23363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_LeftDClick" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23365 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23368 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
23369 wxPyEndAllowThreads(__tstate
);
23370 if (PyErr_Occurred()) SWIG_fail
;
23373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23381 SWIGINTERN PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23382 PyObject
*resultobj
= 0;
23383 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23387 PyObject
*swig_obj
[1] ;
23389 if (!args
) SWIG_fail
;
23390 swig_obj
[0] = args
;
23391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23392 if (!SWIG_IsOK(res1
)) {
23393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_MiddleDClick" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23395 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23398 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
23399 wxPyEndAllowThreads(__tstate
);
23400 if (PyErr_Occurred()) SWIG_fail
;
23403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23411 SWIGINTERN PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23412 PyObject
*resultobj
= 0;
23413 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23417 PyObject
*swig_obj
[1] ;
23419 if (!args
) SWIG_fail
;
23420 swig_obj
[0] = args
;
23421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23422 if (!SWIG_IsOK(res1
)) {
23423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_RightDClick" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23425 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23428 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
23429 wxPyEndAllowThreads(__tstate
);
23430 if (PyErr_Occurred()) SWIG_fail
;
23433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23441 SWIGINTERN PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23442 PyObject
*resultobj
= 0;
23443 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23447 PyObject
*swig_obj
[1] ;
23449 if (!args
) SWIG_fail
;
23450 swig_obj
[0] = args
;
23451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23452 if (!SWIG_IsOK(res1
)) {
23453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_LeftIsDown" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
23455 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23458 result
= (bool)(arg1
)->LeftIsDown();
23459 wxPyEndAllowThreads(__tstate
);
23460 if (PyErr_Occurred()) SWIG_fail
;
23463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23471 SWIGINTERN PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23472 PyObject
*resultobj
= 0;
23473 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23477 PyObject
*swig_obj
[1] ;
23479 if (!args
) SWIG_fail
;
23480 swig_obj
[0] = args
;
23481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23482 if (!SWIG_IsOK(res1
)) {
23483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_MiddleIsDown" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
23485 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23488 result
= (bool)(arg1
)->MiddleIsDown();
23489 wxPyEndAllowThreads(__tstate
);
23490 if (PyErr_Occurred()) SWIG_fail
;
23493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23501 SWIGINTERN PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23502 PyObject
*resultobj
= 0;
23503 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23507 PyObject
*swig_obj
[1] ;
23509 if (!args
) SWIG_fail
;
23510 swig_obj
[0] = args
;
23511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23512 if (!SWIG_IsOK(res1
)) {
23513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_RightIsDown" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
23515 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23518 result
= (bool)(arg1
)->RightIsDown();
23519 wxPyEndAllowThreads(__tstate
);
23520 if (PyErr_Occurred()) SWIG_fail
;
23523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23531 SWIGINTERN PyObject
*_wrap_MouseEvent_Dragging(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23532 PyObject
*resultobj
= 0;
23533 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23537 PyObject
*swig_obj
[1] ;
23539 if (!args
) SWIG_fail
;
23540 swig_obj
[0] = args
;
23541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23542 if (!SWIG_IsOK(res1
)) {
23543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_Dragging" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23545 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23548 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
23549 wxPyEndAllowThreads(__tstate
);
23550 if (PyErr_Occurred()) SWIG_fail
;
23553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23561 SWIGINTERN PyObject
*_wrap_MouseEvent_Moving(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23562 PyObject
*resultobj
= 0;
23563 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23567 PyObject
*swig_obj
[1] ;
23569 if (!args
) SWIG_fail
;
23570 swig_obj
[0] = args
;
23571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23572 if (!SWIG_IsOK(res1
)) {
23573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_Moving" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23575 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23578 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
23579 wxPyEndAllowThreads(__tstate
);
23580 if (PyErr_Occurred()) SWIG_fail
;
23583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23591 SWIGINTERN PyObject
*_wrap_MouseEvent_Entering(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23592 PyObject
*resultobj
= 0;
23593 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23597 PyObject
*swig_obj
[1] ;
23599 if (!args
) SWIG_fail
;
23600 swig_obj
[0] = args
;
23601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23602 if (!SWIG_IsOK(res1
)) {
23603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_Entering" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23605 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23608 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
23609 wxPyEndAllowThreads(__tstate
);
23610 if (PyErr_Occurred()) SWIG_fail
;
23613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23621 SWIGINTERN PyObject
*_wrap_MouseEvent_Leaving(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23622 PyObject
*resultobj
= 0;
23623 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23627 PyObject
*swig_obj
[1] ;
23629 if (!args
) SWIG_fail
;
23630 swig_obj
[0] = args
;
23631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23632 if (!SWIG_IsOK(res1
)) {
23633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_Leaving" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23635 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23638 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
23639 wxPyEndAllowThreads(__tstate
);
23640 if (PyErr_Occurred()) SWIG_fail
;
23643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23651 SWIGINTERN PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23652 PyObject
*resultobj
= 0;
23653 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23657 PyObject
*swig_obj
[1] ;
23659 if (!args
) SWIG_fail
;
23660 swig_obj
[0] = args
;
23661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23662 if (!SWIG_IsOK(res1
)) {
23663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetPosition" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
23665 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23668 result
= (arg1
)->GetPosition();
23669 wxPyEndAllowThreads(__tstate
);
23670 if (PyErr_Occurred()) SWIG_fail
;
23672 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
23679 SWIGINTERN PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23680 PyObject
*resultobj
= 0;
23681 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23682 long *arg2
= (long *) 0 ;
23683 long *arg3
= (long *) 0 ;
23687 int res2
= SWIG_TMPOBJ
;
23689 int res3
= SWIG_TMPOBJ
;
23690 PyObject
*swig_obj
[1] ;
23694 if (!args
) SWIG_fail
;
23695 swig_obj
[0] = args
;
23696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23697 if (!SWIG_IsOK(res1
)) {
23698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetPositionTuple" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
23700 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23703 (arg1
)->GetPosition(arg2
,arg3
);
23704 wxPyEndAllowThreads(__tstate
);
23705 if (PyErr_Occurred()) SWIG_fail
;
23707 resultobj
= SWIG_Py_Void();
23708 if (SWIG_IsTmpObj(res2
)) {
23709 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
23711 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23712 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
23714 if (SWIG_IsTmpObj(res3
)) {
23715 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
23717 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23718 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
23726 SWIGINTERN PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23727 PyObject
*resultobj
= 0;
23728 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23735 PyObject
* obj0
= 0 ;
23736 PyObject
* obj1
= 0 ;
23737 char * kwnames
[] = {
23738 (char *) "self",(char *) "dc", NULL
23741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23743 if (!SWIG_IsOK(res1
)) {
23744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetLogicalPosition" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23746 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23747 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 | 0);
23748 if (!SWIG_IsOK(res2
)) {
23749 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MouseEvent_GetLogicalPosition" "', expected argument " "2"" of type '" "wxDC const &""'");
23752 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MouseEvent_GetLogicalPosition" "', expected argument " "2"" of type '" "wxDC const &""'");
23754 arg2
= reinterpret_cast< wxDC
* >(argp2
);
23756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23757 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
23758 wxPyEndAllowThreads(__tstate
);
23759 if (PyErr_Occurred()) SWIG_fail
;
23761 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
23768 SWIGINTERN PyObject
*_wrap_MouseEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23769 PyObject
*resultobj
= 0;
23770 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23774 PyObject
*swig_obj
[1] ;
23776 if (!args
) SWIG_fail
;
23777 swig_obj
[0] = args
;
23778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23779 if (!SWIG_IsOK(res1
)) {
23780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetX" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23782 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23785 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
23786 wxPyEndAllowThreads(__tstate
);
23787 if (PyErr_Occurred()) SWIG_fail
;
23789 resultobj
= SWIG_From_int(static_cast< int >(result
));
23796 SWIGINTERN PyObject
*_wrap_MouseEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23797 PyObject
*resultobj
= 0;
23798 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23802 PyObject
*swig_obj
[1] ;
23804 if (!args
) SWIG_fail
;
23805 swig_obj
[0] = args
;
23806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23807 if (!SWIG_IsOK(res1
)) {
23808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetY" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23810 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23813 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
23814 wxPyEndAllowThreads(__tstate
);
23815 if (PyErr_Occurred()) SWIG_fail
;
23817 resultobj
= SWIG_From_int(static_cast< int >(result
));
23824 SWIGINTERN PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23825 PyObject
*resultobj
= 0;
23826 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23830 PyObject
*swig_obj
[1] ;
23832 if (!args
) SWIG_fail
;
23833 swig_obj
[0] = args
;
23834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23835 if (!SWIG_IsOK(res1
)) {
23836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetWheelRotation" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23838 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23841 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
23842 wxPyEndAllowThreads(__tstate
);
23843 if (PyErr_Occurred()) SWIG_fail
;
23845 resultobj
= SWIG_From_int(static_cast< int >(result
));
23852 SWIGINTERN PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23853 PyObject
*resultobj
= 0;
23854 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23858 PyObject
*swig_obj
[1] ;
23860 if (!args
) SWIG_fail
;
23861 swig_obj
[0] = args
;
23862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23863 if (!SWIG_IsOK(res1
)) {
23864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetWheelDelta" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23866 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23869 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
23870 wxPyEndAllowThreads(__tstate
);
23871 if (PyErr_Occurred()) SWIG_fail
;
23873 resultobj
= SWIG_From_int(static_cast< int >(result
));
23880 SWIGINTERN PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23881 PyObject
*resultobj
= 0;
23882 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23886 PyObject
*swig_obj
[1] ;
23888 if (!args
) SWIG_fail
;
23889 swig_obj
[0] = args
;
23890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23891 if (!SWIG_IsOK(res1
)) {
23892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetLinesPerAction" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23894 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23897 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
23898 wxPyEndAllowThreads(__tstate
);
23899 if (PyErr_Occurred()) SWIG_fail
;
23901 resultobj
= SWIG_From_int(static_cast< int >(result
));
23908 SWIGINTERN PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23909 PyObject
*resultobj
= 0;
23910 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23914 PyObject
*swig_obj
[1] ;
23916 if (!args
) SWIG_fail
;
23917 swig_obj
[0] = args
;
23918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23919 if (!SWIG_IsOK(res1
)) {
23920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_IsPageScroll" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23922 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23925 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
23926 wxPyEndAllowThreads(__tstate
);
23927 if (PyErr_Occurred()) SWIG_fail
;
23930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23938 SWIGINTERN PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23939 PyObject
*resultobj
= 0;
23940 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23946 PyObject
*swig_obj
[2] ;
23948 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_x_set",2,2,swig_obj
)) SWIG_fail
;
23949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23950 if (!SWIG_IsOK(res1
)) {
23951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_x_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
23953 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23954 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
23955 if (!SWIG_IsOK(ecode2
)) {
23956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_x_set" "', expected argument " "2"" of type '" "int""'");
23958 arg2
= static_cast< int >(val2
);
23959 if (arg1
) (arg1
)->m_x
= arg2
;
23961 resultobj
= SWIG_Py_Void();
23968 SWIGINTERN PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23969 PyObject
*resultobj
= 0;
23970 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23974 PyObject
*swig_obj
[1] ;
23976 if (!args
) SWIG_fail
;
23977 swig_obj
[0] = args
;
23978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23979 if (!SWIG_IsOK(res1
)) {
23980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_x_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
23982 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23983 result
= (int) ((arg1
)->m_x
);
23984 resultobj
= SWIG_From_int(static_cast< int >(result
));
23991 SWIGINTERN PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23992 PyObject
*resultobj
= 0;
23993 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23999 PyObject
*swig_obj
[2] ;
24001 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_y_set",2,2,swig_obj
)) SWIG_fail
;
24002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24003 if (!SWIG_IsOK(res1
)) {
24004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_y_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
24006 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24007 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
24008 if (!SWIG_IsOK(ecode2
)) {
24009 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_y_set" "', expected argument " "2"" of type '" "int""'");
24011 arg2
= static_cast< int >(val2
);
24012 if (arg1
) (arg1
)->m_y
= arg2
;
24014 resultobj
= SWIG_Py_Void();
24021 SWIGINTERN PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24022 PyObject
*resultobj
= 0;
24023 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24027 PyObject
*swig_obj
[1] ;
24029 if (!args
) SWIG_fail
;
24030 swig_obj
[0] = args
;
24031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24032 if (!SWIG_IsOK(res1
)) {
24033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_y_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
24035 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24036 result
= (int) ((arg1
)->m_y
);
24037 resultobj
= SWIG_From_int(static_cast< int >(result
));
24044 SWIGINTERN PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24045 PyObject
*resultobj
= 0;
24046 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24052 PyObject
*swig_obj
[2] ;
24054 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_leftDown_set",2,2,swig_obj
)) SWIG_fail
;
24055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24056 if (!SWIG_IsOK(res1
)) {
24057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_leftDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
24059 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24060 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
24061 if (!SWIG_IsOK(ecode2
)) {
24062 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_leftDown_set" "', expected argument " "2"" of type '" "bool""'");
24064 arg2
= static_cast< bool >(val2
);
24065 if (arg1
) (arg1
)->m_leftDown
= arg2
;
24067 resultobj
= SWIG_Py_Void();
24074 SWIGINTERN PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24075 PyObject
*resultobj
= 0;
24076 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24080 PyObject
*swig_obj
[1] ;
24082 if (!args
) SWIG_fail
;
24083 swig_obj
[0] = args
;
24084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24085 if (!SWIG_IsOK(res1
)) {
24086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_leftDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
24088 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24089 result
= (bool) ((arg1
)->m_leftDown
);
24091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24099 SWIGINTERN PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24100 PyObject
*resultobj
= 0;
24101 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24107 PyObject
*swig_obj
[2] ;
24109 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_middleDown_set",2,2,swig_obj
)) SWIG_fail
;
24110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24111 if (!SWIG_IsOK(res1
)) {
24112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_middleDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
24114 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24115 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
24116 if (!SWIG_IsOK(ecode2
)) {
24117 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_middleDown_set" "', expected argument " "2"" of type '" "bool""'");
24119 arg2
= static_cast< bool >(val2
);
24120 if (arg1
) (arg1
)->m_middleDown
= arg2
;
24122 resultobj
= SWIG_Py_Void();
24129 SWIGINTERN PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24130 PyObject
*resultobj
= 0;
24131 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24135 PyObject
*swig_obj
[1] ;
24137 if (!args
) SWIG_fail
;
24138 swig_obj
[0] = args
;
24139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24140 if (!SWIG_IsOK(res1
)) {
24141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_middleDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
24143 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24144 result
= (bool) ((arg1
)->m_middleDown
);
24146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24154 SWIGINTERN PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24155 PyObject
*resultobj
= 0;
24156 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24162 PyObject
*swig_obj
[2] ;
24164 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_rightDown_set",2,2,swig_obj
)) SWIG_fail
;
24165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24166 if (!SWIG_IsOK(res1
)) {
24167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_rightDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
24169 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24170 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
24171 if (!SWIG_IsOK(ecode2
)) {
24172 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_rightDown_set" "', expected argument " "2"" of type '" "bool""'");
24174 arg2
= static_cast< bool >(val2
);
24175 if (arg1
) (arg1
)->m_rightDown
= arg2
;
24177 resultobj
= SWIG_Py_Void();
24184 SWIGINTERN PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24185 PyObject
*resultobj
= 0;
24186 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24190 PyObject
*swig_obj
[1] ;
24192 if (!args
) SWIG_fail
;
24193 swig_obj
[0] = args
;
24194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24195 if (!SWIG_IsOK(res1
)) {
24196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_rightDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
24198 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24199 result
= (bool) ((arg1
)->m_rightDown
);
24201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24209 SWIGINTERN PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24210 PyObject
*resultobj
= 0;
24211 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24217 PyObject
*swig_obj
[2] ;
24219 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_controlDown_set",2,2,swig_obj
)) SWIG_fail
;
24220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24221 if (!SWIG_IsOK(res1
)) {
24222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_controlDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
24224 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24225 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
24226 if (!SWIG_IsOK(ecode2
)) {
24227 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_controlDown_set" "', expected argument " "2"" of type '" "bool""'");
24229 arg2
= static_cast< bool >(val2
);
24230 if (arg1
) (arg1
)->m_controlDown
= arg2
;
24232 resultobj
= SWIG_Py_Void();
24239 SWIGINTERN PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24240 PyObject
*resultobj
= 0;
24241 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24245 PyObject
*swig_obj
[1] ;
24247 if (!args
) SWIG_fail
;
24248 swig_obj
[0] = args
;
24249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24250 if (!SWIG_IsOK(res1
)) {
24251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_controlDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
24253 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24254 result
= (bool) ((arg1
)->m_controlDown
);
24256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24264 SWIGINTERN PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24265 PyObject
*resultobj
= 0;
24266 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24272 PyObject
*swig_obj
[2] ;
24274 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_shiftDown_set",2,2,swig_obj
)) SWIG_fail
;
24275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24276 if (!SWIG_IsOK(res1
)) {
24277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_shiftDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
24279 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24280 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
24281 if (!SWIG_IsOK(ecode2
)) {
24282 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_shiftDown_set" "', expected argument " "2"" of type '" "bool""'");
24284 arg2
= static_cast< bool >(val2
);
24285 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
24287 resultobj
= SWIG_Py_Void();
24294 SWIGINTERN PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24295 PyObject
*resultobj
= 0;
24296 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24300 PyObject
*swig_obj
[1] ;
24302 if (!args
) SWIG_fail
;
24303 swig_obj
[0] = args
;
24304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24305 if (!SWIG_IsOK(res1
)) {
24306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_shiftDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
24308 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24309 result
= (bool) ((arg1
)->m_shiftDown
);
24311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24319 SWIGINTERN PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24320 PyObject
*resultobj
= 0;
24321 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24327 PyObject
*swig_obj
[2] ;
24329 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_altDown_set",2,2,swig_obj
)) SWIG_fail
;
24330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24331 if (!SWIG_IsOK(res1
)) {
24332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_altDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
24334 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24335 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
24336 if (!SWIG_IsOK(ecode2
)) {
24337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_altDown_set" "', expected argument " "2"" of type '" "bool""'");
24339 arg2
= static_cast< bool >(val2
);
24340 if (arg1
) (arg1
)->m_altDown
= arg2
;
24342 resultobj
= SWIG_Py_Void();
24349 SWIGINTERN PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24350 PyObject
*resultobj
= 0;
24351 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24355 PyObject
*swig_obj
[1] ;
24357 if (!args
) SWIG_fail
;
24358 swig_obj
[0] = args
;
24359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24360 if (!SWIG_IsOK(res1
)) {
24361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_altDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
24363 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24364 result
= (bool) ((arg1
)->m_altDown
);
24366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24374 SWIGINTERN PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24375 PyObject
*resultobj
= 0;
24376 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24382 PyObject
*swig_obj
[2] ;
24384 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_metaDown_set",2,2,swig_obj
)) SWIG_fail
;
24385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24386 if (!SWIG_IsOK(res1
)) {
24387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_metaDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
24389 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24390 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
24391 if (!SWIG_IsOK(ecode2
)) {
24392 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_metaDown_set" "', expected argument " "2"" of type '" "bool""'");
24394 arg2
= static_cast< bool >(val2
);
24395 if (arg1
) (arg1
)->m_metaDown
= arg2
;
24397 resultobj
= SWIG_Py_Void();
24404 SWIGINTERN PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24405 PyObject
*resultobj
= 0;
24406 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24410 PyObject
*swig_obj
[1] ;
24412 if (!args
) SWIG_fail
;
24413 swig_obj
[0] = args
;
24414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24415 if (!SWIG_IsOK(res1
)) {
24416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_metaDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
24418 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24419 result
= (bool) ((arg1
)->m_metaDown
);
24421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24429 SWIGINTERN PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24430 PyObject
*resultobj
= 0;
24431 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24437 PyObject
*swig_obj
[2] ;
24439 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_wheelRotation_set",2,2,swig_obj
)) SWIG_fail
;
24440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24441 if (!SWIG_IsOK(res1
)) {
24442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_wheelRotation_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
24444 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24445 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
24446 if (!SWIG_IsOK(ecode2
)) {
24447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_wheelRotation_set" "', expected argument " "2"" of type '" "int""'");
24449 arg2
= static_cast< int >(val2
);
24450 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
24452 resultobj
= SWIG_Py_Void();
24459 SWIGINTERN PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24460 PyObject
*resultobj
= 0;
24461 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24465 PyObject
*swig_obj
[1] ;
24467 if (!args
) SWIG_fail
;
24468 swig_obj
[0] = args
;
24469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24470 if (!SWIG_IsOK(res1
)) {
24471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_wheelRotation_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
24473 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24474 result
= (int) ((arg1
)->m_wheelRotation
);
24475 resultobj
= SWIG_From_int(static_cast< int >(result
));
24482 SWIGINTERN PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24483 PyObject
*resultobj
= 0;
24484 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24490 PyObject
*swig_obj
[2] ;
24492 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_wheelDelta_set",2,2,swig_obj
)) SWIG_fail
;
24493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24494 if (!SWIG_IsOK(res1
)) {
24495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_wheelDelta_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
24497 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24498 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
24499 if (!SWIG_IsOK(ecode2
)) {
24500 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_wheelDelta_set" "', expected argument " "2"" of type '" "int""'");
24502 arg2
= static_cast< int >(val2
);
24503 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
24505 resultobj
= SWIG_Py_Void();
24512 SWIGINTERN PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24513 PyObject
*resultobj
= 0;
24514 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24518 PyObject
*swig_obj
[1] ;
24520 if (!args
) SWIG_fail
;
24521 swig_obj
[0] = args
;
24522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24523 if (!SWIG_IsOK(res1
)) {
24524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_wheelDelta_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
24526 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24527 result
= (int) ((arg1
)->m_wheelDelta
);
24528 resultobj
= SWIG_From_int(static_cast< int >(result
));
24535 SWIGINTERN PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24536 PyObject
*resultobj
= 0;
24537 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24543 PyObject
*swig_obj
[2] ;
24545 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_linesPerAction_set",2,2,swig_obj
)) SWIG_fail
;
24546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24547 if (!SWIG_IsOK(res1
)) {
24548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_linesPerAction_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
24550 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24551 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
24552 if (!SWIG_IsOK(ecode2
)) {
24553 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_linesPerAction_set" "', expected argument " "2"" of type '" "int""'");
24555 arg2
= static_cast< int >(val2
);
24556 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
24558 resultobj
= SWIG_Py_Void();
24565 SWIGINTERN PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24566 PyObject
*resultobj
= 0;
24567 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24571 PyObject
*swig_obj
[1] ;
24573 if (!args
) SWIG_fail
;
24574 swig_obj
[0] = args
;
24575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24576 if (!SWIG_IsOK(res1
)) {
24577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_linesPerAction_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
24579 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24580 result
= (int) ((arg1
)->m_linesPerAction
);
24581 resultobj
= SWIG_From_int(static_cast< int >(result
));
24588 SWIGINTERN PyObject
*MouseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24590 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24591 SWIG_TypeNewClientData(SWIGTYPE_p_wxMouseEvent
, SWIG_NewClientData(obj
));
24592 return SWIG_Py_Void();
24595 SWIGINTERN PyObject
*MouseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24596 return SWIG_Python_InitShadowInstance(args
);
24599 SWIGINTERN PyObject
*_wrap_new_SetCursorEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24600 PyObject
*resultobj
= 0;
24601 int arg1
= (int) 0 ;
24602 int arg2
= (int) 0 ;
24603 wxSetCursorEvent
*result
= 0 ;
24608 PyObject
* obj0
= 0 ;
24609 PyObject
* obj1
= 0 ;
24610 char * kwnames
[] = {
24611 (char *) "x",(char *) "y", NULL
24614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24616 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24617 if (!SWIG_IsOK(ecode1
)) {
24618 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SetCursorEvent" "', expected argument " "1"" of type '" "int""'");
24620 arg1
= static_cast< int >(val1
);
24623 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24624 if (!SWIG_IsOK(ecode2
)) {
24625 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SetCursorEvent" "', expected argument " "2"" of type '" "int""'");
24627 arg2
= static_cast< int >(val2
);
24630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24631 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
24632 wxPyEndAllowThreads(__tstate
);
24633 if (PyErr_Occurred()) SWIG_fail
;
24635 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_NEW
| 0 );
24642 SWIGINTERN PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24643 PyObject
*resultobj
= 0;
24644 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
24648 PyObject
*swig_obj
[1] ;
24650 if (!args
) SWIG_fail
;
24651 swig_obj
[0] = args
;
24652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSetCursorEvent
, 0 | 0 );
24653 if (!SWIG_IsOK(res1
)) {
24654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursorEvent_GetX" "', expected argument " "1"" of type '" "wxSetCursorEvent const *""'");
24656 arg1
= reinterpret_cast< wxSetCursorEvent
* >(argp1
);
24658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24659 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
24660 wxPyEndAllowThreads(__tstate
);
24661 if (PyErr_Occurred()) SWIG_fail
;
24663 resultobj
= SWIG_From_int(static_cast< int >(result
));
24670 SWIGINTERN PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24671 PyObject
*resultobj
= 0;
24672 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
24676 PyObject
*swig_obj
[1] ;
24678 if (!args
) SWIG_fail
;
24679 swig_obj
[0] = args
;
24680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSetCursorEvent
, 0 | 0 );
24681 if (!SWIG_IsOK(res1
)) {
24682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursorEvent_GetY" "', expected argument " "1"" of type '" "wxSetCursorEvent const *""'");
24684 arg1
= reinterpret_cast< wxSetCursorEvent
* >(argp1
);
24686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24687 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
24688 wxPyEndAllowThreads(__tstate
);
24689 if (PyErr_Occurred()) SWIG_fail
;
24691 resultobj
= SWIG_From_int(static_cast< int >(result
));
24698 SWIGINTERN PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24699 PyObject
*resultobj
= 0;
24700 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
24701 wxCursor
*arg2
= 0 ;
24706 PyObject
* obj0
= 0 ;
24707 PyObject
* obj1
= 0 ;
24708 char * kwnames
[] = {
24709 (char *) "self",(char *) "cursor", NULL
24712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSetCursorEvent
, 0 | 0 );
24714 if (!SWIG_IsOK(res1
)) {
24715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursorEvent_SetCursor" "', expected argument " "1"" of type '" "wxSetCursorEvent *""'");
24717 arg1
= reinterpret_cast< wxSetCursorEvent
* >(argp1
);
24718 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
24719 if (!SWIG_IsOK(res2
)) {
24720 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SetCursorEvent_SetCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
24723 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SetCursorEvent_SetCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
24725 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
24727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24728 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
24729 wxPyEndAllowThreads(__tstate
);
24730 if (PyErr_Occurred()) SWIG_fail
;
24732 resultobj
= SWIG_Py_Void();
24739 SWIGINTERN PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24740 PyObject
*resultobj
= 0;
24741 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
24742 wxCursor
*result
= 0 ;
24745 PyObject
*swig_obj
[1] ;
24747 if (!args
) SWIG_fail
;
24748 swig_obj
[0] = args
;
24749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSetCursorEvent
, 0 | 0 );
24750 if (!SWIG_IsOK(res1
)) {
24751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursorEvent_GetCursor" "', expected argument " "1"" of type '" "wxSetCursorEvent const *""'");
24753 arg1
= reinterpret_cast< wxSetCursorEvent
* >(argp1
);
24755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24757 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
24758 result
= (wxCursor
*) &_result_ref
;
24760 wxPyEndAllowThreads(__tstate
);
24761 if (PyErr_Occurred()) SWIG_fail
;
24764 wxCursor
* resultptr
= new wxCursor(*result
);
24765 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
24773 SWIGINTERN PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24774 PyObject
*resultobj
= 0;
24775 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
24779 PyObject
*swig_obj
[1] ;
24781 if (!args
) SWIG_fail
;
24782 swig_obj
[0] = args
;
24783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSetCursorEvent
, 0 | 0 );
24784 if (!SWIG_IsOK(res1
)) {
24785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursorEvent_HasCursor" "', expected argument " "1"" of type '" "wxSetCursorEvent const *""'");
24787 arg1
= reinterpret_cast< wxSetCursorEvent
* >(argp1
);
24789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24790 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
24791 wxPyEndAllowThreads(__tstate
);
24792 if (PyErr_Occurred()) SWIG_fail
;
24795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24803 SWIGINTERN PyObject
*SetCursorEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24805 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24806 SWIG_TypeNewClientData(SWIGTYPE_p_wxSetCursorEvent
, SWIG_NewClientData(obj
));
24807 return SWIG_Py_Void();
24810 SWIGINTERN PyObject
*SetCursorEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24811 return SWIG_Python_InitShadowInstance(args
);
24814 SWIGINTERN PyObject
*_wrap_new_KeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24815 PyObject
*resultobj
= 0;
24816 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
24817 wxKeyEvent
*result
= 0 ;
24820 PyObject
* obj0
= 0 ;
24821 char * kwnames
[] = {
24822 (char *) "eventType", NULL
24825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) SWIG_fail
;
24827 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24828 if (!SWIG_IsOK(ecode1
)) {
24829 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_KeyEvent" "', expected argument " "1"" of type '" "wxEventType""'");
24831 arg1
= static_cast< wxEventType
>(val1
);
24834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24835 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
24836 wxPyEndAllowThreads(__tstate
);
24837 if (PyErr_Occurred()) SWIG_fail
;
24839 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_NEW
| 0 );
24846 SWIGINTERN PyObject
*_wrap_KeyEvent_GetModifiers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24847 PyObject
*resultobj
= 0;
24848 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
24852 PyObject
*swig_obj
[1] ;
24854 if (!args
) SWIG_fail
;
24855 swig_obj
[0] = args
;
24856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
24857 if (!SWIG_IsOK(res1
)) {
24858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetModifiers" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
24860 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
24862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24863 result
= (int)((wxKeyEvent
const *)arg1
)->GetModifiers();
24864 wxPyEndAllowThreads(__tstate
);
24865 if (PyErr_Occurred()) SWIG_fail
;
24867 resultobj
= SWIG_From_int(static_cast< int >(result
));
24874 SWIGINTERN PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24875 PyObject
*resultobj
= 0;
24876 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
24880 PyObject
*swig_obj
[1] ;
24882 if (!args
) SWIG_fail
;
24883 swig_obj
[0] = args
;
24884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
24885 if (!SWIG_IsOK(res1
)) {
24886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_ControlDown" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
24888 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
24890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24891 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
24892 wxPyEndAllowThreads(__tstate
);
24893 if (PyErr_Occurred()) SWIG_fail
;
24896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24904 SWIGINTERN PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24905 PyObject
*resultobj
= 0;
24906 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
24910 PyObject
*swig_obj
[1] ;
24912 if (!args
) SWIG_fail
;
24913 swig_obj
[0] = args
;
24914 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
24915 if (!SWIG_IsOK(res1
)) {
24916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_MetaDown" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
24918 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
24920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24921 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
24922 wxPyEndAllowThreads(__tstate
);
24923 if (PyErr_Occurred()) SWIG_fail
;
24926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24934 SWIGINTERN PyObject
*_wrap_KeyEvent_AltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24935 PyObject
*resultobj
= 0;
24936 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
24940 PyObject
*swig_obj
[1] ;
24942 if (!args
) SWIG_fail
;
24943 swig_obj
[0] = args
;
24944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
24945 if (!SWIG_IsOK(res1
)) {
24946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_AltDown" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
24948 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
24950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24951 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
24952 wxPyEndAllowThreads(__tstate
);
24953 if (PyErr_Occurred()) SWIG_fail
;
24956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24964 SWIGINTERN PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24965 PyObject
*resultobj
= 0;
24966 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
24970 PyObject
*swig_obj
[1] ;
24972 if (!args
) SWIG_fail
;
24973 swig_obj
[0] = args
;
24974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
24975 if (!SWIG_IsOK(res1
)) {
24976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_ShiftDown" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
24978 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
24980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24981 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
24982 wxPyEndAllowThreads(__tstate
);
24983 if (PyErr_Occurred()) SWIG_fail
;
24986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24994 SWIGINTERN PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24995 PyObject
*resultobj
= 0;
24996 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25000 PyObject
*swig_obj
[1] ;
25002 if (!args
) SWIG_fail
;
25003 swig_obj
[0] = args
;
25004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25005 if (!SWIG_IsOK(res1
)) {
25006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_CmdDown" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
25008 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25011 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
25012 wxPyEndAllowThreads(__tstate
);
25013 if (PyErr_Occurred()) SWIG_fail
;
25016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25024 SWIGINTERN PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25025 PyObject
*resultobj
= 0;
25026 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25030 PyObject
*swig_obj
[1] ;
25032 if (!args
) SWIG_fail
;
25033 swig_obj
[0] = args
;
25034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25035 if (!SWIG_IsOK(res1
)) {
25036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_HasModifiers" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
25038 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25041 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
25042 wxPyEndAllowThreads(__tstate
);
25043 if (PyErr_Occurred()) SWIG_fail
;
25046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25054 SWIGINTERN PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25055 PyObject
*resultobj
= 0;
25056 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25060 PyObject
*swig_obj
[1] ;
25062 if (!args
) SWIG_fail
;
25063 swig_obj
[0] = args
;
25064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25065 if (!SWIG_IsOK(res1
)) {
25066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
25068 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25071 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
25072 wxPyEndAllowThreads(__tstate
);
25073 if (PyErr_Occurred()) SWIG_fail
;
25075 resultobj
= SWIG_From_int(static_cast< int >(result
));
25082 SWIGINTERN PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25083 PyObject
*resultobj
= 0;
25084 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25088 PyObject
*swig_obj
[1] ;
25090 if (!args
) SWIG_fail
;
25091 swig_obj
[0] = args
;
25092 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25093 if (!SWIG_IsOK(res1
)) {
25094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetUnicodeKey" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25096 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25099 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
25100 wxPyEndAllowThreads(__tstate
);
25101 if (PyErr_Occurred()) SWIG_fail
;
25103 resultobj
= SWIG_From_int(static_cast< int >(result
));
25110 SWIGINTERN PyObject
*_wrap_KeyEvent_SetUnicodeKey(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25111 PyObject
*resultobj
= 0;
25112 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25118 PyObject
* obj0
= 0 ;
25119 PyObject
* obj1
= 0 ;
25120 char * kwnames
[] = {
25121 (char *) "self",(char *) "uniChar", NULL
25124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_SetUnicodeKey",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25126 if (!SWIG_IsOK(res1
)) {
25127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_SetUnicodeKey" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25129 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25130 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25131 if (!SWIG_IsOK(ecode2
)) {
25132 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_SetUnicodeKey" "', expected argument " "2"" of type '" "int""'");
25134 arg2
= static_cast< int >(val2
);
25136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25137 wxKeyEvent_SetUnicodeKey(arg1
,arg2
);
25138 wxPyEndAllowThreads(__tstate
);
25139 if (PyErr_Occurred()) SWIG_fail
;
25141 resultobj
= SWIG_Py_Void();
25148 SWIGINTERN PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25149 PyObject
*resultobj
= 0;
25150 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25151 unsigned int result
;
25154 PyObject
*swig_obj
[1] ;
25156 if (!args
) SWIG_fail
;
25157 swig_obj
[0] = args
;
25158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25159 if (!SWIG_IsOK(res1
)) {
25160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetRawKeyCode" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
25162 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25165 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
25166 wxPyEndAllowThreads(__tstate
);
25167 if (PyErr_Occurred()) SWIG_fail
;
25169 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
25176 SWIGINTERN PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25177 PyObject
*resultobj
= 0;
25178 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25179 unsigned int result
;
25182 PyObject
*swig_obj
[1] ;
25184 if (!args
) SWIG_fail
;
25185 swig_obj
[0] = args
;
25186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25187 if (!SWIG_IsOK(res1
)) {
25188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetRawKeyFlags" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
25190 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25193 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
25194 wxPyEndAllowThreads(__tstate
);
25195 if (PyErr_Occurred()) SWIG_fail
;
25197 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
25204 SWIGINTERN PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25205 PyObject
*resultobj
= 0;
25206 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25210 PyObject
*swig_obj
[1] ;
25212 if (!args
) SWIG_fail
;
25213 swig_obj
[0] = args
;
25214 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25215 if (!SWIG_IsOK(res1
)) {
25216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetPosition" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25218 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25221 result
= (arg1
)->GetPosition();
25222 wxPyEndAllowThreads(__tstate
);
25223 if (PyErr_Occurred()) SWIG_fail
;
25225 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25232 SWIGINTERN PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25233 PyObject
*resultobj
= 0;
25234 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25235 long *arg2
= (long *) 0 ;
25236 long *arg3
= (long *) 0 ;
25240 int res2
= SWIG_TMPOBJ
;
25242 int res3
= SWIG_TMPOBJ
;
25243 PyObject
*swig_obj
[1] ;
25247 if (!args
) SWIG_fail
;
25248 swig_obj
[0] = args
;
25249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25250 if (!SWIG_IsOK(res1
)) {
25251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetPositionTuple" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25253 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25256 (arg1
)->GetPosition(arg2
,arg3
);
25257 wxPyEndAllowThreads(__tstate
);
25258 if (PyErr_Occurred()) SWIG_fail
;
25260 resultobj
= SWIG_Py_Void();
25261 if (SWIG_IsTmpObj(res2
)) {
25262 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
25264 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25265 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
25267 if (SWIG_IsTmpObj(res3
)) {
25268 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
25270 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25271 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
25279 SWIGINTERN PyObject
*_wrap_KeyEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25280 PyObject
*resultobj
= 0;
25281 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25285 PyObject
*swig_obj
[1] ;
25287 if (!args
) SWIG_fail
;
25288 swig_obj
[0] = args
;
25289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25290 if (!SWIG_IsOK(res1
)) {
25291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetX" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
25293 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25296 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
25297 wxPyEndAllowThreads(__tstate
);
25298 if (PyErr_Occurred()) SWIG_fail
;
25300 resultobj
= SWIG_From_int(static_cast< int >(result
));
25307 SWIGINTERN PyObject
*_wrap_KeyEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25308 PyObject
*resultobj
= 0;
25309 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25313 PyObject
*swig_obj
[1] ;
25315 if (!args
) SWIG_fail
;
25316 swig_obj
[0] = args
;
25317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25318 if (!SWIG_IsOK(res1
)) {
25319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetY" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
25321 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25324 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
25325 wxPyEndAllowThreads(__tstate
);
25326 if (PyErr_Occurred()) SWIG_fail
;
25328 resultobj
= SWIG_From_int(static_cast< int >(result
));
25335 SWIGINTERN PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25336 PyObject
*resultobj
= 0;
25337 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25343 PyObject
*swig_obj
[2] ;
25345 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_x_set",2,2,swig_obj
)) SWIG_fail
;
25346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25347 if (!SWIG_IsOK(res1
)) {
25348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_x_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25350 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25351 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
25352 if (!SWIG_IsOK(ecode2
)) {
25353 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_x_set" "', expected argument " "2"" of type '" "int""'");
25355 arg2
= static_cast< int >(val2
);
25356 if (arg1
) (arg1
)->m_x
= arg2
;
25358 resultobj
= SWIG_Py_Void();
25365 SWIGINTERN PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25366 PyObject
*resultobj
= 0;
25367 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25371 PyObject
*swig_obj
[1] ;
25373 if (!args
) SWIG_fail
;
25374 swig_obj
[0] = args
;
25375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25376 if (!SWIG_IsOK(res1
)) {
25377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_x_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25379 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25380 result
= (int) ((arg1
)->m_x
);
25381 resultobj
= SWIG_From_int(static_cast< int >(result
));
25388 SWIGINTERN PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25389 PyObject
*resultobj
= 0;
25390 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25396 PyObject
*swig_obj
[2] ;
25398 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_y_set",2,2,swig_obj
)) SWIG_fail
;
25399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25400 if (!SWIG_IsOK(res1
)) {
25401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_y_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25403 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25404 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
25405 if (!SWIG_IsOK(ecode2
)) {
25406 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_y_set" "', expected argument " "2"" of type '" "int""'");
25408 arg2
= static_cast< int >(val2
);
25409 if (arg1
) (arg1
)->m_y
= arg2
;
25411 resultobj
= SWIG_Py_Void();
25418 SWIGINTERN PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25419 PyObject
*resultobj
= 0;
25420 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25424 PyObject
*swig_obj
[1] ;
25426 if (!args
) SWIG_fail
;
25427 swig_obj
[0] = args
;
25428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25429 if (!SWIG_IsOK(res1
)) {
25430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_y_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25432 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25433 result
= (int) ((arg1
)->m_y
);
25434 resultobj
= SWIG_From_int(static_cast< int >(result
));
25441 SWIGINTERN PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25442 PyObject
*resultobj
= 0;
25443 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25449 PyObject
*swig_obj
[2] ;
25451 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_keyCode_set",2,2,swig_obj
)) SWIG_fail
;
25452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25453 if (!SWIG_IsOK(res1
)) {
25454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_keyCode_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25456 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25457 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
25458 if (!SWIG_IsOK(ecode2
)) {
25459 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_keyCode_set" "', expected argument " "2"" of type '" "long""'");
25461 arg2
= static_cast< long >(val2
);
25462 if (arg1
) (arg1
)->m_keyCode
= arg2
;
25464 resultobj
= SWIG_Py_Void();
25471 SWIGINTERN PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25472 PyObject
*resultobj
= 0;
25473 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25477 PyObject
*swig_obj
[1] ;
25479 if (!args
) SWIG_fail
;
25480 swig_obj
[0] = args
;
25481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25482 if (!SWIG_IsOK(res1
)) {
25483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_keyCode_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25485 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25486 result
= (long) ((arg1
)->m_keyCode
);
25487 resultobj
= SWIG_From_long(static_cast< long >(result
));
25494 SWIGINTERN PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25495 PyObject
*resultobj
= 0;
25496 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25502 PyObject
*swig_obj
[2] ;
25504 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_controlDown_set",2,2,swig_obj
)) SWIG_fail
;
25505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25506 if (!SWIG_IsOK(res1
)) {
25507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_controlDown_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25509 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25510 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
25511 if (!SWIG_IsOK(ecode2
)) {
25512 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_controlDown_set" "', expected argument " "2"" of type '" "bool""'");
25514 arg2
= static_cast< bool >(val2
);
25515 if (arg1
) (arg1
)->m_controlDown
= arg2
;
25517 resultobj
= SWIG_Py_Void();
25524 SWIGINTERN PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25525 PyObject
*resultobj
= 0;
25526 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25530 PyObject
*swig_obj
[1] ;
25532 if (!args
) SWIG_fail
;
25533 swig_obj
[0] = args
;
25534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25535 if (!SWIG_IsOK(res1
)) {
25536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_controlDown_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25538 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25539 result
= (bool) ((arg1
)->m_controlDown
);
25541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25549 SWIGINTERN PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25550 PyObject
*resultobj
= 0;
25551 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25557 PyObject
*swig_obj
[2] ;
25559 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_shiftDown_set",2,2,swig_obj
)) SWIG_fail
;
25560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25561 if (!SWIG_IsOK(res1
)) {
25562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_shiftDown_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25564 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25565 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
25566 if (!SWIG_IsOK(ecode2
)) {
25567 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_shiftDown_set" "', expected argument " "2"" of type '" "bool""'");
25569 arg2
= static_cast< bool >(val2
);
25570 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
25572 resultobj
= SWIG_Py_Void();
25579 SWIGINTERN PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25580 PyObject
*resultobj
= 0;
25581 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25585 PyObject
*swig_obj
[1] ;
25587 if (!args
) SWIG_fail
;
25588 swig_obj
[0] = args
;
25589 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25590 if (!SWIG_IsOK(res1
)) {
25591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_shiftDown_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25593 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25594 result
= (bool) ((arg1
)->m_shiftDown
);
25596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25604 SWIGINTERN PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25605 PyObject
*resultobj
= 0;
25606 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25612 PyObject
*swig_obj
[2] ;
25614 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_altDown_set",2,2,swig_obj
)) SWIG_fail
;
25615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25616 if (!SWIG_IsOK(res1
)) {
25617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_altDown_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25619 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25620 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
25621 if (!SWIG_IsOK(ecode2
)) {
25622 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_altDown_set" "', expected argument " "2"" of type '" "bool""'");
25624 arg2
= static_cast< bool >(val2
);
25625 if (arg1
) (arg1
)->m_altDown
= arg2
;
25627 resultobj
= SWIG_Py_Void();
25634 SWIGINTERN PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25635 PyObject
*resultobj
= 0;
25636 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25640 PyObject
*swig_obj
[1] ;
25642 if (!args
) SWIG_fail
;
25643 swig_obj
[0] = args
;
25644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25645 if (!SWIG_IsOK(res1
)) {
25646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_altDown_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25648 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25649 result
= (bool) ((arg1
)->m_altDown
);
25651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25659 SWIGINTERN PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25660 PyObject
*resultobj
= 0;
25661 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25667 PyObject
*swig_obj
[2] ;
25669 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_metaDown_set",2,2,swig_obj
)) SWIG_fail
;
25670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25671 if (!SWIG_IsOK(res1
)) {
25672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_metaDown_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25674 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25675 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
25676 if (!SWIG_IsOK(ecode2
)) {
25677 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_metaDown_set" "', expected argument " "2"" of type '" "bool""'");
25679 arg2
= static_cast< bool >(val2
);
25680 if (arg1
) (arg1
)->m_metaDown
= arg2
;
25682 resultobj
= SWIG_Py_Void();
25689 SWIGINTERN PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25690 PyObject
*resultobj
= 0;
25691 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25695 PyObject
*swig_obj
[1] ;
25697 if (!args
) SWIG_fail
;
25698 swig_obj
[0] = args
;
25699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25700 if (!SWIG_IsOK(res1
)) {
25701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_metaDown_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25703 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25704 result
= (bool) ((arg1
)->m_metaDown
);
25706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25714 SWIGINTERN PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25715 PyObject
*resultobj
= 0;
25716 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25722 PyObject
*swig_obj
[2] ;
25724 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_scanCode_set",2,2,swig_obj
)) SWIG_fail
;
25725 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25726 if (!SWIG_IsOK(res1
)) {
25727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_scanCode_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25729 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25730 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
25731 if (!SWIG_IsOK(ecode2
)) {
25732 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_scanCode_set" "', expected argument " "2"" of type '" "bool""'");
25734 arg2
= static_cast< bool >(val2
);
25735 if (arg1
) (arg1
)->m_scanCode
= arg2
;
25737 resultobj
= SWIG_Py_Void();
25744 SWIGINTERN PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25745 PyObject
*resultobj
= 0;
25746 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25750 PyObject
*swig_obj
[1] ;
25752 if (!args
) SWIG_fail
;
25753 swig_obj
[0] = args
;
25754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25755 if (!SWIG_IsOK(res1
)) {
25756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_scanCode_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25758 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25759 result
= (bool) ((arg1
)->m_scanCode
);
25761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25769 SWIGINTERN PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25770 PyObject
*resultobj
= 0;
25771 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25772 unsigned int arg2
;
25775 unsigned int val2
;
25777 PyObject
*swig_obj
[2] ;
25779 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_rawCode_set",2,2,swig_obj
)) SWIG_fail
;
25780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25781 if (!SWIG_IsOK(res1
)) {
25782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_rawCode_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25784 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25785 ecode2
= SWIG_AsVal_unsigned_SS_int(swig_obj
[1], &val2
);
25786 if (!SWIG_IsOK(ecode2
)) {
25787 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_rawCode_set" "', expected argument " "2"" of type '" "unsigned int""'");
25789 arg2
= static_cast< unsigned int >(val2
);
25790 if (arg1
) (arg1
)->m_rawCode
= arg2
;
25792 resultobj
= SWIG_Py_Void();
25799 SWIGINTERN PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25800 PyObject
*resultobj
= 0;
25801 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25802 unsigned int result
;
25805 PyObject
*swig_obj
[1] ;
25807 if (!args
) SWIG_fail
;
25808 swig_obj
[0] = args
;
25809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25810 if (!SWIG_IsOK(res1
)) {
25811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_rawCode_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25813 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25814 result
= (unsigned int) ((arg1
)->m_rawCode
);
25815 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
25822 SWIGINTERN PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25823 PyObject
*resultobj
= 0;
25824 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25825 unsigned int arg2
;
25828 unsigned int val2
;
25830 PyObject
*swig_obj
[2] ;
25832 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_rawFlags_set",2,2,swig_obj
)) SWIG_fail
;
25833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25834 if (!SWIG_IsOK(res1
)) {
25835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_rawFlags_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25837 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25838 ecode2
= SWIG_AsVal_unsigned_SS_int(swig_obj
[1], &val2
);
25839 if (!SWIG_IsOK(ecode2
)) {
25840 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_rawFlags_set" "', expected argument " "2"" of type '" "unsigned int""'");
25842 arg2
= static_cast< unsigned int >(val2
);
25843 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
25845 resultobj
= SWIG_Py_Void();
25852 SWIGINTERN PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25853 PyObject
*resultobj
= 0;
25854 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25855 unsigned int result
;
25858 PyObject
*swig_obj
[1] ;
25860 if (!args
) SWIG_fail
;
25861 swig_obj
[0] = args
;
25862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25863 if (!SWIG_IsOK(res1
)) {
25864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_rawFlags_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25866 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25867 result
= (unsigned int) ((arg1
)->m_rawFlags
);
25868 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
25875 SWIGINTERN PyObject
*KeyEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25877 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25878 SWIG_TypeNewClientData(SWIGTYPE_p_wxKeyEvent
, SWIG_NewClientData(obj
));
25879 return SWIG_Py_Void();
25882 SWIGINTERN PyObject
*KeyEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25883 return SWIG_Python_InitShadowInstance(args
);
25886 SWIGINTERN PyObject
*_wrap_new_SizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25887 PyObject
*resultobj
= 0;
25888 wxSize
const &arg1_defvalue
= wxDefaultSize
;
25889 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
25890 int arg2
= (int) 0 ;
25891 wxSizeEvent
*result
= 0 ;
25895 PyObject
* obj0
= 0 ;
25896 PyObject
* obj1
= 0 ;
25897 char * kwnames
[] = {
25898 (char *) "sz",(char *) "winid", NULL
25901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25905 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
25909 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25910 if (!SWIG_IsOK(ecode2
)) {
25911 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SizeEvent" "', expected argument " "2"" of type '" "int""'");
25913 arg2
= static_cast< int >(val2
);
25916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25917 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
25918 wxPyEndAllowThreads(__tstate
);
25919 if (PyErr_Occurred()) SWIG_fail
;
25921 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_NEW
| 0 );
25928 SWIGINTERN PyObject
*_wrap_SizeEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25929 PyObject
*resultobj
= 0;
25930 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
25934 PyObject
*swig_obj
[1] ;
25936 if (!args
) SWIG_fail
;
25937 swig_obj
[0] = args
;
25938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
25939 if (!SWIG_IsOK(res1
)) {
25940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_GetSize" "', expected argument " "1"" of type '" "wxSizeEvent const *""'");
25942 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
25944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25945 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
25946 wxPyEndAllowThreads(__tstate
);
25947 if (PyErr_Occurred()) SWIG_fail
;
25949 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25956 SWIGINTERN PyObject
*_wrap_SizeEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25957 PyObject
*resultobj
= 0;
25958 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
25962 PyObject
*swig_obj
[1] ;
25964 if (!args
) SWIG_fail
;
25965 swig_obj
[0] = args
;
25966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
25967 if (!SWIG_IsOK(res1
)) {
25968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_GetRect" "', expected argument " "1"" of type '" "wxSizeEvent const *""'");
25970 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
25972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25973 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
25974 wxPyEndAllowThreads(__tstate
);
25975 if (PyErr_Occurred()) SWIG_fail
;
25977 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
25984 SWIGINTERN PyObject
*_wrap_SizeEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25985 PyObject
*resultobj
= 0;
25986 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
25992 PyObject
* obj0
= 0 ;
25993 PyObject
* obj1
= 0 ;
25994 char * kwnames
[] = {
25995 (char *) "self",(char *) "rect", NULL
25998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
26000 if (!SWIG_IsOK(res1
)) {
26001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_SetRect" "', expected argument " "1"" of type '" "wxSizeEvent *""'");
26003 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
26005 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRect
, 0 | 0);
26006 if (!SWIG_IsOK(res2
)) {
26007 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SizeEvent_SetRect" "', expected argument " "2"" of type '" "wxRect""'");
26010 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SizeEvent_SetRect" "', expected argument " "2"" of type '" "wxRect""'");
26012 wxRect
* temp
= reinterpret_cast< wxRect
* >(argp2
);
26014 if (SWIG_IsNewObj(res2
)) delete temp
;
26018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26019 (arg1
)->SetRect(arg2
);
26020 wxPyEndAllowThreads(__tstate
);
26021 if (PyErr_Occurred()) SWIG_fail
;
26023 resultobj
= SWIG_Py_Void();
26030 SWIGINTERN PyObject
*_wrap_SizeEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26031 PyObject
*resultobj
= 0;
26032 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
26038 PyObject
* obj0
= 0 ;
26039 PyObject
* obj1
= 0 ;
26040 char * kwnames
[] = {
26041 (char *) "self",(char *) "size", NULL
26044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
26046 if (!SWIG_IsOK(res1
)) {
26047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_SetSize" "', expected argument " "1"" of type '" "wxSizeEvent *""'");
26049 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
26051 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxSize
, 0 | 0);
26052 if (!SWIG_IsOK(res2
)) {
26053 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SizeEvent_SetSize" "', expected argument " "2"" of type '" "wxSize""'");
26056 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SizeEvent_SetSize" "', expected argument " "2"" of type '" "wxSize""'");
26058 wxSize
* temp
= reinterpret_cast< wxSize
* >(argp2
);
26060 if (SWIG_IsNewObj(res2
)) delete temp
;
26064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26065 wxSizeEvent_SetSize(arg1
,arg2
);
26066 wxPyEndAllowThreads(__tstate
);
26067 if (PyErr_Occurred()) SWIG_fail
;
26069 resultobj
= SWIG_Py_Void();
26076 SWIGINTERN PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26077 PyObject
*resultobj
= 0;
26078 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
26079 wxSize
*arg2
= (wxSize
*) 0 ;
26084 PyObject
*swig_obj
[2] ;
26086 if (!SWIG_Python_UnpackTuple(args
,"SizeEvent_m_size_set",2,2,swig_obj
)) SWIG_fail
;
26087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
26088 if (!SWIG_IsOK(res1
)) {
26089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_m_size_set" "', expected argument " "1"" of type '" "wxSizeEvent *""'");
26091 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
26092 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxSize
, 0 | 0 );
26093 if (!SWIG_IsOK(res2
)) {
26094 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SizeEvent_m_size_set" "', expected argument " "2"" of type '" "wxSize *""'");
26096 arg2
= reinterpret_cast< wxSize
* >(argp2
);
26097 if (arg1
) (arg1
)->m_size
= *arg2
;
26099 resultobj
= SWIG_Py_Void();
26106 SWIGINTERN PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26107 PyObject
*resultobj
= 0;
26108 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
26109 wxSize
*result
= 0 ;
26112 PyObject
*swig_obj
[1] ;
26114 if (!args
) SWIG_fail
;
26115 swig_obj
[0] = args
;
26116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
26117 if (!SWIG_IsOK(res1
)) {
26118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_m_size_get" "', expected argument " "1"" of type '" "wxSizeEvent *""'");
26120 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
26121 result
= (wxSize
*)& ((arg1
)->m_size
);
26122 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
26129 SWIGINTERN PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26130 PyObject
*resultobj
= 0;
26131 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
26132 wxRect
*arg2
= (wxRect
*) 0 ;
26137 PyObject
*swig_obj
[2] ;
26139 if (!SWIG_Python_UnpackTuple(args
,"SizeEvent_m_rect_set",2,2,swig_obj
)) SWIG_fail
;
26140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
26141 if (!SWIG_IsOK(res1
)) {
26142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_m_rect_set" "', expected argument " "1"" of type '" "wxSizeEvent *""'");
26144 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
26145 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
26146 if (!SWIG_IsOK(res2
)) {
26147 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SizeEvent_m_rect_set" "', expected argument " "2"" of type '" "wxRect *""'");
26149 arg2
= reinterpret_cast< wxRect
* >(argp2
);
26150 if (arg1
) (arg1
)->m_rect
= *arg2
;
26152 resultobj
= SWIG_Py_Void();
26159 SWIGINTERN PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26160 PyObject
*resultobj
= 0;
26161 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
26162 wxRect
*result
= 0 ;
26165 PyObject
*swig_obj
[1] ;
26167 if (!args
) SWIG_fail
;
26168 swig_obj
[0] = args
;
26169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
26170 if (!SWIG_IsOK(res1
)) {
26171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_m_rect_get" "', expected argument " "1"" of type '" "wxSizeEvent *""'");
26173 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
26174 result
= (wxRect
*)& ((arg1
)->m_rect
);
26175 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, 0 | 0 );
26182 SWIGINTERN PyObject
*SizeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26184 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26185 SWIG_TypeNewClientData(SWIGTYPE_p_wxSizeEvent
, SWIG_NewClientData(obj
));
26186 return SWIG_Py_Void();
26189 SWIGINTERN PyObject
*SizeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26190 return SWIG_Python_InitShadowInstance(args
);
26193 SWIGINTERN PyObject
*_wrap_new_MoveEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26194 PyObject
*resultobj
= 0;
26195 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
26196 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
26197 int arg2
= (int) 0 ;
26198 wxMoveEvent
*result
= 0 ;
26202 PyObject
* obj0
= 0 ;
26203 PyObject
* obj1
= 0 ;
26204 char * kwnames
[] = {
26205 (char *) "pos",(char *) "winid", NULL
26208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26212 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
26216 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26217 if (!SWIG_IsOK(ecode2
)) {
26218 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MoveEvent" "', expected argument " "2"" of type '" "int""'");
26220 arg2
= static_cast< int >(val2
);
26223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26224 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
26225 wxPyEndAllowThreads(__tstate
);
26226 if (PyErr_Occurred()) SWIG_fail
;
26228 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_NEW
| 0 );
26235 SWIGINTERN PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26236 PyObject
*resultobj
= 0;
26237 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
26241 PyObject
*swig_obj
[1] ;
26243 if (!args
) SWIG_fail
;
26244 swig_obj
[0] = args
;
26245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMoveEvent
, 0 | 0 );
26246 if (!SWIG_IsOK(res1
)) {
26247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MoveEvent_GetPosition" "', expected argument " "1"" of type '" "wxMoveEvent const *""'");
26249 arg1
= reinterpret_cast< wxMoveEvent
* >(argp1
);
26251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26252 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
26253 wxPyEndAllowThreads(__tstate
);
26254 if (PyErr_Occurred()) SWIG_fail
;
26256 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
26263 SWIGINTERN PyObject
*_wrap_MoveEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26264 PyObject
*resultobj
= 0;
26265 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
26269 PyObject
*swig_obj
[1] ;
26271 if (!args
) SWIG_fail
;
26272 swig_obj
[0] = args
;
26273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMoveEvent
, 0 | 0 );
26274 if (!SWIG_IsOK(res1
)) {
26275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MoveEvent_GetRect" "', expected argument " "1"" of type '" "wxMoveEvent const *""'");
26277 arg1
= reinterpret_cast< wxMoveEvent
* >(argp1
);
26279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26280 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
26281 wxPyEndAllowThreads(__tstate
);
26282 if (PyErr_Occurred()) SWIG_fail
;
26284 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
26291 SWIGINTERN PyObject
*_wrap_MoveEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26292 PyObject
*resultobj
= 0;
26293 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
26298 PyObject
* obj0
= 0 ;
26299 PyObject
* obj1
= 0 ;
26300 char * kwnames
[] = {
26301 (char *) "self",(char *) "rect", NULL
26304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMoveEvent
, 0 | 0 );
26306 if (!SWIG_IsOK(res1
)) {
26307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MoveEvent_SetRect" "', expected argument " "1"" of type '" "wxMoveEvent *""'");
26309 arg1
= reinterpret_cast< wxMoveEvent
* >(argp1
);
26312 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26316 (arg1
)->SetRect((wxRect
const &)*arg2
);
26317 wxPyEndAllowThreads(__tstate
);
26318 if (PyErr_Occurred()) SWIG_fail
;
26320 resultobj
= SWIG_Py_Void();
26327 SWIGINTERN PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26328 PyObject
*resultobj
= 0;
26329 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
26330 wxPoint
*arg2
= 0 ;
26334 PyObject
* obj0
= 0 ;
26335 PyObject
* obj1
= 0 ;
26336 char * kwnames
[] = {
26337 (char *) "self",(char *) "pos", NULL
26340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMoveEvent
, 0 | 0 );
26342 if (!SWIG_IsOK(res1
)) {
26343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MoveEvent_SetPosition" "', expected argument " "1"" of type '" "wxMoveEvent *""'");
26345 arg1
= reinterpret_cast< wxMoveEvent
* >(argp1
);
26348 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26352 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
26353 wxPyEndAllowThreads(__tstate
);
26354 if (PyErr_Occurred()) SWIG_fail
;
26356 resultobj
= SWIG_Py_Void();
26363 SWIGINTERN PyObject
*MoveEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26365 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26366 SWIG_TypeNewClientData(SWIGTYPE_p_wxMoveEvent
, SWIG_NewClientData(obj
));
26367 return SWIG_Py_Void();
26370 SWIGINTERN PyObject
*MoveEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26371 return SWIG_Python_InitShadowInstance(args
);
26374 SWIGINTERN PyObject
*_wrap_new_PaintEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26375 PyObject
*resultobj
= 0;
26376 int arg1
= (int) 0 ;
26377 wxPaintEvent
*result
= 0 ;
26380 PyObject
* obj0
= 0 ;
26381 char * kwnames
[] = {
26382 (char *) "Id", NULL
26385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) SWIG_fail
;
26387 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26388 if (!SWIG_IsOK(ecode1
)) {
26389 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PaintEvent" "', expected argument " "1"" of type '" "int""'");
26391 arg1
= static_cast< int >(val1
);
26394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26395 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
26396 wxPyEndAllowThreads(__tstate
);
26397 if (PyErr_Occurred()) SWIG_fail
;
26399 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintEvent
, SWIG_POINTER_NEW
| 0 );
26406 SWIGINTERN PyObject
*PaintEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26408 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26409 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintEvent
, SWIG_NewClientData(obj
));
26410 return SWIG_Py_Void();
26413 SWIGINTERN PyObject
*PaintEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26414 return SWIG_Python_InitShadowInstance(args
);
26417 SWIGINTERN PyObject
*_wrap_new_NcPaintEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26418 PyObject
*resultobj
= 0;
26419 int arg1
= (int) 0 ;
26420 wxNcPaintEvent
*result
= 0 ;
26423 PyObject
* obj0
= 0 ;
26424 char * kwnames
[] = {
26425 (char *) "winid", NULL
26428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) SWIG_fail
;
26430 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26431 if (!SWIG_IsOK(ecode1
)) {
26432 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NcPaintEvent" "', expected argument " "1"" of type '" "int""'");
26434 arg1
= static_cast< int >(val1
);
26437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26438 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
26439 wxPyEndAllowThreads(__tstate
);
26440 if (PyErr_Occurred()) SWIG_fail
;
26442 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNcPaintEvent
, SWIG_POINTER_NEW
| 0 );
26449 SWIGINTERN PyObject
*NcPaintEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26451 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26452 SWIG_TypeNewClientData(SWIGTYPE_p_wxNcPaintEvent
, SWIG_NewClientData(obj
));
26453 return SWIG_Py_Void();
26456 SWIGINTERN PyObject
*NcPaintEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26457 return SWIG_Python_InitShadowInstance(args
);
26460 SWIGINTERN PyObject
*_wrap_new_EraseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26461 PyObject
*resultobj
= 0;
26462 int arg1
= (int) 0 ;
26463 wxDC
*arg2
= (wxDC
*) NULL
;
26464 wxEraseEvent
*result
= 0 ;
26469 PyObject
* obj0
= 0 ;
26470 PyObject
* obj1
= 0 ;
26471 char * kwnames
[] = {
26472 (char *) "Id",(char *) "dc", NULL
26475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26477 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26478 if (!SWIG_IsOK(ecode1
)) {
26479 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EraseEvent" "', expected argument " "1"" of type '" "int""'");
26481 arg1
= static_cast< int >(val1
);
26484 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
26485 if (!SWIG_IsOK(res2
)) {
26486 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_EraseEvent" "', expected argument " "2"" of type '" "wxDC *""'");
26488 arg2
= reinterpret_cast< wxDC
* >(argp2
);
26491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26492 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
26493 wxPyEndAllowThreads(__tstate
);
26494 if (PyErr_Occurred()) SWIG_fail
;
26496 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEraseEvent
, SWIG_POINTER_NEW
| 0 );
26503 SWIGINTERN PyObject
*_wrap_EraseEvent_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26504 PyObject
*resultobj
= 0;
26505 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
26509 PyObject
*swig_obj
[1] ;
26511 if (!args
) SWIG_fail
;
26512 swig_obj
[0] = args
;
26513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEraseEvent
, 0 | 0 );
26514 if (!SWIG_IsOK(res1
)) {
26515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EraseEvent_GetDC" "', expected argument " "1"" of type '" "wxEraseEvent const *""'");
26517 arg1
= reinterpret_cast< wxEraseEvent
* >(argp1
);
26519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26520 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
26521 wxPyEndAllowThreads(__tstate
);
26522 if (PyErr_Occurred()) SWIG_fail
;
26525 resultobj
= wxPyMake_wxObject(result
, (bool)0);
26533 SWIGINTERN PyObject
*EraseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26535 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26536 SWIG_TypeNewClientData(SWIGTYPE_p_wxEraseEvent
, SWIG_NewClientData(obj
));
26537 return SWIG_Py_Void();
26540 SWIGINTERN PyObject
*EraseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26541 return SWIG_Python_InitShadowInstance(args
);
26544 SWIGINTERN PyObject
*_wrap_new_FocusEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26545 PyObject
*resultobj
= 0;
26546 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
26547 int arg2
= (int) 0 ;
26548 wxFocusEvent
*result
= 0 ;
26553 PyObject
* obj0
= 0 ;
26554 PyObject
* obj1
= 0 ;
26555 char * kwnames
[] = {
26556 (char *) "type",(char *) "winid", NULL
26559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26561 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26562 if (!SWIG_IsOK(ecode1
)) {
26563 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FocusEvent" "', expected argument " "1"" of type '" "wxEventType""'");
26565 arg1
= static_cast< wxEventType
>(val1
);
26568 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26569 if (!SWIG_IsOK(ecode2
)) {
26570 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FocusEvent" "', expected argument " "2"" of type '" "int""'");
26572 arg2
= static_cast< int >(val2
);
26575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26576 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
26577 wxPyEndAllowThreads(__tstate
);
26578 if (PyErr_Occurred()) SWIG_fail
;
26580 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_NEW
| 0 );
26587 SWIGINTERN PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26588 PyObject
*resultobj
= 0;
26589 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
26590 wxWindow
*result
= 0 ;
26593 PyObject
*swig_obj
[1] ;
26595 if (!args
) SWIG_fail
;
26596 swig_obj
[0] = args
;
26597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFocusEvent
, 0 | 0 );
26598 if (!SWIG_IsOK(res1
)) {
26599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FocusEvent_GetWindow" "', expected argument " "1"" of type '" "wxFocusEvent const *""'");
26601 arg1
= reinterpret_cast< wxFocusEvent
* >(argp1
);
26603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26604 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
26605 wxPyEndAllowThreads(__tstate
);
26606 if (PyErr_Occurred()) SWIG_fail
;
26609 resultobj
= wxPyMake_wxObject(result
, (bool)0);
26617 SWIGINTERN PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26618 PyObject
*resultobj
= 0;
26619 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
26620 wxWindow
*arg2
= (wxWindow
*) 0 ;
26625 PyObject
* obj0
= 0 ;
26626 PyObject
* obj1
= 0 ;
26627 char * kwnames
[] = {
26628 (char *) "self",(char *) "win", NULL
26631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFocusEvent
, 0 | 0 );
26633 if (!SWIG_IsOK(res1
)) {
26634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FocusEvent_SetWindow" "', expected argument " "1"" of type '" "wxFocusEvent *""'");
26636 arg1
= reinterpret_cast< wxFocusEvent
* >(argp1
);
26637 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26638 if (!SWIG_IsOK(res2
)) {
26639 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FocusEvent_SetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
26641 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26644 (arg1
)->SetWindow(arg2
);
26645 wxPyEndAllowThreads(__tstate
);
26646 if (PyErr_Occurred()) SWIG_fail
;
26648 resultobj
= SWIG_Py_Void();
26655 SWIGINTERN PyObject
*FocusEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26657 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26658 SWIG_TypeNewClientData(SWIGTYPE_p_wxFocusEvent
, SWIG_NewClientData(obj
));
26659 return SWIG_Py_Void();
26662 SWIGINTERN PyObject
*FocusEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26663 return SWIG_Python_InitShadowInstance(args
);
26666 SWIGINTERN PyObject
*_wrap_new_ChildFocusEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26667 PyObject
*resultobj
= 0;
26668 wxWindow
*arg1
= (wxWindow
*) NULL
;
26669 wxChildFocusEvent
*result
= 0 ;
26672 PyObject
* obj0
= 0 ;
26673 char * kwnames
[] = {
26674 (char *) "win", NULL
26677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) SWIG_fail
;
26679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26680 if (!SWIG_IsOK(res1
)) {
26681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ChildFocusEvent" "', expected argument " "1"" of type '" "wxWindow *""'");
26683 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
26686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26687 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
26688 wxPyEndAllowThreads(__tstate
);
26689 if (PyErr_Occurred()) SWIG_fail
;
26691 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChildFocusEvent
, SWIG_POINTER_NEW
| 0 );
26698 SWIGINTERN PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26699 PyObject
*resultobj
= 0;
26700 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
26701 wxWindow
*result
= 0 ;
26704 PyObject
*swig_obj
[1] ;
26706 if (!args
) SWIG_fail
;
26707 swig_obj
[0] = args
;
26708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChildFocusEvent
, 0 | 0 );
26709 if (!SWIG_IsOK(res1
)) {
26710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ChildFocusEvent_GetWindow" "', expected argument " "1"" of type '" "wxChildFocusEvent const *""'");
26712 arg1
= reinterpret_cast< wxChildFocusEvent
* >(argp1
);
26714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26715 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
26716 wxPyEndAllowThreads(__tstate
);
26717 if (PyErr_Occurred()) SWIG_fail
;
26720 resultobj
= wxPyMake_wxObject(result
, (bool)0);
26728 SWIGINTERN PyObject
*ChildFocusEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26730 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26731 SWIG_TypeNewClientData(SWIGTYPE_p_wxChildFocusEvent
, SWIG_NewClientData(obj
));
26732 return SWIG_Py_Void();
26735 SWIGINTERN PyObject
*ChildFocusEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26736 return SWIG_Python_InitShadowInstance(args
);
26739 SWIGINTERN PyObject
*_wrap_new_ActivateEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26740 PyObject
*resultobj
= 0;
26741 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
26742 bool arg2
= (bool) true ;
26743 int arg3
= (int) 0 ;
26744 wxActivateEvent
*result
= 0 ;
26751 PyObject
* obj0
= 0 ;
26752 PyObject
* obj1
= 0 ;
26753 PyObject
* obj2
= 0 ;
26754 char * kwnames
[] = {
26755 (char *) "type",(char *) "active",(char *) "Id", NULL
26758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26760 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26761 if (!SWIG_IsOK(ecode1
)) {
26762 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ActivateEvent" "', expected argument " "1"" of type '" "wxEventType""'");
26764 arg1
= static_cast< wxEventType
>(val1
);
26767 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26768 if (!SWIG_IsOK(ecode2
)) {
26769 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ActivateEvent" "', expected argument " "2"" of type '" "bool""'");
26771 arg2
= static_cast< bool >(val2
);
26774 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26775 if (!SWIG_IsOK(ecode3
)) {
26776 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ActivateEvent" "', expected argument " "3"" of type '" "int""'");
26778 arg3
= static_cast< int >(val3
);
26781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26782 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
26783 wxPyEndAllowThreads(__tstate
);
26784 if (PyErr_Occurred()) SWIG_fail
;
26786 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxActivateEvent
, SWIG_POINTER_NEW
| 0 );
26793 SWIGINTERN PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26794 PyObject
*resultobj
= 0;
26795 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
26799 PyObject
*swig_obj
[1] ;
26801 if (!args
) SWIG_fail
;
26802 swig_obj
[0] = args
;
26803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxActivateEvent
, 0 | 0 );
26804 if (!SWIG_IsOK(res1
)) {
26805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ActivateEvent_GetActive" "', expected argument " "1"" of type '" "wxActivateEvent const *""'");
26807 arg1
= reinterpret_cast< wxActivateEvent
* >(argp1
);
26809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26810 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
26811 wxPyEndAllowThreads(__tstate
);
26812 if (PyErr_Occurred()) SWIG_fail
;
26815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26823 SWIGINTERN PyObject
*ActivateEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26825 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26826 SWIG_TypeNewClientData(SWIGTYPE_p_wxActivateEvent
, SWIG_NewClientData(obj
));
26827 return SWIG_Py_Void();
26830 SWIGINTERN PyObject
*ActivateEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26831 return SWIG_Python_InitShadowInstance(args
);
26834 SWIGINTERN PyObject
*_wrap_new_InitDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26835 PyObject
*resultobj
= 0;
26836 int arg1
= (int) 0 ;
26837 wxInitDialogEvent
*result
= 0 ;
26840 PyObject
* obj0
= 0 ;
26841 char * kwnames
[] = {
26842 (char *) "Id", NULL
26845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) SWIG_fail
;
26847 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26848 if (!SWIG_IsOK(ecode1
)) {
26849 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_InitDialogEvent" "', expected argument " "1"" of type '" "int""'");
26851 arg1
= static_cast< int >(val1
);
26854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26855 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
26856 wxPyEndAllowThreads(__tstate
);
26857 if (PyErr_Occurred()) SWIG_fail
;
26859 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxInitDialogEvent
, SWIG_POINTER_NEW
| 0 );
26866 SWIGINTERN PyObject
*InitDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26868 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26869 SWIG_TypeNewClientData(SWIGTYPE_p_wxInitDialogEvent
, SWIG_NewClientData(obj
));
26870 return SWIG_Py_Void();
26873 SWIGINTERN PyObject
*InitDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26874 return SWIG_Python_InitShadowInstance(args
);
26877 SWIGINTERN PyObject
*_wrap_new_MenuEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26878 PyObject
*resultobj
= 0;
26879 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
26880 int arg2
= (int) 0 ;
26881 wxMenu
*arg3
= (wxMenu
*) NULL
;
26882 wxMenuEvent
*result
= 0 ;
26889 PyObject
* obj0
= 0 ;
26890 PyObject
* obj1
= 0 ;
26891 PyObject
* obj2
= 0 ;
26892 char * kwnames
[] = {
26893 (char *) "type",(char *) "winid",(char *) "menu", NULL
26896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26898 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26899 if (!SWIG_IsOK(ecode1
)) {
26900 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_MenuEvent" "', expected argument " "1"" of type '" "wxEventType""'");
26902 arg1
= static_cast< wxEventType
>(val1
);
26905 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26906 if (!SWIG_IsOK(ecode2
)) {
26907 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MenuEvent" "', expected argument " "2"" of type '" "int""'");
26909 arg2
= static_cast< int >(val2
);
26912 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxMenu
, 0 | 0 );
26913 if (!SWIG_IsOK(res3
)) {
26914 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_MenuEvent" "', expected argument " "3"" of type '" "wxMenu *""'");
26916 arg3
= reinterpret_cast< wxMenu
* >(argp3
);
26919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26920 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
26921 wxPyEndAllowThreads(__tstate
);
26922 if (PyErr_Occurred()) SWIG_fail
;
26924 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_NEW
| 0 );
26931 SWIGINTERN PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26932 PyObject
*resultobj
= 0;
26933 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
26937 PyObject
*swig_obj
[1] ;
26939 if (!args
) SWIG_fail
;
26940 swig_obj
[0] = args
;
26941 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuEvent
, 0 | 0 );
26942 if (!SWIG_IsOK(res1
)) {
26943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuEvent_GetMenuId" "', expected argument " "1"" of type '" "wxMenuEvent const *""'");
26945 arg1
= reinterpret_cast< wxMenuEvent
* >(argp1
);
26947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26948 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
26949 wxPyEndAllowThreads(__tstate
);
26950 if (PyErr_Occurred()) SWIG_fail
;
26952 resultobj
= SWIG_From_int(static_cast< int >(result
));
26959 SWIGINTERN PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26960 PyObject
*resultobj
= 0;
26961 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
26965 PyObject
*swig_obj
[1] ;
26967 if (!args
) SWIG_fail
;
26968 swig_obj
[0] = args
;
26969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuEvent
, 0 | 0 );
26970 if (!SWIG_IsOK(res1
)) {
26971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuEvent_IsPopup" "', expected argument " "1"" of type '" "wxMenuEvent const *""'");
26973 arg1
= reinterpret_cast< wxMenuEvent
* >(argp1
);
26975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26976 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
26977 wxPyEndAllowThreads(__tstate
);
26978 if (PyErr_Occurred()) SWIG_fail
;
26981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26989 SWIGINTERN PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26990 PyObject
*resultobj
= 0;
26991 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
26992 wxMenu
*result
= 0 ;
26995 PyObject
*swig_obj
[1] ;
26997 if (!args
) SWIG_fail
;
26998 swig_obj
[0] = args
;
26999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuEvent
, 0 | 0 );
27000 if (!SWIG_IsOK(res1
)) {
27001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuEvent_GetMenu" "', expected argument " "1"" of type '" "wxMenuEvent const *""'");
27003 arg1
= reinterpret_cast< wxMenuEvent
* >(argp1
);
27005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27006 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
27007 wxPyEndAllowThreads(__tstate
);
27008 if (PyErr_Occurred()) SWIG_fail
;
27011 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27019 SWIGINTERN PyObject
*MenuEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27021 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27022 SWIG_TypeNewClientData(SWIGTYPE_p_wxMenuEvent
, SWIG_NewClientData(obj
));
27023 return SWIG_Py_Void();
27026 SWIGINTERN PyObject
*MenuEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27027 return SWIG_Python_InitShadowInstance(args
);
27030 SWIGINTERN PyObject
*_wrap_new_CloseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27031 PyObject
*resultobj
= 0;
27032 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27033 int arg2
= (int) 0 ;
27034 wxCloseEvent
*result
= 0 ;
27039 PyObject
* obj0
= 0 ;
27040 PyObject
* obj1
= 0 ;
27041 char * kwnames
[] = {
27042 (char *) "type",(char *) "winid", NULL
27045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27047 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27048 if (!SWIG_IsOK(ecode1
)) {
27049 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CloseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
27051 arg1
= static_cast< wxEventType
>(val1
);
27054 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27055 if (!SWIG_IsOK(ecode2
)) {
27056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CloseEvent" "', expected argument " "2"" of type '" "int""'");
27058 arg2
= static_cast< int >(val2
);
27061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27062 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
27063 wxPyEndAllowThreads(__tstate
);
27064 if (PyErr_Occurred()) SWIG_fail
;
27066 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_NEW
| 0 );
27073 SWIGINTERN PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27074 PyObject
*resultobj
= 0;
27075 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
27081 PyObject
* obj0
= 0 ;
27082 PyObject
* obj1
= 0 ;
27083 char * kwnames
[] = {
27084 (char *) "self",(char *) "logOff", NULL
27087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCloseEvent
, 0 | 0 );
27089 if (!SWIG_IsOK(res1
)) {
27090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CloseEvent_SetLoggingOff" "', expected argument " "1"" of type '" "wxCloseEvent *""'");
27092 arg1
= reinterpret_cast< wxCloseEvent
* >(argp1
);
27093 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27094 if (!SWIG_IsOK(ecode2
)) {
27095 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CloseEvent_SetLoggingOff" "', expected argument " "2"" of type '" "bool""'");
27097 arg2
= static_cast< bool >(val2
);
27099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27100 (arg1
)->SetLoggingOff(arg2
);
27101 wxPyEndAllowThreads(__tstate
);
27102 if (PyErr_Occurred()) SWIG_fail
;
27104 resultobj
= SWIG_Py_Void();
27111 SWIGINTERN PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27112 PyObject
*resultobj
= 0;
27113 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
27117 PyObject
*swig_obj
[1] ;
27119 if (!args
) SWIG_fail
;
27120 swig_obj
[0] = args
;
27121 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCloseEvent
, 0 | 0 );
27122 if (!SWIG_IsOK(res1
)) {
27123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CloseEvent_GetLoggingOff" "', expected argument " "1"" of type '" "wxCloseEvent const *""'");
27125 arg1
= reinterpret_cast< wxCloseEvent
* >(argp1
);
27127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27128 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
27129 wxPyEndAllowThreads(__tstate
);
27130 if (PyErr_Occurred()) SWIG_fail
;
27133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27141 SWIGINTERN PyObject
*_wrap_CloseEvent_Veto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27142 PyObject
*resultobj
= 0;
27143 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
27144 bool arg2
= (bool) true ;
27149 PyObject
* obj0
= 0 ;
27150 PyObject
* obj1
= 0 ;
27151 char * kwnames
[] = {
27152 (char *) "self",(char *) "veto", NULL
27155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCloseEvent
, 0 | 0 );
27157 if (!SWIG_IsOK(res1
)) {
27158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CloseEvent_Veto" "', expected argument " "1"" of type '" "wxCloseEvent *""'");
27160 arg1
= reinterpret_cast< wxCloseEvent
* >(argp1
);
27162 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27163 if (!SWIG_IsOK(ecode2
)) {
27164 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CloseEvent_Veto" "', expected argument " "2"" of type '" "bool""'");
27166 arg2
= static_cast< bool >(val2
);
27169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27170 (arg1
)->Veto(arg2
);
27171 wxPyEndAllowThreads(__tstate
);
27172 if (PyErr_Occurred()) SWIG_fail
;
27174 resultobj
= SWIG_Py_Void();
27181 SWIGINTERN PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27182 PyObject
*resultobj
= 0;
27183 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
27187 PyObject
*swig_obj
[1] ;
27189 if (!args
) SWIG_fail
;
27190 swig_obj
[0] = args
;
27191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCloseEvent
, 0 | 0 );
27192 if (!SWIG_IsOK(res1
)) {
27193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CloseEvent_GetVeto" "', expected argument " "1"" of type '" "wxCloseEvent const *""'");
27195 arg1
= reinterpret_cast< wxCloseEvent
* >(argp1
);
27197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27198 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
27199 wxPyEndAllowThreads(__tstate
);
27200 if (PyErr_Occurred()) SWIG_fail
;
27203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27211 SWIGINTERN PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27212 PyObject
*resultobj
= 0;
27213 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
27219 PyObject
* obj0
= 0 ;
27220 PyObject
* obj1
= 0 ;
27221 char * kwnames
[] = {
27222 (char *) "self",(char *) "canVeto", NULL
27225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCloseEvent
, 0 | 0 );
27227 if (!SWIG_IsOK(res1
)) {
27228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CloseEvent_SetCanVeto" "', expected argument " "1"" of type '" "wxCloseEvent *""'");
27230 arg1
= reinterpret_cast< wxCloseEvent
* >(argp1
);
27231 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27232 if (!SWIG_IsOK(ecode2
)) {
27233 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CloseEvent_SetCanVeto" "', expected argument " "2"" of type '" "bool""'");
27235 arg2
= static_cast< bool >(val2
);
27237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27238 (arg1
)->SetCanVeto(arg2
);
27239 wxPyEndAllowThreads(__tstate
);
27240 if (PyErr_Occurred()) SWIG_fail
;
27242 resultobj
= SWIG_Py_Void();
27249 SWIGINTERN PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27250 PyObject
*resultobj
= 0;
27251 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
27255 PyObject
*swig_obj
[1] ;
27257 if (!args
) SWIG_fail
;
27258 swig_obj
[0] = args
;
27259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCloseEvent
, 0 | 0 );
27260 if (!SWIG_IsOK(res1
)) {
27261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CloseEvent_CanVeto" "', expected argument " "1"" of type '" "wxCloseEvent const *""'");
27263 arg1
= reinterpret_cast< wxCloseEvent
* >(argp1
);
27265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27266 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
27267 wxPyEndAllowThreads(__tstate
);
27268 if (PyErr_Occurred()) SWIG_fail
;
27271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27279 SWIGINTERN PyObject
*CloseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27281 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27282 SWIG_TypeNewClientData(SWIGTYPE_p_wxCloseEvent
, SWIG_NewClientData(obj
));
27283 return SWIG_Py_Void();
27286 SWIGINTERN PyObject
*CloseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27287 return SWIG_Python_InitShadowInstance(args
);
27290 SWIGINTERN PyObject
*_wrap_new_ShowEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27291 PyObject
*resultobj
= 0;
27292 int arg1
= (int) 0 ;
27293 bool arg2
= (bool) false ;
27294 wxShowEvent
*result
= 0 ;
27299 PyObject
* obj0
= 0 ;
27300 PyObject
* obj1
= 0 ;
27301 char * kwnames
[] = {
27302 (char *) "winid",(char *) "show", NULL
27305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27307 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27308 if (!SWIG_IsOK(ecode1
)) {
27309 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ShowEvent" "', expected argument " "1"" of type '" "int""'");
27311 arg1
= static_cast< int >(val1
);
27314 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27315 if (!SWIG_IsOK(ecode2
)) {
27316 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ShowEvent" "', expected argument " "2"" of type '" "bool""'");
27318 arg2
= static_cast< bool >(val2
);
27321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27322 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
27323 wxPyEndAllowThreads(__tstate
);
27324 if (PyErr_Occurred()) SWIG_fail
;
27326 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_NEW
| 0 );
27333 SWIGINTERN PyObject
*_wrap_ShowEvent_SetShow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27334 PyObject
*resultobj
= 0;
27335 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
27341 PyObject
* obj0
= 0 ;
27342 PyObject
* obj1
= 0 ;
27343 char * kwnames
[] = {
27344 (char *) "self",(char *) "show", NULL
27347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxShowEvent
, 0 | 0 );
27349 if (!SWIG_IsOK(res1
)) {
27350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ShowEvent_SetShow" "', expected argument " "1"" of type '" "wxShowEvent *""'");
27352 arg1
= reinterpret_cast< wxShowEvent
* >(argp1
);
27353 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27354 if (!SWIG_IsOK(ecode2
)) {
27355 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ShowEvent_SetShow" "', expected argument " "2"" of type '" "bool""'");
27357 arg2
= static_cast< bool >(val2
);
27359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27360 (arg1
)->SetShow(arg2
);
27361 wxPyEndAllowThreads(__tstate
);
27362 if (PyErr_Occurred()) SWIG_fail
;
27364 resultobj
= SWIG_Py_Void();
27371 SWIGINTERN PyObject
*_wrap_ShowEvent_GetShow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27372 PyObject
*resultobj
= 0;
27373 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
27377 PyObject
*swig_obj
[1] ;
27379 if (!args
) SWIG_fail
;
27380 swig_obj
[0] = args
;
27381 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxShowEvent
, 0 | 0 );
27382 if (!SWIG_IsOK(res1
)) {
27383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ShowEvent_GetShow" "', expected argument " "1"" of type '" "wxShowEvent const *""'");
27385 arg1
= reinterpret_cast< wxShowEvent
* >(argp1
);
27387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27388 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
27389 wxPyEndAllowThreads(__tstate
);
27390 if (PyErr_Occurred()) SWIG_fail
;
27393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27401 SWIGINTERN PyObject
*ShowEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27403 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27404 SWIG_TypeNewClientData(SWIGTYPE_p_wxShowEvent
, SWIG_NewClientData(obj
));
27405 return SWIG_Py_Void();
27408 SWIGINTERN PyObject
*ShowEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27409 return SWIG_Python_InitShadowInstance(args
);
27412 SWIGINTERN PyObject
*_wrap_new_IconizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27413 PyObject
*resultobj
= 0;
27414 int arg1
= (int) 0 ;
27415 bool arg2
= (bool) true ;
27416 wxIconizeEvent
*result
= 0 ;
27421 PyObject
* obj0
= 0 ;
27422 PyObject
* obj1
= 0 ;
27423 char * kwnames
[] = {
27424 (char *) "id",(char *) "iconized", NULL
27427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27429 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27430 if (!SWIG_IsOK(ecode1
)) {
27431 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_IconizeEvent" "', expected argument " "1"" of type '" "int""'");
27433 arg1
= static_cast< int >(val1
);
27436 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27437 if (!SWIG_IsOK(ecode2
)) {
27438 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconizeEvent" "', expected argument " "2"" of type '" "bool""'");
27440 arg2
= static_cast< bool >(val2
);
27443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27444 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
27445 wxPyEndAllowThreads(__tstate
);
27446 if (PyErr_Occurred()) SWIG_fail
;
27448 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconizeEvent
, SWIG_POINTER_NEW
| 0 );
27455 SWIGINTERN PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27456 PyObject
*resultobj
= 0;
27457 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
27461 PyObject
*swig_obj
[1] ;
27463 if (!args
) SWIG_fail
;
27464 swig_obj
[0] = args
;
27465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconizeEvent
, 0 | 0 );
27466 if (!SWIG_IsOK(res1
)) {
27467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconizeEvent_Iconized" "', expected argument " "1"" of type '" "wxIconizeEvent *""'");
27469 arg1
= reinterpret_cast< wxIconizeEvent
* >(argp1
);
27471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27472 result
= (bool)(arg1
)->Iconized();
27473 wxPyEndAllowThreads(__tstate
);
27474 if (PyErr_Occurred()) SWIG_fail
;
27477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27485 SWIGINTERN PyObject
*IconizeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27487 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27488 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconizeEvent
, SWIG_NewClientData(obj
));
27489 return SWIG_Py_Void();
27492 SWIGINTERN PyObject
*IconizeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27493 return SWIG_Python_InitShadowInstance(args
);
27496 SWIGINTERN PyObject
*_wrap_new_MaximizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27497 PyObject
*resultobj
= 0;
27498 int arg1
= (int) 0 ;
27499 wxMaximizeEvent
*result
= 0 ;
27502 PyObject
* obj0
= 0 ;
27503 char * kwnames
[] = {
27504 (char *) "id", NULL
27507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) SWIG_fail
;
27509 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27510 if (!SWIG_IsOK(ecode1
)) {
27511 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_MaximizeEvent" "', expected argument " "1"" of type '" "int""'");
27513 arg1
= static_cast< int >(val1
);
27516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27517 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
27518 wxPyEndAllowThreads(__tstate
);
27519 if (PyErr_Occurred()) SWIG_fail
;
27521 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMaximizeEvent
, SWIG_POINTER_NEW
| 0 );
27528 SWIGINTERN PyObject
*MaximizeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27530 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27531 SWIG_TypeNewClientData(SWIGTYPE_p_wxMaximizeEvent
, SWIG_NewClientData(obj
));
27532 return SWIG_Py_Void();
27535 SWIGINTERN PyObject
*MaximizeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27536 return SWIG_Python_InitShadowInstance(args
);
27539 SWIGINTERN PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27540 PyObject
*resultobj
= 0;
27541 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
27545 PyObject
*swig_obj
[1] ;
27547 if (!args
) SWIG_fail
;
27548 swig_obj
[0] = args
;
27549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDropFilesEvent
, 0 | 0 );
27550 if (!SWIG_IsOK(res1
)) {
27551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropFilesEvent_GetPosition" "', expected argument " "1"" of type '" "wxDropFilesEvent *""'");
27553 arg1
= reinterpret_cast< wxDropFilesEvent
* >(argp1
);
27555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27556 result
= (arg1
)->GetPosition();
27557 wxPyEndAllowThreads(__tstate
);
27558 if (PyErr_Occurred()) SWIG_fail
;
27560 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
27567 SWIGINTERN PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27568 PyObject
*resultobj
= 0;
27569 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 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_wxDropFilesEvent
, 0 | 0 );
27578 if (!SWIG_IsOK(res1
)) {
27579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropFilesEvent_GetNumberOfFiles" "', expected argument " "1"" of type '" "wxDropFilesEvent *""'");
27581 arg1
= reinterpret_cast< wxDropFilesEvent
* >(argp1
);
27583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27584 result
= (int)(arg1
)->GetNumberOfFiles();
27585 wxPyEndAllowThreads(__tstate
);
27586 if (PyErr_Occurred()) SWIG_fail
;
27588 resultobj
= SWIG_From_int(static_cast< int >(result
));
27595 SWIGINTERN PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27596 PyObject
*resultobj
= 0;
27597 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
27598 PyObject
*result
= 0 ;
27601 PyObject
*swig_obj
[1] ;
27603 if (!args
) SWIG_fail
;
27604 swig_obj
[0] = args
;
27605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDropFilesEvent
, 0 | 0 );
27606 if (!SWIG_IsOK(res1
)) {
27607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropFilesEvent_GetFiles" "', expected argument " "1"" of type '" "wxDropFilesEvent *""'");
27609 arg1
= reinterpret_cast< wxDropFilesEvent
* >(argp1
);
27611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27612 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
27613 wxPyEndAllowThreads(__tstate
);
27614 if (PyErr_Occurred()) SWIG_fail
;
27616 resultobj
= result
;
27623 SWIGINTERN PyObject
*DropFilesEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27625 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27626 SWIG_TypeNewClientData(SWIGTYPE_p_wxDropFilesEvent
, SWIG_NewClientData(obj
));
27627 return SWIG_Py_Void();
27630 SWIGINTERN PyObject
*_wrap_new_UpdateUIEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27631 PyObject
*resultobj
= 0;
27632 int arg1
= (int) 0 ;
27633 wxUpdateUIEvent
*result
= 0 ;
27636 PyObject
* obj0
= 0 ;
27637 char * kwnames
[] = {
27638 (char *) "commandId", NULL
27641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) SWIG_fail
;
27643 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27644 if (!SWIG_IsOK(ecode1
)) {
27645 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_UpdateUIEvent" "', expected argument " "1"" of type '" "int""'");
27647 arg1
= static_cast< int >(val1
);
27650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27651 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
27652 wxPyEndAllowThreads(__tstate
);
27653 if (PyErr_Occurred()) SWIG_fail
;
27655 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_NEW
| 0 );
27662 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27663 PyObject
*resultobj
= 0;
27664 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
27668 PyObject
*swig_obj
[1] ;
27670 if (!args
) SWIG_fail
;
27671 swig_obj
[0] = args
;
27672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
27673 if (!SWIG_IsOK(res1
)) {
27674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetChecked" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
27676 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
27678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27679 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
27680 wxPyEndAllowThreads(__tstate
);
27681 if (PyErr_Occurred()) SWIG_fail
;
27684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27692 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27693 PyObject
*resultobj
= 0;
27694 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
27698 PyObject
*swig_obj
[1] ;
27700 if (!args
) SWIG_fail
;
27701 swig_obj
[0] = args
;
27702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
27703 if (!SWIG_IsOK(res1
)) {
27704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetEnabled" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
27706 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
27708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27709 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
27710 wxPyEndAllowThreads(__tstate
);
27711 if (PyErr_Occurred()) SWIG_fail
;
27714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27722 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27723 PyObject
*resultobj
= 0;
27724 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
27728 PyObject
*swig_obj
[1] ;
27730 if (!args
) SWIG_fail
;
27731 swig_obj
[0] = args
;
27732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
27733 if (!SWIG_IsOK(res1
)) {
27734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetShown" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
27736 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
27738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27739 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetShown();
27740 wxPyEndAllowThreads(__tstate
);
27741 if (PyErr_Occurred()) SWIG_fail
;
27744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27752 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27753 PyObject
*resultobj
= 0;
27754 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
27758 PyObject
*swig_obj
[1] ;
27760 if (!args
) SWIG_fail
;
27761 swig_obj
[0] = args
;
27762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
27763 if (!SWIG_IsOK(res1
)) {
27764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetText" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
27766 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
27768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27769 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
27770 wxPyEndAllowThreads(__tstate
);
27771 if (PyErr_Occurred()) SWIG_fail
;
27775 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27777 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27786 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27787 PyObject
*resultobj
= 0;
27788 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
27792 PyObject
*swig_obj
[1] ;
27794 if (!args
) SWIG_fail
;
27795 swig_obj
[0] = args
;
27796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
27797 if (!SWIG_IsOK(res1
)) {
27798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetSetText" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
27800 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
27802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27803 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
27804 wxPyEndAllowThreads(__tstate
);
27805 if (PyErr_Occurred()) SWIG_fail
;
27808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27816 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27817 PyObject
*resultobj
= 0;
27818 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
27822 PyObject
*swig_obj
[1] ;
27824 if (!args
) SWIG_fail
;
27825 swig_obj
[0] = args
;
27826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
27827 if (!SWIG_IsOK(res1
)) {
27828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetSetChecked" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
27830 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
27832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27833 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
27834 wxPyEndAllowThreads(__tstate
);
27835 if (PyErr_Occurred()) SWIG_fail
;
27838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27846 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27847 PyObject
*resultobj
= 0;
27848 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
27852 PyObject
*swig_obj
[1] ;
27854 if (!args
) SWIG_fail
;
27855 swig_obj
[0] = args
;
27856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
27857 if (!SWIG_IsOK(res1
)) {
27858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetSetEnabled" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
27860 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
27862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27863 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
27864 wxPyEndAllowThreads(__tstate
);
27865 if (PyErr_Occurred()) SWIG_fail
;
27868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27876 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetSetShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27877 PyObject
*resultobj
= 0;
27878 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
27882 PyObject
*swig_obj
[1] ;
27884 if (!args
) SWIG_fail
;
27885 swig_obj
[0] = args
;
27886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
27887 if (!SWIG_IsOK(res1
)) {
27888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetSetShown" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
27890 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
27892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27893 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetShown();
27894 wxPyEndAllowThreads(__tstate
);
27895 if (PyErr_Occurred()) SWIG_fail
;
27898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27906 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27907 PyObject
*resultobj
= 0;
27908 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
27914 PyObject
* obj0
= 0 ;
27915 PyObject
* obj1
= 0 ;
27916 char * kwnames
[] = {
27917 (char *) "self",(char *) "check", NULL
27920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
27922 if (!SWIG_IsOK(res1
)) {
27923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_Check" "', expected argument " "1"" of type '" "wxUpdateUIEvent *""'");
27925 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
27926 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27927 if (!SWIG_IsOK(ecode2
)) {
27928 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "UpdateUIEvent_Check" "', expected argument " "2"" of type '" "bool""'");
27930 arg2
= static_cast< bool >(val2
);
27932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27933 (arg1
)->Check(arg2
);
27934 wxPyEndAllowThreads(__tstate
);
27935 if (PyErr_Occurred()) SWIG_fail
;
27937 resultobj
= SWIG_Py_Void();
27944 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27945 PyObject
*resultobj
= 0;
27946 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
27952 PyObject
* obj0
= 0 ;
27953 PyObject
* obj1
= 0 ;
27954 char * kwnames
[] = {
27955 (char *) "self",(char *) "enable", NULL
27958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
27960 if (!SWIG_IsOK(res1
)) {
27961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_Enable" "', expected argument " "1"" of type '" "wxUpdateUIEvent *""'");
27963 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
27964 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27965 if (!SWIG_IsOK(ecode2
)) {
27966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "UpdateUIEvent_Enable" "', expected argument " "2"" of type '" "bool""'");
27968 arg2
= static_cast< bool >(val2
);
27970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27971 (arg1
)->Enable(arg2
);
27972 wxPyEndAllowThreads(__tstate
);
27973 if (PyErr_Occurred()) SWIG_fail
;
27975 resultobj
= SWIG_Py_Void();
27982 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27983 PyObject
*resultobj
= 0;
27984 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
27990 PyObject
* obj0
= 0 ;
27991 PyObject
* obj1
= 0 ;
27992 char * kwnames
[] = {
27993 (char *) "self",(char *) "show", NULL
27996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
27998 if (!SWIG_IsOK(res1
)) {
27999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_Show" "', expected argument " "1"" of type '" "wxUpdateUIEvent *""'");
28001 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
28002 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28003 if (!SWIG_IsOK(ecode2
)) {
28004 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "UpdateUIEvent_Show" "', expected argument " "2"" of type '" "bool""'");
28006 arg2
= static_cast< bool >(val2
);
28008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28009 (arg1
)->Show(arg2
);
28010 wxPyEndAllowThreads(__tstate
);
28011 if (PyErr_Occurred()) SWIG_fail
;
28013 resultobj
= SWIG_Py_Void();
28020 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28021 PyObject
*resultobj
= 0;
28022 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
28023 wxString
*arg2
= 0 ;
28026 bool temp2
= false ;
28027 PyObject
* obj0
= 0 ;
28028 PyObject
* obj1
= 0 ;
28029 char * kwnames
[] = {
28030 (char *) "self",(char *) "text", NULL
28033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
28035 if (!SWIG_IsOK(res1
)) {
28036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_SetText" "', expected argument " "1"" of type '" "wxUpdateUIEvent *""'");
28038 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
28040 arg2
= wxString_in_helper(obj1
);
28041 if (arg2
== NULL
) SWIG_fail
;
28045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28046 (arg1
)->SetText((wxString
const &)*arg2
);
28047 wxPyEndAllowThreads(__tstate
);
28048 if (PyErr_Occurred()) SWIG_fail
;
28050 resultobj
= SWIG_Py_Void();
28065 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28066 PyObject
*resultobj
= 0;
28070 PyObject
* obj0
= 0 ;
28071 char * kwnames
[] = {
28072 (char *) "updateInterval", NULL
28075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) SWIG_fail
;
28076 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28077 if (!SWIG_IsOK(ecode1
)) {
28078 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "UpdateUIEvent_SetUpdateInterval" "', expected argument " "1"" of type '" "long""'");
28080 arg1
= static_cast< long >(val1
);
28082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28083 wxUpdateUIEvent::SetUpdateInterval(arg1
);
28084 wxPyEndAllowThreads(__tstate
);
28085 if (PyErr_Occurred()) SWIG_fail
;
28087 resultobj
= SWIG_Py_Void();
28094 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28095 PyObject
*resultobj
= 0;
28098 if (!SWIG_Python_UnpackTuple(args
,"UpdateUIEvent_GetUpdateInterval",0,0,0)) SWIG_fail
;
28100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28101 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
28102 wxPyEndAllowThreads(__tstate
);
28103 if (PyErr_Occurred()) SWIG_fail
;
28105 resultobj
= SWIG_From_long(static_cast< long >(result
));
28112 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28113 PyObject
*resultobj
= 0;
28114 wxWindow
*arg1
= (wxWindow
*) 0 ;
28118 PyObject
* obj0
= 0 ;
28119 char * kwnames
[] = {
28120 (char *) "win", NULL
28123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) SWIG_fail
;
28124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28125 if (!SWIG_IsOK(res1
)) {
28126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_CanUpdate" "', expected argument " "1"" of type '" "wxWindow *""'");
28128 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28131 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
28132 wxPyEndAllowThreads(__tstate
);
28133 if (PyErr_Occurred()) SWIG_fail
;
28136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28144 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28145 PyObject
*resultobj
= 0;
28147 if (!SWIG_Python_UnpackTuple(args
,"UpdateUIEvent_ResetUpdateTime",0,0,0)) SWIG_fail
;
28149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28150 wxUpdateUIEvent::ResetUpdateTime();
28151 wxPyEndAllowThreads(__tstate
);
28152 if (PyErr_Occurred()) SWIG_fail
;
28154 resultobj
= SWIG_Py_Void();
28161 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28162 PyObject
*resultobj
= 0;
28163 wxUpdateUIMode arg1
;
28166 PyObject
* obj0
= 0 ;
28167 char * kwnames
[] = {
28168 (char *) "mode", NULL
28171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) SWIG_fail
;
28172 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28173 if (!SWIG_IsOK(ecode1
)) {
28174 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "UpdateUIEvent_SetMode" "', expected argument " "1"" of type '" "wxUpdateUIMode""'");
28176 arg1
= static_cast< wxUpdateUIMode
>(val1
);
28178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28179 wxUpdateUIEvent::SetMode(arg1
);
28180 wxPyEndAllowThreads(__tstate
);
28181 if (PyErr_Occurred()) SWIG_fail
;
28183 resultobj
= SWIG_Py_Void();
28190 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28191 PyObject
*resultobj
= 0;
28192 wxUpdateUIMode result
;
28194 if (!SWIG_Python_UnpackTuple(args
,"UpdateUIEvent_GetMode",0,0,0)) SWIG_fail
;
28196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28197 result
= (wxUpdateUIMode
)wxUpdateUIEvent::GetMode();
28198 wxPyEndAllowThreads(__tstate
);
28199 if (PyErr_Occurred()) SWIG_fail
;
28201 resultobj
= SWIG_From_int(static_cast< int >(result
));
28208 SWIGINTERN PyObject
*UpdateUIEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28210 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28211 SWIG_TypeNewClientData(SWIGTYPE_p_wxUpdateUIEvent
, SWIG_NewClientData(obj
));
28212 return SWIG_Py_Void();
28215 SWIGINTERN PyObject
*UpdateUIEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28216 return SWIG_Python_InitShadowInstance(args
);
28219 SWIGINTERN PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28220 PyObject
*resultobj
= 0;
28221 wxSysColourChangedEvent
*result
= 0 ;
28223 if (!SWIG_Python_UnpackTuple(args
,"new_SysColourChangedEvent",0,0,0)) SWIG_fail
;
28225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28226 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
28227 wxPyEndAllowThreads(__tstate
);
28228 if (PyErr_Occurred()) SWIG_fail
;
28230 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSysColourChangedEvent
, SWIG_POINTER_NEW
| 0 );
28237 SWIGINTERN PyObject
*SysColourChangedEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28239 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28240 SWIG_TypeNewClientData(SWIGTYPE_p_wxSysColourChangedEvent
, SWIG_NewClientData(obj
));
28241 return SWIG_Py_Void();
28244 SWIGINTERN PyObject
*SysColourChangedEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28245 return SWIG_Python_InitShadowInstance(args
);
28248 SWIGINTERN PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28249 PyObject
*resultobj
= 0;
28250 int arg1
= (int) 0 ;
28251 wxWindow
*arg2
= (wxWindow
*) NULL
;
28252 wxMouseCaptureChangedEvent
*result
= 0 ;
28257 PyObject
* obj0
= 0 ;
28258 PyObject
* obj1
= 0 ;
28259 char * kwnames
[] = {
28260 (char *) "winid",(char *) "gainedCapture", NULL
28263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28265 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28266 if (!SWIG_IsOK(ecode1
)) {
28267 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_MouseCaptureChangedEvent" "', expected argument " "1"" of type '" "int""'");
28269 arg1
= static_cast< int >(val1
);
28272 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28273 if (!SWIG_IsOK(res2
)) {
28274 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_MouseCaptureChangedEvent" "', expected argument " "2"" of type '" "wxWindow *""'");
28276 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28280 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
28281 wxPyEndAllowThreads(__tstate
);
28282 if (PyErr_Occurred()) SWIG_fail
;
28284 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, SWIG_POINTER_NEW
| 0 );
28291 SWIGINTERN PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28292 PyObject
*resultobj
= 0;
28293 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
28294 wxWindow
*result
= 0 ;
28297 PyObject
*swig_obj
[1] ;
28299 if (!args
) SWIG_fail
;
28300 swig_obj
[0] = args
;
28301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseCaptureChangedEvent
, 0 | 0 );
28302 if (!SWIG_IsOK(res1
)) {
28303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseCaptureChangedEvent_GetCapturedWindow" "', expected argument " "1"" of type '" "wxMouseCaptureChangedEvent const *""'");
28305 arg1
= reinterpret_cast< wxMouseCaptureChangedEvent
* >(argp1
);
28307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28308 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
28309 wxPyEndAllowThreads(__tstate
);
28310 if (PyErr_Occurred()) SWIG_fail
;
28313 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28321 SWIGINTERN PyObject
*MouseCaptureChangedEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28323 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28324 SWIG_TypeNewClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, SWIG_NewClientData(obj
));
28325 return SWIG_Py_Void();
28328 SWIGINTERN PyObject
*MouseCaptureChangedEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28329 return SWIG_Python_InitShadowInstance(args
);
28332 SWIGINTERN PyObject
*_wrap_new_MouseCaptureLostEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28333 PyObject
*resultobj
= 0;
28334 int arg1
= (int) 0 ;
28335 wxMouseCaptureLostEvent
*result
= 0 ;
28338 PyObject
* obj0
= 0 ;
28339 char * kwnames
[] = {
28340 (char *) "winid", NULL
28343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseCaptureLostEvent",kwnames
,&obj0
)) SWIG_fail
;
28345 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28346 if (!SWIG_IsOK(ecode1
)) {
28347 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_MouseCaptureLostEvent" "', expected argument " "1"" of type '" "int""'");
28349 arg1
= static_cast< int >(val1
);
28352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28353 result
= (wxMouseCaptureLostEvent
*)new wxMouseCaptureLostEvent(arg1
);
28354 wxPyEndAllowThreads(__tstate
);
28355 if (PyErr_Occurred()) SWIG_fail
;
28357 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseCaptureLostEvent
, SWIG_POINTER_NEW
| 0 );
28364 SWIGINTERN PyObject
*MouseCaptureLostEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28366 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28367 SWIG_TypeNewClientData(SWIGTYPE_p_wxMouseCaptureLostEvent
, SWIG_NewClientData(obj
));
28368 return SWIG_Py_Void();
28371 SWIGINTERN PyObject
*MouseCaptureLostEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28372 return SWIG_Python_InitShadowInstance(args
);
28375 SWIGINTERN PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28376 PyObject
*resultobj
= 0;
28377 wxDisplayChangedEvent
*result
= 0 ;
28379 if (!SWIG_Python_UnpackTuple(args
,"new_DisplayChangedEvent",0,0,0)) SWIG_fail
;
28381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28382 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
28383 wxPyEndAllowThreads(__tstate
);
28384 if (PyErr_Occurred()) SWIG_fail
;
28386 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDisplayChangedEvent
, SWIG_POINTER_NEW
| 0 );
28393 SWIGINTERN PyObject
*DisplayChangedEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28395 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28396 SWIG_TypeNewClientData(SWIGTYPE_p_wxDisplayChangedEvent
, SWIG_NewClientData(obj
));
28397 return SWIG_Py_Void();
28400 SWIGINTERN PyObject
*DisplayChangedEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28401 return SWIG_Python_InitShadowInstance(args
);
28404 SWIGINTERN PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28405 PyObject
*resultobj
= 0;
28406 int arg1
= (int) 0 ;
28407 wxPaletteChangedEvent
*result
= 0 ;
28410 PyObject
* obj0
= 0 ;
28411 char * kwnames
[] = {
28412 (char *) "id", NULL
28415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) SWIG_fail
;
28417 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28418 if (!SWIG_IsOK(ecode1
)) {
28419 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PaletteChangedEvent" "', expected argument " "1"" of type '" "int""'");
28421 arg1
= static_cast< int >(val1
);
28424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28425 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
28426 wxPyEndAllowThreads(__tstate
);
28427 if (PyErr_Occurred()) SWIG_fail
;
28429 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_NEW
| 0 );
28436 SWIGINTERN PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28437 PyObject
*resultobj
= 0;
28438 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
28439 wxWindow
*arg2
= (wxWindow
*) 0 ;
28444 PyObject
* obj0
= 0 ;
28445 PyObject
* obj1
= 0 ;
28446 char * kwnames
[] = {
28447 (char *) "self",(char *) "win", NULL
28450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPaletteChangedEvent
, 0 | 0 );
28452 if (!SWIG_IsOK(res1
)) {
28453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PaletteChangedEvent_SetChangedWindow" "', expected argument " "1"" of type '" "wxPaletteChangedEvent *""'");
28455 arg1
= reinterpret_cast< wxPaletteChangedEvent
* >(argp1
);
28456 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28457 if (!SWIG_IsOK(res2
)) {
28458 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PaletteChangedEvent_SetChangedWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
28460 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28463 (arg1
)->SetChangedWindow(arg2
);
28464 wxPyEndAllowThreads(__tstate
);
28465 if (PyErr_Occurred()) SWIG_fail
;
28467 resultobj
= SWIG_Py_Void();
28474 SWIGINTERN PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28475 PyObject
*resultobj
= 0;
28476 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
28477 wxWindow
*result
= 0 ;
28480 PyObject
*swig_obj
[1] ;
28482 if (!args
) SWIG_fail
;
28483 swig_obj
[0] = args
;
28484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPaletteChangedEvent
, 0 | 0 );
28485 if (!SWIG_IsOK(res1
)) {
28486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PaletteChangedEvent_GetChangedWindow" "', expected argument " "1"" of type '" "wxPaletteChangedEvent *""'");
28488 arg1
= reinterpret_cast< wxPaletteChangedEvent
* >(argp1
);
28490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28491 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
28492 wxPyEndAllowThreads(__tstate
);
28493 if (PyErr_Occurred()) SWIG_fail
;
28496 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28504 SWIGINTERN PyObject
*PaletteChangedEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28506 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28507 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_NewClientData(obj
));
28508 return SWIG_Py_Void();
28511 SWIGINTERN PyObject
*PaletteChangedEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28512 return SWIG_Python_InitShadowInstance(args
);
28515 SWIGINTERN PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28516 PyObject
*resultobj
= 0;
28517 int arg1
= (int) 0 ;
28518 wxQueryNewPaletteEvent
*result
= 0 ;
28521 PyObject
* obj0
= 0 ;
28522 char * kwnames
[] = {
28523 (char *) "winid", NULL
28526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) SWIG_fail
;
28528 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28529 if (!SWIG_IsOK(ecode1
)) {
28530 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryNewPaletteEvent" "', expected argument " "1"" of type '" "int""'");
28532 arg1
= static_cast< int >(val1
);
28535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28536 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
28537 wxPyEndAllowThreads(__tstate
);
28538 if (PyErr_Occurred()) SWIG_fail
;
28540 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_NEW
| 0 );
28547 SWIGINTERN PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28548 PyObject
*resultobj
= 0;
28549 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
28555 PyObject
* obj0
= 0 ;
28556 PyObject
* obj1
= 0 ;
28557 char * kwnames
[] = {
28558 (char *) "self",(char *) "realized", NULL
28561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryNewPaletteEvent
, 0 | 0 );
28563 if (!SWIG_IsOK(res1
)) {
28564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryNewPaletteEvent_SetPaletteRealized" "', expected argument " "1"" of type '" "wxQueryNewPaletteEvent *""'");
28566 arg1
= reinterpret_cast< wxQueryNewPaletteEvent
* >(argp1
);
28567 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28568 if (!SWIG_IsOK(ecode2
)) {
28569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryNewPaletteEvent_SetPaletteRealized" "', expected argument " "2"" of type '" "bool""'");
28571 arg2
= static_cast< bool >(val2
);
28573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28574 (arg1
)->SetPaletteRealized(arg2
);
28575 wxPyEndAllowThreads(__tstate
);
28576 if (PyErr_Occurred()) SWIG_fail
;
28578 resultobj
= SWIG_Py_Void();
28585 SWIGINTERN PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28586 PyObject
*resultobj
= 0;
28587 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
28591 PyObject
*swig_obj
[1] ;
28593 if (!args
) SWIG_fail
;
28594 swig_obj
[0] = args
;
28595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryNewPaletteEvent
, 0 | 0 );
28596 if (!SWIG_IsOK(res1
)) {
28597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryNewPaletteEvent_GetPaletteRealized" "', expected argument " "1"" of type '" "wxQueryNewPaletteEvent const *""'");
28599 arg1
= reinterpret_cast< wxQueryNewPaletteEvent
* >(argp1
);
28601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28602 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
28603 wxPyEndAllowThreads(__tstate
);
28604 if (PyErr_Occurred()) SWIG_fail
;
28607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28615 SWIGINTERN PyObject
*QueryNewPaletteEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28617 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28618 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_NewClientData(obj
));
28619 return SWIG_Py_Void();
28622 SWIGINTERN PyObject
*QueryNewPaletteEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28623 return SWIG_Python_InitShadowInstance(args
);
28626 SWIGINTERN PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28627 PyObject
*resultobj
= 0;
28628 wxNavigationKeyEvent
*result
= 0 ;
28630 if (!SWIG_Python_UnpackTuple(args
,"new_NavigationKeyEvent",0,0,0)) SWIG_fail
;
28632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28633 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
28634 wxPyEndAllowThreads(__tstate
);
28635 if (PyErr_Occurred()) SWIG_fail
;
28637 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_NEW
| 0 );
28644 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28645 PyObject
*resultobj
= 0;
28646 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
28650 PyObject
*swig_obj
[1] ;
28652 if (!args
) SWIG_fail
;
28653 swig_obj
[0] = args
;
28654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
28655 if (!SWIG_IsOK(res1
)) {
28656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_GetDirection" "', expected argument " "1"" of type '" "wxNavigationKeyEvent const *""'");
28658 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
28660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28661 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
28662 wxPyEndAllowThreads(__tstate
);
28663 if (PyErr_Occurred()) SWIG_fail
;
28666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28674 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28675 PyObject
*resultobj
= 0;
28676 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
28682 PyObject
* obj0
= 0 ;
28683 PyObject
* obj1
= 0 ;
28684 char * kwnames
[] = {
28685 (char *) "self",(char *) "forward", NULL
28688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
28690 if (!SWIG_IsOK(res1
)) {
28691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_SetDirection" "', expected argument " "1"" of type '" "wxNavigationKeyEvent *""'");
28693 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
28694 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28695 if (!SWIG_IsOK(ecode2
)) {
28696 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NavigationKeyEvent_SetDirection" "', expected argument " "2"" of type '" "bool""'");
28698 arg2
= static_cast< bool >(val2
);
28700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28701 (arg1
)->SetDirection(arg2
);
28702 wxPyEndAllowThreads(__tstate
);
28703 if (PyErr_Occurred()) SWIG_fail
;
28705 resultobj
= SWIG_Py_Void();
28712 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28713 PyObject
*resultobj
= 0;
28714 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
28718 PyObject
*swig_obj
[1] ;
28720 if (!args
) SWIG_fail
;
28721 swig_obj
[0] = args
;
28722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
28723 if (!SWIG_IsOK(res1
)) {
28724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_IsWindowChange" "', expected argument " "1"" of type '" "wxNavigationKeyEvent const *""'");
28726 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
28728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28729 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
28730 wxPyEndAllowThreads(__tstate
);
28731 if (PyErr_Occurred()) SWIG_fail
;
28734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28742 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28743 PyObject
*resultobj
= 0;
28744 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
28750 PyObject
* obj0
= 0 ;
28751 PyObject
* obj1
= 0 ;
28752 char * kwnames
[] = {
28753 (char *) "self",(char *) "ischange", NULL
28756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
28758 if (!SWIG_IsOK(res1
)) {
28759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_SetWindowChange" "', expected argument " "1"" of type '" "wxNavigationKeyEvent *""'");
28761 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
28762 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28763 if (!SWIG_IsOK(ecode2
)) {
28764 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NavigationKeyEvent_SetWindowChange" "', expected argument " "2"" of type '" "bool""'");
28766 arg2
= static_cast< bool >(val2
);
28768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28769 (arg1
)->SetWindowChange(arg2
);
28770 wxPyEndAllowThreads(__tstate
);
28771 if (PyErr_Occurred()) SWIG_fail
;
28773 resultobj
= SWIG_Py_Void();
28780 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_IsFromTab(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28781 PyObject
*resultobj
= 0;
28782 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
28786 PyObject
*swig_obj
[1] ;
28788 if (!args
) SWIG_fail
;
28789 swig_obj
[0] = args
;
28790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
28791 if (!SWIG_IsOK(res1
)) {
28792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_IsFromTab" "', expected argument " "1"" of type '" "wxNavigationKeyEvent const *""'");
28794 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
28796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28797 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsFromTab();
28798 wxPyEndAllowThreads(__tstate
);
28799 if (PyErr_Occurred()) SWIG_fail
;
28802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28810 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_SetFromTab(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28811 PyObject
*resultobj
= 0;
28812 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
28818 PyObject
* obj0
= 0 ;
28819 PyObject
* obj1
= 0 ;
28820 char * kwnames
[] = {
28821 (char *) "self",(char *) "bIs", NULL
28824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFromTab",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
28826 if (!SWIG_IsOK(res1
)) {
28827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_SetFromTab" "', expected argument " "1"" of type '" "wxNavigationKeyEvent *""'");
28829 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
28830 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28831 if (!SWIG_IsOK(ecode2
)) {
28832 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NavigationKeyEvent_SetFromTab" "', expected argument " "2"" of type '" "bool""'");
28834 arg2
= static_cast< bool >(val2
);
28836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28837 (arg1
)->SetFromTab(arg2
);
28838 wxPyEndAllowThreads(__tstate
);
28839 if (PyErr_Occurred()) SWIG_fail
;
28841 resultobj
= SWIG_Py_Void();
28848 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28849 PyObject
*resultobj
= 0;
28850 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
28856 PyObject
* obj0
= 0 ;
28857 PyObject
* obj1
= 0 ;
28858 char * kwnames
[] = {
28859 (char *) "self",(char *) "flags", NULL
28862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
28864 if (!SWIG_IsOK(res1
)) {
28865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_SetFlags" "', expected argument " "1"" of type '" "wxNavigationKeyEvent *""'");
28867 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
28868 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28869 if (!SWIG_IsOK(ecode2
)) {
28870 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NavigationKeyEvent_SetFlags" "', expected argument " "2"" of type '" "long""'");
28872 arg2
= static_cast< long >(val2
);
28874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28875 (arg1
)->SetFlags(arg2
);
28876 wxPyEndAllowThreads(__tstate
);
28877 if (PyErr_Occurred()) SWIG_fail
;
28879 resultobj
= SWIG_Py_Void();
28886 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28887 PyObject
*resultobj
= 0;
28888 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
28889 wxWindow
*result
= 0 ;
28892 PyObject
*swig_obj
[1] ;
28894 if (!args
) SWIG_fail
;
28895 swig_obj
[0] = args
;
28896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
28897 if (!SWIG_IsOK(res1
)) {
28898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_GetCurrentFocus" "', expected argument " "1"" of type '" "wxNavigationKeyEvent const *""'");
28900 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
28902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28903 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
28904 wxPyEndAllowThreads(__tstate
);
28905 if (PyErr_Occurred()) SWIG_fail
;
28908 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28916 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28917 PyObject
*resultobj
= 0;
28918 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
28919 wxWindow
*arg2
= (wxWindow
*) 0 ;
28924 PyObject
* obj0
= 0 ;
28925 PyObject
* obj1
= 0 ;
28926 char * kwnames
[] = {
28927 (char *) "self",(char *) "win", NULL
28930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
28932 if (!SWIG_IsOK(res1
)) {
28933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_SetCurrentFocus" "', expected argument " "1"" of type '" "wxNavigationKeyEvent *""'");
28935 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
28936 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28937 if (!SWIG_IsOK(res2
)) {
28938 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NavigationKeyEvent_SetCurrentFocus" "', expected argument " "2"" of type '" "wxWindow *""'");
28940 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28943 (arg1
)->SetCurrentFocus(arg2
);
28944 wxPyEndAllowThreads(__tstate
);
28945 if (PyErr_Occurred()) SWIG_fail
;
28947 resultobj
= SWIG_Py_Void();
28954 SWIGINTERN PyObject
*NavigationKeyEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28956 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28957 SWIG_TypeNewClientData(SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_NewClientData(obj
));
28958 return SWIG_Py_Void();
28961 SWIGINTERN PyObject
*NavigationKeyEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28962 return SWIG_Python_InitShadowInstance(args
);
28965 SWIGINTERN PyObject
*_wrap_new_WindowCreateEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28966 PyObject
*resultobj
= 0;
28967 wxWindow
*arg1
= (wxWindow
*) NULL
;
28968 wxWindowCreateEvent
*result
= 0 ;
28971 PyObject
* obj0
= 0 ;
28972 char * kwnames
[] = {
28973 (char *) "win", NULL
28976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) SWIG_fail
;
28978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28979 if (!SWIG_IsOK(res1
)) {
28980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowCreateEvent" "', expected argument " "1"" of type '" "wxWindow *""'");
28982 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28986 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
28987 wxPyEndAllowThreads(__tstate
);
28988 if (PyErr_Occurred()) SWIG_fail
;
28990 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowCreateEvent
, SWIG_POINTER_NEW
| 0 );
28997 SWIGINTERN PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28998 PyObject
*resultobj
= 0;
28999 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
29000 wxWindow
*result
= 0 ;
29003 PyObject
*swig_obj
[1] ;
29005 if (!args
) SWIG_fail
;
29006 swig_obj
[0] = args
;
29007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindowCreateEvent
, 0 | 0 );
29008 if (!SWIG_IsOK(res1
)) {
29009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "WindowCreateEvent_GetWindow" "', expected argument " "1"" of type '" "wxWindowCreateEvent const *""'");
29011 arg1
= reinterpret_cast< wxWindowCreateEvent
* >(argp1
);
29013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29014 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
29015 wxPyEndAllowThreads(__tstate
);
29016 if (PyErr_Occurred()) SWIG_fail
;
29019 resultobj
= wxPyMake_wxObject(result
, (bool)0);
29027 SWIGINTERN PyObject
*WindowCreateEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29029 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29030 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowCreateEvent
, SWIG_NewClientData(obj
));
29031 return SWIG_Py_Void();
29034 SWIGINTERN PyObject
*WindowCreateEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29035 return SWIG_Python_InitShadowInstance(args
);
29038 SWIGINTERN PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29039 PyObject
*resultobj
= 0;
29040 wxWindow
*arg1
= (wxWindow
*) NULL
;
29041 wxWindowDestroyEvent
*result
= 0 ;
29044 PyObject
* obj0
= 0 ;
29045 char * kwnames
[] = {
29046 (char *) "win", NULL
29049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) SWIG_fail
;
29051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29052 if (!SWIG_IsOK(res1
)) {
29053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDestroyEvent" "', expected argument " "1"" of type '" "wxWindow *""'");
29055 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29059 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
29060 wxPyEndAllowThreads(__tstate
);
29061 if (PyErr_Occurred()) SWIG_fail
;
29063 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDestroyEvent
, SWIG_POINTER_NEW
| 0 );
29070 SWIGINTERN PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29071 PyObject
*resultobj
= 0;
29072 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
29073 wxWindow
*result
= 0 ;
29076 PyObject
*swig_obj
[1] ;
29078 if (!args
) SWIG_fail
;
29079 swig_obj
[0] = args
;
29080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindowDestroyEvent
, 0 | 0 );
29081 if (!SWIG_IsOK(res1
)) {
29082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "WindowDestroyEvent_GetWindow" "', expected argument " "1"" of type '" "wxWindowDestroyEvent const *""'");
29084 arg1
= reinterpret_cast< wxWindowDestroyEvent
* >(argp1
);
29086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29087 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
29088 wxPyEndAllowThreads(__tstate
);
29089 if (PyErr_Occurred()) SWIG_fail
;
29092 resultobj
= wxPyMake_wxObject(result
, (bool)0);
29100 SWIGINTERN PyObject
*WindowDestroyEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29102 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29103 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDestroyEvent
, SWIG_NewClientData(obj
));
29104 return SWIG_Py_Void();
29107 SWIGINTERN PyObject
*WindowDestroyEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29108 return SWIG_Python_InitShadowInstance(args
);
29111 SWIGINTERN PyObject
*_wrap_new_ContextMenuEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29112 PyObject
*resultobj
= 0;
29113 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
29114 int arg2
= (int) 0 ;
29115 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29116 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29117 wxContextMenuEvent
*result
= 0 ;
29123 PyObject
* obj0
= 0 ;
29124 PyObject
* obj1
= 0 ;
29125 PyObject
* obj2
= 0 ;
29126 char * kwnames
[] = {
29127 (char *) "type",(char *) "winid",(char *) "pt", NULL
29130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29132 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29133 if (!SWIG_IsOK(ecode1
)) {
29134 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ContextMenuEvent" "', expected argument " "1"" of type '" "wxEventType""'");
29136 arg1
= static_cast< wxEventType
>(val1
);
29139 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29140 if (!SWIG_IsOK(ecode2
)) {
29141 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextMenuEvent" "', expected argument " "2"" of type '" "int""'");
29143 arg2
= static_cast< int >(val2
);
29148 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29153 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
29154 wxPyEndAllowThreads(__tstate
);
29155 if (PyErr_Occurred()) SWIG_fail
;
29157 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_NEW
| 0 );
29164 SWIGINTERN PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29165 PyObject
*resultobj
= 0;
29166 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
29167 wxPoint
*result
= 0 ;
29170 PyObject
*swig_obj
[1] ;
29172 if (!args
) SWIG_fail
;
29173 swig_obj
[0] = args
;
29174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextMenuEvent
, 0 | 0 );
29175 if (!SWIG_IsOK(res1
)) {
29176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextMenuEvent_GetPosition" "', expected argument " "1"" of type '" "wxContextMenuEvent const *""'");
29178 arg1
= reinterpret_cast< wxContextMenuEvent
* >(argp1
);
29180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29182 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
29183 result
= (wxPoint
*) &_result_ref
;
29185 wxPyEndAllowThreads(__tstate
);
29186 if (PyErr_Occurred()) SWIG_fail
;
29188 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
29195 SWIGINTERN PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29196 PyObject
*resultobj
= 0;
29197 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
29198 wxPoint
*arg2
= 0 ;
29202 PyObject
* obj0
= 0 ;
29203 PyObject
* obj1
= 0 ;
29204 char * kwnames
[] = {
29205 (char *) "self",(char *) "pos", NULL
29208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextMenuEvent
, 0 | 0 );
29210 if (!SWIG_IsOK(res1
)) {
29211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextMenuEvent_SetPosition" "', expected argument " "1"" of type '" "wxContextMenuEvent *""'");
29213 arg1
= reinterpret_cast< wxContextMenuEvent
* >(argp1
);
29216 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29220 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
29221 wxPyEndAllowThreads(__tstate
);
29222 if (PyErr_Occurred()) SWIG_fail
;
29224 resultobj
= SWIG_Py_Void();
29231 SWIGINTERN PyObject
*ContextMenuEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29233 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29234 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextMenuEvent
, SWIG_NewClientData(obj
));
29235 return SWIG_Py_Void();
29238 SWIGINTERN PyObject
*ContextMenuEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29239 return SWIG_Python_InitShadowInstance(args
);
29242 SWIGINTERN PyObject
*_wrap_new_IdleEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29243 PyObject
*resultobj
= 0;
29244 wxIdleEvent
*result
= 0 ;
29246 if (!SWIG_Python_UnpackTuple(args
,"new_IdleEvent",0,0,0)) SWIG_fail
;
29248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29249 result
= (wxIdleEvent
*)new wxIdleEvent();
29250 wxPyEndAllowThreads(__tstate
);
29251 if (PyErr_Occurred()) SWIG_fail
;
29253 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_NEW
| 0 );
29260 SWIGINTERN PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29261 PyObject
*resultobj
= 0;
29262 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
29263 bool arg2
= (bool) true ;
29268 PyObject
* obj0
= 0 ;
29269 PyObject
* obj1
= 0 ;
29270 char * kwnames
[] = {
29271 (char *) "self",(char *) "needMore", NULL
29274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIdleEvent
, 0 | 0 );
29276 if (!SWIG_IsOK(res1
)) {
29277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IdleEvent_RequestMore" "', expected argument " "1"" of type '" "wxIdleEvent *""'");
29279 arg1
= reinterpret_cast< wxIdleEvent
* >(argp1
);
29281 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29282 if (!SWIG_IsOK(ecode2
)) {
29283 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IdleEvent_RequestMore" "', expected argument " "2"" of type '" "bool""'");
29285 arg2
= static_cast< bool >(val2
);
29288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29289 (arg1
)->RequestMore(arg2
);
29290 wxPyEndAllowThreads(__tstate
);
29291 if (PyErr_Occurred()) SWIG_fail
;
29293 resultobj
= SWIG_Py_Void();
29300 SWIGINTERN PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29301 PyObject
*resultobj
= 0;
29302 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
29306 PyObject
*swig_obj
[1] ;
29308 if (!args
) SWIG_fail
;
29309 swig_obj
[0] = args
;
29310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIdleEvent
, 0 | 0 );
29311 if (!SWIG_IsOK(res1
)) {
29312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IdleEvent_MoreRequested" "', expected argument " "1"" of type '" "wxIdleEvent const *""'");
29314 arg1
= reinterpret_cast< wxIdleEvent
* >(argp1
);
29316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29317 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
29318 wxPyEndAllowThreads(__tstate
);
29319 if (PyErr_Occurred()) SWIG_fail
;
29322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29330 SWIGINTERN PyObject
*_wrap_IdleEvent_SetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29331 PyObject
*resultobj
= 0;
29335 PyObject
* obj0
= 0 ;
29336 char * kwnames
[] = {
29337 (char *) "mode", NULL
29340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) SWIG_fail
;
29341 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29342 if (!SWIG_IsOK(ecode1
)) {
29343 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IdleEvent_SetMode" "', expected argument " "1"" of type '" "wxIdleMode""'");
29345 arg1
= static_cast< wxIdleMode
>(val1
);
29347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29348 wxIdleEvent::SetMode(arg1
);
29349 wxPyEndAllowThreads(__tstate
);
29350 if (PyErr_Occurred()) SWIG_fail
;
29352 resultobj
= SWIG_Py_Void();
29359 SWIGINTERN PyObject
*_wrap_IdleEvent_GetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29360 PyObject
*resultobj
= 0;
29363 if (!SWIG_Python_UnpackTuple(args
,"IdleEvent_GetMode",0,0,0)) SWIG_fail
;
29365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29366 result
= (wxIdleMode
)wxIdleEvent::GetMode();
29367 wxPyEndAllowThreads(__tstate
);
29368 if (PyErr_Occurred()) SWIG_fail
;
29370 resultobj
= SWIG_From_int(static_cast< int >(result
));
29377 SWIGINTERN PyObject
*_wrap_IdleEvent_CanSend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29378 PyObject
*resultobj
= 0;
29379 wxWindow
*arg1
= (wxWindow
*) 0 ;
29383 PyObject
* obj0
= 0 ;
29384 char * kwnames
[] = {
29385 (char *) "win", NULL
29388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) SWIG_fail
;
29389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29390 if (!SWIG_IsOK(res1
)) {
29391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IdleEvent_CanSend" "', expected argument " "1"" of type '" "wxWindow *""'");
29393 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29396 result
= (bool)wxIdleEvent::CanSend(arg1
);
29397 wxPyEndAllowThreads(__tstate
);
29398 if (PyErr_Occurred()) SWIG_fail
;
29401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29409 SWIGINTERN PyObject
*IdleEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29411 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29412 SWIG_TypeNewClientData(SWIGTYPE_p_wxIdleEvent
, SWIG_NewClientData(obj
));
29413 return SWIG_Py_Void();
29416 SWIGINTERN PyObject
*IdleEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29417 return SWIG_Python_InitShadowInstance(args
);
29420 SWIGINTERN PyObject
*_wrap_new_ClipboardTextEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29421 PyObject
*resultobj
= 0;
29422 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
29423 int arg2
= (int) 0 ;
29424 wxClipboardTextEvent
*result
= 0 ;
29429 PyObject
* obj0
= 0 ;
29430 PyObject
* obj1
= 0 ;
29431 char * kwnames
[] = {
29432 (char *) "type",(char *) "winid", NULL
29435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ClipboardTextEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29437 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29438 if (!SWIG_IsOK(ecode1
)) {
29439 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ClipboardTextEvent" "', expected argument " "1"" of type '" "wxEventType""'");
29441 arg1
= static_cast< wxEventType
>(val1
);
29444 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29445 if (!SWIG_IsOK(ecode2
)) {
29446 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ClipboardTextEvent" "', expected argument " "2"" of type '" "int""'");
29448 arg2
= static_cast< int >(val2
);
29451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29452 result
= (wxClipboardTextEvent
*)new wxClipboardTextEvent(arg1
,arg2
);
29453 wxPyEndAllowThreads(__tstate
);
29454 if (PyErr_Occurred()) SWIG_fail
;
29456 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboardTextEvent
, SWIG_POINTER_NEW
| 0 );
29463 SWIGINTERN PyObject
*ClipboardTextEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29465 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29466 SWIG_TypeNewClientData(SWIGTYPE_p_wxClipboardTextEvent
, SWIG_NewClientData(obj
));
29467 return SWIG_Py_Void();
29470 SWIGINTERN PyObject
*ClipboardTextEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29471 return SWIG_Python_InitShadowInstance(args
);
29474 SWIGINTERN PyObject
*_wrap_new_PyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29475 PyObject
*resultobj
= 0;
29476 int arg1
= (int) 0 ;
29477 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
29478 wxPyEvent
*result
= 0 ;
29483 PyObject
* obj0
= 0 ;
29484 PyObject
* obj1
= 0 ;
29485 char * kwnames
[] = {
29486 (char *) "winid",(char *) "eventType", NULL
29489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29491 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29492 if (!SWIG_IsOK(ecode1
)) {
29493 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyEvent" "', expected argument " "1"" of type '" "int""'");
29495 arg1
= static_cast< int >(val1
);
29498 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29499 if (!SWIG_IsOK(ecode2
)) {
29500 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyEvent" "', expected argument " "2"" of type '" "wxEventType""'");
29502 arg2
= static_cast< wxEventType
>(val2
);
29505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29506 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
29507 wxPyEndAllowThreads(__tstate
);
29508 if (PyErr_Occurred()) SWIG_fail
;
29510 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_NEW
| 0 );
29517 SWIGINTERN PyObject
*_wrap_delete_PyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29518 PyObject
*resultobj
= 0;
29519 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
29522 PyObject
*swig_obj
[1] ;
29524 if (!args
) SWIG_fail
;
29525 swig_obj
[0] = args
;
29526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_DISOWN
| 0 );
29527 if (!SWIG_IsOK(res1
)) {
29528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyEvent" "', expected argument " "1"" of type '" "wxPyEvent *""'");
29530 arg1
= reinterpret_cast< wxPyEvent
* >(argp1
);
29532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29535 wxPyEndAllowThreads(__tstate
);
29536 if (PyErr_Occurred()) SWIG_fail
;
29538 resultobj
= SWIG_Py_Void();
29545 SWIGINTERN PyObject
*_wrap_PyEvent__SetSelf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29546 PyObject
*resultobj
= 0;
29547 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
29548 PyObject
*arg2
= (PyObject
*) 0 ;
29551 PyObject
* obj0
= 0 ;
29552 PyObject
* obj1
= 0 ;
29553 char * kwnames
[] = {
29554 (char *) "self",(char *) "self", NULL
29557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent__SetSelf",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyEvent
, 0 | 0 );
29559 if (!SWIG_IsOK(res1
)) {
29560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyEvent__SetSelf" "', expected argument " "1"" of type '" "wxPyEvent *""'");
29562 arg1
= reinterpret_cast< wxPyEvent
* >(argp1
);
29565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29566 (arg1
)->SetSelf(arg2
);
29567 wxPyEndAllowThreads(__tstate
);
29568 if (PyErr_Occurred()) SWIG_fail
;
29570 resultobj
= SWIG_Py_Void();
29577 SWIGINTERN PyObject
*_wrap_PyEvent__GetSelf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29578 PyObject
*resultobj
= 0;
29579 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
29580 PyObject
*result
= 0 ;
29583 PyObject
*swig_obj
[1] ;
29585 if (!args
) SWIG_fail
;
29586 swig_obj
[0] = args
;
29587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyEvent
, 0 | 0 );
29588 if (!SWIG_IsOK(res1
)) {
29589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyEvent__GetSelf" "', expected argument " "1"" of type '" "wxPyEvent *""'");
29591 arg1
= reinterpret_cast< wxPyEvent
* >(argp1
);
29593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29594 result
= (PyObject
*)(arg1
)->GetSelf();
29595 wxPyEndAllowThreads(__tstate
);
29596 if (PyErr_Occurred()) SWIG_fail
;
29598 resultobj
= result
;
29605 SWIGINTERN PyObject
*PyEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29607 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29608 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyEvent
, SWIG_NewClientData(obj
));
29609 return SWIG_Py_Void();
29612 SWIGINTERN PyObject
*PyEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29613 return SWIG_Python_InitShadowInstance(args
);
29616 SWIGINTERN PyObject
*_wrap_new_PyCommandEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29617 PyObject
*resultobj
= 0;
29618 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
29619 int arg2
= (int) 0 ;
29620 wxPyCommandEvent
*result
= 0 ;
29625 PyObject
* obj0
= 0 ;
29626 PyObject
* obj1
= 0 ;
29627 char * kwnames
[] = {
29628 (char *) "eventType",(char *) "id", NULL
29631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29633 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29634 if (!SWIG_IsOK(ecode1
)) {
29635 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyCommandEvent" "', expected argument " "1"" of type '" "wxEventType""'");
29637 arg1
= static_cast< wxEventType
>(val1
);
29640 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29641 if (!SWIG_IsOK(ecode2
)) {
29642 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyCommandEvent" "', expected argument " "2"" of type '" "int""'");
29644 arg2
= static_cast< int >(val2
);
29647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29648 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
29649 wxPyEndAllowThreads(__tstate
);
29650 if (PyErr_Occurred()) SWIG_fail
;
29652 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_NEW
| 0 );
29659 SWIGINTERN PyObject
*_wrap_delete_PyCommandEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29660 PyObject
*resultobj
= 0;
29661 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
29664 PyObject
*swig_obj
[1] ;
29666 if (!args
) SWIG_fail
;
29667 swig_obj
[0] = args
;
29668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_DISOWN
| 0 );
29669 if (!SWIG_IsOK(res1
)) {
29670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyCommandEvent" "', expected argument " "1"" of type '" "wxPyCommandEvent *""'");
29672 arg1
= reinterpret_cast< wxPyCommandEvent
* >(argp1
);
29674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29677 wxPyEndAllowThreads(__tstate
);
29678 if (PyErr_Occurred()) SWIG_fail
;
29680 resultobj
= SWIG_Py_Void();
29687 SWIGINTERN PyObject
*_wrap_PyCommandEvent__SetSelf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29688 PyObject
*resultobj
= 0;
29689 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
29690 PyObject
*arg2
= (PyObject
*) 0 ;
29693 PyObject
* obj0
= 0 ;
29694 PyObject
* obj1
= 0 ;
29695 char * kwnames
[] = {
29696 (char *) "self",(char *) "self", NULL
29699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent__SetSelf",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyCommandEvent
, 0 | 0 );
29701 if (!SWIG_IsOK(res1
)) {
29702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyCommandEvent__SetSelf" "', expected argument " "1"" of type '" "wxPyCommandEvent *""'");
29704 arg1
= reinterpret_cast< wxPyCommandEvent
* >(argp1
);
29707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29708 (arg1
)->SetSelf(arg2
);
29709 wxPyEndAllowThreads(__tstate
);
29710 if (PyErr_Occurred()) SWIG_fail
;
29712 resultobj
= SWIG_Py_Void();
29719 SWIGINTERN PyObject
*_wrap_PyCommandEvent__GetSelf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29720 PyObject
*resultobj
= 0;
29721 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
29722 PyObject
*result
= 0 ;
29725 PyObject
*swig_obj
[1] ;
29727 if (!args
) SWIG_fail
;
29728 swig_obj
[0] = args
;
29729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyCommandEvent
, 0 | 0 );
29730 if (!SWIG_IsOK(res1
)) {
29731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyCommandEvent__GetSelf" "', expected argument " "1"" of type '" "wxPyCommandEvent *""'");
29733 arg1
= reinterpret_cast< wxPyCommandEvent
* >(argp1
);
29735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29736 result
= (PyObject
*)(arg1
)->GetSelf();
29737 wxPyEndAllowThreads(__tstate
);
29738 if (PyErr_Occurred()) SWIG_fail
;
29740 resultobj
= result
;
29747 SWIGINTERN PyObject
*PyCommandEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29749 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29750 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyCommandEvent
, SWIG_NewClientData(obj
));
29751 return SWIG_Py_Void();
29754 SWIGINTERN PyObject
*PyCommandEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29755 return SWIG_Python_InitShadowInstance(args
);
29758 SWIGINTERN PyObject
*_wrap_new_DateEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29759 PyObject
*resultobj
= 0;
29760 wxWindow
*arg1
= (wxWindow
*) 0 ;
29761 wxDateTime
*arg2
= 0 ;
29763 wxDateEvent
*result
= 0 ;
29770 PyObject
* obj0
= 0 ;
29771 PyObject
* obj1
= 0 ;
29772 PyObject
* obj2
= 0 ;
29773 char * kwnames
[] = {
29774 (char *) "win",(char *) "dt",(char *) "type", NULL
29777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_DateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29779 if (!SWIG_IsOK(res1
)) {
29780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DateEvent" "', expected argument " "1"" of type '" "wxWindow *""'");
29782 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29783 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
29784 if (!SWIG_IsOK(res2
)) {
29785 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DateEvent" "', expected argument " "2"" of type '" "wxDateTime const &""'");
29788 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DateEvent" "', expected argument " "2"" of type '" "wxDateTime const &""'");
29790 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
29791 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29792 if (!SWIG_IsOK(ecode3
)) {
29793 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateEvent" "', expected argument " "3"" of type '" "wxEventType""'");
29795 arg3
= static_cast< wxEventType
>(val3
);
29797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29798 result
= (wxDateEvent
*)new wxDateEvent(arg1
,(wxDateTime
const &)*arg2
,arg3
);
29799 wxPyEndAllowThreads(__tstate
);
29800 if (PyErr_Occurred()) SWIG_fail
;
29802 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_NEW
| 0 );
29809 SWIGINTERN PyObject
*_wrap_DateEvent_GetDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29810 PyObject
*resultobj
= 0;
29811 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
29812 wxDateTime
*result
= 0 ;
29815 PyObject
*swig_obj
[1] ;
29817 if (!args
) SWIG_fail
;
29818 swig_obj
[0] = args
;
29819 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateEvent
, 0 | 0 );
29820 if (!SWIG_IsOK(res1
)) {
29821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateEvent_GetDate" "', expected argument " "1"" of type '" "wxDateEvent const *""'");
29823 arg1
= reinterpret_cast< wxDateEvent
* >(argp1
);
29825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29827 wxDateTime
const &_result_ref
= ((wxDateEvent
const *)arg1
)->GetDate();
29828 result
= (wxDateTime
*) &_result_ref
;
29830 wxPyEndAllowThreads(__tstate
);
29831 if (PyErr_Occurred()) SWIG_fail
;
29833 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
29840 SWIGINTERN PyObject
*_wrap_DateEvent_SetDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29841 PyObject
*resultobj
= 0;
29842 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
29843 wxDateTime
*arg2
= 0 ;
29848 PyObject
* obj0
= 0 ;
29849 PyObject
* obj1
= 0 ;
29850 char * kwnames
[] = {
29851 (char *) "self",(char *) "date", NULL
29854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateEvent_SetDate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateEvent
, 0 | 0 );
29856 if (!SWIG_IsOK(res1
)) {
29857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateEvent_SetDate" "', expected argument " "1"" of type '" "wxDateEvent *""'");
29859 arg1
= reinterpret_cast< wxDateEvent
* >(argp1
);
29860 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
29861 if (!SWIG_IsOK(res2
)) {
29862 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateEvent_SetDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
29865 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateEvent_SetDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
29867 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
29869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29870 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
29871 wxPyEndAllowThreads(__tstate
);
29872 if (PyErr_Occurred()) SWIG_fail
;
29874 resultobj
= SWIG_Py_Void();
29881 SWIGINTERN PyObject
*DateEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29883 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29884 SWIG_TypeNewClientData(SWIGTYPE_p_wxDateEvent
, SWIG_NewClientData(obj
));
29885 return SWIG_Py_Void();
29888 SWIGINTERN PyObject
*DateEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29889 return SWIG_Python_InitShadowInstance(args
);
29892 SWIGINTERN PyObject
*_wrap_new_PyApp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29893 PyObject
*resultobj
= 0;
29894 wxPyApp
*result
= 0 ;
29896 if (!SWIG_Python_UnpackTuple(args
,"new_PyApp",0,0,0)) SWIG_fail
;
29898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29899 result
= (wxPyApp
*)new_wxPyApp();
29900 wxPyEndAllowThreads(__tstate
);
29901 if (PyErr_Occurred()) SWIG_fail
;
29903 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyApp
, SWIG_POINTER_NEW
| 0 );
29910 SWIGINTERN PyObject
*_wrap_delete_PyApp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29911 PyObject
*resultobj
= 0;
29912 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
29915 PyObject
*swig_obj
[1] ;
29917 if (!args
) SWIG_fail
;
29918 swig_obj
[0] = args
;
29919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, SWIG_POINTER_DISOWN
| 0 );
29920 if (!SWIG_IsOK(res1
)) {
29921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyApp" "', expected argument " "1"" of type '" "wxPyApp *""'");
29923 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
29925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29928 wxPyEndAllowThreads(__tstate
);
29929 if (PyErr_Occurred()) SWIG_fail
;
29931 resultobj
= SWIG_Py_Void();
29938 SWIGINTERN PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29939 PyObject
*resultobj
= 0;
29940 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
29941 PyObject
*arg2
= (PyObject
*) 0 ;
29942 PyObject
*arg3
= (PyObject
*) 0 ;
29943 bool arg4
= (bool) false ;
29948 PyObject
* obj0
= 0 ;
29949 PyObject
* obj1
= 0 ;
29950 PyObject
* obj2
= 0 ;
29951 PyObject
* obj3
= 0 ;
29952 char * kwnames
[] = {
29953 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
29956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
29958 if (!SWIG_IsOK(res1
)) {
29959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyApp *""'");
29961 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
29965 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
29966 if (!SWIG_IsOK(ecode4
)) {
29967 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyApp__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
29969 arg4
= static_cast< bool >(val4
);
29972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29973 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
29974 wxPyEndAllowThreads(__tstate
);
29975 if (PyErr_Occurred()) SWIG_fail
;
29977 resultobj
= SWIG_Py_Void();
29984 SWIGINTERN PyObject
*_wrap_PyApp_GetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29985 PyObject
*resultobj
= 0;
29986 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
29990 PyObject
*swig_obj
[1] ;
29992 if (!args
) SWIG_fail
;
29993 swig_obj
[0] = args
;
29994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
29995 if (!SWIG_IsOK(res1
)) {
29996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetAppName" "', expected argument " "1"" of type '" "wxPyApp const *""'");
29998 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30001 result
= ((wxPyApp
const *)arg1
)->GetAppName();
30002 wxPyEndAllowThreads(__tstate
);
30003 if (PyErr_Occurred()) SWIG_fail
;
30007 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30009 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30018 SWIGINTERN PyObject
*_wrap_PyApp_SetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30019 PyObject
*resultobj
= 0;
30020 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30021 wxString
*arg2
= 0 ;
30024 bool temp2
= false ;
30025 PyObject
* obj0
= 0 ;
30026 PyObject
* obj1
= 0 ;
30027 char * kwnames
[] = {
30028 (char *) "self",(char *) "name", NULL
30031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30033 if (!SWIG_IsOK(res1
)) {
30034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetAppName" "', expected argument " "1"" of type '" "wxPyApp *""'");
30036 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30038 arg2
= wxString_in_helper(obj1
);
30039 if (arg2
== NULL
) SWIG_fail
;
30043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30044 (arg1
)->SetAppName((wxString
const &)*arg2
);
30045 wxPyEndAllowThreads(__tstate
);
30046 if (PyErr_Occurred()) SWIG_fail
;
30048 resultobj
= SWIG_Py_Void();
30063 SWIGINTERN PyObject
*_wrap_PyApp_GetClassName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30064 PyObject
*resultobj
= 0;
30065 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30069 PyObject
*swig_obj
[1] ;
30071 if (!args
) SWIG_fail
;
30072 swig_obj
[0] = args
;
30073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30074 if (!SWIG_IsOK(res1
)) {
30075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetClassName" "', expected argument " "1"" of type '" "wxPyApp const *""'");
30077 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30080 result
= ((wxPyApp
const *)arg1
)->GetClassName();
30081 wxPyEndAllowThreads(__tstate
);
30082 if (PyErr_Occurred()) SWIG_fail
;
30086 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30088 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30097 SWIGINTERN PyObject
*_wrap_PyApp_SetClassName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30098 PyObject
*resultobj
= 0;
30099 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30100 wxString
*arg2
= 0 ;
30103 bool temp2
= false ;
30104 PyObject
* obj0
= 0 ;
30105 PyObject
* obj1
= 0 ;
30106 char * kwnames
[] = {
30107 (char *) "self",(char *) "name", NULL
30110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30112 if (!SWIG_IsOK(res1
)) {
30113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetClassName" "', expected argument " "1"" of type '" "wxPyApp *""'");
30115 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30117 arg2
= wxString_in_helper(obj1
);
30118 if (arg2
== NULL
) SWIG_fail
;
30122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30123 (arg1
)->SetClassName((wxString
const &)*arg2
);
30124 wxPyEndAllowThreads(__tstate
);
30125 if (PyErr_Occurred()) SWIG_fail
;
30127 resultobj
= SWIG_Py_Void();
30142 SWIGINTERN PyObject
*_wrap_PyApp_GetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30143 PyObject
*resultobj
= 0;
30144 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30145 wxString
*result
= 0 ;
30148 PyObject
*swig_obj
[1] ;
30150 if (!args
) SWIG_fail
;
30151 swig_obj
[0] = args
;
30152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30153 if (!SWIG_IsOK(res1
)) {
30154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetVendorName" "', expected argument " "1"" of type '" "wxPyApp const *""'");
30156 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30160 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
30161 result
= (wxString
*) &_result_ref
;
30163 wxPyEndAllowThreads(__tstate
);
30164 if (PyErr_Occurred()) SWIG_fail
;
30168 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30170 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30179 SWIGINTERN PyObject
*_wrap_PyApp_SetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30180 PyObject
*resultobj
= 0;
30181 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30182 wxString
*arg2
= 0 ;
30185 bool temp2
= false ;
30186 PyObject
* obj0
= 0 ;
30187 PyObject
* obj1
= 0 ;
30188 char * kwnames
[] = {
30189 (char *) "self",(char *) "name", NULL
30192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30194 if (!SWIG_IsOK(res1
)) {
30195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetVendorName" "', expected argument " "1"" of type '" "wxPyApp *""'");
30197 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30199 arg2
= wxString_in_helper(obj1
);
30200 if (arg2
== NULL
) SWIG_fail
;
30204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30205 (arg1
)->SetVendorName((wxString
const &)*arg2
);
30206 wxPyEndAllowThreads(__tstate
);
30207 if (PyErr_Occurred()) SWIG_fail
;
30209 resultobj
= SWIG_Py_Void();
30224 SWIGINTERN PyObject
*_wrap_PyApp_GetTraits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30225 PyObject
*resultobj
= 0;
30226 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30227 wxAppTraits
*result
= 0 ;
30230 PyObject
*swig_obj
[1] ;
30232 if (!args
) SWIG_fail
;
30233 swig_obj
[0] = args
;
30234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30235 if (!SWIG_IsOK(res1
)) {
30236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetTraits" "', expected argument " "1"" of type '" "wxPyApp *""'");
30238 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30241 result
= (wxAppTraits
*)(arg1
)->GetTraits();
30242 wxPyEndAllowThreads(__tstate
);
30243 if (PyErr_Occurred()) SWIG_fail
;
30245 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAppTraits
, 0 | 0 );
30252 SWIGINTERN PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30253 PyObject
*resultobj
= 0;
30254 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30257 PyObject
*swig_obj
[1] ;
30259 if (!args
) SWIG_fail
;
30260 swig_obj
[0] = args
;
30261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30262 if (!SWIG_IsOK(res1
)) {
30263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_ProcessPendingEvents" "', expected argument " "1"" of type '" "wxPyApp *""'");
30265 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30268 (arg1
)->ProcessPendingEvents();
30269 wxPyEndAllowThreads(__tstate
);
30270 if (PyErr_Occurred()) SWIG_fail
;
30272 resultobj
= SWIG_Py_Void();
30279 SWIGINTERN PyObject
*_wrap_PyApp_Yield(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30280 PyObject
*resultobj
= 0;
30281 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30282 bool arg2
= (bool) false ;
30288 PyObject
* obj0
= 0 ;
30289 PyObject
* obj1
= 0 ;
30290 char * kwnames
[] = {
30291 (char *) "self",(char *) "onlyIfNeeded", NULL
30294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30296 if (!SWIG_IsOK(res1
)) {
30297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_Yield" "', expected argument " "1"" of type '" "wxPyApp *""'");
30299 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30301 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30302 if (!SWIG_IsOK(ecode2
)) {
30303 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyApp_Yield" "', expected argument " "2"" of type '" "bool""'");
30305 arg2
= static_cast< bool >(val2
);
30308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30309 result
= (bool)(arg1
)->Yield(arg2
);
30310 wxPyEndAllowThreads(__tstate
);
30311 if (PyErr_Occurred()) SWIG_fail
;
30314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30322 SWIGINTERN PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30323 PyObject
*resultobj
= 0;
30324 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30327 PyObject
*swig_obj
[1] ;
30329 if (!args
) SWIG_fail
;
30330 swig_obj
[0] = args
;
30331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30332 if (!SWIG_IsOK(res1
)) {
30333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_WakeUpIdle" "', expected argument " "1"" of type '" "wxPyApp *""'");
30335 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30338 (arg1
)->WakeUpIdle();
30339 wxPyEndAllowThreads(__tstate
);
30340 if (PyErr_Occurred()) SWIG_fail
;
30342 resultobj
= SWIG_Py_Void();
30349 SWIGINTERN PyObject
*_wrap_PyApp_IsMainLoopRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30350 PyObject
*resultobj
= 0;
30353 if (!SWIG_Python_UnpackTuple(args
,"PyApp_IsMainLoopRunning",0,0,0)) SWIG_fail
;
30355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30356 result
= (bool)wxPyApp::IsMainLoopRunning();
30357 wxPyEndAllowThreads(__tstate
);
30358 if (PyErr_Occurred()) SWIG_fail
;
30361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30369 SWIGINTERN PyObject
*_wrap_PyApp_MainLoop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30370 PyObject
*resultobj
= 0;
30371 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30375 PyObject
*swig_obj
[1] ;
30377 if (!args
) SWIG_fail
;
30378 swig_obj
[0] = args
;
30379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30380 if (!SWIG_IsOK(res1
)) {
30381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_MainLoop" "', expected argument " "1"" of type '" "wxPyApp *""'");
30383 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30386 result
= (int)(arg1
)->MainLoop();
30387 wxPyEndAllowThreads(__tstate
);
30388 if (PyErr_Occurred()) SWIG_fail
;
30390 resultobj
= SWIG_From_int(static_cast< int >(result
));
30397 SWIGINTERN PyObject
*_wrap_PyApp_Exit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30398 PyObject
*resultobj
= 0;
30399 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30402 PyObject
*swig_obj
[1] ;
30404 if (!args
) SWIG_fail
;
30405 swig_obj
[0] = args
;
30406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30407 if (!SWIG_IsOK(res1
)) {
30408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_Exit" "', expected argument " "1"" of type '" "wxPyApp *""'");
30410 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30414 wxPyEndAllowThreads(__tstate
);
30415 if (PyErr_Occurred()) SWIG_fail
;
30417 resultobj
= SWIG_Py_Void();
30424 SWIGINTERN PyObject
*_wrap_PyApp_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30425 PyObject
*resultobj
= 0;
30426 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30427 wxLayoutDirection result
;
30430 PyObject
*swig_obj
[1] ;
30432 if (!args
) SWIG_fail
;
30433 swig_obj
[0] = args
;
30434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30435 if (!SWIG_IsOK(res1
)) {
30436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetLayoutDirection" "', expected argument " "1"" of type '" "wxPyApp const *""'");
30438 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30441 result
= (wxLayoutDirection
)((wxPyApp
const *)arg1
)->GetLayoutDirection();
30442 wxPyEndAllowThreads(__tstate
);
30443 if (PyErr_Occurred()) SWIG_fail
;
30445 resultobj
= SWIG_From_int(static_cast< int >(result
));
30452 SWIGINTERN PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30453 PyObject
*resultobj
= 0;
30454 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30457 PyObject
*swig_obj
[1] ;
30459 if (!args
) SWIG_fail
;
30460 swig_obj
[0] = args
;
30461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30462 if (!SWIG_IsOK(res1
)) {
30463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_ExitMainLoop" "', expected argument " "1"" of type '" "wxPyApp *""'");
30465 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30468 (arg1
)->ExitMainLoop();
30469 wxPyEndAllowThreads(__tstate
);
30470 if (PyErr_Occurred()) SWIG_fail
;
30472 resultobj
= SWIG_Py_Void();
30479 SWIGINTERN PyObject
*_wrap_PyApp_Pending(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30480 PyObject
*resultobj
= 0;
30481 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30485 PyObject
*swig_obj
[1] ;
30487 if (!args
) SWIG_fail
;
30488 swig_obj
[0] = args
;
30489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30490 if (!SWIG_IsOK(res1
)) {
30491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_Pending" "', expected argument " "1"" of type '" "wxPyApp *""'");
30493 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30496 result
= (bool)(arg1
)->Pending();
30497 wxPyEndAllowThreads(__tstate
);
30498 if (PyErr_Occurred()) SWIG_fail
;
30501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30509 SWIGINTERN PyObject
*_wrap_PyApp_Dispatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30510 PyObject
*resultobj
= 0;
30511 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30515 PyObject
*swig_obj
[1] ;
30517 if (!args
) SWIG_fail
;
30518 swig_obj
[0] = args
;
30519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30520 if (!SWIG_IsOK(res1
)) {
30521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_Dispatch" "', expected argument " "1"" of type '" "wxPyApp *""'");
30523 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30526 result
= (bool)(arg1
)->Dispatch();
30527 wxPyEndAllowThreads(__tstate
);
30528 if (PyErr_Occurred()) SWIG_fail
;
30531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30539 SWIGINTERN PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30540 PyObject
*resultobj
= 0;
30541 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30545 PyObject
*swig_obj
[1] ;
30547 if (!args
) SWIG_fail
;
30548 swig_obj
[0] = args
;
30549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30550 if (!SWIG_IsOK(res1
)) {
30551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_ProcessIdle" "', expected argument " "1"" of type '" "wxPyApp *""'");
30553 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30556 result
= (bool)(arg1
)->ProcessIdle();
30557 wxPyEndAllowThreads(__tstate
);
30558 if (PyErr_Occurred()) SWIG_fail
;
30561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30569 SWIGINTERN PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30570 PyObject
*resultobj
= 0;
30571 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30572 wxWindow
*arg2
= (wxWindow
*) 0 ;
30573 wxIdleEvent
*arg3
= 0 ;
30581 PyObject
* obj0
= 0 ;
30582 PyObject
* obj1
= 0 ;
30583 PyObject
* obj2
= 0 ;
30584 char * kwnames
[] = {
30585 (char *) "self",(char *) "win",(char *) "event", NULL
30588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30590 if (!SWIG_IsOK(res1
)) {
30591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SendIdleEvents" "', expected argument " "1"" of type '" "wxPyApp *""'");
30593 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30594 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30595 if (!SWIG_IsOK(res2
)) {
30596 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyApp_SendIdleEvents" "', expected argument " "2"" of type '" "wxWindow *""'");
30598 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30599 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxIdleEvent
, 0 );
30600 if (!SWIG_IsOK(res3
)) {
30601 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyApp_SendIdleEvents" "', expected argument " "3"" of type '" "wxIdleEvent &""'");
30604 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PyApp_SendIdleEvents" "', expected argument " "3"" of type '" "wxIdleEvent &""'");
30606 arg3
= reinterpret_cast< wxIdleEvent
* >(argp3
);
30608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30609 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
30610 wxPyEndAllowThreads(__tstate
);
30611 if (PyErr_Occurred()) SWIG_fail
;
30614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30622 SWIGINTERN PyObject
*_wrap_PyApp_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30623 PyObject
*resultobj
= 0;
30624 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30628 PyObject
*swig_obj
[1] ;
30630 if (!args
) SWIG_fail
;
30631 swig_obj
[0] = args
;
30632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30633 if (!SWIG_IsOK(res1
)) {
30634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_IsActive" "', expected argument " "1"" of type '" "wxPyApp const *""'");
30636 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30639 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
30640 wxPyEndAllowThreads(__tstate
);
30641 if (PyErr_Occurred()) SWIG_fail
;
30644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30652 SWIGINTERN PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30653 PyObject
*resultobj
= 0;
30654 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30655 wxWindow
*arg2
= (wxWindow
*) 0 ;
30660 PyObject
* obj0
= 0 ;
30661 PyObject
* obj1
= 0 ;
30662 char * kwnames
[] = {
30663 (char *) "self",(char *) "win", NULL
30666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30668 if (!SWIG_IsOK(res1
)) {
30669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetTopWindow" "', expected argument " "1"" of type '" "wxPyApp *""'");
30671 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30672 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30673 if (!SWIG_IsOK(res2
)) {
30674 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyApp_SetTopWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
30676 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30679 (arg1
)->SetTopWindow(arg2
);
30680 wxPyEndAllowThreads(__tstate
);
30681 if (PyErr_Occurred()) SWIG_fail
;
30683 resultobj
= SWIG_Py_Void();
30690 SWIGINTERN PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30691 PyObject
*resultobj
= 0;
30692 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30693 wxWindow
*result
= 0 ;
30696 PyObject
*swig_obj
[1] ;
30698 if (!args
) SWIG_fail
;
30699 swig_obj
[0] = args
;
30700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30701 if (!SWIG_IsOK(res1
)) {
30702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetTopWindow" "', expected argument " "1"" of type '" "wxPyApp const *""'");
30704 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30707 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
30708 wxPyEndAllowThreads(__tstate
);
30709 if (PyErr_Occurred()) SWIG_fail
;
30712 resultobj
= wxPyMake_wxObject(result
, (bool)0);
30720 SWIGINTERN PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30721 PyObject
*resultobj
= 0;
30722 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30728 PyObject
* obj0
= 0 ;
30729 PyObject
* obj1
= 0 ;
30730 char * kwnames
[] = {
30731 (char *) "self",(char *) "flag", NULL
30734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30736 if (!SWIG_IsOK(res1
)) {
30737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetExitOnFrameDelete" "', expected argument " "1"" of type '" "wxPyApp *""'");
30739 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30740 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30741 if (!SWIG_IsOK(ecode2
)) {
30742 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyApp_SetExitOnFrameDelete" "', expected argument " "2"" of type '" "bool""'");
30744 arg2
= static_cast< bool >(val2
);
30746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30747 (arg1
)->SetExitOnFrameDelete(arg2
);
30748 wxPyEndAllowThreads(__tstate
);
30749 if (PyErr_Occurred()) SWIG_fail
;
30751 resultobj
= SWIG_Py_Void();
30758 SWIGINTERN PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30759 PyObject
*resultobj
= 0;
30760 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30764 PyObject
*swig_obj
[1] ;
30766 if (!args
) SWIG_fail
;
30767 swig_obj
[0] = args
;
30768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30769 if (!SWIG_IsOK(res1
)) {
30770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetExitOnFrameDelete" "', expected argument " "1"" of type '" "wxPyApp const *""'");
30772 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30775 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
30776 wxPyEndAllowThreads(__tstate
);
30777 if (PyErr_Occurred()) SWIG_fail
;
30780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30788 SWIGINTERN PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30789 PyObject
*resultobj
= 0;
30790 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30792 bool arg3
= (bool) false ;
30799 PyObject
* obj0
= 0 ;
30800 PyObject
* obj1
= 0 ;
30801 PyObject
* obj2
= 0 ;
30802 char * kwnames
[] = {
30803 (char *) "self",(char *) "flag",(char *) "forceTrueColour", NULL
30806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30808 if (!SWIG_IsOK(res1
)) {
30809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetUseBestVisual" "', expected argument " "1"" of type '" "wxPyApp *""'");
30811 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30812 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30813 if (!SWIG_IsOK(ecode2
)) {
30814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyApp_SetUseBestVisual" "', expected argument " "2"" of type '" "bool""'");
30816 arg2
= static_cast< bool >(val2
);
30818 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30819 if (!SWIG_IsOK(ecode3
)) {
30820 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyApp_SetUseBestVisual" "', expected argument " "3"" of type '" "bool""'");
30822 arg3
= static_cast< bool >(val3
);
30825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30826 (arg1
)->SetUseBestVisual(arg2
,arg3
);
30827 wxPyEndAllowThreads(__tstate
);
30828 if (PyErr_Occurred()) SWIG_fail
;
30830 resultobj
= SWIG_Py_Void();
30837 SWIGINTERN PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30838 PyObject
*resultobj
= 0;
30839 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30843 PyObject
*swig_obj
[1] ;
30845 if (!args
) SWIG_fail
;
30846 swig_obj
[0] = args
;
30847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30848 if (!SWIG_IsOK(res1
)) {
30849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetUseBestVisual" "', expected argument " "1"" of type '" "wxPyApp const *""'");
30851 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30854 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
30855 wxPyEndAllowThreads(__tstate
);
30856 if (PyErr_Occurred()) SWIG_fail
;
30859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30867 SWIGINTERN PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30868 PyObject
*resultobj
= 0;
30869 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30875 PyObject
* obj0
= 0 ;
30876 PyObject
* obj1
= 0 ;
30877 char * kwnames
[] = {
30878 (char *) "self",(char *) "mode", NULL
30881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30883 if (!SWIG_IsOK(res1
)) {
30884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetPrintMode" "', expected argument " "1"" of type '" "wxPyApp *""'");
30886 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30887 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30888 if (!SWIG_IsOK(ecode2
)) {
30889 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyApp_SetPrintMode" "', expected argument " "2"" of type '" "int""'");
30891 arg2
= static_cast< int >(val2
);
30893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30894 (arg1
)->SetPrintMode(arg2
);
30895 wxPyEndAllowThreads(__tstate
);
30896 if (PyErr_Occurred()) SWIG_fail
;
30898 resultobj
= SWIG_Py_Void();
30905 SWIGINTERN PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30906 PyObject
*resultobj
= 0;
30907 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30911 PyObject
*swig_obj
[1] ;
30913 if (!args
) SWIG_fail
;
30914 swig_obj
[0] = args
;
30915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30916 if (!SWIG_IsOK(res1
)) {
30917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetPrintMode" "', expected argument " "1"" of type '" "wxPyApp const *""'");
30919 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30922 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
30923 wxPyEndAllowThreads(__tstate
);
30924 if (PyErr_Occurred()) SWIG_fail
;
30926 resultobj
= SWIG_From_int(static_cast< int >(result
));
30933 SWIGINTERN PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30934 PyObject
*resultobj
= 0;
30935 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30941 PyObject
* obj0
= 0 ;
30942 PyObject
* obj1
= 0 ;
30943 char * kwnames
[] = {
30944 (char *) "self",(char *) "mode", NULL
30947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30949 if (!SWIG_IsOK(res1
)) {
30950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetAssertMode" "', expected argument " "1"" of type '" "wxPyApp *""'");
30952 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30953 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30954 if (!SWIG_IsOK(ecode2
)) {
30955 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyApp_SetAssertMode" "', expected argument " "2"" of type '" "int""'");
30957 arg2
= static_cast< int >(val2
);
30959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30960 (arg1
)->SetAssertMode(arg2
);
30961 wxPyEndAllowThreads(__tstate
);
30962 if (PyErr_Occurred()) SWIG_fail
;
30964 resultobj
= SWIG_Py_Void();
30971 SWIGINTERN PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30972 PyObject
*resultobj
= 0;
30973 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30977 PyObject
*swig_obj
[1] ;
30979 if (!args
) SWIG_fail
;
30980 swig_obj
[0] = args
;
30981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30982 if (!SWIG_IsOK(res1
)) {
30983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetAssertMode" "', expected argument " "1"" of type '" "wxPyApp *""'");
30985 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30988 result
= (int)(arg1
)->GetAssertMode();
30989 wxPyEndAllowThreads(__tstate
);
30990 if (PyErr_Occurred()) SWIG_fail
;
30992 resultobj
= SWIG_From_int(static_cast< int >(result
));
30999 SWIGINTERN PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31000 PyObject
*resultobj
= 0;
31003 if (!SWIG_Python_UnpackTuple(args
,"PyApp_GetMacSupportPCMenuShortcuts",0,0,0)) SWIG_fail
;
31005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31006 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
31007 wxPyEndAllowThreads(__tstate
);
31008 if (PyErr_Occurred()) SWIG_fail
;
31011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31019 SWIGINTERN PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31020 PyObject
*resultobj
= 0;
31023 if (!SWIG_Python_UnpackTuple(args
,"PyApp_GetMacAboutMenuItemId",0,0,0)) SWIG_fail
;
31025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31026 result
= (long)wxPyApp::GetMacAboutMenuItemId();
31027 wxPyEndAllowThreads(__tstate
);
31028 if (PyErr_Occurred()) SWIG_fail
;
31030 resultobj
= SWIG_From_long(static_cast< long >(result
));
31037 SWIGINTERN PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31038 PyObject
*resultobj
= 0;
31041 if (!SWIG_Python_UnpackTuple(args
,"PyApp_GetMacPreferencesMenuItemId",0,0,0)) SWIG_fail
;
31043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31044 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
31045 wxPyEndAllowThreads(__tstate
);
31046 if (PyErr_Occurred()) SWIG_fail
;
31048 resultobj
= SWIG_From_long(static_cast< long >(result
));
31055 SWIGINTERN PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31056 PyObject
*resultobj
= 0;
31059 if (!SWIG_Python_UnpackTuple(args
,"PyApp_GetMacExitMenuItemId",0,0,0)) SWIG_fail
;
31061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31062 result
= (long)wxPyApp::GetMacExitMenuItemId();
31063 wxPyEndAllowThreads(__tstate
);
31064 if (PyErr_Occurred()) SWIG_fail
;
31066 resultobj
= SWIG_From_long(static_cast< long >(result
));
31073 SWIGINTERN PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31074 PyObject
*resultobj
= 0;
31077 if (!SWIG_Python_UnpackTuple(args
,"PyApp_GetMacHelpMenuTitleName",0,0,0)) SWIG_fail
;
31079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31080 result
= wxPyApp::GetMacHelpMenuTitleName();
31081 wxPyEndAllowThreads(__tstate
);
31082 if (PyErr_Occurred()) SWIG_fail
;
31086 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31088 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31097 SWIGINTERN PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31098 PyObject
*resultobj
= 0;
31102 PyObject
* obj0
= 0 ;
31103 char * kwnames
[] = {
31104 (char *) "val", NULL
31107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) SWIG_fail
;
31108 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
31109 if (!SWIG_IsOK(ecode1
)) {
31110 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PyApp_SetMacSupportPCMenuShortcuts" "', expected argument " "1"" of type '" "bool""'");
31112 arg1
= static_cast< bool >(val1
);
31114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31115 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
31116 wxPyEndAllowThreads(__tstate
);
31117 if (PyErr_Occurred()) SWIG_fail
;
31119 resultobj
= SWIG_Py_Void();
31126 SWIGINTERN PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31127 PyObject
*resultobj
= 0;
31131 PyObject
* obj0
= 0 ;
31132 char * kwnames
[] = {
31133 (char *) "val", NULL
31136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) SWIG_fail
;
31137 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
31138 if (!SWIG_IsOK(ecode1
)) {
31139 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PyApp_SetMacAboutMenuItemId" "', expected argument " "1"" of type '" "long""'");
31141 arg1
= static_cast< long >(val1
);
31143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31144 wxPyApp::SetMacAboutMenuItemId(arg1
);
31145 wxPyEndAllowThreads(__tstate
);
31146 if (PyErr_Occurred()) SWIG_fail
;
31148 resultobj
= SWIG_Py_Void();
31155 SWIGINTERN PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31156 PyObject
*resultobj
= 0;
31160 PyObject
* obj0
= 0 ;
31161 char * kwnames
[] = {
31162 (char *) "val", NULL
31165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) SWIG_fail
;
31166 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
31167 if (!SWIG_IsOK(ecode1
)) {
31168 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PyApp_SetMacPreferencesMenuItemId" "', expected argument " "1"" of type '" "long""'");
31170 arg1
= static_cast< long >(val1
);
31172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31173 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
31174 wxPyEndAllowThreads(__tstate
);
31175 if (PyErr_Occurred()) SWIG_fail
;
31177 resultobj
= SWIG_Py_Void();
31184 SWIGINTERN PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31185 PyObject
*resultobj
= 0;
31189 PyObject
* obj0
= 0 ;
31190 char * kwnames
[] = {
31191 (char *) "val", NULL
31194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) SWIG_fail
;
31195 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
31196 if (!SWIG_IsOK(ecode1
)) {
31197 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PyApp_SetMacExitMenuItemId" "', expected argument " "1"" of type '" "long""'");
31199 arg1
= static_cast< long >(val1
);
31201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31202 wxPyApp::SetMacExitMenuItemId(arg1
);
31203 wxPyEndAllowThreads(__tstate
);
31204 if (PyErr_Occurred()) SWIG_fail
;
31206 resultobj
= SWIG_Py_Void();
31213 SWIGINTERN PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31214 PyObject
*resultobj
= 0;
31215 wxString
*arg1
= 0 ;
31216 bool temp1
= false ;
31217 PyObject
* obj0
= 0 ;
31218 char * kwnames
[] = {
31219 (char *) "val", NULL
31222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) SWIG_fail
;
31224 arg1
= wxString_in_helper(obj0
);
31225 if (arg1
== NULL
) SWIG_fail
;
31229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31230 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
31231 wxPyEndAllowThreads(__tstate
);
31232 if (PyErr_Occurred()) SWIG_fail
;
31234 resultobj
= SWIG_Py_Void();
31249 SWIGINTERN PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31250 PyObject
*resultobj
= 0;
31251 wxPyApp
*arg1
= (wxPyApp
*) 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_wxPyApp
, 0 | 0 );
31259 if (!SWIG_IsOK(res1
)) {
31260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp__BootstrapApp" "', expected argument " "1"" of type '" "wxPyApp *""'");
31262 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
31264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31265 (arg1
)->_BootstrapApp();
31266 wxPyEndAllowThreads(__tstate
);
31267 if (PyErr_Occurred()) SWIG_fail
;
31269 resultobj
= SWIG_Py_Void();
31276 SWIGINTERN PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31277 PyObject
*resultobj
= 0;
31280 if (!SWIG_Python_UnpackTuple(args
,"PyApp_GetComCtl32Version",0,0,0)) SWIG_fail
;
31282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31283 result
= (int)wxPyApp::GetComCtl32Version();
31284 wxPyEndAllowThreads(__tstate
);
31285 if (PyErr_Occurred()) SWIG_fail
;
31287 resultobj
= SWIG_From_int(static_cast< int >(result
));
31294 SWIGINTERN PyObject
*_wrap_PyApp_IsDisplayAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31295 PyObject
*resultobj
= 0;
31298 if (!SWIG_Python_UnpackTuple(args
,"PyApp_IsDisplayAvailable",0,0,0)) SWIG_fail
;
31300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31301 result
= (bool)wxPyApp_IsDisplayAvailable();
31302 wxPyEndAllowThreads(__tstate
);
31303 if (PyErr_Occurred()) SWIG_fail
;
31306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31314 SWIGINTERN PyObject
*PyApp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31316 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31317 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyApp
, SWIG_NewClientData(obj
));
31318 return SWIG_Py_Void();
31321 SWIGINTERN PyObject
*PyApp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31322 return SWIG_Python_InitShadowInstance(args
);
31325 SWIGINTERN PyObject
*_wrap_Exit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31326 PyObject
*resultobj
= 0;
31328 if (!SWIG_Python_UnpackTuple(args
,"Exit",0,0,0)) SWIG_fail
;
31330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31332 wxPyEndAllowThreads(__tstate
);
31333 if (PyErr_Occurred()) SWIG_fail
;
31335 resultobj
= SWIG_Py_Void();
31342 SWIGINTERN PyObject
*_wrap_Yield(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31343 PyObject
*resultobj
= 0;
31346 if (!SWIG_Python_UnpackTuple(args
,"Yield",0,0,0)) SWIG_fail
;
31348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31349 result
= (bool)wxYield();
31350 wxPyEndAllowThreads(__tstate
);
31351 if (PyErr_Occurred()) SWIG_fail
;
31354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31362 SWIGINTERN PyObject
*_wrap_YieldIfNeeded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31363 PyObject
*resultobj
= 0;
31366 if (!SWIG_Python_UnpackTuple(args
,"YieldIfNeeded",0,0,0)) SWIG_fail
;
31368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31369 result
= (bool)wxYieldIfNeeded();
31370 wxPyEndAllowThreads(__tstate
);
31371 if (PyErr_Occurred()) SWIG_fail
;
31374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31382 SWIGINTERN PyObject
*_wrap_SafeYield(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31383 PyObject
*resultobj
= 0;
31384 wxWindow
*arg1
= (wxWindow
*) NULL
;
31385 bool arg2
= (bool) false ;
31391 PyObject
* obj0
= 0 ;
31392 PyObject
* obj1
= 0 ;
31393 char * kwnames
[] = {
31394 (char *) "win",(char *) "onlyIfNeeded", NULL
31397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31400 if (!SWIG_IsOK(res1
)) {
31401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SafeYield" "', expected argument " "1"" of type '" "wxWindow *""'");
31403 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31406 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
31407 if (!SWIG_IsOK(ecode2
)) {
31408 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SafeYield" "', expected argument " "2"" of type '" "bool""'");
31410 arg2
= static_cast< bool >(val2
);
31413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31414 result
= (bool)wxSafeYield(arg1
,arg2
);
31415 wxPyEndAllowThreads(__tstate
);
31416 if (PyErr_Occurred()) SWIG_fail
;
31419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31427 SWIGINTERN PyObject
*_wrap_WakeUpIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31428 PyObject
*resultobj
= 0;
31430 if (!SWIG_Python_UnpackTuple(args
,"WakeUpIdle",0,0,0)) SWIG_fail
;
31432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31434 wxPyEndAllowThreads(__tstate
);
31435 if (PyErr_Occurred()) SWIG_fail
;
31437 resultobj
= SWIG_Py_Void();
31444 SWIGINTERN PyObject
*_wrap_PostEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31445 PyObject
*resultobj
= 0;
31446 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
31447 wxEvent
*arg2
= 0 ;
31452 PyObject
* obj0
= 0 ;
31453 PyObject
* obj1
= 0 ;
31454 char * kwnames
[] = {
31455 (char *) "dest",(char *) "event", NULL
31458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
31460 if (!SWIG_IsOK(res1
)) {
31461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostEvent" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
31463 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
31464 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxEvent
, 0 );
31465 if (!SWIG_IsOK(res2
)) {
31466 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
31469 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
31471 arg2
= reinterpret_cast< wxEvent
* >(argp2
);
31473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31474 wxPostEvent(arg1
,*arg2
);
31475 wxPyEndAllowThreads(__tstate
);
31476 if (PyErr_Occurred()) SWIG_fail
;
31478 resultobj
= SWIG_Py_Void();
31485 SWIGINTERN PyObject
*_wrap_App_CleanUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31486 PyObject
*resultobj
= 0;
31488 if (!SWIG_Python_UnpackTuple(args
,"App_CleanUp",0,0,0)) SWIG_fail
;
31490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31492 wxPyEndAllowThreads(__tstate
);
31493 if (PyErr_Occurred()) SWIG_fail
;
31495 resultobj
= SWIG_Py_Void();
31502 SWIGINTERN PyObject
*_wrap_GetApp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31503 PyObject
*resultobj
= 0;
31504 wxPyApp
*result
= 0 ;
31506 if (!SWIG_Python_UnpackTuple(args
,"GetApp",0,0,0)) SWIG_fail
;
31508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31509 result
= (wxPyApp
*)wxPyGetApp();
31510 wxPyEndAllowThreads(__tstate
);
31511 if (PyErr_Occurred()) SWIG_fail
;
31514 resultobj
= wxPyMake_wxObject(result
, 0);
31522 SWIGINTERN PyObject
*_wrap_SetDefaultPyEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31523 PyObject
*resultobj
= 0;
31524 char *arg1
= (char *) 0 ;
31528 PyObject
* obj0
= 0 ;
31529 char * kwnames
[] = {
31530 (char *) "encoding", NULL
31533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetDefaultPyEncoding",kwnames
,&obj0
)) SWIG_fail
;
31534 res1
= SWIG_AsCharPtrAndSize(obj0
, &buf1
, NULL
, &alloc1
);
31535 if (!SWIG_IsOK(res1
)) {
31536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetDefaultPyEncoding" "', expected argument " "1"" of type '" "char const *""'");
31540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31541 wxSetDefaultPyEncoding((char const *)arg1
);
31542 wxPyEndAllowThreads(__tstate
);
31543 if (PyErr_Occurred()) SWIG_fail
;
31545 resultobj
= SWIG_Py_Void();
31546 if (alloc1
== SWIG_NEWOBJ
) delete[] buf1
;
31549 if (alloc1
== SWIG_NEWOBJ
) delete[] buf1
;
31554 SWIGINTERN PyObject
*_wrap_GetDefaultPyEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31555 PyObject
*resultobj
= 0;
31558 if (!SWIG_Python_UnpackTuple(args
,"GetDefaultPyEncoding",0,0,0)) SWIG_fail
;
31560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31561 result
= (char *)wxGetDefaultPyEncoding();
31562 wxPyEndAllowThreads(__tstate
);
31563 if (PyErr_Occurred()) SWIG_fail
;
31565 resultobj
= SWIG_FromCharPtr(result
);
31572 SWIGINTERN PyObject
*_wrap_new_EventLoop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31573 PyObject
*resultobj
= 0;
31574 wxEventLoop
*result
= 0 ;
31576 if (!SWIG_Python_UnpackTuple(args
,"new_EventLoop",0,0,0)) SWIG_fail
;
31578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31579 result
= (wxEventLoop
*)new wxEventLoop();
31580 wxPyEndAllowThreads(__tstate
);
31581 if (PyErr_Occurred()) SWIG_fail
;
31583 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_NEW
| 0 );
31590 SWIGINTERN PyObject
*_wrap_delete_EventLoop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31591 PyObject
*resultobj
= 0;
31592 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
31595 PyObject
*swig_obj
[1] ;
31597 if (!args
) SWIG_fail
;
31598 swig_obj
[0] = args
;
31599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_DISOWN
| 0 );
31600 if (!SWIG_IsOK(res1
)) {
31601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EventLoop" "', expected argument " "1"" of type '" "wxEventLoop *""'");
31603 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
31605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31608 wxPyEndAllowThreads(__tstate
);
31609 if (PyErr_Occurred()) SWIG_fail
;
31611 resultobj
= SWIG_Py_Void();
31618 SWIGINTERN PyObject
*_wrap_EventLoop_Run(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31619 PyObject
*resultobj
= 0;
31620 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
31624 PyObject
*swig_obj
[1] ;
31626 if (!args
) SWIG_fail
;
31627 swig_obj
[0] = args
;
31628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
31629 if (!SWIG_IsOK(res1
)) {
31630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EventLoop_Run" "', expected argument " "1"" of type '" "wxEventLoop *""'");
31632 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
31634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31635 result
= (int)(arg1
)->Run();
31636 wxPyEndAllowThreads(__tstate
);
31637 if (PyErr_Occurred()) SWIG_fail
;
31639 resultobj
= SWIG_From_int(static_cast< int >(result
));
31646 SWIGINTERN PyObject
*_wrap_EventLoop_Exit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31647 PyObject
*resultobj
= 0;
31648 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
31649 int arg2
= (int) 0 ;
31654 PyObject
* obj0
= 0 ;
31655 PyObject
* obj1
= 0 ;
31656 char * kwnames
[] = {
31657 (char *) "self",(char *) "rc", NULL
31660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EventLoop_Exit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
31662 if (!SWIG_IsOK(res1
)) {
31663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EventLoop_Exit" "', expected argument " "1"" of type '" "wxEventLoop *""'");
31665 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
31667 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31668 if (!SWIG_IsOK(ecode2
)) {
31669 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EventLoop_Exit" "', expected argument " "2"" of type '" "int""'");
31671 arg2
= static_cast< int >(val2
);
31674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31675 (arg1
)->Exit(arg2
);
31676 wxPyEndAllowThreads(__tstate
);
31677 if (PyErr_Occurred()) SWIG_fail
;
31679 resultobj
= SWIG_Py_Void();
31686 SWIGINTERN PyObject
*_wrap_EventLoop_Pending(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31687 PyObject
*resultobj
= 0;
31688 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
31692 PyObject
*swig_obj
[1] ;
31694 if (!args
) SWIG_fail
;
31695 swig_obj
[0] = args
;
31696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
31697 if (!SWIG_IsOK(res1
)) {
31698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EventLoop_Pending" "', expected argument " "1"" of type '" "wxEventLoop const *""'");
31700 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
31702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31703 result
= (bool)((wxEventLoop
const *)arg1
)->Pending();
31704 wxPyEndAllowThreads(__tstate
);
31705 if (PyErr_Occurred()) SWIG_fail
;
31708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31716 SWIGINTERN PyObject
*_wrap_EventLoop_Dispatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31717 PyObject
*resultobj
= 0;
31718 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
31722 PyObject
*swig_obj
[1] ;
31724 if (!args
) SWIG_fail
;
31725 swig_obj
[0] = args
;
31726 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
31727 if (!SWIG_IsOK(res1
)) {
31728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EventLoop_Dispatch" "', expected argument " "1"" of type '" "wxEventLoop *""'");
31730 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
31732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31733 result
= (bool)(arg1
)->Dispatch();
31734 wxPyEndAllowThreads(__tstate
);
31735 if (PyErr_Occurred()) SWIG_fail
;
31738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31746 SWIGINTERN PyObject
*_wrap_EventLoop_IsRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31747 PyObject
*resultobj
= 0;
31748 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
31752 PyObject
*swig_obj
[1] ;
31754 if (!args
) SWIG_fail
;
31755 swig_obj
[0] = args
;
31756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
31757 if (!SWIG_IsOK(res1
)) {
31758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EventLoop_IsRunning" "', expected argument " "1"" of type '" "wxEventLoop const *""'");
31760 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
31762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31763 result
= (bool)((wxEventLoop
const *)arg1
)->IsRunning();
31764 wxPyEndAllowThreads(__tstate
);
31765 if (PyErr_Occurred()) SWIG_fail
;
31768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31776 SWIGINTERN PyObject
*_wrap_EventLoop_GetActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31777 PyObject
*resultobj
= 0;
31778 wxEventLoop
*result
= 0 ;
31780 if (!SWIG_Python_UnpackTuple(args
,"EventLoop_GetActive",0,0,0)) SWIG_fail
;
31782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31783 result
= (wxEventLoop
*)wxEventLoop::GetActive();
31784 wxPyEndAllowThreads(__tstate
);
31785 if (PyErr_Occurred()) SWIG_fail
;
31787 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEventLoop
, 0 | 0 );
31794 SWIGINTERN PyObject
*_wrap_EventLoop_SetActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31795 PyObject
*resultobj
= 0;
31796 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
31799 PyObject
* obj0
= 0 ;
31800 char * kwnames
[] = {
31801 (char *) "loop", NULL
31804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_SetActive",kwnames
,&obj0
)) SWIG_fail
;
31805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
31806 if (!SWIG_IsOK(res1
)) {
31807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EventLoop_SetActive" "', expected argument " "1"" of type '" "wxEventLoop *""'");
31809 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
31811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31812 wxEventLoop::SetActive(arg1
);
31813 wxPyEndAllowThreads(__tstate
);
31814 if (PyErr_Occurred()) SWIG_fail
;
31816 resultobj
= SWIG_Py_Void();
31823 SWIGINTERN PyObject
*EventLoop_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31825 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31826 SWIG_TypeNewClientData(SWIGTYPE_p_wxEventLoop
, SWIG_NewClientData(obj
));
31827 return SWIG_Py_Void();
31830 SWIGINTERN PyObject
*EventLoop_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31831 return SWIG_Python_InitShadowInstance(args
);
31834 SWIGINTERN PyObject
*_wrap_new_EventLoopActivator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31835 PyObject
*resultobj
= 0;
31836 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
31837 wxEventLoopActivator
*result
= 0 ;
31840 PyObject
* obj0
= 0 ;
31841 char * kwnames
[] = {
31842 (char *) "evtLoop", NULL
31845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_EventLoopActivator",kwnames
,&obj0
)) SWIG_fail
;
31846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
31847 if (!SWIG_IsOK(res1
)) {
31848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_EventLoopActivator" "', expected argument " "1"" of type '" "wxEventLoop *""'");
31850 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
31852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31853 result
= (wxEventLoopActivator
*)new wxEventLoopActivator(arg1
);
31854 wxPyEndAllowThreads(__tstate
);
31855 if (PyErr_Occurred()) SWIG_fail
;
31857 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEventLoopActivator
, SWIG_POINTER_NEW
| 0 );
31864 SWIGINTERN PyObject
*_wrap_delete_EventLoopActivator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31865 PyObject
*resultobj
= 0;
31866 wxEventLoopActivator
*arg1
= (wxEventLoopActivator
*) 0 ;
31869 PyObject
*swig_obj
[1] ;
31871 if (!args
) SWIG_fail
;
31872 swig_obj
[0] = args
;
31873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEventLoopActivator
, SWIG_POINTER_DISOWN
| 0 );
31874 if (!SWIG_IsOK(res1
)) {
31875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EventLoopActivator" "', expected argument " "1"" of type '" "wxEventLoopActivator *""'");
31877 arg1
= reinterpret_cast< wxEventLoopActivator
* >(argp1
);
31879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31882 wxPyEndAllowThreads(__tstate
);
31883 if (PyErr_Occurred()) SWIG_fail
;
31885 resultobj
= SWIG_Py_Void();
31892 SWIGINTERN PyObject
*EventLoopActivator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31894 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31895 SWIG_TypeNewClientData(SWIGTYPE_p_wxEventLoopActivator
, SWIG_NewClientData(obj
));
31896 return SWIG_Py_Void();
31899 SWIGINTERN PyObject
*EventLoopActivator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31900 return SWIG_Python_InitShadowInstance(args
);
31903 SWIGINTERN PyObject
*_wrap_new_AcceleratorEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31904 PyObject
*resultobj
= 0;
31905 int arg1
= (int) 0 ;
31906 int arg2
= (int) 0 ;
31907 int arg3
= (int) 0 ;
31908 wxAcceleratorEntry
*result
= 0 ;
31915 PyObject
* obj0
= 0 ;
31916 PyObject
* obj1
= 0 ;
31917 PyObject
* obj2
= 0 ;
31918 char * kwnames
[] = {
31919 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
31922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31924 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31925 if (!SWIG_IsOK(ecode1
)) {
31926 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_AcceleratorEntry" "', expected argument " "1"" of type '" "int""'");
31928 arg1
= static_cast< int >(val1
);
31931 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31932 if (!SWIG_IsOK(ecode2
)) {
31933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_AcceleratorEntry" "', expected argument " "2"" of type '" "int""'");
31935 arg2
= static_cast< int >(val2
);
31938 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31939 if (!SWIG_IsOK(ecode3
)) {
31940 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_AcceleratorEntry" "', expected argument " "3"" of type '" "int""'");
31942 arg3
= static_cast< int >(val3
);
31945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31946 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
31947 wxPyEndAllowThreads(__tstate
);
31948 if (PyErr_Occurred()) SWIG_fail
;
31950 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_NEW
| 0 );
31957 SWIGINTERN PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31958 PyObject
*resultobj
= 0;
31959 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
31962 PyObject
*swig_obj
[1] ;
31964 if (!args
) SWIG_fail
;
31965 swig_obj
[0] = args
;
31966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_DISOWN
| 0 );
31967 if (!SWIG_IsOK(res1
)) {
31968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AcceleratorEntry" "', expected argument " "1"" of type '" "wxAcceleratorEntry *""'");
31970 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
31972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31975 wxPyEndAllowThreads(__tstate
);
31976 if (PyErr_Occurred()) SWIG_fail
;
31978 resultobj
= SWIG_Py_Void();
31985 SWIGINTERN PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31986 PyObject
*resultobj
= 0;
31987 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
31999 PyObject
* obj0
= 0 ;
32000 PyObject
* obj1
= 0 ;
32001 PyObject
* obj2
= 0 ;
32002 PyObject
* obj3
= 0 ;
32003 char * kwnames
[] = {
32004 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
32007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
32009 if (!SWIG_IsOK(res1
)) {
32010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AcceleratorEntry_Set" "', expected argument " "1"" of type '" "wxAcceleratorEntry *""'");
32012 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
32013 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32014 if (!SWIG_IsOK(ecode2
)) {
32015 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AcceleratorEntry_Set" "', expected argument " "2"" of type '" "int""'");
32017 arg2
= static_cast< int >(val2
);
32018 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32019 if (!SWIG_IsOK(ecode3
)) {
32020 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AcceleratorEntry_Set" "', expected argument " "3"" of type '" "int""'");
32022 arg3
= static_cast< int >(val3
);
32023 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32024 if (!SWIG_IsOK(ecode4
)) {
32025 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AcceleratorEntry_Set" "', expected argument " "4"" of type '" "int""'");
32027 arg4
= static_cast< int >(val4
);
32029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32030 (arg1
)->Set(arg2
,arg3
,arg4
);
32031 wxPyEndAllowThreads(__tstate
);
32032 if (PyErr_Occurred()) SWIG_fail
;
32034 resultobj
= SWIG_Py_Void();
32041 SWIGINTERN PyObject
*_wrap_AcceleratorEntry_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32042 PyObject
*resultobj
= 0;
32043 wxString
*arg1
= 0 ;
32044 wxAcceleratorEntry
*result
= 0 ;
32045 bool temp1
= false ;
32046 PyObject
* obj0
= 0 ;
32047 char * kwnames
[] = {
32048 (char *) "str", NULL
32051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_Create",kwnames
,&obj0
)) SWIG_fail
;
32053 arg1
= wxString_in_helper(obj0
);
32054 if (arg1
== NULL
) SWIG_fail
;
32058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32059 result
= (wxAcceleratorEntry
*)wxAcceleratorEntry::Create((wxString
const &)*arg1
);
32060 wxPyEndAllowThreads(__tstate
);
32061 if (PyErr_Occurred()) SWIG_fail
;
32063 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_OWN
| 0 );
32078 SWIGINTERN PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32079 PyObject
*resultobj
= 0;
32080 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
32084 PyObject
*swig_obj
[1] ;
32086 if (!args
) SWIG_fail
;
32087 swig_obj
[0] = args
;
32088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
32089 if (!SWIG_IsOK(res1
)) {
32090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AcceleratorEntry_GetFlags" "', expected argument " "1"" of type '" "wxAcceleratorEntry *""'");
32092 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
32094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32095 result
= (int)(arg1
)->GetFlags();
32096 wxPyEndAllowThreads(__tstate
);
32097 if (PyErr_Occurred()) SWIG_fail
;
32099 resultobj
= SWIG_From_int(static_cast< int >(result
));
32106 SWIGINTERN PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32107 PyObject
*resultobj
= 0;
32108 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
32112 PyObject
*swig_obj
[1] ;
32114 if (!args
) SWIG_fail
;
32115 swig_obj
[0] = args
;
32116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
32117 if (!SWIG_IsOK(res1
)) {
32118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AcceleratorEntry_GetKeyCode" "', expected argument " "1"" of type '" "wxAcceleratorEntry *""'");
32120 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
32122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32123 result
= (int)(arg1
)->GetKeyCode();
32124 wxPyEndAllowThreads(__tstate
);
32125 if (PyErr_Occurred()) SWIG_fail
;
32127 resultobj
= SWIG_From_int(static_cast< int >(result
));
32134 SWIGINTERN PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32135 PyObject
*resultobj
= 0;
32136 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
32140 PyObject
*swig_obj
[1] ;
32142 if (!args
) SWIG_fail
;
32143 swig_obj
[0] = args
;
32144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
32145 if (!SWIG_IsOK(res1
)) {
32146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AcceleratorEntry_GetCommand" "', expected argument " "1"" of type '" "wxAcceleratorEntry *""'");
32148 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
32150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32151 result
= (int)(arg1
)->GetCommand();
32152 wxPyEndAllowThreads(__tstate
);
32153 if (PyErr_Occurred()) SWIG_fail
;
32155 resultobj
= SWIG_From_int(static_cast< int >(result
));
32162 SWIGINTERN PyObject
*_wrap_AcceleratorEntry_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32163 PyObject
*resultobj
= 0;
32164 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
32168 PyObject
*swig_obj
[1] ;
32170 if (!args
) SWIG_fail
;
32171 swig_obj
[0] = args
;
32172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
32173 if (!SWIG_IsOK(res1
)) {
32174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AcceleratorEntry_IsOk" "', expected argument " "1"" of type '" "wxAcceleratorEntry const *""'");
32176 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
32178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32179 result
= (bool)((wxAcceleratorEntry
const *)arg1
)->IsOk();
32180 wxPyEndAllowThreads(__tstate
);
32181 if (PyErr_Occurred()) SWIG_fail
;
32184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32192 SWIGINTERN PyObject
*_wrap_AcceleratorEntry_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32193 PyObject
*resultobj
= 0;
32194 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
32198 PyObject
*swig_obj
[1] ;
32200 if (!args
) SWIG_fail
;
32201 swig_obj
[0] = args
;
32202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
32203 if (!SWIG_IsOK(res1
)) {
32204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AcceleratorEntry_ToString" "', expected argument " "1"" of type '" "wxAcceleratorEntry const *""'");
32206 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
32208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32209 result
= ((wxAcceleratorEntry
const *)arg1
)->ToString();
32210 wxPyEndAllowThreads(__tstate
);
32211 if (PyErr_Occurred()) SWIG_fail
;
32215 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32217 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32226 SWIGINTERN PyObject
*_wrap_AcceleratorEntry_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32227 PyObject
*resultobj
= 0;
32228 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
32229 wxString
*arg2
= 0 ;
32233 bool temp2
= false ;
32234 PyObject
* obj0
= 0 ;
32235 PyObject
* obj1
= 0 ;
32236 char * kwnames
[] = {
32237 (char *) "self",(char *) "str", NULL
32240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AcceleratorEntry_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
32242 if (!SWIG_IsOK(res1
)) {
32243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AcceleratorEntry_FromString" "', expected argument " "1"" of type '" "wxAcceleratorEntry *""'");
32245 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
32247 arg2
= wxString_in_helper(obj1
);
32248 if (arg2
== NULL
) SWIG_fail
;
32252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32253 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
32254 wxPyEndAllowThreads(__tstate
);
32255 if (PyErr_Occurred()) SWIG_fail
;
32258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32274 SWIGINTERN PyObject
*AcceleratorEntry_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32276 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32277 SWIG_TypeNewClientData(SWIGTYPE_p_wxAcceleratorEntry
, SWIG_NewClientData(obj
));
32278 return SWIG_Py_Void();
32281 SWIGINTERN PyObject
*AcceleratorEntry_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32282 return SWIG_Python_InitShadowInstance(args
);
32285 SWIGINTERN PyObject
*_wrap_new_AcceleratorTable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32286 PyObject
*resultobj
= 0;
32288 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
32289 wxAcceleratorTable
*result
= 0 ;
32290 PyObject
* obj0
= 0 ;
32291 char * kwnames
[] = {
32295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) SWIG_fail
;
32297 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
32298 if (arg2
) arg1
= PyList_Size(obj0
);
32302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32303 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
32304 wxPyEndAllowThreads(__tstate
);
32305 if (PyErr_Occurred()) SWIG_fail
;
32307 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_NEW
| 0 );
32314 SWIGINTERN PyObject
*_wrap_delete_AcceleratorTable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32315 PyObject
*resultobj
= 0;
32316 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
32319 PyObject
*swig_obj
[1] ;
32321 if (!args
) SWIG_fail
;
32322 swig_obj
[0] = args
;
32323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_DISOWN
| 0 );
32324 if (!SWIG_IsOK(res1
)) {
32325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AcceleratorTable" "', expected argument " "1"" of type '" "wxAcceleratorTable *""'");
32327 arg1
= reinterpret_cast< wxAcceleratorTable
* >(argp1
);
32329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32332 wxPyEndAllowThreads(__tstate
);
32333 if (PyErr_Occurred()) SWIG_fail
;
32335 resultobj
= SWIG_Py_Void();
32342 SWIGINTERN PyObject
*_wrap_AcceleratorTable_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32343 PyObject
*resultobj
= 0;
32344 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
32348 PyObject
*swig_obj
[1] ;
32350 if (!args
) SWIG_fail
;
32351 swig_obj
[0] = args
;
32352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorTable
, 0 | 0 );
32353 if (!SWIG_IsOK(res1
)) {
32354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AcceleratorTable_IsOk" "', expected argument " "1"" of type '" "wxAcceleratorTable const *""'");
32356 arg1
= reinterpret_cast< wxAcceleratorTable
* >(argp1
);
32358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32359 result
= (bool)((wxAcceleratorTable
const *)arg1
)->IsOk();
32360 wxPyEndAllowThreads(__tstate
);
32361 if (PyErr_Occurred()) SWIG_fail
;
32364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32372 SWIGINTERN PyObject
*AcceleratorTable_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32374 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32375 SWIG_TypeNewClientData(SWIGTYPE_p_wxAcceleratorTable
, SWIG_NewClientData(obj
));
32376 return SWIG_Py_Void();
32379 SWIGINTERN PyObject
*AcceleratorTable_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32380 return SWIG_Python_InitShadowInstance(args
);
32383 SWIGINTERN
int NullAcceleratorTable_set(PyObject
*) {
32384 SWIG_Error(SWIG_AttributeError
,"Variable NullAcceleratorTable is read-only.");
32389 SWIGINTERN PyObject
*NullAcceleratorTable_get(void) {
32390 PyObject
*pyobj
= 0;
32392 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0 );
32397 SWIGINTERN PyObject
*_wrap_GetAccelFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32398 PyObject
*resultobj
= 0;
32399 wxString
*arg1
= 0 ;
32400 wxAcceleratorEntry
*result
= 0 ;
32401 bool temp1
= false ;
32402 PyObject
* obj0
= 0 ;
32403 char * kwnames
[] = {
32404 (char *) "label", NULL
32407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) SWIG_fail
;
32409 arg1
= wxString_in_helper(obj0
);
32410 if (arg1
== NULL
) SWIG_fail
;
32414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32415 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
32416 wxPyEndAllowThreads(__tstate
);
32417 if (PyErr_Occurred()) SWIG_fail
;
32419 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
32434 SWIGINTERN
int PanelNameStr_set(PyObject
*) {
32435 SWIG_Error(SWIG_AttributeError
,"Variable PanelNameStr is read-only.");
32440 SWIGINTERN PyObject
*PanelNameStr_get(void) {
32441 PyObject
*pyobj
= 0;
32445 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
32447 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
32454 SWIGINTERN PyObject
*_wrap_new_VisualAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32455 PyObject
*resultobj
= 0;
32456 wxVisualAttributes
*result
= 0 ;
32458 if (!SWIG_Python_UnpackTuple(args
,"new_VisualAttributes",0,0,0)) SWIG_fail
;
32460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32461 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
32462 wxPyEndAllowThreads(__tstate
);
32463 if (PyErr_Occurred()) SWIG_fail
;
32465 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_NEW
| 0 );
32472 SWIGINTERN PyObject
*_wrap_delete_VisualAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32473 PyObject
*resultobj
= 0;
32474 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
32477 PyObject
*swig_obj
[1] ;
32479 if (!args
) SWIG_fail
;
32480 swig_obj
[0] = args
;
32481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_DISOWN
| 0 );
32482 if (!SWIG_IsOK(res1
)) {
32483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_VisualAttributes" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
32485 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
32487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32488 delete_wxVisualAttributes(arg1
);
32490 wxPyEndAllowThreads(__tstate
);
32491 if (PyErr_Occurred()) SWIG_fail
;
32493 resultobj
= SWIG_Py_Void();
32500 SWIGINTERN PyObject
*_wrap_VisualAttributes_font_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32501 PyObject
*resultobj
= 0;
32502 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
32503 wxFont
*arg2
= (wxFont
*) 0 ;
32508 PyObject
*swig_obj
[2] ;
32510 if (!SWIG_Python_UnpackTuple(args
,"VisualAttributes_font_set",2,2,swig_obj
)) SWIG_fail
;
32511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, 0 | 0 );
32512 if (!SWIG_IsOK(res1
)) {
32513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VisualAttributes_font_set" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
32515 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
32516 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
32517 if (!SWIG_IsOK(res2
)) {
32518 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VisualAttributes_font_set" "', expected argument " "2"" of type '" "wxFont *""'");
32520 arg2
= reinterpret_cast< wxFont
* >(argp2
);
32521 if (arg1
) (arg1
)->font
= *arg2
;
32523 resultobj
= SWIG_Py_Void();
32530 SWIGINTERN PyObject
*_wrap_VisualAttributes_font_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32531 PyObject
*resultobj
= 0;
32532 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
32533 wxFont
*result
= 0 ;
32536 PyObject
*swig_obj
[1] ;
32538 if (!args
) SWIG_fail
;
32539 swig_obj
[0] = args
;
32540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, 0 | 0 );
32541 if (!SWIG_IsOK(res1
)) {
32542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VisualAttributes_font_get" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
32544 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
32545 result
= (wxFont
*)& ((arg1
)->font
);
32546 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
32553 SWIGINTERN PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32554 PyObject
*resultobj
= 0;
32555 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
32556 wxColour
*arg2
= (wxColour
*) 0 ;
32561 PyObject
*swig_obj
[2] ;
32563 if (!SWIG_Python_UnpackTuple(args
,"VisualAttributes_colFg_set",2,2,swig_obj
)) SWIG_fail
;
32564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, 0 | 0 );
32565 if (!SWIG_IsOK(res1
)) {
32566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VisualAttributes_colFg_set" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
32568 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
32569 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxColour
, 0 | 0 );
32570 if (!SWIG_IsOK(res2
)) {
32571 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VisualAttributes_colFg_set" "', expected argument " "2"" of type '" "wxColour *""'");
32573 arg2
= reinterpret_cast< wxColour
* >(argp2
);
32574 if (arg1
) (arg1
)->colFg
= *arg2
;
32576 resultobj
= SWIG_Py_Void();
32583 SWIGINTERN PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32584 PyObject
*resultobj
= 0;
32585 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
32586 wxColour
*result
= 0 ;
32589 PyObject
*swig_obj
[1] ;
32591 if (!args
) SWIG_fail
;
32592 swig_obj
[0] = args
;
32593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, 0 | 0 );
32594 if (!SWIG_IsOK(res1
)) {
32595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VisualAttributes_colFg_get" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
32597 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
32598 result
= (wxColour
*)& ((arg1
)->colFg
);
32599 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
32606 SWIGINTERN PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32607 PyObject
*resultobj
= 0;
32608 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
32609 wxColour
*arg2
= (wxColour
*) 0 ;
32614 PyObject
*swig_obj
[2] ;
32616 if (!SWIG_Python_UnpackTuple(args
,"VisualAttributes_colBg_set",2,2,swig_obj
)) SWIG_fail
;
32617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, 0 | 0 );
32618 if (!SWIG_IsOK(res1
)) {
32619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VisualAttributes_colBg_set" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
32621 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
32622 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxColour
, 0 | 0 );
32623 if (!SWIG_IsOK(res2
)) {
32624 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VisualAttributes_colBg_set" "', expected argument " "2"" of type '" "wxColour *""'");
32626 arg2
= reinterpret_cast< wxColour
* >(argp2
);
32627 if (arg1
) (arg1
)->colBg
= *arg2
;
32629 resultobj
= SWIG_Py_Void();
32636 SWIGINTERN PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32637 PyObject
*resultobj
= 0;
32638 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
32639 wxColour
*result
= 0 ;
32642 PyObject
*swig_obj
[1] ;
32644 if (!args
) SWIG_fail
;
32645 swig_obj
[0] = args
;
32646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, 0 | 0 );
32647 if (!SWIG_IsOK(res1
)) {
32648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VisualAttributes_colBg_get" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
32650 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
32651 result
= (wxColour
*)& ((arg1
)->colBg
);
32652 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
32659 SWIGINTERN PyObject
*VisualAttributes_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32661 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32662 SWIG_TypeNewClientData(SWIGTYPE_p_wxVisualAttributes
, SWIG_NewClientData(obj
));
32663 return SWIG_Py_Void();
32666 SWIGINTERN PyObject
*VisualAttributes_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32667 return SWIG_Python_InitShadowInstance(args
);
32670 SWIGINTERN PyObject
*_wrap_new_Window(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32671 PyObject
*resultobj
= 0;
32672 wxWindow
*arg1
= (wxWindow
*) 0 ;
32673 int arg2
= (int) (int)-1 ;
32674 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32675 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32676 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32677 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32678 long arg5
= (long) 0 ;
32679 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
32680 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
32681 wxWindow
*result
= 0 ;
32690 bool temp6
= false ;
32691 PyObject
* obj0
= 0 ;
32692 PyObject
* obj1
= 0 ;
32693 PyObject
* obj2
= 0 ;
32694 PyObject
* obj3
= 0 ;
32695 PyObject
* obj4
= 0 ;
32696 PyObject
* obj5
= 0 ;
32697 char * kwnames
[] = {
32698 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
32701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) 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 '" "new_Window" "', expected argument " "1"" of type '" "wxWindow *""'");
32706 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32708 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32709 if (!SWIG_IsOK(ecode2
)) {
32710 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Window" "', expected argument " "2"" of type '" "int""'");
32712 arg2
= static_cast< int >(val2
);
32717 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32723 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32727 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
32728 if (!SWIG_IsOK(ecode5
)) {
32729 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Window" "', expected argument " "5"" of type '" "long""'");
32731 arg5
= static_cast< long >(val5
);
32735 arg6
= wxString_in_helper(obj5
);
32736 if (arg6
== NULL
) SWIG_fail
;
32741 if (!wxPyCheckForApp()) SWIG_fail
;
32742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32743 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
32744 wxPyEndAllowThreads(__tstate
);
32745 if (PyErr_Occurred()) SWIG_fail
;
32747 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindow
, SWIG_POINTER_NEW
| 0 );
32762 SWIGINTERN PyObject
*_wrap_new_PreWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32763 PyObject
*resultobj
= 0;
32764 wxWindow
*result
= 0 ;
32766 if (!SWIG_Python_UnpackTuple(args
,"new_PreWindow",0,0,0)) SWIG_fail
;
32768 if (!wxPyCheckForApp()) SWIG_fail
;
32769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32770 result
= (wxWindow
*)new wxWindow();
32771 wxPyEndAllowThreads(__tstate
);
32772 if (PyErr_Occurred()) SWIG_fail
;
32774 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindow
, SWIG_POINTER_OWN
| 0 );
32781 SWIGINTERN PyObject
*_wrap_Window_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32782 PyObject
*resultobj
= 0;
32783 wxWindow
*arg1
= (wxWindow
*) 0 ;
32784 wxWindow
*arg2
= (wxWindow
*) 0 ;
32785 int arg3
= (int) (int)-1 ;
32786 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32787 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32788 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32789 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32790 long arg6
= (long) 0 ;
32791 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
32792 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32804 bool temp7
= false ;
32805 PyObject
* obj0
= 0 ;
32806 PyObject
* obj1
= 0 ;
32807 PyObject
* obj2
= 0 ;
32808 PyObject
* obj3
= 0 ;
32809 PyObject
* obj4
= 0 ;
32810 PyObject
* obj5
= 0 ;
32811 PyObject
* obj6
= 0 ;
32812 char * kwnames
[] = {
32813 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
32816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32818 if (!SWIG_IsOK(res1
)) {
32819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
32821 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32822 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32823 if (!SWIG_IsOK(res2
)) {
32824 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
32826 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
32828 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32829 if (!SWIG_IsOK(ecode3
)) {
32830 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_Create" "', expected argument " "3"" of type '" "int""'");
32832 arg3
= static_cast< int >(val3
);
32837 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32843 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32847 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
32848 if (!SWIG_IsOK(ecode6
)) {
32849 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Window_Create" "', expected argument " "6"" of type '" "long""'");
32851 arg6
= static_cast< long >(val6
);
32855 arg7
= wxString_in_helper(obj6
);
32856 if (arg7
== NULL
) SWIG_fail
;
32861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32862 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
32863 wxPyEndAllowThreads(__tstate
);
32864 if (PyErr_Occurred()) SWIG_fail
;
32867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32883 SWIGINTERN PyObject
*_wrap_Window_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32884 PyObject
*resultobj
= 0;
32885 wxWindow
*arg1
= (wxWindow
*) 0 ;
32886 bool arg2
= (bool) false ;
32892 PyObject
* obj0
= 0 ;
32893 PyObject
* obj1
= 0 ;
32894 char * kwnames
[] = {
32895 (char *) "self",(char *) "force", NULL
32898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32900 if (!SWIG_IsOK(res1
)) {
32901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Close" "', expected argument " "1"" of type '" "wxWindow *""'");
32903 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32905 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
32906 if (!SWIG_IsOK(ecode2
)) {
32907 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_Close" "', expected argument " "2"" of type '" "bool""'");
32909 arg2
= static_cast< bool >(val2
);
32912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32913 result
= (bool)(arg1
)->Close(arg2
);
32914 wxPyEndAllowThreads(__tstate
);
32915 if (PyErr_Occurred()) SWIG_fail
;
32918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32926 SWIGINTERN PyObject
*_wrap_Window_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32927 PyObject
*resultobj
= 0;
32928 wxWindow
*arg1
= (wxWindow
*) 0 ;
32932 PyObject
*swig_obj
[1] ;
32934 if (!args
) SWIG_fail
;
32935 swig_obj
[0] = args
;
32936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32937 if (!SWIG_IsOK(res1
)) {
32938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Destroy" "', expected argument " "1"" of type '" "wxWindow *""'");
32940 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32943 result
= (bool)(arg1
)->Destroy();
32944 wxPyEndAllowThreads(__tstate
);
32945 if (PyErr_Occurred()) SWIG_fail
;
32948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32956 SWIGINTERN PyObject
*_wrap_Window_DestroyChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32957 PyObject
*resultobj
= 0;
32958 wxWindow
*arg1
= (wxWindow
*) 0 ;
32962 PyObject
*swig_obj
[1] ;
32964 if (!args
) SWIG_fail
;
32965 swig_obj
[0] = args
;
32966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32967 if (!SWIG_IsOK(res1
)) {
32968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_DestroyChildren" "', expected argument " "1"" of type '" "wxWindow *""'");
32970 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32973 result
= (bool)(arg1
)->DestroyChildren();
32974 wxPyEndAllowThreads(__tstate
);
32975 if (PyErr_Occurred()) SWIG_fail
;
32978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32986 SWIGINTERN PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32987 PyObject
*resultobj
= 0;
32988 wxWindow
*arg1
= (wxWindow
*) 0 ;
32992 PyObject
*swig_obj
[1] ;
32994 if (!args
) SWIG_fail
;
32995 swig_obj
[0] = args
;
32996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32997 if (!SWIG_IsOK(res1
)) {
32998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsBeingDeleted" "', expected argument " "1"" of type '" "wxWindow const *""'");
33000 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33003 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
33004 wxPyEndAllowThreads(__tstate
);
33005 if (PyErr_Occurred()) SWIG_fail
;
33008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33016 SWIGINTERN PyObject
*_wrap_Window_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33017 PyObject
*resultobj
= 0;
33018 wxWindow
*arg1
= (wxWindow
*) 0 ;
33019 wxString
*arg2
= 0 ;
33022 bool temp2
= false ;
33023 PyObject
* obj0
= 0 ;
33024 PyObject
* obj1
= 0 ;
33025 char * kwnames
[] = {
33026 (char *) "self",(char *) "label", NULL
33029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33031 if (!SWIG_IsOK(res1
)) {
33032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetLabel" "', expected argument " "1"" of type '" "wxWindow *""'");
33034 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33036 arg2
= wxString_in_helper(obj1
);
33037 if (arg2
== NULL
) SWIG_fail
;
33041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33042 (arg1
)->SetLabel((wxString
const &)*arg2
);
33043 wxPyEndAllowThreads(__tstate
);
33044 if (PyErr_Occurred()) SWIG_fail
;
33046 resultobj
= SWIG_Py_Void();
33061 SWIGINTERN PyObject
*_wrap_Window_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33062 PyObject
*resultobj
= 0;
33063 wxWindow
*arg1
= (wxWindow
*) 0 ;
33067 PyObject
*swig_obj
[1] ;
33069 if (!args
) SWIG_fail
;
33070 swig_obj
[0] = args
;
33071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33072 if (!SWIG_IsOK(res1
)) {
33073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetLabel" "', expected argument " "1"" of type '" "wxWindow const *""'");
33075 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33078 result
= ((wxWindow
const *)arg1
)->GetLabel();
33079 wxPyEndAllowThreads(__tstate
);
33080 if (PyErr_Occurred()) SWIG_fail
;
33084 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33086 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33095 SWIGINTERN PyObject
*_wrap_Window_SetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33096 PyObject
*resultobj
= 0;
33097 wxWindow
*arg1
= (wxWindow
*) 0 ;
33098 wxString
*arg2
= 0 ;
33101 bool temp2
= false ;
33102 PyObject
* obj0
= 0 ;
33103 PyObject
* obj1
= 0 ;
33104 char * kwnames
[] = {
33105 (char *) "self",(char *) "name", NULL
33108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33110 if (!SWIG_IsOK(res1
)) {
33111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetName" "', expected argument " "1"" of type '" "wxWindow *""'");
33113 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33115 arg2
= wxString_in_helper(obj1
);
33116 if (arg2
== NULL
) SWIG_fail
;
33120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33121 (arg1
)->SetName((wxString
const &)*arg2
);
33122 wxPyEndAllowThreads(__tstate
);
33123 if (PyErr_Occurred()) SWIG_fail
;
33125 resultobj
= SWIG_Py_Void();
33140 SWIGINTERN PyObject
*_wrap_Window_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33141 PyObject
*resultobj
= 0;
33142 wxWindow
*arg1
= (wxWindow
*) 0 ;
33146 PyObject
*swig_obj
[1] ;
33148 if (!args
) SWIG_fail
;
33149 swig_obj
[0] = args
;
33150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33151 if (!SWIG_IsOK(res1
)) {
33152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetName" "', expected argument " "1"" of type '" "wxWindow const *""'");
33154 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33157 result
= ((wxWindow
const *)arg1
)->GetName();
33158 wxPyEndAllowThreads(__tstate
);
33159 if (PyErr_Occurred()) SWIG_fail
;
33163 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33165 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33174 SWIGINTERN PyObject
*_wrap_Window_SetWindowVariant(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33175 PyObject
*resultobj
= 0;
33176 wxWindow
*arg1
= (wxWindow
*) 0 ;
33177 wxWindowVariant arg2
;
33182 PyObject
* obj0
= 0 ;
33183 PyObject
* obj1
= 0 ;
33184 char * kwnames
[] = {
33185 (char *) "self",(char *) "variant", NULL
33188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33190 if (!SWIG_IsOK(res1
)) {
33191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetWindowVariant" "', expected argument " "1"" of type '" "wxWindow *""'");
33193 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33194 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33195 if (!SWIG_IsOK(ecode2
)) {
33196 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetWindowVariant" "', expected argument " "2"" of type '" "wxWindowVariant""'");
33198 arg2
= static_cast< wxWindowVariant
>(val2
);
33200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33201 (arg1
)->SetWindowVariant(arg2
);
33202 wxPyEndAllowThreads(__tstate
);
33203 if (PyErr_Occurred()) SWIG_fail
;
33205 resultobj
= SWIG_Py_Void();
33212 SWIGINTERN PyObject
*_wrap_Window_GetWindowVariant(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33213 PyObject
*resultobj
= 0;
33214 wxWindow
*arg1
= (wxWindow
*) 0 ;
33215 wxWindowVariant result
;
33218 PyObject
*swig_obj
[1] ;
33220 if (!args
) SWIG_fail
;
33221 swig_obj
[0] = args
;
33222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33223 if (!SWIG_IsOK(res1
)) {
33224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetWindowVariant" "', expected argument " "1"" of type '" "wxWindow const *""'");
33226 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33229 result
= (wxWindowVariant
)((wxWindow
const *)arg1
)->GetWindowVariant();
33230 wxPyEndAllowThreads(__tstate
);
33231 if (PyErr_Occurred()) SWIG_fail
;
33233 resultobj
= SWIG_From_int(static_cast< int >(result
));
33240 SWIGINTERN PyObject
*_wrap_Window_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33241 PyObject
*resultobj
= 0;
33242 wxWindow
*arg1
= (wxWindow
*) 0 ;
33248 PyObject
* obj0
= 0 ;
33249 PyObject
* obj1
= 0 ;
33250 char * kwnames
[] = {
33251 (char *) "self",(char *) "winid", NULL
33254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33256 if (!SWIG_IsOK(res1
)) {
33257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetId" "', expected argument " "1"" of type '" "wxWindow *""'");
33259 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33260 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33261 if (!SWIG_IsOK(ecode2
)) {
33262 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetId" "', expected argument " "2"" of type '" "int""'");
33264 arg2
= static_cast< int >(val2
);
33266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33267 (arg1
)->SetId(arg2
);
33268 wxPyEndAllowThreads(__tstate
);
33269 if (PyErr_Occurred()) SWIG_fail
;
33271 resultobj
= SWIG_Py_Void();
33278 SWIGINTERN PyObject
*_wrap_Window_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33279 PyObject
*resultobj
= 0;
33280 wxWindow
*arg1
= (wxWindow
*) 0 ;
33284 PyObject
*swig_obj
[1] ;
33286 if (!args
) SWIG_fail
;
33287 swig_obj
[0] = args
;
33288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33289 if (!SWIG_IsOK(res1
)) {
33290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetId" "', expected argument " "1"" of type '" "wxWindow const *""'");
33292 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33295 result
= (int)((wxWindow
const *)arg1
)->GetId();
33296 wxPyEndAllowThreads(__tstate
);
33297 if (PyErr_Occurred()) SWIG_fail
;
33299 resultobj
= SWIG_From_int(static_cast< int >(result
));
33306 SWIGINTERN PyObject
*_wrap_Window_NewControlId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33307 PyObject
*resultobj
= 0;
33310 if (!SWIG_Python_UnpackTuple(args
,"Window_NewControlId",0,0,0)) SWIG_fail
;
33312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33313 result
= (int)wxWindow::NewControlId();
33314 wxPyEndAllowThreads(__tstate
);
33315 if (PyErr_Occurred()) SWIG_fail
;
33317 resultobj
= SWIG_From_int(static_cast< int >(result
));
33324 SWIGINTERN PyObject
*_wrap_Window_NextControlId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33325 PyObject
*resultobj
= 0;
33330 PyObject
* obj0
= 0 ;
33331 char * kwnames
[] = {
33332 (char *) "winid", NULL
33335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) SWIG_fail
;
33336 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33337 if (!SWIG_IsOK(ecode1
)) {
33338 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Window_NextControlId" "', expected argument " "1"" of type '" "int""'");
33340 arg1
= static_cast< int >(val1
);
33342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33343 result
= (int)wxWindow::NextControlId(arg1
);
33344 wxPyEndAllowThreads(__tstate
);
33345 if (PyErr_Occurred()) SWIG_fail
;
33347 resultobj
= SWIG_From_int(static_cast< int >(result
));
33354 SWIGINTERN PyObject
*_wrap_Window_PrevControlId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33355 PyObject
*resultobj
= 0;
33360 PyObject
* obj0
= 0 ;
33361 char * kwnames
[] = {
33362 (char *) "winid", NULL
33365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) SWIG_fail
;
33366 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33367 if (!SWIG_IsOK(ecode1
)) {
33368 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Window_PrevControlId" "', expected argument " "1"" of type '" "int""'");
33370 arg1
= static_cast< int >(val1
);
33372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33373 result
= (int)wxWindow::PrevControlId(arg1
);
33374 wxPyEndAllowThreads(__tstate
);
33375 if (PyErr_Occurred()) SWIG_fail
;
33377 resultobj
= SWIG_From_int(static_cast< int >(result
));
33384 SWIGINTERN PyObject
*_wrap_Window_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33385 PyObject
*resultobj
= 0;
33386 wxWindow
*arg1
= (wxWindow
*) 0 ;
33387 wxLayoutDirection result
;
33390 PyObject
*swig_obj
[1] ;
33392 if (!args
) SWIG_fail
;
33393 swig_obj
[0] = args
;
33394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33395 if (!SWIG_IsOK(res1
)) {
33396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetLayoutDirection" "', expected argument " "1"" of type '" "wxWindow const *""'");
33398 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33401 result
= (wxLayoutDirection
)((wxWindow
const *)arg1
)->GetLayoutDirection();
33402 wxPyEndAllowThreads(__tstate
);
33403 if (PyErr_Occurred()) SWIG_fail
;
33405 resultobj
= SWIG_From_int(static_cast< int >(result
));
33412 SWIGINTERN PyObject
*_wrap_Window_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33413 PyObject
*resultobj
= 0;
33414 wxWindow
*arg1
= (wxWindow
*) 0 ;
33415 wxLayoutDirection arg2
;
33420 PyObject
* obj0
= 0 ;
33421 PyObject
* obj1
= 0 ;
33422 char * kwnames
[] = {
33423 (char *) "self",(char *) "dir", NULL
33426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33428 if (!SWIG_IsOK(res1
)) {
33429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetLayoutDirection" "', expected argument " "1"" of type '" "wxWindow *""'");
33431 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33432 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33433 if (!SWIG_IsOK(ecode2
)) {
33434 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
33436 arg2
= static_cast< wxLayoutDirection
>(val2
);
33438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33439 (arg1
)->SetLayoutDirection(arg2
);
33440 wxPyEndAllowThreads(__tstate
);
33441 if (PyErr_Occurred()) SWIG_fail
;
33443 resultobj
= SWIG_Py_Void();
33450 SWIGINTERN PyObject
*_wrap_Window_AdjustForLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33451 PyObject
*resultobj
= 0;
33452 wxWindow
*arg1
= (wxWindow
*) 0 ;
33465 PyObject
* obj0
= 0 ;
33466 PyObject
* obj1
= 0 ;
33467 PyObject
* obj2
= 0 ;
33468 PyObject
* obj3
= 0 ;
33469 char * kwnames
[] = {
33470 (char *) "self",(char *) "x",(char *) "width",(char *) "widthTotal", NULL
33473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_AdjustForLayoutDirection",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33475 if (!SWIG_IsOK(res1
)) {
33476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_AdjustForLayoutDirection" "', expected argument " "1"" of type '" "wxWindow const *""'");
33478 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33479 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33480 if (!SWIG_IsOK(ecode2
)) {
33481 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_AdjustForLayoutDirection" "', expected argument " "2"" of type '" "int""'");
33483 arg2
= static_cast< int >(val2
);
33484 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33485 if (!SWIG_IsOK(ecode3
)) {
33486 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_AdjustForLayoutDirection" "', expected argument " "3"" of type '" "int""'");
33488 arg3
= static_cast< int >(val3
);
33489 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33490 if (!SWIG_IsOK(ecode4
)) {
33491 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_AdjustForLayoutDirection" "', expected argument " "4"" of type '" "int""'");
33493 arg4
= static_cast< int >(val4
);
33495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33496 result
= (int)((wxWindow
const *)arg1
)->AdjustForLayoutDirection(arg2
,arg3
,arg4
);
33497 wxPyEndAllowThreads(__tstate
);
33498 if (PyErr_Occurred()) SWIG_fail
;
33500 resultobj
= SWIG_From_int(static_cast< int >(result
));
33507 SWIGINTERN PyObject
*_wrap_Window_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33508 PyObject
*resultobj
= 0;
33509 wxWindow
*arg1
= (wxWindow
*) 0 ;
33514 PyObject
* obj0
= 0 ;
33515 PyObject
* obj1
= 0 ;
33516 char * kwnames
[] = {
33517 (char *) "self",(char *) "size", NULL
33520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33522 if (!SWIG_IsOK(res1
)) {
33523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetSize" "', expected argument " "1"" of type '" "wxWindow *""'");
33525 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33528 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
33531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33532 (arg1
)->SetSize((wxSize
const &)*arg2
);
33533 wxPyEndAllowThreads(__tstate
);
33534 if (PyErr_Occurred()) SWIG_fail
;
33536 resultobj
= SWIG_Py_Void();
33543 SWIGINTERN PyObject
*_wrap_Window_SetDimensions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33544 PyObject
*resultobj
= 0;
33545 wxWindow
*arg1
= (wxWindow
*) 0 ;
33550 int arg6
= (int) wxSIZE_AUTO
;
33563 PyObject
* obj0
= 0 ;
33564 PyObject
* obj1
= 0 ;
33565 PyObject
* obj2
= 0 ;
33566 PyObject
* obj3
= 0 ;
33567 PyObject
* obj4
= 0 ;
33568 PyObject
* obj5
= 0 ;
33569 char * kwnames
[] = {
33570 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
33573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
33574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33575 if (!SWIG_IsOK(res1
)) {
33576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetDimensions" "', expected argument " "1"" of type '" "wxWindow *""'");
33578 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33579 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33580 if (!SWIG_IsOK(ecode2
)) {
33581 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetDimensions" "', expected argument " "2"" of type '" "int""'");
33583 arg2
= static_cast< int >(val2
);
33584 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33585 if (!SWIG_IsOK(ecode3
)) {
33586 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetDimensions" "', expected argument " "3"" of type '" "int""'");
33588 arg3
= static_cast< int >(val3
);
33589 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33590 if (!SWIG_IsOK(ecode4
)) {
33591 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_SetDimensions" "', expected argument " "4"" of type '" "int""'");
33593 arg4
= static_cast< int >(val4
);
33594 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33595 if (!SWIG_IsOK(ecode5
)) {
33596 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Window_SetDimensions" "', expected argument " "5"" of type '" "int""'");
33598 arg5
= static_cast< int >(val5
);
33600 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
33601 if (!SWIG_IsOK(ecode6
)) {
33602 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Window_SetDimensions" "', expected argument " "6"" of type '" "int""'");
33604 arg6
= static_cast< int >(val6
);
33607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33608 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
33609 wxPyEndAllowThreads(__tstate
);
33610 if (PyErr_Occurred()) SWIG_fail
;
33612 resultobj
= SWIG_Py_Void();
33619 SWIGINTERN PyObject
*_wrap_Window_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33620 PyObject
*resultobj
= 0;
33621 wxWindow
*arg1
= (wxWindow
*) 0 ;
33623 int arg3
= (int) wxSIZE_AUTO
;
33629 PyObject
* obj0
= 0 ;
33630 PyObject
* obj1
= 0 ;
33631 PyObject
* obj2
= 0 ;
33632 char * kwnames
[] = {
33633 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
33636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33638 if (!SWIG_IsOK(res1
)) {
33639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetRect" "', expected argument " "1"" of type '" "wxWindow *""'");
33641 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33644 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33647 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33648 if (!SWIG_IsOK(ecode3
)) {
33649 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetRect" "', expected argument " "3"" of type '" "int""'");
33651 arg3
= static_cast< int >(val3
);
33654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33655 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
33656 wxPyEndAllowThreads(__tstate
);
33657 if (PyErr_Occurred()) SWIG_fail
;
33659 resultobj
= SWIG_Py_Void();
33666 SWIGINTERN PyObject
*_wrap_Window_SetSizeWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33667 PyObject
*resultobj
= 0;
33668 wxWindow
*arg1
= (wxWindow
*) 0 ;
33677 PyObject
* obj0
= 0 ;
33678 PyObject
* obj1
= 0 ;
33679 PyObject
* obj2
= 0 ;
33680 char * kwnames
[] = {
33681 (char *) "self",(char *) "width",(char *) "height", NULL
33684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33686 if (!SWIG_IsOK(res1
)) {
33687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetSizeWH" "', expected argument " "1"" of type '" "wxWindow *""'");
33689 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33690 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33691 if (!SWIG_IsOK(ecode2
)) {
33692 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetSizeWH" "', expected argument " "2"" of type '" "int""'");
33694 arg2
= static_cast< int >(val2
);
33695 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33696 if (!SWIG_IsOK(ecode3
)) {
33697 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetSizeWH" "', expected argument " "3"" of type '" "int""'");
33699 arg3
= static_cast< int >(val3
);
33701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33702 (arg1
)->SetSize(arg2
,arg3
);
33703 wxPyEndAllowThreads(__tstate
);
33704 if (PyErr_Occurred()) SWIG_fail
;
33706 resultobj
= SWIG_Py_Void();
33713 SWIGINTERN PyObject
*_wrap_Window_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33714 PyObject
*resultobj
= 0;
33715 wxWindow
*arg1
= (wxWindow
*) 0 ;
33716 wxPoint
*arg2
= 0 ;
33717 int arg3
= (int) wxSIZE_USE_EXISTING
;
33723 PyObject
* obj0
= 0 ;
33724 PyObject
* obj1
= 0 ;
33725 PyObject
* obj2
= 0 ;
33726 char * kwnames
[] = {
33727 (char *) "self",(char *) "pt",(char *) "flags", NULL
33730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33732 if (!SWIG_IsOK(res1
)) {
33733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Move" "', expected argument " "1"" of type '" "wxWindow *""'");
33735 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33738 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33741 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33742 if (!SWIG_IsOK(ecode3
)) {
33743 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_Move" "', expected argument " "3"" of type '" "int""'");
33745 arg3
= static_cast< int >(val3
);
33748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33749 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
33750 wxPyEndAllowThreads(__tstate
);
33751 if (PyErr_Occurred()) SWIG_fail
;
33753 resultobj
= SWIG_Py_Void();
33760 SWIGINTERN PyObject
*_wrap_Window_MoveXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33761 PyObject
*resultobj
= 0;
33762 wxWindow
*arg1
= (wxWindow
*) 0 ;
33765 int arg4
= (int) wxSIZE_USE_EXISTING
;
33774 PyObject
* obj0
= 0 ;
33775 PyObject
* obj1
= 0 ;
33776 PyObject
* obj2
= 0 ;
33777 PyObject
* obj3
= 0 ;
33778 char * kwnames
[] = {
33779 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
33782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33784 if (!SWIG_IsOK(res1
)) {
33785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_MoveXY" "', expected argument " "1"" of type '" "wxWindow *""'");
33787 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33788 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33789 if (!SWIG_IsOK(ecode2
)) {
33790 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_MoveXY" "', expected argument " "2"" of type '" "int""'");
33792 arg2
= static_cast< int >(val2
);
33793 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33794 if (!SWIG_IsOK(ecode3
)) {
33795 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_MoveXY" "', expected argument " "3"" of type '" "int""'");
33797 arg3
= static_cast< int >(val3
);
33799 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33800 if (!SWIG_IsOK(ecode4
)) {
33801 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_MoveXY" "', expected argument " "4"" of type '" "int""'");
33803 arg4
= static_cast< int >(val4
);
33806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33807 (arg1
)->Move(arg2
,arg3
,arg4
);
33808 wxPyEndAllowThreads(__tstate
);
33809 if (PyErr_Occurred()) SWIG_fail
;
33811 resultobj
= SWIG_Py_Void();
33818 SWIGINTERN PyObject
*_wrap_Window_SetInitialSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33819 PyObject
*resultobj
= 0;
33820 wxWindow
*arg1
= (wxWindow
*) 0 ;
33821 wxSize
const &arg2_defvalue
= wxDefaultSize
;
33822 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
33826 PyObject
* obj0
= 0 ;
33827 PyObject
* obj1
= 0 ;
33828 char * kwnames
[] = {
33829 (char *) "self",(char *) "size", NULL
33832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetInitialSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33834 if (!SWIG_IsOK(res1
)) {
33835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetInitialSize" "', expected argument " "1"" of type '" "wxWindow *""'");
33837 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33841 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
33845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33846 (arg1
)->SetInitialSize((wxSize
const &)*arg2
);
33847 wxPyEndAllowThreads(__tstate
);
33848 if (PyErr_Occurred()) SWIG_fail
;
33850 resultobj
= SWIG_Py_Void();
33857 SWIGINTERN PyObject
*_wrap_Window_Raise(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33858 PyObject
*resultobj
= 0;
33859 wxWindow
*arg1
= (wxWindow
*) 0 ;
33862 PyObject
*swig_obj
[1] ;
33864 if (!args
) SWIG_fail
;
33865 swig_obj
[0] = args
;
33866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33867 if (!SWIG_IsOK(res1
)) {
33868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Raise" "', expected argument " "1"" of type '" "wxWindow *""'");
33870 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33874 wxPyEndAllowThreads(__tstate
);
33875 if (PyErr_Occurred()) SWIG_fail
;
33877 resultobj
= SWIG_Py_Void();
33884 SWIGINTERN PyObject
*_wrap_Window_Lower(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33885 PyObject
*resultobj
= 0;
33886 wxWindow
*arg1
= (wxWindow
*) 0 ;
33889 PyObject
*swig_obj
[1] ;
33891 if (!args
) SWIG_fail
;
33892 swig_obj
[0] = args
;
33893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33894 if (!SWIG_IsOK(res1
)) {
33895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Lower" "', expected argument " "1"" of type '" "wxWindow *""'");
33897 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33901 wxPyEndAllowThreads(__tstate
);
33902 if (PyErr_Occurred()) SWIG_fail
;
33904 resultobj
= SWIG_Py_Void();
33911 SWIGINTERN PyObject
*_wrap_Window_SetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33912 PyObject
*resultobj
= 0;
33913 wxWindow
*arg1
= (wxWindow
*) 0 ;
33918 PyObject
* obj0
= 0 ;
33919 PyObject
* obj1
= 0 ;
33920 char * kwnames
[] = {
33921 (char *) "self",(char *) "size", NULL
33924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33926 if (!SWIG_IsOK(res1
)) {
33927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetClientSize" "', expected argument " "1"" of type '" "wxWindow *""'");
33929 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33932 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
33935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33936 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
33937 wxPyEndAllowThreads(__tstate
);
33938 if (PyErr_Occurred()) SWIG_fail
;
33940 resultobj
= SWIG_Py_Void();
33947 SWIGINTERN PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33948 PyObject
*resultobj
= 0;
33949 wxWindow
*arg1
= (wxWindow
*) 0 ;
33958 PyObject
* obj0
= 0 ;
33959 PyObject
* obj1
= 0 ;
33960 PyObject
* obj2
= 0 ;
33961 char * kwnames
[] = {
33962 (char *) "self",(char *) "width",(char *) "height", NULL
33965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33967 if (!SWIG_IsOK(res1
)) {
33968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetClientSizeWH" "', expected argument " "1"" of type '" "wxWindow *""'");
33970 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33971 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33972 if (!SWIG_IsOK(ecode2
)) {
33973 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetClientSizeWH" "', expected argument " "2"" of type '" "int""'");
33975 arg2
= static_cast< int >(val2
);
33976 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33977 if (!SWIG_IsOK(ecode3
)) {
33978 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetClientSizeWH" "', expected argument " "3"" of type '" "int""'");
33980 arg3
= static_cast< int >(val3
);
33982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33983 (arg1
)->SetClientSize(arg2
,arg3
);
33984 wxPyEndAllowThreads(__tstate
);
33985 if (PyErr_Occurred()) SWIG_fail
;
33987 resultobj
= SWIG_Py_Void();
33994 SWIGINTERN PyObject
*_wrap_Window_SetClientRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33995 PyObject
*resultobj
= 0;
33996 wxWindow
*arg1
= (wxWindow
*) 0 ;
34001 PyObject
* obj0
= 0 ;
34002 PyObject
* obj1
= 0 ;
34003 char * kwnames
[] = {
34004 (char *) "self",(char *) "rect", NULL
34007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34009 if (!SWIG_IsOK(res1
)) {
34010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetClientRect" "', expected argument " "1"" of type '" "wxWindow *""'");
34012 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34015 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
34018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34019 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
34020 wxPyEndAllowThreads(__tstate
);
34021 if (PyErr_Occurred()) SWIG_fail
;
34023 resultobj
= SWIG_Py_Void();
34030 SWIGINTERN PyObject
*_wrap_Window_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34031 PyObject
*resultobj
= 0;
34032 wxWindow
*arg1
= (wxWindow
*) 0 ;
34036 PyObject
*swig_obj
[1] ;
34038 if (!args
) SWIG_fail
;
34039 swig_obj
[0] = args
;
34040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34041 if (!SWIG_IsOK(res1
)) {
34042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetPosition" "', expected argument " "1"" of type '" "wxWindow const *""'");
34044 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34047 result
= ((wxWindow
const *)arg1
)->GetPosition();
34048 wxPyEndAllowThreads(__tstate
);
34049 if (PyErr_Occurred()) SWIG_fail
;
34051 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
34058 SWIGINTERN PyObject
*_wrap_Window_GetPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34059 PyObject
*resultobj
= 0;
34060 wxWindow
*arg1
= (wxWindow
*) 0 ;
34061 int *arg2
= (int *) 0 ;
34062 int *arg3
= (int *) 0 ;
34066 int res2
= SWIG_TMPOBJ
;
34068 int res3
= SWIG_TMPOBJ
;
34069 PyObject
*swig_obj
[1] ;
34073 if (!args
) SWIG_fail
;
34074 swig_obj
[0] = args
;
34075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34076 if (!SWIG_IsOK(res1
)) {
34077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetPositionTuple" "', expected argument " "1"" of type '" "wxWindow const *""'");
34079 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34082 ((wxWindow
const *)arg1
)->GetPosition(arg2
,arg3
);
34083 wxPyEndAllowThreads(__tstate
);
34084 if (PyErr_Occurred()) SWIG_fail
;
34086 resultobj
= SWIG_Py_Void();
34087 if (SWIG_IsTmpObj(res2
)) {
34088 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
34090 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
34091 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
34093 if (SWIG_IsTmpObj(res3
)) {
34094 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
34096 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
34097 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
34105 SWIGINTERN PyObject
*_wrap_Window_GetScreenPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34106 PyObject
*resultobj
= 0;
34107 wxWindow
*arg1
= (wxWindow
*) 0 ;
34111 PyObject
*swig_obj
[1] ;
34113 if (!args
) SWIG_fail
;
34114 swig_obj
[0] = args
;
34115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34116 if (!SWIG_IsOK(res1
)) {
34117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetScreenPosition" "', expected argument " "1"" of type '" "wxWindow const *""'");
34119 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34122 result
= ((wxWindow
const *)arg1
)->GetScreenPosition();
34123 wxPyEndAllowThreads(__tstate
);
34124 if (PyErr_Occurred()) SWIG_fail
;
34126 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
34133 SWIGINTERN PyObject
*_wrap_Window_GetScreenPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34134 PyObject
*resultobj
= 0;
34135 wxWindow
*arg1
= (wxWindow
*) 0 ;
34136 int *arg2
= (int *) 0 ;
34137 int *arg3
= (int *) 0 ;
34141 int res2
= SWIG_TMPOBJ
;
34143 int res3
= SWIG_TMPOBJ
;
34144 PyObject
*swig_obj
[1] ;
34148 if (!args
) SWIG_fail
;
34149 swig_obj
[0] = args
;
34150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34151 if (!SWIG_IsOK(res1
)) {
34152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetScreenPositionTuple" "', expected argument " "1"" of type '" "wxWindow const *""'");
34154 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34157 ((wxWindow
const *)arg1
)->GetScreenPosition(arg2
,arg3
);
34158 wxPyEndAllowThreads(__tstate
);
34159 if (PyErr_Occurred()) SWIG_fail
;
34161 resultobj
= SWIG_Py_Void();
34162 if (SWIG_IsTmpObj(res2
)) {
34163 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
34165 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
34166 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
34168 if (SWIG_IsTmpObj(res3
)) {
34169 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
34171 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
34172 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
34180 SWIGINTERN PyObject
*_wrap_Window_GetScreenRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34181 PyObject
*resultobj
= 0;
34182 wxWindow
*arg1
= (wxWindow
*) 0 ;
34186 PyObject
*swig_obj
[1] ;
34188 if (!args
) SWIG_fail
;
34189 swig_obj
[0] = args
;
34190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34191 if (!SWIG_IsOK(res1
)) {
34192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetScreenRect" "', expected argument " "1"" of type '" "wxWindow const *""'");
34194 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34197 result
= ((wxWindow
const *)arg1
)->GetScreenRect();
34198 wxPyEndAllowThreads(__tstate
);
34199 if (PyErr_Occurred()) SWIG_fail
;
34201 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
34208 SWIGINTERN PyObject
*_wrap_Window_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34209 PyObject
*resultobj
= 0;
34210 wxWindow
*arg1
= (wxWindow
*) 0 ;
34214 PyObject
*swig_obj
[1] ;
34216 if (!args
) SWIG_fail
;
34217 swig_obj
[0] = args
;
34218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34219 if (!SWIG_IsOK(res1
)) {
34220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
34222 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34225 result
= ((wxWindow
const *)arg1
)->GetSize();
34226 wxPyEndAllowThreads(__tstate
);
34227 if (PyErr_Occurred()) SWIG_fail
;
34229 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
34236 SWIGINTERN PyObject
*_wrap_Window_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34237 PyObject
*resultobj
= 0;
34238 wxWindow
*arg1
= (wxWindow
*) 0 ;
34239 int *arg2
= (int *) 0 ;
34240 int *arg3
= (int *) 0 ;
34244 int res2
= SWIG_TMPOBJ
;
34246 int res3
= SWIG_TMPOBJ
;
34247 PyObject
*swig_obj
[1] ;
34251 if (!args
) SWIG_fail
;
34252 swig_obj
[0] = args
;
34253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34254 if (!SWIG_IsOK(res1
)) {
34255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetSizeTuple" "', expected argument " "1"" of type '" "wxWindow const *""'");
34257 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34260 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
34261 wxPyEndAllowThreads(__tstate
);
34262 if (PyErr_Occurred()) SWIG_fail
;
34264 resultobj
= SWIG_Py_Void();
34265 if (SWIG_IsTmpObj(res2
)) {
34266 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
34268 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
34269 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
34271 if (SWIG_IsTmpObj(res3
)) {
34272 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
34274 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
34275 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
34283 SWIGINTERN PyObject
*_wrap_Window_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34284 PyObject
*resultobj
= 0;
34285 wxWindow
*arg1
= (wxWindow
*) 0 ;
34289 PyObject
*swig_obj
[1] ;
34291 if (!args
) SWIG_fail
;
34292 swig_obj
[0] = args
;
34293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34294 if (!SWIG_IsOK(res1
)) {
34295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetRect" "', expected argument " "1"" of type '" "wxWindow const *""'");
34297 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34300 result
= ((wxWindow
const *)arg1
)->GetRect();
34301 wxPyEndAllowThreads(__tstate
);
34302 if (PyErr_Occurred()) SWIG_fail
;
34304 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
34311 SWIGINTERN PyObject
*_wrap_Window_GetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34312 PyObject
*resultobj
= 0;
34313 wxWindow
*arg1
= (wxWindow
*) 0 ;
34317 PyObject
*swig_obj
[1] ;
34319 if (!args
) SWIG_fail
;
34320 swig_obj
[0] = args
;
34321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34322 if (!SWIG_IsOK(res1
)) {
34323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetClientSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
34325 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34328 result
= ((wxWindow
const *)arg1
)->GetClientSize();
34329 wxPyEndAllowThreads(__tstate
);
34330 if (PyErr_Occurred()) SWIG_fail
;
34332 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
34339 SWIGINTERN PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34340 PyObject
*resultobj
= 0;
34341 wxWindow
*arg1
= (wxWindow
*) 0 ;
34342 int *arg2
= (int *) 0 ;
34343 int *arg3
= (int *) 0 ;
34347 int res2
= SWIG_TMPOBJ
;
34349 int res3
= SWIG_TMPOBJ
;
34350 PyObject
*swig_obj
[1] ;
34354 if (!args
) SWIG_fail
;
34355 swig_obj
[0] = args
;
34356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34357 if (!SWIG_IsOK(res1
)) {
34358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetClientSizeTuple" "', expected argument " "1"" of type '" "wxWindow const *""'");
34360 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34363 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
34364 wxPyEndAllowThreads(__tstate
);
34365 if (PyErr_Occurred()) SWIG_fail
;
34367 resultobj
= SWIG_Py_Void();
34368 if (SWIG_IsTmpObj(res2
)) {
34369 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
34371 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
34372 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
34374 if (SWIG_IsTmpObj(res3
)) {
34375 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
34377 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
34378 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
34386 SWIGINTERN PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34387 PyObject
*resultobj
= 0;
34388 wxWindow
*arg1
= (wxWindow
*) 0 ;
34392 PyObject
*swig_obj
[1] ;
34394 if (!args
) SWIG_fail
;
34395 swig_obj
[0] = args
;
34396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34397 if (!SWIG_IsOK(res1
)) {
34398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetClientAreaOrigin" "', expected argument " "1"" of type '" "wxWindow const *""'");
34400 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34403 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
34404 wxPyEndAllowThreads(__tstate
);
34405 if (PyErr_Occurred()) SWIG_fail
;
34407 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
34414 SWIGINTERN PyObject
*_wrap_Window_GetClientRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34415 PyObject
*resultobj
= 0;
34416 wxWindow
*arg1
= (wxWindow
*) 0 ;
34420 PyObject
*swig_obj
[1] ;
34422 if (!args
) SWIG_fail
;
34423 swig_obj
[0] = args
;
34424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34425 if (!SWIG_IsOK(res1
)) {
34426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetClientRect" "', expected argument " "1"" of type '" "wxWindow const *""'");
34428 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34431 result
= ((wxWindow
const *)arg1
)->GetClientRect();
34432 wxPyEndAllowThreads(__tstate
);
34433 if (PyErr_Occurred()) SWIG_fail
;
34435 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
34442 SWIGINTERN PyObject
*_wrap_Window_GetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34443 PyObject
*resultobj
= 0;
34444 wxWindow
*arg1
= (wxWindow
*) 0 ;
34448 PyObject
*swig_obj
[1] ;
34450 if (!args
) SWIG_fail
;
34451 swig_obj
[0] = args
;
34452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34453 if (!SWIG_IsOK(res1
)) {
34454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBestSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
34456 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34459 result
= ((wxWindow
const *)arg1
)->GetBestSize();
34460 wxPyEndAllowThreads(__tstate
);
34461 if (PyErr_Occurred()) SWIG_fail
;
34463 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
34470 SWIGINTERN PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34471 PyObject
*resultobj
= 0;
34472 wxWindow
*arg1
= (wxWindow
*) 0 ;
34473 int *arg2
= (int *) 0 ;
34474 int *arg3
= (int *) 0 ;
34478 int res2
= SWIG_TMPOBJ
;
34480 int res3
= SWIG_TMPOBJ
;
34481 PyObject
*swig_obj
[1] ;
34485 if (!args
) SWIG_fail
;
34486 swig_obj
[0] = args
;
34487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34488 if (!SWIG_IsOK(res1
)) {
34489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBestSizeTuple" "', expected argument " "1"" of type '" "wxWindow const *""'");
34491 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34494 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
34495 wxPyEndAllowThreads(__tstate
);
34496 if (PyErr_Occurred()) SWIG_fail
;
34498 resultobj
= SWIG_Py_Void();
34499 if (SWIG_IsTmpObj(res2
)) {
34500 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
34502 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
34503 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
34505 if (SWIG_IsTmpObj(res3
)) {
34506 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
34508 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
34509 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
34517 SWIGINTERN PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34518 PyObject
*resultobj
= 0;
34519 wxWindow
*arg1
= (wxWindow
*) 0 ;
34522 PyObject
*swig_obj
[1] ;
34524 if (!args
) SWIG_fail
;
34525 swig_obj
[0] = args
;
34526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34527 if (!SWIG_IsOK(res1
)) {
34528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_InvalidateBestSize" "', expected argument " "1"" of type '" "wxWindow *""'");
34530 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34533 (arg1
)->InvalidateBestSize();
34534 wxPyEndAllowThreads(__tstate
);
34535 if (PyErr_Occurred()) SWIG_fail
;
34537 resultobj
= SWIG_Py_Void();
34544 SWIGINTERN PyObject
*_wrap_Window_CacheBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34545 PyObject
*resultobj
= 0;
34546 wxWindow
*arg1
= (wxWindow
*) 0 ;
34551 PyObject
* obj0
= 0 ;
34552 PyObject
* obj1
= 0 ;
34553 char * kwnames
[] = {
34554 (char *) "self",(char *) "size", NULL
34557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_CacheBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34559 if (!SWIG_IsOK(res1
)) {
34560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_CacheBestSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
34562 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34565 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
34568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34569 ((wxWindow
const *)arg1
)->CacheBestSize((wxSize
const &)*arg2
);
34570 wxPyEndAllowThreads(__tstate
);
34571 if (PyErr_Occurred()) SWIG_fail
;
34573 resultobj
= SWIG_Py_Void();
34580 SWIGINTERN PyObject
*_wrap_Window_GetEffectiveMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34581 PyObject
*resultobj
= 0;
34582 wxWindow
*arg1
= (wxWindow
*) 0 ;
34586 PyObject
*swig_obj
[1] ;
34588 if (!args
) SWIG_fail
;
34589 swig_obj
[0] = args
;
34590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34591 if (!SWIG_IsOK(res1
)) {
34592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetEffectiveMinSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
34594 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34597 result
= ((wxWindow
const *)arg1
)->GetEffectiveMinSize();
34598 wxPyEndAllowThreads(__tstate
);
34599 if (PyErr_Occurred()) SWIG_fail
;
34601 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
34608 SWIGINTERN PyObject
*_wrap_Window_Center(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34609 PyObject
*resultobj
= 0;
34610 wxWindow
*arg1
= (wxWindow
*) 0 ;
34611 int arg2
= (int) wxBOTH
;
34616 PyObject
* obj0
= 0 ;
34617 PyObject
* obj1
= 0 ;
34618 char * kwnames
[] = {
34619 (char *) "self",(char *) "direction", NULL
34622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34624 if (!SWIG_IsOK(res1
)) {
34625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Center" "', expected argument " "1"" of type '" "wxWindow *""'");
34627 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34629 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34630 if (!SWIG_IsOK(ecode2
)) {
34631 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_Center" "', expected argument " "2"" of type '" "int""'");
34633 arg2
= static_cast< int >(val2
);
34636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34637 (arg1
)->Center(arg2
);
34638 wxPyEndAllowThreads(__tstate
);
34639 if (PyErr_Occurred()) SWIG_fail
;
34641 resultobj
= SWIG_Py_Void();
34648 SWIGINTERN PyObject
*_wrap_Window_CenterOnParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34649 PyObject
*resultobj
= 0;
34650 wxWindow
*arg1
= (wxWindow
*) 0 ;
34651 int arg2
= (int) wxBOTH
;
34656 PyObject
* obj0
= 0 ;
34657 PyObject
* obj1
= 0 ;
34658 char * kwnames
[] = {
34659 (char *) "self",(char *) "dir", NULL
34662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34664 if (!SWIG_IsOK(res1
)) {
34665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_CenterOnParent" "', expected argument " "1"" of type '" "wxWindow *""'");
34667 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34669 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34670 if (!SWIG_IsOK(ecode2
)) {
34671 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_CenterOnParent" "', expected argument " "2"" of type '" "int""'");
34673 arg2
= static_cast< int >(val2
);
34676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34677 (arg1
)->CenterOnParent(arg2
);
34678 wxPyEndAllowThreads(__tstate
);
34679 if (PyErr_Occurred()) SWIG_fail
;
34681 resultobj
= SWIG_Py_Void();
34688 SWIGINTERN PyObject
*_wrap_Window_Fit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34689 PyObject
*resultobj
= 0;
34690 wxWindow
*arg1
= (wxWindow
*) 0 ;
34693 PyObject
*swig_obj
[1] ;
34695 if (!args
) SWIG_fail
;
34696 swig_obj
[0] = args
;
34697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34698 if (!SWIG_IsOK(res1
)) {
34699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Fit" "', expected argument " "1"" of type '" "wxWindow *""'");
34701 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34705 wxPyEndAllowThreads(__tstate
);
34706 if (PyErr_Occurred()) SWIG_fail
;
34708 resultobj
= SWIG_Py_Void();
34715 SWIGINTERN PyObject
*_wrap_Window_FitInside(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34716 PyObject
*resultobj
= 0;
34717 wxWindow
*arg1
= (wxWindow
*) 0 ;
34720 PyObject
*swig_obj
[1] ;
34722 if (!args
) SWIG_fail
;
34723 swig_obj
[0] = args
;
34724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34725 if (!SWIG_IsOK(res1
)) {
34726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_FitInside" "', expected argument " "1"" of type '" "wxWindow *""'");
34728 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34731 (arg1
)->FitInside();
34732 wxPyEndAllowThreads(__tstate
);
34733 if (PyErr_Occurred()) SWIG_fail
;
34735 resultobj
= SWIG_Py_Void();
34742 SWIGINTERN PyObject
*_wrap_Window_SetSizeHints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34743 PyObject
*resultobj
= 0;
34744 wxWindow
*arg1
= (wxWindow
*) 0 ;
34747 int arg4
= (int) -1 ;
34748 int arg5
= (int) -1 ;
34749 int arg6
= (int) -1 ;
34750 int arg7
= (int) -1 ;
34765 PyObject
* obj0
= 0 ;
34766 PyObject
* obj1
= 0 ;
34767 PyObject
* obj2
= 0 ;
34768 PyObject
* obj3
= 0 ;
34769 PyObject
* obj4
= 0 ;
34770 PyObject
* obj5
= 0 ;
34771 PyObject
* obj6
= 0 ;
34772 char * kwnames
[] = {
34773 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
34776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34778 if (!SWIG_IsOK(res1
)) {
34779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetSizeHints" "', expected argument " "1"" of type '" "wxWindow *""'");
34781 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34782 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34783 if (!SWIG_IsOK(ecode2
)) {
34784 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetSizeHints" "', expected argument " "2"" of type '" "int""'");
34786 arg2
= static_cast< int >(val2
);
34787 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34788 if (!SWIG_IsOK(ecode3
)) {
34789 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetSizeHints" "', expected argument " "3"" of type '" "int""'");
34791 arg3
= static_cast< int >(val3
);
34793 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34794 if (!SWIG_IsOK(ecode4
)) {
34795 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_SetSizeHints" "', expected argument " "4"" of type '" "int""'");
34797 arg4
= static_cast< int >(val4
);
34800 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34801 if (!SWIG_IsOK(ecode5
)) {
34802 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Window_SetSizeHints" "', expected argument " "5"" of type '" "int""'");
34804 arg5
= static_cast< int >(val5
);
34807 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34808 if (!SWIG_IsOK(ecode6
)) {
34809 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Window_SetSizeHints" "', expected argument " "6"" of type '" "int""'");
34811 arg6
= static_cast< int >(val6
);
34814 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
34815 if (!SWIG_IsOK(ecode7
)) {
34816 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Window_SetSizeHints" "', expected argument " "7"" of type '" "int""'");
34818 arg7
= static_cast< int >(val7
);
34821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34822 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
34823 wxPyEndAllowThreads(__tstate
);
34824 if (PyErr_Occurred()) SWIG_fail
;
34826 resultobj
= SWIG_Py_Void();
34833 SWIGINTERN PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34834 PyObject
*resultobj
= 0;
34835 wxWindow
*arg1
= (wxWindow
*) 0 ;
34837 wxSize
const &arg3_defvalue
= wxDefaultSize
;
34838 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
34839 wxSize
const &arg4_defvalue
= wxDefaultSize
;
34840 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
34846 PyObject
* obj0
= 0 ;
34847 PyObject
* obj1
= 0 ;
34848 PyObject
* obj2
= 0 ;
34849 PyObject
* obj3
= 0 ;
34850 char * kwnames
[] = {
34851 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
34854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34856 if (!SWIG_IsOK(res1
)) {
34857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetSizeHintsSz" "', expected argument " "1"" of type '" "wxWindow *""'");
34859 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34862 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
34867 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
34873 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
34877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34878 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
34879 wxPyEndAllowThreads(__tstate
);
34880 if (PyErr_Occurred()) SWIG_fail
;
34882 resultobj
= SWIG_Py_Void();
34889 SWIGINTERN PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34890 PyObject
*resultobj
= 0;
34891 wxWindow
*arg1
= (wxWindow
*) 0 ;
34894 int arg4
= (int) -1 ;
34895 int arg5
= (int) -1 ;
34906 PyObject
* obj0
= 0 ;
34907 PyObject
* obj1
= 0 ;
34908 PyObject
* obj2
= 0 ;
34909 PyObject
* obj3
= 0 ;
34910 PyObject
* obj4
= 0 ;
34911 char * kwnames
[] = {
34912 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
34915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34917 if (!SWIG_IsOK(res1
)) {
34918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetVirtualSizeHints" "', expected argument " "1"" of type '" "wxWindow *""'");
34920 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34921 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34922 if (!SWIG_IsOK(ecode2
)) {
34923 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetVirtualSizeHints" "', expected argument " "2"" of type '" "int""'");
34925 arg2
= static_cast< int >(val2
);
34926 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34927 if (!SWIG_IsOK(ecode3
)) {
34928 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetVirtualSizeHints" "', expected argument " "3"" of type '" "int""'");
34930 arg3
= static_cast< int >(val3
);
34932 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34933 if (!SWIG_IsOK(ecode4
)) {
34934 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_SetVirtualSizeHints" "', expected argument " "4"" of type '" "int""'");
34936 arg4
= static_cast< int >(val4
);
34939 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34940 if (!SWIG_IsOK(ecode5
)) {
34941 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Window_SetVirtualSizeHints" "', expected argument " "5"" of type '" "int""'");
34943 arg5
= static_cast< int >(val5
);
34946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34947 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
34948 wxPyEndAllowThreads(__tstate
);
34949 if (PyErr_Occurred()) SWIG_fail
;
34951 resultobj
= SWIG_Py_Void();
34958 SWIGINTERN PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34959 PyObject
*resultobj
= 0;
34960 wxWindow
*arg1
= (wxWindow
*) 0 ;
34962 wxSize
const &arg3_defvalue
= wxDefaultSize
;
34963 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
34968 PyObject
* obj0
= 0 ;
34969 PyObject
* obj1
= 0 ;
34970 PyObject
* obj2
= 0 ;
34971 char * kwnames
[] = {
34972 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
34975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34977 if (!SWIG_IsOK(res1
)) {
34978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetVirtualSizeHintsSz" "', expected argument " "1"" of type '" "wxWindow *""'");
34980 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34983 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
34988 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
34992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34993 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
34994 wxPyEndAllowThreads(__tstate
);
34995 if (PyErr_Occurred()) SWIG_fail
;
34997 resultobj
= SWIG_Py_Void();
35004 SWIGINTERN PyObject
*_wrap_Window_GetMaxSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35005 PyObject
*resultobj
= 0;
35006 wxWindow
*arg1
= (wxWindow
*) 0 ;
35010 PyObject
*swig_obj
[1] ;
35012 if (!args
) SWIG_fail
;
35013 swig_obj
[0] = args
;
35014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35015 if (!SWIG_IsOK(res1
)) {
35016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetMaxSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
35018 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35021 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
35022 wxPyEndAllowThreads(__tstate
);
35023 if (PyErr_Occurred()) SWIG_fail
;
35025 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
35032 SWIGINTERN PyObject
*_wrap_Window_GetMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35033 PyObject
*resultobj
= 0;
35034 wxWindow
*arg1
= (wxWindow
*) 0 ;
35038 PyObject
*swig_obj
[1] ;
35040 if (!args
) SWIG_fail
;
35041 swig_obj
[0] = args
;
35042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35043 if (!SWIG_IsOK(res1
)) {
35044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetMinSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
35046 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35049 result
= ((wxWindow
const *)arg1
)->GetMinSize();
35050 wxPyEndAllowThreads(__tstate
);
35051 if (PyErr_Occurred()) SWIG_fail
;
35053 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
35060 SWIGINTERN PyObject
*_wrap_Window_SetMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35061 PyObject
*resultobj
= 0;
35062 wxWindow
*arg1
= (wxWindow
*) 0 ;
35067 PyObject
* obj0
= 0 ;
35068 PyObject
* obj1
= 0 ;
35069 char * kwnames
[] = {
35070 (char *) "self",(char *) "minSize", NULL
35073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35075 if (!SWIG_IsOK(res1
)) {
35076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetMinSize" "', expected argument " "1"" of type '" "wxWindow *""'");
35078 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35081 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
35084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35085 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
35086 wxPyEndAllowThreads(__tstate
);
35087 if (PyErr_Occurred()) SWIG_fail
;
35089 resultobj
= SWIG_Py_Void();
35096 SWIGINTERN PyObject
*_wrap_Window_SetMaxSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35097 PyObject
*resultobj
= 0;
35098 wxWindow
*arg1
= (wxWindow
*) 0 ;
35103 PyObject
* obj0
= 0 ;
35104 PyObject
* obj1
= 0 ;
35105 char * kwnames
[] = {
35106 (char *) "self",(char *) "maxSize", NULL
35109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35111 if (!SWIG_IsOK(res1
)) {
35112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetMaxSize" "', expected argument " "1"" of type '" "wxWindow *""'");
35114 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35117 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
35120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35121 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
35122 wxPyEndAllowThreads(__tstate
);
35123 if (PyErr_Occurred()) SWIG_fail
;
35125 resultobj
= SWIG_Py_Void();
35132 SWIGINTERN PyObject
*_wrap_Window_GetMinWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35133 PyObject
*resultobj
= 0;
35134 wxWindow
*arg1
= (wxWindow
*) 0 ;
35138 PyObject
*swig_obj
[1] ;
35140 if (!args
) SWIG_fail
;
35141 swig_obj
[0] = args
;
35142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35143 if (!SWIG_IsOK(res1
)) {
35144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetMinWidth" "', expected argument " "1"" of type '" "wxWindow const *""'");
35146 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35149 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
35150 wxPyEndAllowThreads(__tstate
);
35151 if (PyErr_Occurred()) SWIG_fail
;
35153 resultobj
= SWIG_From_int(static_cast< int >(result
));
35160 SWIGINTERN PyObject
*_wrap_Window_GetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35161 PyObject
*resultobj
= 0;
35162 wxWindow
*arg1
= (wxWindow
*) 0 ;
35166 PyObject
*swig_obj
[1] ;
35168 if (!args
) SWIG_fail
;
35169 swig_obj
[0] = args
;
35170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35171 if (!SWIG_IsOK(res1
)) {
35172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetMinHeight" "', expected argument " "1"" of type '" "wxWindow const *""'");
35174 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35177 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
35178 wxPyEndAllowThreads(__tstate
);
35179 if (PyErr_Occurred()) SWIG_fail
;
35181 resultobj
= SWIG_From_int(static_cast< int >(result
));
35188 SWIGINTERN PyObject
*_wrap_Window_GetMaxWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35189 PyObject
*resultobj
= 0;
35190 wxWindow
*arg1
= (wxWindow
*) 0 ;
35194 PyObject
*swig_obj
[1] ;
35196 if (!args
) SWIG_fail
;
35197 swig_obj
[0] = args
;
35198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35199 if (!SWIG_IsOK(res1
)) {
35200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetMaxWidth" "', expected argument " "1"" of type '" "wxWindow const *""'");
35202 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35205 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
35206 wxPyEndAllowThreads(__tstate
);
35207 if (PyErr_Occurred()) SWIG_fail
;
35209 resultobj
= SWIG_From_int(static_cast< int >(result
));
35216 SWIGINTERN PyObject
*_wrap_Window_GetMaxHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35217 PyObject
*resultobj
= 0;
35218 wxWindow
*arg1
= (wxWindow
*) 0 ;
35222 PyObject
*swig_obj
[1] ;
35224 if (!args
) SWIG_fail
;
35225 swig_obj
[0] = args
;
35226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35227 if (!SWIG_IsOK(res1
)) {
35228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetMaxHeight" "', expected argument " "1"" of type '" "wxWindow const *""'");
35230 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35233 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
35234 wxPyEndAllowThreads(__tstate
);
35235 if (PyErr_Occurred()) SWIG_fail
;
35237 resultobj
= SWIG_From_int(static_cast< int >(result
));
35244 SWIGINTERN PyObject
*_wrap_Window_SetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35245 PyObject
*resultobj
= 0;
35246 wxWindow
*arg1
= (wxWindow
*) 0 ;
35251 PyObject
* obj0
= 0 ;
35252 PyObject
* obj1
= 0 ;
35253 char * kwnames
[] = {
35254 (char *) "self",(char *) "size", NULL
35257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35259 if (!SWIG_IsOK(res1
)) {
35260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetVirtualSize" "', expected argument " "1"" of type '" "wxWindow *""'");
35262 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35265 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
35268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35269 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
35270 wxPyEndAllowThreads(__tstate
);
35271 if (PyErr_Occurred()) SWIG_fail
;
35273 resultobj
= SWIG_Py_Void();
35280 SWIGINTERN PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35281 PyObject
*resultobj
= 0;
35282 wxWindow
*arg1
= (wxWindow
*) 0 ;
35291 PyObject
* obj0
= 0 ;
35292 PyObject
* obj1
= 0 ;
35293 PyObject
* obj2
= 0 ;
35294 char * kwnames
[] = {
35295 (char *) "self",(char *) "w",(char *) "h", NULL
35298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35300 if (!SWIG_IsOK(res1
)) {
35301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetVirtualSizeWH" "', expected argument " "1"" of type '" "wxWindow *""'");
35303 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35304 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35305 if (!SWIG_IsOK(ecode2
)) {
35306 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetVirtualSizeWH" "', expected argument " "2"" of type '" "int""'");
35308 arg2
= static_cast< int >(val2
);
35309 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35310 if (!SWIG_IsOK(ecode3
)) {
35311 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetVirtualSizeWH" "', expected argument " "3"" of type '" "int""'");
35313 arg3
= static_cast< int >(val3
);
35315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35316 (arg1
)->SetVirtualSize(arg2
,arg3
);
35317 wxPyEndAllowThreads(__tstate
);
35318 if (PyErr_Occurred()) SWIG_fail
;
35320 resultobj
= SWIG_Py_Void();
35327 SWIGINTERN PyObject
*_wrap_Window_GetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35328 PyObject
*resultobj
= 0;
35329 wxWindow
*arg1
= (wxWindow
*) 0 ;
35333 PyObject
*swig_obj
[1] ;
35335 if (!args
) SWIG_fail
;
35336 swig_obj
[0] = args
;
35337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35338 if (!SWIG_IsOK(res1
)) {
35339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetVirtualSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
35341 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35344 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
35345 wxPyEndAllowThreads(__tstate
);
35346 if (PyErr_Occurred()) SWIG_fail
;
35348 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
35355 SWIGINTERN PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35356 PyObject
*resultobj
= 0;
35357 wxWindow
*arg1
= (wxWindow
*) 0 ;
35358 int *arg2
= (int *) 0 ;
35359 int *arg3
= (int *) 0 ;
35363 int res2
= SWIG_TMPOBJ
;
35365 int res3
= SWIG_TMPOBJ
;
35366 PyObject
*swig_obj
[1] ;
35370 if (!args
) SWIG_fail
;
35371 swig_obj
[0] = args
;
35372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35373 if (!SWIG_IsOK(res1
)) {
35374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetVirtualSizeTuple" "', expected argument " "1"" of type '" "wxWindow const *""'");
35376 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35379 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
35380 wxPyEndAllowThreads(__tstate
);
35381 if (PyErr_Occurred()) SWIG_fail
;
35383 resultobj
= SWIG_Py_Void();
35384 if (SWIG_IsTmpObj(res2
)) {
35385 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
35387 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
35388 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
35390 if (SWIG_IsTmpObj(res3
)) {
35391 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
35393 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
35394 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
35402 SWIGINTERN PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35403 PyObject
*resultobj
= 0;
35404 wxWindow
*arg1
= (wxWindow
*) 0 ;
35408 PyObject
*swig_obj
[1] ;
35410 if (!args
) SWIG_fail
;
35411 swig_obj
[0] = args
;
35412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35413 if (!SWIG_IsOK(res1
)) {
35414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBestVirtualSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
35416 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35419 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
35420 wxPyEndAllowThreads(__tstate
);
35421 if (PyErr_Occurred()) SWIG_fail
;
35423 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
35430 SWIGINTERN PyObject
*_wrap_Window_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35431 PyObject
*resultobj
= 0;
35432 wxWindow
*arg1
= (wxWindow
*) 0 ;
35433 bool arg2
= (bool) true ;
35439 PyObject
* obj0
= 0 ;
35440 PyObject
* obj1
= 0 ;
35441 char * kwnames
[] = {
35442 (char *) "self",(char *) "show", NULL
35445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35447 if (!SWIG_IsOK(res1
)) {
35448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Show" "', expected argument " "1"" of type '" "wxWindow *""'");
35450 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35452 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
35453 if (!SWIG_IsOK(ecode2
)) {
35454 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_Show" "', expected argument " "2"" of type '" "bool""'");
35456 arg2
= static_cast< bool >(val2
);
35459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35460 result
= (bool)(arg1
)->Show(arg2
);
35461 wxPyEndAllowThreads(__tstate
);
35462 if (PyErr_Occurred()) SWIG_fail
;
35465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35473 SWIGINTERN PyObject
*_wrap_Window_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35474 PyObject
*resultobj
= 0;
35475 wxWindow
*arg1
= (wxWindow
*) 0 ;
35479 PyObject
*swig_obj
[1] ;
35481 if (!args
) SWIG_fail
;
35482 swig_obj
[0] = args
;
35483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35484 if (!SWIG_IsOK(res1
)) {
35485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Hide" "', expected argument " "1"" of type '" "wxWindow *""'");
35487 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35490 result
= (bool)(arg1
)->Hide();
35491 wxPyEndAllowThreads(__tstate
);
35492 if (PyErr_Occurred()) SWIG_fail
;
35495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35503 SWIGINTERN PyObject
*_wrap_Window_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35504 PyObject
*resultobj
= 0;
35505 wxWindow
*arg1
= (wxWindow
*) 0 ;
35506 bool arg2
= (bool) true ;
35512 PyObject
* obj0
= 0 ;
35513 PyObject
* obj1
= 0 ;
35514 char * kwnames
[] = {
35515 (char *) "self",(char *) "enable", NULL
35518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35520 if (!SWIG_IsOK(res1
)) {
35521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Enable" "', expected argument " "1"" of type '" "wxWindow *""'");
35523 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35525 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
35526 if (!SWIG_IsOK(ecode2
)) {
35527 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_Enable" "', expected argument " "2"" of type '" "bool""'");
35529 arg2
= static_cast< bool >(val2
);
35532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35533 result
= (bool)(arg1
)->Enable(arg2
);
35534 wxPyEndAllowThreads(__tstate
);
35535 if (PyErr_Occurred()) SWIG_fail
;
35538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35546 SWIGINTERN PyObject
*_wrap_Window_Disable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35547 PyObject
*resultobj
= 0;
35548 wxWindow
*arg1
= (wxWindow
*) 0 ;
35552 PyObject
*swig_obj
[1] ;
35554 if (!args
) SWIG_fail
;
35555 swig_obj
[0] = args
;
35556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35557 if (!SWIG_IsOK(res1
)) {
35558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Disable" "', expected argument " "1"" of type '" "wxWindow *""'");
35560 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35563 result
= (bool)(arg1
)->Disable();
35564 wxPyEndAllowThreads(__tstate
);
35565 if (PyErr_Occurred()) SWIG_fail
;
35568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35576 SWIGINTERN PyObject
*_wrap_Window_IsShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35577 PyObject
*resultobj
= 0;
35578 wxWindow
*arg1
= (wxWindow
*) 0 ;
35582 PyObject
*swig_obj
[1] ;
35584 if (!args
) SWIG_fail
;
35585 swig_obj
[0] = args
;
35586 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35587 if (!SWIG_IsOK(res1
)) {
35588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsShown" "', expected argument " "1"" of type '" "wxWindow const *""'");
35590 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35593 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
35594 wxPyEndAllowThreads(__tstate
);
35595 if (PyErr_Occurred()) SWIG_fail
;
35598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35606 SWIGINTERN PyObject
*_wrap_Window_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35607 PyObject
*resultobj
= 0;
35608 wxWindow
*arg1
= (wxWindow
*) 0 ;
35612 PyObject
*swig_obj
[1] ;
35614 if (!args
) SWIG_fail
;
35615 swig_obj
[0] = args
;
35616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35617 if (!SWIG_IsOK(res1
)) {
35618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsEnabled" "', expected argument " "1"" of type '" "wxWindow const *""'");
35620 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35623 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
35624 wxPyEndAllowThreads(__tstate
);
35625 if (PyErr_Occurred()) SWIG_fail
;
35628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35636 SWIGINTERN PyObject
*_wrap_Window_IsShownOnScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35637 PyObject
*resultobj
= 0;
35638 wxWindow
*arg1
= (wxWindow
*) 0 ;
35642 PyObject
*swig_obj
[1] ;
35644 if (!args
) SWIG_fail
;
35645 swig_obj
[0] = args
;
35646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35647 if (!SWIG_IsOK(res1
)) {
35648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsShownOnScreen" "', expected argument " "1"" of type '" "wxWindow const *""'");
35650 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35653 result
= (bool)((wxWindow
const *)arg1
)->IsShownOnScreen();
35654 wxPyEndAllowThreads(__tstate
);
35655 if (PyErr_Occurred()) SWIG_fail
;
35658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35666 SWIGINTERN PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35667 PyObject
*resultobj
= 0;
35668 wxWindow
*arg1
= (wxWindow
*) 0 ;
35674 PyObject
* obj0
= 0 ;
35675 PyObject
* obj1
= 0 ;
35676 char * kwnames
[] = {
35677 (char *) "self",(char *) "style", NULL
35680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35682 if (!SWIG_IsOK(res1
)) {
35683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetWindowStyleFlag" "', expected argument " "1"" of type '" "wxWindow *""'");
35685 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35686 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
35687 if (!SWIG_IsOK(ecode2
)) {
35688 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetWindowStyleFlag" "', expected argument " "2"" of type '" "long""'");
35690 arg2
= static_cast< long >(val2
);
35692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35693 (arg1
)->SetWindowStyleFlag(arg2
);
35694 wxPyEndAllowThreads(__tstate
);
35695 if (PyErr_Occurred()) SWIG_fail
;
35697 resultobj
= SWIG_Py_Void();
35704 SWIGINTERN PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35705 PyObject
*resultobj
= 0;
35706 wxWindow
*arg1
= (wxWindow
*) 0 ;
35710 PyObject
*swig_obj
[1] ;
35712 if (!args
) SWIG_fail
;
35713 swig_obj
[0] = args
;
35714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35715 if (!SWIG_IsOK(res1
)) {
35716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetWindowStyleFlag" "', expected argument " "1"" of type '" "wxWindow const *""'");
35718 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35721 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
35722 wxPyEndAllowThreads(__tstate
);
35723 if (PyErr_Occurred()) SWIG_fail
;
35725 resultobj
= SWIG_From_long(static_cast< long >(result
));
35732 SWIGINTERN PyObject
*_wrap_Window_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35733 PyObject
*resultobj
= 0;
35734 wxWindow
*arg1
= (wxWindow
*) 0 ;
35741 PyObject
* obj0
= 0 ;
35742 PyObject
* obj1
= 0 ;
35743 char * kwnames
[] = {
35744 (char *) "self",(char *) "flag", NULL
35747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35749 if (!SWIG_IsOK(res1
)) {
35750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_HasFlag" "', expected argument " "1"" of type '" "wxWindow const *""'");
35752 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35753 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35754 if (!SWIG_IsOK(ecode2
)) {
35755 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_HasFlag" "', expected argument " "2"" of type '" "int""'");
35757 arg2
= static_cast< int >(val2
);
35759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35760 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
35761 wxPyEndAllowThreads(__tstate
);
35762 if (PyErr_Occurred()) SWIG_fail
;
35765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35773 SWIGINTERN PyObject
*_wrap_Window_IsRetained(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35774 PyObject
*resultobj
= 0;
35775 wxWindow
*arg1
= (wxWindow
*) 0 ;
35779 PyObject
*swig_obj
[1] ;
35781 if (!args
) SWIG_fail
;
35782 swig_obj
[0] = args
;
35783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35784 if (!SWIG_IsOK(res1
)) {
35785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsRetained" "', expected argument " "1"" of type '" "wxWindow const *""'");
35787 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35790 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
35791 wxPyEndAllowThreads(__tstate
);
35792 if (PyErr_Occurred()) SWIG_fail
;
35795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35803 SWIGINTERN PyObject
*_wrap_Window_SetExtraStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35804 PyObject
*resultobj
= 0;
35805 wxWindow
*arg1
= (wxWindow
*) 0 ;
35811 PyObject
* obj0
= 0 ;
35812 PyObject
* obj1
= 0 ;
35813 char * kwnames
[] = {
35814 (char *) "self",(char *) "exStyle", NULL
35817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35819 if (!SWIG_IsOK(res1
)) {
35820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetExtraStyle" "', expected argument " "1"" of type '" "wxWindow *""'");
35822 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35823 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
35824 if (!SWIG_IsOK(ecode2
)) {
35825 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetExtraStyle" "', expected argument " "2"" of type '" "long""'");
35827 arg2
= static_cast< long >(val2
);
35829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35830 (arg1
)->SetExtraStyle(arg2
);
35831 wxPyEndAllowThreads(__tstate
);
35832 if (PyErr_Occurred()) SWIG_fail
;
35834 resultobj
= SWIG_Py_Void();
35841 SWIGINTERN PyObject
*_wrap_Window_GetExtraStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35842 PyObject
*resultobj
= 0;
35843 wxWindow
*arg1
= (wxWindow
*) 0 ;
35847 PyObject
*swig_obj
[1] ;
35849 if (!args
) SWIG_fail
;
35850 swig_obj
[0] = args
;
35851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35852 if (!SWIG_IsOK(res1
)) {
35853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetExtraStyle" "', expected argument " "1"" of type '" "wxWindow const *""'");
35855 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35858 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
35859 wxPyEndAllowThreads(__tstate
);
35860 if (PyErr_Occurred()) SWIG_fail
;
35862 resultobj
= SWIG_From_long(static_cast< long >(result
));
35869 SWIGINTERN PyObject
*_wrap_Window_MakeModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35870 PyObject
*resultobj
= 0;
35871 wxWindow
*arg1
= (wxWindow
*) 0 ;
35872 bool arg2
= (bool) true ;
35877 PyObject
* obj0
= 0 ;
35878 PyObject
* obj1
= 0 ;
35879 char * kwnames
[] = {
35880 (char *) "self",(char *) "modal", NULL
35883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35885 if (!SWIG_IsOK(res1
)) {
35886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_MakeModal" "', expected argument " "1"" of type '" "wxWindow *""'");
35888 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35890 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
35891 if (!SWIG_IsOK(ecode2
)) {
35892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_MakeModal" "', expected argument " "2"" of type '" "bool""'");
35894 arg2
= static_cast< bool >(val2
);
35897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35898 (arg1
)->MakeModal(arg2
);
35899 wxPyEndAllowThreads(__tstate
);
35900 if (PyErr_Occurred()) SWIG_fail
;
35902 resultobj
= SWIG_Py_Void();
35909 SWIGINTERN PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35910 PyObject
*resultobj
= 0;
35911 wxWindow
*arg1
= (wxWindow
*) 0 ;
35917 PyObject
* obj0
= 0 ;
35918 PyObject
* obj1
= 0 ;
35919 char * kwnames
[] = {
35920 (char *) "self",(char *) "enableTheme", NULL
35923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35925 if (!SWIG_IsOK(res1
)) {
35926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetThemeEnabled" "', expected argument " "1"" of type '" "wxWindow *""'");
35928 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35929 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
35930 if (!SWIG_IsOK(ecode2
)) {
35931 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetThemeEnabled" "', expected argument " "2"" of type '" "bool""'");
35933 arg2
= static_cast< bool >(val2
);
35935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35936 (arg1
)->SetThemeEnabled(arg2
);
35937 wxPyEndAllowThreads(__tstate
);
35938 if (PyErr_Occurred()) SWIG_fail
;
35940 resultobj
= SWIG_Py_Void();
35947 SWIGINTERN PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35948 PyObject
*resultobj
= 0;
35949 wxWindow
*arg1
= (wxWindow
*) 0 ;
35953 PyObject
*swig_obj
[1] ;
35955 if (!args
) SWIG_fail
;
35956 swig_obj
[0] = args
;
35957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35958 if (!SWIG_IsOK(res1
)) {
35959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetThemeEnabled" "', expected argument " "1"" of type '" "wxWindow const *""'");
35961 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35964 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
35965 wxPyEndAllowThreads(__tstate
);
35966 if (PyErr_Occurred()) SWIG_fail
;
35969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35977 SWIGINTERN PyObject
*_wrap_Window_SetFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35978 PyObject
*resultobj
= 0;
35979 wxWindow
*arg1
= (wxWindow
*) 0 ;
35982 PyObject
*swig_obj
[1] ;
35984 if (!args
) SWIG_fail
;
35985 swig_obj
[0] = args
;
35986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35987 if (!SWIG_IsOK(res1
)) {
35988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetFocus" "', expected argument " "1"" of type '" "wxWindow *""'");
35990 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35993 (arg1
)->SetFocus();
35994 wxPyEndAllowThreads(__tstate
);
35995 if (PyErr_Occurred()) SWIG_fail
;
35997 resultobj
= SWIG_Py_Void();
36004 SWIGINTERN PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36005 PyObject
*resultobj
= 0;
36006 wxWindow
*arg1
= (wxWindow
*) 0 ;
36009 PyObject
*swig_obj
[1] ;
36011 if (!args
) SWIG_fail
;
36012 swig_obj
[0] = args
;
36013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36014 if (!SWIG_IsOK(res1
)) {
36015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetFocusFromKbd" "', expected argument " "1"" of type '" "wxWindow *""'");
36017 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36020 (arg1
)->SetFocusFromKbd();
36021 wxPyEndAllowThreads(__tstate
);
36022 if (PyErr_Occurred()) SWIG_fail
;
36024 resultobj
= SWIG_Py_Void();
36031 SWIGINTERN PyObject
*_wrap_Window_FindFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36032 PyObject
*resultobj
= 0;
36033 wxWindow
*result
= 0 ;
36035 if (!SWIG_Python_UnpackTuple(args
,"Window_FindFocus",0,0,0)) SWIG_fail
;
36037 if (!wxPyCheckForApp()) SWIG_fail
;
36038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36039 result
= (wxWindow
*)wxWindow::FindFocus();
36040 wxPyEndAllowThreads(__tstate
);
36041 if (PyErr_Occurred()) SWIG_fail
;
36044 resultobj
= wxPyMake_wxObject(result
, 0);
36052 SWIGINTERN PyObject
*_wrap_Window_AcceptsFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36053 PyObject
*resultobj
= 0;
36054 wxWindow
*arg1
= (wxWindow
*) 0 ;
36058 PyObject
*swig_obj
[1] ;
36060 if (!args
) SWIG_fail
;
36061 swig_obj
[0] = args
;
36062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36063 if (!SWIG_IsOK(res1
)) {
36064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_AcceptsFocus" "', expected argument " "1"" of type '" "wxWindow const *""'");
36066 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36069 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
36070 wxPyEndAllowThreads(__tstate
);
36071 if (PyErr_Occurred()) SWIG_fail
;
36074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36082 SWIGINTERN PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36083 PyObject
*resultobj
= 0;
36084 wxWindow
*arg1
= (wxWindow
*) 0 ;
36088 PyObject
*swig_obj
[1] ;
36090 if (!args
) SWIG_fail
;
36091 swig_obj
[0] = args
;
36092 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36093 if (!SWIG_IsOK(res1
)) {
36094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_AcceptsFocusFromKeyboard" "', expected argument " "1"" of type '" "wxWindow const *""'");
36096 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36099 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
36100 wxPyEndAllowThreads(__tstate
);
36101 if (PyErr_Occurred()) SWIG_fail
;
36104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36112 SWIGINTERN PyObject
*_wrap_Window_Navigate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36113 PyObject
*resultobj
= 0;
36114 wxWindow
*arg1
= (wxWindow
*) 0 ;
36115 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
36121 PyObject
* obj0
= 0 ;
36122 PyObject
* obj1
= 0 ;
36123 char * kwnames
[] = {
36124 (char *) "self",(char *) "flags", NULL
36127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36129 if (!SWIG_IsOK(res1
)) {
36130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Navigate" "', expected argument " "1"" of type '" "wxWindow *""'");
36132 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36134 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36135 if (!SWIG_IsOK(ecode2
)) {
36136 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_Navigate" "', expected argument " "2"" of type '" "int""'");
36138 arg2
= static_cast< int >(val2
);
36141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36142 result
= (bool)(arg1
)->Navigate(arg2
);
36143 wxPyEndAllowThreads(__tstate
);
36144 if (PyErr_Occurred()) SWIG_fail
;
36147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36155 SWIGINTERN PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36156 PyObject
*resultobj
= 0;
36157 wxWindow
*arg1
= (wxWindow
*) 0 ;
36158 wxWindow
*arg2
= (wxWindow
*) 0 ;
36163 PyObject
* obj0
= 0 ;
36164 PyObject
* obj1
= 0 ;
36165 char * kwnames
[] = {
36166 (char *) "self",(char *) "win", NULL
36169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36171 if (!SWIG_IsOK(res1
)) {
36172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_MoveAfterInTabOrder" "', expected argument " "1"" of type '" "wxWindow *""'");
36174 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36175 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36176 if (!SWIG_IsOK(res2
)) {
36177 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_MoveAfterInTabOrder" "', expected argument " "2"" of type '" "wxWindow *""'");
36179 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
36181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36182 (arg1
)->MoveAfterInTabOrder(arg2
);
36183 wxPyEndAllowThreads(__tstate
);
36184 if (PyErr_Occurred()) SWIG_fail
;
36186 resultobj
= SWIG_Py_Void();
36193 SWIGINTERN PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36194 PyObject
*resultobj
= 0;
36195 wxWindow
*arg1
= (wxWindow
*) 0 ;
36196 wxWindow
*arg2
= (wxWindow
*) 0 ;
36201 PyObject
* obj0
= 0 ;
36202 PyObject
* obj1
= 0 ;
36203 char * kwnames
[] = {
36204 (char *) "self",(char *) "win", NULL
36207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36209 if (!SWIG_IsOK(res1
)) {
36210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_MoveBeforeInTabOrder" "', expected argument " "1"" of type '" "wxWindow *""'");
36212 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36213 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36214 if (!SWIG_IsOK(res2
)) {
36215 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_MoveBeforeInTabOrder" "', expected argument " "2"" of type '" "wxWindow *""'");
36217 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
36219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36220 (arg1
)->MoveBeforeInTabOrder(arg2
);
36221 wxPyEndAllowThreads(__tstate
);
36222 if (PyErr_Occurred()) SWIG_fail
;
36224 resultobj
= SWIG_Py_Void();
36231 SWIGINTERN PyObject
*_wrap_Window_GetChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36232 PyObject
*resultobj
= 0;
36233 wxWindow
*arg1
= (wxWindow
*) 0 ;
36234 PyObject
*result
= 0 ;
36237 PyObject
*swig_obj
[1] ;
36239 if (!args
) SWIG_fail
;
36240 swig_obj
[0] = args
;
36241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36242 if (!SWIG_IsOK(res1
)) {
36243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetChildren" "', expected argument " "1"" of type '" "wxWindow *""'");
36245 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36248 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
36249 wxPyEndAllowThreads(__tstate
);
36250 if (PyErr_Occurred()) SWIG_fail
;
36252 resultobj
= result
;
36259 SWIGINTERN PyObject
*_wrap_Window_GetParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36260 PyObject
*resultobj
= 0;
36261 wxWindow
*arg1
= (wxWindow
*) 0 ;
36262 wxWindow
*result
= 0 ;
36265 PyObject
*swig_obj
[1] ;
36267 if (!args
) SWIG_fail
;
36268 swig_obj
[0] = args
;
36269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36270 if (!SWIG_IsOK(res1
)) {
36271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetParent" "', expected argument " "1"" of type '" "wxWindow const *""'");
36273 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36276 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
36277 wxPyEndAllowThreads(__tstate
);
36278 if (PyErr_Occurred()) SWIG_fail
;
36281 resultobj
= wxPyMake_wxObject(result
, 0);
36289 SWIGINTERN PyObject
*_wrap_Window_GetGrandParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36290 PyObject
*resultobj
= 0;
36291 wxWindow
*arg1
= (wxWindow
*) 0 ;
36292 wxWindow
*result
= 0 ;
36295 PyObject
*swig_obj
[1] ;
36297 if (!args
) SWIG_fail
;
36298 swig_obj
[0] = args
;
36299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36300 if (!SWIG_IsOK(res1
)) {
36301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetGrandParent" "', expected argument " "1"" of type '" "wxWindow const *""'");
36303 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36306 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
36307 wxPyEndAllowThreads(__tstate
);
36308 if (PyErr_Occurred()) SWIG_fail
;
36311 resultobj
= wxPyMake_wxObject(result
, 0);
36319 SWIGINTERN PyObject
*_wrap_Window_IsTopLevel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36320 PyObject
*resultobj
= 0;
36321 wxWindow
*arg1
= (wxWindow
*) 0 ;
36325 PyObject
*swig_obj
[1] ;
36327 if (!args
) SWIG_fail
;
36328 swig_obj
[0] = args
;
36329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36330 if (!SWIG_IsOK(res1
)) {
36331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsTopLevel" "', expected argument " "1"" of type '" "wxWindow const *""'");
36333 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36336 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
36337 wxPyEndAllowThreads(__tstate
);
36338 if (PyErr_Occurred()) SWIG_fail
;
36341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36349 SWIGINTERN PyObject
*_wrap_Window_Reparent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36350 PyObject
*resultobj
= 0;
36351 wxWindow
*arg1
= (wxWindow
*) 0 ;
36352 wxWindow
*arg2
= (wxWindow
*) 0 ;
36358 PyObject
* obj0
= 0 ;
36359 PyObject
* obj1
= 0 ;
36360 char * kwnames
[] = {
36361 (char *) "self",(char *) "newParent", NULL
36364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36366 if (!SWIG_IsOK(res1
)) {
36367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Reparent" "', expected argument " "1"" of type '" "wxWindow *""'");
36369 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36370 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36371 if (!SWIG_IsOK(res2
)) {
36372 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_Reparent" "', expected argument " "2"" of type '" "wxWindow *""'");
36374 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
36376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36377 result
= (bool)(arg1
)->Reparent(arg2
);
36378 wxPyEndAllowThreads(__tstate
);
36379 if (PyErr_Occurred()) SWIG_fail
;
36382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36390 SWIGINTERN PyObject
*_wrap_Window_AddChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36391 PyObject
*resultobj
= 0;
36392 wxWindow
*arg1
= (wxWindow
*) 0 ;
36393 wxWindow
*arg2
= (wxWindow
*) 0 ;
36398 PyObject
* obj0
= 0 ;
36399 PyObject
* obj1
= 0 ;
36400 char * kwnames
[] = {
36401 (char *) "self",(char *) "child", NULL
36404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36406 if (!SWIG_IsOK(res1
)) {
36407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_AddChild" "', expected argument " "1"" of type '" "wxWindow *""'");
36409 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36410 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36411 if (!SWIG_IsOK(res2
)) {
36412 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_AddChild" "', expected argument " "2"" of type '" "wxWindow *""'");
36414 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
36416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36417 (arg1
)->AddChild(arg2
);
36418 wxPyEndAllowThreads(__tstate
);
36419 if (PyErr_Occurred()) SWIG_fail
;
36421 resultobj
= SWIG_Py_Void();
36428 SWIGINTERN PyObject
*_wrap_Window_RemoveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36429 PyObject
*resultobj
= 0;
36430 wxWindow
*arg1
= (wxWindow
*) 0 ;
36431 wxWindow
*arg2
= (wxWindow
*) 0 ;
36436 PyObject
* obj0
= 0 ;
36437 PyObject
* obj1
= 0 ;
36438 char * kwnames
[] = {
36439 (char *) "self",(char *) "child", NULL
36442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36444 if (!SWIG_IsOK(res1
)) {
36445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_RemoveChild" "', expected argument " "1"" of type '" "wxWindow *""'");
36447 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36448 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36449 if (!SWIG_IsOK(res2
)) {
36450 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_RemoveChild" "', expected argument " "2"" of type '" "wxWindow *""'");
36452 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
36454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36455 (arg1
)->RemoveChild(arg2
);
36456 wxPyEndAllowThreads(__tstate
);
36457 if (PyErr_Occurred()) SWIG_fail
;
36459 resultobj
= SWIG_Py_Void();
36466 SWIGINTERN PyObject
*_wrap_Window_SetDoubleBuffered(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36467 PyObject
*resultobj
= 0;
36468 wxWindow
*arg1
= (wxWindow
*) 0 ;
36474 PyObject
* obj0
= 0 ;
36475 PyObject
* obj1
= 0 ;
36476 char * kwnames
[] = {
36477 (char *) "self",(char *) "on", NULL
36480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDoubleBuffered",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36482 if (!SWIG_IsOK(res1
)) {
36483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetDoubleBuffered" "', expected argument " "1"" of type '" "wxWindow *""'");
36485 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36486 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
36487 if (!SWIG_IsOK(ecode2
)) {
36488 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetDoubleBuffered" "', expected argument " "2"" of type '" "bool""'");
36490 arg2
= static_cast< bool >(val2
);
36492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36493 wxWindow_SetDoubleBuffered(arg1
,arg2
);
36494 wxPyEndAllowThreads(__tstate
);
36495 if (PyErr_Occurred()) SWIG_fail
;
36497 resultobj
= SWIG_Py_Void();
36504 SWIGINTERN PyObject
*_wrap_Window_FindWindowById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36505 PyObject
*resultobj
= 0;
36506 wxWindow
*arg1
= (wxWindow
*) 0 ;
36508 wxWindow
*result
= 0 ;
36513 PyObject
* obj0
= 0 ;
36514 PyObject
* obj1
= 0 ;
36515 char * kwnames
[] = {
36516 (char *) "self",(char *) "winid", NULL
36519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36521 if (!SWIG_IsOK(res1
)) {
36522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_FindWindowById" "', expected argument " "1"" of type '" "wxWindow *""'");
36524 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36525 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
36526 if (!SWIG_IsOK(ecode2
)) {
36527 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_FindWindowById" "', expected argument " "2"" of type '" "long""'");
36529 arg2
= static_cast< long >(val2
);
36531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36532 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
36533 wxPyEndAllowThreads(__tstate
);
36534 if (PyErr_Occurred()) SWIG_fail
;
36537 resultobj
= wxPyMake_wxObject(result
, 0);
36545 SWIGINTERN PyObject
*_wrap_Window_FindWindowByName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36546 PyObject
*resultobj
= 0;
36547 wxWindow
*arg1
= (wxWindow
*) 0 ;
36548 wxString
*arg2
= 0 ;
36549 wxWindow
*result
= 0 ;
36552 bool temp2
= false ;
36553 PyObject
* obj0
= 0 ;
36554 PyObject
* obj1
= 0 ;
36555 char * kwnames
[] = {
36556 (char *) "self",(char *) "name", NULL
36559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36561 if (!SWIG_IsOK(res1
)) {
36562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_FindWindowByName" "', expected argument " "1"" of type '" "wxWindow *""'");
36564 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36566 arg2
= wxString_in_helper(obj1
);
36567 if (arg2
== NULL
) SWIG_fail
;
36571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36572 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
36573 wxPyEndAllowThreads(__tstate
);
36574 if (PyErr_Occurred()) SWIG_fail
;
36577 resultobj
= wxPyMake_wxObject(result
, 0);
36593 SWIGINTERN PyObject
*_wrap_Window_GetEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36594 PyObject
*resultobj
= 0;
36595 wxWindow
*arg1
= (wxWindow
*) 0 ;
36596 wxEvtHandler
*result
= 0 ;
36599 PyObject
*swig_obj
[1] ;
36601 if (!args
) SWIG_fail
;
36602 swig_obj
[0] = args
;
36603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36604 if (!SWIG_IsOK(res1
)) {
36605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetEventHandler" "', expected argument " "1"" of type '" "wxWindow const *""'");
36607 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36610 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
36611 wxPyEndAllowThreads(__tstate
);
36612 if (PyErr_Occurred()) SWIG_fail
;
36615 resultobj
= wxPyMake_wxObject(result
, 0);
36623 SWIGINTERN PyObject
*_wrap_Window_SetEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36624 PyObject
*resultobj
= 0;
36625 wxWindow
*arg1
= (wxWindow
*) 0 ;
36626 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
36631 PyObject
* obj0
= 0 ;
36632 PyObject
* obj1
= 0 ;
36633 char * kwnames
[] = {
36634 (char *) "self",(char *) "handler", NULL
36637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36639 if (!SWIG_IsOK(res1
)) {
36640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetEventHandler" "', expected argument " "1"" of type '" "wxWindow *""'");
36642 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36643 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
36644 if (!SWIG_IsOK(res2
)) {
36645 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetEventHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
36647 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
36649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36650 (arg1
)->SetEventHandler(arg2
);
36651 wxPyEndAllowThreads(__tstate
);
36652 if (PyErr_Occurred()) SWIG_fail
;
36654 resultobj
= SWIG_Py_Void();
36661 SWIGINTERN PyObject
*_wrap_Window_PushEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36662 PyObject
*resultobj
= 0;
36663 wxWindow
*arg1
= (wxWindow
*) 0 ;
36664 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
36669 PyObject
* obj0
= 0 ;
36670 PyObject
* obj1
= 0 ;
36671 char * kwnames
[] = {
36672 (char *) "self",(char *) "handler", NULL
36675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36677 if (!SWIG_IsOK(res1
)) {
36678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PushEventHandler" "', expected argument " "1"" of type '" "wxWindow *""'");
36680 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36681 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
36682 if (!SWIG_IsOK(res2
)) {
36683 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_PushEventHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
36685 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
36687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36688 (arg1
)->PushEventHandler(arg2
);
36689 wxPyEndAllowThreads(__tstate
);
36690 if (PyErr_Occurred()) SWIG_fail
;
36692 resultobj
= SWIG_Py_Void();
36699 SWIGINTERN PyObject
*_wrap_Window_PopEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36700 PyObject
*resultobj
= 0;
36701 wxWindow
*arg1
= (wxWindow
*) 0 ;
36702 bool arg2
= (bool) false ;
36703 wxEvtHandler
*result
= 0 ;
36708 PyObject
* obj0
= 0 ;
36709 PyObject
* obj1
= 0 ;
36710 char * kwnames
[] = {
36711 (char *) "self",(char *) "deleteHandler", NULL
36714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36716 if (!SWIG_IsOK(res1
)) {
36717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PopEventHandler" "', expected argument " "1"" of type '" "wxWindow *""'");
36719 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36721 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
36722 if (!SWIG_IsOK(ecode2
)) {
36723 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_PopEventHandler" "', expected argument " "2"" of type '" "bool""'");
36725 arg2
= static_cast< bool >(val2
);
36728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36729 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
36730 wxPyEndAllowThreads(__tstate
);
36731 if (PyErr_Occurred()) SWIG_fail
;
36734 resultobj
= wxPyMake_wxObject(result
, 0);
36742 SWIGINTERN PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36743 PyObject
*resultobj
= 0;
36744 wxWindow
*arg1
= (wxWindow
*) 0 ;
36745 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
36751 PyObject
* obj0
= 0 ;
36752 PyObject
* obj1
= 0 ;
36753 char * kwnames
[] = {
36754 (char *) "self",(char *) "handler", NULL
36757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36759 if (!SWIG_IsOK(res1
)) {
36760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_RemoveEventHandler" "', expected argument " "1"" of type '" "wxWindow *""'");
36762 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36763 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
36764 if (!SWIG_IsOK(res2
)) {
36765 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_RemoveEventHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
36767 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
36769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36770 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
36771 wxPyEndAllowThreads(__tstate
);
36772 if (PyErr_Occurred()) SWIG_fail
;
36775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36783 SWIGINTERN PyObject
*_wrap_Window_SetValidator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36784 PyObject
*resultobj
= 0;
36785 wxWindow
*arg1
= (wxWindow
*) 0 ;
36786 wxValidator
*arg2
= 0 ;
36791 PyObject
* obj0
= 0 ;
36792 PyObject
* obj1
= 0 ;
36793 char * kwnames
[] = {
36794 (char *) "self",(char *) "validator", NULL
36797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36799 if (!SWIG_IsOK(res1
)) {
36800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetValidator" "', expected argument " "1"" of type '" "wxWindow *""'");
36802 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36803 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxValidator
, 0 | 0);
36804 if (!SWIG_IsOK(res2
)) {
36805 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetValidator" "', expected argument " "2"" of type '" "wxValidator const &""'");
36808 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_SetValidator" "', expected argument " "2"" of type '" "wxValidator const &""'");
36810 arg2
= reinterpret_cast< wxValidator
* >(argp2
);
36812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36813 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
36814 wxPyEndAllowThreads(__tstate
);
36815 if (PyErr_Occurred()) SWIG_fail
;
36817 resultobj
= SWIG_Py_Void();
36824 SWIGINTERN PyObject
*_wrap_Window_GetValidator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36825 PyObject
*resultobj
= 0;
36826 wxWindow
*arg1
= (wxWindow
*) 0 ;
36827 wxValidator
*result
= 0 ;
36830 PyObject
*swig_obj
[1] ;
36832 if (!args
) SWIG_fail
;
36833 swig_obj
[0] = args
;
36834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36835 if (!SWIG_IsOK(res1
)) {
36836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetValidator" "', expected argument " "1"" of type '" "wxWindow *""'");
36838 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36841 result
= (wxValidator
*)(arg1
)->GetValidator();
36842 wxPyEndAllowThreads(__tstate
);
36843 if (PyErr_Occurred()) SWIG_fail
;
36846 resultobj
= wxPyMake_wxObject(result
, (bool)0);
36854 SWIGINTERN PyObject
*_wrap_Window_Validate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36855 PyObject
*resultobj
= 0;
36856 wxWindow
*arg1
= (wxWindow
*) 0 ;
36860 PyObject
*swig_obj
[1] ;
36862 if (!args
) SWIG_fail
;
36863 swig_obj
[0] = args
;
36864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36865 if (!SWIG_IsOK(res1
)) {
36866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Validate" "', expected argument " "1"" of type '" "wxWindow *""'");
36868 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36871 result
= (bool)(arg1
)->Validate();
36872 wxPyEndAllowThreads(__tstate
);
36873 if (PyErr_Occurred()) SWIG_fail
;
36876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36884 SWIGINTERN PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36885 PyObject
*resultobj
= 0;
36886 wxWindow
*arg1
= (wxWindow
*) 0 ;
36890 PyObject
*swig_obj
[1] ;
36892 if (!args
) SWIG_fail
;
36893 swig_obj
[0] = args
;
36894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36895 if (!SWIG_IsOK(res1
)) {
36896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_TransferDataToWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
36898 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36901 result
= (bool)(arg1
)->TransferDataToWindow();
36902 wxPyEndAllowThreads(__tstate
);
36903 if (PyErr_Occurred()) SWIG_fail
;
36906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36914 SWIGINTERN PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36915 PyObject
*resultobj
= 0;
36916 wxWindow
*arg1
= (wxWindow
*) 0 ;
36920 PyObject
*swig_obj
[1] ;
36922 if (!args
) SWIG_fail
;
36923 swig_obj
[0] = args
;
36924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36925 if (!SWIG_IsOK(res1
)) {
36926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_TransferDataFromWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
36928 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36931 result
= (bool)(arg1
)->TransferDataFromWindow();
36932 wxPyEndAllowThreads(__tstate
);
36933 if (PyErr_Occurred()) SWIG_fail
;
36936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36944 SWIGINTERN PyObject
*_wrap_Window_InitDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36945 PyObject
*resultobj
= 0;
36946 wxWindow
*arg1
= (wxWindow
*) 0 ;
36949 PyObject
*swig_obj
[1] ;
36951 if (!args
) SWIG_fail
;
36952 swig_obj
[0] = args
;
36953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36954 if (!SWIG_IsOK(res1
)) {
36955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_InitDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
36957 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36960 (arg1
)->InitDialog();
36961 wxPyEndAllowThreads(__tstate
);
36962 if (PyErr_Occurred()) SWIG_fail
;
36964 resultobj
= SWIG_Py_Void();
36971 SWIGINTERN PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36972 PyObject
*resultobj
= 0;
36973 wxWindow
*arg1
= (wxWindow
*) 0 ;
36974 wxAcceleratorTable
*arg2
= 0 ;
36979 PyObject
* obj0
= 0 ;
36980 PyObject
* obj1
= 0 ;
36981 char * kwnames
[] = {
36982 (char *) "self",(char *) "accel", NULL
36985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36987 if (!SWIG_IsOK(res1
)) {
36988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetAcceleratorTable" "', expected argument " "1"" of type '" "wxWindow *""'");
36990 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36991 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAcceleratorTable
, 0 | 0);
36992 if (!SWIG_IsOK(res2
)) {
36993 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetAcceleratorTable" "', expected argument " "2"" of type '" "wxAcceleratorTable const &""'");
36996 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_SetAcceleratorTable" "', expected argument " "2"" of type '" "wxAcceleratorTable const &""'");
36998 arg2
= reinterpret_cast< wxAcceleratorTable
* >(argp2
);
37000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37001 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
37002 wxPyEndAllowThreads(__tstate
);
37003 if (PyErr_Occurred()) SWIG_fail
;
37005 resultobj
= SWIG_Py_Void();
37012 SWIGINTERN PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37013 PyObject
*resultobj
= 0;
37014 wxWindow
*arg1
= (wxWindow
*) 0 ;
37015 wxAcceleratorTable
*result
= 0 ;
37018 PyObject
*swig_obj
[1] ;
37020 if (!args
) SWIG_fail
;
37021 swig_obj
[0] = args
;
37022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37023 if (!SWIG_IsOK(res1
)) {
37024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetAcceleratorTable" "', expected argument " "1"" of type '" "wxWindow *""'");
37026 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37029 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
37030 wxPyEndAllowThreads(__tstate
);
37031 if (PyErr_Occurred()) SWIG_fail
;
37033 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAcceleratorTable
, 0 | 0 );
37040 SWIGINTERN PyObject
*_wrap_Window_RegisterHotKey(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37041 PyObject
*resultobj
= 0;
37042 wxWindow
*arg1
= (wxWindow
*) 0 ;
37055 PyObject
* obj0
= 0 ;
37056 PyObject
* obj1
= 0 ;
37057 PyObject
* obj2
= 0 ;
37058 PyObject
* obj3
= 0 ;
37059 char * kwnames
[] = {
37060 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
37063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37065 if (!SWIG_IsOK(res1
)) {
37066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_RegisterHotKey" "', expected argument " "1"" of type '" "wxWindow *""'");
37068 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37069 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37070 if (!SWIG_IsOK(ecode2
)) {
37071 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_RegisterHotKey" "', expected argument " "2"" of type '" "int""'");
37073 arg2
= static_cast< int >(val2
);
37074 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37075 if (!SWIG_IsOK(ecode3
)) {
37076 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_RegisterHotKey" "', expected argument " "3"" of type '" "int""'");
37078 arg3
= static_cast< int >(val3
);
37079 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37080 if (!SWIG_IsOK(ecode4
)) {
37081 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_RegisterHotKey" "', expected argument " "4"" of type '" "int""'");
37083 arg4
= static_cast< int >(val4
);
37085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37086 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
37087 wxPyEndAllowThreads(__tstate
);
37088 if (PyErr_Occurred()) SWIG_fail
;
37091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37099 SWIGINTERN PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37100 PyObject
*resultobj
= 0;
37101 wxWindow
*arg1
= (wxWindow
*) 0 ;
37108 PyObject
* obj0
= 0 ;
37109 PyObject
* obj1
= 0 ;
37110 char * kwnames
[] = {
37111 (char *) "self",(char *) "hotkeyId", NULL
37114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37116 if (!SWIG_IsOK(res1
)) {
37117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_UnregisterHotKey" "', expected argument " "1"" of type '" "wxWindow *""'");
37119 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37120 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37121 if (!SWIG_IsOK(ecode2
)) {
37122 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_UnregisterHotKey" "', expected argument " "2"" of type '" "int""'");
37124 arg2
= static_cast< int >(val2
);
37126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37127 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
37128 wxPyEndAllowThreads(__tstate
);
37129 if (PyErr_Occurred()) SWIG_fail
;
37132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37140 SWIGINTERN PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37141 PyObject
*resultobj
= 0;
37142 wxWindow
*arg1
= (wxWindow
*) 0 ;
37143 wxPoint
*arg2
= 0 ;
37148 PyObject
* obj0
= 0 ;
37149 PyObject
* obj1
= 0 ;
37150 char * kwnames
[] = {
37151 (char *) "self",(char *) "pt", NULL
37154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37156 if (!SWIG_IsOK(res1
)) {
37157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ConvertDialogPointToPixels" "', expected argument " "1"" of type '" "wxWindow *""'");
37159 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37162 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37166 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
37167 wxPyEndAllowThreads(__tstate
);
37168 if (PyErr_Occurred()) SWIG_fail
;
37170 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
37177 SWIGINTERN PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37178 PyObject
*resultobj
= 0;
37179 wxWindow
*arg1
= (wxWindow
*) 0 ;
37185 PyObject
* obj0
= 0 ;
37186 PyObject
* obj1
= 0 ;
37187 char * kwnames
[] = {
37188 (char *) "self",(char *) "sz", NULL
37191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37193 if (!SWIG_IsOK(res1
)) {
37194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ConvertDialogSizeToPixels" "', expected argument " "1"" of type '" "wxWindow *""'");
37196 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37199 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
37202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37203 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
37204 wxPyEndAllowThreads(__tstate
);
37205 if (PyErr_Occurred()) SWIG_fail
;
37207 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
37214 SWIGINTERN PyObject
*_wrap_Window_DLG_PNT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37215 PyObject
*resultobj
= 0;
37216 wxWindow
*arg1
= (wxWindow
*) 0 ;
37217 wxPoint
*arg2
= 0 ;
37222 PyObject
* obj0
= 0 ;
37223 PyObject
* obj1
= 0 ;
37224 char * kwnames
[] = {
37225 (char *) "self",(char *) "pt", NULL
37228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37230 if (!SWIG_IsOK(res1
)) {
37231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_DLG_PNT" "', expected argument " "1"" of type '" "wxWindow *""'");
37233 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37236 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37240 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
37241 wxPyEndAllowThreads(__tstate
);
37242 if (PyErr_Occurred()) SWIG_fail
;
37244 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
37251 SWIGINTERN PyObject
*_wrap_Window_DLG_SZE(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37252 PyObject
*resultobj
= 0;
37253 wxWindow
*arg1
= (wxWindow
*) 0 ;
37259 PyObject
* obj0
= 0 ;
37260 PyObject
* obj1
= 0 ;
37261 char * kwnames
[] = {
37262 (char *) "self",(char *) "sz", NULL
37265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37267 if (!SWIG_IsOK(res1
)) {
37268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_DLG_SZE" "', expected argument " "1"" of type '" "wxWindow *""'");
37270 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37273 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
37276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37277 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
37278 wxPyEndAllowThreads(__tstate
);
37279 if (PyErr_Occurred()) SWIG_fail
;
37281 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
37288 SWIGINTERN PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37289 PyObject
*resultobj
= 0;
37290 wxWindow
*arg1
= (wxWindow
*) 0 ;
37291 wxPoint
*arg2
= 0 ;
37296 PyObject
* obj0
= 0 ;
37297 PyObject
* obj1
= 0 ;
37298 char * kwnames
[] = {
37299 (char *) "self",(char *) "pt", NULL
37302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37304 if (!SWIG_IsOK(res1
)) {
37305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ConvertPixelPointToDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
37307 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37310 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37314 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
37315 wxPyEndAllowThreads(__tstate
);
37316 if (PyErr_Occurred()) SWIG_fail
;
37318 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
37325 SWIGINTERN PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37326 PyObject
*resultobj
= 0;
37327 wxWindow
*arg1
= (wxWindow
*) 0 ;
37333 PyObject
* obj0
= 0 ;
37334 PyObject
* obj1
= 0 ;
37335 char * kwnames
[] = {
37336 (char *) "self",(char *) "sz", NULL
37339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37341 if (!SWIG_IsOK(res1
)) {
37342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ConvertPixelSizeToDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
37344 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37347 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
37350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37351 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
37352 wxPyEndAllowThreads(__tstate
);
37353 if (PyErr_Occurred()) SWIG_fail
;
37355 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
37362 SWIGINTERN PyObject
*_wrap_Window_WarpPointer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37363 PyObject
*resultobj
= 0;
37364 wxWindow
*arg1
= (wxWindow
*) 0 ;
37373 PyObject
* obj0
= 0 ;
37374 PyObject
* obj1
= 0 ;
37375 PyObject
* obj2
= 0 ;
37376 char * kwnames
[] = {
37377 (char *) "self",(char *) "x",(char *) "y", NULL
37380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37382 if (!SWIG_IsOK(res1
)) {
37383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_WarpPointer" "', expected argument " "1"" of type '" "wxWindow *""'");
37385 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37386 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37387 if (!SWIG_IsOK(ecode2
)) {
37388 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_WarpPointer" "', expected argument " "2"" of type '" "int""'");
37390 arg2
= static_cast< int >(val2
);
37391 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37392 if (!SWIG_IsOK(ecode3
)) {
37393 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_WarpPointer" "', expected argument " "3"" of type '" "int""'");
37395 arg3
= static_cast< int >(val3
);
37397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37398 (arg1
)->WarpPointer(arg2
,arg3
);
37399 wxPyEndAllowThreads(__tstate
);
37400 if (PyErr_Occurred()) SWIG_fail
;
37402 resultobj
= SWIG_Py_Void();
37409 SWIGINTERN PyObject
*_wrap_Window_CaptureMouse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37410 PyObject
*resultobj
= 0;
37411 wxWindow
*arg1
= (wxWindow
*) 0 ;
37414 PyObject
*swig_obj
[1] ;
37416 if (!args
) SWIG_fail
;
37417 swig_obj
[0] = args
;
37418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37419 if (!SWIG_IsOK(res1
)) {
37420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_CaptureMouse" "', expected argument " "1"" of type '" "wxWindow *""'");
37422 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37425 (arg1
)->CaptureMouse();
37426 wxPyEndAllowThreads(__tstate
);
37427 if (PyErr_Occurred()) SWIG_fail
;
37429 resultobj
= SWIG_Py_Void();
37436 SWIGINTERN PyObject
*_wrap_Window_ReleaseMouse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37437 PyObject
*resultobj
= 0;
37438 wxWindow
*arg1
= (wxWindow
*) 0 ;
37441 PyObject
*swig_obj
[1] ;
37443 if (!args
) SWIG_fail
;
37444 swig_obj
[0] = args
;
37445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37446 if (!SWIG_IsOK(res1
)) {
37447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ReleaseMouse" "', expected argument " "1"" of type '" "wxWindow *""'");
37449 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37452 (arg1
)->ReleaseMouse();
37453 wxPyEndAllowThreads(__tstate
);
37454 if (PyErr_Occurred()) SWIG_fail
;
37456 resultobj
= SWIG_Py_Void();
37463 SWIGINTERN PyObject
*_wrap_Window_GetCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37464 PyObject
*resultobj
= 0;
37465 wxWindow
*result
= 0 ;
37467 if (!SWIG_Python_UnpackTuple(args
,"Window_GetCapture",0,0,0)) SWIG_fail
;
37469 if (!wxPyCheckForApp()) SWIG_fail
;
37470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37471 result
= (wxWindow
*)wxWindow::GetCapture();
37472 wxPyEndAllowThreads(__tstate
);
37473 if (PyErr_Occurred()) SWIG_fail
;
37476 resultobj
= wxPyMake_wxObject(result
, 0);
37484 SWIGINTERN PyObject
*_wrap_Window_HasCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37485 PyObject
*resultobj
= 0;
37486 wxWindow
*arg1
= (wxWindow
*) 0 ;
37490 PyObject
*swig_obj
[1] ;
37492 if (!args
) SWIG_fail
;
37493 swig_obj
[0] = args
;
37494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37495 if (!SWIG_IsOK(res1
)) {
37496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_HasCapture" "', expected argument " "1"" of type '" "wxWindow const *""'");
37498 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37501 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
37502 wxPyEndAllowThreads(__tstate
);
37503 if (PyErr_Occurred()) SWIG_fail
;
37506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37514 SWIGINTERN PyObject
*_wrap_Window_Refresh(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37515 PyObject
*resultobj
= 0;
37516 wxWindow
*arg1
= (wxWindow
*) 0 ;
37517 bool arg2
= (bool) true ;
37518 wxRect
*arg3
= (wxRect
*) NULL
;
37525 PyObject
* obj0
= 0 ;
37526 PyObject
* obj1
= 0 ;
37527 PyObject
* obj2
= 0 ;
37528 char * kwnames
[] = {
37529 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
37532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) 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_Refresh" "', expected argument " "1"" of type '" "wxWindow *""'");
37537 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37539 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37540 if (!SWIG_IsOK(ecode2
)) {
37541 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_Refresh" "', expected argument " "2"" of type '" "bool""'");
37543 arg2
= static_cast< bool >(val2
);
37546 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
37547 if (!SWIG_IsOK(res3
)) {
37548 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Window_Refresh" "', expected argument " "3"" of type '" "wxRect const *""'");
37550 arg3
= reinterpret_cast< wxRect
* >(argp3
);
37553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37554 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
37555 wxPyEndAllowThreads(__tstate
);
37556 if (PyErr_Occurred()) SWIG_fail
;
37558 resultobj
= SWIG_Py_Void();
37565 SWIGINTERN PyObject
*_wrap_Window_RefreshRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37566 PyObject
*resultobj
= 0;
37567 wxWindow
*arg1
= (wxWindow
*) 0 ;
37569 bool arg3
= (bool) true ;
37575 PyObject
* obj0
= 0 ;
37576 PyObject
* obj1
= 0 ;
37577 PyObject
* obj2
= 0 ;
37578 char * kwnames
[] = {
37579 (char *) "self",(char *) "rect",(char *) "eraseBackground", NULL
37582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_RefreshRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37584 if (!SWIG_IsOK(res1
)) {
37585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_RefreshRect" "', expected argument " "1"" of type '" "wxWindow *""'");
37587 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37590 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37593 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37594 if (!SWIG_IsOK(ecode3
)) {
37595 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_RefreshRect" "', expected argument " "3"" of type '" "bool""'");
37597 arg3
= static_cast< bool >(val3
);
37600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37601 (arg1
)->RefreshRect((wxRect
const &)*arg2
,arg3
);
37602 wxPyEndAllowThreads(__tstate
);
37603 if (PyErr_Occurred()) SWIG_fail
;
37605 resultobj
= SWIG_Py_Void();
37612 SWIGINTERN PyObject
*_wrap_Window_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37613 PyObject
*resultobj
= 0;
37614 wxWindow
*arg1
= (wxWindow
*) 0 ;
37617 PyObject
*swig_obj
[1] ;
37619 if (!args
) SWIG_fail
;
37620 swig_obj
[0] = args
;
37621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37622 if (!SWIG_IsOK(res1
)) {
37623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Update" "', expected argument " "1"" of type '" "wxWindow *""'");
37625 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37629 wxPyEndAllowThreads(__tstate
);
37630 if (PyErr_Occurred()) SWIG_fail
;
37632 resultobj
= SWIG_Py_Void();
37639 SWIGINTERN PyObject
*_wrap_Window_ClearBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37640 PyObject
*resultobj
= 0;
37641 wxWindow
*arg1
= (wxWindow
*) 0 ;
37644 PyObject
*swig_obj
[1] ;
37646 if (!args
) SWIG_fail
;
37647 swig_obj
[0] = args
;
37648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37649 if (!SWIG_IsOK(res1
)) {
37650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ClearBackground" "', expected argument " "1"" of type '" "wxWindow *""'");
37652 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37655 (arg1
)->ClearBackground();
37656 wxPyEndAllowThreads(__tstate
);
37657 if (PyErr_Occurred()) SWIG_fail
;
37659 resultobj
= SWIG_Py_Void();
37666 SWIGINTERN PyObject
*_wrap_Window_Freeze(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37667 PyObject
*resultobj
= 0;
37668 wxWindow
*arg1
= (wxWindow
*) 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_wxWindow
, 0 | 0 );
37676 if (!SWIG_IsOK(res1
)) {
37677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Freeze" "', expected argument " "1"" of type '" "wxWindow *""'");
37679 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37683 wxPyEndAllowThreads(__tstate
);
37684 if (PyErr_Occurred()) SWIG_fail
;
37686 resultobj
= SWIG_Py_Void();
37693 SWIGINTERN PyObject
*_wrap_Window_IsFrozen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37694 PyObject
*resultobj
= 0;
37695 wxWindow
*arg1
= (wxWindow
*) 0 ;
37699 PyObject
*swig_obj
[1] ;
37701 if (!args
) SWIG_fail
;
37702 swig_obj
[0] = args
;
37703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37704 if (!SWIG_IsOK(res1
)) {
37705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsFrozen" "', expected argument " "1"" of type '" "wxWindow const *""'");
37707 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37710 result
= (bool)((wxWindow
const *)arg1
)->IsFrozen();
37711 wxPyEndAllowThreads(__tstate
);
37712 if (PyErr_Occurred()) SWIG_fail
;
37715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37723 SWIGINTERN PyObject
*_wrap_Window_Thaw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37724 PyObject
*resultobj
= 0;
37725 wxWindow
*arg1
= (wxWindow
*) 0 ;
37728 PyObject
*swig_obj
[1] ;
37730 if (!args
) SWIG_fail
;
37731 swig_obj
[0] = args
;
37732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37733 if (!SWIG_IsOK(res1
)) {
37734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Thaw" "', expected argument " "1"" of type '" "wxWindow *""'");
37736 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37740 wxPyEndAllowThreads(__tstate
);
37741 if (PyErr_Occurred()) SWIG_fail
;
37743 resultobj
= SWIG_Py_Void();
37750 SWIGINTERN PyObject
*_wrap_Window_PrepareDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37751 PyObject
*resultobj
= 0;
37752 wxWindow
*arg1
= (wxWindow
*) 0 ;
37758 PyObject
* obj0
= 0 ;
37759 PyObject
* obj1
= 0 ;
37760 char * kwnames
[] = {
37761 (char *) "self",(char *) "dc", NULL
37764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37766 if (!SWIG_IsOK(res1
)) {
37767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PrepareDC" "', expected argument " "1"" of type '" "wxWindow *""'");
37769 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37770 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
37771 if (!SWIG_IsOK(res2
)) {
37772 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_PrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
37775 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_PrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
37777 arg2
= reinterpret_cast< wxDC
* >(argp2
);
37779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37780 (arg1
)->PrepareDC(*arg2
);
37781 wxPyEndAllowThreads(__tstate
);
37782 if (PyErr_Occurred()) SWIG_fail
;
37784 resultobj
= SWIG_Py_Void();
37791 SWIGINTERN PyObject
*_wrap_Window_IsDoubleBuffered(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37792 PyObject
*resultobj
= 0;
37793 wxWindow
*arg1
= (wxWindow
*) 0 ;
37797 PyObject
*swig_obj
[1] ;
37799 if (!args
) SWIG_fail
;
37800 swig_obj
[0] = args
;
37801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37802 if (!SWIG_IsOK(res1
)) {
37803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsDoubleBuffered" "', expected argument " "1"" of type '" "wxWindow const *""'");
37805 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37808 result
= (bool)((wxWindow
const *)arg1
)->IsDoubleBuffered();
37809 wxPyEndAllowThreads(__tstate
);
37810 if (PyErr_Occurred()) SWIG_fail
;
37813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37821 SWIGINTERN PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37822 PyObject
*resultobj
= 0;
37823 wxWindow
*arg1
= (wxWindow
*) 0 ;
37824 wxRegion
*result
= 0 ;
37827 PyObject
*swig_obj
[1] ;
37829 if (!args
) SWIG_fail
;
37830 swig_obj
[0] = args
;
37831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37832 if (!SWIG_IsOK(res1
)) {
37833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetUpdateRegion" "', expected argument " "1"" of type '" "wxWindow *""'");
37835 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37839 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
37840 result
= (wxRegion
*) &_result_ref
;
37842 wxPyEndAllowThreads(__tstate
);
37843 if (PyErr_Occurred()) SWIG_fail
;
37845 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, 0 | 0 );
37852 SWIGINTERN PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37853 PyObject
*resultobj
= 0;
37854 wxWindow
*arg1
= (wxWindow
*) 0 ;
37858 PyObject
*swig_obj
[1] ;
37860 if (!args
) SWIG_fail
;
37861 swig_obj
[0] = args
;
37862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37863 if (!SWIG_IsOK(res1
)) {
37864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetUpdateClientRect" "', expected argument " "1"" of type '" "wxWindow const *""'");
37866 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37869 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
37870 wxPyEndAllowThreads(__tstate
);
37871 if (PyErr_Occurred()) SWIG_fail
;
37873 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
37880 SWIGINTERN PyObject
*_wrap_Window_IsExposed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37881 PyObject
*resultobj
= 0;
37882 wxWindow
*arg1
= (wxWindow
*) 0 ;
37885 int arg4
= (int) 1 ;
37886 int arg5
= (int) 1 ;
37898 PyObject
* obj0
= 0 ;
37899 PyObject
* obj1
= 0 ;
37900 PyObject
* obj2
= 0 ;
37901 PyObject
* obj3
= 0 ;
37902 PyObject
* obj4
= 0 ;
37903 char * kwnames
[] = {
37904 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
37907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37909 if (!SWIG_IsOK(res1
)) {
37910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsExposed" "', expected argument " "1"" of type '" "wxWindow const *""'");
37912 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37913 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37914 if (!SWIG_IsOK(ecode2
)) {
37915 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_IsExposed" "', expected argument " "2"" of type '" "int""'");
37917 arg2
= static_cast< int >(val2
);
37918 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37919 if (!SWIG_IsOK(ecode3
)) {
37920 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_IsExposed" "', expected argument " "3"" of type '" "int""'");
37922 arg3
= static_cast< int >(val3
);
37924 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37925 if (!SWIG_IsOK(ecode4
)) {
37926 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_IsExposed" "', expected argument " "4"" of type '" "int""'");
37928 arg4
= static_cast< int >(val4
);
37931 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37932 if (!SWIG_IsOK(ecode5
)) {
37933 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Window_IsExposed" "', expected argument " "5"" of type '" "int""'");
37935 arg5
= static_cast< int >(val5
);
37938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37939 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
37940 wxPyEndAllowThreads(__tstate
);
37941 if (PyErr_Occurred()) SWIG_fail
;
37944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37952 SWIGINTERN PyObject
*_wrap_Window_IsExposedPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37953 PyObject
*resultobj
= 0;
37954 wxWindow
*arg1
= (wxWindow
*) 0 ;
37955 wxPoint
*arg2
= 0 ;
37960 PyObject
* obj0
= 0 ;
37961 PyObject
* obj1
= 0 ;
37962 char * kwnames
[] = {
37963 (char *) "self",(char *) "pt", NULL
37966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37968 if (!SWIG_IsOK(res1
)) {
37969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsExposedPoint" "', expected argument " "1"" of type '" "wxWindow const *""'");
37971 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37974 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37978 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
37979 wxPyEndAllowThreads(__tstate
);
37980 if (PyErr_Occurred()) SWIG_fail
;
37983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37991 SWIGINTERN PyObject
*_wrap_Window_IsExposedRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37992 PyObject
*resultobj
= 0;
37993 wxWindow
*arg1
= (wxWindow
*) 0 ;
37999 PyObject
* obj0
= 0 ;
38000 PyObject
* obj1
= 0 ;
38001 char * kwnames
[] = {
38002 (char *) "self",(char *) "rect", NULL
38005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38007 if (!SWIG_IsOK(res1
)) {
38008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsExposedRect" "', expected argument " "1"" of type '" "wxWindow const *""'");
38010 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38013 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
38016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38017 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
38018 wxPyEndAllowThreads(__tstate
);
38019 if (PyErr_Occurred()) SWIG_fail
;
38022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38030 SWIGINTERN PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38031 PyObject
*resultobj
= 0;
38032 wxWindow
*arg1
= (wxWindow
*) 0 ;
38033 SwigValueWrapper
<wxVisualAttributes
> result
;
38036 PyObject
*swig_obj
[1] ;
38038 if (!args
) SWIG_fail
;
38039 swig_obj
[0] = args
;
38040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38041 if (!SWIG_IsOK(res1
)) {
38042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxWindow const *""'");
38044 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38047 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
38048 wxPyEndAllowThreads(__tstate
);
38049 if (PyErr_Occurred()) SWIG_fail
;
38051 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
38058 SWIGINTERN PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38059 PyObject
*resultobj
= 0;
38060 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
38061 SwigValueWrapper
<wxVisualAttributes
> result
;
38064 PyObject
* obj0
= 0 ;
38065 char * kwnames
[] = {
38066 (char *) "variant", NULL
38069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
38071 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
38072 if (!SWIG_IsOK(ecode1
)) {
38073 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Window_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
38075 arg1
= static_cast< wxWindowVariant
>(val1
);
38078 if (!wxPyCheckForApp()) SWIG_fail
;
38079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38080 result
= wxWindow::GetClassDefaultAttributes(arg1
);
38081 wxPyEndAllowThreads(__tstate
);
38082 if (PyErr_Occurred()) SWIG_fail
;
38084 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
38091 SWIGINTERN PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38092 PyObject
*resultobj
= 0;
38093 wxWindow
*arg1
= (wxWindow
*) 0 ;
38094 wxColour
*arg2
= 0 ;
38099 PyObject
* obj0
= 0 ;
38100 PyObject
* obj1
= 0 ;
38101 char * kwnames
[] = {
38102 (char *) "self",(char *) "colour", NULL
38105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38107 if (!SWIG_IsOK(res1
)) {
38108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetBackgroundColour" "', expected argument " "1"" of type '" "wxWindow *""'");
38110 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38113 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38117 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
38118 wxPyEndAllowThreads(__tstate
);
38119 if (PyErr_Occurred()) SWIG_fail
;
38122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38130 SWIGINTERN PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38131 PyObject
*resultobj
= 0;
38132 wxWindow
*arg1
= (wxWindow
*) 0 ;
38133 wxColour
*arg2
= 0 ;
38137 PyObject
* obj0
= 0 ;
38138 PyObject
* obj1
= 0 ;
38139 char * kwnames
[] = {
38140 (char *) "self",(char *) "colour", NULL
38143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38145 if (!SWIG_IsOK(res1
)) {
38146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetOwnBackgroundColour" "', expected argument " "1"" of type '" "wxWindow *""'");
38148 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38151 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38155 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
38156 wxPyEndAllowThreads(__tstate
);
38157 if (PyErr_Occurred()) SWIG_fail
;
38159 resultobj
= SWIG_Py_Void();
38166 SWIGINTERN PyObject
*_wrap_Window_SetForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38167 PyObject
*resultobj
= 0;
38168 wxWindow
*arg1
= (wxWindow
*) 0 ;
38169 wxColour
*arg2
= 0 ;
38174 PyObject
* obj0
= 0 ;
38175 PyObject
* obj1
= 0 ;
38176 char * kwnames
[] = {
38177 (char *) "self",(char *) "colour", NULL
38180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38182 if (!SWIG_IsOK(res1
)) {
38183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetForegroundColour" "', expected argument " "1"" of type '" "wxWindow *""'");
38185 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38188 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38192 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
38193 wxPyEndAllowThreads(__tstate
);
38194 if (PyErr_Occurred()) SWIG_fail
;
38197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38205 SWIGINTERN PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38206 PyObject
*resultobj
= 0;
38207 wxWindow
*arg1
= (wxWindow
*) 0 ;
38208 wxColour
*arg2
= 0 ;
38212 PyObject
* obj0
= 0 ;
38213 PyObject
* obj1
= 0 ;
38214 char * kwnames
[] = {
38215 (char *) "self",(char *) "colour", NULL
38218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38220 if (!SWIG_IsOK(res1
)) {
38221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetOwnForegroundColour" "', expected argument " "1"" of type '" "wxWindow *""'");
38223 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38226 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38230 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
38231 wxPyEndAllowThreads(__tstate
);
38232 if (PyErr_Occurred()) SWIG_fail
;
38234 resultobj
= SWIG_Py_Void();
38241 SWIGINTERN PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38242 PyObject
*resultobj
= 0;
38243 wxWindow
*arg1
= (wxWindow
*) 0 ;
38247 PyObject
*swig_obj
[1] ;
38249 if (!args
) SWIG_fail
;
38250 swig_obj
[0] = args
;
38251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38252 if (!SWIG_IsOK(res1
)) {
38253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBackgroundColour" "', expected argument " "1"" of type '" "wxWindow const *""'");
38255 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38258 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
38259 wxPyEndAllowThreads(__tstate
);
38260 if (PyErr_Occurred()) SWIG_fail
;
38262 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
38269 SWIGINTERN PyObject
*_wrap_Window_GetForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38270 PyObject
*resultobj
= 0;
38271 wxWindow
*arg1
= (wxWindow
*) 0 ;
38275 PyObject
*swig_obj
[1] ;
38277 if (!args
) SWIG_fail
;
38278 swig_obj
[0] = args
;
38279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38280 if (!SWIG_IsOK(res1
)) {
38281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetForegroundColour" "', expected argument " "1"" of type '" "wxWindow const *""'");
38283 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38286 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
38287 wxPyEndAllowThreads(__tstate
);
38288 if (PyErr_Occurred()) SWIG_fail
;
38290 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
38297 SWIGINTERN PyObject
*_wrap_Window_InheritsBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38298 PyObject
*resultobj
= 0;
38299 wxWindow
*arg1
= (wxWindow
*) 0 ;
38303 PyObject
*swig_obj
[1] ;
38305 if (!args
) SWIG_fail
;
38306 swig_obj
[0] = args
;
38307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38308 if (!SWIG_IsOK(res1
)) {
38309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_InheritsBackgroundColour" "', expected argument " "1"" of type '" "wxWindow const *""'");
38311 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38314 result
= (bool)((wxWindow
const *)arg1
)->InheritsBackgroundColour();
38315 wxPyEndAllowThreads(__tstate
);
38316 if (PyErr_Occurred()) SWIG_fail
;
38319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38327 SWIGINTERN PyObject
*_wrap_Window_UseBgCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38328 PyObject
*resultobj
= 0;
38329 wxWindow
*arg1
= (wxWindow
*) 0 ;
38333 PyObject
*swig_obj
[1] ;
38335 if (!args
) SWIG_fail
;
38336 swig_obj
[0] = args
;
38337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38338 if (!SWIG_IsOK(res1
)) {
38339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_UseBgCol" "', expected argument " "1"" of type '" "wxWindow const *""'");
38341 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38344 result
= (bool)((wxWindow
const *)arg1
)->UseBgCol();
38345 wxPyEndAllowThreads(__tstate
);
38346 if (PyErr_Occurred()) SWIG_fail
;
38349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38357 SWIGINTERN PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38358 PyObject
*resultobj
= 0;
38359 wxWindow
*arg1
= (wxWindow
*) 0 ;
38360 wxBackgroundStyle arg2
;
38366 PyObject
* obj0
= 0 ;
38367 PyObject
* obj1
= 0 ;
38368 char * kwnames
[] = {
38369 (char *) "self",(char *) "style", NULL
38372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38374 if (!SWIG_IsOK(res1
)) {
38375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetBackgroundStyle" "', expected argument " "1"" of type '" "wxWindow *""'");
38377 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38378 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38379 if (!SWIG_IsOK(ecode2
)) {
38380 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetBackgroundStyle" "', expected argument " "2"" of type '" "wxBackgroundStyle""'");
38382 arg2
= static_cast< wxBackgroundStyle
>(val2
);
38384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38385 result
= (bool)(arg1
)->SetBackgroundStyle(arg2
);
38386 wxPyEndAllowThreads(__tstate
);
38387 if (PyErr_Occurred()) SWIG_fail
;
38390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38398 SWIGINTERN PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38399 PyObject
*resultobj
= 0;
38400 wxWindow
*arg1
= (wxWindow
*) 0 ;
38401 wxBackgroundStyle result
;
38404 PyObject
*swig_obj
[1] ;
38406 if (!args
) SWIG_fail
;
38407 swig_obj
[0] = args
;
38408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38409 if (!SWIG_IsOK(res1
)) {
38410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBackgroundStyle" "', expected argument " "1"" of type '" "wxWindow const *""'");
38412 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38415 result
= (wxBackgroundStyle
)((wxWindow
const *)arg1
)->GetBackgroundStyle();
38416 wxPyEndAllowThreads(__tstate
);
38417 if (PyErr_Occurred()) SWIG_fail
;
38419 resultobj
= SWIG_From_int(static_cast< int >(result
));
38426 SWIGINTERN PyObject
*_wrap_Window_HasTransparentBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38427 PyObject
*resultobj
= 0;
38428 wxWindow
*arg1
= (wxWindow
*) 0 ;
38432 PyObject
*swig_obj
[1] ;
38434 if (!args
) SWIG_fail
;
38435 swig_obj
[0] = args
;
38436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38437 if (!SWIG_IsOK(res1
)) {
38438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_HasTransparentBackground" "', expected argument " "1"" of type '" "wxWindow *""'");
38440 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38443 result
= (bool)(arg1
)->HasTransparentBackground();
38444 wxPyEndAllowThreads(__tstate
);
38445 if (PyErr_Occurred()) SWIG_fail
;
38448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38456 SWIGINTERN PyObject
*_wrap_Window_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38457 PyObject
*resultobj
= 0;
38458 wxWindow
*arg1
= (wxWindow
*) 0 ;
38459 wxCursor
*arg2
= 0 ;
38465 PyObject
* obj0
= 0 ;
38466 PyObject
* obj1
= 0 ;
38467 char * kwnames
[] = {
38468 (char *) "self",(char *) "cursor", NULL
38471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38473 if (!SWIG_IsOK(res1
)) {
38474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetCursor" "', expected argument " "1"" of type '" "wxWindow *""'");
38476 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38477 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
38478 if (!SWIG_IsOK(res2
)) {
38479 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
38482 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_SetCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
38484 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
38486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38487 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
38488 wxPyEndAllowThreads(__tstate
);
38489 if (PyErr_Occurred()) SWIG_fail
;
38492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38500 SWIGINTERN PyObject
*_wrap_Window_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38501 PyObject
*resultobj
= 0;
38502 wxWindow
*arg1
= (wxWindow
*) 0 ;
38506 PyObject
*swig_obj
[1] ;
38508 if (!args
) SWIG_fail
;
38509 swig_obj
[0] = args
;
38510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38511 if (!SWIG_IsOK(res1
)) {
38512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetCursor" "', expected argument " "1"" of type '" "wxWindow *""'");
38514 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38517 result
= (arg1
)->GetCursor();
38518 wxPyEndAllowThreads(__tstate
);
38519 if (PyErr_Occurred()) SWIG_fail
;
38521 resultobj
= SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor
& >(result
))), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
38528 SWIGINTERN PyObject
*_wrap_Window_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38529 PyObject
*resultobj
= 0;
38530 wxWindow
*arg1
= (wxWindow
*) 0 ;
38537 PyObject
* obj0
= 0 ;
38538 PyObject
* obj1
= 0 ;
38539 char * kwnames
[] = {
38540 (char *) "self",(char *) "font", NULL
38543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38545 if (!SWIG_IsOK(res1
)) {
38546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetFont" "', expected argument " "1"" of type '" "wxWindow *""'");
38548 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38549 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
38550 if (!SWIG_IsOK(res2
)) {
38551 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38554 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38556 arg2
= reinterpret_cast< wxFont
* >(argp2
);
38558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38559 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
38560 wxPyEndAllowThreads(__tstate
);
38561 if (PyErr_Occurred()) SWIG_fail
;
38564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38572 SWIGINTERN PyObject
*_wrap_Window_SetOwnFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38573 PyObject
*resultobj
= 0;
38574 wxWindow
*arg1
= (wxWindow
*) 0 ;
38580 PyObject
* obj0
= 0 ;
38581 PyObject
* obj1
= 0 ;
38582 char * kwnames
[] = {
38583 (char *) "self",(char *) "font", NULL
38586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38588 if (!SWIG_IsOK(res1
)) {
38589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetOwnFont" "', expected argument " "1"" of type '" "wxWindow *""'");
38591 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38592 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
38593 if (!SWIG_IsOK(res2
)) {
38594 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetOwnFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38597 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_SetOwnFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38599 arg2
= reinterpret_cast< wxFont
* >(argp2
);
38601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38602 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
38603 wxPyEndAllowThreads(__tstate
);
38604 if (PyErr_Occurred()) SWIG_fail
;
38606 resultobj
= SWIG_Py_Void();
38613 SWIGINTERN PyObject
*_wrap_Window_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38614 PyObject
*resultobj
= 0;
38615 wxWindow
*arg1
= (wxWindow
*) 0 ;
38619 PyObject
*swig_obj
[1] ;
38621 if (!args
) SWIG_fail
;
38622 swig_obj
[0] = args
;
38623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38624 if (!SWIG_IsOK(res1
)) {
38625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetFont" "', expected argument " "1"" of type '" "wxWindow *""'");
38627 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38630 result
= (arg1
)->GetFont();
38631 wxPyEndAllowThreads(__tstate
);
38632 if (PyErr_Occurred()) SWIG_fail
;
38634 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
38641 SWIGINTERN PyObject
*_wrap_Window_SetCaret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38642 PyObject
*resultobj
= 0;
38643 wxWindow
*arg1
= (wxWindow
*) 0 ;
38644 wxCaret
*arg2
= (wxCaret
*) 0 ;
38648 PyObject
* obj0
= 0 ;
38649 PyObject
* obj1
= 0 ;
38650 char * kwnames
[] = {
38651 (char *) "self",(char *) "caret", NULL
38654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38656 if (!SWIG_IsOK(res1
)) {
38657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetCaret" "', expected argument " "1"" of type '" "wxWindow *""'");
38659 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38660 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxCaret
, SWIG_POINTER_DISOWN
| 0 );
38661 if (!SWIG_IsOK(res2
)) {
38662 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetCaret" "', expected argument " "2"" of type '" "wxCaret *""'");
38665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38666 (arg1
)->SetCaret(arg2
);
38667 wxPyEndAllowThreads(__tstate
);
38668 if (PyErr_Occurred()) SWIG_fail
;
38670 resultobj
= SWIG_Py_Void();
38677 SWIGINTERN PyObject
*_wrap_Window_GetCaret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38678 PyObject
*resultobj
= 0;
38679 wxWindow
*arg1
= (wxWindow
*) 0 ;
38680 wxCaret
*result
= 0 ;
38683 PyObject
*swig_obj
[1] ;
38685 if (!args
) SWIG_fail
;
38686 swig_obj
[0] = args
;
38687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38688 if (!SWIG_IsOK(res1
)) {
38689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetCaret" "', expected argument " "1"" of type '" "wxWindow const *""'");
38691 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38694 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
38695 wxPyEndAllowThreads(__tstate
);
38696 if (PyErr_Occurred()) SWIG_fail
;
38698 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCaret
, 0 | 0 );
38705 SWIGINTERN PyObject
*_wrap_Window_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38706 PyObject
*resultobj
= 0;
38707 wxWindow
*arg1
= (wxWindow
*) 0 ;
38711 PyObject
*swig_obj
[1] ;
38713 if (!args
) SWIG_fail
;
38714 swig_obj
[0] = args
;
38715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38716 if (!SWIG_IsOK(res1
)) {
38717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetCharHeight" "', expected argument " "1"" of type '" "wxWindow const *""'");
38719 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38722 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
38723 wxPyEndAllowThreads(__tstate
);
38724 if (PyErr_Occurred()) SWIG_fail
;
38726 resultobj
= SWIG_From_int(static_cast< int >(result
));
38733 SWIGINTERN PyObject
*_wrap_Window_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38734 PyObject
*resultobj
= 0;
38735 wxWindow
*arg1
= (wxWindow
*) 0 ;
38739 PyObject
*swig_obj
[1] ;
38741 if (!args
) SWIG_fail
;
38742 swig_obj
[0] = args
;
38743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38744 if (!SWIG_IsOK(res1
)) {
38745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetCharWidth" "', expected argument " "1"" of type '" "wxWindow const *""'");
38747 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38750 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
38751 wxPyEndAllowThreads(__tstate
);
38752 if (PyErr_Occurred()) SWIG_fail
;
38754 resultobj
= SWIG_From_int(static_cast< int >(result
));
38761 SWIGINTERN PyObject
*_wrap_Window_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38762 PyObject
*resultobj
= 0;
38763 wxWindow
*arg1
= (wxWindow
*) 0 ;
38764 wxString
*arg2
= 0 ;
38765 int *arg3
= (int *) 0 ;
38766 int *arg4
= (int *) 0 ;
38769 bool temp2
= false ;
38771 int res3
= SWIG_TMPOBJ
;
38773 int res4
= SWIG_TMPOBJ
;
38774 PyObject
* obj0
= 0 ;
38775 PyObject
* obj1
= 0 ;
38776 char * kwnames
[] = {
38777 (char *) "self",(char *) "string", NULL
38782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38784 if (!SWIG_IsOK(res1
)) {
38785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetTextExtent" "', expected argument " "1"" of type '" "wxWindow *""'");
38787 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38789 arg2
= wxString_in_helper(obj1
);
38790 if (arg2
== NULL
) SWIG_fail
;
38794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38795 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
38796 wxPyEndAllowThreads(__tstate
);
38797 if (PyErr_Occurred()) SWIG_fail
;
38799 resultobj
= SWIG_Py_Void();
38800 if (SWIG_IsTmpObj(res3
)) {
38801 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38803 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38804 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38806 if (SWIG_IsTmpObj(res4
)) {
38807 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
38809 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38810 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
38826 SWIGINTERN PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38827 PyObject
*resultobj
= 0;
38828 wxWindow
*arg1
= (wxWindow
*) 0 ;
38829 wxString
*arg2
= 0 ;
38830 int *arg3
= (int *) 0 ;
38831 int *arg4
= (int *) 0 ;
38832 int *arg5
= (int *) 0 ;
38833 int *arg6
= (int *) 0 ;
38834 wxFont
*arg7
= (wxFont
*) NULL
;
38837 bool temp2
= false ;
38839 int res3
= SWIG_TMPOBJ
;
38841 int res4
= SWIG_TMPOBJ
;
38843 int res5
= SWIG_TMPOBJ
;
38845 int res6
= SWIG_TMPOBJ
;
38848 PyObject
* obj0
= 0 ;
38849 PyObject
* obj1
= 0 ;
38850 PyObject
* obj2
= 0 ;
38851 char * kwnames
[] = {
38852 (char *) "self",(char *) "string",(char *) "font", NULL
38859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38861 if (!SWIG_IsOK(res1
)) {
38862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetFullTextExtent" "', expected argument " "1"" of type '" "wxWindow *""'");
38864 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38866 arg2
= wxString_in_helper(obj1
);
38867 if (arg2
== NULL
) SWIG_fail
;
38871 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
38872 if (!SWIG_IsOK(res7
)) {
38873 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "Window_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont const *""'");
38875 arg7
= reinterpret_cast< wxFont
* >(argp7
);
38878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38879 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
38880 wxPyEndAllowThreads(__tstate
);
38881 if (PyErr_Occurred()) SWIG_fail
;
38883 resultobj
= SWIG_Py_Void();
38884 if (SWIG_IsTmpObj(res3
)) {
38885 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38887 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38888 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38890 if (SWIG_IsTmpObj(res4
)) {
38891 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
38893 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38894 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
38896 if (SWIG_IsTmpObj(res5
)) {
38897 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
38899 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38900 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
38902 if (SWIG_IsTmpObj(res6
)) {
38903 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
38905 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38906 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
38922 SWIGINTERN PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38923 PyObject
*resultobj
= 0;
38924 wxWindow
*arg1
= (wxWindow
*) 0 ;
38925 int *arg2
= (int *) 0 ;
38926 int *arg3
= (int *) 0 ;
38933 PyObject
* obj0
= 0 ;
38934 PyObject
* obj1
= 0 ;
38935 PyObject
* obj2
= 0 ;
38936 char * kwnames
[] = {
38937 (char *) "self",(char *) "x",(char *) "y", NULL
38940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38942 if (!SWIG_IsOK(res1
)) {
38943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ClientToScreenXY" "', expected argument " "1"" of type '" "wxWindow const *""'");
38945 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38946 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_int
,0))))) {
38948 int ecode
= SWIG_AsVal_int(obj1
, &val
);
38949 if (!SWIG_IsOK(ecode
)) {
38950 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "Window_ClientToScreenXY" "', expected argument " "2"" of type '" "int""'");
38952 temp2
= static_cast< int >(val
);
38954 res2
= SWIG_AddTmpMask(ecode
);
38956 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_int
,0))))) {
38958 int ecode
= SWIG_AsVal_int(obj2
, &val
);
38959 if (!SWIG_IsOK(ecode
)) {
38960 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "Window_ClientToScreenXY" "', expected argument " "3"" of type '" "int""'");
38962 temp3
= static_cast< int >(val
);
38964 res3
= SWIG_AddTmpMask(ecode
);
38967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38968 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
38969 wxPyEndAllowThreads(__tstate
);
38970 if (PyErr_Occurred()) SWIG_fail
;
38972 resultobj
= SWIG_Py_Void();
38973 if (SWIG_IsTmpObj(res2
)) {
38974 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38976 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38977 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38979 if (SWIG_IsTmpObj(res3
)) {
38980 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38982 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38983 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38991 SWIGINTERN PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38992 PyObject
*resultobj
= 0;
38993 wxWindow
*arg1
= (wxWindow
*) 0 ;
38994 int *arg2
= (int *) 0 ;
38995 int *arg3
= (int *) 0 ;
39002 PyObject
* obj0
= 0 ;
39003 PyObject
* obj1
= 0 ;
39004 PyObject
* obj2
= 0 ;
39005 char * kwnames
[] = {
39006 (char *) "self",(char *) "x",(char *) "y", NULL
39009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39011 if (!SWIG_IsOK(res1
)) {
39012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ScreenToClientXY" "', expected argument " "1"" of type '" "wxWindow const *""'");
39014 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39015 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_int
,0))))) {
39017 int ecode
= SWIG_AsVal_int(obj1
, &val
);
39018 if (!SWIG_IsOK(ecode
)) {
39019 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "Window_ScreenToClientXY" "', expected argument " "2"" of type '" "int""'");
39021 temp2
= static_cast< int >(val
);
39023 res2
= SWIG_AddTmpMask(ecode
);
39025 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_int
,0))))) {
39027 int ecode
= SWIG_AsVal_int(obj2
, &val
);
39028 if (!SWIG_IsOK(ecode
)) {
39029 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "Window_ScreenToClientXY" "', expected argument " "3"" of type '" "int""'");
39031 temp3
= static_cast< int >(val
);
39033 res3
= SWIG_AddTmpMask(ecode
);
39036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39037 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
39038 wxPyEndAllowThreads(__tstate
);
39039 if (PyErr_Occurred()) SWIG_fail
;
39041 resultobj
= SWIG_Py_Void();
39042 if (SWIG_IsTmpObj(res2
)) {
39043 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39045 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39046 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39048 if (SWIG_IsTmpObj(res3
)) {
39049 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39051 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39052 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39060 SWIGINTERN PyObject
*_wrap_Window_ClientToScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39061 PyObject
*resultobj
= 0;
39062 wxWindow
*arg1
= (wxWindow
*) 0 ;
39063 wxPoint
*arg2
= 0 ;
39068 PyObject
* obj0
= 0 ;
39069 PyObject
* obj1
= 0 ;
39070 char * kwnames
[] = {
39071 (char *) "self",(char *) "pt", NULL
39074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39076 if (!SWIG_IsOK(res1
)) {
39077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ClientToScreen" "', expected argument " "1"" of type '" "wxWindow const *""'");
39079 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39082 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39086 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
39087 wxPyEndAllowThreads(__tstate
);
39088 if (PyErr_Occurred()) SWIG_fail
;
39090 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
39097 SWIGINTERN PyObject
*_wrap_Window_ScreenToClient(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39098 PyObject
*resultobj
= 0;
39099 wxWindow
*arg1
= (wxWindow
*) 0 ;
39100 wxPoint
*arg2
= 0 ;
39105 PyObject
* obj0
= 0 ;
39106 PyObject
* obj1
= 0 ;
39107 char * kwnames
[] = {
39108 (char *) "self",(char *) "pt", NULL
39111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39113 if (!SWIG_IsOK(res1
)) {
39114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ScreenToClient" "', expected argument " "1"" of type '" "wxWindow const *""'");
39116 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39119 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39123 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
39124 wxPyEndAllowThreads(__tstate
);
39125 if (PyErr_Occurred()) SWIG_fail
;
39127 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
39134 SWIGINTERN PyObject
*_wrap_Window_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39135 PyObject
*resultobj
= 0;
39136 wxWindow
*arg1
= (wxWindow
*) 0 ;
39146 PyObject
* obj0
= 0 ;
39147 PyObject
* obj1
= 0 ;
39148 PyObject
* obj2
= 0 ;
39149 char * kwnames
[] = {
39150 (char *) "self",(char *) "x",(char *) "y", NULL
39153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39155 if (!SWIG_IsOK(res1
)) {
39156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_HitTestXY" "', expected argument " "1"" of type '" "wxWindow const *""'");
39158 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39159 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39160 if (!SWIG_IsOK(ecode2
)) {
39161 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_HitTestXY" "', expected argument " "2"" of type '" "int""'");
39163 arg2
= static_cast< int >(val2
);
39164 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39165 if (!SWIG_IsOK(ecode3
)) {
39166 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_HitTestXY" "', expected argument " "3"" of type '" "int""'");
39168 arg3
= static_cast< int >(val3
);
39170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39171 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
39172 wxPyEndAllowThreads(__tstate
);
39173 if (PyErr_Occurred()) SWIG_fail
;
39175 resultobj
= SWIG_From_int(static_cast< int >(result
));
39182 SWIGINTERN PyObject
*_wrap_Window_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39183 PyObject
*resultobj
= 0;
39184 wxWindow
*arg1
= (wxWindow
*) 0 ;
39185 wxPoint
*arg2
= 0 ;
39190 PyObject
* obj0
= 0 ;
39191 PyObject
* obj1
= 0 ;
39192 char * kwnames
[] = {
39193 (char *) "self",(char *) "pt", NULL
39196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39198 if (!SWIG_IsOK(res1
)) {
39199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_HitTest" "', expected argument " "1"" of type '" "wxWindow const *""'");
39201 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39204 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39208 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
39209 wxPyEndAllowThreads(__tstate
);
39210 if (PyErr_Occurred()) SWIG_fail
;
39212 resultobj
= SWIG_From_int(static_cast< int >(result
));
39219 SWIGINTERN PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
39220 PyObject
*resultobj
= 0;
39221 wxWindow
*arg1
= (wxWindow
*) 0 ;
39229 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
39230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39231 if (!SWIG_IsOK(res1
)) {
39232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBorder" "', expected argument " "1"" of type '" "wxWindow const *""'");
39234 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39235 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
39236 if (!SWIG_IsOK(ecode2
)) {
39237 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_GetBorder" "', expected argument " "2"" of type '" "long""'");
39239 arg2
= static_cast< long >(val2
);
39241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39242 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder(arg2
);
39243 wxPyEndAllowThreads(__tstate
);
39244 if (PyErr_Occurred()) SWIG_fail
;
39246 resultobj
= SWIG_From_int(static_cast< int >(result
));
39253 SWIGINTERN PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
39254 PyObject
*resultobj
= 0;
39255 wxWindow
*arg1
= (wxWindow
*) 0 ;
39260 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
39261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39262 if (!SWIG_IsOK(res1
)) {
39263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBorder" "', expected argument " "1"" of type '" "wxWindow const *""'");
39265 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39268 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder();
39269 wxPyEndAllowThreads(__tstate
);
39270 if (PyErr_Occurred()) SWIG_fail
;
39272 resultobj
= SWIG_From_int(static_cast< int >(result
));
39279 SWIGINTERN PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
39283 if (!(argc
= SWIG_Python_UnpackTuple(args
,"Window_GetBorder",0,2,argv
))) SWIG_fail
;
39286 return _wrap_Window_GetBorder__SWIG_1(self
, argc
, argv
);
39289 return _wrap_Window_GetBorder__SWIG_0(self
, argc
, argv
);
39293 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'Window_GetBorder'");
39298 SWIGINTERN PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39299 PyObject
*resultobj
= 0;
39300 wxWindow
*arg1
= (wxWindow
*) 0 ;
39301 long arg2
= (long) wxUPDATE_UI_NONE
;
39306 PyObject
* obj0
= 0 ;
39307 PyObject
* obj1
= 0 ;
39308 char * kwnames
[] = {
39309 (char *) "self",(char *) "flags", NULL
39312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39314 if (!SWIG_IsOK(res1
)) {
39315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_UpdateWindowUI" "', expected argument " "1"" of type '" "wxWindow *""'");
39317 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39319 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
39320 if (!SWIG_IsOK(ecode2
)) {
39321 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_UpdateWindowUI" "', expected argument " "2"" of type '" "long""'");
39323 arg2
= static_cast< long >(val2
);
39326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39327 (arg1
)->UpdateWindowUI(arg2
);
39328 wxPyEndAllowThreads(__tstate
);
39329 if (PyErr_Occurred()) SWIG_fail
;
39331 resultobj
= SWIG_Py_Void();
39338 SWIGINTERN PyObject
*_wrap_Window_PopupMenuXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39339 PyObject
*resultobj
= 0;
39340 wxWindow
*arg1
= (wxWindow
*) 0 ;
39341 wxMenu
*arg2
= (wxMenu
*) 0 ;
39342 int arg3
= (int) -1 ;
39343 int arg4
= (int) -1 ;
39353 PyObject
* obj0
= 0 ;
39354 PyObject
* obj1
= 0 ;
39355 PyObject
* obj2
= 0 ;
39356 PyObject
* obj3
= 0 ;
39357 char * kwnames
[] = {
39358 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
39361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39363 if (!SWIG_IsOK(res1
)) {
39364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PopupMenuXY" "', expected argument " "1"" of type '" "wxWindow *""'");
39366 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39367 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39368 if (!SWIG_IsOK(res2
)) {
39369 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_PopupMenuXY" "', expected argument " "2"" of type '" "wxMenu *""'");
39371 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
39373 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39374 if (!SWIG_IsOK(ecode3
)) {
39375 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_PopupMenuXY" "', expected argument " "3"" of type '" "int""'");
39377 arg3
= static_cast< int >(val3
);
39380 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39381 if (!SWIG_IsOK(ecode4
)) {
39382 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_PopupMenuXY" "', expected argument " "4"" of type '" "int""'");
39384 arg4
= static_cast< int >(val4
);
39387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39388 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
39389 wxPyEndAllowThreads(__tstate
);
39390 if (PyErr_Occurred()) SWIG_fail
;
39393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39401 SWIGINTERN PyObject
*_wrap_Window_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39402 PyObject
*resultobj
= 0;
39403 wxWindow
*arg1
= (wxWindow
*) 0 ;
39404 wxMenu
*arg2
= (wxMenu
*) 0 ;
39405 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39406 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39413 PyObject
* obj0
= 0 ;
39414 PyObject
* obj1
= 0 ;
39415 PyObject
* obj2
= 0 ;
39416 char * kwnames
[] = {
39417 (char *) "self",(char *) "menu",(char *) "pos", NULL
39420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39422 if (!SWIG_IsOK(res1
)) {
39423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PopupMenu" "', expected argument " "1"" of type '" "wxWindow *""'");
39425 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39426 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39427 if (!SWIG_IsOK(res2
)) {
39428 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
39430 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
39434 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39439 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
39440 wxPyEndAllowThreads(__tstate
);
39441 if (PyErr_Occurred()) SWIG_fail
;
39444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39452 SWIGINTERN PyObject
*_wrap_Window_HasMultiplePages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39453 PyObject
*resultobj
= 0;
39454 wxWindow
*arg1
= (wxWindow
*) 0 ;
39458 PyObject
*swig_obj
[1] ;
39460 if (!args
) SWIG_fail
;
39461 swig_obj
[0] = args
;
39462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39463 if (!SWIG_IsOK(res1
)) {
39464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_HasMultiplePages" "', expected argument " "1"" of type '" "wxWindow const *""'");
39466 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39469 result
= (bool)((wxWindow
const *)arg1
)->HasMultiplePages();
39470 wxPyEndAllowThreads(__tstate
);
39471 if (PyErr_Occurred()) SWIG_fail
;
39474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39482 SWIGINTERN PyObject
*_wrap_Window_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39483 PyObject
*resultobj
= 0;
39484 wxWindow
*arg1
= (wxWindow
*) 0 ;
39488 PyObject
*swig_obj
[1] ;
39490 if (!args
) SWIG_fail
;
39491 swig_obj
[0] = args
;
39492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39493 if (!SWIG_IsOK(res1
)) {
39494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetHandle" "', expected argument " "1"" of type '" "wxWindow *""'");
39496 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39499 result
= (long)wxWindow_GetHandle(arg1
);
39500 wxPyEndAllowThreads(__tstate
);
39501 if (PyErr_Occurred()) SWIG_fail
;
39503 resultobj
= SWIG_From_long(static_cast< long >(result
));
39510 SWIGINTERN PyObject
*_wrap_Window_AssociateHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39511 PyObject
*resultobj
= 0;
39512 wxWindow
*arg1
= (wxWindow
*) 0 ;
39518 PyObject
* obj0
= 0 ;
39519 PyObject
* obj1
= 0 ;
39520 char * kwnames
[] = {
39521 (char *) "self",(char *) "handle", NULL
39524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AssociateHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39526 if (!SWIG_IsOK(res1
)) {
39527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_AssociateHandle" "', expected argument " "1"" of type '" "wxWindow *""'");
39529 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39530 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
39531 if (!SWIG_IsOK(ecode2
)) {
39532 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_AssociateHandle" "', expected argument " "2"" of type '" "long""'");
39534 arg2
= static_cast< long >(val2
);
39536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39537 wxWindow_AssociateHandle(arg1
,arg2
);
39538 wxPyEndAllowThreads(__tstate
);
39539 if (PyErr_Occurred()) SWIG_fail
;
39541 resultobj
= SWIG_Py_Void();
39548 SWIGINTERN PyObject
*_wrap_Window_DissociateHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39549 PyObject
*resultobj
= 0;
39550 wxWindow
*arg1
= (wxWindow
*) 0 ;
39553 PyObject
*swig_obj
[1] ;
39555 if (!args
) SWIG_fail
;
39556 swig_obj
[0] = args
;
39557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39558 if (!SWIG_IsOK(res1
)) {
39559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_DissociateHandle" "', expected argument " "1"" of type '" "wxWindow *""'");
39561 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39564 (arg1
)->DissociateHandle();
39565 wxPyEndAllowThreads(__tstate
);
39566 if (PyErr_Occurred()) SWIG_fail
;
39568 resultobj
= SWIG_Py_Void();
39575 SWIGINTERN PyObject
*_wrap_Window_OnPaint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39576 PyObject
*resultobj
= 0;
39577 wxWindow
*arg1
= (wxWindow
*) 0 ;
39578 wxPaintEvent
*arg2
= 0 ;
39583 PyObject
* obj0
= 0 ;
39584 PyObject
* obj1
= 0 ;
39585 char * kwnames
[] = {
39586 (char *) "self",(char *) "event", NULL
39589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_OnPaint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39591 if (!SWIG_IsOK(res1
)) {
39592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_OnPaint" "', expected argument " "1"" of type '" "wxWindow *""'");
39594 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39595 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPaintEvent
, 0 );
39596 if (!SWIG_IsOK(res2
)) {
39597 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_OnPaint" "', expected argument " "2"" of type '" "wxPaintEvent &""'");
39600 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_OnPaint" "', expected argument " "2"" of type '" "wxPaintEvent &""'");
39602 arg2
= reinterpret_cast< wxPaintEvent
* >(argp2
);
39604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39605 (arg1
)->OnPaint(*arg2
);
39606 wxPyEndAllowThreads(__tstate
);
39607 if (PyErr_Occurred()) SWIG_fail
;
39609 resultobj
= SWIG_Py_Void();
39616 SWIGINTERN PyObject
*_wrap_Window_HasScrollbar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39617 PyObject
*resultobj
= 0;
39618 wxWindow
*arg1
= (wxWindow
*) 0 ;
39625 PyObject
* obj0
= 0 ;
39626 PyObject
* obj1
= 0 ;
39627 char * kwnames
[] = {
39628 (char *) "self",(char *) "orient", NULL
39631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39633 if (!SWIG_IsOK(res1
)) {
39634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_HasScrollbar" "', expected argument " "1"" of type '" "wxWindow const *""'");
39636 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39637 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39638 if (!SWIG_IsOK(ecode2
)) {
39639 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_HasScrollbar" "', expected argument " "2"" of type '" "int""'");
39641 arg2
= static_cast< int >(val2
);
39643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39644 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
39645 wxPyEndAllowThreads(__tstate
);
39646 if (PyErr_Occurred()) SWIG_fail
;
39649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39657 SWIGINTERN PyObject
*_wrap_Window_SetScrollbar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39658 PyObject
*resultobj
= 0;
39659 wxWindow
*arg1
= (wxWindow
*) 0 ;
39664 bool arg6
= (bool) true ;
39677 PyObject
* obj0
= 0 ;
39678 PyObject
* obj1
= 0 ;
39679 PyObject
* obj2
= 0 ;
39680 PyObject
* obj3
= 0 ;
39681 PyObject
* obj4
= 0 ;
39682 PyObject
* obj5
= 0 ;
39683 char * kwnames
[] = {
39684 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
39687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
39688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39689 if (!SWIG_IsOK(res1
)) {
39690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetScrollbar" "', expected argument " "1"" of type '" "wxWindow *""'");
39692 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39693 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39694 if (!SWIG_IsOK(ecode2
)) {
39695 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetScrollbar" "', expected argument " "2"" of type '" "int""'");
39697 arg2
= static_cast< int >(val2
);
39698 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39699 if (!SWIG_IsOK(ecode3
)) {
39700 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetScrollbar" "', expected argument " "3"" of type '" "int""'");
39702 arg3
= static_cast< int >(val3
);
39703 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39704 if (!SWIG_IsOK(ecode4
)) {
39705 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_SetScrollbar" "', expected argument " "4"" of type '" "int""'");
39707 arg4
= static_cast< int >(val4
);
39708 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
39709 if (!SWIG_IsOK(ecode5
)) {
39710 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Window_SetScrollbar" "', expected argument " "5"" of type '" "int""'");
39712 arg5
= static_cast< int >(val5
);
39714 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
39715 if (!SWIG_IsOK(ecode6
)) {
39716 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Window_SetScrollbar" "', expected argument " "6"" of type '" "bool""'");
39718 arg6
= static_cast< bool >(val6
);
39721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39722 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
39723 wxPyEndAllowThreads(__tstate
);
39724 if (PyErr_Occurred()) SWIG_fail
;
39726 resultobj
= SWIG_Py_Void();
39733 SWIGINTERN PyObject
*_wrap_Window_SetScrollPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39734 PyObject
*resultobj
= 0;
39735 wxWindow
*arg1
= (wxWindow
*) 0 ;
39738 bool arg4
= (bool) true ;
39747 PyObject
* obj0
= 0 ;
39748 PyObject
* obj1
= 0 ;
39749 PyObject
* obj2
= 0 ;
39750 PyObject
* obj3
= 0 ;
39751 char * kwnames
[] = {
39752 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
39755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39757 if (!SWIG_IsOK(res1
)) {
39758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetScrollPos" "', expected argument " "1"" of type '" "wxWindow *""'");
39760 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39761 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39762 if (!SWIG_IsOK(ecode2
)) {
39763 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetScrollPos" "', expected argument " "2"" of type '" "int""'");
39765 arg2
= static_cast< int >(val2
);
39766 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39767 if (!SWIG_IsOK(ecode3
)) {
39768 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetScrollPos" "', expected argument " "3"" of type '" "int""'");
39770 arg3
= static_cast< int >(val3
);
39772 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
39773 if (!SWIG_IsOK(ecode4
)) {
39774 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_SetScrollPos" "', expected argument " "4"" of type '" "bool""'");
39776 arg4
= static_cast< bool >(val4
);
39779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39780 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
39781 wxPyEndAllowThreads(__tstate
);
39782 if (PyErr_Occurred()) SWIG_fail
;
39784 resultobj
= SWIG_Py_Void();
39791 SWIGINTERN PyObject
*_wrap_Window_GetScrollPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39792 PyObject
*resultobj
= 0;
39793 wxWindow
*arg1
= (wxWindow
*) 0 ;
39800 PyObject
* obj0
= 0 ;
39801 PyObject
* obj1
= 0 ;
39802 char * kwnames
[] = {
39803 (char *) "self",(char *) "orientation", NULL
39806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39808 if (!SWIG_IsOK(res1
)) {
39809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetScrollPos" "', expected argument " "1"" of type '" "wxWindow const *""'");
39811 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39812 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39813 if (!SWIG_IsOK(ecode2
)) {
39814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_GetScrollPos" "', expected argument " "2"" of type '" "int""'");
39816 arg2
= static_cast< int >(val2
);
39818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39819 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
39820 wxPyEndAllowThreads(__tstate
);
39821 if (PyErr_Occurred()) SWIG_fail
;
39823 resultobj
= SWIG_From_int(static_cast< int >(result
));
39830 SWIGINTERN PyObject
*_wrap_Window_GetScrollThumb(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39831 PyObject
*resultobj
= 0;
39832 wxWindow
*arg1
= (wxWindow
*) 0 ;
39839 PyObject
* obj0
= 0 ;
39840 PyObject
* obj1
= 0 ;
39841 char * kwnames
[] = {
39842 (char *) "self",(char *) "orientation", NULL
39845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39847 if (!SWIG_IsOK(res1
)) {
39848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetScrollThumb" "', expected argument " "1"" of type '" "wxWindow const *""'");
39850 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39851 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39852 if (!SWIG_IsOK(ecode2
)) {
39853 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_GetScrollThumb" "', expected argument " "2"" of type '" "int""'");
39855 arg2
= static_cast< int >(val2
);
39857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39858 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
39859 wxPyEndAllowThreads(__tstate
);
39860 if (PyErr_Occurred()) SWIG_fail
;
39862 resultobj
= SWIG_From_int(static_cast< int >(result
));
39869 SWIGINTERN PyObject
*_wrap_Window_GetScrollRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39870 PyObject
*resultobj
= 0;
39871 wxWindow
*arg1
= (wxWindow
*) 0 ;
39878 PyObject
* obj0
= 0 ;
39879 PyObject
* obj1
= 0 ;
39880 char * kwnames
[] = {
39881 (char *) "self",(char *) "orientation", NULL
39884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39886 if (!SWIG_IsOK(res1
)) {
39887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetScrollRange" "', expected argument " "1"" of type '" "wxWindow const *""'");
39889 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39890 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39891 if (!SWIG_IsOK(ecode2
)) {
39892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_GetScrollRange" "', expected argument " "2"" of type '" "int""'");
39894 arg2
= static_cast< int >(val2
);
39896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39897 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
39898 wxPyEndAllowThreads(__tstate
);
39899 if (PyErr_Occurred()) SWIG_fail
;
39901 resultobj
= SWIG_From_int(static_cast< int >(result
));
39908 SWIGINTERN PyObject
*_wrap_Window_ScrollWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39909 PyObject
*resultobj
= 0;
39910 wxWindow
*arg1
= (wxWindow
*) 0 ;
39913 wxRect
*arg4
= (wxRect
*) NULL
;
39922 PyObject
* obj0
= 0 ;
39923 PyObject
* obj1
= 0 ;
39924 PyObject
* obj2
= 0 ;
39925 PyObject
* obj3
= 0 ;
39926 char * kwnames
[] = {
39927 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
39930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39932 if (!SWIG_IsOK(res1
)) {
39933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ScrollWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
39935 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39936 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39937 if (!SWIG_IsOK(ecode2
)) {
39938 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_ScrollWindow" "', expected argument " "2"" of type '" "int""'");
39940 arg2
= static_cast< int >(val2
);
39941 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39942 if (!SWIG_IsOK(ecode3
)) {
39943 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_ScrollWindow" "', expected argument " "3"" of type '" "int""'");
39945 arg3
= static_cast< int >(val3
);
39947 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
39948 if (!SWIG_IsOK(res4
)) {
39949 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Window_ScrollWindow" "', expected argument " "4"" of type '" "wxRect const *""'");
39951 arg4
= reinterpret_cast< wxRect
* >(argp4
);
39954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39955 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
39956 wxPyEndAllowThreads(__tstate
);
39957 if (PyErr_Occurred()) SWIG_fail
;
39959 resultobj
= SWIG_Py_Void();
39966 SWIGINTERN PyObject
*_wrap_Window_ScrollLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39967 PyObject
*resultobj
= 0;
39968 wxWindow
*arg1
= (wxWindow
*) 0 ;
39975 PyObject
* obj0
= 0 ;
39976 PyObject
* obj1
= 0 ;
39977 char * kwnames
[] = {
39978 (char *) "self",(char *) "lines", NULL
39981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39983 if (!SWIG_IsOK(res1
)) {
39984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ScrollLines" "', expected argument " "1"" of type '" "wxWindow *""'");
39986 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39987 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39988 if (!SWIG_IsOK(ecode2
)) {
39989 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_ScrollLines" "', expected argument " "2"" of type '" "int""'");
39991 arg2
= static_cast< int >(val2
);
39993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39994 result
= (bool)(arg1
)->ScrollLines(arg2
);
39995 wxPyEndAllowThreads(__tstate
);
39996 if (PyErr_Occurred()) SWIG_fail
;
39999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40007 SWIGINTERN PyObject
*_wrap_Window_ScrollPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40008 PyObject
*resultobj
= 0;
40009 wxWindow
*arg1
= (wxWindow
*) 0 ;
40016 PyObject
* obj0
= 0 ;
40017 PyObject
* obj1
= 0 ;
40018 char * kwnames
[] = {
40019 (char *) "self",(char *) "pages", NULL
40022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40024 if (!SWIG_IsOK(res1
)) {
40025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ScrollPages" "', expected argument " "1"" of type '" "wxWindow *""'");
40027 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40028 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40029 if (!SWIG_IsOK(ecode2
)) {
40030 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_ScrollPages" "', expected argument " "2"" of type '" "int""'");
40032 arg2
= static_cast< int >(val2
);
40034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40035 result
= (bool)(arg1
)->ScrollPages(arg2
);
40036 wxPyEndAllowThreads(__tstate
);
40037 if (PyErr_Occurred()) SWIG_fail
;
40040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40048 SWIGINTERN PyObject
*_wrap_Window_LineUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40049 PyObject
*resultobj
= 0;
40050 wxWindow
*arg1
= (wxWindow
*) 0 ;
40054 PyObject
*swig_obj
[1] ;
40056 if (!args
) SWIG_fail
;
40057 swig_obj
[0] = args
;
40058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40059 if (!SWIG_IsOK(res1
)) {
40060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_LineUp" "', expected argument " "1"" of type '" "wxWindow *""'");
40062 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40065 result
= (bool)(arg1
)->LineUp();
40066 wxPyEndAllowThreads(__tstate
);
40067 if (PyErr_Occurred()) SWIG_fail
;
40070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40078 SWIGINTERN PyObject
*_wrap_Window_LineDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40079 PyObject
*resultobj
= 0;
40080 wxWindow
*arg1
= (wxWindow
*) 0 ;
40084 PyObject
*swig_obj
[1] ;
40086 if (!args
) SWIG_fail
;
40087 swig_obj
[0] = args
;
40088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40089 if (!SWIG_IsOK(res1
)) {
40090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_LineDown" "', expected argument " "1"" of type '" "wxWindow *""'");
40092 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40095 result
= (bool)(arg1
)->LineDown();
40096 wxPyEndAllowThreads(__tstate
);
40097 if (PyErr_Occurred()) SWIG_fail
;
40100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40108 SWIGINTERN PyObject
*_wrap_Window_PageUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40109 PyObject
*resultobj
= 0;
40110 wxWindow
*arg1
= (wxWindow
*) 0 ;
40114 PyObject
*swig_obj
[1] ;
40116 if (!args
) SWIG_fail
;
40117 swig_obj
[0] = args
;
40118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40119 if (!SWIG_IsOK(res1
)) {
40120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PageUp" "', expected argument " "1"" of type '" "wxWindow *""'");
40122 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40125 result
= (bool)(arg1
)->PageUp();
40126 wxPyEndAllowThreads(__tstate
);
40127 if (PyErr_Occurred()) SWIG_fail
;
40130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40138 SWIGINTERN PyObject
*_wrap_Window_PageDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40139 PyObject
*resultobj
= 0;
40140 wxWindow
*arg1
= (wxWindow
*) 0 ;
40144 PyObject
*swig_obj
[1] ;
40146 if (!args
) SWIG_fail
;
40147 swig_obj
[0] = args
;
40148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40149 if (!SWIG_IsOK(res1
)) {
40150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PageDown" "', expected argument " "1"" of type '" "wxWindow *""'");
40152 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40155 result
= (bool)(arg1
)->PageDown();
40156 wxPyEndAllowThreads(__tstate
);
40157 if (PyErr_Occurred()) SWIG_fail
;
40160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40168 SWIGINTERN PyObject
*_wrap_Window_SetHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40169 PyObject
*resultobj
= 0;
40170 wxWindow
*arg1
= (wxWindow
*) 0 ;
40171 wxString
*arg2
= 0 ;
40174 bool temp2
= false ;
40175 PyObject
* obj0
= 0 ;
40176 PyObject
* obj1
= 0 ;
40177 char * kwnames
[] = {
40178 (char *) "self",(char *) "text", NULL
40181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40183 if (!SWIG_IsOK(res1
)) {
40184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetHelpText" "', expected argument " "1"" of type '" "wxWindow *""'");
40186 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40188 arg2
= wxString_in_helper(obj1
);
40189 if (arg2
== NULL
) SWIG_fail
;
40193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40194 (arg1
)->SetHelpText((wxString
const &)*arg2
);
40195 wxPyEndAllowThreads(__tstate
);
40196 if (PyErr_Occurred()) SWIG_fail
;
40198 resultobj
= SWIG_Py_Void();
40213 SWIGINTERN PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40214 PyObject
*resultobj
= 0;
40215 wxWindow
*arg1
= (wxWindow
*) 0 ;
40216 wxString
*arg2
= 0 ;
40219 bool temp2
= false ;
40220 PyObject
* obj0
= 0 ;
40221 PyObject
* obj1
= 0 ;
40222 char * kwnames
[] = {
40223 (char *) "self",(char *) "text", NULL
40226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40228 if (!SWIG_IsOK(res1
)) {
40229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetHelpTextForId" "', expected argument " "1"" of type '" "wxWindow *""'");
40231 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40233 arg2
= wxString_in_helper(obj1
);
40234 if (arg2
== NULL
) SWIG_fail
;
40238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40239 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
40240 wxPyEndAllowThreads(__tstate
);
40241 if (PyErr_Occurred()) SWIG_fail
;
40243 resultobj
= SWIG_Py_Void();
40258 SWIGINTERN PyObject
*_wrap_Window_GetHelpTextAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40259 PyObject
*resultobj
= 0;
40260 wxWindow
*arg1
= (wxWindow
*) 0 ;
40261 wxPoint
*arg2
= 0 ;
40262 wxHelpEvent::Origin arg3
;
40269 PyObject
* obj0
= 0 ;
40270 PyObject
* obj1
= 0 ;
40271 PyObject
* obj2
= 0 ;
40272 char * kwnames
[] = {
40273 (char *) "self",(char *) "pt",(char *) "origin", NULL
40276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_GetHelpTextAtPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40278 if (!SWIG_IsOK(res1
)) {
40279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetHelpTextAtPoint" "', expected argument " "1"" of type '" "wxWindow const *""'");
40281 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40284 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40287 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHelpEvent__Origin
, 0 | 0);
40288 if (!SWIG_IsOK(res3
)) {
40289 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Window_GetHelpTextAtPoint" "', expected argument " "3"" of type '" "wxHelpEvent::Origin""'");
40292 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_GetHelpTextAtPoint" "', expected argument " "3"" of type '" "wxHelpEvent::Origin""'");
40294 wxHelpEvent::Origin
* temp
= reinterpret_cast< wxHelpEvent::Origin
* >(argp3
);
40296 if (SWIG_IsNewObj(res3
)) delete temp
;
40300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40301 result
= ((wxWindow
const *)arg1
)->GetHelpTextAtPoint((wxPoint
const &)*arg2
,arg3
);
40302 wxPyEndAllowThreads(__tstate
);
40303 if (PyErr_Occurred()) SWIG_fail
;
40307 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
40309 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
40318 SWIGINTERN PyObject
*_wrap_Window_GetHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40319 PyObject
*resultobj
= 0;
40320 wxWindow
*arg1
= (wxWindow
*) 0 ;
40324 PyObject
*swig_obj
[1] ;
40326 if (!args
) SWIG_fail
;
40327 swig_obj
[0] = args
;
40328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40329 if (!SWIG_IsOK(res1
)) {
40330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetHelpText" "', expected argument " "1"" of type '" "wxWindow const *""'");
40332 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40335 result
= ((wxWindow
const *)arg1
)->GetHelpText();
40336 wxPyEndAllowThreads(__tstate
);
40337 if (PyErr_Occurred()) SWIG_fail
;
40341 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
40343 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
40352 SWIGINTERN PyObject
*_wrap_Window_SetToolTipString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40353 PyObject
*resultobj
= 0;
40354 wxWindow
*arg1
= (wxWindow
*) 0 ;
40355 wxString
*arg2
= 0 ;
40358 bool temp2
= false ;
40359 PyObject
* obj0
= 0 ;
40360 PyObject
* obj1
= 0 ;
40361 char * kwnames
[] = {
40362 (char *) "self",(char *) "tip", NULL
40365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40367 if (!SWIG_IsOK(res1
)) {
40368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetToolTipString" "', expected argument " "1"" of type '" "wxWindow *""'");
40370 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40372 arg2
= wxString_in_helper(obj1
);
40373 if (arg2
== NULL
) SWIG_fail
;
40377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40378 (arg1
)->SetToolTip((wxString
const &)*arg2
);
40379 wxPyEndAllowThreads(__tstate
);
40380 if (PyErr_Occurred()) SWIG_fail
;
40382 resultobj
= SWIG_Py_Void();
40397 SWIGINTERN PyObject
*_wrap_Window_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40398 PyObject
*resultobj
= 0;
40399 wxWindow
*arg1
= (wxWindow
*) 0 ;
40400 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
40404 PyObject
* obj0
= 0 ;
40405 PyObject
* obj1
= 0 ;
40406 char * kwnames
[] = {
40407 (char *) "self",(char *) "tip", NULL
40410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40412 if (!SWIG_IsOK(res1
)) {
40413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetToolTip" "', expected argument " "1"" of type '" "wxWindow *""'");
40415 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40416 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxToolTip
, SWIG_POINTER_DISOWN
| 0 );
40417 if (!SWIG_IsOK(res2
)) {
40418 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetToolTip" "', expected argument " "2"" of type '" "wxToolTip *""'");
40421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40422 (arg1
)->SetToolTip(arg2
);
40423 wxPyEndAllowThreads(__tstate
);
40424 if (PyErr_Occurred()) SWIG_fail
;
40426 resultobj
= SWIG_Py_Void();
40433 SWIGINTERN PyObject
*_wrap_Window_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40434 PyObject
*resultobj
= 0;
40435 wxWindow
*arg1
= (wxWindow
*) 0 ;
40436 wxToolTip
*result
= 0 ;
40439 PyObject
*swig_obj
[1] ;
40441 if (!args
) SWIG_fail
;
40442 swig_obj
[0] = args
;
40443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40444 if (!SWIG_IsOK(res1
)) {
40445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetToolTip" "', expected argument " "1"" of type '" "wxWindow const *""'");
40447 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40450 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
40451 wxPyEndAllowThreads(__tstate
);
40452 if (PyErr_Occurred()) SWIG_fail
;
40455 resultobj
= wxPyMake_wxObject(result
, (bool)0);
40463 SWIGINTERN PyObject
*_wrap_Window_SetDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40464 PyObject
*resultobj
= 0;
40465 wxWindow
*arg1
= (wxWindow
*) 0 ;
40466 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
40470 PyObject
* obj0
= 0 ;
40471 PyObject
* obj1
= 0 ;
40472 char * kwnames
[] = {
40473 (char *) "self",(char *) "dropTarget", NULL
40476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40478 if (!SWIG_IsOK(res1
)) {
40479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetDropTarget" "', expected argument " "1"" of type '" "wxWindow *""'");
40481 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40482 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_DISOWN
| 0 );
40483 if (!SWIG_IsOK(res2
)) {
40484 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetDropTarget" "', expected argument " "2"" of type '" "wxPyDropTarget *""'");
40487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40488 (arg1
)->SetDropTarget(arg2
);
40489 wxPyEndAllowThreads(__tstate
);
40490 if (PyErr_Occurred()) SWIG_fail
;
40492 resultobj
= SWIG_Py_Void();
40499 SWIGINTERN PyObject
*_wrap_Window_GetDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40500 PyObject
*resultobj
= 0;
40501 wxWindow
*arg1
= (wxWindow
*) 0 ;
40502 wxPyDropTarget
*result
= 0 ;
40505 PyObject
*swig_obj
[1] ;
40507 if (!args
) SWIG_fail
;
40508 swig_obj
[0] = args
;
40509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40510 if (!SWIG_IsOK(res1
)) {
40511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetDropTarget" "', expected argument " "1"" of type '" "wxWindow const *""'");
40513 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40516 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
40517 wxPyEndAllowThreads(__tstate
);
40518 if (PyErr_Occurred()) SWIG_fail
;
40520 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
40527 SWIGINTERN PyObject
*_wrap_Window_DragAcceptFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40528 PyObject
*resultobj
= 0;
40529 wxWindow
*arg1
= (wxWindow
*) 0 ;
40535 PyObject
* obj0
= 0 ;
40536 PyObject
* obj1
= 0 ;
40537 char * kwnames
[] = {
40538 (char *) "self",(char *) "accept", NULL
40541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DragAcceptFiles",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40543 if (!SWIG_IsOK(res1
)) {
40544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_DragAcceptFiles" "', expected argument " "1"" of type '" "wxWindow *""'");
40546 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40547 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
40548 if (!SWIG_IsOK(ecode2
)) {
40549 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_DragAcceptFiles" "', expected argument " "2"" of type '" "bool""'");
40551 arg2
= static_cast< bool >(val2
);
40553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40554 (arg1
)->DragAcceptFiles(arg2
);
40555 wxPyEndAllowThreads(__tstate
);
40556 if (PyErr_Occurred()) SWIG_fail
;
40558 resultobj
= SWIG_Py_Void();
40565 SWIGINTERN PyObject
*_wrap_Window_SetConstraints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40566 PyObject
*resultobj
= 0;
40567 wxWindow
*arg1
= (wxWindow
*) 0 ;
40568 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
40572 PyObject
* obj0
= 0 ;
40573 PyObject
* obj1
= 0 ;
40574 char * kwnames
[] = {
40575 (char *) "self",(char *) "constraints", NULL
40578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40580 if (!SWIG_IsOK(res1
)) {
40581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetConstraints" "', expected argument " "1"" of type '" "wxWindow *""'");
40583 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40584 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_DISOWN
| 0 );
40585 if (!SWIG_IsOK(res2
)) {
40586 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetConstraints" "', expected argument " "2"" of type '" "wxLayoutConstraints *""'");
40589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40590 (arg1
)->SetConstraints(arg2
);
40591 wxPyEndAllowThreads(__tstate
);
40592 if (PyErr_Occurred()) SWIG_fail
;
40594 resultobj
= SWIG_Py_Void();
40601 SWIGINTERN PyObject
*_wrap_Window_GetConstraints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40602 PyObject
*resultobj
= 0;
40603 wxWindow
*arg1
= (wxWindow
*) 0 ;
40604 wxLayoutConstraints
*result
= 0 ;
40607 PyObject
*swig_obj
[1] ;
40609 if (!args
) SWIG_fail
;
40610 swig_obj
[0] = args
;
40611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40612 if (!SWIG_IsOK(res1
)) {
40613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetConstraints" "', expected argument " "1"" of type '" "wxWindow const *""'");
40615 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40618 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
40619 wxPyEndAllowThreads(__tstate
);
40620 if (PyErr_Occurred()) SWIG_fail
;
40622 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
40629 SWIGINTERN PyObject
*_wrap_Window_SetAutoLayout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40630 PyObject
*resultobj
= 0;
40631 wxWindow
*arg1
= (wxWindow
*) 0 ;
40637 PyObject
* obj0
= 0 ;
40638 PyObject
* obj1
= 0 ;
40639 char * kwnames
[] = {
40640 (char *) "self",(char *) "autoLayout", NULL
40643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40645 if (!SWIG_IsOK(res1
)) {
40646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetAutoLayout" "', expected argument " "1"" of type '" "wxWindow *""'");
40648 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40649 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
40650 if (!SWIG_IsOK(ecode2
)) {
40651 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetAutoLayout" "', expected argument " "2"" of type '" "bool""'");
40653 arg2
= static_cast< bool >(val2
);
40655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40656 (arg1
)->SetAutoLayout(arg2
);
40657 wxPyEndAllowThreads(__tstate
);
40658 if (PyErr_Occurred()) SWIG_fail
;
40660 resultobj
= SWIG_Py_Void();
40667 SWIGINTERN PyObject
*_wrap_Window_GetAutoLayout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40668 PyObject
*resultobj
= 0;
40669 wxWindow
*arg1
= (wxWindow
*) 0 ;
40673 PyObject
*swig_obj
[1] ;
40675 if (!args
) SWIG_fail
;
40676 swig_obj
[0] = args
;
40677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40678 if (!SWIG_IsOK(res1
)) {
40679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetAutoLayout" "', expected argument " "1"" of type '" "wxWindow const *""'");
40681 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40684 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
40685 wxPyEndAllowThreads(__tstate
);
40686 if (PyErr_Occurred()) SWIG_fail
;
40689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40697 SWIGINTERN PyObject
*_wrap_Window_Layout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40698 PyObject
*resultobj
= 0;
40699 wxWindow
*arg1
= (wxWindow
*) 0 ;
40703 PyObject
*swig_obj
[1] ;
40705 if (!args
) SWIG_fail
;
40706 swig_obj
[0] = args
;
40707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40708 if (!SWIG_IsOK(res1
)) {
40709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Layout" "', expected argument " "1"" of type '" "wxWindow *""'");
40711 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40714 result
= (bool)(arg1
)->Layout();
40715 wxPyEndAllowThreads(__tstate
);
40716 if (PyErr_Occurred()) SWIG_fail
;
40719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40727 SWIGINTERN PyObject
*_wrap_Window_SetSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40728 PyObject
*resultobj
= 0;
40729 wxWindow
*arg1
= (wxWindow
*) 0 ;
40730 wxSizer
*arg2
= (wxSizer
*) 0 ;
40731 bool arg3
= (bool) true ;
40737 PyObject
* obj0
= 0 ;
40738 PyObject
* obj1
= 0 ;
40739 PyObject
* obj2
= 0 ;
40740 char * kwnames
[] = {
40741 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
40744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40746 if (!SWIG_IsOK(res1
)) {
40747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetSizer" "', expected argument " "1"" of type '" "wxWindow *""'");
40749 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40750 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxSizer
, SWIG_POINTER_DISOWN
| 0 );
40751 if (!SWIG_IsOK(res2
)) {
40752 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetSizer" "', expected argument " "2"" of type '" "wxSizer *""'");
40755 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
40756 if (!SWIG_IsOK(ecode3
)) {
40757 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetSizer" "', expected argument " "3"" of type '" "bool""'");
40759 arg3
= static_cast< bool >(val3
);
40762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40763 (arg1
)->SetSizer(arg2
,arg3
);
40764 wxPyEndAllowThreads(__tstate
);
40765 if (PyErr_Occurred()) SWIG_fail
;
40767 resultobj
= SWIG_Py_Void();
40774 SWIGINTERN PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40775 PyObject
*resultobj
= 0;
40776 wxWindow
*arg1
= (wxWindow
*) 0 ;
40777 wxSizer
*arg2
= (wxSizer
*) 0 ;
40778 bool arg3
= (bool) true ;
40784 PyObject
* obj0
= 0 ;
40785 PyObject
* obj1
= 0 ;
40786 PyObject
* obj2
= 0 ;
40787 char * kwnames
[] = {
40788 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
40791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40793 if (!SWIG_IsOK(res1
)) {
40794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetSizerAndFit" "', expected argument " "1"" of type '" "wxWindow *""'");
40796 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40797 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxSizer
, SWIG_POINTER_DISOWN
| 0 );
40798 if (!SWIG_IsOK(res2
)) {
40799 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetSizerAndFit" "', expected argument " "2"" of type '" "wxSizer *""'");
40802 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
40803 if (!SWIG_IsOK(ecode3
)) {
40804 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetSizerAndFit" "', expected argument " "3"" of type '" "bool""'");
40806 arg3
= static_cast< bool >(val3
);
40809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40810 (arg1
)->SetSizerAndFit(arg2
,arg3
);
40811 wxPyEndAllowThreads(__tstate
);
40812 if (PyErr_Occurred()) SWIG_fail
;
40814 resultobj
= SWIG_Py_Void();
40821 SWIGINTERN PyObject
*_wrap_Window_GetSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40822 PyObject
*resultobj
= 0;
40823 wxWindow
*arg1
= (wxWindow
*) 0 ;
40824 wxSizer
*result
= 0 ;
40827 PyObject
*swig_obj
[1] ;
40829 if (!args
) SWIG_fail
;
40830 swig_obj
[0] = args
;
40831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40832 if (!SWIG_IsOK(res1
)) {
40833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetSizer" "', expected argument " "1"" of type '" "wxWindow const *""'");
40835 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40838 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
40839 wxPyEndAllowThreads(__tstate
);
40840 if (PyErr_Occurred()) SWIG_fail
;
40843 resultobj
= wxPyMake_wxObject(result
, (bool)0);
40851 SWIGINTERN PyObject
*_wrap_Window_SetContainingSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40852 PyObject
*resultobj
= 0;
40853 wxWindow
*arg1
= (wxWindow
*) 0 ;
40854 wxSizer
*arg2
= (wxSizer
*) 0 ;
40859 PyObject
* obj0
= 0 ;
40860 PyObject
* obj1
= 0 ;
40861 char * kwnames
[] = {
40862 (char *) "self",(char *) "sizer", NULL
40865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40867 if (!SWIG_IsOK(res1
)) {
40868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetContainingSizer" "', expected argument " "1"" of type '" "wxWindow *""'");
40870 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40871 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
40872 if (!SWIG_IsOK(res2
)) {
40873 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetContainingSizer" "', expected argument " "2"" of type '" "wxSizer *""'");
40875 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
40877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40878 (arg1
)->SetContainingSizer(arg2
);
40879 wxPyEndAllowThreads(__tstate
);
40880 if (PyErr_Occurred()) SWIG_fail
;
40882 resultobj
= SWIG_Py_Void();
40889 SWIGINTERN PyObject
*_wrap_Window_GetContainingSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40890 PyObject
*resultobj
= 0;
40891 wxWindow
*arg1
= (wxWindow
*) 0 ;
40892 wxSizer
*result
= 0 ;
40895 PyObject
*swig_obj
[1] ;
40897 if (!args
) SWIG_fail
;
40898 swig_obj
[0] = args
;
40899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40900 if (!SWIG_IsOK(res1
)) {
40901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetContainingSizer" "', expected argument " "1"" of type '" "wxWindow const *""'");
40903 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40906 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
40907 wxPyEndAllowThreads(__tstate
);
40908 if (PyErr_Occurred()) SWIG_fail
;
40911 resultobj
= wxPyMake_wxObject(result
, (bool)0);
40919 SWIGINTERN PyObject
*_wrap_Window_InheritAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40920 PyObject
*resultobj
= 0;
40921 wxWindow
*arg1
= (wxWindow
*) 0 ;
40924 PyObject
*swig_obj
[1] ;
40926 if (!args
) SWIG_fail
;
40927 swig_obj
[0] = args
;
40928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40929 if (!SWIG_IsOK(res1
)) {
40930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_InheritAttributes" "', expected argument " "1"" of type '" "wxWindow *""'");
40932 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40935 (arg1
)->InheritAttributes();
40936 wxPyEndAllowThreads(__tstate
);
40937 if (PyErr_Occurred()) SWIG_fail
;
40939 resultobj
= SWIG_Py_Void();
40946 SWIGINTERN PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40947 PyObject
*resultobj
= 0;
40948 wxWindow
*arg1
= (wxWindow
*) 0 ;
40952 PyObject
*swig_obj
[1] ;
40954 if (!args
) SWIG_fail
;
40955 swig_obj
[0] = args
;
40956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40957 if (!SWIG_IsOK(res1
)) {
40958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ShouldInheritColours" "', expected argument " "1"" of type '" "wxWindow const *""'");
40960 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40963 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
40964 wxPyEndAllowThreads(__tstate
);
40965 if (PyErr_Occurred()) SWIG_fail
;
40968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40976 SWIGINTERN PyObject
*_wrap_Window_CanSetTransparent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40977 PyObject
*resultobj
= 0;
40978 wxWindow
*arg1
= (wxWindow
*) 0 ;
40982 PyObject
*swig_obj
[1] ;
40984 if (!args
) SWIG_fail
;
40985 swig_obj
[0] = args
;
40986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40987 if (!SWIG_IsOK(res1
)) {
40988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_CanSetTransparent" "', expected argument " "1"" of type '" "wxWindow *""'");
40990 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40993 result
= (bool)(arg1
)->CanSetTransparent();
40994 wxPyEndAllowThreads(__tstate
);
40995 if (PyErr_Occurred()) SWIG_fail
;
40998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41006 SWIGINTERN PyObject
*_wrap_Window_SetTransparent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41007 PyObject
*resultobj
= 0;
41008 wxWindow
*arg1
= (wxWindow
*) 0 ;
41013 unsigned char val2
;
41015 PyObject
* obj0
= 0 ;
41016 PyObject
* obj1
= 0 ;
41017 char * kwnames
[] = {
41018 (char *) "self",(char *) "alpha", NULL
41021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTransparent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41023 if (!SWIG_IsOK(res1
)) {
41024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetTransparent" "', expected argument " "1"" of type '" "wxWindow *""'");
41026 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41027 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
41028 if (!SWIG_IsOK(ecode2
)) {
41029 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetTransparent" "', expected argument " "2"" of type '" "byte""'");
41031 arg2
= static_cast< byte
>(val2
);
41033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41034 result
= (bool)(arg1
)->SetTransparent(arg2
);
41035 wxPyEndAllowThreads(__tstate
);
41036 if (PyErr_Occurred()) SWIG_fail
;
41039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41047 SWIGINTERN PyObject
*Window_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41049 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41050 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindow
, SWIG_NewClientData(obj
));
41051 return SWIG_Py_Void();
41054 SWIGINTERN PyObject
*Window_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41055 return SWIG_Python_InitShadowInstance(args
);
41058 SWIGINTERN PyObject
*_wrap_FindWindowById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41059 PyObject
*resultobj
= 0;
41061 wxWindow
*arg2
= (wxWindow
*) NULL
;
41062 wxWindow
*result
= 0 ;
41067 PyObject
* obj0
= 0 ;
41068 PyObject
* obj1
= 0 ;
41069 char * kwnames
[] = {
41070 (char *) "id",(char *) "parent", NULL
41073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41074 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
41075 if (!SWIG_IsOK(ecode1
)) {
41076 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FindWindowById" "', expected argument " "1"" of type '" "long""'");
41078 arg1
= static_cast< long >(val1
);
41080 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41081 if (!SWIG_IsOK(res2
)) {
41082 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindWindowById" "', expected argument " "2"" of type '" "wxWindow const *""'");
41084 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41087 if (!wxPyCheckForApp()) SWIG_fail
;
41088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41089 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
41090 wxPyEndAllowThreads(__tstate
);
41091 if (PyErr_Occurred()) SWIG_fail
;
41094 resultobj
= wxPyMake_wxObject(result
, 0);
41102 SWIGINTERN PyObject
*_wrap_FindWindowByName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41103 PyObject
*resultobj
= 0;
41104 wxString
*arg1
= 0 ;
41105 wxWindow
*arg2
= (wxWindow
*) NULL
;
41106 wxWindow
*result
= 0 ;
41107 bool temp1
= false ;
41110 PyObject
* obj0
= 0 ;
41111 PyObject
* obj1
= 0 ;
41112 char * kwnames
[] = {
41113 (char *) "name",(char *) "parent", NULL
41116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41118 arg1
= wxString_in_helper(obj0
);
41119 if (arg1
== NULL
) SWIG_fail
;
41123 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41124 if (!SWIG_IsOK(res2
)) {
41125 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindWindowByName" "', expected argument " "2"" of type '" "wxWindow const *""'");
41127 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41130 if (!wxPyCheckForApp()) SWIG_fail
;
41131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41132 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
41133 wxPyEndAllowThreads(__tstate
);
41134 if (PyErr_Occurred()) SWIG_fail
;
41137 resultobj
= wxPyMake_wxObject(result
, 0);
41153 SWIGINTERN PyObject
*_wrap_FindWindowByLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41154 PyObject
*resultobj
= 0;
41155 wxString
*arg1
= 0 ;
41156 wxWindow
*arg2
= (wxWindow
*) NULL
;
41157 wxWindow
*result
= 0 ;
41158 bool temp1
= false ;
41161 PyObject
* obj0
= 0 ;
41162 PyObject
* obj1
= 0 ;
41163 char * kwnames
[] = {
41164 (char *) "label",(char *) "parent", NULL
41167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41169 arg1
= wxString_in_helper(obj0
);
41170 if (arg1
== NULL
) SWIG_fail
;
41174 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41175 if (!SWIG_IsOK(res2
)) {
41176 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindWindowByLabel" "', expected argument " "2"" of type '" "wxWindow const *""'");
41178 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41181 if (!wxPyCheckForApp()) SWIG_fail
;
41182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41183 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
41184 wxPyEndAllowThreads(__tstate
);
41185 if (PyErr_Occurred()) SWIG_fail
;
41188 resultobj
= wxPyMake_wxObject(result
, 0);
41204 SWIGINTERN PyObject
*_wrap_Window_FromHWND(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41205 PyObject
*resultobj
= 0;
41206 wxWindow
*arg1
= (wxWindow
*) 0 ;
41207 unsigned long arg2
;
41208 wxWindow
*result
= 0 ;
41211 unsigned long val2
;
41213 PyObject
* obj0
= 0 ;
41214 PyObject
* obj1
= 0 ;
41215 char * kwnames
[] = {
41216 (char *) "parent",(char *) "_hWnd", NULL
41219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41221 if (!SWIG_IsOK(res1
)) {
41222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_FromHWND" "', expected argument " "1"" of type '" "wxWindow *""'");
41224 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41225 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
41226 if (!SWIG_IsOK(ecode2
)) {
41227 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_FromHWND" "', expected argument " "2"" of type '" "unsigned long""'");
41229 arg2
= static_cast< unsigned long >(val2
);
41231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41232 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
41233 wxPyEndAllowThreads(__tstate
);
41234 if (PyErr_Occurred()) SWIG_fail
;
41237 resultobj
= wxPyMake_wxObject(result
, 0);
41245 SWIGINTERN PyObject
*_wrap_GetTopLevelWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41246 PyObject
*resultobj
= 0;
41247 PyObject
*result
= 0 ;
41249 if (!SWIG_Python_UnpackTuple(args
,"GetTopLevelWindows",0,0,0)) SWIG_fail
;
41251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41252 result
= (PyObject
*)GetTopLevelWindows();
41253 wxPyEndAllowThreads(__tstate
);
41254 if (PyErr_Occurred()) SWIG_fail
;
41256 resultobj
= result
;
41263 SWIGINTERN PyObject
*_wrap_new_Validator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41264 PyObject
*resultobj
= 0;
41265 wxValidator
*result
= 0 ;
41267 if (!SWIG_Python_UnpackTuple(args
,"new_Validator",0,0,0)) SWIG_fail
;
41269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41270 result
= (wxValidator
*)new wxValidator();
41271 wxPyEndAllowThreads(__tstate
);
41272 if (PyErr_Occurred()) SWIG_fail
;
41274 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxValidator
, SWIG_POINTER_NEW
| 0 );
41281 SWIGINTERN PyObject
*_wrap_Validator_Clone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41282 PyObject
*resultobj
= 0;
41283 wxValidator
*arg1
= (wxValidator
*) 0 ;
41284 wxValidator
*result
= 0 ;
41287 PyObject
*swig_obj
[1] ;
41289 if (!args
) SWIG_fail
;
41290 swig_obj
[0] = args
;
41291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxValidator
, 0 | 0 );
41292 if (!SWIG_IsOK(res1
)) {
41293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Validator_Clone" "', expected argument " "1"" of type '" "wxValidator *""'");
41295 arg1
= reinterpret_cast< wxValidator
* >(argp1
);
41297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41298 result
= (wxValidator
*)(arg1
)->Clone();
41299 wxPyEndAllowThreads(__tstate
);
41300 if (PyErr_Occurred()) SWIG_fail
;
41303 resultobj
= wxPyMake_wxObject(result
, 0);
41311 SWIGINTERN PyObject
*_wrap_Validator_Validate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41312 PyObject
*resultobj
= 0;
41313 wxValidator
*arg1
= (wxValidator
*) 0 ;
41314 wxWindow
*arg2
= (wxWindow
*) 0 ;
41320 PyObject
* obj0
= 0 ;
41321 PyObject
* obj1
= 0 ;
41322 char * kwnames
[] = {
41323 (char *) "self",(char *) "parent", NULL
41326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxValidator
, 0 | 0 );
41328 if (!SWIG_IsOK(res1
)) {
41329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Validator_Validate" "', expected argument " "1"" of type '" "wxValidator *""'");
41331 arg1
= reinterpret_cast< wxValidator
* >(argp1
);
41332 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41333 if (!SWIG_IsOK(res2
)) {
41334 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Validator_Validate" "', expected argument " "2"" of type '" "wxWindow *""'");
41336 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41339 result
= (bool)(arg1
)->Validate(arg2
);
41340 wxPyEndAllowThreads(__tstate
);
41341 if (PyErr_Occurred()) SWIG_fail
;
41344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41352 SWIGINTERN PyObject
*_wrap_Validator_TransferToWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41353 PyObject
*resultobj
= 0;
41354 wxValidator
*arg1
= (wxValidator
*) 0 ;
41358 PyObject
*swig_obj
[1] ;
41360 if (!args
) SWIG_fail
;
41361 swig_obj
[0] = args
;
41362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxValidator
, 0 | 0 );
41363 if (!SWIG_IsOK(res1
)) {
41364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Validator_TransferToWindow" "', expected argument " "1"" of type '" "wxValidator *""'");
41366 arg1
= reinterpret_cast< wxValidator
* >(argp1
);
41368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41369 result
= (bool)(arg1
)->TransferToWindow();
41370 wxPyEndAllowThreads(__tstate
);
41371 if (PyErr_Occurred()) SWIG_fail
;
41374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41382 SWIGINTERN PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41383 PyObject
*resultobj
= 0;
41384 wxValidator
*arg1
= (wxValidator
*) 0 ;
41388 PyObject
*swig_obj
[1] ;
41390 if (!args
) SWIG_fail
;
41391 swig_obj
[0] = args
;
41392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxValidator
, 0 | 0 );
41393 if (!SWIG_IsOK(res1
)) {
41394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Validator_TransferFromWindow" "', expected argument " "1"" of type '" "wxValidator *""'");
41396 arg1
= reinterpret_cast< wxValidator
* >(argp1
);
41398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41399 result
= (bool)(arg1
)->TransferFromWindow();
41400 wxPyEndAllowThreads(__tstate
);
41401 if (PyErr_Occurred()) SWIG_fail
;
41404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41412 SWIGINTERN PyObject
*_wrap_Validator_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41413 PyObject
*resultobj
= 0;
41414 wxValidator
*arg1
= (wxValidator
*) 0 ;
41415 wxWindow
*result
= 0 ;
41418 PyObject
*swig_obj
[1] ;
41420 if (!args
) SWIG_fail
;
41421 swig_obj
[0] = args
;
41422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxValidator
, 0 | 0 );
41423 if (!SWIG_IsOK(res1
)) {
41424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Validator_GetWindow" "', expected argument " "1"" of type '" "wxValidator *""'");
41426 arg1
= reinterpret_cast< wxValidator
* >(argp1
);
41428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41429 result
= (wxWindow
*)(arg1
)->GetWindow();
41430 wxPyEndAllowThreads(__tstate
);
41431 if (PyErr_Occurred()) SWIG_fail
;
41434 resultobj
= wxPyMake_wxObject(result
, 0);
41442 SWIGINTERN PyObject
*_wrap_Validator_SetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41443 PyObject
*resultobj
= 0;
41444 wxValidator
*arg1
= (wxValidator
*) 0 ;
41445 wxWindow
*arg2
= (wxWindow
*) 0 ;
41450 PyObject
* obj0
= 0 ;
41451 PyObject
* obj1
= 0 ;
41452 char * kwnames
[] = {
41453 (char *) "self",(char *) "window", NULL
41456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxValidator
, 0 | 0 );
41458 if (!SWIG_IsOK(res1
)) {
41459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Validator_SetWindow" "', expected argument " "1"" of type '" "wxValidator *""'");
41461 arg1
= reinterpret_cast< wxValidator
* >(argp1
);
41462 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41463 if (!SWIG_IsOK(res2
)) {
41464 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Validator_SetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
41466 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41469 (arg1
)->SetWindow(arg2
);
41470 wxPyEndAllowThreads(__tstate
);
41471 if (PyErr_Occurred()) SWIG_fail
;
41473 resultobj
= SWIG_Py_Void();
41480 SWIGINTERN PyObject
*_wrap_Validator_IsSilent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41481 PyObject
*resultobj
= 0;
41484 if (!SWIG_Python_UnpackTuple(args
,"Validator_IsSilent",0,0,0)) SWIG_fail
;
41486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41487 result
= (bool)wxValidator::IsSilent();
41488 wxPyEndAllowThreads(__tstate
);
41489 if (PyErr_Occurred()) SWIG_fail
;
41492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41500 SWIGINTERN PyObject
*_wrap_Validator_SetBellOnError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41501 PyObject
*resultobj
= 0;
41502 int arg1
= (int) true ;
41505 PyObject
* obj0
= 0 ;
41506 char * kwnames
[] = {
41507 (char *) "doIt", NULL
41510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) SWIG_fail
;
41512 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
41513 if (!SWIG_IsOK(ecode1
)) {
41514 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Validator_SetBellOnError" "', expected argument " "1"" of type '" "int""'");
41516 arg1
= static_cast< int >(val1
);
41519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41520 wxValidator::SetBellOnError(arg1
);
41521 wxPyEndAllowThreads(__tstate
);
41522 if (PyErr_Occurred()) SWIG_fail
;
41524 resultobj
= SWIG_Py_Void();
41531 SWIGINTERN PyObject
*Validator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41533 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41534 SWIG_TypeNewClientData(SWIGTYPE_p_wxValidator
, SWIG_NewClientData(obj
));
41535 return SWIG_Py_Void();
41538 SWIGINTERN PyObject
*Validator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41539 return SWIG_Python_InitShadowInstance(args
);
41542 SWIGINTERN PyObject
*_wrap_new_PyValidator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41543 PyObject
*resultobj
= 0;
41544 wxPyValidator
*result
= 0 ;
41546 if (!SWIG_Python_UnpackTuple(args
,"new_PyValidator",0,0,0)) SWIG_fail
;
41548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41549 result
= (wxPyValidator
*)new wxPyValidator();
41550 wxPyEndAllowThreads(__tstate
);
41551 if (PyErr_Occurred()) SWIG_fail
;
41553 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyValidator
, SWIG_POINTER_NEW
| 0 );
41560 SWIGINTERN PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41561 PyObject
*resultobj
= 0;
41562 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
41563 PyObject
*arg2
= (PyObject
*) 0 ;
41564 PyObject
*arg3
= (PyObject
*) 0 ;
41565 int arg4
= (int) 1 ;
41570 PyObject
* obj0
= 0 ;
41571 PyObject
* obj1
= 0 ;
41572 PyObject
* obj2
= 0 ;
41573 PyObject
* obj3
= 0 ;
41574 char * kwnames
[] = {
41575 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
41578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
41579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyValidator
, 0 | 0 );
41580 if (!SWIG_IsOK(res1
)) {
41581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyValidator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyValidator *""'");
41583 arg1
= reinterpret_cast< wxPyValidator
* >(argp1
);
41587 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
41588 if (!SWIG_IsOK(ecode4
)) {
41589 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyValidator__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
41591 arg4
= static_cast< int >(val4
);
41594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41595 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
41596 wxPyEndAllowThreads(__tstate
);
41597 if (PyErr_Occurred()) SWIG_fail
;
41599 resultobj
= SWIG_Py_Void();
41606 SWIGINTERN PyObject
*PyValidator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41608 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41609 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyValidator
, SWIG_NewClientData(obj
));
41610 return SWIG_Py_Void();
41613 SWIGINTERN PyObject
*PyValidator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41614 return SWIG_Python_InitShadowInstance(args
);
41617 SWIGINTERN
int DefaultValidator_set(PyObject
*) {
41618 SWIG_Error(SWIG_AttributeError
,"Variable DefaultValidator is read-only.");
41623 SWIGINTERN PyObject
*DefaultValidator_get(void) {
41624 PyObject
*pyobj
= 0;
41626 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0 );
41631 SWIGINTERN PyObject
*_wrap_new_Menu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41632 PyObject
*resultobj
= 0;
41633 wxString
const &arg1_defvalue
= wxPyEmptyString
;
41634 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
41635 long arg2
= (long) 0 ;
41636 wxMenu
*result
= 0 ;
41637 bool temp1
= false ;
41640 PyObject
* obj0
= 0 ;
41641 PyObject
* obj1
= 0 ;
41642 char * kwnames
[] = {
41643 (char *) "title",(char *) "style", NULL
41646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41649 arg1
= wxString_in_helper(obj0
);
41650 if (arg1
== NULL
) SWIG_fail
;
41655 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
41656 if (!SWIG_IsOK(ecode2
)) {
41657 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Menu" "', expected argument " "2"" of type '" "long""'");
41659 arg2
= static_cast< long >(val2
);
41662 if (!wxPyCheckForApp()) SWIG_fail
;
41663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41664 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
41665 wxPyEndAllowThreads(__tstate
);
41666 if (PyErr_Occurred()) SWIG_fail
;
41668 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMenu
, SWIG_POINTER_NEW
| 0 );
41683 SWIGINTERN PyObject
*_wrap_Menu_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41684 PyObject
*resultobj
= 0;
41685 wxMenu
*arg1
= (wxMenu
*) 0 ;
41687 wxString
const &arg3_defvalue
= wxPyEmptyString
;
41688 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
41689 wxString
const &arg4_defvalue
= wxPyEmptyString
;
41690 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
41691 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
41692 wxMenuItem
*result
= 0 ;
41697 bool temp3
= false ;
41698 bool temp4
= false ;
41701 PyObject
* obj0
= 0 ;
41702 PyObject
* obj1
= 0 ;
41703 PyObject
* obj2
= 0 ;
41704 PyObject
* obj3
= 0 ;
41705 PyObject
* obj4
= 0 ;
41706 char * kwnames
[] = {
41707 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
41710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41712 if (!SWIG_IsOK(res1
)) {
41713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Append" "', expected argument " "1"" of type '" "wxMenu *""'");
41715 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
41716 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41717 if (!SWIG_IsOK(ecode2
)) {
41718 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Append" "', expected argument " "2"" of type '" "int""'");
41720 arg2
= static_cast< int >(val2
);
41723 arg3
= wxString_in_helper(obj2
);
41724 if (arg3
== NULL
) SWIG_fail
;
41730 arg4
= wxString_in_helper(obj3
);
41731 if (arg4
== NULL
) SWIG_fail
;
41736 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
41737 if (!SWIG_IsOK(ecode5
)) {
41738 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Menu_Append" "', expected argument " "5"" of type '" "wxItemKind""'");
41740 arg5
= static_cast< wxItemKind
>(val5
);
41743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41744 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
41745 wxPyEndAllowThreads(__tstate
);
41746 if (PyErr_Occurred()) SWIG_fail
;
41749 resultobj
= wxPyMake_wxObject(result
, (bool)0);
41773 SWIGINTERN PyObject
*_wrap_Menu_AppendSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41774 PyObject
*resultobj
= 0;
41775 wxMenu
*arg1
= (wxMenu
*) 0 ;
41776 wxMenuItem
*result
= 0 ;
41779 PyObject
*swig_obj
[1] ;
41781 if (!args
) SWIG_fail
;
41782 swig_obj
[0] = args
;
41783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41784 if (!SWIG_IsOK(res1
)) {
41785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_AppendSeparator" "', expected argument " "1"" of type '" "wxMenu *""'");
41787 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
41789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41790 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
41791 wxPyEndAllowThreads(__tstate
);
41792 if (PyErr_Occurred()) SWIG_fail
;
41795 resultobj
= wxPyMake_wxObject(result
, (bool)0);
41803 SWIGINTERN PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41804 PyObject
*resultobj
= 0;
41805 wxMenu
*arg1
= (wxMenu
*) 0 ;
41807 wxString
*arg3
= 0 ;
41808 wxString
const &arg4_defvalue
= wxPyEmptyString
;
41809 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
41810 wxMenuItem
*result
= 0 ;
41815 bool temp3
= false ;
41816 bool temp4
= false ;
41817 PyObject
* obj0
= 0 ;
41818 PyObject
* obj1
= 0 ;
41819 PyObject
* obj2
= 0 ;
41820 PyObject
* obj3
= 0 ;
41821 char * kwnames
[] = {
41822 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
41825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
41826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41827 if (!SWIG_IsOK(res1
)) {
41828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_AppendCheckItem" "', expected argument " "1"" of type '" "wxMenu *""'");
41830 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
41831 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41832 if (!SWIG_IsOK(ecode2
)) {
41833 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_AppendCheckItem" "', expected argument " "2"" of type '" "int""'");
41835 arg2
= static_cast< int >(val2
);
41837 arg3
= wxString_in_helper(obj2
);
41838 if (arg3
== NULL
) SWIG_fail
;
41843 arg4
= wxString_in_helper(obj3
);
41844 if (arg4
== NULL
) SWIG_fail
;
41849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41850 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
41851 wxPyEndAllowThreads(__tstate
);
41852 if (PyErr_Occurred()) SWIG_fail
;
41855 resultobj
= wxPyMake_wxObject(result
, (bool)0);
41879 SWIGINTERN PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41880 PyObject
*resultobj
= 0;
41881 wxMenu
*arg1
= (wxMenu
*) 0 ;
41883 wxString
*arg3
= 0 ;
41884 wxString
const &arg4_defvalue
= wxPyEmptyString
;
41885 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
41886 wxMenuItem
*result
= 0 ;
41891 bool temp3
= false ;
41892 bool temp4
= false ;
41893 PyObject
* obj0
= 0 ;
41894 PyObject
* obj1
= 0 ;
41895 PyObject
* obj2
= 0 ;
41896 PyObject
* obj3
= 0 ;
41897 char * kwnames
[] = {
41898 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
41901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
41902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41903 if (!SWIG_IsOK(res1
)) {
41904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_AppendRadioItem" "', expected argument " "1"" of type '" "wxMenu *""'");
41906 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
41907 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41908 if (!SWIG_IsOK(ecode2
)) {
41909 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_AppendRadioItem" "', expected argument " "2"" of type '" "int""'");
41911 arg2
= static_cast< int >(val2
);
41913 arg3
= wxString_in_helper(obj2
);
41914 if (arg3
== NULL
) SWIG_fail
;
41919 arg4
= wxString_in_helper(obj3
);
41920 if (arg4
== NULL
) SWIG_fail
;
41925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41926 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
41927 wxPyEndAllowThreads(__tstate
);
41928 if (PyErr_Occurred()) SWIG_fail
;
41931 resultobj
= wxPyMake_wxObject(result
, (bool)0);
41955 SWIGINTERN PyObject
*_wrap_Menu_AppendMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41956 PyObject
*resultobj
= 0;
41957 wxMenu
*arg1
= (wxMenu
*) 0 ;
41959 wxString
*arg3
= 0 ;
41960 wxMenu
*arg4
= (wxMenu
*) 0 ;
41961 wxString
const &arg5_defvalue
= wxPyEmptyString
;
41962 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
41963 wxMenuItem
*result
= 0 ;
41968 bool temp3
= false ;
41971 bool temp5
= false ;
41972 PyObject
* obj0
= 0 ;
41973 PyObject
* obj1
= 0 ;
41974 PyObject
* obj2
= 0 ;
41975 PyObject
* obj3
= 0 ;
41976 PyObject
* obj4
= 0 ;
41977 char * kwnames
[] = {
41978 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
41981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41983 if (!SWIG_IsOK(res1
)) {
41984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_AppendMenu" "', expected argument " "1"" of type '" "wxMenu *""'");
41986 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
41987 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41988 if (!SWIG_IsOK(ecode2
)) {
41989 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_AppendMenu" "', expected argument " "2"" of type '" "int""'");
41991 arg2
= static_cast< int >(val2
);
41993 arg3
= wxString_in_helper(obj2
);
41994 if (arg3
== NULL
) SWIG_fail
;
41997 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41998 if (!SWIG_IsOK(res4
)) {
41999 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Menu_AppendMenu" "', expected argument " "4"" of type '" "wxMenu *""'");
42001 arg4
= reinterpret_cast< wxMenu
* >(argp4
);
42004 arg5
= wxString_in_helper(obj4
);
42005 if (arg5
== NULL
) SWIG_fail
;
42010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42011 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
42012 wxPyEndAllowThreads(__tstate
);
42013 if (PyErr_Occurred()) SWIG_fail
;
42016 resultobj
= wxPyMake_wxObject(result
, (bool)0);
42040 SWIGINTERN PyObject
*_wrap_Menu_AppendSubMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42041 PyObject
*resultobj
= 0;
42042 wxMenu
*arg1
= (wxMenu
*) 0 ;
42043 wxMenu
*arg2
= (wxMenu
*) 0 ;
42044 wxString
*arg3
= 0 ;
42045 wxString
const &arg4_defvalue
= wxPyEmptyString
;
42046 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
42047 wxMenuItem
*result
= 0 ;
42052 bool temp3
= false ;
42053 bool temp4
= false ;
42054 PyObject
* obj0
= 0 ;
42055 PyObject
* obj1
= 0 ;
42056 PyObject
* obj2
= 0 ;
42057 PyObject
* obj3
= 0 ;
42058 char * kwnames
[] = {
42059 (char *) "self",(char *) "submenu",(char *) "text",(char *) "help", NULL
42062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendSubMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
42063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42064 if (!SWIG_IsOK(res1
)) {
42065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_AppendSubMenu" "', expected argument " "1"" of type '" "wxMenu *""'");
42067 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
42068 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42069 if (!SWIG_IsOK(res2
)) {
42070 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_AppendSubMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
42072 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
42074 arg3
= wxString_in_helper(obj2
);
42075 if (arg3
== NULL
) SWIG_fail
;
42080 arg4
= wxString_in_helper(obj3
);
42081 if (arg4
== NULL
) SWIG_fail
;
42086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42087 result
= (wxMenuItem
*)(arg1
)->AppendSubMenu(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
42088 wxPyEndAllowThreads(__tstate
);
42089 if (PyErr_Occurred()) SWIG_fail
;
42092 resultobj
= wxPyMake_wxObject(result
, (bool)0);
42116 SWIGINTERN PyObject
*_wrap_Menu_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42117 PyObject
*resultobj
= 0;
42118 wxMenu
*arg1
= (wxMenu
*) 0 ;
42119 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
42120 wxMenuItem
*result
= 0 ;
42124 PyObject
* obj0
= 0 ;
42125 PyObject
* obj1
= 0 ;
42126 char * kwnames
[] = {
42127 (char *) "self",(char *) "item", NULL
42130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42132 if (!SWIG_IsOK(res1
)) {
42133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_AppendItem" "', expected argument " "1"" of type '" "wxMenu *""'");
42135 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
42136 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_DISOWN
| 0 );
42137 if (!SWIG_IsOK(res2
)) {
42138 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_AppendItem" "', expected argument " "2"" of type '" "wxMenuItem *""'");
42141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42142 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
42143 wxPyEndAllowThreads(__tstate
);
42144 if (PyErr_Occurred()) SWIG_fail
;
42147 resultobj
= wxPyMake_wxObject(result
, (bool)0);
42155 SWIGINTERN PyObject
*_wrap_Menu_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42156 PyObject
*resultobj
= 0;
42157 wxMenu
*arg1
= (wxMenu
*) 0 ;
42159 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
42160 wxMenuItem
*result
= 0 ;
42166 PyObject
* obj0
= 0 ;
42167 PyObject
* obj1
= 0 ;
42168 PyObject
* obj2
= 0 ;
42169 char * kwnames
[] = {
42170 (char *) "self",(char *) "pos",(char *) "item", NULL
42173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
42174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42175 if (!SWIG_IsOK(res1
)) {
42176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_InsertItem" "', expected argument " "1"" of type '" "wxMenu *""'");
42178 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
42179 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
42180 if (!SWIG_IsOK(ecode2
)) {
42181 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_InsertItem" "', expected argument " "2"" of type '" "size_t""'");
42183 arg2
= static_cast< size_t >(val2
);
42184 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_DISOWN
| 0 );
42185 if (!SWIG_IsOK(res3
)) {
42186 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Menu_InsertItem" "', expected argument " "3"" of type '" "wxMenuItem *""'");
42189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42190 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
42191 wxPyEndAllowThreads(__tstate
);
42192 if (PyErr_Occurred()) SWIG_fail
;
42195 resultobj
= wxPyMake_wxObject(result
, (bool)0);
42203 SWIGINTERN PyObject
*_wrap_Menu_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42204 PyObject
*resultobj
= 0;
42205 wxMenu
*arg1
= (wxMenu
*) 0 ;
42206 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
42207 wxMenuItem
*result
= 0 ;
42211 PyObject
* obj0
= 0 ;
42212 PyObject
* obj1
= 0 ;
42213 char * kwnames
[] = {
42214 (char *) "self",(char *) "item", NULL
42217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42219 if (!SWIG_IsOK(res1
)) {
42220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_PrependItem" "', expected argument " "1"" of type '" "wxMenu *""'");
42222 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
42223 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_DISOWN
| 0 );
42224 if (!SWIG_IsOK(res2
)) {
42225 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_PrependItem" "', expected argument " "2"" of type '" "wxMenuItem *""'");
42228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42229 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
42230 wxPyEndAllowThreads(__tstate
);
42231 if (PyErr_Occurred()) SWIG_fail
;
42234 resultobj
= wxPyMake_wxObject(result
, (bool)0);
42242 SWIGINTERN PyObject
*_wrap_Menu_Break(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42243 PyObject
*resultobj
= 0;
42244 wxMenu
*arg1
= (wxMenu
*) 0 ;
42247 PyObject
*swig_obj
[1] ;
42249 if (!args
) SWIG_fail
;
42250 swig_obj
[0] = args
;
42251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42252 if (!SWIG_IsOK(res1
)) {
42253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Break" "', expected argument " "1"" of type '" "wxMenu *""'");
42255 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
42257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42259 wxPyEndAllowThreads(__tstate
);
42260 if (PyErr_Occurred()) SWIG_fail
;
42262 resultobj
= SWIG_Py_Void();
42269 SWIGINTERN PyObject
*_wrap_Menu_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42270 PyObject
*resultobj
= 0;
42271 wxMenu
*arg1
= (wxMenu
*) 0 ;
42274 wxString
const &arg4_defvalue
= wxPyEmptyString
;
42275 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
42276 wxString
const &arg5_defvalue
= wxPyEmptyString
;
42277 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
42278 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
42279 wxMenuItem
*result
= 0 ;
42286 bool temp4
= false ;
42287 bool temp5
= false ;
42290 PyObject
* obj0
= 0 ;
42291 PyObject
* obj1
= 0 ;
42292 PyObject
* obj2
= 0 ;
42293 PyObject
* obj3
= 0 ;
42294 PyObject
* obj4
= 0 ;
42295 PyObject
* obj5
= 0 ;
42296 char * kwnames
[] = {
42297 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
42300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
42301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42302 if (!SWIG_IsOK(res1
)) {
42303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Insert" "', expected argument " "1"" of type '" "wxMenu *""'");
42305 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
42306 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
42307 if (!SWIG_IsOK(ecode2
)) {
42308 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Insert" "', expected argument " "2"" of type '" "size_t""'");
42310 arg2
= static_cast< size_t >(val2
);
42311 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42312 if (!SWIG_IsOK(ecode3
)) {
42313 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Menu_Insert" "', expected argument " "3"" of type '" "int""'");
42315 arg3
= static_cast< int >(val3
);
42318 arg4
= wxString_in_helper(obj3
);
42319 if (arg4
== NULL
) SWIG_fail
;
42325 arg5
= wxString_in_helper(obj4
);
42326 if (arg5
== NULL
) SWIG_fail
;
42331 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
42332 if (!SWIG_IsOK(ecode6
)) {
42333 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Menu_Insert" "', expected argument " "6"" of type '" "wxItemKind""'");
42335 arg6
= static_cast< wxItemKind
>(val6
);
42338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42339 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
);
42340 wxPyEndAllowThreads(__tstate
);
42341 if (PyErr_Occurred()) SWIG_fail
;
42344 resultobj
= wxPyMake_wxObject(result
, (bool)0);
42368 SWIGINTERN PyObject
*_wrap_Menu_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42369 PyObject
*resultobj
= 0;
42370 wxMenu
*arg1
= (wxMenu
*) 0 ;
42372 wxMenuItem
*result
= 0 ;
42377 PyObject
* obj0
= 0 ;
42378 PyObject
* obj1
= 0 ;
42379 char * kwnames
[] = {
42380 (char *) "self",(char *) "pos", NULL
42383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42385 if (!SWIG_IsOK(res1
)) {
42386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_InsertSeparator" "', expected argument " "1"" of type '" "wxMenu *""'");
42388 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
42389 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
42390 if (!SWIG_IsOK(ecode2
)) {
42391 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
42393 arg2
= static_cast< size_t >(val2
);
42395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42396 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
42397 wxPyEndAllowThreads(__tstate
);
42398 if (PyErr_Occurred()) SWIG_fail
;
42401 resultobj
= wxPyMake_wxObject(result
, (bool)0);
42409 SWIGINTERN PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42410 PyObject
*resultobj
= 0;
42411 wxMenu
*arg1
= (wxMenu
*) 0 ;
42414 wxString
*arg4
= 0 ;
42415 wxString
const &arg5_defvalue
= wxPyEmptyString
;
42416 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
42417 wxMenuItem
*result
= 0 ;
42424 bool temp4
= false ;
42425 bool temp5
= false ;
42426 PyObject
* obj0
= 0 ;
42427 PyObject
* obj1
= 0 ;
42428 PyObject
* obj2
= 0 ;
42429 PyObject
* obj3
= 0 ;
42430 PyObject
* obj4
= 0 ;
42431 char * kwnames
[] = {
42432 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
42435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
42436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42437 if (!SWIG_IsOK(res1
)) {
42438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_InsertCheckItem" "', expected argument " "1"" of type '" "wxMenu *""'");
42440 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
42441 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
42442 if (!SWIG_IsOK(ecode2
)) {
42443 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_InsertCheckItem" "', expected argument " "2"" of type '" "size_t""'");
42445 arg2
= static_cast< size_t >(val2
);
42446 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42447 if (!SWIG_IsOK(ecode3
)) {
42448 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Menu_InsertCheckItem" "', expected argument " "3"" of type '" "int""'");
42450 arg3
= static_cast< int >(val3
);
42452 arg4
= wxString_in_helper(obj3
);
42453 if (arg4
== NULL
) SWIG_fail
;
42458 arg5
= wxString_in_helper(obj4
);
42459 if (arg5
== NULL
) SWIG_fail
;
42464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42465 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
42466 wxPyEndAllowThreads(__tstate
);
42467 if (PyErr_Occurred()) SWIG_fail
;
42470 resultobj
= wxPyMake_wxObject(result
, (bool)0);
42494 SWIGINTERN PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42495 PyObject
*resultobj
= 0;
42496 wxMenu
*arg1
= (wxMenu
*) 0 ;
42499 wxString
*arg4
= 0 ;
42500 wxString
const &arg5_defvalue
= wxPyEmptyString
;
42501 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
42502 wxMenuItem
*result
= 0 ;
42509 bool temp4
= false ;
42510 bool temp5
= false ;
42511 PyObject
* obj0
= 0 ;
42512 PyObject
* obj1
= 0 ;
42513 PyObject
* obj2
= 0 ;
42514 PyObject
* obj3
= 0 ;
42515 PyObject
* obj4
= 0 ;
42516 char * kwnames
[] = {
42517 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
42520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
42521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42522 if (!SWIG_IsOK(res1
)) {
42523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_InsertRadioItem" "', expected argument " "1"" of type '" "wxMenu *""'");
42525 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
42526 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
42527 if (!SWIG_IsOK(ecode2
)) {
42528 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_InsertRadioItem" "', expected argument " "2"" of type '" "size_t""'");
42530 arg2
= static_cast< size_t >(val2
);
42531 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42532 if (!SWIG_IsOK(ecode3
)) {
42533 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Menu_InsertRadioItem" "', expected argument " "3"" of type '" "int""'");
42535 arg3
= static_cast< int >(val3
);
42537 arg4
= wxString_in_helper(obj3
);
42538 if (arg4
== NULL
) SWIG_fail
;
42543 arg5
= wxString_in_helper(obj4
);
42544 if (arg5
== NULL
) SWIG_fail
;
42549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42550 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
42551 wxPyEndAllowThreads(__tstate
);
42552 if (PyErr_Occurred()) SWIG_fail
;
42555 resultobj
= wxPyMake_wxObject(result
, (bool)0);
42579 SWIGINTERN PyObject
*_wrap_Menu_InsertMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42580 PyObject
*resultobj
= 0;
42581 wxMenu
*arg1
= (wxMenu
*) 0 ;
42584 wxString
*arg4
= 0 ;
42585 wxMenu
*arg5
= (wxMenu
*) 0 ;
42586 wxString
const &arg6_defvalue
= wxPyEmptyString
;
42587 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
42588 wxMenuItem
*result
= 0 ;
42595 bool temp4
= false ;
42598 bool temp6
= false ;
42599 PyObject
* obj0
= 0 ;
42600 PyObject
* obj1
= 0 ;
42601 PyObject
* obj2
= 0 ;
42602 PyObject
* obj3
= 0 ;
42603 PyObject
* obj4
= 0 ;
42604 PyObject
* obj5
= 0 ;
42605 char * kwnames
[] = {
42606 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
42609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
42610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42611 if (!SWIG_IsOK(res1
)) {
42612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_InsertMenu" "', expected argument " "1"" of type '" "wxMenu *""'");
42614 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
42615 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
42616 if (!SWIG_IsOK(ecode2
)) {
42617 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_InsertMenu" "', expected argument " "2"" of type '" "size_t""'");
42619 arg2
= static_cast< size_t >(val2
);
42620 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42621 if (!SWIG_IsOK(ecode3
)) {
42622 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Menu_InsertMenu" "', expected argument " "3"" of type '" "int""'");
42624 arg3
= static_cast< int >(val3
);
42626 arg4
= wxString_in_helper(obj3
);
42627 if (arg4
== NULL
) SWIG_fail
;
42630 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42631 if (!SWIG_IsOK(res5
)) {
42632 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "Menu_InsertMenu" "', expected argument " "5"" of type '" "wxMenu *""'");
42634 arg5
= reinterpret_cast< wxMenu
* >(argp5
);
42637 arg6
= wxString_in_helper(obj5
);
42638 if (arg6
== NULL
) SWIG_fail
;
42643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42644 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
42645 wxPyEndAllowThreads(__tstate
);
42646 if (PyErr_Occurred()) SWIG_fail
;
42649 resultobj
= wxPyMake_wxObject(result
, (bool)0);
42673 SWIGINTERN PyObject
*_wrap_Menu_Prepend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42674 PyObject
*resultobj
= 0;
42675 wxMenu
*arg1
= (wxMenu
*) 0 ;
42677 wxString
const &arg3_defvalue
= wxPyEmptyString
;
42678 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
42679 wxString
const &arg4_defvalue
= wxPyEmptyString
;
42680 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
42681 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
42682 wxMenuItem
*result
= 0 ;
42687 bool temp3
= false ;
42688 bool temp4
= false ;
42691 PyObject
* obj0
= 0 ;
42692 PyObject
* obj1
= 0 ;
42693 PyObject
* obj2
= 0 ;
42694 PyObject
* obj3
= 0 ;
42695 PyObject
* obj4
= 0 ;
42696 char * kwnames
[] = {
42697 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
42700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
42701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42702 if (!SWIG_IsOK(res1
)) {
42703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Prepend" "', expected argument " "1"" of type '" "wxMenu *""'");
42705 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
42706 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42707 if (!SWIG_IsOK(ecode2
)) {
42708 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Prepend" "', expected argument " "2"" of type '" "int""'");
42710 arg2
= static_cast< int >(val2
);
42713 arg3
= wxString_in_helper(obj2
);
42714 if (arg3
== NULL
) SWIG_fail
;
42720 arg4
= wxString_in_helper(obj3
);
42721 if (arg4
== NULL
) SWIG_fail
;
42726 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
42727 if (!SWIG_IsOK(ecode5
)) {
42728 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Menu_Prepend" "', expected argument " "5"" of type '" "wxItemKind""'");
42730 arg5
= static_cast< wxItemKind
>(val5
);
42733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42734 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
42735 wxPyEndAllowThreads(__tstate
);
42736 if (PyErr_Occurred()) SWIG_fail
;
42739 resultobj
= wxPyMake_wxObject(result
, (bool)0);
42763 SWIGINTERN PyObject
*_wrap_Menu_PrependSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42764 PyObject
*resultobj
= 0;
42765 wxMenu
*arg1
= (wxMenu
*) 0 ;
42766 wxMenuItem
*result
= 0 ;
42769 PyObject
*swig_obj
[1] ;
42771 if (!args
) SWIG_fail
;
42772 swig_obj
[0] = args
;
42773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42774 if (!SWIG_IsOK(res1
)) {
42775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_PrependSeparator" "', expected argument " "1"" of type '" "wxMenu *""'");
42777 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
42779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42780 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
42781 wxPyEndAllowThreads(__tstate
);
42782 if (PyErr_Occurred()) SWIG_fail
;
42785 resultobj
= wxPyMake_wxObject(result
, (bool)0);
42793 SWIGINTERN PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42794 PyObject
*resultobj
= 0;
42795 wxMenu
*arg1
= (wxMenu
*) 0 ;
42797 wxString
*arg3
= 0 ;
42798 wxString
const &arg4_defvalue
= wxPyEmptyString
;
42799 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
42800 wxMenuItem
*result
= 0 ;
42805 bool temp3
= false ;
42806 bool temp4
= false ;
42807 PyObject
* obj0
= 0 ;
42808 PyObject
* obj1
= 0 ;
42809 PyObject
* obj2
= 0 ;
42810 PyObject
* obj3
= 0 ;
42811 char * kwnames
[] = {
42812 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
42815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
42816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42817 if (!SWIG_IsOK(res1
)) {
42818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_PrependCheckItem" "', expected argument " "1"" of type '" "wxMenu *""'");
42820 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
42821 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42822 if (!SWIG_IsOK(ecode2
)) {
42823 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_PrependCheckItem" "', expected argument " "2"" of type '" "int""'");
42825 arg2
= static_cast< int >(val2
);
42827 arg3
= wxString_in_helper(obj2
);
42828 if (arg3
== NULL
) SWIG_fail
;
42833 arg4
= wxString_in_helper(obj3
);
42834 if (arg4
== NULL
) SWIG_fail
;
42839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42840 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
42841 wxPyEndAllowThreads(__tstate
);
42842 if (PyErr_Occurred()) SWIG_fail
;
42845 resultobj
= wxPyMake_wxObject(result
, (bool)0);
42869 SWIGINTERN PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42870 PyObject
*resultobj
= 0;
42871 wxMenu
*arg1
= (wxMenu
*) 0 ;
42873 wxString
*arg3
= 0 ;
42874 wxString
const &arg4_defvalue
= wxPyEmptyString
;
42875 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
42876 wxMenuItem
*result
= 0 ;
42881 bool temp3
= false ;
42882 bool temp4
= false ;
42883 PyObject
* obj0
= 0 ;
42884 PyObject
* obj1
= 0 ;
42885 PyObject
* obj2
= 0 ;
42886 PyObject
* obj3
= 0 ;
42887 char * kwnames
[] = {
42888 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
42891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
42892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42893 if (!SWIG_IsOK(res1
)) {
42894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_PrependRadioItem" "', expected argument " "1"" of type '" "wxMenu *""'");
42896 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
42897 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42898 if (!SWIG_IsOK(ecode2
)) {
42899 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_PrependRadioItem" "', expected argument " "2"" of type '" "int""'");
42901 arg2
= static_cast< int >(val2
);
42903 arg3
= wxString_in_helper(obj2
);
42904 if (arg3
== NULL
) SWIG_fail
;
42909 arg4
= wxString_in_helper(obj3
);
42910 if (arg4
== NULL
) SWIG_fail
;
42915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42916 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
42917 wxPyEndAllowThreads(__tstate
);
42918 if (PyErr_Occurred()) SWIG_fail
;
42921 resultobj
= wxPyMake_wxObject(result
, (bool)0);
42945 SWIGINTERN PyObject
*_wrap_Menu_PrependMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42946 PyObject
*resultobj
= 0;
42947 wxMenu
*arg1
= (wxMenu
*) 0 ;
42949 wxString
*arg3
= 0 ;
42950 wxMenu
*arg4
= (wxMenu
*) 0 ;
42951 wxString
const &arg5_defvalue
= wxPyEmptyString
;
42952 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
42953 wxMenuItem
*result
= 0 ;
42958 bool temp3
= false ;
42961 bool temp5
= false ;
42962 PyObject
* obj0
= 0 ;
42963 PyObject
* obj1
= 0 ;
42964 PyObject
* obj2
= 0 ;
42965 PyObject
* obj3
= 0 ;
42966 PyObject
* obj4
= 0 ;
42967 char * kwnames
[] = {
42968 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
42971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
42972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42973 if (!SWIG_IsOK(res1
)) {
42974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_PrependMenu" "', expected argument " "1"" of type '" "wxMenu *""'");
42976 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
42977 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42978 if (!SWIG_IsOK(ecode2
)) {
42979 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_PrependMenu" "', expected argument " "2"" of type '" "int""'");
42981 arg2
= static_cast< int >(val2
);
42983 arg3
= wxString_in_helper(obj2
);
42984 if (arg3
== NULL
) SWIG_fail
;
42987 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42988 if (!SWIG_IsOK(res4
)) {
42989 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Menu_PrependMenu" "', expected argument " "4"" of type '" "wxMenu *""'");
42991 arg4
= reinterpret_cast< wxMenu
* >(argp4
);
42994 arg5
= wxString_in_helper(obj4
);
42995 if (arg5
== NULL
) SWIG_fail
;
43000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43001 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
43002 wxPyEndAllowThreads(__tstate
);
43003 if (PyErr_Occurred()) SWIG_fail
;
43006 resultobj
= wxPyMake_wxObject(result
, (bool)0);
43030 SWIGINTERN PyObject
*_wrap_Menu_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43031 PyObject
*resultobj
= 0;
43032 wxMenu
*arg1
= (wxMenu
*) 0 ;
43034 wxMenuItem
*result
= 0 ;
43039 PyObject
* obj0
= 0 ;
43040 PyObject
* obj1
= 0 ;
43041 char * kwnames
[] = {
43042 (char *) "self",(char *) "id", NULL
43045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43047 if (!SWIG_IsOK(res1
)) {
43048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Remove" "', expected argument " "1"" of type '" "wxMenu *""'");
43050 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
43051 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43052 if (!SWIG_IsOK(ecode2
)) {
43053 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Remove" "', expected argument " "2"" of type '" "int""'");
43055 arg2
= static_cast< int >(val2
);
43057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43058 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
43059 wxPyEndAllowThreads(__tstate
);
43060 if (PyErr_Occurred()) SWIG_fail
;
43063 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
43071 SWIGINTERN PyObject
*_wrap_Menu_RemoveItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43072 PyObject
*resultobj
= 0;
43073 wxMenu
*arg1
= (wxMenu
*) 0 ;
43074 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
43075 wxMenuItem
*result
= 0 ;
43080 PyObject
* obj0
= 0 ;
43081 PyObject
* obj1
= 0 ;
43082 char * kwnames
[] = {
43083 (char *) "self",(char *) "item", NULL
43086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43088 if (!SWIG_IsOK(res1
)) {
43089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_RemoveItem" "', expected argument " "1"" of type '" "wxMenu *""'");
43091 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
43092 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43093 if (!SWIG_IsOK(res2
)) {
43094 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_RemoveItem" "', expected argument " "2"" of type '" "wxMenuItem *""'");
43096 arg2
= reinterpret_cast< wxMenuItem
* >(argp2
);
43098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43099 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
43100 wxPyEndAllowThreads(__tstate
);
43101 if (PyErr_Occurred()) SWIG_fail
;
43104 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
43112 SWIGINTERN PyObject
*_wrap_Menu_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43113 PyObject
*resultobj
= 0;
43114 wxMenu
*arg1
= (wxMenu
*) 0 ;
43121 PyObject
* obj0
= 0 ;
43122 PyObject
* obj1
= 0 ;
43123 char * kwnames
[] = {
43124 (char *) "self",(char *) "id", NULL
43127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43129 if (!SWIG_IsOK(res1
)) {
43130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Delete" "', expected argument " "1"" of type '" "wxMenu *""'");
43132 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
43133 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43134 if (!SWIG_IsOK(ecode2
)) {
43135 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Delete" "', expected argument " "2"" of type '" "int""'");
43137 arg2
= static_cast< int >(val2
);
43139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43140 result
= (bool)(arg1
)->Delete(arg2
);
43141 wxPyEndAllowThreads(__tstate
);
43142 if (PyErr_Occurred()) SWIG_fail
;
43145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43153 SWIGINTERN PyObject
*_wrap_Menu_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43154 PyObject
*resultobj
= 0;
43155 wxMenu
*arg1
= (wxMenu
*) 0 ;
43156 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
43162 PyObject
* obj0
= 0 ;
43163 PyObject
* obj1
= 0 ;
43164 char * kwnames
[] = {
43165 (char *) "self",(char *) "item", NULL
43168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43170 if (!SWIG_IsOK(res1
)) {
43171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_DeleteItem" "', expected argument " "1"" of type '" "wxMenu *""'");
43173 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
43174 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43175 if (!SWIG_IsOK(res2
)) {
43176 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_DeleteItem" "', expected argument " "2"" of type '" "wxMenuItem *""'");
43178 arg2
= reinterpret_cast< wxMenuItem
* >(argp2
);
43180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43181 result
= (bool)(arg1
)->Delete(arg2
);
43182 wxPyEndAllowThreads(__tstate
);
43183 if (PyErr_Occurred()) SWIG_fail
;
43186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43194 SWIGINTERN PyObject
*_wrap_Menu_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43195 PyObject
*resultobj
= 0;
43196 wxMenu
*arg1
= (wxMenu
*) 0 ;
43199 PyObject
*swig_obj
[1] ;
43201 if (!args
) SWIG_fail
;
43202 swig_obj
[0] = args
;
43203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43204 if (!SWIG_IsOK(res1
)) {
43205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Destroy" "', expected argument " "1"" of type '" "wxMenu *""'");
43207 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
43209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43210 wxMenu_Destroy(arg1
);
43211 wxPyEndAllowThreads(__tstate
);
43212 if (PyErr_Occurred()) SWIG_fail
;
43214 resultobj
= SWIG_Py_Void();
43221 SWIGINTERN PyObject
*_wrap_Menu_DestroyId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43222 PyObject
*resultobj
= 0;
43223 wxMenu
*arg1
= (wxMenu
*) 0 ;
43230 PyObject
* obj0
= 0 ;
43231 PyObject
* obj1
= 0 ;
43232 char * kwnames
[] = {
43233 (char *) "self",(char *) "id", NULL
43236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43238 if (!SWIG_IsOK(res1
)) {
43239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_DestroyId" "', expected argument " "1"" of type '" "wxMenu *""'");
43241 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
43242 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43243 if (!SWIG_IsOK(ecode2
)) {
43244 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_DestroyId" "', expected argument " "2"" of type '" "int""'");
43246 arg2
= static_cast< int >(val2
);
43248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43249 result
= (bool)(arg1
)->Destroy(arg2
);
43250 wxPyEndAllowThreads(__tstate
);
43251 if (PyErr_Occurred()) SWIG_fail
;
43254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43262 SWIGINTERN PyObject
*_wrap_Menu_DestroyItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43263 PyObject
*resultobj
= 0;
43264 wxMenu
*arg1
= (wxMenu
*) 0 ;
43265 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
43271 PyObject
* obj0
= 0 ;
43272 PyObject
* obj1
= 0 ;
43273 char * kwnames
[] = {
43274 (char *) "self",(char *) "item", NULL
43277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43279 if (!SWIG_IsOK(res1
)) {
43280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_DestroyItem" "', expected argument " "1"" of type '" "wxMenu *""'");
43282 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
43283 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43284 if (!SWIG_IsOK(res2
)) {
43285 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_DestroyItem" "', expected argument " "2"" of type '" "wxMenuItem *""'");
43287 arg2
= reinterpret_cast< wxMenuItem
* >(argp2
);
43289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43290 result
= (bool)(arg1
)->Destroy(arg2
);
43291 wxPyEndAllowThreads(__tstate
);
43292 if (PyErr_Occurred()) SWIG_fail
;
43295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43303 SWIGINTERN PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43304 PyObject
*resultobj
= 0;
43305 wxMenu
*arg1
= (wxMenu
*) 0 ;
43309 PyObject
*swig_obj
[1] ;
43311 if (!args
) SWIG_fail
;
43312 swig_obj
[0] = args
;
43313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43314 if (!SWIG_IsOK(res1
)) {
43315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetMenuItemCount" "', expected argument " "1"" of type '" "wxMenu const *""'");
43317 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
43319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43320 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
43321 wxPyEndAllowThreads(__tstate
);
43322 if (PyErr_Occurred()) SWIG_fail
;
43324 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
43331 SWIGINTERN PyObject
*_wrap_Menu_GetMenuItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43332 PyObject
*resultobj
= 0;
43333 wxMenu
*arg1
= (wxMenu
*) 0 ;
43334 PyObject
*result
= 0 ;
43337 PyObject
*swig_obj
[1] ;
43339 if (!args
) SWIG_fail
;
43340 swig_obj
[0] = args
;
43341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43342 if (!SWIG_IsOK(res1
)) {
43343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetMenuItems" "', expected argument " "1"" of type '" "wxMenu *""'");
43345 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
43347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43348 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
43349 wxPyEndAllowThreads(__tstate
);
43350 if (PyErr_Occurred()) SWIG_fail
;
43352 resultobj
= result
;
43359 SWIGINTERN PyObject
*_wrap_Menu_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43360 PyObject
*resultobj
= 0;
43361 wxMenu
*arg1
= (wxMenu
*) 0 ;
43362 wxString
*arg2
= 0 ;
43366 bool temp2
= false ;
43367 PyObject
* obj0
= 0 ;
43368 PyObject
* obj1
= 0 ;
43369 char * kwnames
[] = {
43370 (char *) "self",(char *) "item", NULL
43373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43375 if (!SWIG_IsOK(res1
)) {
43376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_FindItem" "', expected argument " "1"" of type '" "wxMenu const *""'");
43378 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
43380 arg2
= wxString_in_helper(obj1
);
43381 if (arg2
== NULL
) SWIG_fail
;
43385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43386 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
43387 wxPyEndAllowThreads(__tstate
);
43388 if (PyErr_Occurred()) SWIG_fail
;
43390 resultobj
= SWIG_From_int(static_cast< int >(result
));
43405 SWIGINTERN PyObject
*_wrap_Menu_FindItemById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43406 PyObject
*resultobj
= 0;
43407 wxMenu
*arg1
= (wxMenu
*) 0 ;
43409 wxMenuItem
*result
= 0 ;
43414 PyObject
* obj0
= 0 ;
43415 PyObject
* obj1
= 0 ;
43416 char * kwnames
[] = {
43417 (char *) "self",(char *) "id", NULL
43420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43422 if (!SWIG_IsOK(res1
)) {
43423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_FindItemById" "', expected argument " "1"" of type '" "wxMenu const *""'");
43425 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
43426 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43427 if (!SWIG_IsOK(ecode2
)) {
43428 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_FindItemById" "', expected argument " "2"" of type '" "int""'");
43430 arg2
= static_cast< int >(val2
);
43432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43433 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
43434 wxPyEndAllowThreads(__tstate
);
43435 if (PyErr_Occurred()) SWIG_fail
;
43438 resultobj
= wxPyMake_wxObject(result
, (bool)0);
43446 SWIGINTERN PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43447 PyObject
*resultobj
= 0;
43448 wxMenu
*arg1
= (wxMenu
*) 0 ;
43450 wxMenuItem
*result
= 0 ;
43455 PyObject
* obj0
= 0 ;
43456 PyObject
* obj1
= 0 ;
43457 char * kwnames
[] = {
43458 (char *) "self",(char *) "position", NULL
43461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43463 if (!SWIG_IsOK(res1
)) {
43464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_FindItemByPosition" "', expected argument " "1"" of type '" "wxMenu const *""'");
43466 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
43467 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
43468 if (!SWIG_IsOK(ecode2
)) {
43469 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_FindItemByPosition" "', expected argument " "2"" of type '" "size_t""'");
43471 arg2
= static_cast< size_t >(val2
);
43473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43474 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
43475 wxPyEndAllowThreads(__tstate
);
43476 if (PyErr_Occurred()) SWIG_fail
;
43479 resultobj
= wxPyMake_wxObject(result
, (bool)0);
43487 SWIGINTERN PyObject
*_wrap_Menu_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43488 PyObject
*resultobj
= 0;
43489 wxMenu
*arg1
= (wxMenu
*) 0 ;
43498 PyObject
* obj0
= 0 ;
43499 PyObject
* obj1
= 0 ;
43500 PyObject
* obj2
= 0 ;
43501 char * kwnames
[] = {
43502 (char *) "self",(char *) "id",(char *) "enable", NULL
43505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43507 if (!SWIG_IsOK(res1
)) {
43508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Enable" "', expected argument " "1"" of type '" "wxMenu *""'");
43510 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
43511 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43512 if (!SWIG_IsOK(ecode2
)) {
43513 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Enable" "', expected argument " "2"" of type '" "int""'");
43515 arg2
= static_cast< int >(val2
);
43516 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
43517 if (!SWIG_IsOK(ecode3
)) {
43518 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Menu_Enable" "', expected argument " "3"" of type '" "bool""'");
43520 arg3
= static_cast< bool >(val3
);
43522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43523 (arg1
)->Enable(arg2
,arg3
);
43524 wxPyEndAllowThreads(__tstate
);
43525 if (PyErr_Occurred()) SWIG_fail
;
43527 resultobj
= SWIG_Py_Void();
43534 SWIGINTERN PyObject
*_wrap_Menu_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43535 PyObject
*resultobj
= 0;
43536 wxMenu
*arg1
= (wxMenu
*) 0 ;
43543 PyObject
* obj0
= 0 ;
43544 PyObject
* obj1
= 0 ;
43545 char * kwnames
[] = {
43546 (char *) "self",(char *) "id", NULL
43549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43551 if (!SWIG_IsOK(res1
)) {
43552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_IsEnabled" "', expected argument " "1"" of type '" "wxMenu const *""'");
43554 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
43555 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43556 if (!SWIG_IsOK(ecode2
)) {
43557 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_IsEnabled" "', expected argument " "2"" of type '" "int""'");
43559 arg2
= static_cast< int >(val2
);
43561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43562 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
43563 wxPyEndAllowThreads(__tstate
);
43564 if (PyErr_Occurred()) SWIG_fail
;
43567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43575 SWIGINTERN PyObject
*_wrap_Menu_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43576 PyObject
*resultobj
= 0;
43577 wxMenu
*arg1
= (wxMenu
*) 0 ;
43586 PyObject
* obj0
= 0 ;
43587 PyObject
* obj1
= 0 ;
43588 PyObject
* obj2
= 0 ;
43589 char * kwnames
[] = {
43590 (char *) "self",(char *) "id",(char *) "check", NULL
43593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43595 if (!SWIG_IsOK(res1
)) {
43596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Check" "', expected argument " "1"" of type '" "wxMenu *""'");
43598 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
43599 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43600 if (!SWIG_IsOK(ecode2
)) {
43601 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Check" "', expected argument " "2"" of type '" "int""'");
43603 arg2
= static_cast< int >(val2
);
43604 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
43605 if (!SWIG_IsOK(ecode3
)) {
43606 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Menu_Check" "', expected argument " "3"" of type '" "bool""'");
43608 arg3
= static_cast< bool >(val3
);
43610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43611 (arg1
)->Check(arg2
,arg3
);
43612 wxPyEndAllowThreads(__tstate
);
43613 if (PyErr_Occurred()) SWIG_fail
;
43615 resultobj
= SWIG_Py_Void();
43622 SWIGINTERN PyObject
*_wrap_Menu_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43623 PyObject
*resultobj
= 0;
43624 wxMenu
*arg1
= (wxMenu
*) 0 ;
43631 PyObject
* obj0
= 0 ;
43632 PyObject
* obj1
= 0 ;
43633 char * kwnames
[] = {
43634 (char *) "self",(char *) "id", NULL
43637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43639 if (!SWIG_IsOK(res1
)) {
43640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_IsChecked" "', expected argument " "1"" of type '" "wxMenu const *""'");
43642 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
43643 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43644 if (!SWIG_IsOK(ecode2
)) {
43645 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_IsChecked" "', expected argument " "2"" of type '" "int""'");
43647 arg2
= static_cast< int >(val2
);
43649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43650 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
43651 wxPyEndAllowThreads(__tstate
);
43652 if (PyErr_Occurred()) SWIG_fail
;
43655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43663 SWIGINTERN PyObject
*_wrap_Menu_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43664 PyObject
*resultobj
= 0;
43665 wxMenu
*arg1
= (wxMenu
*) 0 ;
43667 wxString
*arg3
= 0 ;
43672 bool temp3
= false ;
43673 PyObject
* obj0
= 0 ;
43674 PyObject
* obj1
= 0 ;
43675 PyObject
* obj2
= 0 ;
43676 char * kwnames
[] = {
43677 (char *) "self",(char *) "id",(char *) "label", NULL
43680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43682 if (!SWIG_IsOK(res1
)) {
43683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_SetLabel" "', expected argument " "1"" of type '" "wxMenu *""'");
43685 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
43686 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43687 if (!SWIG_IsOK(ecode2
)) {
43688 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_SetLabel" "', expected argument " "2"" of type '" "int""'");
43690 arg2
= static_cast< int >(val2
);
43692 arg3
= wxString_in_helper(obj2
);
43693 if (arg3
== NULL
) SWIG_fail
;
43697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43698 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
43699 wxPyEndAllowThreads(__tstate
);
43700 if (PyErr_Occurred()) SWIG_fail
;
43702 resultobj
= SWIG_Py_Void();
43717 SWIGINTERN PyObject
*_wrap_Menu_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43718 PyObject
*resultobj
= 0;
43719 wxMenu
*arg1
= (wxMenu
*) 0 ;
43726 PyObject
* obj0
= 0 ;
43727 PyObject
* obj1
= 0 ;
43728 char * kwnames
[] = {
43729 (char *) "self",(char *) "id", NULL
43732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43734 if (!SWIG_IsOK(res1
)) {
43735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetLabel" "', expected argument " "1"" of type '" "wxMenu const *""'");
43737 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
43738 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43739 if (!SWIG_IsOK(ecode2
)) {
43740 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_GetLabel" "', expected argument " "2"" of type '" "int""'");
43742 arg2
= static_cast< int >(val2
);
43744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43745 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
43746 wxPyEndAllowThreads(__tstate
);
43747 if (PyErr_Occurred()) SWIG_fail
;
43751 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
43753 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
43762 SWIGINTERN PyObject
*_wrap_Menu_SetHelpString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43763 PyObject
*resultobj
= 0;
43764 wxMenu
*arg1
= (wxMenu
*) 0 ;
43766 wxString
*arg3
= 0 ;
43771 bool temp3
= false ;
43772 PyObject
* obj0
= 0 ;
43773 PyObject
* obj1
= 0 ;
43774 PyObject
* obj2
= 0 ;
43775 char * kwnames
[] = {
43776 (char *) "self",(char *) "id",(char *) "helpString", NULL
43779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43781 if (!SWIG_IsOK(res1
)) {
43782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_SetHelpString" "', expected argument " "1"" of type '" "wxMenu *""'");
43784 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
43785 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43786 if (!SWIG_IsOK(ecode2
)) {
43787 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_SetHelpString" "', expected argument " "2"" of type '" "int""'");
43789 arg2
= static_cast< int >(val2
);
43791 arg3
= wxString_in_helper(obj2
);
43792 if (arg3
== NULL
) SWIG_fail
;
43796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43797 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
43798 wxPyEndAllowThreads(__tstate
);
43799 if (PyErr_Occurred()) SWIG_fail
;
43801 resultobj
= SWIG_Py_Void();
43816 SWIGINTERN PyObject
*_wrap_Menu_GetHelpString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43817 PyObject
*resultobj
= 0;
43818 wxMenu
*arg1
= (wxMenu
*) 0 ;
43825 PyObject
* obj0
= 0 ;
43826 PyObject
* obj1
= 0 ;
43827 char * kwnames
[] = {
43828 (char *) "self",(char *) "id", NULL
43831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43833 if (!SWIG_IsOK(res1
)) {
43834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetHelpString" "', expected argument " "1"" of type '" "wxMenu const *""'");
43836 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
43837 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43838 if (!SWIG_IsOK(ecode2
)) {
43839 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_GetHelpString" "', expected argument " "2"" of type '" "int""'");
43841 arg2
= static_cast< int >(val2
);
43843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43844 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
43845 wxPyEndAllowThreads(__tstate
);
43846 if (PyErr_Occurred()) SWIG_fail
;
43850 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
43852 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
43861 SWIGINTERN PyObject
*_wrap_Menu_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43862 PyObject
*resultobj
= 0;
43863 wxMenu
*arg1
= (wxMenu
*) 0 ;
43864 wxString
*arg2
= 0 ;
43867 bool temp2
= false ;
43868 PyObject
* obj0
= 0 ;
43869 PyObject
* obj1
= 0 ;
43870 char * kwnames
[] = {
43871 (char *) "self",(char *) "title", NULL
43874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43876 if (!SWIG_IsOK(res1
)) {
43877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_SetTitle" "', expected argument " "1"" of type '" "wxMenu *""'");
43879 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
43881 arg2
= wxString_in_helper(obj1
);
43882 if (arg2
== NULL
) SWIG_fail
;
43886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43887 (arg1
)->SetTitle((wxString
const &)*arg2
);
43888 wxPyEndAllowThreads(__tstate
);
43889 if (PyErr_Occurred()) SWIG_fail
;
43891 resultobj
= SWIG_Py_Void();
43906 SWIGINTERN PyObject
*_wrap_Menu_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43907 PyObject
*resultobj
= 0;
43908 wxMenu
*arg1
= (wxMenu
*) 0 ;
43912 PyObject
*swig_obj
[1] ;
43914 if (!args
) SWIG_fail
;
43915 swig_obj
[0] = args
;
43916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43917 if (!SWIG_IsOK(res1
)) {
43918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetTitle" "', expected argument " "1"" of type '" "wxMenu const *""'");
43920 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
43922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43923 result
= ((wxMenu
const *)arg1
)->GetTitle();
43924 wxPyEndAllowThreads(__tstate
);
43925 if (PyErr_Occurred()) SWIG_fail
;
43929 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
43931 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
43940 SWIGINTERN PyObject
*_wrap_Menu_SetEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43941 PyObject
*resultobj
= 0;
43942 wxMenu
*arg1
= (wxMenu
*) 0 ;
43943 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
43948 PyObject
* obj0
= 0 ;
43949 PyObject
* obj1
= 0 ;
43950 char * kwnames
[] = {
43951 (char *) "self",(char *) "handler", NULL
43954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43956 if (!SWIG_IsOK(res1
)) {
43957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_SetEventHandler" "', expected argument " "1"" of type '" "wxMenu *""'");
43959 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
43960 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
43961 if (!SWIG_IsOK(res2
)) {
43962 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_SetEventHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
43964 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
43966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43967 (arg1
)->SetEventHandler(arg2
);
43968 wxPyEndAllowThreads(__tstate
);
43969 if (PyErr_Occurred()) SWIG_fail
;
43971 resultobj
= SWIG_Py_Void();
43978 SWIGINTERN PyObject
*_wrap_Menu_GetEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43979 PyObject
*resultobj
= 0;
43980 wxMenu
*arg1
= (wxMenu
*) 0 ;
43981 wxEvtHandler
*result
= 0 ;
43984 PyObject
*swig_obj
[1] ;
43986 if (!args
) SWIG_fail
;
43987 swig_obj
[0] = args
;
43988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43989 if (!SWIG_IsOK(res1
)) {
43990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetEventHandler" "', expected argument " "1"" of type '" "wxMenu const *""'");
43992 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
43994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43995 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
43996 wxPyEndAllowThreads(__tstate
);
43997 if (PyErr_Occurred()) SWIG_fail
;
44000 resultobj
= wxPyMake_wxObject(result
, 0);
44008 SWIGINTERN PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44009 PyObject
*resultobj
= 0;
44010 wxMenu
*arg1
= (wxMenu
*) 0 ;
44011 wxWindow
*arg2
= (wxWindow
*) 0 ;
44016 PyObject
* obj0
= 0 ;
44017 PyObject
* obj1
= 0 ;
44018 char * kwnames
[] = {
44019 (char *) "self",(char *) "win", NULL
44022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
44024 if (!SWIG_IsOK(res1
)) {
44025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_SetInvokingWindow" "', expected argument " "1"" of type '" "wxMenu *""'");
44027 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
44028 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44029 if (!SWIG_IsOK(res2
)) {
44030 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_SetInvokingWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
44032 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44035 (arg1
)->SetInvokingWindow(arg2
);
44036 wxPyEndAllowThreads(__tstate
);
44037 if (PyErr_Occurred()) SWIG_fail
;
44039 resultobj
= SWIG_Py_Void();
44046 SWIGINTERN PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44047 PyObject
*resultobj
= 0;
44048 wxMenu
*arg1
= (wxMenu
*) 0 ;
44049 wxWindow
*result
= 0 ;
44052 PyObject
*swig_obj
[1] ;
44054 if (!args
) SWIG_fail
;
44055 swig_obj
[0] = args
;
44056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
44057 if (!SWIG_IsOK(res1
)) {
44058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetInvokingWindow" "', expected argument " "1"" of type '" "wxMenu const *""'");
44060 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
44062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44063 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
44064 wxPyEndAllowThreads(__tstate
);
44065 if (PyErr_Occurred()) SWIG_fail
;
44068 resultobj
= wxPyMake_wxObject(result
, 0);
44076 SWIGINTERN PyObject
*_wrap_Menu_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44077 PyObject
*resultobj
= 0;
44078 wxMenu
*arg1
= (wxMenu
*) 0 ;
44082 PyObject
*swig_obj
[1] ;
44084 if (!args
) SWIG_fail
;
44085 swig_obj
[0] = args
;
44086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
44087 if (!SWIG_IsOK(res1
)) {
44088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetStyle" "', expected argument " "1"" of type '" "wxMenu const *""'");
44090 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
44092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44093 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
44094 wxPyEndAllowThreads(__tstate
);
44095 if (PyErr_Occurred()) SWIG_fail
;
44097 resultobj
= SWIG_From_long(static_cast< long >(result
));
44104 SWIGINTERN PyObject
*_wrap_Menu_UpdateUI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44105 PyObject
*resultobj
= 0;
44106 wxMenu
*arg1
= (wxMenu
*) 0 ;
44107 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
44112 PyObject
* obj0
= 0 ;
44113 PyObject
* obj1
= 0 ;
44114 char * kwnames
[] = {
44115 (char *) "self",(char *) "source", NULL
44118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
44120 if (!SWIG_IsOK(res1
)) {
44121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_UpdateUI" "', expected argument " "1"" of type '" "wxMenu *""'");
44123 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
44125 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
44126 if (!SWIG_IsOK(res2
)) {
44127 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_UpdateUI" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
44129 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
44132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44133 (arg1
)->UpdateUI(arg2
);
44134 wxPyEndAllowThreads(__tstate
);
44135 if (PyErr_Occurred()) SWIG_fail
;
44137 resultobj
= SWIG_Py_Void();
44144 SWIGINTERN PyObject
*_wrap_Menu_GetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44145 PyObject
*resultobj
= 0;
44146 wxMenu
*arg1
= (wxMenu
*) 0 ;
44147 wxMenuBar
*result
= 0 ;
44150 PyObject
*swig_obj
[1] ;
44152 if (!args
) SWIG_fail
;
44153 swig_obj
[0] = args
;
44154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
44155 if (!SWIG_IsOK(res1
)) {
44156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetMenuBar" "', expected argument " "1"" of type '" "wxMenu const *""'");
44158 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
44160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44161 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
44162 wxPyEndAllowThreads(__tstate
);
44163 if (PyErr_Occurred()) SWIG_fail
;
44166 resultobj
= wxPyMake_wxObject(result
, (bool)0);
44174 SWIGINTERN PyObject
*_wrap_Menu_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44175 PyObject
*resultobj
= 0;
44176 wxMenu
*arg1
= (wxMenu
*) 0 ;
44177 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
44182 PyObject
* obj0
= 0 ;
44183 PyObject
* obj1
= 0 ;
44184 char * kwnames
[] = {
44185 (char *) "self",(char *) "menubar", NULL
44188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
44190 if (!SWIG_IsOK(res1
)) {
44191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Attach" "', expected argument " "1"" of type '" "wxMenu *""'");
44193 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
44194 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBarBase
, 0 | 0 );
44195 if (!SWIG_IsOK(res2
)) {
44196 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_Attach" "', expected argument " "2"" of type '" "wxMenuBarBase *""'");
44198 arg2
= reinterpret_cast< wxMenuBarBase
* >(argp2
);
44200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44201 (arg1
)->Attach(arg2
);
44202 wxPyEndAllowThreads(__tstate
);
44203 if (PyErr_Occurred()) SWIG_fail
;
44205 resultobj
= SWIG_Py_Void();
44212 SWIGINTERN PyObject
*_wrap_Menu_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44213 PyObject
*resultobj
= 0;
44214 wxMenu
*arg1
= (wxMenu
*) 0 ;
44217 PyObject
*swig_obj
[1] ;
44219 if (!args
) SWIG_fail
;
44220 swig_obj
[0] = args
;
44221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
44222 if (!SWIG_IsOK(res1
)) {
44223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Detach" "', expected argument " "1"" of type '" "wxMenu *""'");
44225 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
44227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44229 wxPyEndAllowThreads(__tstate
);
44230 if (PyErr_Occurred()) SWIG_fail
;
44232 resultobj
= SWIG_Py_Void();
44239 SWIGINTERN PyObject
*_wrap_Menu_IsAttached(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44240 PyObject
*resultobj
= 0;
44241 wxMenu
*arg1
= (wxMenu
*) 0 ;
44245 PyObject
*swig_obj
[1] ;
44247 if (!args
) SWIG_fail
;
44248 swig_obj
[0] = args
;
44249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
44250 if (!SWIG_IsOK(res1
)) {
44251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_IsAttached" "', expected argument " "1"" of type '" "wxMenu const *""'");
44253 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
44255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44256 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
44257 wxPyEndAllowThreads(__tstate
);
44258 if (PyErr_Occurred()) SWIG_fail
;
44261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44269 SWIGINTERN PyObject
*_wrap_Menu_SetParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44270 PyObject
*resultobj
= 0;
44271 wxMenu
*arg1
= (wxMenu
*) 0 ;
44272 wxMenu
*arg2
= (wxMenu
*) 0 ;
44277 PyObject
* obj0
= 0 ;
44278 PyObject
* obj1
= 0 ;
44279 char * kwnames
[] = {
44280 (char *) "self",(char *) "parent", NULL
44283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
44285 if (!SWIG_IsOK(res1
)) {
44286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_SetParent" "', expected argument " "1"" of type '" "wxMenu *""'");
44288 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
44289 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
44290 if (!SWIG_IsOK(res2
)) {
44291 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_SetParent" "', expected argument " "2"" of type '" "wxMenu *""'");
44293 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
44295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44296 (arg1
)->SetParent(arg2
);
44297 wxPyEndAllowThreads(__tstate
);
44298 if (PyErr_Occurred()) SWIG_fail
;
44300 resultobj
= SWIG_Py_Void();
44307 SWIGINTERN PyObject
*_wrap_Menu_GetParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44308 PyObject
*resultobj
= 0;
44309 wxMenu
*arg1
= (wxMenu
*) 0 ;
44310 wxMenu
*result
= 0 ;
44313 PyObject
*swig_obj
[1] ;
44315 if (!args
) SWIG_fail
;
44316 swig_obj
[0] = args
;
44317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
44318 if (!SWIG_IsOK(res1
)) {
44319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetParent" "', expected argument " "1"" of type '" "wxMenu const *""'");
44321 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
44323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44324 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
44325 wxPyEndAllowThreads(__tstate
);
44326 if (PyErr_Occurred()) SWIG_fail
;
44329 resultobj
= wxPyMake_wxObject(result
, 0);
44337 SWIGINTERN PyObject
*Menu_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44339 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44340 SWIG_TypeNewClientData(SWIGTYPE_p_wxMenu
, SWIG_NewClientData(obj
));
44341 return SWIG_Py_Void();
44344 SWIGINTERN PyObject
*Menu_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44345 return SWIG_Python_InitShadowInstance(args
);
44348 SWIGINTERN PyObject
*_wrap_new_MenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44349 PyObject
*resultobj
= 0;
44350 long arg1
= (long) 0 ;
44351 wxMenuBar
*result
= 0 ;
44354 PyObject
* obj0
= 0 ;
44355 char * kwnames
[] = {
44356 (char *) "style", NULL
44359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) SWIG_fail
;
44361 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
44362 if (!SWIG_IsOK(ecode1
)) {
44363 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_MenuBar" "', expected argument " "1"" of type '" "long""'");
44365 arg1
= static_cast< long >(val1
);
44368 if (!wxPyCheckForApp()) SWIG_fail
;
44369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44370 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
44371 wxPyEndAllowThreads(__tstate
);
44372 if (PyErr_Occurred()) SWIG_fail
;
44374 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_NEW
| 0 );
44381 SWIGINTERN PyObject
*_wrap_MenuBar_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44382 PyObject
*resultobj
= 0;
44383 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
44384 wxMenu
*arg2
= (wxMenu
*) 0 ;
44385 wxString
*arg3
= 0 ;
44391 bool temp3
= false ;
44392 PyObject
* obj0
= 0 ;
44393 PyObject
* obj1
= 0 ;
44394 PyObject
* obj2
= 0 ;
44395 char * kwnames
[] = {
44396 (char *) "self",(char *) "menu",(char *) "title", NULL
44399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
44400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
44401 if (!SWIG_IsOK(res1
)) {
44402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Append" "', expected argument " "1"" of type '" "wxMenuBar *""'");
44404 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
44405 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
44406 if (!SWIG_IsOK(res2
)) {
44407 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuBar_Append" "', expected argument " "2"" of type '" "wxMenu *""'");
44409 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
44411 arg3
= wxString_in_helper(obj2
);
44412 if (arg3
== NULL
) SWIG_fail
;
44416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44417 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
44418 wxPyEndAllowThreads(__tstate
);
44419 if (PyErr_Occurred()) SWIG_fail
;
44422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44438 SWIGINTERN PyObject
*_wrap_MenuBar_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44439 PyObject
*resultobj
= 0;
44440 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
44442 wxMenu
*arg3
= (wxMenu
*) 0 ;
44443 wxString
*arg4
= 0 ;
44451 bool temp4
= false ;
44452 PyObject
* obj0
= 0 ;
44453 PyObject
* obj1
= 0 ;
44454 PyObject
* obj2
= 0 ;
44455 PyObject
* obj3
= 0 ;
44456 char * kwnames
[] = {
44457 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
44460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
44461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
44462 if (!SWIG_IsOK(res1
)) {
44463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Insert" "', expected argument " "1"" of type '" "wxMenuBar *""'");
44465 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
44466 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
44467 if (!SWIG_IsOK(ecode2
)) {
44468 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_Insert" "', expected argument " "2"" of type '" "size_t""'");
44470 arg2
= static_cast< size_t >(val2
);
44471 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxMenu
, 0 | 0 );
44472 if (!SWIG_IsOK(res3
)) {
44473 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "MenuBar_Insert" "', expected argument " "3"" of type '" "wxMenu *""'");
44475 arg3
= reinterpret_cast< wxMenu
* >(argp3
);
44477 arg4
= wxString_in_helper(obj3
);
44478 if (arg4
== NULL
) SWIG_fail
;
44482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44483 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
44484 wxPyEndAllowThreads(__tstate
);
44485 if (PyErr_Occurred()) SWIG_fail
;
44488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44504 SWIGINTERN PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44505 PyObject
*resultobj
= 0;
44506 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
44510 PyObject
*swig_obj
[1] ;
44512 if (!args
) SWIG_fail
;
44513 swig_obj
[0] = args
;
44514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
44515 if (!SWIG_IsOK(res1
)) {
44516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_GetMenuCount" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
44518 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
44520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44521 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
44522 wxPyEndAllowThreads(__tstate
);
44523 if (PyErr_Occurred()) SWIG_fail
;
44525 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
44532 SWIGINTERN PyObject
*_wrap_MenuBar_GetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44533 PyObject
*resultobj
= 0;
44534 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
44536 wxMenu
*result
= 0 ;
44541 PyObject
* obj0
= 0 ;
44542 PyObject
* obj1
= 0 ;
44543 char * kwnames
[] = {
44544 (char *) "self",(char *) "pos", NULL
44547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
44549 if (!SWIG_IsOK(res1
)) {
44550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_GetMenu" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
44552 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
44553 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
44554 if (!SWIG_IsOK(ecode2
)) {
44555 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_GetMenu" "', expected argument " "2"" of type '" "size_t""'");
44557 arg2
= static_cast< size_t >(val2
);
44559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44560 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
44561 wxPyEndAllowThreads(__tstate
);
44562 if (PyErr_Occurred()) SWIG_fail
;
44565 resultobj
= wxPyMake_wxObject(result
, 0);
44573 SWIGINTERN PyObject
*_wrap_MenuBar_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44574 PyObject
*resultobj
= 0;
44575 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
44577 wxMenu
*arg3
= (wxMenu
*) 0 ;
44578 wxString
*arg4
= 0 ;
44579 wxMenu
*result
= 0 ;
44586 bool temp4
= false ;
44587 PyObject
* obj0
= 0 ;
44588 PyObject
* obj1
= 0 ;
44589 PyObject
* obj2
= 0 ;
44590 PyObject
* obj3
= 0 ;
44591 char * kwnames
[] = {
44592 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
44595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
44596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
44597 if (!SWIG_IsOK(res1
)) {
44598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Replace" "', expected argument " "1"" of type '" "wxMenuBar *""'");
44600 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
44601 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
44602 if (!SWIG_IsOK(ecode2
)) {
44603 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_Replace" "', expected argument " "2"" of type '" "size_t""'");
44605 arg2
= static_cast< size_t >(val2
);
44606 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxMenu
, 0 | 0 );
44607 if (!SWIG_IsOK(res3
)) {
44608 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "MenuBar_Replace" "', expected argument " "3"" of type '" "wxMenu *""'");
44610 arg3
= reinterpret_cast< wxMenu
* >(argp3
);
44612 arg4
= wxString_in_helper(obj3
);
44613 if (arg4
== NULL
) SWIG_fail
;
44617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44618 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
44619 wxPyEndAllowThreads(__tstate
);
44620 if (PyErr_Occurred()) SWIG_fail
;
44623 resultobj
= wxPyMake_wxObject(result
, 0);
44639 SWIGINTERN PyObject
*_wrap_MenuBar_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44640 PyObject
*resultobj
= 0;
44641 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
44643 wxMenu
*result
= 0 ;
44648 PyObject
* obj0
= 0 ;
44649 PyObject
* obj1
= 0 ;
44650 char * kwnames
[] = {
44651 (char *) "self",(char *) "pos", NULL
44654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
44656 if (!SWIG_IsOK(res1
)) {
44657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Remove" "', expected argument " "1"" of type '" "wxMenuBar *""'");
44659 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
44660 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
44661 if (!SWIG_IsOK(ecode2
)) {
44662 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_Remove" "', expected argument " "2"" of type '" "size_t""'");
44664 arg2
= static_cast< size_t >(val2
);
44666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44667 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
44668 wxPyEndAllowThreads(__tstate
);
44669 if (PyErr_Occurred()) SWIG_fail
;
44672 resultobj
= wxPyMake_wxObject(result
, 0);
44680 SWIGINTERN PyObject
*_wrap_MenuBar_EnableTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44681 PyObject
*resultobj
= 0;
44682 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
44691 PyObject
* obj0
= 0 ;
44692 PyObject
* obj1
= 0 ;
44693 PyObject
* obj2
= 0 ;
44694 char * kwnames
[] = {
44695 (char *) "self",(char *) "pos",(char *) "enable", NULL
44698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
44699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
44700 if (!SWIG_IsOK(res1
)) {
44701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_EnableTop" "', expected argument " "1"" of type '" "wxMenuBar *""'");
44703 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
44704 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
44705 if (!SWIG_IsOK(ecode2
)) {
44706 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_EnableTop" "', expected argument " "2"" of type '" "size_t""'");
44708 arg2
= static_cast< size_t >(val2
);
44709 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
44710 if (!SWIG_IsOK(ecode3
)) {
44711 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MenuBar_EnableTop" "', expected argument " "3"" of type '" "bool""'");
44713 arg3
= static_cast< bool >(val3
);
44715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44716 (arg1
)->EnableTop(arg2
,arg3
);
44717 wxPyEndAllowThreads(__tstate
);
44718 if (PyErr_Occurred()) SWIG_fail
;
44720 resultobj
= SWIG_Py_Void();
44727 SWIGINTERN PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44728 PyObject
*resultobj
= 0;
44729 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
44736 PyObject
* obj0
= 0 ;
44737 PyObject
* obj1
= 0 ;
44738 char * kwnames
[] = {
44739 (char *) "self",(char *) "pos", NULL
44742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
44744 if (!SWIG_IsOK(res1
)) {
44745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_IsEnabledTop" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
44747 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
44748 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
44749 if (!SWIG_IsOK(ecode2
)) {
44750 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_IsEnabledTop" "', expected argument " "2"" of type '" "size_t""'");
44752 arg2
= static_cast< size_t >(val2
);
44754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44755 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
44756 wxPyEndAllowThreads(__tstate
);
44757 if (PyErr_Occurred()) SWIG_fail
;
44760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44768 SWIGINTERN PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44769 PyObject
*resultobj
= 0;
44770 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
44772 wxString
*arg3
= 0 ;
44777 bool temp3
= false ;
44778 PyObject
* obj0
= 0 ;
44779 PyObject
* obj1
= 0 ;
44780 PyObject
* obj2
= 0 ;
44781 char * kwnames
[] = {
44782 (char *) "self",(char *) "pos",(char *) "label", NULL
44785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
44786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
44787 if (!SWIG_IsOK(res1
)) {
44788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_SetLabelTop" "', expected argument " "1"" of type '" "wxMenuBar *""'");
44790 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
44791 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
44792 if (!SWIG_IsOK(ecode2
)) {
44793 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_SetLabelTop" "', expected argument " "2"" of type '" "size_t""'");
44795 arg2
= static_cast< size_t >(val2
);
44797 arg3
= wxString_in_helper(obj2
);
44798 if (arg3
== NULL
) SWIG_fail
;
44802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44803 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
44804 wxPyEndAllowThreads(__tstate
);
44805 if (PyErr_Occurred()) SWIG_fail
;
44807 resultobj
= SWIG_Py_Void();
44822 SWIGINTERN PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44823 PyObject
*resultobj
= 0;
44824 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
44831 PyObject
* obj0
= 0 ;
44832 PyObject
* obj1
= 0 ;
44833 char * kwnames
[] = {
44834 (char *) "self",(char *) "pos", NULL
44837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
44839 if (!SWIG_IsOK(res1
)) {
44840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_GetLabelTop" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
44842 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
44843 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
44844 if (!SWIG_IsOK(ecode2
)) {
44845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_GetLabelTop" "', expected argument " "2"" of type '" "size_t""'");
44847 arg2
= static_cast< size_t >(val2
);
44849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44850 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
44851 wxPyEndAllowThreads(__tstate
);
44852 if (PyErr_Occurred()) SWIG_fail
;
44856 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44858 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44867 SWIGINTERN PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44868 PyObject
*resultobj
= 0;
44869 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
44870 wxString
*arg2
= 0 ;
44871 wxString
*arg3
= 0 ;
44875 bool temp2
= false ;
44876 bool temp3
= false ;
44877 PyObject
* obj0
= 0 ;
44878 PyObject
* obj1
= 0 ;
44879 PyObject
* obj2
= 0 ;
44880 char * kwnames
[] = {
44881 (char *) "self",(char *) "menu",(char *) "item", NULL
44884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
44885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
44886 if (!SWIG_IsOK(res1
)) {
44887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_FindMenuItem" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
44889 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
44891 arg2
= wxString_in_helper(obj1
);
44892 if (arg2
== NULL
) SWIG_fail
;
44896 arg3
= wxString_in_helper(obj2
);
44897 if (arg3
== NULL
) SWIG_fail
;
44901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44902 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
44903 wxPyEndAllowThreads(__tstate
);
44904 if (PyErr_Occurred()) SWIG_fail
;
44906 resultobj
= SWIG_From_int(static_cast< int >(result
));
44929 SWIGINTERN PyObject
*_wrap_MenuBar_FindItemById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44930 PyObject
*resultobj
= 0;
44931 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
44933 wxMenuItem
*result
= 0 ;
44938 PyObject
* obj0
= 0 ;
44939 PyObject
* obj1
= 0 ;
44940 char * kwnames
[] = {
44941 (char *) "self",(char *) "id", NULL
44944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
44946 if (!SWIG_IsOK(res1
)) {
44947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_FindItemById" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
44949 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
44950 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44951 if (!SWIG_IsOK(ecode2
)) {
44952 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_FindItemById" "', expected argument " "2"" of type '" "int""'");
44954 arg2
= static_cast< int >(val2
);
44956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44957 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
44958 wxPyEndAllowThreads(__tstate
);
44959 if (PyErr_Occurred()) SWIG_fail
;
44962 resultobj
= wxPyMake_wxObject(result
, (bool)0);
44970 SWIGINTERN PyObject
*_wrap_MenuBar_FindMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44971 PyObject
*resultobj
= 0;
44972 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
44973 wxString
*arg2
= 0 ;
44977 bool temp2
= false ;
44978 PyObject
* obj0
= 0 ;
44979 PyObject
* obj1
= 0 ;
44980 char * kwnames
[] = {
44981 (char *) "self",(char *) "title", NULL
44984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
44986 if (!SWIG_IsOK(res1
)) {
44987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_FindMenu" "', expected argument " "1"" of type '" "wxMenuBar *""'");
44989 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
44991 arg2
= wxString_in_helper(obj1
);
44992 if (arg2
== NULL
) SWIG_fail
;
44996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44997 result
= (int)(arg1
)->FindMenu((wxString
const &)*arg2
);
44998 wxPyEndAllowThreads(__tstate
);
44999 if (PyErr_Occurred()) SWIG_fail
;
45001 resultobj
= SWIG_From_int(static_cast< int >(result
));
45016 SWIGINTERN PyObject
*_wrap_MenuBar_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45017 PyObject
*resultobj
= 0;
45018 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
45027 PyObject
* obj0
= 0 ;
45028 PyObject
* obj1
= 0 ;
45029 PyObject
* obj2
= 0 ;
45030 char * kwnames
[] = {
45031 (char *) "self",(char *) "id",(char *) "enable", NULL
45034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
45036 if (!SWIG_IsOK(res1
)) {
45037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Enable" "', expected argument " "1"" of type '" "wxMenuBar *""'");
45039 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
45040 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45041 if (!SWIG_IsOK(ecode2
)) {
45042 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_Enable" "', expected argument " "2"" of type '" "int""'");
45044 arg2
= static_cast< int >(val2
);
45045 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
45046 if (!SWIG_IsOK(ecode3
)) {
45047 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MenuBar_Enable" "', expected argument " "3"" of type '" "bool""'");
45049 arg3
= static_cast< bool >(val3
);
45051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45052 (arg1
)->Enable(arg2
,arg3
);
45053 wxPyEndAllowThreads(__tstate
);
45054 if (PyErr_Occurred()) SWIG_fail
;
45056 resultobj
= SWIG_Py_Void();
45063 SWIGINTERN PyObject
*_wrap_MenuBar_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45064 PyObject
*resultobj
= 0;
45065 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
45074 PyObject
* obj0
= 0 ;
45075 PyObject
* obj1
= 0 ;
45076 PyObject
* obj2
= 0 ;
45077 char * kwnames
[] = {
45078 (char *) "self",(char *) "id",(char *) "check", NULL
45081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
45083 if (!SWIG_IsOK(res1
)) {
45084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Check" "', expected argument " "1"" of type '" "wxMenuBar *""'");
45086 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
45087 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45088 if (!SWIG_IsOK(ecode2
)) {
45089 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_Check" "', expected argument " "2"" of type '" "int""'");
45091 arg2
= static_cast< int >(val2
);
45092 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
45093 if (!SWIG_IsOK(ecode3
)) {
45094 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MenuBar_Check" "', expected argument " "3"" of type '" "bool""'");
45096 arg3
= static_cast< bool >(val3
);
45098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45099 (arg1
)->Check(arg2
,arg3
);
45100 wxPyEndAllowThreads(__tstate
);
45101 if (PyErr_Occurred()) SWIG_fail
;
45103 resultobj
= SWIG_Py_Void();
45110 SWIGINTERN PyObject
*_wrap_MenuBar_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45111 PyObject
*resultobj
= 0;
45112 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
45119 PyObject
* obj0
= 0 ;
45120 PyObject
* obj1
= 0 ;
45121 char * kwnames
[] = {
45122 (char *) "self",(char *) "id", NULL
45125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
45127 if (!SWIG_IsOK(res1
)) {
45128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_IsChecked" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
45130 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
45131 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45132 if (!SWIG_IsOK(ecode2
)) {
45133 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_IsChecked" "', expected argument " "2"" of type '" "int""'");
45135 arg2
= static_cast< int >(val2
);
45137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45138 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
45139 wxPyEndAllowThreads(__tstate
);
45140 if (PyErr_Occurred()) SWIG_fail
;
45143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45151 SWIGINTERN PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45152 PyObject
*resultobj
= 0;
45153 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
45160 PyObject
* obj0
= 0 ;
45161 PyObject
* obj1
= 0 ;
45162 char * kwnames
[] = {
45163 (char *) "self",(char *) "id", NULL
45166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
45168 if (!SWIG_IsOK(res1
)) {
45169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_IsEnabled" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
45171 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
45172 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45173 if (!SWIG_IsOK(ecode2
)) {
45174 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_IsEnabled" "', expected argument " "2"" of type '" "int""'");
45176 arg2
= static_cast< int >(val2
);
45178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45179 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
45180 wxPyEndAllowThreads(__tstate
);
45181 if (PyErr_Occurred()) SWIG_fail
;
45184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45192 SWIGINTERN PyObject
*_wrap_MenuBar_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45193 PyObject
*resultobj
= 0;
45194 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
45196 wxString
*arg3
= 0 ;
45201 bool temp3
= false ;
45202 PyObject
* obj0
= 0 ;
45203 PyObject
* obj1
= 0 ;
45204 PyObject
* obj2
= 0 ;
45205 char * kwnames
[] = {
45206 (char *) "self",(char *) "id",(char *) "label", NULL
45209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
45211 if (!SWIG_IsOK(res1
)) {
45212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_SetLabel" "', expected argument " "1"" of type '" "wxMenuBar *""'");
45214 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
45215 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45216 if (!SWIG_IsOK(ecode2
)) {
45217 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_SetLabel" "', expected argument " "2"" of type '" "int""'");
45219 arg2
= static_cast< int >(val2
);
45221 arg3
= wxString_in_helper(obj2
);
45222 if (arg3
== NULL
) SWIG_fail
;
45226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45227 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
45228 wxPyEndAllowThreads(__tstate
);
45229 if (PyErr_Occurred()) SWIG_fail
;
45231 resultobj
= SWIG_Py_Void();
45246 SWIGINTERN PyObject
*_wrap_MenuBar_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45247 PyObject
*resultobj
= 0;
45248 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
45255 PyObject
* obj0
= 0 ;
45256 PyObject
* obj1
= 0 ;
45257 char * kwnames
[] = {
45258 (char *) "self",(char *) "id", NULL
45261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
45263 if (!SWIG_IsOK(res1
)) {
45264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_GetLabel" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
45266 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
45267 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45268 if (!SWIG_IsOK(ecode2
)) {
45269 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_GetLabel" "', expected argument " "2"" of type '" "int""'");
45271 arg2
= static_cast< int >(val2
);
45273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45274 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
45275 wxPyEndAllowThreads(__tstate
);
45276 if (PyErr_Occurred()) SWIG_fail
;
45280 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
45282 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
45291 SWIGINTERN PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45292 PyObject
*resultobj
= 0;
45293 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
45295 wxString
*arg3
= 0 ;
45300 bool temp3
= false ;
45301 PyObject
* obj0
= 0 ;
45302 PyObject
* obj1
= 0 ;
45303 PyObject
* obj2
= 0 ;
45304 char * kwnames
[] = {
45305 (char *) "self",(char *) "id",(char *) "helpString", NULL
45308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
45310 if (!SWIG_IsOK(res1
)) {
45311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_SetHelpString" "', expected argument " "1"" of type '" "wxMenuBar *""'");
45313 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
45314 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45315 if (!SWIG_IsOK(ecode2
)) {
45316 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_SetHelpString" "', expected argument " "2"" of type '" "int""'");
45318 arg2
= static_cast< int >(val2
);
45320 arg3
= wxString_in_helper(obj2
);
45321 if (arg3
== NULL
) SWIG_fail
;
45325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45326 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
45327 wxPyEndAllowThreads(__tstate
);
45328 if (PyErr_Occurred()) SWIG_fail
;
45330 resultobj
= SWIG_Py_Void();
45345 SWIGINTERN PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45346 PyObject
*resultobj
= 0;
45347 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
45354 PyObject
* obj0
= 0 ;
45355 PyObject
* obj1
= 0 ;
45356 char * kwnames
[] = {
45357 (char *) "self",(char *) "id", NULL
45360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
45362 if (!SWIG_IsOK(res1
)) {
45363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_GetHelpString" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
45365 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
45366 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45367 if (!SWIG_IsOK(ecode2
)) {
45368 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_GetHelpString" "', expected argument " "2"" of type '" "int""'");
45370 arg2
= static_cast< int >(val2
);
45372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45373 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
45374 wxPyEndAllowThreads(__tstate
);
45375 if (PyErr_Occurred()) SWIG_fail
;
45379 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
45381 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
45390 SWIGINTERN PyObject
*_wrap_MenuBar_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45391 PyObject
*resultobj
= 0;
45392 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
45393 wxFrame
*result
= 0 ;
45396 PyObject
*swig_obj
[1] ;
45398 if (!args
) SWIG_fail
;
45399 swig_obj
[0] = args
;
45400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
45401 if (!SWIG_IsOK(res1
)) {
45402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_GetFrame" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
45404 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
45406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45407 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
45408 wxPyEndAllowThreads(__tstate
);
45409 if (PyErr_Occurred()) SWIG_fail
;
45412 resultobj
= wxPyMake_wxObject(result
, (bool)0);
45420 SWIGINTERN PyObject
*_wrap_MenuBar_IsAttached(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45421 PyObject
*resultobj
= 0;
45422 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
45426 PyObject
*swig_obj
[1] ;
45428 if (!args
) SWIG_fail
;
45429 swig_obj
[0] = args
;
45430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
45431 if (!SWIG_IsOK(res1
)) {
45432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_IsAttached" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
45434 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
45436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45437 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
45438 wxPyEndAllowThreads(__tstate
);
45439 if (PyErr_Occurred()) SWIG_fail
;
45442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45450 SWIGINTERN PyObject
*_wrap_MenuBar_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45451 PyObject
*resultobj
= 0;
45452 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
45453 wxFrame
*arg2
= (wxFrame
*) 0 ;
45458 PyObject
* obj0
= 0 ;
45459 PyObject
* obj1
= 0 ;
45460 char * kwnames
[] = {
45461 (char *) "self",(char *) "frame", NULL
45464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
45466 if (!SWIG_IsOK(res1
)) {
45467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Attach" "', expected argument " "1"" of type '" "wxMenuBar *""'");
45469 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
45470 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
45471 if (!SWIG_IsOK(res2
)) {
45472 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuBar_Attach" "', expected argument " "2"" of type '" "wxFrame *""'");
45474 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
45476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45477 (arg1
)->Attach(arg2
);
45478 wxPyEndAllowThreads(__tstate
);
45479 if (PyErr_Occurred()) SWIG_fail
;
45481 resultobj
= SWIG_Py_Void();
45488 SWIGINTERN PyObject
*_wrap_MenuBar_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45489 PyObject
*resultobj
= 0;
45490 wxMenuBar
*arg1
= (wxMenuBar
*) 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_wxMenuBar
, 0 | 0 );
45498 if (!SWIG_IsOK(res1
)) {
45499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Detach" "', expected argument " "1"" of type '" "wxMenuBar *""'");
45501 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
45503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45505 wxPyEndAllowThreads(__tstate
);
45506 if (PyErr_Occurred()) SWIG_fail
;
45508 resultobj
= SWIG_Py_Void();
45515 SWIGINTERN PyObject
*_wrap_MenuBar_UpdateMenus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45516 PyObject
*resultobj
= 0;
45517 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
45520 PyObject
*swig_obj
[1] ;
45522 if (!args
) SWIG_fail
;
45523 swig_obj
[0] = args
;
45524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
45525 if (!SWIG_IsOK(res1
)) {
45526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_UpdateMenus" "', expected argument " "1"" of type '" "wxMenuBar *""'");
45528 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
45530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45531 (arg1
)->UpdateMenus();
45532 wxPyEndAllowThreads(__tstate
);
45533 if (PyErr_Occurred()) SWIG_fail
;
45535 resultobj
= SWIG_Py_Void();
45542 SWIGINTERN PyObject
*_wrap_MenuBar_SetAutoWindowMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45543 PyObject
*resultobj
= 0;
45547 PyObject
* obj0
= 0 ;
45548 char * kwnames
[] = {
45549 (char *) "enable", NULL
45552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_SetAutoWindowMenu",kwnames
,&obj0
)) SWIG_fail
;
45553 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
45554 if (!SWIG_IsOK(ecode1
)) {
45555 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "MenuBar_SetAutoWindowMenu" "', expected argument " "1"" of type '" "bool""'");
45557 arg1
= static_cast< bool >(val1
);
45559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45560 wxMenuBar_SetAutoWindowMenu(arg1
);
45561 wxPyEndAllowThreads(__tstate
);
45562 if (PyErr_Occurred()) SWIG_fail
;
45564 resultobj
= SWIG_Py_Void();
45571 SWIGINTERN PyObject
*_wrap_MenuBar_GetAutoWindowMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45572 PyObject
*resultobj
= 0;
45575 if (!SWIG_Python_UnpackTuple(args
,"MenuBar_GetAutoWindowMenu",0,0,0)) SWIG_fail
;
45577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45578 result
= (bool)wxMenuBar_GetAutoWindowMenu();
45579 wxPyEndAllowThreads(__tstate
);
45580 if (PyErr_Occurred()) SWIG_fail
;
45583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45591 SWIGINTERN PyObject
*MenuBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45593 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45594 SWIG_TypeNewClientData(SWIGTYPE_p_wxMenuBar
, SWIG_NewClientData(obj
));
45595 return SWIG_Py_Void();
45598 SWIGINTERN PyObject
*MenuBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45599 return SWIG_Python_InitShadowInstance(args
);
45602 SWIGINTERN PyObject
*_wrap_new_MenuItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45603 PyObject
*resultobj
= 0;
45604 wxMenu
*arg1
= (wxMenu
*) NULL
;
45605 int arg2
= (int) wxID_ANY
;
45606 wxString
const &arg3_defvalue
= wxPyEmptyString
;
45607 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
45608 wxString
const &arg4_defvalue
= wxPyEmptyString
;
45609 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
45610 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
45611 wxMenu
*arg6
= (wxMenu
*) NULL
;
45612 wxMenuItem
*result
= 0 ;
45617 bool temp3
= false ;
45618 bool temp4
= false ;
45623 PyObject
* obj0
= 0 ;
45624 PyObject
* obj1
= 0 ;
45625 PyObject
* obj2
= 0 ;
45626 PyObject
* obj3
= 0 ;
45627 PyObject
* obj4
= 0 ;
45628 PyObject
* obj5
= 0 ;
45629 char * kwnames
[] = {
45630 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
45633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
45635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
45636 if (!SWIG_IsOK(res1
)) {
45637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MenuItem" "', expected argument " "1"" of type '" "wxMenu *""'");
45639 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
45642 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45643 if (!SWIG_IsOK(ecode2
)) {
45644 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MenuItem" "', expected argument " "2"" of type '" "int""'");
45646 arg2
= static_cast< int >(val2
);
45650 arg3
= wxString_in_helper(obj2
);
45651 if (arg3
== NULL
) SWIG_fail
;
45657 arg4
= wxString_in_helper(obj3
);
45658 if (arg4
== NULL
) SWIG_fail
;
45663 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
45664 if (!SWIG_IsOK(ecode5
)) {
45665 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_MenuItem" "', expected argument " "5"" of type '" "wxItemKind""'");
45667 arg5
= static_cast< wxItemKind
>(val5
);
45670 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxMenu
, 0 | 0 );
45671 if (!SWIG_IsOK(res6
)) {
45672 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_MenuItem" "', expected argument " "6"" of type '" "wxMenu *""'");
45674 arg6
= reinterpret_cast< wxMenu
* >(argp6
);
45677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45678 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
45679 wxPyEndAllowThreads(__tstate
);
45680 if (PyErr_Occurred()) SWIG_fail
;
45682 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_NEW
| 0 );
45705 SWIGINTERN PyObject
*_wrap_delete_MenuItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45706 PyObject
*resultobj
= 0;
45707 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
45710 PyObject
*swig_obj
[1] ;
45712 if (!args
) SWIG_fail
;
45713 swig_obj
[0] = args
;
45714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_DISOWN
| 0 );
45715 if (!SWIG_IsOK(res1
)) {
45716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MenuItem" "', expected argument " "1"" of type '" "wxMenuItem *""'");
45718 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
45720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45723 wxPyEndAllowThreads(__tstate
);
45724 if (PyErr_Occurred()) SWIG_fail
;
45726 resultobj
= SWIG_Py_Void();
45733 SWIGINTERN PyObject
*_wrap_MenuItem_GetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45734 PyObject
*resultobj
= 0;
45735 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
45736 wxMenu
*result
= 0 ;
45739 PyObject
*swig_obj
[1] ;
45741 if (!args
) SWIG_fail
;
45742 swig_obj
[0] = args
;
45743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
45744 if (!SWIG_IsOK(res1
)) {
45745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetMenu" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
45747 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
45749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45750 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
45751 wxPyEndAllowThreads(__tstate
);
45752 if (PyErr_Occurred()) SWIG_fail
;
45755 resultobj
= wxPyMake_wxObject(result
, 0);
45763 SWIGINTERN PyObject
*_wrap_MenuItem_SetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45764 PyObject
*resultobj
= 0;
45765 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
45766 wxMenu
*arg2
= (wxMenu
*) 0 ;
45771 PyObject
* obj0
= 0 ;
45772 PyObject
* obj1
= 0 ;
45773 char * kwnames
[] = {
45774 (char *) "self",(char *) "menu", NULL
45777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
45779 if (!SWIG_IsOK(res1
)) {
45780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetMenu" "', expected argument " "1"" of type '" "wxMenuItem *""'");
45782 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
45783 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
45784 if (!SWIG_IsOK(res2
)) {
45785 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
45787 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
45789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45790 (arg1
)->SetMenu(arg2
);
45791 wxPyEndAllowThreads(__tstate
);
45792 if (PyErr_Occurred()) SWIG_fail
;
45794 resultobj
= SWIG_Py_Void();
45801 SWIGINTERN PyObject
*_wrap_MenuItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45802 PyObject
*resultobj
= 0;
45803 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
45809 PyObject
* obj0
= 0 ;
45810 PyObject
* obj1
= 0 ;
45811 char * kwnames
[] = {
45812 (char *) "self",(char *) "id", NULL
45815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
45817 if (!SWIG_IsOK(res1
)) {
45818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetId" "', expected argument " "1"" of type '" "wxMenuItem *""'");
45820 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
45821 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45822 if (!SWIG_IsOK(ecode2
)) {
45823 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_SetId" "', expected argument " "2"" of type '" "int""'");
45825 arg2
= static_cast< int >(val2
);
45827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45828 (arg1
)->SetId(arg2
);
45829 wxPyEndAllowThreads(__tstate
);
45830 if (PyErr_Occurred()) SWIG_fail
;
45832 resultobj
= SWIG_Py_Void();
45839 SWIGINTERN PyObject
*_wrap_MenuItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45840 PyObject
*resultobj
= 0;
45841 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
45845 PyObject
*swig_obj
[1] ;
45847 if (!args
) SWIG_fail
;
45848 swig_obj
[0] = args
;
45849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
45850 if (!SWIG_IsOK(res1
)) {
45851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetId" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
45853 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
45855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45856 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
45857 wxPyEndAllowThreads(__tstate
);
45858 if (PyErr_Occurred()) SWIG_fail
;
45860 resultobj
= SWIG_From_int(static_cast< int >(result
));
45867 SWIGINTERN PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45868 PyObject
*resultobj
= 0;
45869 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
45873 PyObject
*swig_obj
[1] ;
45875 if (!args
) SWIG_fail
;
45876 swig_obj
[0] = args
;
45877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
45878 if (!SWIG_IsOK(res1
)) {
45879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_IsSeparator" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
45881 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
45883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45884 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
45885 wxPyEndAllowThreads(__tstate
);
45886 if (PyErr_Occurred()) SWIG_fail
;
45889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45897 SWIGINTERN PyObject
*_wrap_MenuItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45898 PyObject
*resultobj
= 0;
45899 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
45900 wxString
*arg2
= 0 ;
45903 bool temp2
= false ;
45904 PyObject
* obj0
= 0 ;
45905 PyObject
* obj1
= 0 ;
45906 char * kwnames
[] = {
45907 (char *) "self",(char *) "str", NULL
45910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
45912 if (!SWIG_IsOK(res1
)) {
45913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetText" "', expected argument " "1"" of type '" "wxMenuItem *""'");
45915 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
45917 arg2
= wxString_in_helper(obj1
);
45918 if (arg2
== NULL
) SWIG_fail
;
45922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45923 (arg1
)->SetText((wxString
const &)*arg2
);
45924 wxPyEndAllowThreads(__tstate
);
45925 if (PyErr_Occurred()) SWIG_fail
;
45927 resultobj
= SWIG_Py_Void();
45942 SWIGINTERN PyObject
*_wrap_MenuItem_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45943 PyObject
*resultobj
= 0;
45944 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
45948 PyObject
*swig_obj
[1] ;
45950 if (!args
) SWIG_fail
;
45951 swig_obj
[0] = args
;
45952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
45953 if (!SWIG_IsOK(res1
)) {
45954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetLabel" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
45956 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
45958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45959 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
45960 wxPyEndAllowThreads(__tstate
);
45961 if (PyErr_Occurred()) SWIG_fail
;
45965 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
45967 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
45976 SWIGINTERN PyObject
*_wrap_MenuItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45977 PyObject
*resultobj
= 0;
45978 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
45979 wxString
*result
= 0 ;
45982 PyObject
*swig_obj
[1] ;
45984 if (!args
) SWIG_fail
;
45985 swig_obj
[0] = args
;
45986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
45987 if (!SWIG_IsOK(res1
)) {
45988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetText" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
45990 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
45992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45994 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
45995 result
= (wxString
*) &_result_ref
;
45997 wxPyEndAllowThreads(__tstate
);
45998 if (PyErr_Occurred()) SWIG_fail
;
46002 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
46004 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
46013 SWIGINTERN PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46014 PyObject
*resultobj
= 0;
46015 wxString
*arg1
= 0 ;
46017 bool temp1
= false ;
46018 PyObject
* obj0
= 0 ;
46019 char * kwnames
[] = {
46020 (char *) "text", NULL
46023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) SWIG_fail
;
46025 arg1
= wxString_in_helper(obj0
);
46026 if (arg1
== NULL
) SWIG_fail
;
46030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46031 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
46032 wxPyEndAllowThreads(__tstate
);
46033 if (PyErr_Occurred()) SWIG_fail
;
46037 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
46039 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
46056 SWIGINTERN PyObject
*_wrap_MenuItem_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46057 PyObject
*resultobj
= 0;
46058 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46062 PyObject
*swig_obj
[1] ;
46064 if (!args
) SWIG_fail
;
46065 swig_obj
[0] = args
;
46066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46067 if (!SWIG_IsOK(res1
)) {
46068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetKind" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
46070 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46073 result
= (wxItemKind
)((wxMenuItem
const *)arg1
)->GetKind();
46074 wxPyEndAllowThreads(__tstate
);
46075 if (PyErr_Occurred()) SWIG_fail
;
46077 resultobj
= SWIG_From_int(static_cast< int >(result
));
46084 SWIGINTERN PyObject
*_wrap_MenuItem_SetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46085 PyObject
*resultobj
= 0;
46086 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46092 PyObject
* obj0
= 0 ;
46093 PyObject
* obj1
= 0 ;
46094 char * kwnames
[] = {
46095 (char *) "self",(char *) "kind", NULL
46098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46100 if (!SWIG_IsOK(res1
)) {
46101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetKind" "', expected argument " "1"" of type '" "wxMenuItem *""'");
46103 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46104 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
46105 if (!SWIG_IsOK(ecode2
)) {
46106 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_SetKind" "', expected argument " "2"" of type '" "wxItemKind""'");
46108 arg2
= static_cast< wxItemKind
>(val2
);
46110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46111 (arg1
)->SetKind(arg2
);
46112 wxPyEndAllowThreads(__tstate
);
46113 if (PyErr_Occurred()) SWIG_fail
;
46115 resultobj
= SWIG_Py_Void();
46122 SWIGINTERN PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46123 PyObject
*resultobj
= 0;
46124 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46130 PyObject
* obj0
= 0 ;
46131 PyObject
* obj1
= 0 ;
46132 char * kwnames
[] = {
46133 (char *) "self",(char *) "checkable", NULL
46136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46138 if (!SWIG_IsOK(res1
)) {
46139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetCheckable" "', expected argument " "1"" of type '" "wxMenuItem *""'");
46141 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46142 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46143 if (!SWIG_IsOK(ecode2
)) {
46144 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_SetCheckable" "', expected argument " "2"" of type '" "bool""'");
46146 arg2
= static_cast< bool >(val2
);
46148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46149 (arg1
)->SetCheckable(arg2
);
46150 wxPyEndAllowThreads(__tstate
);
46151 if (PyErr_Occurred()) SWIG_fail
;
46153 resultobj
= SWIG_Py_Void();
46160 SWIGINTERN PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46161 PyObject
*resultobj
= 0;
46162 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46166 PyObject
*swig_obj
[1] ;
46168 if (!args
) SWIG_fail
;
46169 swig_obj
[0] = args
;
46170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46171 if (!SWIG_IsOK(res1
)) {
46172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_IsCheckable" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
46174 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46177 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
46178 wxPyEndAllowThreads(__tstate
);
46179 if (PyErr_Occurred()) SWIG_fail
;
46182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46190 SWIGINTERN PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46191 PyObject
*resultobj
= 0;
46192 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46196 PyObject
*swig_obj
[1] ;
46198 if (!args
) SWIG_fail
;
46199 swig_obj
[0] = args
;
46200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46201 if (!SWIG_IsOK(res1
)) {
46202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_IsSubMenu" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
46204 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46207 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
46208 wxPyEndAllowThreads(__tstate
);
46209 if (PyErr_Occurred()) SWIG_fail
;
46212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46220 SWIGINTERN PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46221 PyObject
*resultobj
= 0;
46222 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46223 wxMenu
*arg2
= (wxMenu
*) 0 ;
46228 PyObject
* obj0
= 0 ;
46229 PyObject
* obj1
= 0 ;
46230 char * kwnames
[] = {
46231 (char *) "self",(char *) "menu", NULL
46234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46236 if (!SWIG_IsOK(res1
)) {
46237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetSubMenu" "', expected argument " "1"" of type '" "wxMenuItem *""'");
46239 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46240 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
46241 if (!SWIG_IsOK(res2
)) {
46242 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetSubMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
46244 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
46246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46247 (arg1
)->SetSubMenu(arg2
);
46248 wxPyEndAllowThreads(__tstate
);
46249 if (PyErr_Occurred()) SWIG_fail
;
46251 resultobj
= SWIG_Py_Void();
46258 SWIGINTERN PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46259 PyObject
*resultobj
= 0;
46260 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46261 wxMenu
*result
= 0 ;
46264 PyObject
*swig_obj
[1] ;
46266 if (!args
) SWIG_fail
;
46267 swig_obj
[0] = args
;
46268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46269 if (!SWIG_IsOK(res1
)) {
46270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetSubMenu" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
46272 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46275 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
46276 wxPyEndAllowThreads(__tstate
);
46277 if (PyErr_Occurred()) SWIG_fail
;
46280 resultobj
= wxPyMake_wxObject(result
, 0);
46288 SWIGINTERN PyObject
*_wrap_MenuItem_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46289 PyObject
*resultobj
= 0;
46290 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46291 bool arg2
= (bool) true ;
46296 PyObject
* obj0
= 0 ;
46297 PyObject
* obj1
= 0 ;
46298 char * kwnames
[] = {
46299 (char *) "self",(char *) "enable", NULL
46302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46304 if (!SWIG_IsOK(res1
)) {
46305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_Enable" "', expected argument " "1"" of type '" "wxMenuItem *""'");
46307 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46309 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46310 if (!SWIG_IsOK(ecode2
)) {
46311 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_Enable" "', expected argument " "2"" of type '" "bool""'");
46313 arg2
= static_cast< bool >(val2
);
46316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46317 (arg1
)->Enable(arg2
);
46318 wxPyEndAllowThreads(__tstate
);
46319 if (PyErr_Occurred()) SWIG_fail
;
46321 resultobj
= SWIG_Py_Void();
46328 SWIGINTERN PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46329 PyObject
*resultobj
= 0;
46330 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46334 PyObject
*swig_obj
[1] ;
46336 if (!args
) SWIG_fail
;
46337 swig_obj
[0] = args
;
46338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46339 if (!SWIG_IsOK(res1
)) {
46340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_IsEnabled" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
46342 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46345 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
46346 wxPyEndAllowThreads(__tstate
);
46347 if (PyErr_Occurred()) SWIG_fail
;
46350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46358 SWIGINTERN PyObject
*_wrap_MenuItem_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46359 PyObject
*resultobj
= 0;
46360 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46361 bool arg2
= (bool) true ;
46366 PyObject
* obj0
= 0 ;
46367 PyObject
* obj1
= 0 ;
46368 char * kwnames
[] = {
46369 (char *) "self",(char *) "check", NULL
46372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46374 if (!SWIG_IsOK(res1
)) {
46375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_Check" "', expected argument " "1"" of type '" "wxMenuItem *""'");
46377 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46379 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46380 if (!SWIG_IsOK(ecode2
)) {
46381 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_Check" "', expected argument " "2"" of type '" "bool""'");
46383 arg2
= static_cast< bool >(val2
);
46386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46387 (arg1
)->Check(arg2
);
46388 wxPyEndAllowThreads(__tstate
);
46389 if (PyErr_Occurred()) SWIG_fail
;
46391 resultobj
= SWIG_Py_Void();
46398 SWIGINTERN PyObject
*_wrap_MenuItem_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46399 PyObject
*resultobj
= 0;
46400 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46404 PyObject
*swig_obj
[1] ;
46406 if (!args
) SWIG_fail
;
46407 swig_obj
[0] = args
;
46408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46409 if (!SWIG_IsOK(res1
)) {
46410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_IsChecked" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
46412 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46415 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
46416 wxPyEndAllowThreads(__tstate
);
46417 if (PyErr_Occurred()) SWIG_fail
;
46420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46428 SWIGINTERN PyObject
*_wrap_MenuItem_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46429 PyObject
*resultobj
= 0;
46430 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46433 PyObject
*swig_obj
[1] ;
46435 if (!args
) SWIG_fail
;
46436 swig_obj
[0] = args
;
46437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46438 if (!SWIG_IsOK(res1
)) {
46439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_Toggle" "', expected argument " "1"" of type '" "wxMenuItem *""'");
46441 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46445 wxPyEndAllowThreads(__tstate
);
46446 if (PyErr_Occurred()) SWIG_fail
;
46448 resultobj
= SWIG_Py_Void();
46455 SWIGINTERN PyObject
*_wrap_MenuItem_SetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46456 PyObject
*resultobj
= 0;
46457 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46458 wxString
*arg2
= 0 ;
46461 bool temp2
= false ;
46462 PyObject
* obj0
= 0 ;
46463 PyObject
* obj1
= 0 ;
46464 char * kwnames
[] = {
46465 (char *) "self",(char *) "str", NULL
46468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46470 if (!SWIG_IsOK(res1
)) {
46471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetHelp" "', expected argument " "1"" of type '" "wxMenuItem *""'");
46473 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46475 arg2
= wxString_in_helper(obj1
);
46476 if (arg2
== NULL
) SWIG_fail
;
46480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46481 (arg1
)->SetHelp((wxString
const &)*arg2
);
46482 wxPyEndAllowThreads(__tstate
);
46483 if (PyErr_Occurred()) SWIG_fail
;
46485 resultobj
= SWIG_Py_Void();
46500 SWIGINTERN PyObject
*_wrap_MenuItem_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46501 PyObject
*resultobj
= 0;
46502 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46503 wxString
*result
= 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_wxMenuItem
, 0 | 0 );
46511 if (!SWIG_IsOK(res1
)) {
46512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetHelp" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
46514 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46518 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
46519 result
= (wxString
*) &_result_ref
;
46521 wxPyEndAllowThreads(__tstate
);
46522 if (PyErr_Occurred()) SWIG_fail
;
46526 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
46528 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
46537 SWIGINTERN PyObject
*_wrap_MenuItem_GetAccel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46538 PyObject
*resultobj
= 0;
46539 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46540 wxAcceleratorEntry
*result
= 0 ;
46543 PyObject
*swig_obj
[1] ;
46545 if (!args
) SWIG_fail
;
46546 swig_obj
[0] = args
;
46547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46548 if (!SWIG_IsOK(res1
)) {
46549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetAccel" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
46551 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46554 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
46555 wxPyEndAllowThreads(__tstate
);
46556 if (PyErr_Occurred()) SWIG_fail
;
46558 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
46565 SWIGINTERN PyObject
*_wrap_MenuItem_SetAccel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46566 PyObject
*resultobj
= 0;
46567 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46568 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
46573 PyObject
* obj0
= 0 ;
46574 PyObject
* obj1
= 0 ;
46575 char * kwnames
[] = {
46576 (char *) "self",(char *) "accel", NULL
46579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46581 if (!SWIG_IsOK(res1
)) {
46582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetAccel" "', expected argument " "1"" of type '" "wxMenuItem *""'");
46584 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46585 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
46586 if (!SWIG_IsOK(res2
)) {
46587 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetAccel" "', expected argument " "2"" of type '" "wxAcceleratorEntry *""'");
46589 arg2
= reinterpret_cast< wxAcceleratorEntry
* >(argp2
);
46591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46592 (arg1
)->SetAccel(arg2
);
46593 wxPyEndAllowThreads(__tstate
);
46594 if (PyErr_Occurred()) SWIG_fail
;
46596 resultobj
= SWIG_Py_Void();
46603 SWIGINTERN PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46604 PyObject
*resultobj
= 0;
46605 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46606 wxBitmap
*arg2
= 0 ;
46611 PyObject
* obj0
= 0 ;
46612 PyObject
* obj1
= 0 ;
46613 char * kwnames
[] = {
46614 (char *) "self",(char *) "bitmap", NULL
46617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46619 if (!SWIG_IsOK(res1
)) {
46620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetBitmap" "', expected argument " "1"" of type '" "wxMenuItem *""'");
46622 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46623 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
46624 if (!SWIG_IsOK(res2
)) {
46625 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46628 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MenuItem_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46630 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
46632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46633 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
46634 wxPyEndAllowThreads(__tstate
);
46635 if (PyErr_Occurred()) SWIG_fail
;
46637 resultobj
= SWIG_Py_Void();
46644 SWIGINTERN PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46645 PyObject
*resultobj
= 0;
46646 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46647 wxBitmap
*result
= 0 ;
46650 PyObject
*swig_obj
[1] ;
46652 if (!args
) SWIG_fail
;
46653 swig_obj
[0] = args
;
46654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46655 if (!SWIG_IsOK(res1
)) {
46656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetBitmap" "', expected argument " "1"" of type '" "wxMenuItem *""'");
46658 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46662 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
46663 result
= (wxBitmap
*) &_result_ref
;
46665 wxPyEndAllowThreads(__tstate
);
46666 if (PyErr_Occurred()) SWIG_fail
;
46669 wxBitmap
* resultptr
= new wxBitmap(*result
);
46670 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
46678 SWIGINTERN PyObject
*_wrap_MenuItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46679 PyObject
*resultobj
= 0;
46680 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46686 PyObject
* obj0
= 0 ;
46687 PyObject
* obj1
= 0 ;
46688 char * kwnames
[] = {
46689 (char *) "self",(char *) "font", NULL
46692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46694 if (!SWIG_IsOK(res1
)) {
46695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetFont" "', expected argument " "1"" of type '" "wxMenuItem *""'");
46697 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46698 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
46699 if (!SWIG_IsOK(res2
)) {
46700 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
46703 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MenuItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
46705 arg2
= reinterpret_cast< wxFont
* >(argp2
);
46707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46708 (arg1
)->SetFont((wxFont
const &)*arg2
);
46709 wxPyEndAllowThreads(__tstate
);
46710 if (PyErr_Occurred()) SWIG_fail
;
46712 resultobj
= SWIG_Py_Void();
46719 SWIGINTERN PyObject
*_wrap_MenuItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46720 PyObject
*resultobj
= 0;
46721 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46725 PyObject
*swig_obj
[1] ;
46727 if (!args
) SWIG_fail
;
46728 swig_obj
[0] = args
;
46729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46730 if (!SWIG_IsOK(res1
)) {
46731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetFont" "', expected argument " "1"" of type '" "wxMenuItem *""'");
46733 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46736 result
= (arg1
)->GetFont();
46737 wxPyEndAllowThreads(__tstate
);
46738 if (PyErr_Occurred()) SWIG_fail
;
46740 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
46747 SWIGINTERN PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46748 PyObject
*resultobj
= 0;
46749 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46750 wxColour
*arg2
= 0 ;
46754 PyObject
* obj0
= 0 ;
46755 PyObject
* obj1
= 0 ;
46756 char * kwnames
[] = {
46757 (char *) "self",(char *) "colText", NULL
46760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46762 if (!SWIG_IsOK(res1
)) {
46763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetTextColour" "', expected argument " "1"" of type '" "wxMenuItem *""'");
46765 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46768 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
46771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46772 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
46773 wxPyEndAllowThreads(__tstate
);
46774 if (PyErr_Occurred()) SWIG_fail
;
46776 resultobj
= SWIG_Py_Void();
46783 SWIGINTERN PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46784 PyObject
*resultobj
= 0;
46785 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46789 PyObject
*swig_obj
[1] ;
46791 if (!args
) SWIG_fail
;
46792 swig_obj
[0] = args
;
46793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46794 if (!SWIG_IsOK(res1
)) {
46795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetTextColour" "', expected argument " "1"" of type '" "wxMenuItem *""'");
46797 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46800 result
= (arg1
)->GetTextColour();
46801 wxPyEndAllowThreads(__tstate
);
46802 if (PyErr_Occurred()) SWIG_fail
;
46804 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
46811 SWIGINTERN PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46812 PyObject
*resultobj
= 0;
46813 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46814 wxColour
*arg2
= 0 ;
46818 PyObject
* obj0
= 0 ;
46819 PyObject
* obj1
= 0 ;
46820 char * kwnames
[] = {
46821 (char *) "self",(char *) "colBack", NULL
46824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46826 if (!SWIG_IsOK(res1
)) {
46827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxMenuItem *""'");
46829 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46832 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
46835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46836 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
46837 wxPyEndAllowThreads(__tstate
);
46838 if (PyErr_Occurred()) SWIG_fail
;
46840 resultobj
= SWIG_Py_Void();
46847 SWIGINTERN PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46848 PyObject
*resultobj
= 0;
46849 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46853 PyObject
*swig_obj
[1] ;
46855 if (!args
) SWIG_fail
;
46856 swig_obj
[0] = args
;
46857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46858 if (!SWIG_IsOK(res1
)) {
46859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxMenuItem *""'");
46861 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46864 result
= (arg1
)->GetBackgroundColour();
46865 wxPyEndAllowThreads(__tstate
);
46866 if (PyErr_Occurred()) SWIG_fail
;
46868 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
46875 SWIGINTERN PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46876 PyObject
*resultobj
= 0;
46877 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46878 wxBitmap
*arg2
= 0 ;
46879 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
46880 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
46887 PyObject
* obj0
= 0 ;
46888 PyObject
* obj1
= 0 ;
46889 PyObject
* obj2
= 0 ;
46890 char * kwnames
[] = {
46891 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
46894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
46895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46896 if (!SWIG_IsOK(res1
)) {
46897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetBitmaps" "', expected argument " "1"" of type '" "wxMenuItem *""'");
46899 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46900 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
46901 if (!SWIG_IsOK(res2
)) {
46902 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetBitmaps" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46905 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MenuItem_SetBitmaps" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46907 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
46909 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
46910 if (!SWIG_IsOK(res3
)) {
46911 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "MenuItem_SetBitmaps" "', expected argument " "3"" of type '" "wxBitmap const &""'");
46914 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MenuItem_SetBitmaps" "', expected argument " "3"" of type '" "wxBitmap const &""'");
46916 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
46919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46920 (arg1
)->SetBitmaps((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
46921 wxPyEndAllowThreads(__tstate
);
46922 if (PyErr_Occurred()) SWIG_fail
;
46924 resultobj
= SWIG_Py_Void();
46931 SWIGINTERN PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46932 PyObject
*resultobj
= 0;
46933 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46934 wxBitmap
*arg2
= 0 ;
46939 PyObject
* obj0
= 0 ;
46940 PyObject
* obj1
= 0 ;
46941 char * kwnames
[] = {
46942 (char *) "self",(char *) "bmpDisabled", NULL
46945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46947 if (!SWIG_IsOK(res1
)) {
46948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxMenuItem *""'");
46950 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46951 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
46952 if (!SWIG_IsOK(res2
)) {
46953 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46956 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MenuItem_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46958 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
46960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46961 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
46962 wxPyEndAllowThreads(__tstate
);
46963 if (PyErr_Occurred()) SWIG_fail
;
46965 resultobj
= SWIG_Py_Void();
46972 SWIGINTERN PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46973 PyObject
*resultobj
= 0;
46974 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46975 wxBitmap
*result
= 0 ;
46978 PyObject
*swig_obj
[1] ;
46980 if (!args
) SWIG_fail
;
46981 swig_obj
[0] = args
;
46982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46983 if (!SWIG_IsOK(res1
)) {
46984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
46986 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46990 wxBitmap
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetDisabledBitmap();
46991 result
= (wxBitmap
*) &_result_ref
;
46993 wxPyEndAllowThreads(__tstate
);
46994 if (PyErr_Occurred()) SWIG_fail
;
46997 wxBitmap
* resultptr
= new wxBitmap(*result
);
46998 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
47006 SWIGINTERN PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47007 PyObject
*resultobj
= 0;
47008 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
47014 PyObject
* obj0
= 0 ;
47015 PyObject
* obj1
= 0 ;
47016 char * kwnames
[] = {
47017 (char *) "self",(char *) "nWidth", NULL
47020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
47022 if (!SWIG_IsOK(res1
)) {
47023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetMarginWidth" "', expected argument " "1"" of type '" "wxMenuItem *""'");
47025 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
47026 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47027 if (!SWIG_IsOK(ecode2
)) {
47028 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_SetMarginWidth" "', expected argument " "2"" of type '" "int""'");
47030 arg2
= static_cast< int >(val2
);
47032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47033 (arg1
)->SetMarginWidth(arg2
);
47034 wxPyEndAllowThreads(__tstate
);
47035 if (PyErr_Occurred()) SWIG_fail
;
47037 resultobj
= SWIG_Py_Void();
47044 SWIGINTERN PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47045 PyObject
*resultobj
= 0;
47046 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
47050 PyObject
*swig_obj
[1] ;
47052 if (!args
) SWIG_fail
;
47053 swig_obj
[0] = args
;
47054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
47055 if (!SWIG_IsOK(res1
)) {
47056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetMarginWidth" "', expected argument " "1"" of type '" "wxMenuItem *""'");
47058 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
47060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47061 result
= (int)(arg1
)->GetMarginWidth();
47062 wxPyEndAllowThreads(__tstate
);
47063 if (PyErr_Occurred()) SWIG_fail
;
47065 resultobj
= SWIG_From_int(static_cast< int >(result
));
47072 SWIGINTERN PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47073 PyObject
*resultobj
= 0;
47076 if (!SWIG_Python_UnpackTuple(args
,"MenuItem_GetDefaultMarginWidth",0,0,0)) SWIG_fail
;
47078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47079 result
= (int)wxMenuItem::GetDefaultMarginWidth();
47080 wxPyEndAllowThreads(__tstate
);
47081 if (PyErr_Occurred()) SWIG_fail
;
47083 resultobj
= SWIG_From_int(static_cast< int >(result
));
47090 SWIGINTERN PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47091 PyObject
*resultobj
= 0;
47092 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
47096 PyObject
*swig_obj
[1] ;
47098 if (!args
) SWIG_fail
;
47099 swig_obj
[0] = args
;
47100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
47101 if (!SWIG_IsOK(res1
)) {
47102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_IsOwnerDrawn" "', expected argument " "1"" of type '" "wxMenuItem *""'");
47104 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
47106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47107 result
= (bool)(arg1
)->IsOwnerDrawn();
47108 wxPyEndAllowThreads(__tstate
);
47109 if (PyErr_Occurred()) SWIG_fail
;
47112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
47120 SWIGINTERN PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47121 PyObject
*resultobj
= 0;
47122 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
47123 bool arg2
= (bool) true ;
47128 PyObject
* obj0
= 0 ;
47129 PyObject
* obj1
= 0 ;
47130 char * kwnames
[] = {
47131 (char *) "self",(char *) "ownerDrawn", NULL
47134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
47136 if (!SWIG_IsOK(res1
)) {
47137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetOwnerDrawn" "', expected argument " "1"" of type '" "wxMenuItem *""'");
47139 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
47141 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
47142 if (!SWIG_IsOK(ecode2
)) {
47143 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_SetOwnerDrawn" "', expected argument " "2"" of type '" "bool""'");
47145 arg2
= static_cast< bool >(val2
);
47148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47149 (arg1
)->SetOwnerDrawn(arg2
);
47150 wxPyEndAllowThreads(__tstate
);
47151 if (PyErr_Occurred()) SWIG_fail
;
47153 resultobj
= SWIG_Py_Void();
47160 SWIGINTERN PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47161 PyObject
*resultobj
= 0;
47162 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
47165 PyObject
*swig_obj
[1] ;
47167 if (!args
) SWIG_fail
;
47168 swig_obj
[0] = args
;
47169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
47170 if (!SWIG_IsOK(res1
)) {
47171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_ResetOwnerDrawn" "', expected argument " "1"" of type '" "wxMenuItem *""'");
47173 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
47175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47176 (arg1
)->ResetOwnerDrawn();
47177 wxPyEndAllowThreads(__tstate
);
47178 if (PyErr_Occurred()) SWIG_fail
;
47180 resultobj
= SWIG_Py_Void();
47187 SWIGINTERN PyObject
*MenuItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47189 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
47190 SWIG_TypeNewClientData(SWIGTYPE_p_wxMenuItem
, SWIG_NewClientData(obj
));
47191 return SWIG_Py_Void();
47194 SWIGINTERN PyObject
*MenuItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47195 return SWIG_Python_InitShadowInstance(args
);
47198 SWIGINTERN
int ControlNameStr_set(PyObject
*) {
47199 SWIG_Error(SWIG_AttributeError
,"Variable ControlNameStr is read-only.");
47204 SWIGINTERN PyObject
*ControlNameStr_get(void) {
47205 PyObject
*pyobj
= 0;
47209 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
47211 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
47218 SWIGINTERN PyObject
*_wrap_new_Control(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47219 PyObject
*resultobj
= 0;
47220 wxWindow
*arg1
= (wxWindow
*) 0 ;
47221 int arg2
= (int) -1 ;
47222 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
47223 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
47224 wxSize
const &arg4_defvalue
= wxDefaultSize
;
47225 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
47226 long arg5
= (long) 0 ;
47227 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
47228 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
47229 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
47230 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
47231 wxControl
*result
= 0 ;
47242 bool temp7
= false ;
47243 PyObject
* obj0
= 0 ;
47244 PyObject
* obj1
= 0 ;
47245 PyObject
* obj2
= 0 ;
47246 PyObject
* obj3
= 0 ;
47247 PyObject
* obj4
= 0 ;
47248 PyObject
* obj5
= 0 ;
47249 PyObject
* obj6
= 0 ;
47250 char * kwnames
[] = {
47251 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
47254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
47255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
47256 if (!SWIG_IsOK(res1
)) {
47257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Control" "', expected argument " "1"" of type '" "wxWindow *""'");
47259 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
47261 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47262 if (!SWIG_IsOK(ecode2
)) {
47263 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Control" "', expected argument " "2"" of type '" "int""'");
47265 arg2
= static_cast< int >(val2
);
47270 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
47276 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
47280 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
47281 if (!SWIG_IsOK(ecode5
)) {
47282 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Control" "', expected argument " "5"" of type '" "long""'");
47284 arg5
= static_cast< long >(val5
);
47287 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
47288 if (!SWIG_IsOK(res6
)) {
47289 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_Control" "', expected argument " "6"" of type '" "wxValidator const &""'");
47292 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Control" "', expected argument " "6"" of type '" "wxValidator const &""'");
47294 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
47298 arg7
= wxString_in_helper(obj6
);
47299 if (arg7
== NULL
) SWIG_fail
;
47304 if (!wxPyCheckForApp()) SWIG_fail
;
47305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47306 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
47307 wxPyEndAllowThreads(__tstate
);
47308 if (PyErr_Occurred()) SWIG_fail
;
47310 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxControl
, SWIG_POINTER_NEW
| 0 );
47325 SWIGINTERN PyObject
*_wrap_new_PreControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47326 PyObject
*resultobj
= 0;
47327 wxControl
*result
= 0 ;
47329 if (!SWIG_Python_UnpackTuple(args
,"new_PreControl",0,0,0)) SWIG_fail
;
47331 if (!wxPyCheckForApp()) SWIG_fail
;
47332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47333 result
= (wxControl
*)new wxControl();
47334 wxPyEndAllowThreads(__tstate
);
47335 if (PyErr_Occurred()) SWIG_fail
;
47337 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxControl
, SWIG_POINTER_OWN
| 0 );
47344 SWIGINTERN PyObject
*_wrap_Control_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47345 PyObject
*resultobj
= 0;
47346 wxControl
*arg1
= (wxControl
*) 0 ;
47347 wxWindow
*arg2
= (wxWindow
*) 0 ;
47348 int arg3
= (int) -1 ;
47349 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
47350 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
47351 wxSize
const &arg5_defvalue
= wxDefaultSize
;
47352 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
47353 long arg6
= (long) 0 ;
47354 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
47355 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
47356 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
47357 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
47371 bool temp8
= false ;
47372 PyObject
* obj0
= 0 ;
47373 PyObject
* obj1
= 0 ;
47374 PyObject
* obj2
= 0 ;
47375 PyObject
* obj3
= 0 ;
47376 PyObject
* obj4
= 0 ;
47377 PyObject
* obj5
= 0 ;
47378 PyObject
* obj6
= 0 ;
47379 PyObject
* obj7
= 0 ;
47380 char * kwnames
[] = {
47381 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
47384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
47385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxControl
, 0 | 0 );
47386 if (!SWIG_IsOK(res1
)) {
47387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Control_Create" "', expected argument " "1"" of type '" "wxControl *""'");
47389 arg1
= reinterpret_cast< wxControl
* >(argp1
);
47390 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
47391 if (!SWIG_IsOK(res2
)) {
47392 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Control_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
47394 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
47396 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
47397 if (!SWIG_IsOK(ecode3
)) {
47398 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Control_Create" "', expected argument " "3"" of type '" "int""'");
47400 arg3
= static_cast< int >(val3
);
47405 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
47411 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
47415 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
47416 if (!SWIG_IsOK(ecode6
)) {
47417 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Control_Create" "', expected argument " "6"" of type '" "long""'");
47419 arg6
= static_cast< long >(val6
);
47422 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
47423 if (!SWIG_IsOK(res7
)) {
47424 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "Control_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
47427 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Control_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
47429 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
47433 arg8
= wxString_in_helper(obj7
);
47434 if (arg8
== NULL
) SWIG_fail
;
47439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47440 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
47441 wxPyEndAllowThreads(__tstate
);
47442 if (PyErr_Occurred()) SWIG_fail
;
47445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
47461 SWIGINTERN PyObject
*_wrap_Control_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47462 PyObject
*resultobj
= 0;
47463 wxControl
*arg1
= (wxControl
*) 0 ;
47467 PyObject
*swig_obj
[1] ;
47469 if (!args
) SWIG_fail
;
47470 swig_obj
[0] = args
;
47471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxControl
, 0 | 0 );
47472 if (!SWIG_IsOK(res1
)) {
47473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Control_GetAlignment" "', expected argument " "1"" of type '" "wxControl const *""'");
47475 arg1
= reinterpret_cast< wxControl
* >(argp1
);
47477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47478 result
= (int)((wxControl
const *)arg1
)->GetAlignment();
47479 wxPyEndAllowThreads(__tstate
);
47480 if (PyErr_Occurred()) SWIG_fail
;
47482 resultobj
= SWIG_From_int(static_cast< int >(result
));
47489 SWIGINTERN PyObject
*_wrap_Control_GetLabelText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47490 PyObject
*resultobj
= 0;
47491 wxControl
*arg1
= (wxControl
*) 0 ;
47495 PyObject
*swig_obj
[1] ;
47497 if (!args
) SWIG_fail
;
47498 swig_obj
[0] = args
;
47499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxControl
, 0 | 0 );
47500 if (!SWIG_IsOK(res1
)) {
47501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Control_GetLabelText" "', expected argument " "1"" of type '" "wxControl const *""'");
47503 arg1
= reinterpret_cast< wxControl
* >(argp1
);
47505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47506 result
= ((wxControl
const *)arg1
)->GetLabelText();
47507 wxPyEndAllowThreads(__tstate
);
47508 if (PyErr_Occurred()) SWIG_fail
;
47512 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
47514 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
47523 SWIGINTERN PyObject
*_wrap_Control_Command(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47524 PyObject
*resultobj
= 0;
47525 wxControl
*arg1
= (wxControl
*) 0 ;
47526 wxCommandEvent
*arg2
= 0 ;
47531 PyObject
* obj0
= 0 ;
47532 PyObject
* obj1
= 0 ;
47533 char * kwnames
[] = {
47534 (char *) "self",(char *) "event", NULL
47537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxControl
, 0 | 0 );
47539 if (!SWIG_IsOK(res1
)) {
47540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Control_Command" "', expected argument " "1"" of type '" "wxControl *""'");
47542 arg1
= reinterpret_cast< wxControl
* >(argp1
);
47543 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCommandEvent
, 0 );
47544 if (!SWIG_IsOK(res2
)) {
47545 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Control_Command" "', expected argument " "2"" of type '" "wxCommandEvent &""'");
47548 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Control_Command" "', expected argument " "2"" of type '" "wxCommandEvent &""'");
47550 arg2
= reinterpret_cast< wxCommandEvent
* >(argp2
);
47552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47553 (arg1
)->Command(*arg2
);
47554 wxPyEndAllowThreads(__tstate
);
47555 if (PyErr_Occurred()) SWIG_fail
;
47557 resultobj
= SWIG_Py_Void();
47564 SWIGINTERN PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47565 PyObject
*resultobj
= 0;
47566 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
47567 SwigValueWrapper
<wxVisualAttributes
> result
;
47570 PyObject
* obj0
= 0 ;
47571 char * kwnames
[] = {
47572 (char *) "variant", NULL
47575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
47577 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
47578 if (!SWIG_IsOK(ecode1
)) {
47579 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Control_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
47581 arg1
= static_cast< wxWindowVariant
>(val1
);
47584 if (!wxPyCheckForApp()) SWIG_fail
;
47585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47586 result
= wxControl::GetClassDefaultAttributes(arg1
);
47587 wxPyEndAllowThreads(__tstate
);
47588 if (PyErr_Occurred()) SWIG_fail
;
47590 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
47597 SWIGINTERN PyObject
*Control_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47599 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
47600 SWIG_TypeNewClientData(SWIGTYPE_p_wxControl
, SWIG_NewClientData(obj
));
47601 return SWIG_Py_Void();
47604 SWIGINTERN PyObject
*Control_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47605 return SWIG_Python_InitShadowInstance(args
);
47608 SWIGINTERN PyObject
*_wrap_ItemContainer_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47609 PyObject
*resultobj
= 0;
47610 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
47611 wxString
*arg2
= 0 ;
47612 PyObject
*arg3
= (PyObject
*) NULL
;
47616 bool temp2
= false ;
47617 PyObject
* obj0
= 0 ;
47618 PyObject
* obj1
= 0 ;
47619 PyObject
* obj2
= 0 ;
47620 char * kwnames
[] = {
47621 (char *) "self",(char *) "item",(char *) "clientData", NULL
47624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
47625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
47626 if (!SWIG_IsOK(res1
)) {
47627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_Append" "', expected argument " "1"" of type '" "wxItemContainer *""'");
47629 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
47631 arg2
= wxString_in_helper(obj1
);
47632 if (arg2
== NULL
) SWIG_fail
;
47639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47640 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
47641 wxPyEndAllowThreads(__tstate
);
47642 if (PyErr_Occurred()) SWIG_fail
;
47644 resultobj
= SWIG_From_int(static_cast< int >(result
));
47659 SWIGINTERN PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47660 PyObject
*resultobj
= 0;
47661 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
47662 wxArrayString
*arg2
= 0 ;
47665 bool temp2
= false ;
47666 PyObject
* obj0
= 0 ;
47667 PyObject
* obj1
= 0 ;
47668 char * kwnames
[] = {
47669 (char *) "self",(char *) "strings", NULL
47672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
47674 if (!SWIG_IsOK(res1
)) {
47675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_AppendItems" "', expected argument " "1"" of type '" "wxItemContainer *""'");
47677 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
47679 if (! PySequence_Check(obj1
)) {
47680 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
47683 arg2
= new wxArrayString
;
47685 int i
, len
=PySequence_Length(obj1
);
47686 for (i
=0; i
<len
; i
++) {
47687 PyObject
* item
= PySequence_GetItem(obj1
, i
);
47688 wxString
* s
= wxString_in_helper(item
);
47689 if (PyErr_Occurred()) SWIG_fail
;
47696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47697 (arg1
)->Append((wxArrayString
const &)*arg2
);
47698 wxPyEndAllowThreads(__tstate
);
47699 if (PyErr_Occurred()) SWIG_fail
;
47701 resultobj
= SWIG_Py_Void();
47703 if (temp2
) delete arg2
;
47708 if (temp2
) delete arg2
;
47714 SWIGINTERN PyObject
*_wrap_ItemContainer_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47715 PyObject
*resultobj
= 0;
47716 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
47717 wxString
*arg2
= 0 ;
47719 PyObject
*arg4
= (PyObject
*) NULL
;
47723 bool temp2
= false ;
47726 PyObject
* obj0
= 0 ;
47727 PyObject
* obj1
= 0 ;
47728 PyObject
* obj2
= 0 ;
47729 PyObject
* obj3
= 0 ;
47730 char * kwnames
[] = {
47731 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
47734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
47735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
47736 if (!SWIG_IsOK(res1
)) {
47737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_Insert" "', expected argument " "1"" of type '" "wxItemContainer *""'");
47739 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
47741 arg2
= wxString_in_helper(obj1
);
47742 if (arg2
== NULL
) SWIG_fail
;
47745 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
47746 if (!SWIG_IsOK(ecode3
)) {
47747 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ItemContainer_Insert" "', expected argument " "3"" of type '" "int""'");
47749 arg3
= static_cast< int >(val3
);
47754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47755 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
47756 wxPyEndAllowThreads(__tstate
);
47757 if (PyErr_Occurred()) SWIG_fail
;
47759 resultobj
= SWIG_From_int(static_cast< int >(result
));
47774 SWIGINTERN PyObject
*_wrap_ItemContainer_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47775 PyObject
*resultobj
= 0;
47776 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
47779 PyObject
*swig_obj
[1] ;
47781 if (!args
) SWIG_fail
;
47782 swig_obj
[0] = args
;
47783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
47784 if (!SWIG_IsOK(res1
)) {
47785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_Clear" "', expected argument " "1"" of type '" "wxItemContainer *""'");
47787 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
47789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47791 wxPyEndAllowThreads(__tstate
);
47792 if (PyErr_Occurred()) SWIG_fail
;
47794 resultobj
= SWIG_Py_Void();
47801 SWIGINTERN PyObject
*_wrap_ItemContainer_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47802 PyObject
*resultobj
= 0;
47803 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
47809 PyObject
* obj0
= 0 ;
47810 PyObject
* obj1
= 0 ;
47811 char * kwnames
[] = {
47812 (char *) "self",(char *) "n", NULL
47815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
47817 if (!SWIG_IsOK(res1
)) {
47818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_Delete" "', expected argument " "1"" of type '" "wxItemContainer *""'");
47820 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
47821 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47822 if (!SWIG_IsOK(ecode2
)) {
47823 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_Delete" "', expected argument " "2"" of type '" "int""'");
47825 arg2
= static_cast< int >(val2
);
47827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47828 (arg1
)->Delete(arg2
);
47829 wxPyEndAllowThreads(__tstate
);
47830 if (PyErr_Occurred()) SWIG_fail
;
47832 resultobj
= SWIG_Py_Void();
47839 SWIGINTERN PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47840 PyObject
*resultobj
= 0;
47841 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
47843 PyObject
*result
= 0 ;
47848 PyObject
* obj0
= 0 ;
47849 PyObject
* obj1
= 0 ;
47850 char * kwnames
[] = {
47851 (char *) "self",(char *) "n", NULL
47854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
47856 if (!SWIG_IsOK(res1
)) {
47857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_GetClientData" "', expected argument " "1"" of type '" "wxItemContainer *""'");
47859 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
47860 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47861 if (!SWIG_IsOK(ecode2
)) {
47862 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_GetClientData" "', expected argument " "2"" of type '" "int""'");
47864 arg2
= static_cast< int >(val2
);
47866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47867 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
47868 wxPyEndAllowThreads(__tstate
);
47869 if (PyErr_Occurred()) SWIG_fail
;
47871 resultobj
= result
;
47878 SWIGINTERN PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47879 PyObject
*resultobj
= 0;
47880 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
47882 PyObject
*arg3
= (PyObject
*) 0 ;
47887 PyObject
* obj0
= 0 ;
47888 PyObject
* obj1
= 0 ;
47889 PyObject
* obj2
= 0 ;
47890 char * kwnames
[] = {
47891 (char *) "self",(char *) "n",(char *) "clientData", NULL
47894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
47895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
47896 if (!SWIG_IsOK(res1
)) {
47897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_SetClientData" "', expected argument " "1"" of type '" "wxItemContainer *""'");
47899 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
47900 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47901 if (!SWIG_IsOK(ecode2
)) {
47902 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_SetClientData" "', expected argument " "2"" of type '" "int""'");
47904 arg2
= static_cast< int >(val2
);
47907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47908 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
47909 wxPyEndAllowThreads(__tstate
);
47910 if (PyErr_Occurred()) SWIG_fail
;
47912 resultobj
= SWIG_Py_Void();
47919 SWIGINTERN PyObject
*_wrap_ItemContainer_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47920 PyObject
*resultobj
= 0;
47921 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
47925 PyObject
*swig_obj
[1] ;
47927 if (!args
) SWIG_fail
;
47928 swig_obj
[0] = args
;
47929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
47930 if (!SWIG_IsOK(res1
)) {
47931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_GetCount" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
47933 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
47935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47936 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
47937 wxPyEndAllowThreads(__tstate
);
47938 if (PyErr_Occurred()) SWIG_fail
;
47940 resultobj
= SWIG_From_int(static_cast< int >(result
));
47947 SWIGINTERN PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47948 PyObject
*resultobj
= 0;
47949 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
47953 PyObject
*swig_obj
[1] ;
47955 if (!args
) SWIG_fail
;
47956 swig_obj
[0] = args
;
47957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
47958 if (!SWIG_IsOK(res1
)) {
47959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_IsEmpty" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
47961 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
47963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47964 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
47965 wxPyEndAllowThreads(__tstate
);
47966 if (PyErr_Occurred()) SWIG_fail
;
47969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
47977 SWIGINTERN PyObject
*_wrap_ItemContainer_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47978 PyObject
*resultobj
= 0;
47979 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
47986 PyObject
* obj0
= 0 ;
47987 PyObject
* obj1
= 0 ;
47988 char * kwnames
[] = {
47989 (char *) "self",(char *) "n", NULL
47992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
47994 if (!SWIG_IsOK(res1
)) {
47995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_GetString" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
47997 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
47998 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47999 if (!SWIG_IsOK(ecode2
)) {
48000 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_GetString" "', expected argument " "2"" of type '" "int""'");
48002 arg2
= static_cast< int >(val2
);
48004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48005 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
48006 wxPyEndAllowThreads(__tstate
);
48007 if (PyErr_Occurred()) SWIG_fail
;
48011 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
48013 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
48022 SWIGINTERN PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48023 PyObject
*resultobj
= 0;
48024 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
48025 wxArrayString result
;
48028 PyObject
*swig_obj
[1] ;
48030 if (!args
) SWIG_fail
;
48031 swig_obj
[0] = args
;
48032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
48033 if (!SWIG_IsOK(res1
)) {
48034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_GetStrings" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
48036 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
48038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48039 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
48040 wxPyEndAllowThreads(__tstate
);
48041 if (PyErr_Occurred()) SWIG_fail
;
48044 resultobj
= wxArrayString2PyList_helper(result
);
48052 SWIGINTERN PyObject
*_wrap_ItemContainer_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48053 PyObject
*resultobj
= 0;
48054 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
48056 wxString
*arg3
= 0 ;
48061 bool temp3
= false ;
48062 PyObject
* obj0
= 0 ;
48063 PyObject
* obj1
= 0 ;
48064 PyObject
* obj2
= 0 ;
48065 char * kwnames
[] = {
48066 (char *) "self",(char *) "n",(char *) "s", NULL
48069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
48070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
48071 if (!SWIG_IsOK(res1
)) {
48072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_SetString" "', expected argument " "1"" of type '" "wxItemContainer *""'");
48074 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
48075 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
48076 if (!SWIG_IsOK(ecode2
)) {
48077 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_SetString" "', expected argument " "2"" of type '" "int""'");
48079 arg2
= static_cast< int >(val2
);
48081 arg3
= wxString_in_helper(obj2
);
48082 if (arg3
== NULL
) SWIG_fail
;
48086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48087 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
48088 wxPyEndAllowThreads(__tstate
);
48089 if (PyErr_Occurred()) SWIG_fail
;
48091 resultobj
= SWIG_Py_Void();
48106 SWIGINTERN PyObject
*_wrap_ItemContainer_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48107 PyObject
*resultobj
= 0;
48108 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
48109 wxString
*arg2
= 0 ;
48113 bool temp2
= false ;
48114 PyObject
* obj0
= 0 ;
48115 PyObject
* obj1
= 0 ;
48116 char * kwnames
[] = {
48117 (char *) "self",(char *) "s", NULL
48120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
48122 if (!SWIG_IsOK(res1
)) {
48123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_FindString" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
48125 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
48127 arg2
= wxString_in_helper(obj1
);
48128 if (arg2
== NULL
) SWIG_fail
;
48132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48133 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
48134 wxPyEndAllowThreads(__tstate
);
48135 if (PyErr_Occurred()) SWIG_fail
;
48137 resultobj
= SWIG_From_int(static_cast< int >(result
));
48152 SWIGINTERN PyObject
*_wrap_ItemContainer_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48153 PyObject
*resultobj
= 0;
48154 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
48160 PyObject
* obj0
= 0 ;
48161 PyObject
* obj1
= 0 ;
48162 char * kwnames
[] = {
48163 (char *) "self",(char *) "n", NULL
48166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
48168 if (!SWIG_IsOK(res1
)) {
48169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_SetSelection" "', expected argument " "1"" of type '" "wxItemContainer *""'");
48171 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
48172 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
48173 if (!SWIG_IsOK(ecode2
)) {
48174 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_SetSelection" "', expected argument " "2"" of type '" "int""'");
48176 arg2
= static_cast< int >(val2
);
48178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48179 (arg1
)->SetSelection(arg2
);
48180 wxPyEndAllowThreads(__tstate
);
48181 if (PyErr_Occurred()) SWIG_fail
;
48183 resultobj
= SWIG_Py_Void();
48190 SWIGINTERN PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48191 PyObject
*resultobj
= 0;
48192 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
48196 PyObject
*swig_obj
[1] ;
48198 if (!args
) SWIG_fail
;
48199 swig_obj
[0] = args
;
48200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
48201 if (!SWIG_IsOK(res1
)) {
48202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_GetSelection" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
48204 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
48206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48207 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
48208 wxPyEndAllowThreads(__tstate
);
48209 if (PyErr_Occurred()) SWIG_fail
;
48211 resultobj
= SWIG_From_int(static_cast< int >(result
));
48218 SWIGINTERN PyObject
*_wrap_ItemContainer_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48219 PyObject
*resultobj
= 0;
48220 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
48221 wxString
*arg2
= 0 ;
48225 bool temp2
= false ;
48226 PyObject
* obj0
= 0 ;
48227 PyObject
* obj1
= 0 ;
48228 char * kwnames
[] = {
48229 (char *) "self",(char *) "s", NULL
48232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
48234 if (!SWIG_IsOK(res1
)) {
48235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_SetStringSelection" "', expected argument " "1"" of type '" "wxItemContainer *""'");
48237 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
48239 arg2
= wxString_in_helper(obj1
);
48240 if (arg2
== NULL
) SWIG_fail
;
48244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48245 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
48246 wxPyEndAllowThreads(__tstate
);
48247 if (PyErr_Occurred()) SWIG_fail
;
48250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
48266 SWIGINTERN PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48267 PyObject
*resultobj
= 0;
48268 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
48272 PyObject
*swig_obj
[1] ;
48274 if (!args
) SWIG_fail
;
48275 swig_obj
[0] = args
;
48276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
48277 if (!SWIG_IsOK(res1
)) {
48278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_GetStringSelection" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
48280 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
48282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48283 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
48284 wxPyEndAllowThreads(__tstate
);
48285 if (PyErr_Occurred()) SWIG_fail
;
48289 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
48291 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
48300 SWIGINTERN PyObject
*_wrap_ItemContainer_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48301 PyObject
*resultobj
= 0;
48302 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
48308 PyObject
* obj0
= 0 ;
48309 PyObject
* obj1
= 0 ;
48310 char * kwnames
[] = {
48311 (char *) "self",(char *) "n", NULL
48314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
48316 if (!SWIG_IsOK(res1
)) {
48317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_Select" "', expected argument " "1"" of type '" "wxItemContainer *""'");
48319 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
48320 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
48321 if (!SWIG_IsOK(ecode2
)) {
48322 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_Select" "', expected argument " "2"" of type '" "int""'");
48324 arg2
= static_cast< int >(val2
);
48326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48327 (arg1
)->Select(arg2
);
48328 wxPyEndAllowThreads(__tstate
);
48329 if (PyErr_Occurred()) SWIG_fail
;
48331 resultobj
= SWIG_Py_Void();
48338 SWIGINTERN PyObject
*ItemContainer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48340 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
48341 SWIG_TypeNewClientData(SWIGTYPE_p_wxItemContainer
, SWIG_NewClientData(obj
));
48342 return SWIG_Py_Void();
48345 SWIGINTERN PyObject
*ControlWithItems_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48347 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
48348 SWIG_TypeNewClientData(SWIGTYPE_p_wxControlWithItems
, SWIG_NewClientData(obj
));
48349 return SWIG_Py_Void();
48352 SWIGINTERN PyObject
*_wrap_new_SizerItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48353 PyObject
*resultobj
= 0;
48354 wxSizerItem
*result
= 0 ;
48356 if (!SWIG_Python_UnpackTuple(args
,"new_SizerItem",0,0,0)) SWIG_fail
;
48358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48359 result
= (wxSizerItem
*)new wxSizerItem();
48360 wxPyEndAllowThreads(__tstate
);
48361 if (PyErr_Occurred()) SWIG_fail
;
48363 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_NEW
| 0 );
48370 SWIGINTERN PyObject
*_wrap_delete_SizerItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48371 PyObject
*resultobj
= 0;
48372 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
48375 PyObject
*swig_obj
[1] ;
48377 if (!args
) SWIG_fail
;
48378 swig_obj
[0] = args
;
48379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_DISOWN
| 0 );
48380 if (!SWIG_IsOK(res1
)) {
48381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SizerItem" "', expected argument " "1"" of type '" "wxSizerItem *""'");
48383 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
48385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48388 wxPyEndAllowThreads(__tstate
);
48389 if (PyErr_Occurred()) SWIG_fail
;
48391 resultobj
= SWIG_Py_Void();
48398 SWIGINTERN PyObject
*_wrap_new_SizerItemWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48399 PyObject
*resultobj
= 0;
48400 wxWindow
*arg1
= (wxWindow
*) 0 ;
48404 PyObject
*arg5
= (PyObject
*) NULL
;
48405 wxSizerItem
*result
= 0 ;
48414 PyObject
* obj0
= 0 ;
48415 PyObject
* obj1
= 0 ;
48416 PyObject
* obj2
= 0 ;
48417 PyObject
* obj3
= 0 ;
48418 PyObject
* obj4
= 0 ;
48419 char * kwnames
[] = {
48420 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
48423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
48424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
48425 if (!SWIG_IsOK(res1
)) {
48426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SizerItemWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
48428 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
48429 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
48430 if (!SWIG_IsOK(ecode2
)) {
48431 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SizerItemWindow" "', expected argument " "2"" of type '" "int""'");
48433 arg2
= static_cast< int >(val2
);
48434 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
48435 if (!SWIG_IsOK(ecode3
)) {
48436 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SizerItemWindow" "', expected argument " "3"" of type '" "int""'");
48438 arg3
= static_cast< int >(val3
);
48439 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
48440 if (!SWIG_IsOK(ecode4
)) {
48441 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_SizerItemWindow" "', expected argument " "4"" of type '" "int""'");
48443 arg4
= static_cast< int >(val4
);
48448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48449 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
48450 wxPyEndAllowThreads(__tstate
);
48451 if (PyErr_Occurred()) SWIG_fail
;
48453 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_OWN
| 0 );
48460 SWIGINTERN PyObject
*_wrap_new_SizerItemSpacer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48461 PyObject
*resultobj
= 0;
48467 PyObject
*arg6
= (PyObject
*) NULL
;
48468 wxSizerItem
*result
= 0 ;
48479 PyObject
* obj0
= 0 ;
48480 PyObject
* obj1
= 0 ;
48481 PyObject
* obj2
= 0 ;
48482 PyObject
* obj3
= 0 ;
48483 PyObject
* obj4
= 0 ;
48484 PyObject
* obj5
= 0 ;
48485 char * kwnames
[] = {
48486 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
48489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
48490 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
48491 if (!SWIG_IsOK(ecode1
)) {
48492 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SizerItemSpacer" "', expected argument " "1"" of type '" "int""'");
48494 arg1
= static_cast< int >(val1
);
48495 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
48496 if (!SWIG_IsOK(ecode2
)) {
48497 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SizerItemSpacer" "', expected argument " "2"" of type '" "int""'");
48499 arg2
= static_cast< int >(val2
);
48500 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
48501 if (!SWIG_IsOK(ecode3
)) {
48502 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SizerItemSpacer" "', expected argument " "3"" of type '" "int""'");
48504 arg3
= static_cast< int >(val3
);
48505 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
48506 if (!SWIG_IsOK(ecode4
)) {
48507 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_SizerItemSpacer" "', expected argument " "4"" of type '" "int""'");
48509 arg4
= static_cast< int >(val4
);
48510 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
48511 if (!SWIG_IsOK(ecode5
)) {
48512 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SizerItemSpacer" "', expected argument " "5"" of type '" "int""'");
48514 arg5
= static_cast< int >(val5
);
48519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48520 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
48521 wxPyEndAllowThreads(__tstate
);
48522 if (PyErr_Occurred()) SWIG_fail
;
48524 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_OWN
| 0 );
48531 SWIGINTERN PyObject
*_wrap_new_SizerItemSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48532 PyObject
*resultobj
= 0;
48533 wxSizer
*arg1
= (wxSizer
*) 0 ;
48537 PyObject
*arg5
= (PyObject
*) NULL
;
48538 wxSizerItem
*result
= 0 ;
48546 PyObject
* obj0
= 0 ;
48547 PyObject
* obj1
= 0 ;
48548 PyObject
* obj2
= 0 ;
48549 PyObject
* obj3
= 0 ;
48550 PyObject
* obj4
= 0 ;
48551 char * kwnames
[] = {
48552 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
48555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
48556 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxSizer
, SWIG_POINTER_DISOWN
| 0 );
48557 if (!SWIG_IsOK(res1
)) {
48558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SizerItemSizer" "', expected argument " "1"" of type '" "wxSizer *""'");
48560 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
48561 if (!SWIG_IsOK(ecode2
)) {
48562 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SizerItemSizer" "', expected argument " "2"" of type '" "int""'");
48564 arg2
= static_cast< int >(val2
);
48565 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
48566 if (!SWIG_IsOK(ecode3
)) {
48567 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SizerItemSizer" "', expected argument " "3"" of type '" "int""'");
48569 arg3
= static_cast< int >(val3
);
48570 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
48571 if (!SWIG_IsOK(ecode4
)) {
48572 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_SizerItemSizer" "', expected argument " "4"" of type '" "int""'");
48574 arg4
= static_cast< int >(val4
);
48579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48580 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
48581 wxPyEndAllowThreads(__tstate
);
48582 if (PyErr_Occurred()) SWIG_fail
;
48584 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_OWN
| 0 );
48591 SWIGINTERN PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48592 PyObject
*resultobj
= 0;
48593 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
48596 PyObject
*swig_obj
[1] ;
48598 if (!args
) SWIG_fail
;
48599 swig_obj
[0] = args
;
48600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
48601 if (!SWIG_IsOK(res1
)) {
48602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_DeleteWindows" "', expected argument " "1"" of type '" "wxSizerItem *""'");
48604 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
48606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48607 (arg1
)->DeleteWindows();
48608 wxPyEndAllowThreads(__tstate
);
48609 if (PyErr_Occurred()) SWIG_fail
;
48611 resultobj
= SWIG_Py_Void();
48618 SWIGINTERN PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48619 PyObject
*resultobj
= 0;
48620 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
48623 PyObject
*swig_obj
[1] ;
48625 if (!args
) SWIG_fail
;
48626 swig_obj
[0] = args
;
48627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
48628 if (!SWIG_IsOK(res1
)) {
48629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_DetachSizer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
48631 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
48633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48634 (arg1
)->DetachSizer();
48635 wxPyEndAllowThreads(__tstate
);
48636 if (PyErr_Occurred()) SWIG_fail
;
48638 resultobj
= SWIG_Py_Void();
48645 SWIGINTERN PyObject
*_wrap_SizerItem_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48646 PyObject
*resultobj
= 0;
48647 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
48651 PyObject
*swig_obj
[1] ;
48653 if (!args
) SWIG_fail
;
48654 swig_obj
[0] = args
;
48655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
48656 if (!SWIG_IsOK(res1
)) {
48657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetSize" "', expected argument " "1"" of type '" "wxSizerItem *""'");
48659 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
48661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48662 result
= (arg1
)->GetSize();
48663 wxPyEndAllowThreads(__tstate
);
48664 if (PyErr_Occurred()) SWIG_fail
;
48666 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
48673 SWIGINTERN PyObject
*_wrap_SizerItem_CalcMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48674 PyObject
*resultobj
= 0;
48675 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
48679 PyObject
*swig_obj
[1] ;
48681 if (!args
) SWIG_fail
;
48682 swig_obj
[0] = args
;
48683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
48684 if (!SWIG_IsOK(res1
)) {
48685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_CalcMin" "', expected argument " "1"" of type '" "wxSizerItem *""'");
48687 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
48689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48690 result
= (arg1
)->CalcMin();
48691 wxPyEndAllowThreads(__tstate
);
48692 if (PyErr_Occurred()) SWIG_fail
;
48694 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
48701 SWIGINTERN PyObject
*_wrap_SizerItem_SetDimension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48702 PyObject
*resultobj
= 0;
48703 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
48704 wxPoint
*arg2
= 0 ;
48710 PyObject
* obj0
= 0 ;
48711 PyObject
* obj1
= 0 ;
48712 PyObject
* obj2
= 0 ;
48713 char * kwnames
[] = {
48714 (char *) "self",(char *) "pos",(char *) "size", NULL
48717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
48718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
48719 if (!SWIG_IsOK(res1
)) {
48720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetDimension" "', expected argument " "1"" of type '" "wxSizerItem *""'");
48722 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
48725 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
48729 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
48732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48733 (arg1
)->SetDimension((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
48734 wxPyEndAllowThreads(__tstate
);
48735 if (PyErr_Occurred()) SWIG_fail
;
48737 resultobj
= SWIG_Py_Void();
48744 SWIGINTERN PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48745 PyObject
*resultobj
= 0;
48746 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
48750 PyObject
*swig_obj
[1] ;
48752 if (!args
) SWIG_fail
;
48753 swig_obj
[0] = args
;
48754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
48755 if (!SWIG_IsOK(res1
)) {
48756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetMinSize" "', expected argument " "1"" of type '" "wxSizerItem *""'");
48758 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
48760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48761 result
= (arg1
)->GetMinSize();
48762 wxPyEndAllowThreads(__tstate
);
48763 if (PyErr_Occurred()) SWIG_fail
;
48765 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
48772 SWIGINTERN PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48773 PyObject
*resultobj
= 0;
48774 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
48778 PyObject
*swig_obj
[1] ;
48780 if (!args
) SWIG_fail
;
48781 swig_obj
[0] = args
;
48782 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
48783 if (!SWIG_IsOK(res1
)) {
48784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetMinSizeWithBorder" "', expected argument " "1"" of type '" "wxSizerItem const *""'");
48786 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
48788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48789 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
48790 wxPyEndAllowThreads(__tstate
);
48791 if (PyErr_Occurred()) SWIG_fail
;
48793 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
48800 SWIGINTERN PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48801 PyObject
*resultobj
= 0;
48802 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
48811 PyObject
* obj0
= 0 ;
48812 PyObject
* obj1
= 0 ;
48813 PyObject
* obj2
= 0 ;
48814 char * kwnames
[] = {
48815 (char *) "self",(char *) "x",(char *) "y", NULL
48818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
48819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
48820 if (!SWIG_IsOK(res1
)) {
48821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetInitSize" "', expected argument " "1"" of type '" "wxSizerItem *""'");
48823 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
48824 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
48825 if (!SWIG_IsOK(ecode2
)) {
48826 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_SetInitSize" "', expected argument " "2"" of type '" "int""'");
48828 arg2
= static_cast< int >(val2
);
48829 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
48830 if (!SWIG_IsOK(ecode3
)) {
48831 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SizerItem_SetInitSize" "', expected argument " "3"" of type '" "int""'");
48833 arg3
= static_cast< int >(val3
);
48835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48836 (arg1
)->SetInitSize(arg2
,arg3
);
48837 wxPyEndAllowThreads(__tstate
);
48838 if (PyErr_Occurred()) SWIG_fail
;
48840 resultobj
= SWIG_Py_Void();
48847 SWIGINTERN PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48848 PyObject
*resultobj
= 0;
48849 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
48858 PyObject
* obj0
= 0 ;
48859 PyObject
* obj1
= 0 ;
48860 PyObject
* obj2
= 0 ;
48861 char * kwnames
[] = {
48862 (char *) "self",(char *) "width",(char *) "height", NULL
48865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
48866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
48867 if (!SWIG_IsOK(res1
)) {
48868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetRatioWH" "', expected argument " "1"" of type '" "wxSizerItem *""'");
48870 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
48871 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
48872 if (!SWIG_IsOK(ecode2
)) {
48873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_SetRatioWH" "', expected argument " "2"" of type '" "int""'");
48875 arg2
= static_cast< int >(val2
);
48876 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
48877 if (!SWIG_IsOK(ecode3
)) {
48878 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SizerItem_SetRatioWH" "', expected argument " "3"" of type '" "int""'");
48880 arg3
= static_cast< int >(val3
);
48882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48883 (arg1
)->SetRatio(arg2
,arg3
);
48884 wxPyEndAllowThreads(__tstate
);
48885 if (PyErr_Occurred()) SWIG_fail
;
48887 resultobj
= SWIG_Py_Void();
48894 SWIGINTERN PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48895 PyObject
*resultobj
= 0;
48896 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
48901 PyObject
* obj0
= 0 ;
48902 PyObject
* obj1
= 0 ;
48903 char * kwnames
[] = {
48904 (char *) "self",(char *) "size", NULL
48907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
48909 if (!SWIG_IsOK(res1
)) {
48910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetRatioSize" "', expected argument " "1"" of type '" "wxSizerItem *""'");
48912 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
48915 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
48918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48919 (arg1
)->SetRatio((wxSize
const &)*arg2
);
48920 wxPyEndAllowThreads(__tstate
);
48921 if (PyErr_Occurred()) SWIG_fail
;
48923 resultobj
= SWIG_Py_Void();
48930 SWIGINTERN PyObject
*_wrap_SizerItem_SetRatio(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48931 PyObject
*resultobj
= 0;
48932 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
48938 PyObject
* obj0
= 0 ;
48939 PyObject
* obj1
= 0 ;
48940 char * kwnames
[] = {
48941 (char *) "self",(char *) "ratio", NULL
48944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
48946 if (!SWIG_IsOK(res1
)) {
48947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetRatio" "', expected argument " "1"" of type '" "wxSizerItem *""'");
48949 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
48950 ecode2
= SWIG_AsVal_float(obj1
, &val2
);
48951 if (!SWIG_IsOK(ecode2
)) {
48952 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_SetRatio" "', expected argument " "2"" of type '" "float""'");
48954 arg2
= static_cast< float >(val2
);
48956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48957 (arg1
)->SetRatio(arg2
);
48958 wxPyEndAllowThreads(__tstate
);
48959 if (PyErr_Occurred()) SWIG_fail
;
48961 resultobj
= SWIG_Py_Void();
48968 SWIGINTERN PyObject
*_wrap_SizerItem_GetRatio(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48969 PyObject
*resultobj
= 0;
48970 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
48974 PyObject
*swig_obj
[1] ;
48976 if (!args
) SWIG_fail
;
48977 swig_obj
[0] = args
;
48978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
48979 if (!SWIG_IsOK(res1
)) {
48980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetRatio" "', expected argument " "1"" of type '" "wxSizerItem *""'");
48982 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
48984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48985 result
= (float)(arg1
)->GetRatio();
48986 wxPyEndAllowThreads(__tstate
);
48987 if (PyErr_Occurred()) SWIG_fail
;
48989 resultobj
= SWIG_From_float(static_cast< float >(result
));
48996 SWIGINTERN PyObject
*_wrap_SizerItem_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48997 PyObject
*resultobj
= 0;
48998 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
49002 PyObject
*swig_obj
[1] ;
49004 if (!args
) SWIG_fail
;
49005 swig_obj
[0] = args
;
49006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
49007 if (!SWIG_IsOK(res1
)) {
49008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetRect" "', expected argument " "1"" of type '" "wxSizerItem *""'");
49010 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
49012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49013 result
= (arg1
)->GetRect();
49014 wxPyEndAllowThreads(__tstate
);
49015 if (PyErr_Occurred()) SWIG_fail
;
49017 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
49024 SWIGINTERN PyObject
*_wrap_SizerItem_IsWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49025 PyObject
*resultobj
= 0;
49026 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
49030 PyObject
*swig_obj
[1] ;
49032 if (!args
) SWIG_fail
;
49033 swig_obj
[0] = args
;
49034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
49035 if (!SWIG_IsOK(res1
)) {
49036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_IsWindow" "', expected argument " "1"" of type '" "wxSizerItem *""'");
49038 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
49040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49041 result
= (bool)(arg1
)->IsWindow();
49042 wxPyEndAllowThreads(__tstate
);
49043 if (PyErr_Occurred()) SWIG_fail
;
49046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
49054 SWIGINTERN PyObject
*_wrap_SizerItem_IsSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49055 PyObject
*resultobj
= 0;
49056 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
49060 PyObject
*swig_obj
[1] ;
49062 if (!args
) SWIG_fail
;
49063 swig_obj
[0] = args
;
49064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
49065 if (!SWIG_IsOK(res1
)) {
49066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_IsSizer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
49068 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
49070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49071 result
= (bool)(arg1
)->IsSizer();
49072 wxPyEndAllowThreads(__tstate
);
49073 if (PyErr_Occurred()) SWIG_fail
;
49076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
49084 SWIGINTERN PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49085 PyObject
*resultobj
= 0;
49086 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
49090 PyObject
*swig_obj
[1] ;
49092 if (!args
) SWIG_fail
;
49093 swig_obj
[0] = args
;
49094 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
49095 if (!SWIG_IsOK(res1
)) {
49096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_IsSpacer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
49098 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
49100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49101 result
= (bool)(arg1
)->IsSpacer();
49102 wxPyEndAllowThreads(__tstate
);
49103 if (PyErr_Occurred()) SWIG_fail
;
49106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
49114 SWIGINTERN PyObject
*_wrap_SizerItem_SetProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49115 PyObject
*resultobj
= 0;
49116 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
49122 PyObject
* obj0
= 0 ;
49123 PyObject
* obj1
= 0 ;
49124 char * kwnames
[] = {
49125 (char *) "self",(char *) "proportion", NULL
49128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
49130 if (!SWIG_IsOK(res1
)) {
49131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetProportion" "', expected argument " "1"" of type '" "wxSizerItem *""'");
49133 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
49134 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
49135 if (!SWIG_IsOK(ecode2
)) {
49136 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_SetProportion" "', expected argument " "2"" of type '" "int""'");
49138 arg2
= static_cast< int >(val2
);
49140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49141 (arg1
)->SetProportion(arg2
);
49142 wxPyEndAllowThreads(__tstate
);
49143 if (PyErr_Occurred()) SWIG_fail
;
49145 resultobj
= SWIG_Py_Void();
49152 SWIGINTERN PyObject
*_wrap_SizerItem_GetProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49153 PyObject
*resultobj
= 0;
49154 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
49158 PyObject
*swig_obj
[1] ;
49160 if (!args
) SWIG_fail
;
49161 swig_obj
[0] = args
;
49162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
49163 if (!SWIG_IsOK(res1
)) {
49164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetProportion" "', expected argument " "1"" of type '" "wxSizerItem *""'");
49166 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
49168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49169 result
= (int)(arg1
)->GetProportion();
49170 wxPyEndAllowThreads(__tstate
);
49171 if (PyErr_Occurred()) SWIG_fail
;
49173 resultobj
= SWIG_From_int(static_cast< int >(result
));
49180 SWIGINTERN PyObject
*_wrap_SizerItem_SetFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49181 PyObject
*resultobj
= 0;
49182 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
49188 PyObject
* obj0
= 0 ;
49189 PyObject
* obj1
= 0 ;
49190 char * kwnames
[] = {
49191 (char *) "self",(char *) "flag", NULL
49194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
49196 if (!SWIG_IsOK(res1
)) {
49197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetFlag" "', expected argument " "1"" of type '" "wxSizerItem *""'");
49199 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
49200 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
49201 if (!SWIG_IsOK(ecode2
)) {
49202 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_SetFlag" "', expected argument " "2"" of type '" "int""'");
49204 arg2
= static_cast< int >(val2
);
49206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49207 (arg1
)->SetFlag(arg2
);
49208 wxPyEndAllowThreads(__tstate
);
49209 if (PyErr_Occurred()) SWIG_fail
;
49211 resultobj
= SWIG_Py_Void();
49218 SWIGINTERN PyObject
*_wrap_SizerItem_GetFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49219 PyObject
*resultobj
= 0;
49220 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
49224 PyObject
*swig_obj
[1] ;
49226 if (!args
) SWIG_fail
;
49227 swig_obj
[0] = args
;
49228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
49229 if (!SWIG_IsOK(res1
)) {
49230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetFlag" "', expected argument " "1"" of type '" "wxSizerItem *""'");
49232 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
49234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49235 result
= (int)(arg1
)->GetFlag();
49236 wxPyEndAllowThreads(__tstate
);
49237 if (PyErr_Occurred()) SWIG_fail
;
49239 resultobj
= SWIG_From_int(static_cast< int >(result
));
49246 SWIGINTERN PyObject
*_wrap_SizerItem_SetBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49247 PyObject
*resultobj
= 0;
49248 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
49254 PyObject
* obj0
= 0 ;
49255 PyObject
* obj1
= 0 ;
49256 char * kwnames
[] = {
49257 (char *) "self",(char *) "border", NULL
49260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
49262 if (!SWIG_IsOK(res1
)) {
49263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetBorder" "', expected argument " "1"" of type '" "wxSizerItem *""'");
49265 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
49266 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
49267 if (!SWIG_IsOK(ecode2
)) {
49268 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_SetBorder" "', expected argument " "2"" of type '" "int""'");
49270 arg2
= static_cast< int >(val2
);
49272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49273 (arg1
)->SetBorder(arg2
);
49274 wxPyEndAllowThreads(__tstate
);
49275 if (PyErr_Occurred()) SWIG_fail
;
49277 resultobj
= SWIG_Py_Void();
49284 SWIGINTERN PyObject
*_wrap_SizerItem_GetBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49285 PyObject
*resultobj
= 0;
49286 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
49290 PyObject
*swig_obj
[1] ;
49292 if (!args
) SWIG_fail
;
49293 swig_obj
[0] = args
;
49294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
49295 if (!SWIG_IsOK(res1
)) {
49296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetBorder" "', expected argument " "1"" of type '" "wxSizerItem *""'");
49298 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
49300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49301 result
= (int)(arg1
)->GetBorder();
49302 wxPyEndAllowThreads(__tstate
);
49303 if (PyErr_Occurred()) SWIG_fail
;
49305 resultobj
= SWIG_From_int(static_cast< int >(result
));
49312 SWIGINTERN PyObject
*_wrap_SizerItem_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49313 PyObject
*resultobj
= 0;
49314 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
49315 wxWindow
*result
= 0 ;
49318 PyObject
*swig_obj
[1] ;
49320 if (!args
) SWIG_fail
;
49321 swig_obj
[0] = args
;
49322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
49323 if (!SWIG_IsOK(res1
)) {
49324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetWindow" "', expected argument " "1"" of type '" "wxSizerItem *""'");
49326 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
49328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49329 result
= (wxWindow
*)(arg1
)->GetWindow();
49330 wxPyEndAllowThreads(__tstate
);
49331 if (PyErr_Occurred()) SWIG_fail
;
49334 resultobj
= wxPyMake_wxObject(result
, 0);
49342 SWIGINTERN PyObject
*_wrap_SizerItem_SetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49343 PyObject
*resultobj
= 0;
49344 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
49345 wxWindow
*arg2
= (wxWindow
*) 0 ;
49350 PyObject
* obj0
= 0 ;
49351 PyObject
* obj1
= 0 ;
49352 char * kwnames
[] = {
49353 (char *) "self",(char *) "window", NULL
49356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
49358 if (!SWIG_IsOK(res1
)) {
49359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetWindow" "', expected argument " "1"" of type '" "wxSizerItem *""'");
49361 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
49362 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
49363 if (!SWIG_IsOK(res2
)) {
49364 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SizerItem_SetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
49366 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
49368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49369 (arg1
)->SetWindow(arg2
);
49370 wxPyEndAllowThreads(__tstate
);
49371 if (PyErr_Occurred()) SWIG_fail
;
49373 resultobj
= SWIG_Py_Void();
49380 SWIGINTERN PyObject
*_wrap_SizerItem_GetSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49381 PyObject
*resultobj
= 0;
49382 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
49383 wxSizer
*result
= 0 ;
49386 PyObject
*swig_obj
[1] ;
49388 if (!args
) SWIG_fail
;
49389 swig_obj
[0] = args
;
49390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
49391 if (!SWIG_IsOK(res1
)) {
49392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetSizer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
49394 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
49396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49397 result
= (wxSizer
*)(arg1
)->GetSizer();
49398 wxPyEndAllowThreads(__tstate
);
49399 if (PyErr_Occurred()) SWIG_fail
;
49402 resultobj
= wxPyMake_wxObject(result
, (bool)0);
49410 SWIGINTERN PyObject
*_wrap_SizerItem_SetSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49411 PyObject
*resultobj
= 0;
49412 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
49413 wxSizer
*arg2
= (wxSizer
*) 0 ;
49417 PyObject
* obj0
= 0 ;
49418 PyObject
* obj1
= 0 ;
49419 char * kwnames
[] = {
49420 (char *) "self",(char *) "sizer", NULL
49423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
49425 if (!SWIG_IsOK(res1
)) {
49426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetSizer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
49428 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
49429 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxSizer
, SWIG_POINTER_DISOWN
| 0 );
49430 if (!SWIG_IsOK(res2
)) {
49431 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SizerItem_SetSizer" "', expected argument " "2"" of type '" "wxSizer *""'");
49434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49435 (arg1
)->SetSizer(arg2
);
49436 wxPyEndAllowThreads(__tstate
);
49437 if (PyErr_Occurred()) SWIG_fail
;
49439 resultobj
= SWIG_Py_Void();
49446 SWIGINTERN PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49447 PyObject
*resultobj
= 0;
49448 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
49452 PyObject
*swig_obj
[1] ;
49454 if (!args
) SWIG_fail
;
49455 swig_obj
[0] = args
;
49456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
49457 if (!SWIG_IsOK(res1
)) {
49458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetSpacer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
49460 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
49462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49463 result
= (arg1
)->GetSpacer();
49464 wxPyEndAllowThreads(__tstate
);
49465 if (PyErr_Occurred()) SWIG_fail
;
49467 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
49474 SWIGINTERN PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49475 PyObject
*resultobj
= 0;
49476 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
49481 PyObject
* obj0
= 0 ;
49482 PyObject
* obj1
= 0 ;
49483 char * kwnames
[] = {
49484 (char *) "self",(char *) "size", NULL
49487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
49489 if (!SWIG_IsOK(res1
)) {
49490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetSpacer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
49492 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
49495 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
49498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49499 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
49500 wxPyEndAllowThreads(__tstate
);
49501 if (PyErr_Occurred()) SWIG_fail
;
49503 resultobj
= SWIG_Py_Void();
49510 SWIGINTERN PyObject
*_wrap_SizerItem_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49511 PyObject
*resultobj
= 0;
49512 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
49518 PyObject
* obj0
= 0 ;
49519 PyObject
* obj1
= 0 ;
49520 char * kwnames
[] = {
49521 (char *) "self",(char *) "show", NULL
49524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
49526 if (!SWIG_IsOK(res1
)) {
49527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_Show" "', expected argument " "1"" of type '" "wxSizerItem *""'");
49529 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
49530 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
49531 if (!SWIG_IsOK(ecode2
)) {
49532 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_Show" "', expected argument " "2"" of type '" "bool""'");
49534 arg2
= static_cast< bool >(val2
);
49536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49537 (arg1
)->Show(arg2
);
49538 wxPyEndAllowThreads(__tstate
);
49539 if (PyErr_Occurred()) SWIG_fail
;
49541 resultobj
= SWIG_Py_Void();
49548 SWIGINTERN PyObject
*_wrap_SizerItem_IsShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49549 PyObject
*resultobj
= 0;
49550 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
49554 PyObject
*swig_obj
[1] ;
49556 if (!args
) SWIG_fail
;
49557 swig_obj
[0] = args
;
49558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
49559 if (!SWIG_IsOK(res1
)) {
49560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_IsShown" "', expected argument " "1"" of type '" "wxSizerItem *""'");
49562 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
49564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49565 result
= (bool)(arg1
)->IsShown();
49566 wxPyEndAllowThreads(__tstate
);
49567 if (PyErr_Occurred()) SWIG_fail
;
49570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
49578 SWIGINTERN PyObject
*_wrap_SizerItem_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49579 PyObject
*resultobj
= 0;
49580 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
49584 PyObject
*swig_obj
[1] ;
49586 if (!args
) SWIG_fail
;
49587 swig_obj
[0] = args
;
49588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
49589 if (!SWIG_IsOK(res1
)) {
49590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetPosition" "', expected argument " "1"" of type '" "wxSizerItem *""'");
49592 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
49594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49595 result
= (arg1
)->GetPosition();
49596 wxPyEndAllowThreads(__tstate
);
49597 if (PyErr_Occurred()) SWIG_fail
;
49599 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
49606 SWIGINTERN PyObject
*_wrap_SizerItem_GetUserData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49607 PyObject
*resultobj
= 0;
49608 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
49609 PyObject
*result
= 0 ;
49612 PyObject
*swig_obj
[1] ;
49614 if (!args
) SWIG_fail
;
49615 swig_obj
[0] = args
;
49616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
49617 if (!SWIG_IsOK(res1
)) {
49618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetUserData" "', expected argument " "1"" of type '" "wxSizerItem *""'");
49620 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
49622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49623 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
49624 wxPyEndAllowThreads(__tstate
);
49625 if (PyErr_Occurred()) SWIG_fail
;
49627 resultobj
= result
;
49634 SWIGINTERN PyObject
*_wrap_SizerItem_SetUserData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49635 PyObject
*resultobj
= 0;
49636 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
49637 PyObject
*arg2
= (PyObject
*) 0 ;
49640 PyObject
* obj0
= 0 ;
49641 PyObject
* obj1
= 0 ;
49642 char * kwnames
[] = {
49643 (char *) "self",(char *) "userData", NULL
49646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetUserData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
49648 if (!SWIG_IsOK(res1
)) {
49649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetUserData" "', expected argument " "1"" of type '" "wxSizerItem *""'");
49651 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
49654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49655 wxSizerItem_SetUserData(arg1
,arg2
);
49656 wxPyEndAllowThreads(__tstate
);
49657 if (PyErr_Occurred()) SWIG_fail
;
49659 resultobj
= SWIG_Py_Void();
49666 SWIGINTERN PyObject
*SizerItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49668 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
49669 SWIG_TypeNewClientData(SWIGTYPE_p_wxSizerItem
, SWIG_NewClientData(obj
));
49670 return SWIG_Py_Void();
49673 SWIGINTERN PyObject
*SizerItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49674 return SWIG_Python_InitShadowInstance(args
);
49677 SWIGINTERN PyObject
*_wrap_delete_Sizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49678 PyObject
*resultobj
= 0;
49679 wxSizer
*arg1
= (wxSizer
*) 0 ;
49682 PyObject
*swig_obj
[1] ;
49684 if (!args
) SWIG_fail
;
49685 swig_obj
[0] = args
;
49686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, SWIG_POINTER_DISOWN
| 0 );
49687 if (!SWIG_IsOK(res1
)) {
49688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Sizer" "', expected argument " "1"" of type '" "wxSizer *""'");
49690 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
49692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49695 wxPyEndAllowThreads(__tstate
);
49696 if (PyErr_Occurred()) SWIG_fail
;
49698 resultobj
= SWIG_Py_Void();
49705 SWIGINTERN PyObject
*_wrap_Sizer__setOORInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49706 PyObject
*resultobj
= 0;
49707 wxSizer
*arg1
= (wxSizer
*) 0 ;
49708 PyObject
*arg2
= (PyObject
*) 0 ;
49711 PyObject
* obj0
= 0 ;
49712 PyObject
* obj1
= 0 ;
49713 char * kwnames
[] = {
49714 (char *) "self",(char *) "_self", NULL
49717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
49719 if (!SWIG_IsOK(res1
)) {
49720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer__setOORInfo" "', expected argument " "1"" of type '" "wxSizer *""'");
49722 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
49725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49726 wxSizer__setOORInfo(arg1
,arg2
);
49727 wxPyEndAllowThreads(__tstate
);
49728 if (PyErr_Occurred()) SWIG_fail
;
49730 resultobj
= SWIG_Py_Void();
49737 SWIGINTERN PyObject
*_wrap_Sizer_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49738 PyObject
*resultobj
= 0;
49739 wxSizer
*arg1
= (wxSizer
*) 0 ;
49740 PyObject
*arg2
= (PyObject
*) 0 ;
49741 int arg3
= (int) 0 ;
49742 int arg4
= (int) 0 ;
49743 int arg5
= (int) 0 ;
49744 PyObject
*arg6
= (PyObject
*) NULL
;
49745 wxSizerItem
*result
= 0 ;
49754 PyObject
* obj0
= 0 ;
49755 PyObject
* obj1
= 0 ;
49756 PyObject
* obj2
= 0 ;
49757 PyObject
* obj3
= 0 ;
49758 PyObject
* obj4
= 0 ;
49759 PyObject
* obj5
= 0 ;
49760 char * kwnames
[] = {
49761 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
49764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
49765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
49766 if (!SWIG_IsOK(res1
)) {
49767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Add" "', expected argument " "1"" of type '" "wxSizer *""'");
49769 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
49772 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
49773 if (!SWIG_IsOK(ecode3
)) {
49774 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Sizer_Add" "', expected argument " "3"" of type '" "int""'");
49776 arg3
= static_cast< int >(val3
);
49779 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
49780 if (!SWIG_IsOK(ecode4
)) {
49781 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Sizer_Add" "', expected argument " "4"" of type '" "int""'");
49783 arg4
= static_cast< int >(val4
);
49786 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
49787 if (!SWIG_IsOK(ecode5
)) {
49788 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Sizer_Add" "', expected argument " "5"" of type '" "int""'");
49790 arg5
= static_cast< int >(val5
);
49796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49797 result
= (wxSizerItem
*)wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
49798 wxPyEndAllowThreads(__tstate
);
49799 if (PyErr_Occurred()) SWIG_fail
;
49801 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
49808 SWIGINTERN PyObject
*_wrap_Sizer_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49809 PyObject
*resultobj
= 0;
49810 wxSizer
*arg1
= (wxSizer
*) 0 ;
49812 PyObject
*arg3
= (PyObject
*) 0 ;
49813 int arg4
= (int) 0 ;
49814 int arg5
= (int) 0 ;
49815 int arg6
= (int) 0 ;
49816 PyObject
*arg7
= (PyObject
*) NULL
;
49817 wxSizerItem
*result
= 0 ;
49828 PyObject
* obj0
= 0 ;
49829 PyObject
* obj1
= 0 ;
49830 PyObject
* obj2
= 0 ;
49831 PyObject
* obj3
= 0 ;
49832 PyObject
* obj4
= 0 ;
49833 PyObject
* obj5
= 0 ;
49834 PyObject
* obj6
= 0 ;
49835 char * kwnames
[] = {
49836 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
49839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
49840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
49841 if (!SWIG_IsOK(res1
)) {
49842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Insert" "', expected argument " "1"" of type '" "wxSizer *""'");
49844 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
49845 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
49846 if (!SWIG_IsOK(ecode2
)) {
49847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sizer_Insert" "', expected argument " "2"" of type '" "int""'");
49849 arg2
= static_cast< int >(val2
);
49852 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
49853 if (!SWIG_IsOK(ecode4
)) {
49854 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Sizer_Insert" "', expected argument " "4"" of type '" "int""'");
49856 arg4
= static_cast< int >(val4
);
49859 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
49860 if (!SWIG_IsOK(ecode5
)) {
49861 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Sizer_Insert" "', expected argument " "5"" of type '" "int""'");
49863 arg5
= static_cast< int >(val5
);
49866 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
49867 if (!SWIG_IsOK(ecode6
)) {
49868 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Sizer_Insert" "', expected argument " "6"" of type '" "int""'");
49870 arg6
= static_cast< int >(val6
);
49876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49877 result
= (wxSizerItem
*)wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
49878 wxPyEndAllowThreads(__tstate
);
49879 if (PyErr_Occurred()) SWIG_fail
;
49881 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
49888 SWIGINTERN PyObject
*_wrap_Sizer_Prepend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49889 PyObject
*resultobj
= 0;
49890 wxSizer
*arg1
= (wxSizer
*) 0 ;
49891 PyObject
*arg2
= (PyObject
*) 0 ;
49892 int arg3
= (int) 0 ;
49893 int arg4
= (int) 0 ;
49894 int arg5
= (int) 0 ;
49895 PyObject
*arg6
= (PyObject
*) NULL
;
49896 wxSizerItem
*result
= 0 ;
49905 PyObject
* obj0
= 0 ;
49906 PyObject
* obj1
= 0 ;
49907 PyObject
* obj2
= 0 ;
49908 PyObject
* obj3
= 0 ;
49909 PyObject
* obj4
= 0 ;
49910 PyObject
* obj5
= 0 ;
49911 char * kwnames
[] = {
49912 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
49915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
49916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
49917 if (!SWIG_IsOK(res1
)) {
49918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Prepend" "', expected argument " "1"" of type '" "wxSizer *""'");
49920 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
49923 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
49924 if (!SWIG_IsOK(ecode3
)) {
49925 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Sizer_Prepend" "', expected argument " "3"" of type '" "int""'");
49927 arg3
= static_cast< int >(val3
);
49930 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
49931 if (!SWIG_IsOK(ecode4
)) {
49932 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Sizer_Prepend" "', expected argument " "4"" of type '" "int""'");
49934 arg4
= static_cast< int >(val4
);
49937 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
49938 if (!SWIG_IsOK(ecode5
)) {
49939 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Sizer_Prepend" "', expected argument " "5"" of type '" "int""'");
49941 arg5
= static_cast< int >(val5
);
49947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49948 result
= (wxSizerItem
*)wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
49949 wxPyEndAllowThreads(__tstate
);
49950 if (PyErr_Occurred()) SWIG_fail
;
49952 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
49959 SWIGINTERN PyObject
*_wrap_Sizer_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49960 PyObject
*resultobj
= 0;
49961 wxSizer
*arg1
= (wxSizer
*) 0 ;
49962 PyObject
*arg2
= (PyObject
*) 0 ;
49966 PyObject
* obj0
= 0 ;
49967 PyObject
* obj1
= 0 ;
49968 char * kwnames
[] = {
49969 (char *) "self",(char *) "item", NULL
49972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
49974 if (!SWIG_IsOK(res1
)) {
49975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Remove" "', expected argument " "1"" of type '" "wxSizer *""'");
49977 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
49980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49981 result
= (bool)wxSizer_Remove(arg1
,arg2
);
49982 wxPyEndAllowThreads(__tstate
);
49983 if (PyErr_Occurred()) SWIG_fail
;
49986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
49994 SWIGINTERN PyObject
*_wrap_Sizer_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49995 PyObject
*resultobj
= 0;
49996 wxSizer
*arg1
= (wxSizer
*) 0 ;
49997 PyObject
*arg2
= (PyObject
*) 0 ;
50001 PyObject
* obj0
= 0 ;
50002 PyObject
* obj1
= 0 ;
50003 char * kwnames
[] = {
50004 (char *) "self",(char *) "item", NULL
50007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50009 if (!SWIG_IsOK(res1
)) {
50010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Detach" "', expected argument " "1"" of type '" "wxSizer *""'");
50012 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
50015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50016 result
= (bool)wxSizer_Detach(arg1
,arg2
);
50017 wxPyEndAllowThreads(__tstate
);
50018 if (PyErr_Occurred()) SWIG_fail
;
50021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
50029 SWIGINTERN PyObject
*_wrap_Sizer_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50030 PyObject
*resultobj
= 0;
50031 wxSizer
*arg1
= (wxSizer
*) 0 ;
50032 PyObject
*arg2
= (PyObject
*) 0 ;
50033 wxSizerItem
*result
= 0 ;
50036 PyObject
* obj0
= 0 ;
50037 PyObject
* obj1
= 0 ;
50038 char * kwnames
[] = {
50039 (char *) "self",(char *) "item", NULL
50042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_GetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50044 if (!SWIG_IsOK(res1
)) {
50045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_GetItem" "', expected argument " "1"" of type '" "wxSizer *""'");
50047 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
50050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50051 result
= (wxSizerItem
*)wxSizer_GetItem(arg1
,arg2
);
50052 wxPyEndAllowThreads(__tstate
);
50053 if (PyErr_Occurred()) SWIG_fail
;
50055 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
50062 SWIGINTERN PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50063 PyObject
*resultobj
= 0;
50064 wxSizer
*arg1
= (wxSizer
*) 0 ;
50065 PyObject
*arg2
= (PyObject
*) 0 ;
50070 PyObject
* obj0
= 0 ;
50071 PyObject
* obj1
= 0 ;
50072 PyObject
* obj2
= 0 ;
50073 char * kwnames
[] = {
50074 (char *) "self",(char *) "item",(char *) "size", NULL
50077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
50078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50079 if (!SWIG_IsOK(res1
)) {
50080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer__SetItemMinSize" "', expected argument " "1"" of type '" "wxSizer *""'");
50082 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
50086 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
50089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50090 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
50091 wxPyEndAllowThreads(__tstate
);
50092 if (PyErr_Occurred()) SWIG_fail
;
50094 resultobj
= SWIG_Py_Void();
50101 SWIGINTERN PyObject
*_wrap_Sizer__ReplaceWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50102 PyObject
*resultobj
= 0;
50103 wxSizer
*arg1
= (wxSizer
*) 0 ;
50104 wxWindow
*arg2
= (wxWindow
*) 0 ;
50105 wxWindow
*arg3
= (wxWindow
*) 0 ;
50106 bool arg4
= (bool) false ;
50116 PyObject
* obj0
= 0 ;
50117 PyObject
* obj1
= 0 ;
50118 PyObject
* obj2
= 0 ;
50119 PyObject
* obj3
= 0 ;
50120 char * kwnames
[] = {
50121 (char *) "self",(char *) "oldwin",(char *) "newwin",(char *) "recursive", NULL
50124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Sizer__ReplaceWin",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
50125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50126 if (!SWIG_IsOK(res1
)) {
50127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer__ReplaceWin" "', expected argument " "1"" of type '" "wxSizer *""'");
50129 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
50130 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
50131 if (!SWIG_IsOK(res2
)) {
50132 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer__ReplaceWin" "', expected argument " "2"" of type '" "wxWindow *""'");
50134 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
50135 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
50136 if (!SWIG_IsOK(res3
)) {
50137 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Sizer__ReplaceWin" "', expected argument " "3"" of type '" "wxWindow *""'");
50139 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
50141 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
50142 if (!SWIG_IsOK(ecode4
)) {
50143 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Sizer__ReplaceWin" "', expected argument " "4"" of type '" "bool""'");
50145 arg4
= static_cast< bool >(val4
);
50148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50149 result
= (bool)(arg1
)->Replace(arg2
,arg3
,arg4
);
50150 wxPyEndAllowThreads(__tstate
);
50151 if (PyErr_Occurred()) SWIG_fail
;
50154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
50162 SWIGINTERN PyObject
*_wrap_Sizer__ReplaceSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50163 PyObject
*resultobj
= 0;
50164 wxSizer
*arg1
= (wxSizer
*) 0 ;
50165 wxSizer
*arg2
= (wxSizer
*) 0 ;
50166 wxSizer
*arg3
= (wxSizer
*) 0 ;
50167 bool arg4
= (bool) false ;
50177 PyObject
* obj0
= 0 ;
50178 PyObject
* obj1
= 0 ;
50179 PyObject
* obj2
= 0 ;
50180 PyObject
* obj3
= 0 ;
50181 char * kwnames
[] = {
50182 (char *) "self",(char *) "oldsz",(char *) "newsz",(char *) "recursive", NULL
50185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Sizer__ReplaceSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
50186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50187 if (!SWIG_IsOK(res1
)) {
50188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer__ReplaceSizer" "', expected argument " "1"" of type '" "wxSizer *""'");
50190 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
50191 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50192 if (!SWIG_IsOK(res2
)) {
50193 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer__ReplaceSizer" "', expected argument " "2"" of type '" "wxSizer *""'");
50195 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
50196 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50197 if (!SWIG_IsOK(res3
)) {
50198 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Sizer__ReplaceSizer" "', expected argument " "3"" of type '" "wxSizer *""'");
50200 arg3
= reinterpret_cast< wxSizer
* >(argp3
);
50202 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
50203 if (!SWIG_IsOK(ecode4
)) {
50204 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Sizer__ReplaceSizer" "', expected argument " "4"" of type '" "bool""'");
50206 arg4
= static_cast< bool >(val4
);
50209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50210 result
= (bool)(arg1
)->Replace(arg2
,arg3
,arg4
);
50211 wxPyEndAllowThreads(__tstate
);
50212 if (PyErr_Occurred()) SWIG_fail
;
50215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
50223 SWIGINTERN PyObject
*_wrap_Sizer__ReplaceItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50224 PyObject
*resultobj
= 0;
50225 wxSizer
*arg1
= (wxSizer
*) 0 ;
50227 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
50235 PyObject
* obj0
= 0 ;
50236 PyObject
* obj1
= 0 ;
50237 PyObject
* obj2
= 0 ;
50238 char * kwnames
[] = {
50239 (char *) "self",(char *) "index",(char *) "newitem", NULL
50242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__ReplaceItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
50243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50244 if (!SWIG_IsOK(res1
)) {
50245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer__ReplaceItem" "', expected argument " "1"" of type '" "wxSizer *""'");
50247 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
50248 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
50249 if (!SWIG_IsOK(ecode2
)) {
50250 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sizer__ReplaceItem" "', expected argument " "2"" of type '" "size_t""'");
50252 arg2
= static_cast< size_t >(val2
);
50253 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
50254 if (!SWIG_IsOK(res3
)) {
50255 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Sizer__ReplaceItem" "', expected argument " "3"" of type '" "wxSizerItem *""'");
50257 arg3
= reinterpret_cast< wxSizerItem
* >(argp3
);
50259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50260 result
= (bool)(arg1
)->Replace(arg2
,arg3
);
50261 wxPyEndAllowThreads(__tstate
);
50262 if (PyErr_Occurred()) SWIG_fail
;
50265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
50273 SWIGINTERN PyObject
*_wrap_Sizer_SetContainingWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50274 PyObject
*resultobj
= 0;
50275 wxSizer
*arg1
= (wxSizer
*) 0 ;
50276 wxWindow
*arg2
= (wxWindow
*) 0 ;
50281 PyObject
* obj0
= 0 ;
50282 PyObject
* obj1
= 0 ;
50283 char * kwnames
[] = {
50284 (char *) "self",(char *) "window", NULL
50287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetContainingWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50289 if (!SWIG_IsOK(res1
)) {
50290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_SetContainingWindow" "', expected argument " "1"" of type '" "wxSizer *""'");
50292 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
50293 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
50294 if (!SWIG_IsOK(res2
)) {
50295 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_SetContainingWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
50297 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
50299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50300 (arg1
)->SetContainingWindow(arg2
);
50301 wxPyEndAllowThreads(__tstate
);
50302 if (PyErr_Occurred()) SWIG_fail
;
50304 resultobj
= SWIG_Py_Void();
50311 SWIGINTERN PyObject
*_wrap_Sizer_GetContainingWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50312 PyObject
*resultobj
= 0;
50313 wxSizer
*arg1
= (wxSizer
*) 0 ;
50314 wxWindow
*result
= 0 ;
50317 PyObject
*swig_obj
[1] ;
50319 if (!args
) SWIG_fail
;
50320 swig_obj
[0] = args
;
50321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50322 if (!SWIG_IsOK(res1
)) {
50323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_GetContainingWindow" "', expected argument " "1"" of type '" "wxSizer const *""'");
50325 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
50327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50328 result
= (wxWindow
*)((wxSizer
const *)arg1
)->GetContainingWindow();
50329 wxPyEndAllowThreads(__tstate
);
50330 if (PyErr_Occurred()) SWIG_fail
;
50333 resultobj
= wxPyMake_wxObject(result
, 0);
50341 SWIGINTERN PyObject
*_wrap_Sizer_AddItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50342 PyObject
*resultobj
= 0;
50343 wxSizer
*arg1
= (wxSizer
*) 0 ;
50344 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
50345 wxSizerItem
*result
= 0 ;
50349 PyObject
* obj0
= 0 ;
50350 PyObject
* obj1
= 0 ;
50351 char * kwnames
[] = {
50352 (char *) "self",(char *) "item", NULL
50355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50357 if (!SWIG_IsOK(res1
)) {
50358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_AddItem" "', expected argument " "1"" of type '" "wxSizer *""'");
50360 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
50361 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_DISOWN
| 0 );
50362 if (!SWIG_IsOK(res2
)) {
50363 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_AddItem" "', expected argument " "2"" of type '" "wxSizerItem *""'");
50366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50367 result
= (wxSizerItem
*)(arg1
)->Add(arg2
);
50368 wxPyEndAllowThreads(__tstate
);
50369 if (PyErr_Occurred()) SWIG_fail
;
50371 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
50378 SWIGINTERN PyObject
*_wrap_Sizer_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50379 PyObject
*resultobj
= 0;
50380 wxSizer
*arg1
= (wxSizer
*) 0 ;
50382 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
50383 wxSizerItem
*result
= 0 ;
50389 PyObject
* obj0
= 0 ;
50390 PyObject
* obj1
= 0 ;
50391 PyObject
* obj2
= 0 ;
50392 char * kwnames
[] = {
50393 (char *) "self",(char *) "index",(char *) "item", NULL
50396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
50397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50398 if (!SWIG_IsOK(res1
)) {
50399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_InsertItem" "', expected argument " "1"" of type '" "wxSizer *""'");
50401 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
50402 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
50403 if (!SWIG_IsOK(ecode2
)) {
50404 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sizer_InsertItem" "', expected argument " "2"" of type '" "size_t""'");
50406 arg2
= static_cast< size_t >(val2
);
50407 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_DISOWN
| 0 );
50408 if (!SWIG_IsOK(res3
)) {
50409 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Sizer_InsertItem" "', expected argument " "3"" of type '" "wxSizerItem *""'");
50412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50413 result
= (wxSizerItem
*)(arg1
)->Insert(arg2
,arg3
);
50414 wxPyEndAllowThreads(__tstate
);
50415 if (PyErr_Occurred()) SWIG_fail
;
50417 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
50424 SWIGINTERN PyObject
*_wrap_Sizer_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50425 PyObject
*resultobj
= 0;
50426 wxSizer
*arg1
= (wxSizer
*) 0 ;
50427 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
50428 wxSizerItem
*result
= 0 ;
50432 PyObject
* obj0
= 0 ;
50433 PyObject
* obj1
= 0 ;
50434 char * kwnames
[] = {
50435 (char *) "self",(char *) "item", NULL
50438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50440 if (!SWIG_IsOK(res1
)) {
50441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_PrependItem" "', expected argument " "1"" of type '" "wxSizer *""'");
50443 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
50444 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_DISOWN
| 0 );
50445 if (!SWIG_IsOK(res2
)) {
50446 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_PrependItem" "', expected argument " "2"" of type '" "wxSizerItem *""'");
50449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50450 result
= (wxSizerItem
*)(arg1
)->Prepend(arg2
);
50451 wxPyEndAllowThreads(__tstate
);
50452 if (PyErr_Occurred()) SWIG_fail
;
50454 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
50461 SWIGINTERN PyObject
*_wrap_Sizer_SetDimension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50462 PyObject
*resultobj
= 0;
50463 wxSizer
*arg1
= (wxSizer
*) 0 ;
50478 PyObject
* obj0
= 0 ;
50479 PyObject
* obj1
= 0 ;
50480 PyObject
* obj2
= 0 ;
50481 PyObject
* obj3
= 0 ;
50482 PyObject
* obj4
= 0 ;
50483 char * kwnames
[] = {
50484 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
50487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
50488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50489 if (!SWIG_IsOK(res1
)) {
50490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_SetDimension" "', expected argument " "1"" of type '" "wxSizer *""'");
50492 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
50493 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
50494 if (!SWIG_IsOK(ecode2
)) {
50495 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sizer_SetDimension" "', expected argument " "2"" of type '" "int""'");
50497 arg2
= static_cast< int >(val2
);
50498 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
50499 if (!SWIG_IsOK(ecode3
)) {
50500 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Sizer_SetDimension" "', expected argument " "3"" of type '" "int""'");
50502 arg3
= static_cast< int >(val3
);
50503 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
50504 if (!SWIG_IsOK(ecode4
)) {
50505 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Sizer_SetDimension" "', expected argument " "4"" of type '" "int""'");
50507 arg4
= static_cast< int >(val4
);
50508 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
50509 if (!SWIG_IsOK(ecode5
)) {
50510 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Sizer_SetDimension" "', expected argument " "5"" of type '" "int""'");
50512 arg5
= static_cast< int >(val5
);
50514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50515 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
50516 wxPyEndAllowThreads(__tstate
);
50517 if (PyErr_Occurred()) SWIG_fail
;
50519 resultobj
= SWIG_Py_Void();
50526 SWIGINTERN PyObject
*_wrap_Sizer_SetMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50527 PyObject
*resultobj
= 0;
50528 wxSizer
*arg1
= (wxSizer
*) 0 ;
50533 PyObject
* obj0
= 0 ;
50534 PyObject
* obj1
= 0 ;
50535 char * kwnames
[] = {
50536 (char *) "self",(char *) "size", NULL
50539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50541 if (!SWIG_IsOK(res1
)) {
50542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_SetMinSize" "', expected argument " "1"" of type '" "wxSizer *""'");
50544 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
50547 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
50550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50551 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
50552 wxPyEndAllowThreads(__tstate
);
50553 if (PyErr_Occurred()) SWIG_fail
;
50555 resultobj
= SWIG_Py_Void();
50562 SWIGINTERN PyObject
*_wrap_Sizer_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50563 PyObject
*resultobj
= 0;
50564 wxSizer
*arg1
= (wxSizer
*) 0 ;
50568 PyObject
*swig_obj
[1] ;
50570 if (!args
) SWIG_fail
;
50571 swig_obj
[0] = args
;
50572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50573 if (!SWIG_IsOK(res1
)) {
50574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_GetSize" "', expected argument " "1"" of type '" "wxSizer *""'");
50576 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
50578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50579 result
= (arg1
)->GetSize();
50580 wxPyEndAllowThreads(__tstate
);
50581 if (PyErr_Occurred()) SWIG_fail
;
50583 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
50590 SWIGINTERN PyObject
*_wrap_Sizer_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50591 PyObject
*resultobj
= 0;
50592 wxSizer
*arg1
= (wxSizer
*) 0 ;
50596 PyObject
*swig_obj
[1] ;
50598 if (!args
) SWIG_fail
;
50599 swig_obj
[0] = args
;
50600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50601 if (!SWIG_IsOK(res1
)) {
50602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_GetPosition" "', expected argument " "1"" of type '" "wxSizer *""'");
50604 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
50606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50607 result
= (arg1
)->GetPosition();
50608 wxPyEndAllowThreads(__tstate
);
50609 if (PyErr_Occurred()) SWIG_fail
;
50611 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
50618 SWIGINTERN PyObject
*_wrap_Sizer_GetMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50619 PyObject
*resultobj
= 0;
50620 wxSizer
*arg1
= (wxSizer
*) 0 ;
50624 PyObject
*swig_obj
[1] ;
50626 if (!args
) SWIG_fail
;
50627 swig_obj
[0] = args
;
50628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50629 if (!SWIG_IsOK(res1
)) {
50630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_GetMinSize" "', expected argument " "1"" of type '" "wxSizer *""'");
50632 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
50634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50635 result
= (arg1
)->GetMinSize();
50636 wxPyEndAllowThreads(__tstate
);
50637 if (PyErr_Occurred()) SWIG_fail
;
50639 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
50646 SWIGINTERN PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50647 PyObject
*resultobj
= 0;
50648 wxSizer
*arg1
= (wxSizer
*) 0 ;
50651 PyObject
*swig_obj
[1] ;
50653 if (!args
) SWIG_fail
;
50654 swig_obj
[0] = args
;
50655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50656 if (!SWIG_IsOK(res1
)) {
50657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_RecalcSizes" "', expected argument " "1"" of type '" "wxSizer *""'");
50659 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
50661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50662 (arg1
)->RecalcSizes();
50663 wxPyEndAllowThreads(__tstate
);
50664 if (PyErr_Occurred()) SWIG_fail
;
50666 resultobj
= SWIG_Py_Void();
50673 SWIGINTERN PyObject
*_wrap_Sizer_CalcMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50674 PyObject
*resultobj
= 0;
50675 wxSizer
*arg1
= (wxSizer
*) 0 ;
50679 PyObject
*swig_obj
[1] ;
50681 if (!args
) SWIG_fail
;
50682 swig_obj
[0] = args
;
50683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50684 if (!SWIG_IsOK(res1
)) {
50685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_CalcMin" "', expected argument " "1"" of type '" "wxSizer *""'");
50687 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
50689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50690 result
= (arg1
)->CalcMin();
50691 wxPyEndAllowThreads(__tstate
);
50692 if (PyErr_Occurred()) SWIG_fail
;
50694 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
50701 SWIGINTERN PyObject
*_wrap_Sizer_Layout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50702 PyObject
*resultobj
= 0;
50703 wxSizer
*arg1
= (wxSizer
*) 0 ;
50706 PyObject
*swig_obj
[1] ;
50708 if (!args
) SWIG_fail
;
50709 swig_obj
[0] = args
;
50710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50711 if (!SWIG_IsOK(res1
)) {
50712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Layout" "', expected argument " "1"" of type '" "wxSizer *""'");
50714 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
50716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50718 wxPyEndAllowThreads(__tstate
);
50719 if (PyErr_Occurred()) SWIG_fail
;
50721 resultobj
= SWIG_Py_Void();
50728 SWIGINTERN PyObject
*_wrap_Sizer_Fit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50729 PyObject
*resultobj
= 0;
50730 wxSizer
*arg1
= (wxSizer
*) 0 ;
50731 wxWindow
*arg2
= (wxWindow
*) 0 ;
50737 PyObject
* obj0
= 0 ;
50738 PyObject
* obj1
= 0 ;
50739 char * kwnames
[] = {
50740 (char *) "self",(char *) "window", NULL
50743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50745 if (!SWIG_IsOK(res1
)) {
50746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Fit" "', expected argument " "1"" of type '" "wxSizer *""'");
50748 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
50749 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
50750 if (!SWIG_IsOK(res2
)) {
50751 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_Fit" "', expected argument " "2"" of type '" "wxWindow *""'");
50753 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
50755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50756 result
= (arg1
)->Fit(arg2
);
50757 wxPyEndAllowThreads(__tstate
);
50758 if (PyErr_Occurred()) SWIG_fail
;
50760 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
50767 SWIGINTERN PyObject
*_wrap_Sizer_FitInside(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50768 PyObject
*resultobj
= 0;
50769 wxSizer
*arg1
= (wxSizer
*) 0 ;
50770 wxWindow
*arg2
= (wxWindow
*) 0 ;
50775 PyObject
* obj0
= 0 ;
50776 PyObject
* obj1
= 0 ;
50777 char * kwnames
[] = {
50778 (char *) "self",(char *) "window", NULL
50781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50783 if (!SWIG_IsOK(res1
)) {
50784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_FitInside" "', expected argument " "1"" of type '" "wxSizer *""'");
50786 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
50787 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
50788 if (!SWIG_IsOK(res2
)) {
50789 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_FitInside" "', expected argument " "2"" of type '" "wxWindow *""'");
50791 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
50793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50794 (arg1
)->FitInside(arg2
);
50795 wxPyEndAllowThreads(__tstate
);
50796 if (PyErr_Occurred()) SWIG_fail
;
50798 resultobj
= SWIG_Py_Void();
50805 SWIGINTERN PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50806 PyObject
*resultobj
= 0;
50807 wxSizer
*arg1
= (wxSizer
*) 0 ;
50808 wxWindow
*arg2
= (wxWindow
*) 0 ;
50813 PyObject
* obj0
= 0 ;
50814 PyObject
* obj1
= 0 ;
50815 char * kwnames
[] = {
50816 (char *) "self",(char *) "window", NULL
50819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50821 if (!SWIG_IsOK(res1
)) {
50822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_SetSizeHints" "', expected argument " "1"" of type '" "wxSizer *""'");
50824 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
50825 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
50826 if (!SWIG_IsOK(res2
)) {
50827 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_SetSizeHints" "', expected argument " "2"" of type '" "wxWindow *""'");
50829 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
50831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50832 (arg1
)->SetSizeHints(arg2
);
50833 wxPyEndAllowThreads(__tstate
);
50834 if (PyErr_Occurred()) SWIG_fail
;
50836 resultobj
= SWIG_Py_Void();
50843 SWIGINTERN PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50844 PyObject
*resultobj
= 0;
50845 wxSizer
*arg1
= (wxSizer
*) 0 ;
50846 wxWindow
*arg2
= (wxWindow
*) 0 ;
50851 PyObject
* obj0
= 0 ;
50852 PyObject
* obj1
= 0 ;
50853 char * kwnames
[] = {
50854 (char *) "self",(char *) "window", NULL
50857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50859 if (!SWIG_IsOK(res1
)) {
50860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_SetVirtualSizeHints" "', expected argument " "1"" of type '" "wxSizer *""'");
50862 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
50863 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
50864 if (!SWIG_IsOK(res2
)) {
50865 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_SetVirtualSizeHints" "', expected argument " "2"" of type '" "wxWindow *""'");
50867 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
50869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50870 (arg1
)->SetVirtualSizeHints(arg2
);
50871 wxPyEndAllowThreads(__tstate
);
50872 if (PyErr_Occurred()) SWIG_fail
;
50874 resultobj
= SWIG_Py_Void();
50881 SWIGINTERN PyObject
*_wrap_Sizer_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50882 PyObject
*resultobj
= 0;
50883 wxSizer
*arg1
= (wxSizer
*) 0 ;
50884 bool arg2
= (bool) false ;
50889 PyObject
* obj0
= 0 ;
50890 PyObject
* obj1
= 0 ;
50891 char * kwnames
[] = {
50892 (char *) "self",(char *) "deleteWindows", NULL
50895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50897 if (!SWIG_IsOK(res1
)) {
50898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Clear" "', expected argument " "1"" of type '" "wxSizer *""'");
50900 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
50902 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
50903 if (!SWIG_IsOK(ecode2
)) {
50904 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sizer_Clear" "', expected argument " "2"" of type '" "bool""'");
50906 arg2
= static_cast< bool >(val2
);
50909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50910 (arg1
)->Clear(arg2
);
50911 wxPyEndAllowThreads(__tstate
);
50912 if (PyErr_Occurred()) SWIG_fail
;
50914 resultobj
= SWIG_Py_Void();
50921 SWIGINTERN PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50922 PyObject
*resultobj
= 0;
50923 wxSizer
*arg1
= (wxSizer
*) 0 ;
50926 PyObject
*swig_obj
[1] ;
50928 if (!args
) SWIG_fail
;
50929 swig_obj
[0] = args
;
50930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50931 if (!SWIG_IsOK(res1
)) {
50932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_DeleteWindows" "', expected argument " "1"" of type '" "wxSizer *""'");
50934 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
50936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50937 (arg1
)->DeleteWindows();
50938 wxPyEndAllowThreads(__tstate
);
50939 if (PyErr_Occurred()) SWIG_fail
;
50941 resultobj
= SWIG_Py_Void();
50948 SWIGINTERN PyObject
*_wrap_Sizer_GetChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50949 PyObject
*resultobj
= 0;
50950 wxSizer
*arg1
= (wxSizer
*) 0 ;
50951 PyObject
*result
= 0 ;
50954 PyObject
*swig_obj
[1] ;
50956 if (!args
) SWIG_fail
;
50957 swig_obj
[0] = args
;
50958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50959 if (!SWIG_IsOK(res1
)) {
50960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_GetChildren" "', expected argument " "1"" of type '" "wxSizer *""'");
50962 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
50964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50965 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
50966 wxPyEndAllowThreads(__tstate
);
50967 if (PyErr_Occurred()) SWIG_fail
;
50969 resultobj
= result
;
50976 SWIGINTERN PyObject
*_wrap_Sizer_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50977 PyObject
*resultobj
= 0;
50978 wxSizer
*arg1
= (wxSizer
*) 0 ;
50979 PyObject
*arg2
= (PyObject
*) 0 ;
50980 bool arg3
= (bool) true ;
50981 bool arg4
= (bool) false ;
50989 PyObject
* obj0
= 0 ;
50990 PyObject
* obj1
= 0 ;
50991 PyObject
* obj2
= 0 ;
50992 PyObject
* obj3
= 0 ;
50993 char * kwnames
[] = {
50994 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
50997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
50998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50999 if (!SWIG_IsOK(res1
)) {
51000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Show" "', expected argument " "1"" of type '" "wxSizer *""'");
51002 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
51005 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
51006 if (!SWIG_IsOK(ecode3
)) {
51007 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Sizer_Show" "', expected argument " "3"" of type '" "bool""'");
51009 arg3
= static_cast< bool >(val3
);
51012 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
51013 if (!SWIG_IsOK(ecode4
)) {
51014 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Sizer_Show" "', expected argument " "4"" of type '" "bool""'");
51016 arg4
= static_cast< bool >(val4
);
51019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51020 result
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
);
51021 wxPyEndAllowThreads(__tstate
);
51022 if (PyErr_Occurred()) SWIG_fail
;
51025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
51033 SWIGINTERN PyObject
*_wrap_Sizer_IsShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51034 PyObject
*resultobj
= 0;
51035 wxSizer
*arg1
= (wxSizer
*) 0 ;
51036 PyObject
*arg2
= (PyObject
*) 0 ;
51040 PyObject
* obj0
= 0 ;
51041 PyObject
* obj1
= 0 ;
51042 char * kwnames
[] = {
51043 (char *) "self",(char *) "item", NULL
51046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
51048 if (!SWIG_IsOK(res1
)) {
51049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_IsShown" "', expected argument " "1"" of type '" "wxSizer *""'");
51051 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
51054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51055 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
51056 wxPyEndAllowThreads(__tstate
);
51057 if (PyErr_Occurred()) SWIG_fail
;
51060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
51068 SWIGINTERN PyObject
*_wrap_Sizer_ShowItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51069 PyObject
*resultobj
= 0;
51070 wxSizer
*arg1
= (wxSizer
*) 0 ;
51076 PyObject
* obj0
= 0 ;
51077 PyObject
* obj1
= 0 ;
51078 char * kwnames
[] = {
51079 (char *) "self",(char *) "show", NULL
51082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
51084 if (!SWIG_IsOK(res1
)) {
51085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_ShowItems" "', expected argument " "1"" of type '" "wxSizer *""'");
51087 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
51088 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
51089 if (!SWIG_IsOK(ecode2
)) {
51090 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sizer_ShowItems" "', expected argument " "2"" of type '" "bool""'");
51092 arg2
= static_cast< bool >(val2
);
51094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51095 (arg1
)->ShowItems(arg2
);
51096 wxPyEndAllowThreads(__tstate
);
51097 if (PyErr_Occurred()) SWIG_fail
;
51099 resultobj
= SWIG_Py_Void();
51106 SWIGINTERN PyObject
*Sizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51108 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
51109 SWIG_TypeNewClientData(SWIGTYPE_p_wxSizer
, SWIG_NewClientData(obj
));
51110 return SWIG_Py_Void();
51113 SWIGINTERN PyObject
*_wrap_new_PySizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51114 PyObject
*resultobj
= 0;
51115 wxPySizer
*result
= 0 ;
51117 if (!SWIG_Python_UnpackTuple(args
,"new_PySizer",0,0,0)) SWIG_fail
;
51119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51120 result
= (wxPySizer
*)new wxPySizer();
51121 wxPyEndAllowThreads(__tstate
);
51122 if (PyErr_Occurred()) SWIG_fail
;
51124 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPySizer
, SWIG_POINTER_NEW
| 0 );
51131 SWIGINTERN PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51132 PyObject
*resultobj
= 0;
51133 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
51134 PyObject
*arg2
= (PyObject
*) 0 ;
51135 PyObject
*arg3
= (PyObject
*) 0 ;
51138 PyObject
* obj0
= 0 ;
51139 PyObject
* obj1
= 0 ;
51140 PyObject
* obj2
= 0 ;
51141 char * kwnames
[] = {
51142 (char *) "self",(char *) "self",(char *) "_class", NULL
51145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
51146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPySizer
, 0 | 0 );
51147 if (!SWIG_IsOK(res1
)) {
51148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PySizer__setCallbackInfo" "', expected argument " "1"" of type '" "wxPySizer *""'");
51150 arg1
= reinterpret_cast< wxPySizer
* >(argp1
);
51154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51155 (arg1
)->_setCallbackInfo(arg2
,arg3
);
51156 wxPyEndAllowThreads(__tstate
);
51157 if (PyErr_Occurred()) SWIG_fail
;
51159 resultobj
= SWIG_Py_Void();
51166 SWIGINTERN PyObject
*PySizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51168 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
51169 SWIG_TypeNewClientData(SWIGTYPE_p_wxPySizer
, SWIG_NewClientData(obj
));
51170 return SWIG_Py_Void();
51173 SWIGINTERN PyObject
*PySizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51174 return SWIG_Python_InitShadowInstance(args
);
51177 SWIGINTERN PyObject
*_wrap_new_BoxSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51178 PyObject
*resultobj
= 0;
51179 int arg1
= (int) wxHORIZONTAL
;
51180 wxBoxSizer
*result
= 0 ;
51183 PyObject
* obj0
= 0 ;
51184 char * kwnames
[] = {
51185 (char *) "orient", NULL
51188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) SWIG_fail
;
51190 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
51191 if (!SWIG_IsOK(ecode1
)) {
51192 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BoxSizer" "', expected argument " "1"" of type '" "int""'");
51194 arg1
= static_cast< int >(val1
);
51197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51198 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
51199 wxPyEndAllowThreads(__tstate
);
51200 if (PyErr_Occurred()) SWIG_fail
;
51202 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_NEW
| 0 );
51209 SWIGINTERN PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51210 PyObject
*resultobj
= 0;
51211 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
51215 PyObject
*swig_obj
[1] ;
51217 if (!args
) SWIG_fail
;
51218 swig_obj
[0] = args
;
51219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBoxSizer
, 0 | 0 );
51220 if (!SWIG_IsOK(res1
)) {
51221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BoxSizer_GetOrientation" "', expected argument " "1"" of type '" "wxBoxSizer *""'");
51223 arg1
= reinterpret_cast< wxBoxSizer
* >(argp1
);
51225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51226 result
= (int)(arg1
)->GetOrientation();
51227 wxPyEndAllowThreads(__tstate
);
51228 if (PyErr_Occurred()) SWIG_fail
;
51230 resultobj
= SWIG_From_int(static_cast< int >(result
));
51237 SWIGINTERN PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51238 PyObject
*resultobj
= 0;
51239 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
51245 PyObject
* obj0
= 0 ;
51246 PyObject
* obj1
= 0 ;
51247 char * kwnames
[] = {
51248 (char *) "self",(char *) "orient", NULL
51251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBoxSizer
, 0 | 0 );
51253 if (!SWIG_IsOK(res1
)) {
51254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BoxSizer_SetOrientation" "', expected argument " "1"" of type '" "wxBoxSizer *""'");
51256 arg1
= reinterpret_cast< wxBoxSizer
* >(argp1
);
51257 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
51258 if (!SWIG_IsOK(ecode2
)) {
51259 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BoxSizer_SetOrientation" "', expected argument " "2"" of type '" "int""'");
51261 arg2
= static_cast< int >(val2
);
51263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51264 (arg1
)->SetOrientation(arg2
);
51265 wxPyEndAllowThreads(__tstate
);
51266 if (PyErr_Occurred()) SWIG_fail
;
51268 resultobj
= SWIG_Py_Void();
51275 SWIGINTERN PyObject
*BoxSizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51277 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
51278 SWIG_TypeNewClientData(SWIGTYPE_p_wxBoxSizer
, SWIG_NewClientData(obj
));
51279 return SWIG_Py_Void();
51282 SWIGINTERN PyObject
*BoxSizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51283 return SWIG_Python_InitShadowInstance(args
);
51286 SWIGINTERN PyObject
*_wrap_new_StaticBoxSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51287 PyObject
*resultobj
= 0;
51288 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
51289 int arg2
= (int) wxHORIZONTAL
;
51290 wxStaticBoxSizer
*result
= 0 ;
51295 PyObject
* obj0
= 0 ;
51296 PyObject
* obj1
= 0 ;
51297 char * kwnames
[] = {
51298 (char *) "box",(char *) "orient", NULL
51301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
51303 if (!SWIG_IsOK(res1
)) {
51304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBoxSizer" "', expected argument " "1"" of type '" "wxStaticBox *""'");
51306 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
51308 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
51309 if (!SWIG_IsOK(ecode2
)) {
51310 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBoxSizer" "', expected argument " "2"" of type '" "int""'");
51312 arg2
= static_cast< int >(val2
);
51315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51316 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
51317 wxPyEndAllowThreads(__tstate
);
51318 if (PyErr_Occurred()) SWIG_fail
;
51320 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBoxSizer
, SWIG_POINTER_NEW
| 0 );
51327 SWIGINTERN PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51328 PyObject
*resultobj
= 0;
51329 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
51330 wxStaticBox
*result
= 0 ;
51333 PyObject
*swig_obj
[1] ;
51335 if (!args
) SWIG_fail
;
51336 swig_obj
[0] = args
;
51337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBoxSizer
, 0 | 0 );
51338 if (!SWIG_IsOK(res1
)) {
51339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBoxSizer_GetStaticBox" "', expected argument " "1"" of type '" "wxStaticBoxSizer *""'");
51341 arg1
= reinterpret_cast< wxStaticBoxSizer
* >(argp1
);
51343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51344 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
51345 wxPyEndAllowThreads(__tstate
);
51346 if (PyErr_Occurred()) SWIG_fail
;
51349 resultobj
= wxPyMake_wxObject(result
, (bool)0);
51357 SWIGINTERN PyObject
*StaticBoxSizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51359 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
51360 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBoxSizer
, SWIG_NewClientData(obj
));
51361 return SWIG_Py_Void();
51364 SWIGINTERN PyObject
*StaticBoxSizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51365 return SWIG_Python_InitShadowInstance(args
);
51368 SWIGINTERN PyObject
*_wrap_new_GridSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51369 PyObject
*resultobj
= 0;
51370 int arg1
= (int) 1 ;
51371 int arg2
= (int) 0 ;
51372 int arg3
= (int) 0 ;
51373 int arg4
= (int) 0 ;
51374 wxGridSizer
*result
= 0 ;
51383 PyObject
* obj0
= 0 ;
51384 PyObject
* obj1
= 0 ;
51385 PyObject
* obj2
= 0 ;
51386 PyObject
* obj3
= 0 ;
51387 char * kwnames
[] = {
51388 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
51391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
51393 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
51394 if (!SWIG_IsOK(ecode1
)) {
51395 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridSizer" "', expected argument " "1"" of type '" "int""'");
51397 arg1
= static_cast< int >(val1
);
51400 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
51401 if (!SWIG_IsOK(ecode2
)) {
51402 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridSizer" "', expected argument " "2"" of type '" "int""'");
51404 arg2
= static_cast< int >(val2
);
51407 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
51408 if (!SWIG_IsOK(ecode3
)) {
51409 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_GridSizer" "', expected argument " "3"" of type '" "int""'");
51411 arg3
= static_cast< int >(val3
);
51414 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
51415 if (!SWIG_IsOK(ecode4
)) {
51416 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_GridSizer" "', expected argument " "4"" of type '" "int""'");
51418 arg4
= static_cast< int >(val4
);
51421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51422 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
51423 wxPyEndAllowThreads(__tstate
);
51424 if (PyErr_Occurred()) SWIG_fail
;
51426 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_NEW
| 0 );
51433 SWIGINTERN PyObject
*_wrap_GridSizer_SetCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51434 PyObject
*resultobj
= 0;
51435 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
51441 PyObject
* obj0
= 0 ;
51442 PyObject
* obj1
= 0 ;
51443 char * kwnames
[] = {
51444 (char *) "self",(char *) "cols", NULL
51447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
51449 if (!SWIG_IsOK(res1
)) {
51450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_SetCols" "', expected argument " "1"" of type '" "wxGridSizer *""'");
51452 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
51453 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
51454 if (!SWIG_IsOK(ecode2
)) {
51455 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridSizer_SetCols" "', expected argument " "2"" of type '" "int""'");
51457 arg2
= static_cast< int >(val2
);
51459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51460 (arg1
)->SetCols(arg2
);
51461 wxPyEndAllowThreads(__tstate
);
51462 if (PyErr_Occurred()) SWIG_fail
;
51464 resultobj
= SWIG_Py_Void();
51471 SWIGINTERN PyObject
*_wrap_GridSizer_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51472 PyObject
*resultobj
= 0;
51473 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
51479 PyObject
* obj0
= 0 ;
51480 PyObject
* obj1
= 0 ;
51481 char * kwnames
[] = {
51482 (char *) "self",(char *) "rows", NULL
51485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
51487 if (!SWIG_IsOK(res1
)) {
51488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_SetRows" "', expected argument " "1"" of type '" "wxGridSizer *""'");
51490 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
51491 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
51492 if (!SWIG_IsOK(ecode2
)) {
51493 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridSizer_SetRows" "', expected argument " "2"" of type '" "int""'");
51495 arg2
= static_cast< int >(val2
);
51497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51498 (arg1
)->SetRows(arg2
);
51499 wxPyEndAllowThreads(__tstate
);
51500 if (PyErr_Occurred()) SWIG_fail
;
51502 resultobj
= SWIG_Py_Void();
51509 SWIGINTERN PyObject
*_wrap_GridSizer_SetVGap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51510 PyObject
*resultobj
= 0;
51511 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
51517 PyObject
* obj0
= 0 ;
51518 PyObject
* obj1
= 0 ;
51519 char * kwnames
[] = {
51520 (char *) "self",(char *) "gap", NULL
51523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
51525 if (!SWIG_IsOK(res1
)) {
51526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_SetVGap" "', expected argument " "1"" of type '" "wxGridSizer *""'");
51528 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
51529 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
51530 if (!SWIG_IsOK(ecode2
)) {
51531 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridSizer_SetVGap" "', expected argument " "2"" of type '" "int""'");
51533 arg2
= static_cast< int >(val2
);
51535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51536 (arg1
)->SetVGap(arg2
);
51537 wxPyEndAllowThreads(__tstate
);
51538 if (PyErr_Occurred()) SWIG_fail
;
51540 resultobj
= SWIG_Py_Void();
51547 SWIGINTERN PyObject
*_wrap_GridSizer_SetHGap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51548 PyObject
*resultobj
= 0;
51549 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
51555 PyObject
* obj0
= 0 ;
51556 PyObject
* obj1
= 0 ;
51557 char * kwnames
[] = {
51558 (char *) "self",(char *) "gap", NULL
51561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
51563 if (!SWIG_IsOK(res1
)) {
51564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_SetHGap" "', expected argument " "1"" of type '" "wxGridSizer *""'");
51566 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
51567 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
51568 if (!SWIG_IsOK(ecode2
)) {
51569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridSizer_SetHGap" "', expected argument " "2"" of type '" "int""'");
51571 arg2
= static_cast< int >(val2
);
51573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51574 (arg1
)->SetHGap(arg2
);
51575 wxPyEndAllowThreads(__tstate
);
51576 if (PyErr_Occurred()) SWIG_fail
;
51578 resultobj
= SWIG_Py_Void();
51585 SWIGINTERN PyObject
*_wrap_GridSizer_GetCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51586 PyObject
*resultobj
= 0;
51587 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
51591 PyObject
*swig_obj
[1] ;
51593 if (!args
) SWIG_fail
;
51594 swig_obj
[0] = args
;
51595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
51596 if (!SWIG_IsOK(res1
)) {
51597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_GetCols" "', expected argument " "1"" of type '" "wxGridSizer *""'");
51599 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
51601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51602 result
= (int)(arg1
)->GetCols();
51603 wxPyEndAllowThreads(__tstate
);
51604 if (PyErr_Occurred()) SWIG_fail
;
51606 resultobj
= SWIG_From_int(static_cast< int >(result
));
51613 SWIGINTERN PyObject
*_wrap_GridSizer_GetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51614 PyObject
*resultobj
= 0;
51615 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
51619 PyObject
*swig_obj
[1] ;
51621 if (!args
) SWIG_fail
;
51622 swig_obj
[0] = args
;
51623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
51624 if (!SWIG_IsOK(res1
)) {
51625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_GetRows" "', expected argument " "1"" of type '" "wxGridSizer *""'");
51627 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
51629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51630 result
= (int)(arg1
)->GetRows();
51631 wxPyEndAllowThreads(__tstate
);
51632 if (PyErr_Occurred()) SWIG_fail
;
51634 resultobj
= SWIG_From_int(static_cast< int >(result
));
51641 SWIGINTERN PyObject
*_wrap_GridSizer_GetVGap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51642 PyObject
*resultobj
= 0;
51643 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
51647 PyObject
*swig_obj
[1] ;
51649 if (!args
) SWIG_fail
;
51650 swig_obj
[0] = args
;
51651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
51652 if (!SWIG_IsOK(res1
)) {
51653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_GetVGap" "', expected argument " "1"" of type '" "wxGridSizer *""'");
51655 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
51657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51658 result
= (int)(arg1
)->GetVGap();
51659 wxPyEndAllowThreads(__tstate
);
51660 if (PyErr_Occurred()) SWIG_fail
;
51662 resultobj
= SWIG_From_int(static_cast< int >(result
));
51669 SWIGINTERN PyObject
*_wrap_GridSizer_GetHGap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51670 PyObject
*resultobj
= 0;
51671 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
51675 PyObject
*swig_obj
[1] ;
51677 if (!args
) SWIG_fail
;
51678 swig_obj
[0] = args
;
51679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
51680 if (!SWIG_IsOK(res1
)) {
51681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_GetHGap" "', expected argument " "1"" of type '" "wxGridSizer *""'");
51683 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
51685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51686 result
= (int)(arg1
)->GetHGap();
51687 wxPyEndAllowThreads(__tstate
);
51688 if (PyErr_Occurred()) SWIG_fail
;
51690 resultobj
= SWIG_From_int(static_cast< int >(result
));
51697 SWIGINTERN PyObject
*GridSizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51699 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
51700 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridSizer
, SWIG_NewClientData(obj
));
51701 return SWIG_Py_Void();
51704 SWIGINTERN PyObject
*GridSizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51705 return SWIG_Python_InitShadowInstance(args
);
51708 SWIGINTERN PyObject
*_wrap_new_FlexGridSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51709 PyObject
*resultobj
= 0;
51710 int arg1
= (int) 1 ;
51711 int arg2
= (int) 0 ;
51712 int arg3
= (int) 0 ;
51713 int arg4
= (int) 0 ;
51714 wxFlexGridSizer
*result
= 0 ;
51723 PyObject
* obj0
= 0 ;
51724 PyObject
* obj1
= 0 ;
51725 PyObject
* obj2
= 0 ;
51726 PyObject
* obj3
= 0 ;
51727 char * kwnames
[] = {
51728 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
51731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
51733 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
51734 if (!SWIG_IsOK(ecode1
)) {
51735 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FlexGridSizer" "', expected argument " "1"" of type '" "int""'");
51737 arg1
= static_cast< int >(val1
);
51740 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
51741 if (!SWIG_IsOK(ecode2
)) {
51742 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FlexGridSizer" "', expected argument " "2"" of type '" "int""'");
51744 arg2
= static_cast< int >(val2
);
51747 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
51748 if (!SWIG_IsOK(ecode3
)) {
51749 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FlexGridSizer" "', expected argument " "3"" of type '" "int""'");
51751 arg3
= static_cast< int >(val3
);
51754 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
51755 if (!SWIG_IsOK(ecode4
)) {
51756 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FlexGridSizer" "', expected argument " "4"" of type '" "int""'");
51758 arg4
= static_cast< int >(val4
);
51761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51762 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
51763 wxPyEndAllowThreads(__tstate
);
51764 if (PyErr_Occurred()) SWIG_fail
;
51766 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_NEW
| 0 );
51773 SWIGINTERN PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51774 PyObject
*resultobj
= 0;
51775 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
51777 int arg3
= (int) 0 ;
51784 PyObject
* obj0
= 0 ;
51785 PyObject
* obj1
= 0 ;
51786 PyObject
* obj2
= 0 ;
51787 char * kwnames
[] = {
51788 (char *) "self",(char *) "idx",(char *) "proportion", NULL
51791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
51792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
51793 if (!SWIG_IsOK(res1
)) {
51794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_AddGrowableRow" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
51796 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
51797 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
51798 if (!SWIG_IsOK(ecode2
)) {
51799 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FlexGridSizer_AddGrowableRow" "', expected argument " "2"" of type '" "size_t""'");
51801 arg2
= static_cast< size_t >(val2
);
51803 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
51804 if (!SWIG_IsOK(ecode3
)) {
51805 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FlexGridSizer_AddGrowableRow" "', expected argument " "3"" of type '" "int""'");
51807 arg3
= static_cast< int >(val3
);
51810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51811 (arg1
)->AddGrowableRow(arg2
,arg3
);
51812 wxPyEndAllowThreads(__tstate
);
51813 if (PyErr_Occurred()) SWIG_fail
;
51815 resultobj
= SWIG_Py_Void();
51822 SWIGINTERN PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51823 PyObject
*resultobj
= 0;
51824 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
51830 PyObject
* obj0
= 0 ;
51831 PyObject
* obj1
= 0 ;
51832 char * kwnames
[] = {
51833 (char *) "self",(char *) "idx", NULL
51836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
51838 if (!SWIG_IsOK(res1
)) {
51839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_RemoveGrowableRow" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
51841 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
51842 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
51843 if (!SWIG_IsOK(ecode2
)) {
51844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FlexGridSizer_RemoveGrowableRow" "', expected argument " "2"" of type '" "size_t""'");
51846 arg2
= static_cast< size_t >(val2
);
51848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51849 (arg1
)->RemoveGrowableRow(arg2
);
51850 wxPyEndAllowThreads(__tstate
);
51851 if (PyErr_Occurred()) SWIG_fail
;
51853 resultobj
= SWIG_Py_Void();
51860 SWIGINTERN PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51861 PyObject
*resultobj
= 0;
51862 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
51864 int arg3
= (int) 0 ;
51871 PyObject
* obj0
= 0 ;
51872 PyObject
* obj1
= 0 ;
51873 PyObject
* obj2
= 0 ;
51874 char * kwnames
[] = {
51875 (char *) "self",(char *) "idx",(char *) "proportion", NULL
51878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
51879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
51880 if (!SWIG_IsOK(res1
)) {
51881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_AddGrowableCol" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
51883 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
51884 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
51885 if (!SWIG_IsOK(ecode2
)) {
51886 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FlexGridSizer_AddGrowableCol" "', expected argument " "2"" of type '" "size_t""'");
51888 arg2
= static_cast< size_t >(val2
);
51890 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
51891 if (!SWIG_IsOK(ecode3
)) {
51892 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FlexGridSizer_AddGrowableCol" "', expected argument " "3"" of type '" "int""'");
51894 arg3
= static_cast< int >(val3
);
51897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51898 (arg1
)->AddGrowableCol(arg2
,arg3
);
51899 wxPyEndAllowThreads(__tstate
);
51900 if (PyErr_Occurred()) SWIG_fail
;
51902 resultobj
= SWIG_Py_Void();
51909 SWIGINTERN PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51910 PyObject
*resultobj
= 0;
51911 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
51917 PyObject
* obj0
= 0 ;
51918 PyObject
* obj1
= 0 ;
51919 char * kwnames
[] = {
51920 (char *) "self",(char *) "idx", NULL
51923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
51925 if (!SWIG_IsOK(res1
)) {
51926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_RemoveGrowableCol" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
51928 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
51929 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
51930 if (!SWIG_IsOK(ecode2
)) {
51931 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FlexGridSizer_RemoveGrowableCol" "', expected argument " "2"" of type '" "size_t""'");
51933 arg2
= static_cast< size_t >(val2
);
51935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51936 (arg1
)->RemoveGrowableCol(arg2
);
51937 wxPyEndAllowThreads(__tstate
);
51938 if (PyErr_Occurred()) SWIG_fail
;
51940 resultobj
= SWIG_Py_Void();
51947 SWIGINTERN PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51948 PyObject
*resultobj
= 0;
51949 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
51955 PyObject
* obj0
= 0 ;
51956 PyObject
* obj1
= 0 ;
51957 char * kwnames
[] = {
51958 (char *) "self",(char *) "direction", NULL
51961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
51963 if (!SWIG_IsOK(res1
)) {
51964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_SetFlexibleDirection" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
51966 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
51967 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
51968 if (!SWIG_IsOK(ecode2
)) {
51969 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FlexGridSizer_SetFlexibleDirection" "', expected argument " "2"" of type '" "int""'");
51971 arg2
= static_cast< int >(val2
);
51973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51974 (arg1
)->SetFlexibleDirection(arg2
);
51975 wxPyEndAllowThreads(__tstate
);
51976 if (PyErr_Occurred()) SWIG_fail
;
51978 resultobj
= SWIG_Py_Void();
51985 SWIGINTERN PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51986 PyObject
*resultobj
= 0;
51987 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
51991 PyObject
*swig_obj
[1] ;
51993 if (!args
) SWIG_fail
;
51994 swig_obj
[0] = args
;
51995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
51996 if (!SWIG_IsOK(res1
)) {
51997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_GetFlexibleDirection" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
51999 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
52001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52002 result
= (int)(arg1
)->GetFlexibleDirection();
52003 wxPyEndAllowThreads(__tstate
);
52004 if (PyErr_Occurred()) SWIG_fail
;
52006 resultobj
= SWIG_From_int(static_cast< int >(result
));
52013 SWIGINTERN PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
52014 PyObject
*resultobj
= 0;
52015 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
52016 wxFlexSizerGrowMode arg2
;
52021 PyObject
* obj0
= 0 ;
52022 PyObject
* obj1
= 0 ;
52023 char * kwnames
[] = {
52024 (char *) "self",(char *) "mode", NULL
52027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
52028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
52029 if (!SWIG_IsOK(res1
)) {
52030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_SetNonFlexibleGrowMode" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
52032 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
52033 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
52034 if (!SWIG_IsOK(ecode2
)) {
52035 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FlexGridSizer_SetNonFlexibleGrowMode" "', expected argument " "2"" of type '" "wxFlexSizerGrowMode""'");
52037 arg2
= static_cast< wxFlexSizerGrowMode
>(val2
);
52039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52040 (arg1
)->SetNonFlexibleGrowMode(arg2
);
52041 wxPyEndAllowThreads(__tstate
);
52042 if (PyErr_Occurred()) SWIG_fail
;
52044 resultobj
= SWIG_Py_Void();
52051 SWIGINTERN PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52052 PyObject
*resultobj
= 0;
52053 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
52054 wxFlexSizerGrowMode result
;
52057 PyObject
*swig_obj
[1] ;
52059 if (!args
) SWIG_fail
;
52060 swig_obj
[0] = args
;
52061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
52062 if (!SWIG_IsOK(res1
)) {
52063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_GetNonFlexibleGrowMode" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
52065 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
52067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52068 result
= (wxFlexSizerGrowMode
)(arg1
)->GetNonFlexibleGrowMode();
52069 wxPyEndAllowThreads(__tstate
);
52070 if (PyErr_Occurred()) SWIG_fail
;
52072 resultobj
= SWIG_From_int(static_cast< int >(result
));
52079 SWIGINTERN PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52080 PyObject
*resultobj
= 0;
52081 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
52082 wxArrayInt
*result
= 0 ;
52085 PyObject
*swig_obj
[1] ;
52087 if (!args
) SWIG_fail
;
52088 swig_obj
[0] = args
;
52089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
52090 if (!SWIG_IsOK(res1
)) {
52091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_GetRowHeights" "', expected argument " "1"" of type '" "wxFlexGridSizer const *""'");
52093 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
52095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52097 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
52098 result
= (wxArrayInt
*) &_result_ref
;
52100 wxPyEndAllowThreads(__tstate
);
52101 if (PyErr_Occurred()) SWIG_fail
;
52104 resultobj
= wxArrayInt2PyList_helper(*result
);
52112 SWIGINTERN PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52113 PyObject
*resultobj
= 0;
52114 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
52115 wxArrayInt
*result
= 0 ;
52118 PyObject
*swig_obj
[1] ;
52120 if (!args
) SWIG_fail
;
52121 swig_obj
[0] = args
;
52122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
52123 if (!SWIG_IsOK(res1
)) {
52124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_GetColWidths" "', expected argument " "1"" of type '" "wxFlexGridSizer const *""'");
52126 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
52128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52130 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
52131 result
= (wxArrayInt
*) &_result_ref
;
52133 wxPyEndAllowThreads(__tstate
);
52134 if (PyErr_Occurred()) SWIG_fail
;
52137 resultobj
= wxArrayInt2PyList_helper(*result
);
52145 SWIGINTERN PyObject
*FlexGridSizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52147 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
52148 SWIG_TypeNewClientData(SWIGTYPE_p_wxFlexGridSizer
, SWIG_NewClientData(obj
));
52149 return SWIG_Py_Void();
52152 SWIGINTERN PyObject
*FlexGridSizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52153 return SWIG_Python_InitShadowInstance(args
);
52156 SWIGINTERN PyObject
*_wrap_new_StdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52157 PyObject
*resultobj
= 0;
52158 wxStdDialogButtonSizer
*result
= 0 ;
52160 if (!SWIG_Python_UnpackTuple(args
,"new_StdDialogButtonSizer",0,0,0)) SWIG_fail
;
52162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52163 result
= (wxStdDialogButtonSizer
*)new wxStdDialogButtonSizer();
52164 wxPyEndAllowThreads(__tstate
);
52165 if (PyErr_Occurred()) SWIG_fail
;
52167 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_NEW
| 0 );
52174 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_AddButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
52175 PyObject
*resultobj
= 0;
52176 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
52177 wxButton
*arg2
= (wxButton
*) 0 ;
52182 PyObject
* obj0
= 0 ;
52183 PyObject
* obj1
= 0 ;
52184 char * kwnames
[] = {
52185 (char *) "self",(char *) "button", NULL
52188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_AddButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
52189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
52190 if (!SWIG_IsOK(res1
)) {
52191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_AddButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer *""'");
52193 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
52194 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxButton
, 0 | 0 );
52195 if (!SWIG_IsOK(res2
)) {
52196 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StdDialogButtonSizer_AddButton" "', expected argument " "2"" of type '" "wxButton *""'");
52198 arg2
= reinterpret_cast< wxButton
* >(argp2
);
52200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52201 (arg1
)->AddButton(arg2
);
52202 wxPyEndAllowThreads(__tstate
);
52203 if (PyErr_Occurred()) SWIG_fail
;
52205 resultobj
= SWIG_Py_Void();
52212 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52213 PyObject
*resultobj
= 0;
52214 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
52217 PyObject
*swig_obj
[1] ;
52219 if (!args
) SWIG_fail
;
52220 swig_obj
[0] = args
;
52221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
52222 if (!SWIG_IsOK(res1
)) {
52223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_Realize" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer *""'");
52225 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
52227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52229 wxPyEndAllowThreads(__tstate
);
52230 if (PyErr_Occurred()) SWIG_fail
;
52232 resultobj
= SWIG_Py_Void();
52239 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_SetAffirmativeButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
52240 PyObject
*resultobj
= 0;
52241 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
52242 wxButton
*arg2
= (wxButton
*) 0 ;
52247 PyObject
* obj0
= 0 ;
52248 PyObject
* obj1
= 0 ;
52249 char * kwnames
[] = {
52250 (char *) "self",(char *) "button", NULL
52253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetAffirmativeButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
52254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
52255 if (!SWIG_IsOK(res1
)) {
52256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_SetAffirmativeButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer *""'");
52258 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
52259 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxButton
, 0 | 0 );
52260 if (!SWIG_IsOK(res2
)) {
52261 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StdDialogButtonSizer_SetAffirmativeButton" "', expected argument " "2"" of type '" "wxButton *""'");
52263 arg2
= reinterpret_cast< wxButton
* >(argp2
);
52265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52266 (arg1
)->SetAffirmativeButton(arg2
);
52267 wxPyEndAllowThreads(__tstate
);
52268 if (PyErr_Occurred()) SWIG_fail
;
52270 resultobj
= SWIG_Py_Void();
52277 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_SetNegativeButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
52278 PyObject
*resultobj
= 0;
52279 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
52280 wxButton
*arg2
= (wxButton
*) 0 ;
52285 PyObject
* obj0
= 0 ;
52286 PyObject
* obj1
= 0 ;
52287 char * kwnames
[] = {
52288 (char *) "self",(char *) "button", NULL
52291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetNegativeButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
52292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
52293 if (!SWIG_IsOK(res1
)) {
52294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_SetNegativeButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer *""'");
52296 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
52297 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxButton
, 0 | 0 );
52298 if (!SWIG_IsOK(res2
)) {
52299 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StdDialogButtonSizer_SetNegativeButton" "', expected argument " "2"" of type '" "wxButton *""'");
52301 arg2
= reinterpret_cast< wxButton
* >(argp2
);
52303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52304 (arg1
)->SetNegativeButton(arg2
);
52305 wxPyEndAllowThreads(__tstate
);
52306 if (PyErr_Occurred()) SWIG_fail
;
52308 resultobj
= SWIG_Py_Void();
52315 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_SetCancelButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
52316 PyObject
*resultobj
= 0;
52317 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
52318 wxButton
*arg2
= (wxButton
*) 0 ;
52323 PyObject
* obj0
= 0 ;
52324 PyObject
* obj1
= 0 ;
52325 char * kwnames
[] = {
52326 (char *) "self",(char *) "button", NULL
52329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetCancelButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
52330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
52331 if (!SWIG_IsOK(res1
)) {
52332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_SetCancelButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer *""'");
52334 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
52335 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxButton
, 0 | 0 );
52336 if (!SWIG_IsOK(res2
)) {
52337 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StdDialogButtonSizer_SetCancelButton" "', expected argument " "2"" of type '" "wxButton *""'");
52339 arg2
= reinterpret_cast< wxButton
* >(argp2
);
52341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52342 (arg1
)->SetCancelButton(arg2
);
52343 wxPyEndAllowThreads(__tstate
);
52344 if (PyErr_Occurred()) SWIG_fail
;
52346 resultobj
= SWIG_Py_Void();
52353 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_GetAffirmativeButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52354 PyObject
*resultobj
= 0;
52355 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
52356 wxButton
*result
= 0 ;
52359 PyObject
*swig_obj
[1] ;
52361 if (!args
) SWIG_fail
;
52362 swig_obj
[0] = args
;
52363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
52364 if (!SWIG_IsOK(res1
)) {
52365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_GetAffirmativeButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer const *""'");
52367 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
52369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52370 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetAffirmativeButton();
52371 wxPyEndAllowThreads(__tstate
);
52372 if (PyErr_Occurred()) SWIG_fail
;
52375 resultobj
= wxPyMake_wxObject(result
, (bool)0);
52383 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_GetApplyButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52384 PyObject
*resultobj
= 0;
52385 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
52386 wxButton
*result
= 0 ;
52389 PyObject
*swig_obj
[1] ;
52391 if (!args
) SWIG_fail
;
52392 swig_obj
[0] = args
;
52393 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
52394 if (!SWIG_IsOK(res1
)) {
52395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_GetApplyButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer const *""'");
52397 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
52399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52400 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetApplyButton();
52401 wxPyEndAllowThreads(__tstate
);
52402 if (PyErr_Occurred()) SWIG_fail
;
52405 resultobj
= wxPyMake_wxObject(result
, (bool)0);
52413 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_GetNegativeButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52414 PyObject
*resultobj
= 0;
52415 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
52416 wxButton
*result
= 0 ;
52419 PyObject
*swig_obj
[1] ;
52421 if (!args
) SWIG_fail
;
52422 swig_obj
[0] = args
;
52423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
52424 if (!SWIG_IsOK(res1
)) {
52425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_GetNegativeButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer const *""'");
52427 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
52429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52430 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetNegativeButton();
52431 wxPyEndAllowThreads(__tstate
);
52432 if (PyErr_Occurred()) SWIG_fail
;
52435 resultobj
= wxPyMake_wxObject(result
, (bool)0);
52443 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_GetCancelButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52444 PyObject
*resultobj
= 0;
52445 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
52446 wxButton
*result
= 0 ;
52449 PyObject
*swig_obj
[1] ;
52451 if (!args
) SWIG_fail
;
52452 swig_obj
[0] = args
;
52453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
52454 if (!SWIG_IsOK(res1
)) {
52455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_GetCancelButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer const *""'");
52457 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
52459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52460 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetCancelButton();
52461 wxPyEndAllowThreads(__tstate
);
52462 if (PyErr_Occurred()) SWIG_fail
;
52465 resultobj
= wxPyMake_wxObject(result
, (bool)0);
52473 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_GetHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52474 PyObject
*resultobj
= 0;
52475 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
52476 wxButton
*result
= 0 ;
52479 PyObject
*swig_obj
[1] ;
52481 if (!args
) SWIG_fail
;
52482 swig_obj
[0] = args
;
52483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
52484 if (!SWIG_IsOK(res1
)) {
52485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_GetHelpButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer const *""'");
52487 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
52489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52490 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetHelpButton();
52491 wxPyEndAllowThreads(__tstate
);
52492 if (PyErr_Occurred()) SWIG_fail
;
52495 resultobj
= wxPyMake_wxObject(result
, (bool)0);
52503 SWIGINTERN PyObject
*StdDialogButtonSizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52505 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
52506 SWIG_TypeNewClientData(SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_NewClientData(obj
));
52507 return SWIG_Py_Void();
52510 SWIGINTERN PyObject
*StdDialogButtonSizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52511 return SWIG_Python_InitShadowInstance(args
);
52514 SWIGINTERN PyObject
*_wrap_new_GBPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
52515 PyObject
*resultobj
= 0;
52516 int arg1
= (int) 0 ;
52517 int arg2
= (int) 0 ;
52518 wxGBPosition
*result
= 0 ;
52523 PyObject
* obj0
= 0 ;
52524 PyObject
* obj1
= 0 ;
52525 char * kwnames
[] = {
52526 (char *) "row",(char *) "col", NULL
52529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
52531 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
52532 if (!SWIG_IsOK(ecode1
)) {
52533 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GBPosition" "', expected argument " "1"" of type '" "int""'");
52535 arg1
= static_cast< int >(val1
);
52538 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
52539 if (!SWIG_IsOK(ecode2
)) {
52540 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GBPosition" "', expected argument " "2"" of type '" "int""'");
52542 arg2
= static_cast< int >(val2
);
52545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52546 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
52547 wxPyEndAllowThreads(__tstate
);
52548 if (PyErr_Occurred()) SWIG_fail
;
52550 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_NEW
| 0 );
52557 SWIGINTERN PyObject
*_wrap_delete_GBPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52558 PyObject
*resultobj
= 0;
52559 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
52562 PyObject
*swig_obj
[1] ;
52564 if (!args
) SWIG_fail
;
52565 swig_obj
[0] = args
;
52566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_DISOWN
| 0 );
52567 if (!SWIG_IsOK(res1
)) {
52568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GBPosition" "', expected argument " "1"" of type '" "wxGBPosition *""'");
52570 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
52572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52575 wxPyEndAllowThreads(__tstate
);
52576 if (PyErr_Occurred()) SWIG_fail
;
52578 resultobj
= SWIG_Py_Void();
52585 SWIGINTERN PyObject
*_wrap_GBPosition_GetRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52586 PyObject
*resultobj
= 0;
52587 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
52591 PyObject
*swig_obj
[1] ;
52593 if (!args
) SWIG_fail
;
52594 swig_obj
[0] = args
;
52595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
52596 if (!SWIG_IsOK(res1
)) {
52597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition_GetRow" "', expected argument " "1"" of type '" "wxGBPosition const *""'");
52599 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
52601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52602 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
52603 wxPyEndAllowThreads(__tstate
);
52604 if (PyErr_Occurred()) SWIG_fail
;
52606 resultobj
= SWIG_From_int(static_cast< int >(result
));
52613 SWIGINTERN PyObject
*_wrap_GBPosition_GetCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52614 PyObject
*resultobj
= 0;
52615 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
52619 PyObject
*swig_obj
[1] ;
52621 if (!args
) SWIG_fail
;
52622 swig_obj
[0] = args
;
52623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
52624 if (!SWIG_IsOK(res1
)) {
52625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition_GetCol" "', expected argument " "1"" of type '" "wxGBPosition const *""'");
52627 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
52629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52630 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
52631 wxPyEndAllowThreads(__tstate
);
52632 if (PyErr_Occurred()) SWIG_fail
;
52634 resultobj
= SWIG_From_int(static_cast< int >(result
));
52641 SWIGINTERN PyObject
*_wrap_GBPosition_SetRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
52642 PyObject
*resultobj
= 0;
52643 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
52649 PyObject
* obj0
= 0 ;
52650 PyObject
* obj1
= 0 ;
52651 char * kwnames
[] = {
52652 (char *) "self",(char *) "row", NULL
52655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
52656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
52657 if (!SWIG_IsOK(res1
)) {
52658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition_SetRow" "', expected argument " "1"" of type '" "wxGBPosition *""'");
52660 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
52661 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
52662 if (!SWIG_IsOK(ecode2
)) {
52663 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GBPosition_SetRow" "', expected argument " "2"" of type '" "int""'");
52665 arg2
= static_cast< int >(val2
);
52667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52668 (arg1
)->SetRow(arg2
);
52669 wxPyEndAllowThreads(__tstate
);
52670 if (PyErr_Occurred()) SWIG_fail
;
52672 resultobj
= SWIG_Py_Void();
52679 SWIGINTERN PyObject
*_wrap_GBPosition_SetCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
52680 PyObject
*resultobj
= 0;
52681 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
52687 PyObject
* obj0
= 0 ;
52688 PyObject
* obj1
= 0 ;
52689 char * kwnames
[] = {
52690 (char *) "self",(char *) "col", NULL
52693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
52694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
52695 if (!SWIG_IsOK(res1
)) {
52696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition_SetCol" "', expected argument " "1"" of type '" "wxGBPosition *""'");
52698 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
52699 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
52700 if (!SWIG_IsOK(ecode2
)) {
52701 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GBPosition_SetCol" "', expected argument " "2"" of type '" "int""'");
52703 arg2
= static_cast< int >(val2
);
52705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52706 (arg1
)->SetCol(arg2
);
52707 wxPyEndAllowThreads(__tstate
);
52708 if (PyErr_Occurred()) SWIG_fail
;
52710 resultobj
= SWIG_Py_Void();
52717 SWIGINTERN PyObject
*_wrap_GBPosition___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
52718 PyObject
*resultobj
= 0;
52719 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
52720 PyObject
*arg2
= (PyObject
*) 0 ;
52724 PyObject
* obj0
= 0 ;
52725 PyObject
* obj1
= 0 ;
52726 char * kwnames
[] = {
52727 (char *) "self",(char *) "other", NULL
52730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
52731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
52732 if (!SWIG_IsOK(res1
)) {
52733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition___eq__" "', expected argument " "1"" of type '" "wxGBPosition *""'");
52735 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
52738 result
= (bool)wxGBPosition___eq__(arg1
,arg2
);
52739 if (PyErr_Occurred()) SWIG_fail
;
52742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
52750 SWIGINTERN PyObject
*_wrap_GBPosition___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
52751 PyObject
*resultobj
= 0;
52752 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
52753 PyObject
*arg2
= (PyObject
*) 0 ;
52757 PyObject
* obj0
= 0 ;
52758 PyObject
* obj1
= 0 ;
52759 char * kwnames
[] = {
52760 (char *) "self",(char *) "other", NULL
52763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
52764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
52765 if (!SWIG_IsOK(res1
)) {
52766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition___ne__" "', expected argument " "1"" of type '" "wxGBPosition *""'");
52768 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
52771 result
= (bool)wxGBPosition___ne__(arg1
,arg2
);
52772 if (PyErr_Occurred()) SWIG_fail
;
52775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
52783 SWIGINTERN PyObject
*_wrap_GBPosition_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
52784 PyObject
*resultobj
= 0;
52785 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
52786 int arg2
= (int) 0 ;
52787 int arg3
= (int) 0 ;
52794 PyObject
* obj0
= 0 ;
52795 PyObject
* obj1
= 0 ;
52796 PyObject
* obj2
= 0 ;
52797 char * kwnames
[] = {
52798 (char *) "self",(char *) "row",(char *) "col", NULL
52801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
52802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
52803 if (!SWIG_IsOK(res1
)) {
52804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition_Set" "', expected argument " "1"" of type '" "wxGBPosition *""'");
52806 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
52808 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
52809 if (!SWIG_IsOK(ecode2
)) {
52810 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GBPosition_Set" "', expected argument " "2"" of type '" "int""'");
52812 arg2
= static_cast< int >(val2
);
52815 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
52816 if (!SWIG_IsOK(ecode3
)) {
52817 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GBPosition_Set" "', expected argument " "3"" of type '" "int""'");
52819 arg3
= static_cast< int >(val3
);
52822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52823 wxGBPosition_Set(arg1
,arg2
,arg3
);
52824 wxPyEndAllowThreads(__tstate
);
52825 if (PyErr_Occurred()) SWIG_fail
;
52827 resultobj
= SWIG_Py_Void();
52834 SWIGINTERN PyObject
*_wrap_GBPosition_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52835 PyObject
*resultobj
= 0;
52836 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
52837 PyObject
*result
= 0 ;
52840 PyObject
*swig_obj
[1] ;
52842 if (!args
) SWIG_fail
;
52843 swig_obj
[0] = args
;
52844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
52845 if (!SWIG_IsOK(res1
)) {
52846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition_Get" "', expected argument " "1"" of type '" "wxGBPosition *""'");
52848 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
52850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52851 result
= (PyObject
*)wxGBPosition_Get(arg1
);
52852 wxPyEndAllowThreads(__tstate
);
52853 if (PyErr_Occurred()) SWIG_fail
;
52855 resultobj
= result
;
52862 SWIGINTERN PyObject
*GBPosition_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52864 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
52865 SWIG_TypeNewClientData(SWIGTYPE_p_wxGBPosition
, SWIG_NewClientData(obj
));
52866 return SWIG_Py_Void();
52869 SWIGINTERN PyObject
*GBPosition_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52870 return SWIG_Python_InitShadowInstance(args
);
52873 SWIGINTERN PyObject
*_wrap_new_GBSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
52874 PyObject
*resultobj
= 0;
52875 int arg1
= (int) 1 ;
52876 int arg2
= (int) 1 ;
52877 wxGBSpan
*result
= 0 ;
52882 PyObject
* obj0
= 0 ;
52883 PyObject
* obj1
= 0 ;
52884 char * kwnames
[] = {
52885 (char *) "rowspan",(char *) "colspan", NULL
52888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
52890 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
52891 if (!SWIG_IsOK(ecode1
)) {
52892 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GBSpan" "', expected argument " "1"" of type '" "int""'");
52894 arg1
= static_cast< int >(val1
);
52897 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
52898 if (!SWIG_IsOK(ecode2
)) {
52899 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GBSpan" "', expected argument " "2"" of type '" "int""'");
52901 arg2
= static_cast< int >(val2
);
52904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52905 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
52906 wxPyEndAllowThreads(__tstate
);
52907 if (PyErr_Occurred()) SWIG_fail
;
52909 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_NEW
| 0 );
52916 SWIGINTERN PyObject
*_wrap_delete_GBSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52917 PyObject
*resultobj
= 0;
52918 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
52921 PyObject
*swig_obj
[1] ;
52923 if (!args
) SWIG_fail
;
52924 swig_obj
[0] = args
;
52925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_DISOWN
| 0 );
52926 if (!SWIG_IsOK(res1
)) {
52927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GBSpan" "', expected argument " "1"" of type '" "wxGBSpan *""'");
52929 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
52931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52934 wxPyEndAllowThreads(__tstate
);
52935 if (PyErr_Occurred()) SWIG_fail
;
52937 resultobj
= SWIG_Py_Void();
52944 SWIGINTERN PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52945 PyObject
*resultobj
= 0;
52946 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
52950 PyObject
*swig_obj
[1] ;
52952 if (!args
) SWIG_fail
;
52953 swig_obj
[0] = args
;
52954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
52955 if (!SWIG_IsOK(res1
)) {
52956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan_GetRowspan" "', expected argument " "1"" of type '" "wxGBSpan const *""'");
52958 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
52960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52961 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
52962 wxPyEndAllowThreads(__tstate
);
52963 if (PyErr_Occurred()) SWIG_fail
;
52965 resultobj
= SWIG_From_int(static_cast< int >(result
));
52972 SWIGINTERN PyObject
*_wrap_GBSpan_GetColspan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52973 PyObject
*resultobj
= 0;
52974 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
52978 PyObject
*swig_obj
[1] ;
52980 if (!args
) SWIG_fail
;
52981 swig_obj
[0] = args
;
52982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
52983 if (!SWIG_IsOK(res1
)) {
52984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan_GetColspan" "', expected argument " "1"" of type '" "wxGBSpan const *""'");
52986 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
52988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52989 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
52990 wxPyEndAllowThreads(__tstate
);
52991 if (PyErr_Occurred()) SWIG_fail
;
52993 resultobj
= SWIG_From_int(static_cast< int >(result
));
53000 SWIGINTERN PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53001 PyObject
*resultobj
= 0;
53002 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
53008 PyObject
* obj0
= 0 ;
53009 PyObject
* obj1
= 0 ;
53010 char * kwnames
[] = {
53011 (char *) "self",(char *) "rowspan", NULL
53014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
53015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
53016 if (!SWIG_IsOK(res1
)) {
53017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan_SetRowspan" "', expected argument " "1"" of type '" "wxGBSpan *""'");
53019 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
53020 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
53021 if (!SWIG_IsOK(ecode2
)) {
53022 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GBSpan_SetRowspan" "', expected argument " "2"" of type '" "int""'");
53024 arg2
= static_cast< int >(val2
);
53026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53027 (arg1
)->SetRowspan(arg2
);
53028 wxPyEndAllowThreads(__tstate
);
53029 if (PyErr_Occurred()) SWIG_fail
;
53031 resultobj
= SWIG_Py_Void();
53038 SWIGINTERN PyObject
*_wrap_GBSpan_SetColspan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53039 PyObject
*resultobj
= 0;
53040 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
53046 PyObject
* obj0
= 0 ;
53047 PyObject
* obj1
= 0 ;
53048 char * kwnames
[] = {
53049 (char *) "self",(char *) "colspan", NULL
53052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
53053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
53054 if (!SWIG_IsOK(res1
)) {
53055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan_SetColspan" "', expected argument " "1"" of type '" "wxGBSpan *""'");
53057 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
53058 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
53059 if (!SWIG_IsOK(ecode2
)) {
53060 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GBSpan_SetColspan" "', expected argument " "2"" of type '" "int""'");
53062 arg2
= static_cast< int >(val2
);
53064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53065 (arg1
)->SetColspan(arg2
);
53066 wxPyEndAllowThreads(__tstate
);
53067 if (PyErr_Occurred()) SWIG_fail
;
53069 resultobj
= SWIG_Py_Void();
53076 SWIGINTERN PyObject
*_wrap_GBSpan___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53077 PyObject
*resultobj
= 0;
53078 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
53079 PyObject
*arg2
= (PyObject
*) 0 ;
53083 PyObject
* obj0
= 0 ;
53084 PyObject
* obj1
= 0 ;
53085 char * kwnames
[] = {
53086 (char *) "self",(char *) "other", NULL
53089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
53090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
53091 if (!SWIG_IsOK(res1
)) {
53092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan___eq__" "', expected argument " "1"" of type '" "wxGBSpan *""'");
53094 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
53097 result
= (bool)wxGBSpan___eq__(arg1
,arg2
);
53098 if (PyErr_Occurred()) SWIG_fail
;
53101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
53109 SWIGINTERN PyObject
*_wrap_GBSpan___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53110 PyObject
*resultobj
= 0;
53111 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
53112 PyObject
*arg2
= (PyObject
*) 0 ;
53116 PyObject
* obj0
= 0 ;
53117 PyObject
* obj1
= 0 ;
53118 char * kwnames
[] = {
53119 (char *) "self",(char *) "other", NULL
53122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
53123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
53124 if (!SWIG_IsOK(res1
)) {
53125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan___ne__" "', expected argument " "1"" of type '" "wxGBSpan *""'");
53127 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
53130 result
= (bool)wxGBSpan___ne__(arg1
,arg2
);
53131 if (PyErr_Occurred()) SWIG_fail
;
53134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
53142 SWIGINTERN PyObject
*_wrap_GBSpan_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53143 PyObject
*resultobj
= 0;
53144 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
53145 int arg2
= (int) 1 ;
53146 int arg3
= (int) 1 ;
53153 PyObject
* obj0
= 0 ;
53154 PyObject
* obj1
= 0 ;
53155 PyObject
* obj2
= 0 ;
53156 char * kwnames
[] = {
53157 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
53160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
53161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
53162 if (!SWIG_IsOK(res1
)) {
53163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan_Set" "', expected argument " "1"" of type '" "wxGBSpan *""'");
53165 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
53167 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
53168 if (!SWIG_IsOK(ecode2
)) {
53169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GBSpan_Set" "', expected argument " "2"" of type '" "int""'");
53171 arg2
= static_cast< int >(val2
);
53174 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
53175 if (!SWIG_IsOK(ecode3
)) {
53176 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GBSpan_Set" "', expected argument " "3"" of type '" "int""'");
53178 arg3
= static_cast< int >(val3
);
53181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53182 wxGBSpan_Set(arg1
,arg2
,arg3
);
53183 wxPyEndAllowThreads(__tstate
);
53184 if (PyErr_Occurred()) SWIG_fail
;
53186 resultobj
= SWIG_Py_Void();
53193 SWIGINTERN PyObject
*_wrap_GBSpan_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53194 PyObject
*resultobj
= 0;
53195 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
53196 PyObject
*result
= 0 ;
53199 PyObject
*swig_obj
[1] ;
53201 if (!args
) SWIG_fail
;
53202 swig_obj
[0] = args
;
53203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
53204 if (!SWIG_IsOK(res1
)) {
53205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan_Get" "', expected argument " "1"" of type '" "wxGBSpan *""'");
53207 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
53209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53210 result
= (PyObject
*)wxGBSpan_Get(arg1
);
53211 wxPyEndAllowThreads(__tstate
);
53212 if (PyErr_Occurred()) SWIG_fail
;
53214 resultobj
= result
;
53221 SWIGINTERN PyObject
*GBSpan_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53223 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
53224 SWIG_TypeNewClientData(SWIGTYPE_p_wxGBSpan
, SWIG_NewClientData(obj
));
53225 return SWIG_Py_Void();
53228 SWIGINTERN PyObject
*GBSpan_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53229 return SWIG_Python_InitShadowInstance(args
);
53232 SWIGINTERN
int DefaultSpan_set(PyObject
*) {
53233 SWIG_Error(SWIG_AttributeError
,"Variable DefaultSpan is read-only.");
53238 SWIGINTERN PyObject
*DefaultSpan_get(void) {
53239 PyObject
*pyobj
= 0;
53241 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0 );
53246 SWIGINTERN PyObject
*_wrap_new_GBSizerItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53247 PyObject
*resultobj
= 0;
53248 wxGBSizerItem
*result
= 0 ;
53250 if (!SWIG_Python_UnpackTuple(args
,"new_GBSizerItem",0,0,0)) SWIG_fail
;
53252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53253 result
= (wxGBSizerItem
*)new wxGBSizerItem();
53254 wxPyEndAllowThreads(__tstate
);
53255 if (PyErr_Occurred()) SWIG_fail
;
53257 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_NEW
| 0 );
53264 SWIGINTERN PyObject
*_wrap_delete_GBSizerItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53265 PyObject
*resultobj
= 0;
53266 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
53269 PyObject
*swig_obj
[1] ;
53271 if (!args
) SWIG_fail
;
53272 swig_obj
[0] = args
;
53273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_DISOWN
| 0 );
53274 if (!SWIG_IsOK(res1
)) {
53275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GBSizerItem" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
53277 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
53279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53282 wxPyEndAllowThreads(__tstate
);
53283 if (PyErr_Occurred()) SWIG_fail
;
53285 resultobj
= SWIG_Py_Void();
53292 SWIGINTERN PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53293 PyObject
*resultobj
= 0;
53294 wxWindow
*arg1
= (wxWindow
*) 0 ;
53295 wxGBPosition
*arg2
= 0 ;
53296 wxGBSpan
*arg3
= 0 ;
53299 PyObject
*arg6
= (PyObject
*) NULL
;
53300 wxGBSizerItem
*result
= 0 ;
53303 wxGBPosition temp2
;
53309 PyObject
* obj0
= 0 ;
53310 PyObject
* obj1
= 0 ;
53311 PyObject
* obj2
= 0 ;
53312 PyObject
* obj3
= 0 ;
53313 PyObject
* obj4
= 0 ;
53314 PyObject
* obj5
= 0 ;
53315 char * kwnames
[] = {
53316 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
53319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
53320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
53321 if (!SWIG_IsOK(res1
)) {
53322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GBSizerItemWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
53324 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
53327 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
53331 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
53333 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
53334 if (!SWIG_IsOK(ecode4
)) {
53335 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_GBSizerItemWindow" "', expected argument " "4"" of type '" "int""'");
53337 arg4
= static_cast< int >(val4
);
53338 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
53339 if (!SWIG_IsOK(ecode5
)) {
53340 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_GBSizerItemWindow" "', expected argument " "5"" of type '" "int""'");
53342 arg5
= static_cast< int >(val5
);
53347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53348 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
53349 wxPyEndAllowThreads(__tstate
);
53350 if (PyErr_Occurred()) SWIG_fail
;
53352 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_OWN
| 0 );
53359 SWIGINTERN PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53360 PyObject
*resultobj
= 0;
53361 wxSizer
*arg1
= (wxSizer
*) 0 ;
53362 wxGBPosition
*arg2
= 0 ;
53363 wxGBSpan
*arg3
= 0 ;
53366 PyObject
*arg6
= (PyObject
*) NULL
;
53367 wxGBSizerItem
*result
= 0 ;
53369 wxGBPosition temp2
;
53375 PyObject
* obj0
= 0 ;
53376 PyObject
* obj1
= 0 ;
53377 PyObject
* obj2
= 0 ;
53378 PyObject
* obj3
= 0 ;
53379 PyObject
* obj4
= 0 ;
53380 PyObject
* obj5
= 0 ;
53381 char * kwnames
[] = {
53382 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
53385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
53386 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxSizer
, SWIG_POINTER_DISOWN
| 0 );
53387 if (!SWIG_IsOK(res1
)) {
53388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GBSizerItemSizer" "', expected argument " "1"" of type '" "wxSizer *""'");
53392 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
53396 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
53398 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
53399 if (!SWIG_IsOK(ecode4
)) {
53400 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_GBSizerItemSizer" "', expected argument " "4"" of type '" "int""'");
53402 arg4
= static_cast< int >(val4
);
53403 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
53404 if (!SWIG_IsOK(ecode5
)) {
53405 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_GBSizerItemSizer" "', expected argument " "5"" of type '" "int""'");
53407 arg5
= static_cast< int >(val5
);
53412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53413 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
53414 wxPyEndAllowThreads(__tstate
);
53415 if (PyErr_Occurred()) SWIG_fail
;
53417 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_OWN
| 0 );
53424 SWIGINTERN PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53425 PyObject
*resultobj
= 0;
53428 wxGBPosition
*arg3
= 0 ;
53429 wxGBSpan
*arg4
= 0 ;
53432 PyObject
*arg7
= (PyObject
*) NULL
;
53433 wxGBSizerItem
*result
= 0 ;
53438 wxGBPosition temp3
;
53444 PyObject
* obj0
= 0 ;
53445 PyObject
* obj1
= 0 ;
53446 PyObject
* obj2
= 0 ;
53447 PyObject
* obj3
= 0 ;
53448 PyObject
* obj4
= 0 ;
53449 PyObject
* obj5
= 0 ;
53450 PyObject
* obj6
= 0 ;
53451 char * kwnames
[] = {
53452 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
53455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
53456 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
53457 if (!SWIG_IsOK(ecode1
)) {
53458 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GBSizerItemSpacer" "', expected argument " "1"" of type '" "int""'");
53460 arg1
= static_cast< int >(val1
);
53461 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
53462 if (!SWIG_IsOK(ecode2
)) {
53463 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GBSizerItemSpacer" "', expected argument " "2"" of type '" "int""'");
53465 arg2
= static_cast< int >(val2
);
53468 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
53472 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
53474 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
53475 if (!SWIG_IsOK(ecode5
)) {
53476 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_GBSizerItemSpacer" "', expected argument " "5"" of type '" "int""'");
53478 arg5
= static_cast< int >(val5
);
53479 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
53480 if (!SWIG_IsOK(ecode6
)) {
53481 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GBSizerItemSpacer" "', expected argument " "6"" of type '" "int""'");
53483 arg6
= static_cast< int >(val6
);
53488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53489 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
53490 wxPyEndAllowThreads(__tstate
);
53491 if (PyErr_Occurred()) SWIG_fail
;
53493 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_OWN
| 0 );
53500 SWIGINTERN PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53501 PyObject
*resultobj
= 0;
53502 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
53503 wxGBPosition result
;
53506 PyObject
*swig_obj
[1] ;
53508 if (!args
) SWIG_fail
;
53509 swig_obj
[0] = args
;
53510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
53511 if (!SWIG_IsOK(res1
)) {
53512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_GetPos" "', expected argument " "1"" of type '" "wxGBSizerItem const *""'");
53514 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
53516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53517 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
53518 wxPyEndAllowThreads(__tstate
);
53519 if (PyErr_Occurred()) SWIG_fail
;
53521 resultobj
= SWIG_NewPointerObj((new wxGBPosition(static_cast< const wxGBPosition
& >(result
))), SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_OWN
| 0 );
53528 SWIGINTERN PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53529 PyObject
*resultobj
= 0;
53530 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
53534 PyObject
*swig_obj
[1] ;
53536 if (!args
) SWIG_fail
;
53537 swig_obj
[0] = args
;
53538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
53539 if (!SWIG_IsOK(res1
)) {
53540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_GetSpan" "', expected argument " "1"" of type '" "wxGBSizerItem const *""'");
53542 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
53544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53545 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
53546 wxPyEndAllowThreads(__tstate
);
53547 if (PyErr_Occurred()) SWIG_fail
;
53549 resultobj
= SWIG_NewPointerObj((new wxGBSpan(static_cast< const wxGBSpan
& >(result
))), SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_OWN
| 0 );
53556 SWIGINTERN PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53557 PyObject
*resultobj
= 0;
53558 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
53559 wxGBPosition
*arg2
= 0 ;
53563 wxGBPosition temp2
;
53564 PyObject
* obj0
= 0 ;
53565 PyObject
* obj1
= 0 ;
53566 char * kwnames
[] = {
53567 (char *) "self",(char *) "pos", NULL
53570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
53571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
53572 if (!SWIG_IsOK(res1
)) {
53573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_SetPos" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
53575 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
53578 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
53581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53582 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
53583 wxPyEndAllowThreads(__tstate
);
53584 if (PyErr_Occurred()) SWIG_fail
;
53587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
53595 SWIGINTERN PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53596 PyObject
*resultobj
= 0;
53597 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
53598 wxGBSpan
*arg2
= 0 ;
53603 PyObject
* obj0
= 0 ;
53604 PyObject
* obj1
= 0 ;
53605 char * kwnames
[] = {
53606 (char *) "self",(char *) "span", NULL
53609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
53610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
53611 if (!SWIG_IsOK(res1
)) {
53612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_SetSpan" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
53614 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
53617 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
53620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53621 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
53622 wxPyEndAllowThreads(__tstate
);
53623 if (PyErr_Occurred()) SWIG_fail
;
53626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
53634 SWIGINTERN PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53635 PyObject
*resultobj
= 0;
53636 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
53637 wxGBSizerItem
*arg2
= 0 ;
53643 PyObject
* obj0
= 0 ;
53644 PyObject
* obj1
= 0 ;
53645 char * kwnames
[] = {
53646 (char *) "self",(char *) "other", NULL
53649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
53650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
53651 if (!SWIG_IsOK(res1
)) {
53652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_Intersects" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
53654 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
53655 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGBSizerItem
, 0 | 0);
53656 if (!SWIG_IsOK(res2
)) {
53657 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GBSizerItem_Intersects" "', expected argument " "2"" of type '" "wxGBSizerItem const &""'");
53660 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GBSizerItem_Intersects" "', expected argument " "2"" of type '" "wxGBSizerItem const &""'");
53662 arg2
= reinterpret_cast< wxGBSizerItem
* >(argp2
);
53664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53665 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
53666 wxPyEndAllowThreads(__tstate
);
53667 if (PyErr_Occurred()) SWIG_fail
;
53670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
53678 SWIGINTERN PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53679 PyObject
*resultobj
= 0;
53680 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
53681 wxGBPosition
*arg2
= 0 ;
53682 wxGBSpan
*arg3
= 0 ;
53686 wxGBPosition temp2
;
53688 PyObject
* obj0
= 0 ;
53689 PyObject
* obj1
= 0 ;
53690 PyObject
* obj2
= 0 ;
53691 char * kwnames
[] = {
53692 (char *) "self",(char *) "pos",(char *) "span", NULL
53695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
53696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
53697 if (!SWIG_IsOK(res1
)) {
53698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_IntersectsPos" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
53700 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
53703 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
53707 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
53710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53711 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
53712 wxPyEndAllowThreads(__tstate
);
53713 if (PyErr_Occurred()) SWIG_fail
;
53716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
53724 SWIGINTERN PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53725 PyObject
*resultobj
= 0;
53726 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
53727 wxGBPosition result
;
53730 PyObject
*swig_obj
[1] ;
53732 if (!args
) SWIG_fail
;
53733 swig_obj
[0] = args
;
53734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
53735 if (!SWIG_IsOK(res1
)) {
53736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_GetEndPos" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
53738 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
53740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53741 result
= wxGBSizerItem_GetEndPos(arg1
);
53742 wxPyEndAllowThreads(__tstate
);
53743 if (PyErr_Occurred()) SWIG_fail
;
53745 resultobj
= SWIG_NewPointerObj((new wxGBPosition(static_cast< const wxGBPosition
& >(result
))), SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_OWN
| 0 );
53752 SWIGINTERN PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53753 PyObject
*resultobj
= 0;
53754 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
53755 wxGridBagSizer
*result
= 0 ;
53758 PyObject
*swig_obj
[1] ;
53760 if (!args
) SWIG_fail
;
53761 swig_obj
[0] = args
;
53762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
53763 if (!SWIG_IsOK(res1
)) {
53764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_GetGBSizer" "', expected argument " "1"" of type '" "wxGBSizerItem const *""'");
53766 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
53768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53769 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
53770 wxPyEndAllowThreads(__tstate
);
53771 if (PyErr_Occurred()) SWIG_fail
;
53773 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
53780 SWIGINTERN PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53781 PyObject
*resultobj
= 0;
53782 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
53783 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
53788 PyObject
* obj0
= 0 ;
53789 PyObject
* obj1
= 0 ;
53790 char * kwnames
[] = {
53791 (char *) "self",(char *) "sizer", NULL
53794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
53795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
53796 if (!SWIG_IsOK(res1
)) {
53797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_SetGBSizer" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
53799 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
53800 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
53801 if (!SWIG_IsOK(res2
)) {
53802 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GBSizerItem_SetGBSizer" "', expected argument " "2"" of type '" "wxGridBagSizer *""'");
53804 arg2
= reinterpret_cast< wxGridBagSizer
* >(argp2
);
53806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53807 (arg1
)->SetGBSizer(arg2
);
53808 wxPyEndAllowThreads(__tstate
);
53809 if (PyErr_Occurred()) SWIG_fail
;
53811 resultobj
= SWIG_Py_Void();
53818 SWIGINTERN PyObject
*GBSizerItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53820 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
53821 SWIG_TypeNewClientData(SWIGTYPE_p_wxGBSizerItem
, SWIG_NewClientData(obj
));
53822 return SWIG_Py_Void();
53825 SWIGINTERN PyObject
*GBSizerItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53826 return SWIG_Python_InitShadowInstance(args
);
53829 SWIGINTERN PyObject
*_wrap_new_GridBagSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53830 PyObject
*resultobj
= 0;
53831 int arg1
= (int) 0 ;
53832 int arg2
= (int) 0 ;
53833 wxGridBagSizer
*result
= 0 ;
53838 PyObject
* obj0
= 0 ;
53839 PyObject
* obj1
= 0 ;
53840 char * kwnames
[] = {
53841 (char *) "vgap",(char *) "hgap", NULL
53844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
53846 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
53847 if (!SWIG_IsOK(ecode1
)) {
53848 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridBagSizer" "', expected argument " "1"" of type '" "int""'");
53850 arg1
= static_cast< int >(val1
);
53853 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
53854 if (!SWIG_IsOK(ecode2
)) {
53855 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridBagSizer" "', expected argument " "2"" of type '" "int""'");
53857 arg2
= static_cast< int >(val2
);
53860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53861 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
53862 wxPyEndAllowThreads(__tstate
);
53863 if (PyErr_Occurred()) SWIG_fail
;
53865 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_NEW
| 0 );
53872 SWIGINTERN PyObject
*_wrap_GridBagSizer_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53873 PyObject
*resultobj
= 0;
53874 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
53875 PyObject
*arg2
= (PyObject
*) 0 ;
53876 wxGBPosition
*arg3
= 0 ;
53877 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
53878 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
53879 int arg5
= (int) 0 ;
53880 int arg6
= (int) 0 ;
53881 PyObject
*arg7
= (PyObject
*) NULL
;
53882 wxGBSizerItem
*result
= 0 ;
53885 wxGBPosition temp3
;
53891 PyObject
* obj0
= 0 ;
53892 PyObject
* obj1
= 0 ;
53893 PyObject
* obj2
= 0 ;
53894 PyObject
* obj3
= 0 ;
53895 PyObject
* obj4
= 0 ;
53896 PyObject
* obj5
= 0 ;
53897 PyObject
* obj6
= 0 ;
53898 char * kwnames
[] = {
53899 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
53902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
53903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
53904 if (!SWIG_IsOK(res1
)) {
53905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_Add" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
53907 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
53911 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
53916 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
53920 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
53921 if (!SWIG_IsOK(ecode5
)) {
53922 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GridBagSizer_Add" "', expected argument " "5"" of type '" "int""'");
53924 arg5
= static_cast< int >(val5
);
53927 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
53928 if (!SWIG_IsOK(ecode6
)) {
53929 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GridBagSizer_Add" "', expected argument " "6"" of type '" "int""'");
53931 arg6
= static_cast< int >(val6
);
53937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53938 result
= (wxGBSizerItem
*)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
53939 wxPyEndAllowThreads(__tstate
);
53940 if (PyErr_Occurred()) SWIG_fail
;
53942 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
53949 SWIGINTERN PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53950 PyObject
*resultobj
= 0;
53951 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
53952 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
53953 wxGBSizerItem
*result
= 0 ;
53957 PyObject
* obj0
= 0 ;
53958 PyObject
* obj1
= 0 ;
53959 char * kwnames
[] = {
53960 (char *) "self",(char *) "item", NULL
53963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
53964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
53965 if (!SWIG_IsOK(res1
)) {
53966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_AddItem" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
53968 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
53969 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_DISOWN
| 0 );
53970 if (!SWIG_IsOK(res2
)) {
53971 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_AddItem" "', expected argument " "2"" of type '" "wxGBSizerItem *""'");
53974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53975 result
= (wxGBSizerItem
*)(arg1
)->Add(arg2
);
53976 wxPyEndAllowThreads(__tstate
);
53977 if (PyErr_Occurred()) SWIG_fail
;
53979 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
53986 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetCellSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53987 PyObject
*resultobj
= 0;
53988 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
53998 PyObject
* obj0
= 0 ;
53999 PyObject
* obj1
= 0 ;
54000 PyObject
* obj2
= 0 ;
54001 char * kwnames
[] = {
54002 (char *) "self",(char *) "row",(char *) "col", NULL
54005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridBagSizer_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
54006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
54007 if (!SWIG_IsOK(res1
)) {
54008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetCellSize" "', expected argument " "1"" of type '" "wxGridBagSizer const *""'");
54010 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
54011 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
54012 if (!SWIG_IsOK(ecode2
)) {
54013 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridBagSizer_GetCellSize" "', expected argument " "2"" of type '" "int""'");
54015 arg2
= static_cast< int >(val2
);
54016 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
54017 if (!SWIG_IsOK(ecode3
)) {
54018 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridBagSizer_GetCellSize" "', expected argument " "3"" of type '" "int""'");
54020 arg3
= static_cast< int >(val3
);
54022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54023 result
= ((wxGridBagSizer
const *)arg1
)->GetCellSize(arg2
,arg3
);
54024 wxPyEndAllowThreads(__tstate
);
54025 if (PyErr_Occurred()) SWIG_fail
;
54027 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
54034 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
54035 PyObject
*resultobj
= 0;
54036 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
54040 PyObject
*swig_obj
[1] ;
54042 if (!args
) SWIG_fail
;
54043 swig_obj
[0] = args
;
54044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
54045 if (!SWIG_IsOK(res1
)) {
54046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetEmptyCellSize" "', expected argument " "1"" of type '" "wxGridBagSizer const *""'");
54048 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
54050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54051 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
54052 wxPyEndAllowThreads(__tstate
);
54053 if (PyErr_Occurred()) SWIG_fail
;
54055 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
54062 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
54063 PyObject
*resultobj
= 0;
54064 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
54069 PyObject
* obj0
= 0 ;
54070 PyObject
* obj1
= 0 ;
54071 char * kwnames
[] = {
54072 (char *) "self",(char *) "sz", NULL
54075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
54076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
54077 if (!SWIG_IsOK(res1
)) {
54078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetEmptyCellSize" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
54080 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
54083 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
54086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54087 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
54088 wxPyEndAllowThreads(__tstate
);
54089 if (PyErr_Occurred()) SWIG_fail
;
54091 resultobj
= SWIG_Py_Void();
54098 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
54099 PyObject
*resultobj
= 0;
54100 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
54101 wxWindow
*arg2
= (wxWindow
*) 0 ;
54102 wxGBPosition result
;
54108 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
54109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
54110 if (!SWIG_IsOK(res1
)) {
54111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetItemPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
54113 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
54114 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
54115 if (!SWIG_IsOK(res2
)) {
54116 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_GetItemPosition" "', expected argument " "2"" of type '" "wxWindow *""'");
54118 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
54120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54121 result
= (arg1
)->GetItemPosition(arg2
);
54122 wxPyEndAllowThreads(__tstate
);
54123 if (PyErr_Occurred()) SWIG_fail
;
54125 resultobj
= SWIG_NewPointerObj((new wxGBPosition(static_cast< const wxGBPosition
& >(result
))), SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_OWN
| 0 );
54132 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
54133 PyObject
*resultobj
= 0;
54134 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
54135 wxSizer
*arg2
= (wxSizer
*) 0 ;
54136 wxGBPosition result
;
54142 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
54143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
54144 if (!SWIG_IsOK(res1
)) {
54145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetItemPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
54147 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
54148 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
54149 if (!SWIG_IsOK(res2
)) {
54150 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_GetItemPosition" "', expected argument " "2"" of type '" "wxSizer *""'");
54152 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
54154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54155 result
= (arg1
)->GetItemPosition(arg2
);
54156 wxPyEndAllowThreads(__tstate
);
54157 if (PyErr_Occurred()) SWIG_fail
;
54159 resultobj
= SWIG_NewPointerObj((new wxGBPosition(static_cast< const wxGBPosition
& >(result
))), SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_OWN
| 0 );
54166 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
54167 PyObject
*resultobj
= 0;
54168 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
54170 wxGBPosition result
;
54176 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
54177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
54178 if (!SWIG_IsOK(res1
)) {
54179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetItemPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
54181 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
54182 ecode2
= SWIG_AsVal_size_t(swig_obj
[1], &val2
);
54183 if (!SWIG_IsOK(ecode2
)) {
54184 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridBagSizer_GetItemPosition" "', expected argument " "2"" of type '" "size_t""'");
54186 arg2
= static_cast< size_t >(val2
);
54188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54189 result
= (arg1
)->GetItemPosition(arg2
);
54190 wxPyEndAllowThreads(__tstate
);
54191 if (PyErr_Occurred()) SWIG_fail
;
54193 resultobj
= SWIG_NewPointerObj((new wxGBPosition(static_cast< const wxGBPosition
& >(result
))), SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_OWN
| 0 );
54200 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
54204 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GridBagSizer_GetItemPosition",0,2,argv
))) SWIG_fail
;
54210 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxWindow
, 0);
54211 _v
= SWIG_CheckState(res
);
54213 if (!_v
) goto check_1
;
54214 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
, argc
, argv
);
54222 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxSizer
, 0);
54223 _v
= SWIG_CheckState(res
);
54225 if (!_v
) goto check_2
;
54226 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
, argc
, argv
);
54231 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
, argc
, argv
);
54235 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
54240 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
54241 PyObject
*resultobj
= 0;
54242 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
54243 wxWindow
*arg2
= (wxWindow
*) 0 ;
54244 wxGBPosition
*arg3
= 0 ;
54250 wxGBPosition temp3
;
54252 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
54253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
54254 if (!SWIG_IsOK(res1
)) {
54255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetItemPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
54257 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
54258 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
54259 if (!SWIG_IsOK(res2
)) {
54260 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_SetItemPosition" "', expected argument " "2"" of type '" "wxWindow *""'");
54262 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
54265 if ( ! wxGBPosition_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
54268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54269 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
54270 wxPyEndAllowThreads(__tstate
);
54271 if (PyErr_Occurred()) SWIG_fail
;
54274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
54282 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
54283 PyObject
*resultobj
= 0;
54284 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
54285 wxSizer
*arg2
= (wxSizer
*) 0 ;
54286 wxGBPosition
*arg3
= 0 ;
54292 wxGBPosition temp3
;
54294 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
54295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
54296 if (!SWIG_IsOK(res1
)) {
54297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetItemPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
54299 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
54300 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
54301 if (!SWIG_IsOK(res2
)) {
54302 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_SetItemPosition" "', expected argument " "2"" of type '" "wxSizer *""'");
54304 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
54307 if ( ! wxGBPosition_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
54310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54311 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
54312 wxPyEndAllowThreads(__tstate
);
54313 if (PyErr_Occurred()) SWIG_fail
;
54316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
54324 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
54325 PyObject
*resultobj
= 0;
54326 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
54328 wxGBPosition
*arg3
= 0 ;
54334 wxGBPosition temp3
;
54336 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
54337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
54338 if (!SWIG_IsOK(res1
)) {
54339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetItemPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
54341 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
54342 ecode2
= SWIG_AsVal_size_t(swig_obj
[1], &val2
);
54343 if (!SWIG_IsOK(ecode2
)) {
54344 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridBagSizer_SetItemPosition" "', expected argument " "2"" of type '" "size_t""'");
54346 arg2
= static_cast< size_t >(val2
);
54349 if ( ! wxGBPosition_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
54352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54353 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
54354 wxPyEndAllowThreads(__tstate
);
54355 if (PyErr_Occurred()) SWIG_fail
;
54358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
54366 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
54370 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GridBagSizer_SetItemPosition",0,3,argv
))) SWIG_fail
;
54376 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxWindow
, 0);
54377 _v
= SWIG_CheckState(res
);
54379 if (!_v
) goto check_1
;
54380 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
, argc
, argv
);
54388 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxSizer
, 0);
54389 _v
= SWIG_CheckState(res
);
54391 if (!_v
) goto check_2
;
54392 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
, argc
, argv
);
54397 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
, argc
, argv
);
54401 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
54406 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
54407 PyObject
*resultobj
= 0;
54408 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
54409 wxWindow
*arg2
= (wxWindow
*) 0 ;
54416 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
54417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
54418 if (!SWIG_IsOK(res1
)) {
54419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetItemSpan" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
54421 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
54422 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
54423 if (!SWIG_IsOK(res2
)) {
54424 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_GetItemSpan" "', expected argument " "2"" of type '" "wxWindow *""'");
54426 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
54428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54429 result
= (arg1
)->GetItemSpan(arg2
);
54430 wxPyEndAllowThreads(__tstate
);
54431 if (PyErr_Occurred()) SWIG_fail
;
54433 resultobj
= SWIG_NewPointerObj((new wxGBSpan(static_cast< const wxGBSpan
& >(result
))), SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_OWN
| 0 );
54440 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
54441 PyObject
*resultobj
= 0;
54442 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
54443 wxSizer
*arg2
= (wxSizer
*) 0 ;
54450 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
54451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
54452 if (!SWIG_IsOK(res1
)) {
54453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetItemSpan" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
54455 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
54456 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
54457 if (!SWIG_IsOK(res2
)) {
54458 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_GetItemSpan" "', expected argument " "2"" of type '" "wxSizer *""'");
54460 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
54462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54463 result
= (arg1
)->GetItemSpan(arg2
);
54464 wxPyEndAllowThreads(__tstate
);
54465 if (PyErr_Occurred()) SWIG_fail
;
54467 resultobj
= SWIG_NewPointerObj((new wxGBSpan(static_cast< const wxGBSpan
& >(result
))), SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_OWN
| 0 );
54474 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
54475 PyObject
*resultobj
= 0;
54476 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
54484 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
54485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
54486 if (!SWIG_IsOK(res1
)) {
54487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetItemSpan" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
54489 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
54490 ecode2
= SWIG_AsVal_size_t(swig_obj
[1], &val2
);
54491 if (!SWIG_IsOK(ecode2
)) {
54492 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridBagSizer_GetItemSpan" "', expected argument " "2"" of type '" "size_t""'");
54494 arg2
= static_cast< size_t >(val2
);
54496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54497 result
= (arg1
)->GetItemSpan(arg2
);
54498 wxPyEndAllowThreads(__tstate
);
54499 if (PyErr_Occurred()) SWIG_fail
;
54501 resultobj
= SWIG_NewPointerObj((new wxGBSpan(static_cast< const wxGBSpan
& >(result
))), SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_OWN
| 0 );
54508 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
54512 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GridBagSizer_GetItemSpan",0,2,argv
))) SWIG_fail
;
54518 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxWindow
, 0);
54519 _v
= SWIG_CheckState(res
);
54521 if (!_v
) goto check_1
;
54522 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
, argc
, argv
);
54530 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxSizer
, 0);
54531 _v
= SWIG_CheckState(res
);
54533 if (!_v
) goto check_2
;
54534 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
, argc
, argv
);
54539 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
, argc
, argv
);
54543 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
54548 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
54549 PyObject
*resultobj
= 0;
54550 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
54551 wxWindow
*arg2
= (wxWindow
*) 0 ;
54552 wxGBSpan
*arg3
= 0 ;
54560 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
54561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
54562 if (!SWIG_IsOK(res1
)) {
54563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetItemSpan" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
54565 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
54566 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
54567 if (!SWIG_IsOK(res2
)) {
54568 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_SetItemSpan" "', expected argument " "2"" of type '" "wxWindow *""'");
54570 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
54573 if ( ! wxGBSpan_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
54576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54577 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
54578 wxPyEndAllowThreads(__tstate
);
54579 if (PyErr_Occurred()) SWIG_fail
;
54582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
54590 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
54591 PyObject
*resultobj
= 0;
54592 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
54593 wxSizer
*arg2
= (wxSizer
*) 0 ;
54594 wxGBSpan
*arg3
= 0 ;
54602 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
54603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
54604 if (!SWIG_IsOK(res1
)) {
54605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetItemSpan" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
54607 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
54608 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
54609 if (!SWIG_IsOK(res2
)) {
54610 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_SetItemSpan" "', expected argument " "2"" of type '" "wxSizer *""'");
54612 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
54615 if ( ! wxGBSpan_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
54618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54619 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
54620 wxPyEndAllowThreads(__tstate
);
54621 if (PyErr_Occurred()) SWIG_fail
;
54624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
54632 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
54633 PyObject
*resultobj
= 0;
54634 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
54636 wxGBSpan
*arg3
= 0 ;
54644 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
54645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
54646 if (!SWIG_IsOK(res1
)) {
54647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetItemSpan" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
54649 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
54650 ecode2
= SWIG_AsVal_size_t(swig_obj
[1], &val2
);
54651 if (!SWIG_IsOK(ecode2
)) {
54652 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridBagSizer_SetItemSpan" "', expected argument " "2"" of type '" "size_t""'");
54654 arg2
= static_cast< size_t >(val2
);
54657 if ( ! wxGBSpan_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
54660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54661 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
54662 wxPyEndAllowThreads(__tstate
);
54663 if (PyErr_Occurred()) SWIG_fail
;
54666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
54674 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
54678 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GridBagSizer_SetItemSpan",0,3,argv
))) SWIG_fail
;
54684 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxWindow
, 0);
54685 _v
= SWIG_CheckState(res
);
54687 if (!_v
) goto check_1
;
54688 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
, argc
, argv
);
54696 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxSizer
, 0);
54697 _v
= SWIG_CheckState(res
);
54699 if (!_v
) goto check_2
;
54700 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
, argc
, argv
);
54705 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
, argc
, argv
);
54709 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
54714 SWIGINTERN PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
54715 PyObject
*resultobj
= 0;
54716 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
54717 wxWindow
*arg2
= (wxWindow
*) 0 ;
54718 wxGBSizerItem
*result
= 0 ;
54724 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
54725 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
54726 if (!SWIG_IsOK(res1
)) {
54727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_FindItem" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
54729 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
54730 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
54731 if (!SWIG_IsOK(res2
)) {
54732 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_FindItem" "', expected argument " "2"" of type '" "wxWindow *""'");
54734 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
54736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54737 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
54738 wxPyEndAllowThreads(__tstate
);
54739 if (PyErr_Occurred()) SWIG_fail
;
54741 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
54748 SWIGINTERN PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
54749 PyObject
*resultobj
= 0;
54750 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
54751 wxSizer
*arg2
= (wxSizer
*) 0 ;
54752 wxGBSizerItem
*result
= 0 ;
54758 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
54759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
54760 if (!SWIG_IsOK(res1
)) {
54761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_FindItem" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
54763 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
54764 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
54765 if (!SWIG_IsOK(res2
)) {
54766 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_FindItem" "', expected argument " "2"" of type '" "wxSizer *""'");
54768 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
54770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54771 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
54772 wxPyEndAllowThreads(__tstate
);
54773 if (PyErr_Occurred()) SWIG_fail
;
54775 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
54782 SWIGINTERN PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
54786 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GridBagSizer_FindItem",0,2,argv
))) SWIG_fail
;
54792 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxWindow
, 0);
54793 _v
= SWIG_CheckState(res
);
54795 if (!_v
) goto check_1
;
54796 return _wrap_GridBagSizer_FindItem__SWIG_0(self
, argc
, argv
);
54801 return _wrap_GridBagSizer_FindItem__SWIG_1(self
, argc
, argv
);
54805 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
54810 SWIGINTERN PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
54811 PyObject
*resultobj
= 0;
54812 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
54813 wxGBPosition
*arg2
= 0 ;
54814 wxGBSizerItem
*result
= 0 ;
54817 wxGBPosition temp2
;
54818 PyObject
* obj0
= 0 ;
54819 PyObject
* obj1
= 0 ;
54820 char * kwnames
[] = {
54821 (char *) "self",(char *) "pos", NULL
54824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
54825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
54826 if (!SWIG_IsOK(res1
)) {
54827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_FindItemAtPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
54829 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
54832 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
54835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54836 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
54837 wxPyEndAllowThreads(__tstate
);
54838 if (PyErr_Occurred()) SWIG_fail
;
54840 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
54847 SWIGINTERN PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
54848 PyObject
*resultobj
= 0;
54849 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
54850 wxPoint
*arg2
= 0 ;
54851 wxGBSizerItem
*result
= 0 ;
54855 PyObject
* obj0
= 0 ;
54856 PyObject
* obj1
= 0 ;
54857 char * kwnames
[] = {
54858 (char *) "self",(char *) "pt", NULL
54861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
54862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
54863 if (!SWIG_IsOK(res1
)) {
54864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_FindItemAtPoint" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
54866 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
54869 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
54872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54873 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
54874 wxPyEndAllowThreads(__tstate
);
54875 if (PyErr_Occurred()) SWIG_fail
;
54877 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
54884 SWIGINTERN PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
54885 PyObject
*resultobj
= 0;
54886 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
54887 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
54888 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
54896 PyObject
* obj0
= 0 ;
54897 PyObject
* obj1
= 0 ;
54898 PyObject
* obj2
= 0 ;
54899 char * kwnames
[] = {
54900 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
54903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
54904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
54905 if (!SWIG_IsOK(res1
)) {
54906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_CheckForIntersection" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
54908 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
54909 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
54910 if (!SWIG_IsOK(res2
)) {
54911 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_CheckForIntersection" "', expected argument " "2"" of type '" "wxGBSizerItem *""'");
54913 arg2
= reinterpret_cast< wxGBSizerItem
* >(argp2
);
54915 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
54916 if (!SWIG_IsOK(res3
)) {
54917 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "GridBagSizer_CheckForIntersection" "', expected argument " "3"" of type '" "wxGBSizerItem *""'");
54919 arg3
= reinterpret_cast< wxGBSizerItem
* >(argp3
);
54922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54923 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
54924 wxPyEndAllowThreads(__tstate
);
54925 if (PyErr_Occurred()) SWIG_fail
;
54928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
54936 SWIGINTERN PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
54937 PyObject
*resultobj
= 0;
54938 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
54939 wxGBPosition
*arg2
= 0 ;
54940 wxGBSpan
*arg3
= 0 ;
54941 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
54945 wxGBPosition temp2
;
54949 PyObject
* obj0
= 0 ;
54950 PyObject
* obj1
= 0 ;
54951 PyObject
* obj2
= 0 ;
54952 PyObject
* obj3
= 0 ;
54953 char * kwnames
[] = {
54954 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
54957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
54958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
54959 if (!SWIG_IsOK(res1
)) {
54960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_CheckForIntersectionPos" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
54962 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
54965 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
54969 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
54972 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
54973 if (!SWIG_IsOK(res4
)) {
54974 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GridBagSizer_CheckForIntersectionPos" "', expected argument " "4"" of type '" "wxGBSizerItem *""'");
54976 arg4
= reinterpret_cast< wxGBSizerItem
* >(argp4
);
54979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54980 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
54981 wxPyEndAllowThreads(__tstate
);
54982 if (PyErr_Occurred()) SWIG_fail
;
54985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
54993 SWIGINTERN PyObject
*GridBagSizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
54995 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
54996 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridBagSizer
, SWIG_NewClientData(obj
));
54997 return SWIG_Py_Void();
55000 SWIGINTERN PyObject
*GridBagSizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
55001 return SWIG_Python_InitShadowInstance(args
);
55004 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
55005 PyObject
*resultobj
= 0;
55006 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
55007 wxRelationship arg2
;
55008 wxWindow
*arg3
= (wxWindow
*) 0 ;
55010 int arg5
= (int) 0 ;
55011 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
55024 PyObject
* obj0
= 0 ;
55025 PyObject
* obj1
= 0 ;
55026 PyObject
* obj2
= 0 ;
55027 PyObject
* obj3
= 0 ;
55028 PyObject
* obj4
= 0 ;
55029 PyObject
* obj5
= 0 ;
55030 char * kwnames
[] = {
55031 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
55034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
55035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
55036 if (!SWIG_IsOK(res1
)) {
55037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_Set" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
55039 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
55040 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
55041 if (!SWIG_IsOK(ecode2
)) {
55042 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_Set" "', expected argument " "2"" of type '" "wxRelationship""'");
55044 arg2
= static_cast< wxRelationship
>(val2
);
55045 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
55046 if (!SWIG_IsOK(res3
)) {
55047 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "IndividualLayoutConstraint_Set" "', expected argument " "3"" of type '" "wxWindow *""'");
55049 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
55050 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
55051 if (!SWIG_IsOK(ecode4
)) {
55052 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "IndividualLayoutConstraint_Set" "', expected argument " "4"" of type '" "wxEdge""'");
55054 arg4
= static_cast< wxEdge
>(val4
);
55056 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
55057 if (!SWIG_IsOK(ecode5
)) {
55058 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "IndividualLayoutConstraint_Set" "', expected argument " "5"" of type '" "int""'");
55060 arg5
= static_cast< int >(val5
);
55063 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
55064 if (!SWIG_IsOK(ecode6
)) {
55065 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "IndividualLayoutConstraint_Set" "', expected argument " "6"" of type '" "int""'");
55067 arg6
= static_cast< int >(val6
);
55070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55071 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
);
55072 wxPyEndAllowThreads(__tstate
);
55073 if (PyErr_Occurred()) SWIG_fail
;
55075 resultobj
= SWIG_Py_Void();
55082 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
55083 PyObject
*resultobj
= 0;
55084 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
55085 wxWindow
*arg2
= (wxWindow
*) 0 ;
55086 int arg3
= (int) 0 ;
55093 PyObject
* obj0
= 0 ;
55094 PyObject
* obj1
= 0 ;
55095 PyObject
* obj2
= 0 ;
55096 char * kwnames
[] = {
55097 (char *) "self",(char *) "sibling",(char *) "marg", NULL
55100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
55101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
55102 if (!SWIG_IsOK(res1
)) {
55103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_LeftOf" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
55105 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
55106 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
55107 if (!SWIG_IsOK(res2
)) {
55108 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_LeftOf" "', expected argument " "2"" of type '" "wxWindow *""'");
55110 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
55112 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
55113 if (!SWIG_IsOK(ecode3
)) {
55114 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IndividualLayoutConstraint_LeftOf" "', expected argument " "3"" of type '" "int""'");
55116 arg3
= static_cast< int >(val3
);
55119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55120 (arg1
)->LeftOf(arg2
,arg3
);
55121 wxPyEndAllowThreads(__tstate
);
55122 if (PyErr_Occurred()) SWIG_fail
;
55124 resultobj
= SWIG_Py_Void();
55131 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
55132 PyObject
*resultobj
= 0;
55133 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
55134 wxWindow
*arg2
= (wxWindow
*) 0 ;
55135 int arg3
= (int) 0 ;
55142 PyObject
* obj0
= 0 ;
55143 PyObject
* obj1
= 0 ;
55144 PyObject
* obj2
= 0 ;
55145 char * kwnames
[] = {
55146 (char *) "self",(char *) "sibling",(char *) "marg", NULL
55149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
55150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
55151 if (!SWIG_IsOK(res1
)) {
55152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_RightOf" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
55154 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
55155 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
55156 if (!SWIG_IsOK(res2
)) {
55157 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_RightOf" "', expected argument " "2"" of type '" "wxWindow *""'");
55159 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
55161 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
55162 if (!SWIG_IsOK(ecode3
)) {
55163 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IndividualLayoutConstraint_RightOf" "', expected argument " "3"" of type '" "int""'");
55165 arg3
= static_cast< int >(val3
);
55168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55169 (arg1
)->RightOf(arg2
,arg3
);
55170 wxPyEndAllowThreads(__tstate
);
55171 if (PyErr_Occurred()) SWIG_fail
;
55173 resultobj
= SWIG_Py_Void();
55180 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
55181 PyObject
*resultobj
= 0;
55182 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
55183 wxWindow
*arg2
= (wxWindow
*) 0 ;
55184 int arg3
= (int) 0 ;
55191 PyObject
* obj0
= 0 ;
55192 PyObject
* obj1
= 0 ;
55193 PyObject
* obj2
= 0 ;
55194 char * kwnames
[] = {
55195 (char *) "self",(char *) "sibling",(char *) "marg", NULL
55198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
55199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
55200 if (!SWIG_IsOK(res1
)) {
55201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_Above" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
55203 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
55204 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
55205 if (!SWIG_IsOK(res2
)) {
55206 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_Above" "', expected argument " "2"" of type '" "wxWindow *""'");
55208 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
55210 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
55211 if (!SWIG_IsOK(ecode3
)) {
55212 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IndividualLayoutConstraint_Above" "', expected argument " "3"" of type '" "int""'");
55214 arg3
= static_cast< int >(val3
);
55217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55218 (arg1
)->Above(arg2
,arg3
);
55219 wxPyEndAllowThreads(__tstate
);
55220 if (PyErr_Occurred()) SWIG_fail
;
55222 resultobj
= SWIG_Py_Void();
55229 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
55230 PyObject
*resultobj
= 0;
55231 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
55232 wxWindow
*arg2
= (wxWindow
*) 0 ;
55233 int arg3
= (int) 0 ;
55240 PyObject
* obj0
= 0 ;
55241 PyObject
* obj1
= 0 ;
55242 PyObject
* obj2
= 0 ;
55243 char * kwnames
[] = {
55244 (char *) "self",(char *) "sibling",(char *) "marg", NULL
55247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
55248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
55249 if (!SWIG_IsOK(res1
)) {
55250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_Below" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
55252 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
55253 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
55254 if (!SWIG_IsOK(res2
)) {
55255 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_Below" "', expected argument " "2"" of type '" "wxWindow *""'");
55257 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
55259 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
55260 if (!SWIG_IsOK(ecode3
)) {
55261 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IndividualLayoutConstraint_Below" "', expected argument " "3"" of type '" "int""'");
55263 arg3
= static_cast< int >(val3
);
55266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55267 (arg1
)->Below(arg2
,arg3
);
55268 wxPyEndAllowThreads(__tstate
);
55269 if (PyErr_Occurred()) SWIG_fail
;
55271 resultobj
= SWIG_Py_Void();
55278 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
55279 PyObject
*resultobj
= 0;
55280 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
55281 wxWindow
*arg2
= (wxWindow
*) 0 ;
55283 int arg4
= (int) 0 ;
55292 PyObject
* obj0
= 0 ;
55293 PyObject
* obj1
= 0 ;
55294 PyObject
* obj2
= 0 ;
55295 PyObject
* obj3
= 0 ;
55296 char * kwnames
[] = {
55297 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
55300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
55301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
55302 if (!SWIG_IsOK(res1
)) {
55303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SameAs" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
55305 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
55306 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
55307 if (!SWIG_IsOK(res2
)) {
55308 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_SameAs" "', expected argument " "2"" of type '" "wxWindow *""'");
55310 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
55311 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
55312 if (!SWIG_IsOK(ecode3
)) {
55313 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IndividualLayoutConstraint_SameAs" "', expected argument " "3"" of type '" "wxEdge""'");
55315 arg3
= static_cast< wxEdge
>(val3
);
55317 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
55318 if (!SWIG_IsOK(ecode4
)) {
55319 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "IndividualLayoutConstraint_SameAs" "', expected argument " "4"" of type '" "int""'");
55321 arg4
= static_cast< int >(val4
);
55324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55325 (arg1
)->SameAs(arg2
,arg3
,arg4
);
55326 wxPyEndAllowThreads(__tstate
);
55327 if (PyErr_Occurred()) SWIG_fail
;
55329 resultobj
= SWIG_Py_Void();
55336 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
55337 PyObject
*resultobj
= 0;
55338 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
55339 wxWindow
*arg2
= (wxWindow
*) 0 ;
55350 PyObject
* obj0
= 0 ;
55351 PyObject
* obj1
= 0 ;
55352 PyObject
* obj2
= 0 ;
55353 PyObject
* obj3
= 0 ;
55354 char * kwnames
[] = {
55355 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
55358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
55359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
55360 if (!SWIG_IsOK(res1
)) {
55361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_PercentOf" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
55363 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
55364 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
55365 if (!SWIG_IsOK(res2
)) {
55366 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_PercentOf" "', expected argument " "2"" of type '" "wxWindow *""'");
55368 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
55369 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
55370 if (!SWIG_IsOK(ecode3
)) {
55371 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IndividualLayoutConstraint_PercentOf" "', expected argument " "3"" of type '" "wxEdge""'");
55373 arg3
= static_cast< wxEdge
>(val3
);
55374 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
55375 if (!SWIG_IsOK(ecode4
)) {
55376 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "IndividualLayoutConstraint_PercentOf" "', expected argument " "4"" of type '" "int""'");
55378 arg4
= static_cast< int >(val4
);
55380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55381 (arg1
)->PercentOf(arg2
,arg3
,arg4
);
55382 wxPyEndAllowThreads(__tstate
);
55383 if (PyErr_Occurred()) SWIG_fail
;
55385 resultobj
= SWIG_Py_Void();
55392 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
55393 PyObject
*resultobj
= 0;
55394 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
55400 PyObject
* obj0
= 0 ;
55401 PyObject
* obj1
= 0 ;
55402 char * kwnames
[] = {
55403 (char *) "self",(char *) "val", NULL
55406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
55407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
55408 if (!SWIG_IsOK(res1
)) {
55409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_Absolute" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
55411 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
55412 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
55413 if (!SWIG_IsOK(ecode2
)) {
55414 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_Absolute" "', expected argument " "2"" of type '" "int""'");
55416 arg2
= static_cast< int >(val2
);
55418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55419 (arg1
)->Absolute(arg2
);
55420 wxPyEndAllowThreads(__tstate
);
55421 if (PyErr_Occurred()) SWIG_fail
;
55423 resultobj
= SWIG_Py_Void();
55430 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
55431 PyObject
*resultobj
= 0;
55432 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
55435 PyObject
*swig_obj
[1] ;
55437 if (!args
) SWIG_fail
;
55438 swig_obj
[0] = args
;
55439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
55440 if (!SWIG_IsOK(res1
)) {
55441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_Unconstrained" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
55443 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
55445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55446 (arg1
)->Unconstrained();
55447 wxPyEndAllowThreads(__tstate
);
55448 if (PyErr_Occurred()) SWIG_fail
;
55450 resultobj
= SWIG_Py_Void();
55457 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
55458 PyObject
*resultobj
= 0;
55459 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
55462 PyObject
*swig_obj
[1] ;
55464 if (!args
) SWIG_fail
;
55465 swig_obj
[0] = args
;
55466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
55467 if (!SWIG_IsOK(res1
)) {
55468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_AsIs" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
55470 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
55472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55474 wxPyEndAllowThreads(__tstate
);
55475 if (PyErr_Occurred()) SWIG_fail
;
55477 resultobj
= SWIG_Py_Void();
55484 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
55485 PyObject
*resultobj
= 0;
55486 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
55487 wxWindow
*result
= 0 ;
55490 PyObject
*swig_obj
[1] ;
55492 if (!args
) SWIG_fail
;
55493 swig_obj
[0] = args
;
55494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
55495 if (!SWIG_IsOK(res1
)) {
55496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetOtherWindow" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
55498 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
55500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55501 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
55502 wxPyEndAllowThreads(__tstate
);
55503 if (PyErr_Occurred()) SWIG_fail
;
55506 resultobj
= wxPyMake_wxObject(result
, 0);
55514 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
55515 PyObject
*resultobj
= 0;
55516 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
55520 PyObject
*swig_obj
[1] ;
55522 if (!args
) SWIG_fail
;
55523 swig_obj
[0] = args
;
55524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
55525 if (!SWIG_IsOK(res1
)) {
55526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetMyEdge" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint const *""'");
55528 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
55530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55531 result
= (wxEdge
)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
55532 wxPyEndAllowThreads(__tstate
);
55533 if (PyErr_Occurred()) SWIG_fail
;
55535 resultobj
= SWIG_From_int(static_cast< int >(result
));
55542 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
55543 PyObject
*resultobj
= 0;
55544 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
55550 PyObject
* obj0
= 0 ;
55551 PyObject
* obj1
= 0 ;
55552 char * kwnames
[] = {
55553 (char *) "self",(char *) "which", NULL
55556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
55557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
55558 if (!SWIG_IsOK(res1
)) {
55559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SetEdge" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
55561 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
55562 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
55563 if (!SWIG_IsOK(ecode2
)) {
55564 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_SetEdge" "', expected argument " "2"" of type '" "wxEdge""'");
55566 arg2
= static_cast< wxEdge
>(val2
);
55568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55569 (arg1
)->SetEdge(arg2
);
55570 wxPyEndAllowThreads(__tstate
);
55571 if (PyErr_Occurred()) SWIG_fail
;
55573 resultobj
= SWIG_Py_Void();
55580 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
55581 PyObject
*resultobj
= 0;
55582 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
55588 PyObject
* obj0
= 0 ;
55589 PyObject
* obj1
= 0 ;
55590 char * kwnames
[] = {
55591 (char *) "self",(char *) "v", NULL
55594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
55595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
55596 if (!SWIG_IsOK(res1
)) {
55597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SetValue" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
55599 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
55600 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
55601 if (!SWIG_IsOK(ecode2
)) {
55602 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_SetValue" "', expected argument " "2"" of type '" "int""'");
55604 arg2
= static_cast< int >(val2
);
55606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55607 (arg1
)->SetValue(arg2
);
55608 wxPyEndAllowThreads(__tstate
);
55609 if (PyErr_Occurred()) SWIG_fail
;
55611 resultobj
= SWIG_Py_Void();
55618 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
55619 PyObject
*resultobj
= 0;
55620 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
55624 PyObject
*swig_obj
[1] ;
55626 if (!args
) SWIG_fail
;
55627 swig_obj
[0] = args
;
55628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
55629 if (!SWIG_IsOK(res1
)) {
55630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetMargin" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
55632 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
55634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55635 result
= (int)(arg1
)->GetMargin();
55636 wxPyEndAllowThreads(__tstate
);
55637 if (PyErr_Occurred()) SWIG_fail
;
55639 resultobj
= SWIG_From_int(static_cast< int >(result
));
55646 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
55647 PyObject
*resultobj
= 0;
55648 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
55654 PyObject
* obj0
= 0 ;
55655 PyObject
* obj1
= 0 ;
55656 char * kwnames
[] = {
55657 (char *) "self",(char *) "m", NULL
55660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
55661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
55662 if (!SWIG_IsOK(res1
)) {
55663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SetMargin" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
55665 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
55666 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
55667 if (!SWIG_IsOK(ecode2
)) {
55668 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_SetMargin" "', expected argument " "2"" of type '" "int""'");
55670 arg2
= static_cast< int >(val2
);
55672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55673 (arg1
)->SetMargin(arg2
);
55674 wxPyEndAllowThreads(__tstate
);
55675 if (PyErr_Occurred()) SWIG_fail
;
55677 resultobj
= SWIG_Py_Void();
55684 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
55685 PyObject
*resultobj
= 0;
55686 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
55690 PyObject
*swig_obj
[1] ;
55692 if (!args
) SWIG_fail
;
55693 swig_obj
[0] = args
;
55694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
55695 if (!SWIG_IsOK(res1
)) {
55696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetValue" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint const *""'");
55698 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
55700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55701 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
55702 wxPyEndAllowThreads(__tstate
);
55703 if (PyErr_Occurred()) SWIG_fail
;
55705 resultobj
= SWIG_From_int(static_cast< int >(result
));
55712 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
55713 PyObject
*resultobj
= 0;
55714 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
55718 PyObject
*swig_obj
[1] ;
55720 if (!args
) SWIG_fail
;
55721 swig_obj
[0] = args
;
55722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
55723 if (!SWIG_IsOK(res1
)) {
55724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetPercent" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint const *""'");
55726 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
55728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55729 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
55730 wxPyEndAllowThreads(__tstate
);
55731 if (PyErr_Occurred()) SWIG_fail
;
55733 resultobj
= SWIG_From_int(static_cast< int >(result
));
55740 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
55741 PyObject
*resultobj
= 0;
55742 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
55746 PyObject
*swig_obj
[1] ;
55748 if (!args
) SWIG_fail
;
55749 swig_obj
[0] = args
;
55750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
55751 if (!SWIG_IsOK(res1
)) {
55752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetOtherEdge" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint const *""'");
55754 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
55756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55757 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
55758 wxPyEndAllowThreads(__tstate
);
55759 if (PyErr_Occurred()) SWIG_fail
;
55761 resultobj
= SWIG_From_int(static_cast< int >(result
));
55768 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
55769 PyObject
*resultobj
= 0;
55770 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
55774 PyObject
*swig_obj
[1] ;
55776 if (!args
) SWIG_fail
;
55777 swig_obj
[0] = args
;
55778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
55779 if (!SWIG_IsOK(res1
)) {
55780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetDone" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint const *""'");
55782 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
55784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55785 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
55786 wxPyEndAllowThreads(__tstate
);
55787 if (PyErr_Occurred()) SWIG_fail
;
55790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
55798 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
55799 PyObject
*resultobj
= 0;
55800 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
55806 PyObject
* obj0
= 0 ;
55807 PyObject
* obj1
= 0 ;
55808 char * kwnames
[] = {
55809 (char *) "self",(char *) "d", NULL
55812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
55813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
55814 if (!SWIG_IsOK(res1
)) {
55815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SetDone" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
55817 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
55818 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
55819 if (!SWIG_IsOK(ecode2
)) {
55820 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_SetDone" "', expected argument " "2"" of type '" "bool""'");
55822 arg2
= static_cast< bool >(val2
);
55824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55825 (arg1
)->SetDone(arg2
);
55826 wxPyEndAllowThreads(__tstate
);
55827 if (PyErr_Occurred()) SWIG_fail
;
55829 resultobj
= SWIG_Py_Void();
55836 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
55837 PyObject
*resultobj
= 0;
55838 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
55839 wxRelationship result
;
55842 PyObject
*swig_obj
[1] ;
55844 if (!args
) SWIG_fail
;
55845 swig_obj
[0] = args
;
55846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
55847 if (!SWIG_IsOK(res1
)) {
55848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetRelationship" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
55850 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
55852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55853 result
= (wxRelationship
)(arg1
)->GetRelationship();
55854 wxPyEndAllowThreads(__tstate
);
55855 if (PyErr_Occurred()) SWIG_fail
;
55857 resultobj
= SWIG_From_int(static_cast< int >(result
));
55864 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
55865 PyObject
*resultobj
= 0;
55866 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
55867 wxRelationship arg2
;
55872 PyObject
* obj0
= 0 ;
55873 PyObject
* obj1
= 0 ;
55874 char * kwnames
[] = {
55875 (char *) "self",(char *) "r", NULL
55878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
55879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
55880 if (!SWIG_IsOK(res1
)) {
55881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SetRelationship" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
55883 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
55884 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
55885 if (!SWIG_IsOK(ecode2
)) {
55886 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_SetRelationship" "', expected argument " "2"" of type '" "wxRelationship""'");
55888 arg2
= static_cast< wxRelationship
>(val2
);
55890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55891 (arg1
)->SetRelationship(arg2
);
55892 wxPyEndAllowThreads(__tstate
);
55893 if (PyErr_Occurred()) SWIG_fail
;
55895 resultobj
= SWIG_Py_Void();
55902 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
55903 PyObject
*resultobj
= 0;
55904 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
55905 wxWindow
*arg2
= (wxWindow
*) 0 ;
55911 PyObject
* obj0
= 0 ;
55912 PyObject
* obj1
= 0 ;
55913 char * kwnames
[] = {
55914 (char *) "self",(char *) "otherW", NULL
55917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
55918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
55919 if (!SWIG_IsOK(res1
)) {
55920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_ResetIfWin" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
55922 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
55923 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
55924 if (!SWIG_IsOK(res2
)) {
55925 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_ResetIfWin" "', expected argument " "2"" of type '" "wxWindow *""'");
55927 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
55929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55930 result
= (bool)(arg1
)->ResetIfWin(arg2
);
55931 wxPyEndAllowThreads(__tstate
);
55932 if (PyErr_Occurred()) SWIG_fail
;
55935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
55943 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
55944 PyObject
*resultobj
= 0;
55945 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
55946 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
55947 wxWindow
*arg3
= (wxWindow
*) 0 ;
55955 PyObject
* obj0
= 0 ;
55956 PyObject
* obj1
= 0 ;
55957 PyObject
* obj2
= 0 ;
55958 char * kwnames
[] = {
55959 (char *) "self",(char *) "constraints",(char *) "win", NULL
55962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
55963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
55964 if (!SWIG_IsOK(res1
)) {
55965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SatisfyConstraint" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
55967 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
55968 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
55969 if (!SWIG_IsOK(res2
)) {
55970 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_SatisfyConstraint" "', expected argument " "2"" of type '" "wxLayoutConstraints *""'");
55972 arg2
= reinterpret_cast< wxLayoutConstraints
* >(argp2
);
55973 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
55974 if (!SWIG_IsOK(res3
)) {
55975 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "IndividualLayoutConstraint_SatisfyConstraint" "', expected argument " "3"" of type '" "wxWindow *""'");
55977 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
55979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55980 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
55981 wxPyEndAllowThreads(__tstate
);
55982 if (PyErr_Occurred()) SWIG_fail
;
55985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
55993 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
55994 PyObject
*resultobj
= 0;
55995 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
55997 wxWindow
*arg3
= (wxWindow
*) 0 ;
55998 wxWindow
*arg4
= (wxWindow
*) 0 ;
56008 PyObject
* obj0
= 0 ;
56009 PyObject
* obj1
= 0 ;
56010 PyObject
* obj2
= 0 ;
56011 PyObject
* obj3
= 0 ;
56012 char * kwnames
[] = {
56013 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
56016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
56017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
56018 if (!SWIG_IsOK(res1
)) {
56019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetEdge" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint const *""'");
56021 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
56022 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
56023 if (!SWIG_IsOK(ecode2
)) {
56024 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_GetEdge" "', expected argument " "2"" of type '" "wxEdge""'");
56026 arg2
= static_cast< wxEdge
>(val2
);
56027 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
56028 if (!SWIG_IsOK(res3
)) {
56029 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "IndividualLayoutConstraint_GetEdge" "', expected argument " "3"" of type '" "wxWindow *""'");
56031 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
56032 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
56033 if (!SWIG_IsOK(res4
)) {
56034 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "IndividualLayoutConstraint_GetEdge" "', expected argument " "4"" of type '" "wxWindow *""'");
56036 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
56038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
56039 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge(arg2
,arg3
,arg4
);
56040 wxPyEndAllowThreads(__tstate
);
56041 if (PyErr_Occurred()) SWIG_fail
;
56043 resultobj
= SWIG_From_int(static_cast< int >(result
));
56050 SWIGINTERN PyObject
*IndividualLayoutConstraint_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
56052 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
56053 SWIG_TypeNewClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_NewClientData(obj
));
56054 return SWIG_Py_Void();
56057 SWIGINTERN PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
56058 PyObject
*resultobj
= 0;
56059 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
56060 wxIndividualLayoutConstraint
*result
= 0 ;
56063 PyObject
*swig_obj
[1] ;
56065 if (!args
) SWIG_fail
;
56066 swig_obj
[0] = args
;
56067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
56068 if (!SWIG_IsOK(res1
)) {
56069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_left_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
56071 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
56072 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
56073 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
56080 SWIGINTERN PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
56081 PyObject
*resultobj
= 0;
56082 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
56083 wxIndividualLayoutConstraint
*result
= 0 ;
56086 PyObject
*swig_obj
[1] ;
56088 if (!args
) SWIG_fail
;
56089 swig_obj
[0] = args
;
56090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
56091 if (!SWIG_IsOK(res1
)) {
56092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_top_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
56094 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
56095 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
56096 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
56103 SWIGINTERN PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
56104 PyObject
*resultobj
= 0;
56105 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
56106 wxIndividualLayoutConstraint
*result
= 0 ;
56109 PyObject
*swig_obj
[1] ;
56111 if (!args
) SWIG_fail
;
56112 swig_obj
[0] = args
;
56113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
56114 if (!SWIG_IsOK(res1
)) {
56115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_right_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
56117 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
56118 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
56119 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
56126 SWIGINTERN PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
56127 PyObject
*resultobj
= 0;
56128 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
56129 wxIndividualLayoutConstraint
*result
= 0 ;
56132 PyObject
*swig_obj
[1] ;
56134 if (!args
) SWIG_fail
;
56135 swig_obj
[0] = args
;
56136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
56137 if (!SWIG_IsOK(res1
)) {
56138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_bottom_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
56140 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
56141 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
56142 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
56149 SWIGINTERN PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
56150 PyObject
*resultobj
= 0;
56151 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
56152 wxIndividualLayoutConstraint
*result
= 0 ;
56155 PyObject
*swig_obj
[1] ;
56157 if (!args
) SWIG_fail
;
56158 swig_obj
[0] = args
;
56159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
56160 if (!SWIG_IsOK(res1
)) {
56161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_width_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
56163 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
56164 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
56165 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
56172 SWIGINTERN PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
56173 PyObject
*resultobj
= 0;
56174 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
56175 wxIndividualLayoutConstraint
*result
= 0 ;
56178 PyObject
*swig_obj
[1] ;
56180 if (!args
) SWIG_fail
;
56181 swig_obj
[0] = args
;
56182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
56183 if (!SWIG_IsOK(res1
)) {
56184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_height_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
56186 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
56187 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
56188 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
56195 SWIGINTERN PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
56196 PyObject
*resultobj
= 0;
56197 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
56198 wxIndividualLayoutConstraint
*result
= 0 ;
56201 PyObject
*swig_obj
[1] ;
56203 if (!args
) SWIG_fail
;
56204 swig_obj
[0] = args
;
56205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
56206 if (!SWIG_IsOK(res1
)) {
56207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_centreX_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
56209 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
56210 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
56211 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
56218 SWIGINTERN PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
56219 PyObject
*resultobj
= 0;
56220 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
56221 wxIndividualLayoutConstraint
*result
= 0 ;
56224 PyObject
*swig_obj
[1] ;
56226 if (!args
) SWIG_fail
;
56227 swig_obj
[0] = args
;
56228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
56229 if (!SWIG_IsOK(res1
)) {
56230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_centreY_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
56232 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
56233 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
56234 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
56241 SWIGINTERN PyObject
*_wrap_new_LayoutConstraints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
56242 PyObject
*resultobj
= 0;
56243 wxLayoutConstraints
*result
= 0 ;
56245 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutConstraints",0,0,0)) SWIG_fail
;
56247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
56248 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
56249 wxPyEndAllowThreads(__tstate
);
56250 if (PyErr_Occurred()) SWIG_fail
;
56252 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_NEW
| 0 );
56259 SWIGINTERN PyObject
*_wrap_delete_LayoutConstraints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
56260 PyObject
*resultobj
= 0;
56261 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
56264 PyObject
*swig_obj
[1] ;
56266 if (!args
) SWIG_fail
;
56267 swig_obj
[0] = args
;
56268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_DISOWN
| 0 );
56269 if (!SWIG_IsOK(res1
)) {
56270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutConstraints" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
56272 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
56274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
56277 wxPyEndAllowThreads(__tstate
);
56278 if (PyErr_Occurred()) SWIG_fail
;
56280 resultobj
= SWIG_Py_Void();
56287 SWIGINTERN PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
56288 PyObject
*resultobj
= 0;
56289 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
56290 wxWindow
*arg2
= (wxWindow
*) 0 ;
56291 int *arg3
= (int *) 0 ;
56298 int res3
= SWIG_TMPOBJ
;
56299 PyObject
* obj0
= 0 ;
56300 PyObject
* obj1
= 0 ;
56301 char * kwnames
[] = {
56302 (char *) "self",(char *) "win", NULL
56306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
56307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
56308 if (!SWIG_IsOK(res1
)) {
56309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_SatisfyConstraints" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
56311 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
56312 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
56313 if (!SWIG_IsOK(res2
)) {
56314 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutConstraints_SatisfyConstraints" "', expected argument " "2"" of type '" "wxWindow *""'");
56316 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
56318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
56319 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
56320 wxPyEndAllowThreads(__tstate
);
56321 if (PyErr_Occurred()) SWIG_fail
;
56324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
56326 if (SWIG_IsTmpObj(res3
)) {
56327 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
56329 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
56330 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
56338 SWIGINTERN PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
56339 PyObject
*resultobj
= 0;
56340 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
56344 PyObject
*swig_obj
[1] ;
56346 if (!args
) SWIG_fail
;
56347 swig_obj
[0] = args
;
56348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
56349 if (!SWIG_IsOK(res1
)) {
56350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_AreSatisfied" "', expected argument " "1"" of type '" "wxLayoutConstraints const *""'");
56352 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
56354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
56355 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
56356 wxPyEndAllowThreads(__tstate
);
56357 if (PyErr_Occurred()) SWIG_fail
;
56360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
56368 SWIGINTERN PyObject
*LayoutConstraints_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
56370 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
56371 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutConstraints
, SWIG_NewClientData(obj
));
56372 return SWIG_Py_Void();
56375 SWIGINTERN PyObject
*LayoutConstraints_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
56376 return SWIG_Python_InitShadowInstance(args
);
56379 static PyMethodDef SwigMethods
[] = {
56380 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
56381 { (char *)"Object_GetClassName", (PyCFunction
)_wrap_Object_GetClassName
, METH_O
, NULL
},
56382 { (char *)"Object_Destroy", (PyCFunction
)_wrap_Object_Destroy
, METH_O
, NULL
},
56383 { (char *)"Object_IsSameAs", (PyCFunction
) _wrap_Object_IsSameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56384 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
56385 { (char *)"Size_width_set", _wrap_Size_width_set
, METH_VARARGS
, NULL
},
56386 { (char *)"Size_width_get", (PyCFunction
)_wrap_Size_width_get
, METH_O
, NULL
},
56387 { (char *)"Size_height_set", _wrap_Size_height_set
, METH_VARARGS
, NULL
},
56388 { (char *)"Size_height_get", (PyCFunction
)_wrap_Size_height_get
, METH_O
, NULL
},
56389 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56390 { (char *)"delete_Size", (PyCFunction
)_wrap_delete_Size
, METH_O
, NULL
},
56391 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56392 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56393 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56394 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56395 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56396 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56397 { (char *)"Size_IncBy", (PyCFunction
) _wrap_Size_IncBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56398 { (char *)"Size_DecBy", (PyCFunction
) _wrap_Size_DecBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56399 { (char *)"Size_Scale", (PyCFunction
) _wrap_Size_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56400 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56401 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56402 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56403 { (char *)"Size_GetWidth", (PyCFunction
)_wrap_Size_GetWidth
, METH_O
, NULL
},
56404 { (char *)"Size_GetHeight", (PyCFunction
)_wrap_Size_GetHeight
, METH_O
, NULL
},
56405 { (char *)"Size_IsFullySpecified", (PyCFunction
)_wrap_Size_IsFullySpecified
, METH_O
, NULL
},
56406 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56407 { (char *)"Size_Get", (PyCFunction
)_wrap_Size_Get
, METH_O
, NULL
},
56408 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
56409 { (char *)"Size_swiginit", Size_swiginit
, METH_VARARGS
, NULL
},
56410 { (char *)"RealPoint_x_set", _wrap_RealPoint_x_set
, METH_VARARGS
, NULL
},
56411 { (char *)"RealPoint_x_get", (PyCFunction
)_wrap_RealPoint_x_get
, METH_O
, NULL
},
56412 { (char *)"RealPoint_y_set", _wrap_RealPoint_y_set
, METH_VARARGS
, NULL
},
56413 { (char *)"RealPoint_y_get", (PyCFunction
)_wrap_RealPoint_y_get
, METH_O
, NULL
},
56414 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56415 { (char *)"delete_RealPoint", (PyCFunction
)_wrap_delete_RealPoint
, METH_O
, NULL
},
56416 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56417 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56418 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56419 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56420 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56421 { (char *)"RealPoint_Get", (PyCFunction
)_wrap_RealPoint_Get
, METH_O
, NULL
},
56422 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
56423 { (char *)"RealPoint_swiginit", RealPoint_swiginit
, METH_VARARGS
, NULL
},
56424 { (char *)"Point_x_set", _wrap_Point_x_set
, METH_VARARGS
, NULL
},
56425 { (char *)"Point_x_get", (PyCFunction
)_wrap_Point_x_get
, METH_O
, NULL
},
56426 { (char *)"Point_y_set", _wrap_Point_y_set
, METH_VARARGS
, NULL
},
56427 { (char *)"Point_y_get", (PyCFunction
)_wrap_Point_y_get
, METH_O
, NULL
},
56428 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56429 { (char *)"delete_Point", (PyCFunction
)_wrap_delete_Point
, METH_O
, NULL
},
56430 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56431 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56432 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56433 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56434 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56435 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56436 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56437 { (char *)"Point_Get", (PyCFunction
)_wrap_Point_Get
, METH_O
, NULL
},
56438 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
56439 { (char *)"Point_swiginit", Point_swiginit
, METH_VARARGS
, NULL
},
56440 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56441 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56442 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56443 { (char *)"new_RectS", (PyCFunction
) _wrap_new_RectS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56444 { (char *)"delete_Rect", (PyCFunction
)_wrap_delete_Rect
, METH_O
, NULL
},
56445 { (char *)"Rect_GetX", (PyCFunction
)_wrap_Rect_GetX
, METH_O
, NULL
},
56446 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56447 { (char *)"Rect_GetY", (PyCFunction
)_wrap_Rect_GetY
, METH_O
, NULL
},
56448 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56449 { (char *)"Rect_GetWidth", (PyCFunction
)_wrap_Rect_GetWidth
, METH_O
, NULL
},
56450 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56451 { (char *)"Rect_GetHeight", (PyCFunction
)_wrap_Rect_GetHeight
, METH_O
, NULL
},
56452 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56453 { (char *)"Rect_GetPosition", (PyCFunction
)_wrap_Rect_GetPosition
, METH_O
, NULL
},
56454 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56455 { (char *)"Rect_GetSize", (PyCFunction
)_wrap_Rect_GetSize
, METH_O
, NULL
},
56456 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56457 { (char *)"Rect_IsEmpty", (PyCFunction
)_wrap_Rect_IsEmpty
, METH_O
, NULL
},
56458 { (char *)"Rect_GetTopLeft", (PyCFunction
)_wrap_Rect_GetTopLeft
, METH_O
, NULL
},
56459 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56460 { (char *)"Rect_GetBottomRight", (PyCFunction
)_wrap_Rect_GetBottomRight
, METH_O
, NULL
},
56461 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56462 { (char *)"Rect_GetTopRight", (PyCFunction
)_wrap_Rect_GetTopRight
, METH_O
, NULL
},
56463 { (char *)"Rect_SetTopRight", (PyCFunction
) _wrap_Rect_SetTopRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56464 { (char *)"Rect_GetBottomLeft", (PyCFunction
)_wrap_Rect_GetBottomLeft
, METH_O
, NULL
},
56465 { (char *)"Rect_SetBottomLeft", (PyCFunction
) _wrap_Rect_SetBottomLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56466 { (char *)"Rect_GetLeft", (PyCFunction
)_wrap_Rect_GetLeft
, METH_O
, NULL
},
56467 { (char *)"Rect_GetTop", (PyCFunction
)_wrap_Rect_GetTop
, METH_O
, NULL
},
56468 { (char *)"Rect_GetBottom", (PyCFunction
)_wrap_Rect_GetBottom
, METH_O
, NULL
},
56469 { (char *)"Rect_GetRight", (PyCFunction
)_wrap_Rect_GetRight
, METH_O
, NULL
},
56470 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56471 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56472 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56473 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56474 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56475 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56476 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56477 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56478 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56479 { (char *)"Rect_Union", (PyCFunction
) _wrap_Rect_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56480 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56481 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56482 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56483 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56484 { (char *)"Rect_ContainsXY", (PyCFunction
) _wrap_Rect_ContainsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56485 { (char *)"Rect_Contains", (PyCFunction
) _wrap_Rect_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56486 { (char *)"Rect_ContainsRect", (PyCFunction
) _wrap_Rect_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56487 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56488 { (char *)"Rect_CenterIn", (PyCFunction
) _wrap_Rect_CenterIn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56489 { (char *)"Rect_x_set", _wrap_Rect_x_set
, METH_VARARGS
, NULL
},
56490 { (char *)"Rect_x_get", (PyCFunction
)_wrap_Rect_x_get
, METH_O
, NULL
},
56491 { (char *)"Rect_y_set", _wrap_Rect_y_set
, METH_VARARGS
, NULL
},
56492 { (char *)"Rect_y_get", (PyCFunction
)_wrap_Rect_y_get
, METH_O
, NULL
},
56493 { (char *)"Rect_width_set", _wrap_Rect_width_set
, METH_VARARGS
, NULL
},
56494 { (char *)"Rect_width_get", (PyCFunction
)_wrap_Rect_width_get
, METH_O
, NULL
},
56495 { (char *)"Rect_height_set", _wrap_Rect_height_set
, METH_VARARGS
, NULL
},
56496 { (char *)"Rect_height_get", (PyCFunction
)_wrap_Rect_height_get
, METH_O
, NULL
},
56497 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56498 { (char *)"Rect_Get", (PyCFunction
)_wrap_Rect_Get
, METH_O
, NULL
},
56499 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
56500 { (char *)"Rect_swiginit", Rect_swiginit
, METH_VARARGS
, NULL
},
56501 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56502 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56503 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56504 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56505 { (char *)"delete_Point2D", (PyCFunction
)_wrap_delete_Point2D
, METH_O
, NULL
},
56506 { (char *)"Point2D_GetFloor", (PyCFunction
)_wrap_Point2D_GetFloor
, METH_O
, NULL
},
56507 { (char *)"Point2D_GetRounded", (PyCFunction
)_wrap_Point2D_GetRounded
, METH_O
, NULL
},
56508 { (char *)"Point2D_GetVectorLength", (PyCFunction
)_wrap_Point2D_GetVectorLength
, METH_O
, NULL
},
56509 { (char *)"Point2D_GetVectorAngle", (PyCFunction
)_wrap_Point2D_GetVectorAngle
, METH_O
, NULL
},
56510 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56511 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56512 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56513 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56514 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56515 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56516 { (char *)"Point2D___neg__", (PyCFunction
)_wrap_Point2D___neg__
, METH_O
, NULL
},
56517 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56518 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56519 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56520 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56521 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56522 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56523 { (char *)"Point2D_x_set", _wrap_Point2D_x_set
, METH_VARARGS
, NULL
},
56524 { (char *)"Point2D_x_get", (PyCFunction
)_wrap_Point2D_x_get
, METH_O
, NULL
},
56525 { (char *)"Point2D_y_set", _wrap_Point2D_y_set
, METH_VARARGS
, NULL
},
56526 { (char *)"Point2D_y_get", (PyCFunction
)_wrap_Point2D_y_get
, METH_O
, NULL
},
56527 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56528 { (char *)"Point2D_Get", (PyCFunction
)_wrap_Point2D_Get
, METH_O
, NULL
},
56529 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
56530 { (char *)"Point2D_swiginit", Point2D_swiginit
, METH_VARARGS
, NULL
},
56531 { (char *)"new_Rect2D", (PyCFunction
) _wrap_new_Rect2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56532 { (char *)"delete_Rect2D", (PyCFunction
)_wrap_delete_Rect2D
, METH_O
, NULL
},
56533 { (char *)"Rect2D_GetPosition", (PyCFunction
)_wrap_Rect2D_GetPosition
, METH_O
, NULL
},
56534 { (char *)"Rect2D_GetSize", (PyCFunction
)_wrap_Rect2D_GetSize
, METH_O
, NULL
},
56535 { (char *)"Rect2D_GetLeft", (PyCFunction
)_wrap_Rect2D_GetLeft
, METH_O
, NULL
},
56536 { (char *)"Rect2D_SetLeft", (PyCFunction
) _wrap_Rect2D_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56537 { (char *)"Rect2D_MoveLeftTo", (PyCFunction
) _wrap_Rect2D_MoveLeftTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56538 { (char *)"Rect2D_GetTop", (PyCFunction
)_wrap_Rect2D_GetTop
, METH_O
, NULL
},
56539 { (char *)"Rect2D_SetTop", (PyCFunction
) _wrap_Rect2D_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56540 { (char *)"Rect2D_MoveTopTo", (PyCFunction
) _wrap_Rect2D_MoveTopTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56541 { (char *)"Rect2D_GetBottom", (PyCFunction
)_wrap_Rect2D_GetBottom
, METH_O
, NULL
},
56542 { (char *)"Rect2D_SetBottom", (PyCFunction
) _wrap_Rect2D_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56543 { (char *)"Rect2D_MoveBottomTo", (PyCFunction
) _wrap_Rect2D_MoveBottomTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56544 { (char *)"Rect2D_GetRight", (PyCFunction
)_wrap_Rect2D_GetRight
, METH_O
, NULL
},
56545 { (char *)"Rect2D_SetRight", (PyCFunction
) _wrap_Rect2D_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56546 { (char *)"Rect2D_MoveRightTo", (PyCFunction
) _wrap_Rect2D_MoveRightTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56547 { (char *)"Rect2D_GetLeftTop", (PyCFunction
)_wrap_Rect2D_GetLeftTop
, METH_O
, NULL
},
56548 { (char *)"Rect2D_SetLeftTop", (PyCFunction
) _wrap_Rect2D_SetLeftTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56549 { (char *)"Rect2D_MoveLeftTopTo", (PyCFunction
) _wrap_Rect2D_MoveLeftTopTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56550 { (char *)"Rect2D_GetLeftBottom", (PyCFunction
)_wrap_Rect2D_GetLeftBottom
, METH_O
, NULL
},
56551 { (char *)"Rect2D_SetLeftBottom", (PyCFunction
) _wrap_Rect2D_SetLeftBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56552 { (char *)"Rect2D_MoveLeftBottomTo", (PyCFunction
) _wrap_Rect2D_MoveLeftBottomTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56553 { (char *)"Rect2D_GetRightTop", (PyCFunction
)_wrap_Rect2D_GetRightTop
, METH_O
, NULL
},
56554 { (char *)"Rect2D_SetRightTop", (PyCFunction
) _wrap_Rect2D_SetRightTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56555 { (char *)"Rect2D_MoveRightTopTo", (PyCFunction
) _wrap_Rect2D_MoveRightTopTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56556 { (char *)"Rect2D_GetRightBottom", (PyCFunction
)_wrap_Rect2D_GetRightBottom
, METH_O
, NULL
},
56557 { (char *)"Rect2D_SetRightBottom", (PyCFunction
) _wrap_Rect2D_SetRightBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56558 { (char *)"Rect2D_MoveRightBottomTo", (PyCFunction
) _wrap_Rect2D_MoveRightBottomTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56559 { (char *)"Rect2D_GetCentre", (PyCFunction
)_wrap_Rect2D_GetCentre
, METH_O
, NULL
},
56560 { (char *)"Rect2D_SetCentre", (PyCFunction
) _wrap_Rect2D_SetCentre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56561 { (char *)"Rect2D_MoveCentreTo", (PyCFunction
) _wrap_Rect2D_MoveCentreTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56562 { (char *)"Rect2D_GetOutcode", (PyCFunction
) _wrap_Rect2D_GetOutcode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56563 { (char *)"Rect2D_Contains", (PyCFunction
) _wrap_Rect2D_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56564 { (char *)"Rect2D_ContainsRect", (PyCFunction
) _wrap_Rect2D_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56565 { (char *)"Rect2D_IsEmpty", (PyCFunction
)_wrap_Rect2D_IsEmpty
, METH_O
, NULL
},
56566 { (char *)"Rect2D_HaveEqualSize", (PyCFunction
) _wrap_Rect2D_HaveEqualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56567 { (char *)"Rect2D_Inset", _wrap_Rect2D_Inset
, METH_VARARGS
, NULL
},
56568 { (char *)"Rect2D_Offset", (PyCFunction
) _wrap_Rect2D_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56569 { (char *)"Rect2D_ConstrainTo", (PyCFunction
) _wrap_Rect2D_ConstrainTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56570 { (char *)"Rect2D_Interpolate", (PyCFunction
) _wrap_Rect2D_Interpolate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56571 { (char *)"Rect2D_Intersect", (PyCFunction
) _wrap_Rect2D_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56572 { (char *)"Rect2D_CreateIntersection", (PyCFunction
) _wrap_Rect2D_CreateIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56573 { (char *)"Rect2D_Intersects", (PyCFunction
) _wrap_Rect2D_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56574 { (char *)"Rect2D_Union", (PyCFunction
) _wrap_Rect2D_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56575 { (char *)"Rect2D_CreateUnion", (PyCFunction
) _wrap_Rect2D_CreateUnion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56576 { (char *)"Rect2D_Scale", _wrap_Rect2D_Scale
, METH_VARARGS
, NULL
},
56577 { (char *)"Rect2D___eq__", (PyCFunction
) _wrap_Rect2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56578 { (char *)"Rect2D___ne__", (PyCFunction
) _wrap_Rect2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56579 { (char *)"Rect2D_x_set", _wrap_Rect2D_x_set
, METH_VARARGS
, NULL
},
56580 { (char *)"Rect2D_x_get", (PyCFunction
)_wrap_Rect2D_x_get
, METH_O
, NULL
},
56581 { (char *)"Rect2D_y_set", _wrap_Rect2D_y_set
, METH_VARARGS
, NULL
},
56582 { (char *)"Rect2D_y_get", (PyCFunction
)_wrap_Rect2D_y_get
, METH_O
, NULL
},
56583 { (char *)"Rect2D_width_set", _wrap_Rect2D_width_set
, METH_VARARGS
, NULL
},
56584 { (char *)"Rect2D_width_get", (PyCFunction
)_wrap_Rect2D_width_get
, METH_O
, NULL
},
56585 { (char *)"Rect2D_height_set", _wrap_Rect2D_height_set
, METH_VARARGS
, NULL
},
56586 { (char *)"Rect2D_height_get", (PyCFunction
)_wrap_Rect2D_height_get
, METH_O
, NULL
},
56587 { (char *)"Rect2D_Set", (PyCFunction
) _wrap_Rect2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56588 { (char *)"Rect2D_Get", (PyCFunction
)_wrap_Rect2D_Get
, METH_O
, NULL
},
56589 { (char *)"Rect2D_swigregister", Rect2D_swigregister
, METH_VARARGS
, NULL
},
56590 { (char *)"Rect2D_swiginit", Rect2D_swiginit
, METH_VARARGS
, NULL
},
56591 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56592 { (char *)"delete_InputStream", (PyCFunction
)_wrap_delete_InputStream
, METH_O
, NULL
},
56593 { (char *)"InputStream_close", (PyCFunction
)_wrap_InputStream_close
, METH_O
, NULL
},
56594 { (char *)"InputStream_flush", (PyCFunction
)_wrap_InputStream_flush
, METH_O
, NULL
},
56595 { (char *)"InputStream_eof", (PyCFunction
)_wrap_InputStream_eof
, METH_O
, NULL
},
56596 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56597 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56598 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56599 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56600 { (char *)"InputStream_tell", (PyCFunction
)_wrap_InputStream_tell
, METH_O
, NULL
},
56601 { (char *)"InputStream_Peek", (PyCFunction
)_wrap_InputStream_Peek
, METH_O
, NULL
},
56602 { (char *)"InputStream_GetC", (PyCFunction
)_wrap_InputStream_GetC
, METH_O
, NULL
},
56603 { (char *)"InputStream_LastRead", (PyCFunction
)_wrap_InputStream_LastRead
, METH_O
, NULL
},
56604 { (char *)"InputStream_CanRead", (PyCFunction
)_wrap_InputStream_CanRead
, METH_O
, NULL
},
56605 { (char *)"InputStream_Eof", (PyCFunction
)_wrap_InputStream_Eof
, METH_O
, NULL
},
56606 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56607 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56608 { (char *)"InputStream_TellI", (PyCFunction
)_wrap_InputStream_TellI
, METH_O
, NULL
},
56609 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
56610 { (char *)"InputStream_swiginit", InputStream_swiginit
, METH_VARARGS
, NULL
},
56611 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56612 { (char *)"OutputStream_LastWrite", (PyCFunction
)_wrap_OutputStream_LastWrite
, METH_O
, NULL
},
56613 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
56614 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56615 { (char *)"delete_FSFile", (PyCFunction
)_wrap_delete_FSFile
, METH_O
, NULL
},
56616 { (char *)"FSFile_GetStream", (PyCFunction
)_wrap_FSFile_GetStream
, METH_O
, NULL
},
56617 { (char *)"FSFile_DetachStream", (PyCFunction
)_wrap_FSFile_DetachStream
, METH_O
, NULL
},
56618 { (char *)"FSFile_GetMimeType", (PyCFunction
)_wrap_FSFile_GetMimeType
, METH_O
, NULL
},
56619 { (char *)"FSFile_GetLocation", (PyCFunction
)_wrap_FSFile_GetLocation
, METH_O
, NULL
},
56620 { (char *)"FSFile_GetAnchor", (PyCFunction
)_wrap_FSFile_GetAnchor
, METH_O
, NULL
},
56621 { (char *)"FSFile_GetModificationTime", (PyCFunction
)_wrap_FSFile_GetModificationTime
, METH_O
, NULL
},
56622 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
56623 { (char *)"FSFile_swiginit", FSFile_swiginit
, METH_VARARGS
, NULL
},
56624 { (char *)"delete_CPPFileSystemHandler", (PyCFunction
)_wrap_delete_CPPFileSystemHandler
, METH_O
, NULL
},
56625 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
56626 { (char *)"new_FileSystemHandler", (PyCFunction
)_wrap_new_FileSystemHandler
, METH_NOARGS
, NULL
},
56627 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56628 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56629 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56630 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56631 { (char *)"FileSystemHandler_FindNext", (PyCFunction
)_wrap_FileSystemHandler_FindNext
, METH_O
, NULL
},
56632 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56633 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56634 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56635 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56636 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56637 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
56638 { (char *)"FileSystemHandler_swiginit", FileSystemHandler_swiginit
, METH_VARARGS
, NULL
},
56639 { (char *)"new_FileSystem", (PyCFunction
)_wrap_new_FileSystem
, METH_NOARGS
, NULL
},
56640 { (char *)"delete_FileSystem", (PyCFunction
)_wrap_delete_FileSystem
, METH_O
, NULL
},
56641 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56642 { (char *)"FileSystem_GetPath", (PyCFunction
)_wrap_FileSystem_GetPath
, METH_O
, NULL
},
56643 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56644 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56645 { (char *)"FileSystem_FindNext", (PyCFunction
)_wrap_FileSystem_FindNext
, METH_O
, NULL
},
56646 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56647 { (char *)"FileSystem_RemoveHandler", (PyCFunction
) _wrap_FileSystem_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56648 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
)_wrap_FileSystem_CleanUpHandlers
, METH_NOARGS
, NULL
},
56649 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56650 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56651 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
56652 { (char *)"FileSystem_swiginit", FileSystem_swiginit
, METH_VARARGS
, NULL
},
56653 { (char *)"new_InternetFSHandler", (PyCFunction
)_wrap_new_InternetFSHandler
, METH_NOARGS
, NULL
},
56654 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56655 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56656 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
56657 { (char *)"InternetFSHandler_swiginit", InternetFSHandler_swiginit
, METH_VARARGS
, NULL
},
56658 { (char *)"new_ZipFSHandler", (PyCFunction
)_wrap_new_ZipFSHandler
, METH_NOARGS
, NULL
},
56659 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56660 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56661 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56662 { (char *)"ZipFSHandler_FindNext", (PyCFunction
)_wrap_ZipFSHandler_FindNext
, METH_O
, NULL
},
56663 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
56664 { (char *)"ZipFSHandler_swiginit", ZipFSHandler_swiginit
, METH_VARARGS
, NULL
},
56665 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56666 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56667 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56668 { (char *)"new_MemoryFSHandler", (PyCFunction
)_wrap_new_MemoryFSHandler
, METH_NOARGS
, NULL
},
56669 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56670 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56671 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56672 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56673 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
)_wrap_MemoryFSHandler_FindNext
, METH_O
, NULL
},
56674 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
56675 { (char *)"MemoryFSHandler_swiginit", MemoryFSHandler_swiginit
, METH_VARARGS
, NULL
},
56676 { (char *)"ImageHandler_GetName", (PyCFunction
)_wrap_ImageHandler_GetName
, METH_O
, NULL
},
56677 { (char *)"ImageHandler_GetExtension", (PyCFunction
)_wrap_ImageHandler_GetExtension
, METH_O
, NULL
},
56678 { (char *)"ImageHandler_GetType", (PyCFunction
)_wrap_ImageHandler_GetType
, METH_O
, NULL
},
56679 { (char *)"ImageHandler_GetMimeType", (PyCFunction
)_wrap_ImageHandler_GetMimeType
, METH_O
, NULL
},
56680 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56681 { (char *)"ImageHandler_CanReadStream", (PyCFunction
) _wrap_ImageHandler_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56682 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56683 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56684 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56685 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56686 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
56687 { (char *)"new_PyImageHandler", (PyCFunction
)_wrap_new_PyImageHandler
, METH_NOARGS
, NULL
},
56688 { (char *)"PyImageHandler__SetSelf", (PyCFunction
) _wrap_PyImageHandler__SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56689 { (char *)"PyImageHandler_swigregister", PyImageHandler_swigregister
, METH_VARARGS
, NULL
},
56690 { (char *)"PyImageHandler_swiginit", PyImageHandler_swiginit
, METH_VARARGS
, NULL
},
56691 { (char *)"new_ImageHistogram", (PyCFunction
)_wrap_new_ImageHistogram
, METH_NOARGS
, NULL
},
56692 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56693 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56694 { (char *)"ImageHistogram_GetCount", (PyCFunction
) _wrap_ImageHistogram_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56695 { (char *)"ImageHistogram_GetCountRGB", (PyCFunction
) _wrap_ImageHistogram_GetCountRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56696 { (char *)"ImageHistogram_GetCountColour", (PyCFunction
) _wrap_ImageHistogram_GetCountColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56697 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
56698 { (char *)"ImageHistogram_swiginit", ImageHistogram_swiginit
, METH_VARARGS
, NULL
},
56699 { (char *)"new_Image_RGBValue", (PyCFunction
) _wrap_new_Image_RGBValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56700 { (char *)"Image_RGBValue_red_set", _wrap_Image_RGBValue_red_set
, METH_VARARGS
, NULL
},
56701 { (char *)"Image_RGBValue_red_get", (PyCFunction
)_wrap_Image_RGBValue_red_get
, METH_O
, NULL
},
56702 { (char *)"Image_RGBValue_green_set", _wrap_Image_RGBValue_green_set
, METH_VARARGS
, NULL
},
56703 { (char *)"Image_RGBValue_green_get", (PyCFunction
)_wrap_Image_RGBValue_green_get
, METH_O
, NULL
},
56704 { (char *)"Image_RGBValue_blue_set", _wrap_Image_RGBValue_blue_set
, METH_VARARGS
, NULL
},
56705 { (char *)"Image_RGBValue_blue_get", (PyCFunction
)_wrap_Image_RGBValue_blue_get
, METH_O
, NULL
},
56706 { (char *)"Image_RGBValue_swigregister", Image_RGBValue_swigregister
, METH_VARARGS
, NULL
},
56707 { (char *)"Image_RGBValue_swiginit", Image_RGBValue_swiginit
, METH_VARARGS
, NULL
},
56708 { (char *)"new_Image_HSVValue", (PyCFunction
) _wrap_new_Image_HSVValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56709 { (char *)"Image_HSVValue_hue_set", _wrap_Image_HSVValue_hue_set
, METH_VARARGS
, NULL
},
56710 { (char *)"Image_HSVValue_hue_get", (PyCFunction
)_wrap_Image_HSVValue_hue_get
, METH_O
, NULL
},
56711 { (char *)"Image_HSVValue_saturation_set", _wrap_Image_HSVValue_saturation_set
, METH_VARARGS
, NULL
},
56712 { (char *)"Image_HSVValue_saturation_get", (PyCFunction
)_wrap_Image_HSVValue_saturation_get
, METH_O
, NULL
},
56713 { (char *)"Image_HSVValue_value_set", _wrap_Image_HSVValue_value_set
, METH_VARARGS
, NULL
},
56714 { (char *)"Image_HSVValue_value_get", (PyCFunction
)_wrap_Image_HSVValue_value_get
, METH_O
, NULL
},
56715 { (char *)"Image_HSVValue_swigregister", Image_HSVValue_swigregister
, METH_VARARGS
, NULL
},
56716 { (char *)"Image_HSVValue_swiginit", Image_HSVValue_swiginit
, METH_VARARGS
, NULL
},
56717 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56718 { (char *)"delete_Image", (PyCFunction
)_wrap_delete_Image
, METH_O
, NULL
},
56719 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56720 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56721 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56722 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56723 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56724 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56725 { (char *)"new_ImageFromDataWithAlpha", (PyCFunction
) _wrap_new_ImageFromDataWithAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56726 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56727 { (char *)"Image_Destroy", (PyCFunction
)_wrap_Image_Destroy
, METH_O
, NULL
},
56728 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56729 { (char *)"Image_ResampleBox", (PyCFunction
) _wrap_Image_ResampleBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56730 { (char *)"Image_ResampleBicubic", (PyCFunction
) _wrap_Image_ResampleBicubic
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56731 { (char *)"Image_Blur", (PyCFunction
) _wrap_Image_Blur
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56732 { (char *)"Image_BlurHorizontal", (PyCFunction
) _wrap_Image_BlurHorizontal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56733 { (char *)"Image_BlurVertical", (PyCFunction
) _wrap_Image_BlurVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56734 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56735 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56736 { (char *)"Image_Resize", (PyCFunction
) _wrap_Image_Resize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56737 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56738 { (char *)"Image_SetRGBRect", (PyCFunction
) _wrap_Image_SetRGBRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56739 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56740 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56741 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56742 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56743 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56744 { (char *)"Image_HasAlpha", (PyCFunction
)_wrap_Image_HasAlpha
, METH_O
, NULL
},
56745 { (char *)"Image_InitAlpha", (PyCFunction
)_wrap_Image_InitAlpha
, METH_O
, NULL
},
56746 { (char *)"Image_IsTransparent", (PyCFunction
) _wrap_Image_IsTransparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56747 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56748 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56749 { (char *)"Image_ConvertColourToAlpha", (PyCFunction
) _wrap_Image_ConvertColourToAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56750 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56751 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56752 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56753 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56754 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56755 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56756 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56757 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56758 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56759 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56760 { (char *)"Image_IsOk", (PyCFunction
)_wrap_Image_IsOk
, METH_O
, NULL
},
56761 { (char *)"Image_GetWidth", (PyCFunction
)_wrap_Image_GetWidth
, METH_O
, NULL
},
56762 { (char *)"Image_GetHeight", (PyCFunction
)_wrap_Image_GetHeight
, METH_O
, NULL
},
56763 { (char *)"Image_GetSize", (PyCFunction
)_wrap_Image_GetSize
, METH_O
, NULL
},
56764 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56765 { (char *)"Image_Size", (PyCFunction
) _wrap_Image_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56766 { (char *)"Image_Copy", (PyCFunction
)_wrap_Image_Copy
, METH_O
, NULL
},
56767 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56768 { (char *)"Image_GetData", (PyCFunction
)_wrap_Image_GetData
, METH_O
, NULL
},
56769 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56770 { (char *)"Image_GetDataBuffer", (PyCFunction
)_wrap_Image_GetDataBuffer
, METH_O
, NULL
},
56771 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56772 { (char *)"Image_GetAlphaData", (PyCFunction
)_wrap_Image_GetAlphaData
, METH_O
, NULL
},
56773 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56774 { (char *)"Image_GetAlphaBuffer", (PyCFunction
)_wrap_Image_GetAlphaBuffer
, METH_O
, NULL
},
56775 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56776 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56777 { (char *)"Image_GetOrFindMaskColour", (PyCFunction
)_wrap_Image_GetOrFindMaskColour
, METH_O
, NULL
},
56778 { (char *)"Image_GetMaskRed", (PyCFunction
)_wrap_Image_GetMaskRed
, METH_O
, NULL
},
56779 { (char *)"Image_GetMaskGreen", (PyCFunction
)_wrap_Image_GetMaskGreen
, METH_O
, NULL
},
56780 { (char *)"Image_GetMaskBlue", (PyCFunction
)_wrap_Image_GetMaskBlue
, METH_O
, NULL
},
56781 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56782 { (char *)"Image_HasMask", (PyCFunction
)_wrap_Image_HasMask
, METH_O
, NULL
},
56783 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56784 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56785 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56786 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56787 { (char *)"Image_ConvertToGreyscale", (PyCFunction
) _wrap_Image_ConvertToGreyscale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56788 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56789 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56790 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56791 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56792 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56793 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56794 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56795 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56796 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56797 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56798 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56799 { (char *)"Image_GetHandlers", (PyCFunction
)_wrap_Image_GetHandlers
, METH_NOARGS
, NULL
},
56800 { (char *)"Image_GetImageExtWildcard", (PyCFunction
)_wrap_Image_GetImageExtWildcard
, METH_NOARGS
, NULL
},
56801 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56802 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56803 { (char *)"Image_RotateHue", (PyCFunction
) _wrap_Image_RotateHue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56804 { (char *)"Image_RGBtoHSV", (PyCFunction
) _wrap_Image_RGBtoHSV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56805 { (char *)"Image_HSVtoRGB", (PyCFunction
) _wrap_Image_HSVtoRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56806 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
56807 { (char *)"Image_swiginit", Image_swiginit
, METH_VARARGS
, NULL
},
56808 { (char *)"_ImageFromBuffer", (PyCFunction
) _wrap__ImageFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56809 { (char *)"new_BMPHandler", (PyCFunction
)_wrap_new_BMPHandler
, METH_NOARGS
, NULL
},
56810 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
56811 { (char *)"BMPHandler_swiginit", BMPHandler_swiginit
, METH_VARARGS
, NULL
},
56812 { (char *)"new_ICOHandler", (PyCFunction
)_wrap_new_ICOHandler
, METH_NOARGS
, NULL
},
56813 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
56814 { (char *)"ICOHandler_swiginit", ICOHandler_swiginit
, METH_VARARGS
, NULL
},
56815 { (char *)"new_CURHandler", (PyCFunction
)_wrap_new_CURHandler
, METH_NOARGS
, NULL
},
56816 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
56817 { (char *)"CURHandler_swiginit", CURHandler_swiginit
, METH_VARARGS
, NULL
},
56818 { (char *)"new_ANIHandler", (PyCFunction
)_wrap_new_ANIHandler
, METH_NOARGS
, NULL
},
56819 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
56820 { (char *)"ANIHandler_swiginit", ANIHandler_swiginit
, METH_VARARGS
, NULL
},
56821 { (char *)"new_PNGHandler", (PyCFunction
)_wrap_new_PNGHandler
, METH_NOARGS
, NULL
},
56822 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
56823 { (char *)"PNGHandler_swiginit", PNGHandler_swiginit
, METH_VARARGS
, NULL
},
56824 { (char *)"new_GIFHandler", (PyCFunction
)_wrap_new_GIFHandler
, METH_NOARGS
, NULL
},
56825 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
56826 { (char *)"GIFHandler_swiginit", GIFHandler_swiginit
, METH_VARARGS
, NULL
},
56827 { (char *)"new_PCXHandler", (PyCFunction
)_wrap_new_PCXHandler
, METH_NOARGS
, NULL
},
56828 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
56829 { (char *)"PCXHandler_swiginit", PCXHandler_swiginit
, METH_VARARGS
, NULL
},
56830 { (char *)"new_JPEGHandler", (PyCFunction
)_wrap_new_JPEGHandler
, METH_NOARGS
, NULL
},
56831 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
56832 { (char *)"JPEGHandler_swiginit", JPEGHandler_swiginit
, METH_VARARGS
, NULL
},
56833 { (char *)"new_PNMHandler", (PyCFunction
)_wrap_new_PNMHandler
, METH_NOARGS
, NULL
},
56834 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
56835 { (char *)"PNMHandler_swiginit", PNMHandler_swiginit
, METH_VARARGS
, NULL
},
56836 { (char *)"new_XPMHandler", (PyCFunction
)_wrap_new_XPMHandler
, METH_NOARGS
, NULL
},
56837 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
56838 { (char *)"XPMHandler_swiginit", XPMHandler_swiginit
, METH_VARARGS
, NULL
},
56839 { (char *)"new_TIFFHandler", (PyCFunction
)_wrap_new_TIFFHandler
, METH_NOARGS
, NULL
},
56840 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
56841 { (char *)"TIFFHandler_swiginit", TIFFHandler_swiginit
, METH_VARARGS
, NULL
},
56842 { (char *)"new_TGAHandler", (PyCFunction
)_wrap_new_TGAHandler
, METH_NOARGS
, NULL
},
56843 { (char *)"TGAHandler_swigregister", TGAHandler_swigregister
, METH_VARARGS
, NULL
},
56844 { (char *)"TGAHandler_swiginit", TGAHandler_swiginit
, METH_VARARGS
, NULL
},
56845 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56846 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
56847 { (char *)"new_EvtHandler", (PyCFunction
)_wrap_new_EvtHandler
, METH_NOARGS
, NULL
},
56848 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
)_wrap_EvtHandler_GetNextHandler
, METH_O
, NULL
},
56849 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
)_wrap_EvtHandler_GetPreviousHandler
, METH_O
, NULL
},
56850 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56851 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56852 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
)_wrap_EvtHandler_GetEvtHandlerEnabled
, METH_O
, NULL
},
56853 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56854 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56855 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56856 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
)_wrap_EvtHandler_ProcessPendingEvents
, METH_O
, NULL
},
56857 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56858 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56859 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56860 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
56861 { (char *)"EvtHandler_swiginit", EvtHandler_swiginit
, METH_VARARGS
, NULL
},
56862 { (char *)"NewEventType", (PyCFunction
)_wrap_NewEventType
, METH_NOARGS
, NULL
},
56863 { (char *)"delete_Event", (PyCFunction
)_wrap_delete_Event
, METH_O
, NULL
},
56864 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56865 { (char *)"Event_GetEventType", (PyCFunction
)_wrap_Event_GetEventType
, METH_O
, NULL
},
56866 { (char *)"Event_GetEventObject", (PyCFunction
)_wrap_Event_GetEventObject
, METH_O
, NULL
},
56867 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56868 { (char *)"Event_GetTimestamp", (PyCFunction
)_wrap_Event_GetTimestamp
, METH_O
, NULL
},
56869 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56870 { (char *)"Event_GetId", (PyCFunction
)_wrap_Event_GetId
, METH_O
, NULL
},
56871 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56872 { (char *)"Event_IsCommandEvent", (PyCFunction
)_wrap_Event_IsCommandEvent
, METH_O
, NULL
},
56873 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56874 { (char *)"Event_GetSkipped", (PyCFunction
)_wrap_Event_GetSkipped
, METH_O
, NULL
},
56875 { (char *)"Event_ShouldPropagate", (PyCFunction
)_wrap_Event_ShouldPropagate
, METH_O
, NULL
},
56876 { (char *)"Event_StopPropagation", (PyCFunction
)_wrap_Event_StopPropagation
, METH_O
, NULL
},
56877 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56878 { (char *)"Event_Clone", (PyCFunction
)_wrap_Event_Clone
, METH_O
, NULL
},
56879 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
56880 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56881 { (char *)"delete_PropagationDisabler", (PyCFunction
)_wrap_delete_PropagationDisabler
, METH_O
, NULL
},
56882 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
56883 { (char *)"PropagationDisabler_swiginit", PropagationDisabler_swiginit
, METH_VARARGS
, NULL
},
56884 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56885 { (char *)"delete_PropagateOnce", (PyCFunction
)_wrap_delete_PropagateOnce
, METH_O
, NULL
},
56886 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
56887 { (char *)"PropagateOnce_swiginit", PropagateOnce_swiginit
, METH_VARARGS
, NULL
},
56888 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56889 { (char *)"CommandEvent_GetSelection", (PyCFunction
)_wrap_CommandEvent_GetSelection
, METH_O
, NULL
},
56890 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56891 { (char *)"CommandEvent_GetString", (PyCFunction
)_wrap_CommandEvent_GetString
, METH_O
, NULL
},
56892 { (char *)"CommandEvent_IsChecked", (PyCFunction
)_wrap_CommandEvent_IsChecked
, METH_O
, NULL
},
56893 { (char *)"CommandEvent_IsSelection", (PyCFunction
)_wrap_CommandEvent_IsSelection
, METH_O
, NULL
},
56894 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56895 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
)_wrap_CommandEvent_GetExtraLong
, METH_O
, NULL
},
56896 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56897 { (char *)"CommandEvent_GetInt", (PyCFunction
)_wrap_CommandEvent_GetInt
, METH_O
, NULL
},
56898 { (char *)"CommandEvent_GetClientData", (PyCFunction
)_wrap_CommandEvent_GetClientData
, METH_O
, NULL
},
56899 { (char *)"CommandEvent_SetClientData", (PyCFunction
) _wrap_CommandEvent_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56900 { (char *)"CommandEvent_Clone", (PyCFunction
)_wrap_CommandEvent_Clone
, METH_O
, NULL
},
56901 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
56902 { (char *)"CommandEvent_swiginit", CommandEvent_swiginit
, METH_VARARGS
, NULL
},
56903 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56904 { (char *)"NotifyEvent_Veto", (PyCFunction
)_wrap_NotifyEvent_Veto
, METH_O
, NULL
},
56905 { (char *)"NotifyEvent_Allow", (PyCFunction
)_wrap_NotifyEvent_Allow
, METH_O
, NULL
},
56906 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
)_wrap_NotifyEvent_IsAllowed
, METH_O
, NULL
},
56907 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
56908 { (char *)"NotifyEvent_swiginit", NotifyEvent_swiginit
, METH_VARARGS
, NULL
},
56909 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56910 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
)_wrap_ScrollEvent_GetOrientation
, METH_O
, NULL
},
56911 { (char *)"ScrollEvent_GetPosition", (PyCFunction
)_wrap_ScrollEvent_GetPosition
, METH_O
, NULL
},
56912 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56913 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56914 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
56915 { (char *)"ScrollEvent_swiginit", ScrollEvent_swiginit
, METH_VARARGS
, NULL
},
56916 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56917 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
)_wrap_ScrollWinEvent_GetOrientation
, METH_O
, NULL
},
56918 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
)_wrap_ScrollWinEvent_GetPosition
, METH_O
, NULL
},
56919 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56920 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56921 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
56922 { (char *)"ScrollWinEvent_swiginit", ScrollWinEvent_swiginit
, METH_VARARGS
, NULL
},
56923 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56924 { (char *)"MouseEvent_IsButton", (PyCFunction
)_wrap_MouseEvent_IsButton
, METH_O
, NULL
},
56925 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56926 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56927 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56928 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56929 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56930 { (char *)"MouseEvent_GetButton", (PyCFunction
)_wrap_MouseEvent_GetButton
, METH_O
, NULL
},
56931 { (char *)"MouseEvent_ControlDown", (PyCFunction
)_wrap_MouseEvent_ControlDown
, METH_O
, NULL
},
56932 { (char *)"MouseEvent_MetaDown", (PyCFunction
)_wrap_MouseEvent_MetaDown
, METH_O
, NULL
},
56933 { (char *)"MouseEvent_AltDown", (PyCFunction
)_wrap_MouseEvent_AltDown
, METH_O
, NULL
},
56934 { (char *)"MouseEvent_ShiftDown", (PyCFunction
)_wrap_MouseEvent_ShiftDown
, METH_O
, NULL
},
56935 { (char *)"MouseEvent_CmdDown", (PyCFunction
)_wrap_MouseEvent_CmdDown
, METH_O
, NULL
},
56936 { (char *)"MouseEvent_LeftDown", (PyCFunction
)_wrap_MouseEvent_LeftDown
, METH_O
, NULL
},
56937 { (char *)"MouseEvent_MiddleDown", (PyCFunction
)_wrap_MouseEvent_MiddleDown
, METH_O
, NULL
},
56938 { (char *)"MouseEvent_RightDown", (PyCFunction
)_wrap_MouseEvent_RightDown
, METH_O
, NULL
},
56939 { (char *)"MouseEvent_LeftUp", (PyCFunction
)_wrap_MouseEvent_LeftUp
, METH_O
, NULL
},
56940 { (char *)"MouseEvent_MiddleUp", (PyCFunction
)_wrap_MouseEvent_MiddleUp
, METH_O
, NULL
},
56941 { (char *)"MouseEvent_RightUp", (PyCFunction
)_wrap_MouseEvent_RightUp
, METH_O
, NULL
},
56942 { (char *)"MouseEvent_LeftDClick", (PyCFunction
)_wrap_MouseEvent_LeftDClick
, METH_O
, NULL
},
56943 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
)_wrap_MouseEvent_MiddleDClick
, METH_O
, NULL
},
56944 { (char *)"MouseEvent_RightDClick", (PyCFunction
)_wrap_MouseEvent_RightDClick
, METH_O
, NULL
},
56945 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
)_wrap_MouseEvent_LeftIsDown
, METH_O
, NULL
},
56946 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
)_wrap_MouseEvent_MiddleIsDown
, METH_O
, NULL
},
56947 { (char *)"MouseEvent_RightIsDown", (PyCFunction
)_wrap_MouseEvent_RightIsDown
, METH_O
, NULL
},
56948 { (char *)"MouseEvent_Dragging", (PyCFunction
)_wrap_MouseEvent_Dragging
, METH_O
, NULL
},
56949 { (char *)"MouseEvent_Moving", (PyCFunction
)_wrap_MouseEvent_Moving
, METH_O
, NULL
},
56950 { (char *)"MouseEvent_Entering", (PyCFunction
)_wrap_MouseEvent_Entering
, METH_O
, NULL
},
56951 { (char *)"MouseEvent_Leaving", (PyCFunction
)_wrap_MouseEvent_Leaving
, METH_O
, NULL
},
56952 { (char *)"MouseEvent_GetPosition", (PyCFunction
)_wrap_MouseEvent_GetPosition
, METH_O
, NULL
},
56953 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
)_wrap_MouseEvent_GetPositionTuple
, METH_O
, NULL
},
56954 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56955 { (char *)"MouseEvent_GetX", (PyCFunction
)_wrap_MouseEvent_GetX
, METH_O
, NULL
},
56956 { (char *)"MouseEvent_GetY", (PyCFunction
)_wrap_MouseEvent_GetY
, METH_O
, NULL
},
56957 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
)_wrap_MouseEvent_GetWheelRotation
, METH_O
, NULL
},
56958 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
)_wrap_MouseEvent_GetWheelDelta
, METH_O
, NULL
},
56959 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
)_wrap_MouseEvent_GetLinesPerAction
, METH_O
, NULL
},
56960 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
)_wrap_MouseEvent_IsPageScroll
, METH_O
, NULL
},
56961 { (char *)"MouseEvent_m_x_set", _wrap_MouseEvent_m_x_set
, METH_VARARGS
, NULL
},
56962 { (char *)"MouseEvent_m_x_get", (PyCFunction
)_wrap_MouseEvent_m_x_get
, METH_O
, NULL
},
56963 { (char *)"MouseEvent_m_y_set", _wrap_MouseEvent_m_y_set
, METH_VARARGS
, NULL
},
56964 { (char *)"MouseEvent_m_y_get", (PyCFunction
)_wrap_MouseEvent_m_y_get
, METH_O
, NULL
},
56965 { (char *)"MouseEvent_m_leftDown_set", _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
, NULL
},
56966 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
)_wrap_MouseEvent_m_leftDown_get
, METH_O
, NULL
},
56967 { (char *)"MouseEvent_m_middleDown_set", _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
, NULL
},
56968 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
)_wrap_MouseEvent_m_middleDown_get
, METH_O
, NULL
},
56969 { (char *)"MouseEvent_m_rightDown_set", _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
, NULL
},
56970 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
)_wrap_MouseEvent_m_rightDown_get
, METH_O
, NULL
},
56971 { (char *)"MouseEvent_m_controlDown_set", _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
, NULL
},
56972 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
)_wrap_MouseEvent_m_controlDown_get
, METH_O
, NULL
},
56973 { (char *)"MouseEvent_m_shiftDown_set", _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
, NULL
},
56974 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
)_wrap_MouseEvent_m_shiftDown_get
, METH_O
, NULL
},
56975 { (char *)"MouseEvent_m_altDown_set", _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
, NULL
},
56976 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
)_wrap_MouseEvent_m_altDown_get
, METH_O
, NULL
},
56977 { (char *)"MouseEvent_m_metaDown_set", _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
, NULL
},
56978 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
)_wrap_MouseEvent_m_metaDown_get
, METH_O
, NULL
},
56979 { (char *)"MouseEvent_m_wheelRotation_set", _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
, NULL
},
56980 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
)_wrap_MouseEvent_m_wheelRotation_get
, METH_O
, NULL
},
56981 { (char *)"MouseEvent_m_wheelDelta_set", _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
, NULL
},
56982 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
)_wrap_MouseEvent_m_wheelDelta_get
, METH_O
, NULL
},
56983 { (char *)"MouseEvent_m_linesPerAction_set", _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
, NULL
},
56984 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
)_wrap_MouseEvent_m_linesPerAction_get
, METH_O
, NULL
},
56985 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
56986 { (char *)"MouseEvent_swiginit", MouseEvent_swiginit
, METH_VARARGS
, NULL
},
56987 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56988 { (char *)"SetCursorEvent_GetX", (PyCFunction
)_wrap_SetCursorEvent_GetX
, METH_O
, NULL
},
56989 { (char *)"SetCursorEvent_GetY", (PyCFunction
)_wrap_SetCursorEvent_GetY
, METH_O
, NULL
},
56990 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56991 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
)_wrap_SetCursorEvent_GetCursor
, METH_O
, NULL
},
56992 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
)_wrap_SetCursorEvent_HasCursor
, METH_O
, NULL
},
56993 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
56994 { (char *)"SetCursorEvent_swiginit", SetCursorEvent_swiginit
, METH_VARARGS
, NULL
},
56995 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56996 { (char *)"KeyEvent_GetModifiers", (PyCFunction
)_wrap_KeyEvent_GetModifiers
, METH_O
, NULL
},
56997 { (char *)"KeyEvent_ControlDown", (PyCFunction
)_wrap_KeyEvent_ControlDown
, METH_O
, NULL
},
56998 { (char *)"KeyEvent_MetaDown", (PyCFunction
)_wrap_KeyEvent_MetaDown
, METH_O
, NULL
},
56999 { (char *)"KeyEvent_AltDown", (PyCFunction
)_wrap_KeyEvent_AltDown
, METH_O
, NULL
},
57000 { (char *)"KeyEvent_ShiftDown", (PyCFunction
)_wrap_KeyEvent_ShiftDown
, METH_O
, NULL
},
57001 { (char *)"KeyEvent_CmdDown", (PyCFunction
)_wrap_KeyEvent_CmdDown
, METH_O
, NULL
},
57002 { (char *)"KeyEvent_HasModifiers", (PyCFunction
)_wrap_KeyEvent_HasModifiers
, METH_O
, NULL
},
57003 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
)_wrap_KeyEvent_GetKeyCode
, METH_O
, NULL
},
57004 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
)_wrap_KeyEvent_GetUnicodeKey
, METH_O
, NULL
},
57005 { (char *)"KeyEvent_SetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_SetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57006 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
)_wrap_KeyEvent_GetRawKeyCode
, METH_O
, NULL
},
57007 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
)_wrap_KeyEvent_GetRawKeyFlags
, METH_O
, NULL
},
57008 { (char *)"KeyEvent_GetPosition", (PyCFunction
)_wrap_KeyEvent_GetPosition
, METH_O
, NULL
},
57009 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
)_wrap_KeyEvent_GetPositionTuple
, METH_O
, NULL
},
57010 { (char *)"KeyEvent_GetX", (PyCFunction
)_wrap_KeyEvent_GetX
, METH_O
, NULL
},
57011 { (char *)"KeyEvent_GetY", (PyCFunction
)_wrap_KeyEvent_GetY
, METH_O
, NULL
},
57012 { (char *)"KeyEvent_m_x_set", _wrap_KeyEvent_m_x_set
, METH_VARARGS
, NULL
},
57013 { (char *)"KeyEvent_m_x_get", (PyCFunction
)_wrap_KeyEvent_m_x_get
, METH_O
, NULL
},
57014 { (char *)"KeyEvent_m_y_set", _wrap_KeyEvent_m_y_set
, METH_VARARGS
, NULL
},
57015 { (char *)"KeyEvent_m_y_get", (PyCFunction
)_wrap_KeyEvent_m_y_get
, METH_O
, NULL
},
57016 { (char *)"KeyEvent_m_keyCode_set", _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
, NULL
},
57017 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
)_wrap_KeyEvent_m_keyCode_get
, METH_O
, NULL
},
57018 { (char *)"KeyEvent_m_controlDown_set", _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
, NULL
},
57019 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
)_wrap_KeyEvent_m_controlDown_get
, METH_O
, NULL
},
57020 { (char *)"KeyEvent_m_shiftDown_set", _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
, NULL
},
57021 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
)_wrap_KeyEvent_m_shiftDown_get
, METH_O
, NULL
},
57022 { (char *)"KeyEvent_m_altDown_set", _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
, NULL
},
57023 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
)_wrap_KeyEvent_m_altDown_get
, METH_O
, NULL
},
57024 { (char *)"KeyEvent_m_metaDown_set", _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
, NULL
},
57025 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
)_wrap_KeyEvent_m_metaDown_get
, METH_O
, NULL
},
57026 { (char *)"KeyEvent_m_scanCode_set", _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
, NULL
},
57027 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
)_wrap_KeyEvent_m_scanCode_get
, METH_O
, NULL
},
57028 { (char *)"KeyEvent_m_rawCode_set", _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
, NULL
},
57029 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
)_wrap_KeyEvent_m_rawCode_get
, METH_O
, NULL
},
57030 { (char *)"KeyEvent_m_rawFlags_set", _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
, NULL
},
57031 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
)_wrap_KeyEvent_m_rawFlags_get
, METH_O
, NULL
},
57032 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
57033 { (char *)"KeyEvent_swiginit", KeyEvent_swiginit
, METH_VARARGS
, NULL
},
57034 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57035 { (char *)"SizeEvent_GetSize", (PyCFunction
)_wrap_SizeEvent_GetSize
, METH_O
, NULL
},
57036 { (char *)"SizeEvent_GetRect", (PyCFunction
)_wrap_SizeEvent_GetRect
, METH_O
, NULL
},
57037 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57038 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57039 { (char *)"SizeEvent_m_size_set", _wrap_SizeEvent_m_size_set
, METH_VARARGS
, NULL
},
57040 { (char *)"SizeEvent_m_size_get", (PyCFunction
)_wrap_SizeEvent_m_size_get
, METH_O
, NULL
},
57041 { (char *)"SizeEvent_m_rect_set", _wrap_SizeEvent_m_rect_set
, METH_VARARGS
, NULL
},
57042 { (char *)"SizeEvent_m_rect_get", (PyCFunction
)_wrap_SizeEvent_m_rect_get
, METH_O
, NULL
},
57043 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
57044 { (char *)"SizeEvent_swiginit", SizeEvent_swiginit
, METH_VARARGS
, NULL
},
57045 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57046 { (char *)"MoveEvent_GetPosition", (PyCFunction
)_wrap_MoveEvent_GetPosition
, METH_O
, NULL
},
57047 { (char *)"MoveEvent_GetRect", (PyCFunction
)_wrap_MoveEvent_GetRect
, METH_O
, NULL
},
57048 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57049 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57050 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
57051 { (char *)"MoveEvent_swiginit", MoveEvent_swiginit
, METH_VARARGS
, NULL
},
57052 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57053 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
57054 { (char *)"PaintEvent_swiginit", PaintEvent_swiginit
, METH_VARARGS
, NULL
},
57055 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57056 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
57057 { (char *)"NcPaintEvent_swiginit", NcPaintEvent_swiginit
, METH_VARARGS
, NULL
},
57058 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57059 { (char *)"EraseEvent_GetDC", (PyCFunction
)_wrap_EraseEvent_GetDC
, METH_O
, NULL
},
57060 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
57061 { (char *)"EraseEvent_swiginit", EraseEvent_swiginit
, METH_VARARGS
, NULL
},
57062 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57063 { (char *)"FocusEvent_GetWindow", (PyCFunction
)_wrap_FocusEvent_GetWindow
, METH_O
, NULL
},
57064 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57065 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
57066 { (char *)"FocusEvent_swiginit", FocusEvent_swiginit
, METH_VARARGS
, NULL
},
57067 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57068 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
)_wrap_ChildFocusEvent_GetWindow
, METH_O
, NULL
},
57069 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
57070 { (char *)"ChildFocusEvent_swiginit", ChildFocusEvent_swiginit
, METH_VARARGS
, NULL
},
57071 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57072 { (char *)"ActivateEvent_GetActive", (PyCFunction
)_wrap_ActivateEvent_GetActive
, METH_O
, NULL
},
57073 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
57074 { (char *)"ActivateEvent_swiginit", ActivateEvent_swiginit
, METH_VARARGS
, NULL
},
57075 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57076 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
57077 { (char *)"InitDialogEvent_swiginit", InitDialogEvent_swiginit
, METH_VARARGS
, NULL
},
57078 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57079 { (char *)"MenuEvent_GetMenuId", (PyCFunction
)_wrap_MenuEvent_GetMenuId
, METH_O
, NULL
},
57080 { (char *)"MenuEvent_IsPopup", (PyCFunction
)_wrap_MenuEvent_IsPopup
, METH_O
, NULL
},
57081 { (char *)"MenuEvent_GetMenu", (PyCFunction
)_wrap_MenuEvent_GetMenu
, METH_O
, NULL
},
57082 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
57083 { (char *)"MenuEvent_swiginit", MenuEvent_swiginit
, METH_VARARGS
, NULL
},
57084 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57085 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57086 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
)_wrap_CloseEvent_GetLoggingOff
, METH_O
, NULL
},
57087 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57088 { (char *)"CloseEvent_GetVeto", (PyCFunction
)_wrap_CloseEvent_GetVeto
, METH_O
, NULL
},
57089 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57090 { (char *)"CloseEvent_CanVeto", (PyCFunction
)_wrap_CloseEvent_CanVeto
, METH_O
, NULL
},
57091 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
57092 { (char *)"CloseEvent_swiginit", CloseEvent_swiginit
, METH_VARARGS
, NULL
},
57093 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57094 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57095 { (char *)"ShowEvent_GetShow", (PyCFunction
)_wrap_ShowEvent_GetShow
, METH_O
, NULL
},
57096 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
57097 { (char *)"ShowEvent_swiginit", ShowEvent_swiginit
, METH_VARARGS
, NULL
},
57098 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57099 { (char *)"IconizeEvent_Iconized", (PyCFunction
)_wrap_IconizeEvent_Iconized
, METH_O
, NULL
},
57100 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
57101 { (char *)"IconizeEvent_swiginit", IconizeEvent_swiginit
, METH_VARARGS
, NULL
},
57102 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57103 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
57104 { (char *)"MaximizeEvent_swiginit", MaximizeEvent_swiginit
, METH_VARARGS
, NULL
},
57105 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
)_wrap_DropFilesEvent_GetPosition
, METH_O
, NULL
},
57106 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
)_wrap_DropFilesEvent_GetNumberOfFiles
, METH_O
, NULL
},
57107 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
)_wrap_DropFilesEvent_GetFiles
, METH_O
, NULL
},
57108 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
57109 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57110 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
)_wrap_UpdateUIEvent_GetChecked
, METH_O
, NULL
},
57111 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
)_wrap_UpdateUIEvent_GetEnabled
, METH_O
, NULL
},
57112 { (char *)"UpdateUIEvent_GetShown", (PyCFunction
)_wrap_UpdateUIEvent_GetShown
, METH_O
, NULL
},
57113 { (char *)"UpdateUIEvent_GetText", (PyCFunction
)_wrap_UpdateUIEvent_GetText
, METH_O
, NULL
},
57114 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
)_wrap_UpdateUIEvent_GetSetText
, METH_O
, NULL
},
57115 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
)_wrap_UpdateUIEvent_GetSetChecked
, METH_O
, NULL
},
57116 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
)_wrap_UpdateUIEvent_GetSetEnabled
, METH_O
, NULL
},
57117 { (char *)"UpdateUIEvent_GetSetShown", (PyCFunction
)_wrap_UpdateUIEvent_GetSetShown
, METH_O
, NULL
},
57118 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57119 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57120 { (char *)"UpdateUIEvent_Show", (PyCFunction
) _wrap_UpdateUIEvent_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57121 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57122 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57123 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
)_wrap_UpdateUIEvent_GetUpdateInterval
, METH_NOARGS
, NULL
},
57124 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57125 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
)_wrap_UpdateUIEvent_ResetUpdateTime
, METH_NOARGS
, NULL
},
57126 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57127 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
)_wrap_UpdateUIEvent_GetMode
, METH_NOARGS
, NULL
},
57128 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
57129 { (char *)"UpdateUIEvent_swiginit", UpdateUIEvent_swiginit
, METH_VARARGS
, NULL
},
57130 { (char *)"new_SysColourChangedEvent", (PyCFunction
)_wrap_new_SysColourChangedEvent
, METH_NOARGS
, NULL
},
57131 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
57132 { (char *)"SysColourChangedEvent_swiginit", SysColourChangedEvent_swiginit
, METH_VARARGS
, NULL
},
57133 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57134 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
)_wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_O
, NULL
},
57135 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
57136 { (char *)"MouseCaptureChangedEvent_swiginit", MouseCaptureChangedEvent_swiginit
, METH_VARARGS
, NULL
},
57137 { (char *)"new_MouseCaptureLostEvent", (PyCFunction
) _wrap_new_MouseCaptureLostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57138 { (char *)"MouseCaptureLostEvent_swigregister", MouseCaptureLostEvent_swigregister
, METH_VARARGS
, NULL
},
57139 { (char *)"MouseCaptureLostEvent_swiginit", MouseCaptureLostEvent_swiginit
, METH_VARARGS
, NULL
},
57140 { (char *)"new_DisplayChangedEvent", (PyCFunction
)_wrap_new_DisplayChangedEvent
, METH_NOARGS
, NULL
},
57141 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
57142 { (char *)"DisplayChangedEvent_swiginit", DisplayChangedEvent_swiginit
, METH_VARARGS
, NULL
},
57143 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57144 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57145 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
)_wrap_PaletteChangedEvent_GetChangedWindow
, METH_O
, NULL
},
57146 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
57147 { (char *)"PaletteChangedEvent_swiginit", PaletteChangedEvent_swiginit
, METH_VARARGS
, NULL
},
57148 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57149 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57150 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
)_wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_O
, NULL
},
57151 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
57152 { (char *)"QueryNewPaletteEvent_swiginit", QueryNewPaletteEvent_swiginit
, METH_VARARGS
, NULL
},
57153 { (char *)"new_NavigationKeyEvent", (PyCFunction
)_wrap_new_NavigationKeyEvent
, METH_NOARGS
, NULL
},
57154 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
)_wrap_NavigationKeyEvent_GetDirection
, METH_O
, NULL
},
57155 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57156 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
)_wrap_NavigationKeyEvent_IsWindowChange
, METH_O
, NULL
},
57157 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57158 { (char *)"NavigationKeyEvent_IsFromTab", (PyCFunction
)_wrap_NavigationKeyEvent_IsFromTab
, METH_O
, NULL
},
57159 { (char *)"NavigationKeyEvent_SetFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_SetFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57160 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57161 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
)_wrap_NavigationKeyEvent_GetCurrentFocus
, METH_O
, NULL
},
57162 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57163 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
57164 { (char *)"NavigationKeyEvent_swiginit", NavigationKeyEvent_swiginit
, METH_VARARGS
, NULL
},
57165 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57166 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
)_wrap_WindowCreateEvent_GetWindow
, METH_O
, NULL
},
57167 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
57168 { (char *)"WindowCreateEvent_swiginit", WindowCreateEvent_swiginit
, METH_VARARGS
, NULL
},
57169 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57170 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
)_wrap_WindowDestroyEvent_GetWindow
, METH_O
, NULL
},
57171 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
57172 { (char *)"WindowDestroyEvent_swiginit", WindowDestroyEvent_swiginit
, METH_VARARGS
, NULL
},
57173 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57174 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
)_wrap_ContextMenuEvent_GetPosition
, METH_O
, NULL
},
57175 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57176 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
57177 { (char *)"ContextMenuEvent_swiginit", ContextMenuEvent_swiginit
, METH_VARARGS
, NULL
},
57178 { (char *)"new_IdleEvent", (PyCFunction
)_wrap_new_IdleEvent
, METH_NOARGS
, NULL
},
57179 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57180 { (char *)"IdleEvent_MoreRequested", (PyCFunction
)_wrap_IdleEvent_MoreRequested
, METH_O
, NULL
},
57181 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57182 { (char *)"IdleEvent_GetMode", (PyCFunction
)_wrap_IdleEvent_GetMode
, METH_NOARGS
, NULL
},
57183 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57184 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
57185 { (char *)"IdleEvent_swiginit", IdleEvent_swiginit
, METH_VARARGS
, NULL
},
57186 { (char *)"new_ClipboardTextEvent", (PyCFunction
) _wrap_new_ClipboardTextEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57187 { (char *)"ClipboardTextEvent_swigregister", ClipboardTextEvent_swigregister
, METH_VARARGS
, NULL
},
57188 { (char *)"ClipboardTextEvent_swiginit", ClipboardTextEvent_swiginit
, METH_VARARGS
, NULL
},
57189 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57190 { (char *)"delete_PyEvent", (PyCFunction
)_wrap_delete_PyEvent
, METH_O
, NULL
},
57191 { (char *)"PyEvent__SetSelf", (PyCFunction
) _wrap_PyEvent__SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57192 { (char *)"PyEvent__GetSelf", (PyCFunction
)_wrap_PyEvent__GetSelf
, METH_O
, NULL
},
57193 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
57194 { (char *)"PyEvent_swiginit", PyEvent_swiginit
, METH_VARARGS
, NULL
},
57195 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57196 { (char *)"delete_PyCommandEvent", (PyCFunction
)_wrap_delete_PyCommandEvent
, METH_O
, NULL
},
57197 { (char *)"PyCommandEvent__SetSelf", (PyCFunction
) _wrap_PyCommandEvent__SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57198 { (char *)"PyCommandEvent__GetSelf", (PyCFunction
)_wrap_PyCommandEvent__GetSelf
, METH_O
, NULL
},
57199 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
57200 { (char *)"PyCommandEvent_swiginit", PyCommandEvent_swiginit
, METH_VARARGS
, NULL
},
57201 { (char *)"new_DateEvent", (PyCFunction
) _wrap_new_DateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57202 { (char *)"DateEvent_GetDate", (PyCFunction
)_wrap_DateEvent_GetDate
, METH_O
, NULL
},
57203 { (char *)"DateEvent_SetDate", (PyCFunction
) _wrap_DateEvent_SetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57204 { (char *)"DateEvent_swigregister", DateEvent_swigregister
, METH_VARARGS
, NULL
},
57205 { (char *)"DateEvent_swiginit", DateEvent_swiginit
, METH_VARARGS
, NULL
},
57206 { (char *)"new_PyApp", (PyCFunction
)_wrap_new_PyApp
, METH_NOARGS
, NULL
},
57207 { (char *)"delete_PyApp", (PyCFunction
)_wrap_delete_PyApp
, METH_O
, NULL
},
57208 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57209 { (char *)"PyApp_GetAppName", (PyCFunction
)_wrap_PyApp_GetAppName
, METH_O
, NULL
},
57210 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57211 { (char *)"PyApp_GetClassName", (PyCFunction
)_wrap_PyApp_GetClassName
, METH_O
, NULL
},
57212 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57213 { (char *)"PyApp_GetVendorName", (PyCFunction
)_wrap_PyApp_GetVendorName
, METH_O
, NULL
},
57214 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57215 { (char *)"PyApp_GetTraits", (PyCFunction
)_wrap_PyApp_GetTraits
, METH_O
, NULL
},
57216 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
)_wrap_PyApp_ProcessPendingEvents
, METH_O
, NULL
},
57217 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57218 { (char *)"PyApp_WakeUpIdle", (PyCFunction
)_wrap_PyApp_WakeUpIdle
, METH_O
, NULL
},
57219 { (char *)"PyApp_IsMainLoopRunning", (PyCFunction
)_wrap_PyApp_IsMainLoopRunning
, METH_NOARGS
, NULL
},
57220 { (char *)"PyApp_MainLoop", (PyCFunction
)_wrap_PyApp_MainLoop
, METH_O
, NULL
},
57221 { (char *)"PyApp_Exit", (PyCFunction
)_wrap_PyApp_Exit
, METH_O
, NULL
},
57222 { (char *)"PyApp_GetLayoutDirection", (PyCFunction
)_wrap_PyApp_GetLayoutDirection
, METH_O
, NULL
},
57223 { (char *)"PyApp_ExitMainLoop", (PyCFunction
)_wrap_PyApp_ExitMainLoop
, METH_O
, NULL
},
57224 { (char *)"PyApp_Pending", (PyCFunction
)_wrap_PyApp_Pending
, METH_O
, NULL
},
57225 { (char *)"PyApp_Dispatch", (PyCFunction
)_wrap_PyApp_Dispatch
, METH_O
, NULL
},
57226 { (char *)"PyApp_ProcessIdle", (PyCFunction
)_wrap_PyApp_ProcessIdle
, METH_O
, NULL
},
57227 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57228 { (char *)"PyApp_IsActive", (PyCFunction
)_wrap_PyApp_IsActive
, METH_O
, NULL
},
57229 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57230 { (char *)"PyApp_GetTopWindow", (PyCFunction
)_wrap_PyApp_GetTopWindow
, METH_O
, NULL
},
57231 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57232 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
)_wrap_PyApp_GetExitOnFrameDelete
, METH_O
, NULL
},
57233 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57234 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
)_wrap_PyApp_GetUseBestVisual
, METH_O
, NULL
},
57235 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57236 { (char *)"PyApp_GetPrintMode", (PyCFunction
)_wrap_PyApp_GetPrintMode
, METH_O
, NULL
},
57237 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57238 { (char *)"PyApp_GetAssertMode", (PyCFunction
)_wrap_PyApp_GetAssertMode
, METH_O
, NULL
},
57239 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
)_wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_NOARGS
, NULL
},
57240 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
)_wrap_PyApp_GetMacAboutMenuItemId
, METH_NOARGS
, NULL
},
57241 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
)_wrap_PyApp_GetMacPreferencesMenuItemId
, METH_NOARGS
, NULL
},
57242 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
)_wrap_PyApp_GetMacExitMenuItemId
, METH_NOARGS
, NULL
},
57243 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
)_wrap_PyApp_GetMacHelpMenuTitleName
, METH_NOARGS
, NULL
},
57244 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57245 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57246 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57247 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57248 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57249 { (char *)"PyApp__BootstrapApp", (PyCFunction
)_wrap_PyApp__BootstrapApp
, METH_O
, NULL
},
57250 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
)_wrap_PyApp_GetComCtl32Version
, METH_NOARGS
, NULL
},
57251 { (char *)"PyApp_IsDisplayAvailable", (PyCFunction
)_wrap_PyApp_IsDisplayAvailable
, METH_NOARGS
, NULL
},
57252 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
57253 { (char *)"PyApp_swiginit", PyApp_swiginit
, METH_VARARGS
, NULL
},
57254 { (char *)"Exit", (PyCFunction
)_wrap_Exit
, METH_NOARGS
, NULL
},
57255 { (char *)"Yield", (PyCFunction
)_wrap_Yield
, METH_NOARGS
, NULL
},
57256 { (char *)"YieldIfNeeded", (PyCFunction
)_wrap_YieldIfNeeded
, METH_NOARGS
, NULL
},
57257 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57258 { (char *)"WakeUpIdle", (PyCFunction
)_wrap_WakeUpIdle
, METH_NOARGS
, NULL
},
57259 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57260 { (char *)"App_CleanUp", (PyCFunction
)_wrap_App_CleanUp
, METH_NOARGS
, NULL
},
57261 { (char *)"GetApp", (PyCFunction
)_wrap_GetApp
, METH_NOARGS
, NULL
},
57262 { (char *)"SetDefaultPyEncoding", (PyCFunction
) _wrap_SetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57263 { (char *)"GetDefaultPyEncoding", (PyCFunction
)_wrap_GetDefaultPyEncoding
, METH_NOARGS
, NULL
},
57264 { (char *)"new_EventLoop", (PyCFunction
)_wrap_new_EventLoop
, METH_NOARGS
, NULL
},
57265 { (char *)"delete_EventLoop", (PyCFunction
)_wrap_delete_EventLoop
, METH_O
, NULL
},
57266 { (char *)"EventLoop_Run", (PyCFunction
)_wrap_EventLoop_Run
, METH_O
, NULL
},
57267 { (char *)"EventLoop_Exit", (PyCFunction
) _wrap_EventLoop_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57268 { (char *)"EventLoop_Pending", (PyCFunction
)_wrap_EventLoop_Pending
, METH_O
, NULL
},
57269 { (char *)"EventLoop_Dispatch", (PyCFunction
)_wrap_EventLoop_Dispatch
, METH_O
, NULL
},
57270 { (char *)"EventLoop_IsRunning", (PyCFunction
)_wrap_EventLoop_IsRunning
, METH_O
, NULL
},
57271 { (char *)"EventLoop_GetActive", (PyCFunction
)_wrap_EventLoop_GetActive
, METH_NOARGS
, NULL
},
57272 { (char *)"EventLoop_SetActive", (PyCFunction
) _wrap_EventLoop_SetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57273 { (char *)"EventLoop_swigregister", EventLoop_swigregister
, METH_VARARGS
, NULL
},
57274 { (char *)"EventLoop_swiginit", EventLoop_swiginit
, METH_VARARGS
, NULL
},
57275 { (char *)"new_EventLoopActivator", (PyCFunction
) _wrap_new_EventLoopActivator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57276 { (char *)"delete_EventLoopActivator", (PyCFunction
)_wrap_delete_EventLoopActivator
, METH_O
, NULL
},
57277 { (char *)"EventLoopActivator_swigregister", EventLoopActivator_swigregister
, METH_VARARGS
, NULL
},
57278 { (char *)"EventLoopActivator_swiginit", EventLoopActivator_swiginit
, METH_VARARGS
, NULL
},
57279 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57280 { (char *)"delete_AcceleratorEntry", (PyCFunction
)_wrap_delete_AcceleratorEntry
, METH_O
, NULL
},
57281 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57282 { (char *)"AcceleratorEntry_Create", (PyCFunction
) _wrap_AcceleratorEntry_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57283 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
)_wrap_AcceleratorEntry_GetFlags
, METH_O
, NULL
},
57284 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
)_wrap_AcceleratorEntry_GetKeyCode
, METH_O
, NULL
},
57285 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
)_wrap_AcceleratorEntry_GetCommand
, METH_O
, NULL
},
57286 { (char *)"AcceleratorEntry_IsOk", (PyCFunction
)_wrap_AcceleratorEntry_IsOk
, METH_O
, NULL
},
57287 { (char *)"AcceleratorEntry_ToString", (PyCFunction
)_wrap_AcceleratorEntry_ToString
, METH_O
, NULL
},
57288 { (char *)"AcceleratorEntry_FromString", (PyCFunction
) _wrap_AcceleratorEntry_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57289 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
57290 { (char *)"AcceleratorEntry_swiginit", AcceleratorEntry_swiginit
, METH_VARARGS
, NULL
},
57291 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57292 { (char *)"delete_AcceleratorTable", (PyCFunction
)_wrap_delete_AcceleratorTable
, METH_O
, NULL
},
57293 { (char *)"AcceleratorTable_IsOk", (PyCFunction
)_wrap_AcceleratorTable_IsOk
, METH_O
, NULL
},
57294 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
57295 { (char *)"AcceleratorTable_swiginit", AcceleratorTable_swiginit
, METH_VARARGS
, NULL
},
57296 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57297 { (char *)"new_VisualAttributes", (PyCFunction
)_wrap_new_VisualAttributes
, METH_NOARGS
, NULL
},
57298 { (char *)"delete_VisualAttributes", (PyCFunction
)_wrap_delete_VisualAttributes
, METH_O
, NULL
},
57299 { (char *)"VisualAttributes_font_set", _wrap_VisualAttributes_font_set
, METH_VARARGS
, NULL
},
57300 { (char *)"VisualAttributes_font_get", (PyCFunction
)_wrap_VisualAttributes_font_get
, METH_O
, NULL
},
57301 { (char *)"VisualAttributes_colFg_set", _wrap_VisualAttributes_colFg_set
, METH_VARARGS
, NULL
},
57302 { (char *)"VisualAttributes_colFg_get", (PyCFunction
)_wrap_VisualAttributes_colFg_get
, METH_O
, NULL
},
57303 { (char *)"VisualAttributes_colBg_set", _wrap_VisualAttributes_colBg_set
, METH_VARARGS
, NULL
},
57304 { (char *)"VisualAttributes_colBg_get", (PyCFunction
)_wrap_VisualAttributes_colBg_get
, METH_O
, NULL
},
57305 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
57306 { (char *)"VisualAttributes_swiginit", VisualAttributes_swiginit
, METH_VARARGS
, NULL
},
57307 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57308 { (char *)"new_PreWindow", (PyCFunction
)_wrap_new_PreWindow
, METH_NOARGS
, NULL
},
57309 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57310 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57311 { (char *)"Window_Destroy", (PyCFunction
)_wrap_Window_Destroy
, METH_O
, NULL
},
57312 { (char *)"Window_DestroyChildren", (PyCFunction
)_wrap_Window_DestroyChildren
, METH_O
, NULL
},
57313 { (char *)"Window_IsBeingDeleted", (PyCFunction
)_wrap_Window_IsBeingDeleted
, METH_O
, NULL
},
57314 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57315 { (char *)"Window_GetLabel", (PyCFunction
)_wrap_Window_GetLabel
, METH_O
, NULL
},
57316 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57317 { (char *)"Window_GetName", (PyCFunction
)_wrap_Window_GetName
, METH_O
, NULL
},
57318 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57319 { (char *)"Window_GetWindowVariant", (PyCFunction
)_wrap_Window_GetWindowVariant
, METH_O
, NULL
},
57320 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57321 { (char *)"Window_GetId", (PyCFunction
)_wrap_Window_GetId
, METH_O
, NULL
},
57322 { (char *)"Window_NewControlId", (PyCFunction
)_wrap_Window_NewControlId
, METH_NOARGS
, NULL
},
57323 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57324 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57325 { (char *)"Window_GetLayoutDirection", (PyCFunction
)_wrap_Window_GetLayoutDirection
, METH_O
, NULL
},
57326 { (char *)"Window_SetLayoutDirection", (PyCFunction
) _wrap_Window_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57327 { (char *)"Window_AdjustForLayoutDirection", (PyCFunction
) _wrap_Window_AdjustForLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57328 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57329 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57330 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57331 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57332 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57333 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57334 { (char *)"Window_SetInitialSize", (PyCFunction
) _wrap_Window_SetInitialSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57335 { (char *)"Window_Raise", (PyCFunction
)_wrap_Window_Raise
, METH_O
, NULL
},
57336 { (char *)"Window_Lower", (PyCFunction
)_wrap_Window_Lower
, METH_O
, NULL
},
57337 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57338 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57339 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57340 { (char *)"Window_GetPosition", (PyCFunction
)_wrap_Window_GetPosition
, METH_O
, NULL
},
57341 { (char *)"Window_GetPositionTuple", (PyCFunction
)_wrap_Window_GetPositionTuple
, METH_O
, NULL
},
57342 { (char *)"Window_GetScreenPosition", (PyCFunction
)_wrap_Window_GetScreenPosition
, METH_O
, NULL
},
57343 { (char *)"Window_GetScreenPositionTuple", (PyCFunction
)_wrap_Window_GetScreenPositionTuple
, METH_O
, NULL
},
57344 { (char *)"Window_GetScreenRect", (PyCFunction
)_wrap_Window_GetScreenRect
, METH_O
, NULL
},
57345 { (char *)"Window_GetSize", (PyCFunction
)_wrap_Window_GetSize
, METH_O
, NULL
},
57346 { (char *)"Window_GetSizeTuple", (PyCFunction
)_wrap_Window_GetSizeTuple
, METH_O
, NULL
},
57347 { (char *)"Window_GetRect", (PyCFunction
)_wrap_Window_GetRect
, METH_O
, NULL
},
57348 { (char *)"Window_GetClientSize", (PyCFunction
)_wrap_Window_GetClientSize
, METH_O
, NULL
},
57349 { (char *)"Window_GetClientSizeTuple", (PyCFunction
)_wrap_Window_GetClientSizeTuple
, METH_O
, NULL
},
57350 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
)_wrap_Window_GetClientAreaOrigin
, METH_O
, NULL
},
57351 { (char *)"Window_GetClientRect", (PyCFunction
)_wrap_Window_GetClientRect
, METH_O
, NULL
},
57352 { (char *)"Window_GetBestSize", (PyCFunction
)_wrap_Window_GetBestSize
, METH_O
, NULL
},
57353 { (char *)"Window_GetBestSizeTuple", (PyCFunction
)_wrap_Window_GetBestSizeTuple
, METH_O
, NULL
},
57354 { (char *)"Window_InvalidateBestSize", (PyCFunction
)_wrap_Window_InvalidateBestSize
, METH_O
, NULL
},
57355 { (char *)"Window_CacheBestSize", (PyCFunction
) _wrap_Window_CacheBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57356 { (char *)"Window_GetEffectiveMinSize", (PyCFunction
)_wrap_Window_GetEffectiveMinSize
, METH_O
, NULL
},
57357 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57358 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57359 { (char *)"Window_Fit", (PyCFunction
)_wrap_Window_Fit
, METH_O
, NULL
},
57360 { (char *)"Window_FitInside", (PyCFunction
)_wrap_Window_FitInside
, METH_O
, NULL
},
57361 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57362 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57363 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57364 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57365 { (char *)"Window_GetMaxSize", (PyCFunction
)_wrap_Window_GetMaxSize
, METH_O
, NULL
},
57366 { (char *)"Window_GetMinSize", (PyCFunction
)_wrap_Window_GetMinSize
, METH_O
, NULL
},
57367 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57368 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57369 { (char *)"Window_GetMinWidth", (PyCFunction
)_wrap_Window_GetMinWidth
, METH_O
, NULL
},
57370 { (char *)"Window_GetMinHeight", (PyCFunction
)_wrap_Window_GetMinHeight
, METH_O
, NULL
},
57371 { (char *)"Window_GetMaxWidth", (PyCFunction
)_wrap_Window_GetMaxWidth
, METH_O
, NULL
},
57372 { (char *)"Window_GetMaxHeight", (PyCFunction
)_wrap_Window_GetMaxHeight
, METH_O
, NULL
},
57373 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57374 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57375 { (char *)"Window_GetVirtualSize", (PyCFunction
)_wrap_Window_GetVirtualSize
, METH_O
, NULL
},
57376 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
)_wrap_Window_GetVirtualSizeTuple
, METH_O
, NULL
},
57377 { (char *)"Window_GetBestVirtualSize", (PyCFunction
)_wrap_Window_GetBestVirtualSize
, METH_O
, NULL
},
57378 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57379 { (char *)"Window_Hide", (PyCFunction
)_wrap_Window_Hide
, METH_O
, NULL
},
57380 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57381 { (char *)"Window_Disable", (PyCFunction
)_wrap_Window_Disable
, METH_O
, NULL
},
57382 { (char *)"Window_IsShown", (PyCFunction
)_wrap_Window_IsShown
, METH_O
, NULL
},
57383 { (char *)"Window_IsEnabled", (PyCFunction
)_wrap_Window_IsEnabled
, METH_O
, NULL
},
57384 { (char *)"Window_IsShownOnScreen", (PyCFunction
)_wrap_Window_IsShownOnScreen
, METH_O
, NULL
},
57385 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57386 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
)_wrap_Window_GetWindowStyleFlag
, METH_O
, NULL
},
57387 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57388 { (char *)"Window_IsRetained", (PyCFunction
)_wrap_Window_IsRetained
, METH_O
, NULL
},
57389 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57390 { (char *)"Window_GetExtraStyle", (PyCFunction
)_wrap_Window_GetExtraStyle
, METH_O
, NULL
},
57391 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57392 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57393 { (char *)"Window_GetThemeEnabled", (PyCFunction
)_wrap_Window_GetThemeEnabled
, METH_O
, NULL
},
57394 { (char *)"Window_SetFocus", (PyCFunction
)_wrap_Window_SetFocus
, METH_O
, NULL
},
57395 { (char *)"Window_SetFocusFromKbd", (PyCFunction
)_wrap_Window_SetFocusFromKbd
, METH_O
, NULL
},
57396 { (char *)"Window_FindFocus", (PyCFunction
)_wrap_Window_FindFocus
, METH_NOARGS
, NULL
},
57397 { (char *)"Window_AcceptsFocus", (PyCFunction
)_wrap_Window_AcceptsFocus
, METH_O
, NULL
},
57398 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
)_wrap_Window_AcceptsFocusFromKeyboard
, METH_O
, NULL
},
57399 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57400 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57401 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57402 { (char *)"Window_GetChildren", (PyCFunction
)_wrap_Window_GetChildren
, METH_O
, NULL
},
57403 { (char *)"Window_GetParent", (PyCFunction
)_wrap_Window_GetParent
, METH_O
, NULL
},
57404 { (char *)"Window_GetGrandParent", (PyCFunction
)_wrap_Window_GetGrandParent
, METH_O
, NULL
},
57405 { (char *)"Window_IsTopLevel", (PyCFunction
)_wrap_Window_IsTopLevel
, METH_O
, NULL
},
57406 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57407 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57408 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57409 { (char *)"Window_SetDoubleBuffered", (PyCFunction
) _wrap_Window_SetDoubleBuffered
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57410 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57411 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57412 { (char *)"Window_GetEventHandler", (PyCFunction
)_wrap_Window_GetEventHandler
, METH_O
, NULL
},
57413 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57414 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57415 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57416 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57417 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57418 { (char *)"Window_GetValidator", (PyCFunction
)_wrap_Window_GetValidator
, METH_O
, NULL
},
57419 { (char *)"Window_Validate", (PyCFunction
)_wrap_Window_Validate
, METH_O
, NULL
},
57420 { (char *)"Window_TransferDataToWindow", (PyCFunction
)_wrap_Window_TransferDataToWindow
, METH_O
, NULL
},
57421 { (char *)"Window_TransferDataFromWindow", (PyCFunction
)_wrap_Window_TransferDataFromWindow
, METH_O
, NULL
},
57422 { (char *)"Window_InitDialog", (PyCFunction
)_wrap_Window_InitDialog
, METH_O
, NULL
},
57423 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57424 { (char *)"Window_GetAcceleratorTable", (PyCFunction
)_wrap_Window_GetAcceleratorTable
, METH_O
, NULL
},
57425 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57426 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57427 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57428 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57429 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57430 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57431 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57432 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57433 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57434 { (char *)"Window_CaptureMouse", (PyCFunction
)_wrap_Window_CaptureMouse
, METH_O
, NULL
},
57435 { (char *)"Window_ReleaseMouse", (PyCFunction
)_wrap_Window_ReleaseMouse
, METH_O
, NULL
},
57436 { (char *)"Window_GetCapture", (PyCFunction
)_wrap_Window_GetCapture
, METH_NOARGS
, NULL
},
57437 { (char *)"Window_HasCapture", (PyCFunction
)_wrap_Window_HasCapture
, METH_O
, NULL
},
57438 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57439 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57440 { (char *)"Window_Update", (PyCFunction
)_wrap_Window_Update
, METH_O
, NULL
},
57441 { (char *)"Window_ClearBackground", (PyCFunction
)_wrap_Window_ClearBackground
, METH_O
, NULL
},
57442 { (char *)"Window_Freeze", (PyCFunction
)_wrap_Window_Freeze
, METH_O
, NULL
},
57443 { (char *)"Window_IsFrozen", (PyCFunction
)_wrap_Window_IsFrozen
, METH_O
, NULL
},
57444 { (char *)"Window_Thaw", (PyCFunction
)_wrap_Window_Thaw
, METH_O
, NULL
},
57445 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57446 { (char *)"Window_IsDoubleBuffered", (PyCFunction
)_wrap_Window_IsDoubleBuffered
, METH_O
, NULL
},
57447 { (char *)"Window_GetUpdateRegion", (PyCFunction
)_wrap_Window_GetUpdateRegion
, METH_O
, NULL
},
57448 { (char *)"Window_GetUpdateClientRect", (PyCFunction
)_wrap_Window_GetUpdateClientRect
, METH_O
, NULL
},
57449 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57450 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57451 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57452 { (char *)"Window_GetDefaultAttributes", (PyCFunction
)_wrap_Window_GetDefaultAttributes
, METH_O
, NULL
},
57453 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57454 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57455 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57456 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57457 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57458 { (char *)"Window_GetBackgroundColour", (PyCFunction
)_wrap_Window_GetBackgroundColour
, METH_O
, NULL
},
57459 { (char *)"Window_GetForegroundColour", (PyCFunction
)_wrap_Window_GetForegroundColour
, METH_O
, NULL
},
57460 { (char *)"Window_InheritsBackgroundColour", (PyCFunction
)_wrap_Window_InheritsBackgroundColour
, METH_O
, NULL
},
57461 { (char *)"Window_UseBgCol", (PyCFunction
)_wrap_Window_UseBgCol
, METH_O
, NULL
},
57462 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57463 { (char *)"Window_GetBackgroundStyle", (PyCFunction
)_wrap_Window_GetBackgroundStyle
, METH_O
, NULL
},
57464 { (char *)"Window_HasTransparentBackground", (PyCFunction
)_wrap_Window_HasTransparentBackground
, METH_O
, NULL
},
57465 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57466 { (char *)"Window_GetCursor", (PyCFunction
)_wrap_Window_GetCursor
, METH_O
, NULL
},
57467 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57468 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57469 { (char *)"Window_GetFont", (PyCFunction
)_wrap_Window_GetFont
, METH_O
, NULL
},
57470 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57471 { (char *)"Window_GetCaret", (PyCFunction
)_wrap_Window_GetCaret
, METH_O
, NULL
},
57472 { (char *)"Window_GetCharHeight", (PyCFunction
)_wrap_Window_GetCharHeight
, METH_O
, NULL
},
57473 { (char *)"Window_GetCharWidth", (PyCFunction
)_wrap_Window_GetCharWidth
, METH_O
, NULL
},
57474 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57475 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57476 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57477 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57478 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57479 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57480 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57481 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57482 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
57483 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57484 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57485 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57486 { (char *)"Window_HasMultiplePages", (PyCFunction
)_wrap_Window_HasMultiplePages
, METH_O
, NULL
},
57487 { (char *)"Window_GetHandle", (PyCFunction
)_wrap_Window_GetHandle
, METH_O
, NULL
},
57488 { (char *)"Window_AssociateHandle", (PyCFunction
) _wrap_Window_AssociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57489 { (char *)"Window_DissociateHandle", (PyCFunction
)_wrap_Window_DissociateHandle
, METH_O
, NULL
},
57490 { (char *)"Window_OnPaint", (PyCFunction
) _wrap_Window_OnPaint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57491 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57492 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57493 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57494 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57495 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57496 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57497 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57498 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57499 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57500 { (char *)"Window_LineUp", (PyCFunction
)_wrap_Window_LineUp
, METH_O
, NULL
},
57501 { (char *)"Window_LineDown", (PyCFunction
)_wrap_Window_LineDown
, METH_O
, NULL
},
57502 { (char *)"Window_PageUp", (PyCFunction
)_wrap_Window_PageUp
, METH_O
, NULL
},
57503 { (char *)"Window_PageDown", (PyCFunction
)_wrap_Window_PageDown
, METH_O
, NULL
},
57504 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57505 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57506 { (char *)"Window_GetHelpTextAtPoint", (PyCFunction
) _wrap_Window_GetHelpTextAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57507 { (char *)"Window_GetHelpText", (PyCFunction
)_wrap_Window_GetHelpText
, METH_O
, NULL
},
57508 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57509 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57510 { (char *)"Window_GetToolTip", (PyCFunction
)_wrap_Window_GetToolTip
, METH_O
, NULL
},
57511 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57512 { (char *)"Window_GetDropTarget", (PyCFunction
)_wrap_Window_GetDropTarget
, METH_O
, NULL
},
57513 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57514 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57515 { (char *)"Window_GetConstraints", (PyCFunction
)_wrap_Window_GetConstraints
, METH_O
, NULL
},
57516 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57517 { (char *)"Window_GetAutoLayout", (PyCFunction
)_wrap_Window_GetAutoLayout
, METH_O
, NULL
},
57518 { (char *)"Window_Layout", (PyCFunction
)_wrap_Window_Layout
, METH_O
, NULL
},
57519 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57520 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57521 { (char *)"Window_GetSizer", (PyCFunction
)_wrap_Window_GetSizer
, METH_O
, NULL
},
57522 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57523 { (char *)"Window_GetContainingSizer", (PyCFunction
)_wrap_Window_GetContainingSizer
, METH_O
, NULL
},
57524 { (char *)"Window_InheritAttributes", (PyCFunction
)_wrap_Window_InheritAttributes
, METH_O
, NULL
},
57525 { (char *)"Window_ShouldInheritColours", (PyCFunction
)_wrap_Window_ShouldInheritColours
, METH_O
, NULL
},
57526 { (char *)"Window_CanSetTransparent", (PyCFunction
)_wrap_Window_CanSetTransparent
, METH_O
, NULL
},
57527 { (char *)"Window_SetTransparent", (PyCFunction
) _wrap_Window_SetTransparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57528 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
57529 { (char *)"Window_swiginit", Window_swiginit
, METH_VARARGS
, NULL
},
57530 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57531 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57532 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57533 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57534 { (char *)"GetTopLevelWindows", (PyCFunction
)_wrap_GetTopLevelWindows
, METH_NOARGS
, NULL
},
57535 { (char *)"new_Validator", (PyCFunction
)_wrap_new_Validator
, METH_NOARGS
, NULL
},
57536 { (char *)"Validator_Clone", (PyCFunction
)_wrap_Validator_Clone
, METH_O
, NULL
},
57537 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57538 { (char *)"Validator_TransferToWindow", (PyCFunction
)_wrap_Validator_TransferToWindow
, METH_O
, NULL
},
57539 { (char *)"Validator_TransferFromWindow", (PyCFunction
)_wrap_Validator_TransferFromWindow
, METH_O
, NULL
},
57540 { (char *)"Validator_GetWindow", (PyCFunction
)_wrap_Validator_GetWindow
, METH_O
, NULL
},
57541 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57542 { (char *)"Validator_IsSilent", (PyCFunction
)_wrap_Validator_IsSilent
, METH_NOARGS
, NULL
},
57543 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57544 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
57545 { (char *)"Validator_swiginit", Validator_swiginit
, METH_VARARGS
, NULL
},
57546 { (char *)"new_PyValidator", (PyCFunction
)_wrap_new_PyValidator
, METH_NOARGS
, NULL
},
57547 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57548 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
57549 { (char *)"PyValidator_swiginit", PyValidator_swiginit
, METH_VARARGS
, NULL
},
57550 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57551 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57552 { (char *)"Menu_AppendSeparator", (PyCFunction
)_wrap_Menu_AppendSeparator
, METH_O
, NULL
},
57553 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57554 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57555 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57556 { (char *)"Menu_AppendSubMenu", (PyCFunction
) _wrap_Menu_AppendSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57557 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57558 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57559 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57560 { (char *)"Menu_Break", (PyCFunction
)_wrap_Menu_Break
, METH_O
, NULL
},
57561 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57562 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57563 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57564 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57565 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57566 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57567 { (char *)"Menu_PrependSeparator", (PyCFunction
)_wrap_Menu_PrependSeparator
, METH_O
, NULL
},
57568 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57569 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57570 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57571 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57572 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57573 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57574 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57575 { (char *)"Menu_Destroy", (PyCFunction
)_wrap_Menu_Destroy
, METH_O
, NULL
},
57576 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57577 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57578 { (char *)"Menu_GetMenuItemCount", (PyCFunction
)_wrap_Menu_GetMenuItemCount
, METH_O
, NULL
},
57579 { (char *)"Menu_GetMenuItems", (PyCFunction
)_wrap_Menu_GetMenuItems
, METH_O
, NULL
},
57580 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57581 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57582 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57583 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57584 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57585 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57586 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57587 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57588 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57589 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57590 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57591 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57592 { (char *)"Menu_GetTitle", (PyCFunction
)_wrap_Menu_GetTitle
, METH_O
, NULL
},
57593 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57594 { (char *)"Menu_GetEventHandler", (PyCFunction
)_wrap_Menu_GetEventHandler
, METH_O
, NULL
},
57595 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57596 { (char *)"Menu_GetInvokingWindow", (PyCFunction
)_wrap_Menu_GetInvokingWindow
, METH_O
, NULL
},
57597 { (char *)"Menu_GetStyle", (PyCFunction
)_wrap_Menu_GetStyle
, METH_O
, NULL
},
57598 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57599 { (char *)"Menu_GetMenuBar", (PyCFunction
)_wrap_Menu_GetMenuBar
, METH_O
, NULL
},
57600 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57601 { (char *)"Menu_Detach", (PyCFunction
)_wrap_Menu_Detach
, METH_O
, NULL
},
57602 { (char *)"Menu_IsAttached", (PyCFunction
)_wrap_Menu_IsAttached
, METH_O
, NULL
},
57603 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57604 { (char *)"Menu_GetParent", (PyCFunction
)_wrap_Menu_GetParent
, METH_O
, NULL
},
57605 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
57606 { (char *)"Menu_swiginit", Menu_swiginit
, METH_VARARGS
, NULL
},
57607 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57608 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57609 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57610 { (char *)"MenuBar_GetMenuCount", (PyCFunction
)_wrap_MenuBar_GetMenuCount
, METH_O
, NULL
},
57611 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57612 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57613 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57614 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57615 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57616 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57617 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57618 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57619 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57620 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57621 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57622 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57623 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57624 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57625 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57626 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57627 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57628 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57629 { (char *)"MenuBar_GetFrame", (PyCFunction
)_wrap_MenuBar_GetFrame
, METH_O
, NULL
},
57630 { (char *)"MenuBar_IsAttached", (PyCFunction
)_wrap_MenuBar_IsAttached
, METH_O
, NULL
},
57631 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57632 { (char *)"MenuBar_Detach", (PyCFunction
)_wrap_MenuBar_Detach
, METH_O
, NULL
},
57633 { (char *)"MenuBar_UpdateMenus", (PyCFunction
)_wrap_MenuBar_UpdateMenus
, METH_O
, NULL
},
57634 { (char *)"MenuBar_SetAutoWindowMenu", (PyCFunction
) _wrap_MenuBar_SetAutoWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57635 { (char *)"MenuBar_GetAutoWindowMenu", (PyCFunction
)_wrap_MenuBar_GetAutoWindowMenu
, METH_NOARGS
, NULL
},
57636 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
57637 { (char *)"MenuBar_swiginit", MenuBar_swiginit
, METH_VARARGS
, NULL
},
57638 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57639 { (char *)"delete_MenuItem", (PyCFunction
)_wrap_delete_MenuItem
, METH_O
, NULL
},
57640 { (char *)"MenuItem_GetMenu", (PyCFunction
)_wrap_MenuItem_GetMenu
, METH_O
, NULL
},
57641 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57642 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57643 { (char *)"MenuItem_GetId", (PyCFunction
)_wrap_MenuItem_GetId
, METH_O
, NULL
},
57644 { (char *)"MenuItem_IsSeparator", (PyCFunction
)_wrap_MenuItem_IsSeparator
, METH_O
, NULL
},
57645 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57646 { (char *)"MenuItem_GetLabel", (PyCFunction
)_wrap_MenuItem_GetLabel
, METH_O
, NULL
},
57647 { (char *)"MenuItem_GetText", (PyCFunction
)_wrap_MenuItem_GetText
, METH_O
, NULL
},
57648 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57649 { (char *)"MenuItem_GetKind", (PyCFunction
)_wrap_MenuItem_GetKind
, METH_O
, NULL
},
57650 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57651 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57652 { (char *)"MenuItem_IsCheckable", (PyCFunction
)_wrap_MenuItem_IsCheckable
, METH_O
, NULL
},
57653 { (char *)"MenuItem_IsSubMenu", (PyCFunction
)_wrap_MenuItem_IsSubMenu
, METH_O
, NULL
},
57654 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57655 { (char *)"MenuItem_GetSubMenu", (PyCFunction
)_wrap_MenuItem_GetSubMenu
, METH_O
, NULL
},
57656 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57657 { (char *)"MenuItem_IsEnabled", (PyCFunction
)_wrap_MenuItem_IsEnabled
, METH_O
, NULL
},
57658 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57659 { (char *)"MenuItem_IsChecked", (PyCFunction
)_wrap_MenuItem_IsChecked
, METH_O
, NULL
},
57660 { (char *)"MenuItem_Toggle", (PyCFunction
)_wrap_MenuItem_Toggle
, METH_O
, NULL
},
57661 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57662 { (char *)"MenuItem_GetHelp", (PyCFunction
)_wrap_MenuItem_GetHelp
, METH_O
, NULL
},
57663 { (char *)"MenuItem_GetAccel", (PyCFunction
)_wrap_MenuItem_GetAccel
, METH_O
, NULL
},
57664 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57665 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57666 { (char *)"MenuItem_GetBitmap", (PyCFunction
)_wrap_MenuItem_GetBitmap
, METH_O
, NULL
},
57667 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57668 { (char *)"MenuItem_GetFont", (PyCFunction
)_wrap_MenuItem_GetFont
, METH_O
, NULL
},
57669 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57670 { (char *)"MenuItem_GetTextColour", (PyCFunction
)_wrap_MenuItem_GetTextColour
, METH_O
, NULL
},
57671 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57672 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
)_wrap_MenuItem_GetBackgroundColour
, METH_O
, NULL
},
57673 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57674 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57675 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
)_wrap_MenuItem_GetDisabledBitmap
, METH_O
, NULL
},
57676 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57677 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
)_wrap_MenuItem_GetMarginWidth
, METH_O
, NULL
},
57678 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
)_wrap_MenuItem_GetDefaultMarginWidth
, METH_NOARGS
, NULL
},
57679 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
)_wrap_MenuItem_IsOwnerDrawn
, METH_O
, NULL
},
57680 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57681 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
)_wrap_MenuItem_ResetOwnerDrawn
, METH_O
, NULL
},
57682 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
57683 { (char *)"MenuItem_swiginit", MenuItem_swiginit
, METH_VARARGS
, NULL
},
57684 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57685 { (char *)"new_PreControl", (PyCFunction
)_wrap_new_PreControl
, METH_NOARGS
, NULL
},
57686 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57687 { (char *)"Control_GetAlignment", (PyCFunction
)_wrap_Control_GetAlignment
, METH_O
, NULL
},
57688 { (char *)"Control_GetLabelText", (PyCFunction
)_wrap_Control_GetLabelText
, METH_O
, NULL
},
57689 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57690 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57691 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
57692 { (char *)"Control_swiginit", Control_swiginit
, METH_VARARGS
, NULL
},
57693 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57694 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57695 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57696 { (char *)"ItemContainer_Clear", (PyCFunction
)_wrap_ItemContainer_Clear
, METH_O
, NULL
},
57697 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57698 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57699 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57700 { (char *)"ItemContainer_GetCount", (PyCFunction
)_wrap_ItemContainer_GetCount
, METH_O
, NULL
},
57701 { (char *)"ItemContainer_IsEmpty", (PyCFunction
)_wrap_ItemContainer_IsEmpty
, METH_O
, NULL
},
57702 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57703 { (char *)"ItemContainer_GetStrings", (PyCFunction
)_wrap_ItemContainer_GetStrings
, METH_O
, NULL
},
57704 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57705 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57706 { (char *)"ItemContainer_SetSelection", (PyCFunction
) _wrap_ItemContainer_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57707 { (char *)"ItemContainer_GetSelection", (PyCFunction
)_wrap_ItemContainer_GetSelection
, METH_O
, NULL
},
57708 { (char *)"ItemContainer_SetStringSelection", (PyCFunction
) _wrap_ItemContainer_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57709 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
)_wrap_ItemContainer_GetStringSelection
, METH_O
, NULL
},
57710 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57711 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
57712 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
57713 { (char *)"new_SizerItem", (PyCFunction
)_wrap_new_SizerItem
, METH_NOARGS
, NULL
},
57714 { (char *)"delete_SizerItem", (PyCFunction
)_wrap_delete_SizerItem
, METH_O
, NULL
},
57715 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57716 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57717 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57718 { (char *)"SizerItem_DeleteWindows", (PyCFunction
)_wrap_SizerItem_DeleteWindows
, METH_O
, NULL
},
57719 { (char *)"SizerItem_DetachSizer", (PyCFunction
)_wrap_SizerItem_DetachSizer
, METH_O
, NULL
},
57720 { (char *)"SizerItem_GetSize", (PyCFunction
)_wrap_SizerItem_GetSize
, METH_O
, NULL
},
57721 { (char *)"SizerItem_CalcMin", (PyCFunction
)_wrap_SizerItem_CalcMin
, METH_O
, NULL
},
57722 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57723 { (char *)"SizerItem_GetMinSize", (PyCFunction
)_wrap_SizerItem_GetMinSize
, METH_O
, NULL
},
57724 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
)_wrap_SizerItem_GetMinSizeWithBorder
, METH_O
, NULL
},
57725 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57726 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57727 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57728 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57729 { (char *)"SizerItem_GetRatio", (PyCFunction
)_wrap_SizerItem_GetRatio
, METH_O
, NULL
},
57730 { (char *)"SizerItem_GetRect", (PyCFunction
)_wrap_SizerItem_GetRect
, METH_O
, NULL
},
57731 { (char *)"SizerItem_IsWindow", (PyCFunction
)_wrap_SizerItem_IsWindow
, METH_O
, NULL
},
57732 { (char *)"SizerItem_IsSizer", (PyCFunction
)_wrap_SizerItem_IsSizer
, METH_O
, NULL
},
57733 { (char *)"SizerItem_IsSpacer", (PyCFunction
)_wrap_SizerItem_IsSpacer
, METH_O
, NULL
},
57734 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57735 { (char *)"SizerItem_GetProportion", (PyCFunction
)_wrap_SizerItem_GetProportion
, METH_O
, NULL
},
57736 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57737 { (char *)"SizerItem_GetFlag", (PyCFunction
)_wrap_SizerItem_GetFlag
, METH_O
, NULL
},
57738 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57739 { (char *)"SizerItem_GetBorder", (PyCFunction
)_wrap_SizerItem_GetBorder
, METH_O
, NULL
},
57740 { (char *)"SizerItem_GetWindow", (PyCFunction
)_wrap_SizerItem_GetWindow
, METH_O
, NULL
},
57741 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57742 { (char *)"SizerItem_GetSizer", (PyCFunction
)_wrap_SizerItem_GetSizer
, METH_O
, NULL
},
57743 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57744 { (char *)"SizerItem_GetSpacer", (PyCFunction
)_wrap_SizerItem_GetSpacer
, METH_O
, NULL
},
57745 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57746 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57747 { (char *)"SizerItem_IsShown", (PyCFunction
)_wrap_SizerItem_IsShown
, METH_O
, NULL
},
57748 { (char *)"SizerItem_GetPosition", (PyCFunction
)_wrap_SizerItem_GetPosition
, METH_O
, NULL
},
57749 { (char *)"SizerItem_GetUserData", (PyCFunction
)_wrap_SizerItem_GetUserData
, METH_O
, NULL
},
57750 { (char *)"SizerItem_SetUserData", (PyCFunction
) _wrap_SizerItem_SetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57751 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
57752 { (char *)"SizerItem_swiginit", SizerItem_swiginit
, METH_VARARGS
, NULL
},
57753 { (char *)"delete_Sizer", (PyCFunction
)_wrap_delete_Sizer
, METH_O
, NULL
},
57754 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57755 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57756 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57757 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57758 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57759 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57760 { (char *)"Sizer_GetItem", (PyCFunction
) _wrap_Sizer_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57761 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57762 { (char *)"Sizer__ReplaceWin", (PyCFunction
) _wrap_Sizer__ReplaceWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57763 { (char *)"Sizer__ReplaceSizer", (PyCFunction
) _wrap_Sizer__ReplaceSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57764 { (char *)"Sizer__ReplaceItem", (PyCFunction
) _wrap_Sizer__ReplaceItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57765 { (char *)"Sizer_SetContainingWindow", (PyCFunction
) _wrap_Sizer_SetContainingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57766 { (char *)"Sizer_GetContainingWindow", (PyCFunction
)_wrap_Sizer_GetContainingWindow
, METH_O
, NULL
},
57767 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57768 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57769 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57770 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57771 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57772 { (char *)"Sizer_GetSize", (PyCFunction
)_wrap_Sizer_GetSize
, METH_O
, NULL
},
57773 { (char *)"Sizer_GetPosition", (PyCFunction
)_wrap_Sizer_GetPosition
, METH_O
, NULL
},
57774 { (char *)"Sizer_GetMinSize", (PyCFunction
)_wrap_Sizer_GetMinSize
, METH_O
, NULL
},
57775 { (char *)"Sizer_RecalcSizes", (PyCFunction
)_wrap_Sizer_RecalcSizes
, METH_O
, NULL
},
57776 { (char *)"Sizer_CalcMin", (PyCFunction
)_wrap_Sizer_CalcMin
, METH_O
, NULL
},
57777 { (char *)"Sizer_Layout", (PyCFunction
)_wrap_Sizer_Layout
, METH_O
, NULL
},
57778 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57779 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57780 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57781 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57782 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57783 { (char *)"Sizer_DeleteWindows", (PyCFunction
)_wrap_Sizer_DeleteWindows
, METH_O
, NULL
},
57784 { (char *)"Sizer_GetChildren", (PyCFunction
)_wrap_Sizer_GetChildren
, METH_O
, NULL
},
57785 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57786 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57787 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57788 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
57789 { (char *)"new_PySizer", (PyCFunction
)_wrap_new_PySizer
, METH_NOARGS
, NULL
},
57790 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57791 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
57792 { (char *)"PySizer_swiginit", PySizer_swiginit
, METH_VARARGS
, NULL
},
57793 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57794 { (char *)"BoxSizer_GetOrientation", (PyCFunction
)_wrap_BoxSizer_GetOrientation
, METH_O
, NULL
},
57795 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57796 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
57797 { (char *)"BoxSizer_swiginit", BoxSizer_swiginit
, METH_VARARGS
, NULL
},
57798 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57799 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
)_wrap_StaticBoxSizer_GetStaticBox
, METH_O
, NULL
},
57800 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
57801 { (char *)"StaticBoxSizer_swiginit", StaticBoxSizer_swiginit
, METH_VARARGS
, NULL
},
57802 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57803 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57804 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57805 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57806 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57807 { (char *)"GridSizer_GetCols", (PyCFunction
)_wrap_GridSizer_GetCols
, METH_O
, NULL
},
57808 { (char *)"GridSizer_GetRows", (PyCFunction
)_wrap_GridSizer_GetRows
, METH_O
, NULL
},
57809 { (char *)"GridSizer_GetVGap", (PyCFunction
)_wrap_GridSizer_GetVGap
, METH_O
, NULL
},
57810 { (char *)"GridSizer_GetHGap", (PyCFunction
)_wrap_GridSizer_GetHGap
, METH_O
, NULL
},
57811 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
57812 { (char *)"GridSizer_swiginit", GridSizer_swiginit
, METH_VARARGS
, NULL
},
57813 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57814 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57815 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57816 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57817 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57818 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57819 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
)_wrap_FlexGridSizer_GetFlexibleDirection
, METH_O
, NULL
},
57820 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57821 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
)_wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_O
, NULL
},
57822 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
)_wrap_FlexGridSizer_GetRowHeights
, METH_O
, NULL
},
57823 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
)_wrap_FlexGridSizer_GetColWidths
, METH_O
, NULL
},
57824 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
57825 { (char *)"FlexGridSizer_swiginit", FlexGridSizer_swiginit
, METH_VARARGS
, NULL
},
57826 { (char *)"new_StdDialogButtonSizer", (PyCFunction
)_wrap_new_StdDialogButtonSizer
, METH_NOARGS
, NULL
},
57827 { (char *)"StdDialogButtonSizer_AddButton", (PyCFunction
) _wrap_StdDialogButtonSizer_AddButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57828 { (char *)"StdDialogButtonSizer_Realize", (PyCFunction
)_wrap_StdDialogButtonSizer_Realize
, METH_O
, NULL
},
57829 { (char *)"StdDialogButtonSizer_SetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57830 { (char *)"StdDialogButtonSizer_SetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57831 { (char *)"StdDialogButtonSizer_SetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57832 { (char *)"StdDialogButtonSizer_GetAffirmativeButton", (PyCFunction
)_wrap_StdDialogButtonSizer_GetAffirmativeButton
, METH_O
, NULL
},
57833 { (char *)"StdDialogButtonSizer_GetApplyButton", (PyCFunction
)_wrap_StdDialogButtonSizer_GetApplyButton
, METH_O
, NULL
},
57834 { (char *)"StdDialogButtonSizer_GetNegativeButton", (PyCFunction
)_wrap_StdDialogButtonSizer_GetNegativeButton
, METH_O
, NULL
},
57835 { (char *)"StdDialogButtonSizer_GetCancelButton", (PyCFunction
)_wrap_StdDialogButtonSizer_GetCancelButton
, METH_O
, NULL
},
57836 { (char *)"StdDialogButtonSizer_GetHelpButton", (PyCFunction
)_wrap_StdDialogButtonSizer_GetHelpButton
, METH_O
, NULL
},
57837 { (char *)"StdDialogButtonSizer_swigregister", StdDialogButtonSizer_swigregister
, METH_VARARGS
, NULL
},
57838 { (char *)"StdDialogButtonSizer_swiginit", StdDialogButtonSizer_swiginit
, METH_VARARGS
, NULL
},
57839 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57840 { (char *)"delete_GBPosition", (PyCFunction
)_wrap_delete_GBPosition
, METH_O
, NULL
},
57841 { (char *)"GBPosition_GetRow", (PyCFunction
)_wrap_GBPosition_GetRow
, METH_O
, NULL
},
57842 { (char *)"GBPosition_GetCol", (PyCFunction
)_wrap_GBPosition_GetCol
, METH_O
, NULL
},
57843 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57844 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57845 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57846 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57847 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57848 { (char *)"GBPosition_Get", (PyCFunction
)_wrap_GBPosition_Get
, METH_O
, NULL
},
57849 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
57850 { (char *)"GBPosition_swiginit", GBPosition_swiginit
, METH_VARARGS
, NULL
},
57851 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57852 { (char *)"delete_GBSpan", (PyCFunction
)_wrap_delete_GBSpan
, METH_O
, NULL
},
57853 { (char *)"GBSpan_GetRowspan", (PyCFunction
)_wrap_GBSpan_GetRowspan
, METH_O
, NULL
},
57854 { (char *)"GBSpan_GetColspan", (PyCFunction
)_wrap_GBSpan_GetColspan
, METH_O
, NULL
},
57855 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57856 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57857 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57858 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57859 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57860 { (char *)"GBSpan_Get", (PyCFunction
)_wrap_GBSpan_Get
, METH_O
, NULL
},
57861 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
57862 { (char *)"GBSpan_swiginit", GBSpan_swiginit
, METH_VARARGS
, NULL
},
57863 { (char *)"new_GBSizerItem", (PyCFunction
)_wrap_new_GBSizerItem
, METH_NOARGS
, NULL
},
57864 { (char *)"delete_GBSizerItem", (PyCFunction
)_wrap_delete_GBSizerItem
, METH_O
, NULL
},
57865 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57866 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57867 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57868 { (char *)"GBSizerItem_GetPos", (PyCFunction
)_wrap_GBSizerItem_GetPos
, METH_O
, NULL
},
57869 { (char *)"GBSizerItem_GetSpan", (PyCFunction
)_wrap_GBSizerItem_GetSpan
, METH_O
, NULL
},
57870 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57871 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57872 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57873 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57874 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
)_wrap_GBSizerItem_GetEndPos
, METH_O
, NULL
},
57875 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
)_wrap_GBSizerItem_GetGBSizer
, METH_O
, NULL
},
57876 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57877 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
57878 { (char *)"GBSizerItem_swiginit", GBSizerItem_swiginit
, METH_VARARGS
, NULL
},
57879 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57880 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57881 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57882 { (char *)"GridBagSizer_GetCellSize", (PyCFunction
) _wrap_GridBagSizer_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57883 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
)_wrap_GridBagSizer_GetEmptyCellSize
, METH_O
, NULL
},
57884 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57885 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
57886 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
57887 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
57888 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
57889 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
57890 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57891 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57892 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57893 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57894 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
57895 { (char *)"GridBagSizer_swiginit", GridBagSizer_swiginit
, METH_VARARGS
, NULL
},
57896 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57897 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57898 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57899 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57900 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57901 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57902 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57903 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57904 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
)_wrap_IndividualLayoutConstraint_Unconstrained
, METH_O
, NULL
},
57905 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
)_wrap_IndividualLayoutConstraint_AsIs
, METH_O
, NULL
},
57906 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_O
, NULL
},
57907 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetMyEdge
, METH_O
, NULL
},
57908 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57909 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57910 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetMargin
, METH_O
, NULL
},
57911 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57912 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetValue
, METH_O
, NULL
},
57913 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetPercent
, METH_O
, NULL
},
57914 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_O
, NULL
},
57915 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetDone
, METH_O
, NULL
},
57916 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57917 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetRelationship
, METH_O
, NULL
},
57918 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57919 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57920 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57921 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57922 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
57923 { (char *)"LayoutConstraints_left_get", (PyCFunction
)_wrap_LayoutConstraints_left_get
, METH_O
, NULL
},
57924 { (char *)"LayoutConstraints_top_get", (PyCFunction
)_wrap_LayoutConstraints_top_get
, METH_O
, NULL
},
57925 { (char *)"LayoutConstraints_right_get", (PyCFunction
)_wrap_LayoutConstraints_right_get
, METH_O
, NULL
},
57926 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
)_wrap_LayoutConstraints_bottom_get
, METH_O
, NULL
},
57927 { (char *)"LayoutConstraints_width_get", (PyCFunction
)_wrap_LayoutConstraints_width_get
, METH_O
, NULL
},
57928 { (char *)"LayoutConstraints_height_get", (PyCFunction
)_wrap_LayoutConstraints_height_get
, METH_O
, NULL
},
57929 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
)_wrap_LayoutConstraints_centreX_get
, METH_O
, NULL
},
57930 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
)_wrap_LayoutConstraints_centreY_get
, METH_O
, NULL
},
57931 { (char *)"new_LayoutConstraints", (PyCFunction
)_wrap_new_LayoutConstraints
, METH_NOARGS
, NULL
},
57932 { (char *)"delete_LayoutConstraints", (PyCFunction
)_wrap_delete_LayoutConstraints
, METH_O
, NULL
},
57933 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57934 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
)_wrap_LayoutConstraints_AreSatisfied
, METH_O
, NULL
},
57935 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
57936 { (char *)"LayoutConstraints_swiginit", LayoutConstraints_swiginit
, METH_VARARGS
, NULL
},
57937 { NULL
, NULL
, 0, NULL
}
57941 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
57943 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
57944 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
57946 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
57947 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
57949 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
57950 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
57952 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
57953 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
57955 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
57956 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
57958 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
57959 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
57961 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
57962 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
57964 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
57965 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
57967 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
57968 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
57970 static void *_p_wxStdDialogButtonSizerTo_p_wxBoxSizer(void *x
) {
57971 return (void *)((wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
57973 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
57974 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
57976 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
57977 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
57979 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
57980 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
57982 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
57983 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
57985 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
57986 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
57988 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
57989 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
57991 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
57992 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
57994 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
57995 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
57997 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
57998 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
58000 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
58001 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
58003 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
58004 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
58006 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
58007 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
58009 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
58010 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
58012 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
58013 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
58015 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
58016 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
58018 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
58019 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
58021 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
58022 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
58024 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
58025 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
58027 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
58028 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
58030 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
58031 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
58033 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
58034 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
58036 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
58037 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
58039 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
58040 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
58042 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
58043 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
58045 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
58046 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
58048 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
58049 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
58051 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
58052 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
58054 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
58055 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
58057 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
58058 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
58060 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
58061 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
58063 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
58064 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
58066 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
58067 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
58069 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
58070 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
58072 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
58073 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
58075 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
58076 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
58078 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
58079 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
58081 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
58082 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
58084 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
58085 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
58087 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
58088 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
58090 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
58091 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
58093 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
58094 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
58096 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
58097 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
58099 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
58100 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
58102 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
58103 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
58105 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
58106 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
58108 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
58109 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
58111 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
58112 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
58114 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
58115 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
58117 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
58118 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
58120 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
58121 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
58123 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
58124 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
58126 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
58127 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
58129 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
58130 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
58132 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
58133 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
58135 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
58136 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
58138 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
58139 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
58141 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
58142 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
58144 static void *_p_wxPyImageHandlerTo_p_wxImageHandler(void *x
) {
58145 return (void *)((wxImageHandler
*) ((wxPyImageHandler
*) x
));
58147 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
58148 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
58150 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
58151 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
58153 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
58154 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
58156 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
58157 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
58159 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
58160 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
58162 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
58163 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
58165 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
58166 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
58168 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
58169 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
58171 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
58172 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
58174 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
58175 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
58177 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
58178 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
58180 static void *_p_wxTGAHandlerTo_p_wxImageHandler(void *x
) {
58181 return (void *)((wxImageHandler
*) ((wxTGAHandler
*) x
));
58183 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
58184 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
58186 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
58187 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
58189 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
58190 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
58192 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
58193 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
58195 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
58196 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
58198 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
58199 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
58201 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
58202 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
58204 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
58205 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
58207 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
58208 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
58210 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
58211 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
58213 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
58214 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
58216 static void *_p_wxSizerTo_p_wxObject(void *x
) {
58217 return (void *)((wxObject
*) ((wxSizer
*) x
));
58219 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
58220 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
58222 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
58223 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
58225 static void *_p_wxEventTo_p_wxObject(void *x
) {
58226 return (void *)((wxObject
*) ((wxEvent
*) x
));
58228 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
58229 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
58231 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
58232 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
58234 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
58235 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
58237 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
58238 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
58240 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
58241 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
58243 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
58244 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
58246 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
58247 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
58249 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
58250 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
58252 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
58253 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
58255 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
58256 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
58258 static void *_p_wxControlTo_p_wxObject(void *x
) {
58259 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
58261 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
58262 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
58264 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
58265 return (void *)((wxObject
*) ((wxFSFile
*) x
));
58267 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
58268 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
58270 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
58271 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
58273 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
58274 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
58276 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
58277 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
58279 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
58280 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
58282 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
58283 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
58285 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
58286 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
58288 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
58289 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
58291 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
58292 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
58294 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
58295 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
58297 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
58298 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
58300 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
58301 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
58303 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
58304 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
58306 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
58307 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
58309 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
58310 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
58312 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
58313 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
58315 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
58316 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
58318 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
58319 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
58321 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
58322 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
58324 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
58325 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
58327 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
58328 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
58330 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
58331 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
58333 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
58334 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
58336 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
58337 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
58339 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
58340 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
58342 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
58343 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
58345 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
58346 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
58348 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
58349 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
58351 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
58352 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
58354 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
58355 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
58357 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
58358 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
58360 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
58361 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
58363 static void *_p_wxImageTo_p_wxObject(void *x
) {
58364 return (void *)((wxObject
*) ((wxImage
*) x
));
58366 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
58367 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
58369 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
58370 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
58372 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
58373 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
58375 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
58376 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
58378 static void *_p_wxWindowTo_p_wxObject(void *x
) {
58379 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
58381 static void *_p_wxMenuTo_p_wxObject(void *x
) {
58382 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
58384 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
58385 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
58387 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
58388 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
58390 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
58391 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
58393 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
58394 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
58396 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
58397 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
58399 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
58400 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
58402 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
58403 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
58405 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
58406 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
58408 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
58409 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
58411 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
58412 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
58414 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
58415 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
58417 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
58418 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
58420 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
58421 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
58423 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
58424 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
58426 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
58427 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
58429 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
58430 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
58432 static void *_p_wxControlTo_p_wxWindow(void *x
) {
58433 return (void *)((wxWindow
*) ((wxControl
*) x
));
58435 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
58436 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
58438 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
58439 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
58441 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
58442 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
58444 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
58445 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
58447 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
58448 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
58450 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
58451 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
58453 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
58454 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
58456 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
58457 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
58459 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
58460 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
58462 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
58463 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
58465 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
58466 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
58468 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
58469 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
58471 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
58472 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
58474 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
58475 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
58476 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};
58477 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
58478 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
58479 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
58480 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
58481 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
58482 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", "wxANIHandler *", 0, 0, (void*)0, 0};
58483 static swig_type_info _swigt__p_wxAcceleratorEntry
= {"_p_wxAcceleratorEntry", "wxAcceleratorEntry *", 0, 0, (void*)0, 0};
58484 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", "wxAcceleratorTable *", 0, 0, (void*)0, 0};
58485 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", "wxActivateEvent *", 0, 0, (void*)0, 0};
58486 static swig_type_info _swigt__p_wxAppTraits
= {"_p_wxAppTraits", "wxAppTraits *", 0, 0, (void*)0, 0};
58487 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
58488 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", "wxBMPHandler *", 0, 0, (void*)0, 0};
58489 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
58490 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", "wxBoxSizer *", 0, 0, (void*)0, 0};
58491 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
58492 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", "wxCURHandler *", 0, 0, (void*)0, 0};
58493 static swig_type_info _swigt__p_wxCaret
= {"_p_wxCaret", "wxCaret *", 0, 0, (void*)0, 0};
58494 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", "wxChildFocusEvent *", 0, 0, (void*)0, 0};
58495 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", "wxClipboardTextEvent *", 0, 0, (void*)0, 0};
58496 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", "wxCloseEvent *", 0, 0, (void*)0, 0};
58497 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
58498 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
58499 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", "wxContextMenuEvent *", 0, 0, (void*)0, 0};
58500 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
58501 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
58502 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
58503 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
58504 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", "wxDateEvent *", 0, 0, (void*)0, 0};
58505 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
58506 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", "wxDisplayChangedEvent *", 0, 0, (void*)0, 0};
58507 static swig_type_info _swigt__p_wxDouble
= {"_p_wxDouble", "wxDouble *", 0, 0, (void*)0, 0};
58508 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", "wxDropFilesEvent *", 0, 0, (void*)0, 0};
58509 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
58510 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", "wxEraseEvent *", 0, 0, (void*)0, 0};
58511 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
58512 static swig_type_info _swigt__p_wxEventLoop
= {"_p_wxEventLoop", "wxEventLoop *", 0, 0, (void*)0, 0};
58513 static swig_type_info _swigt__p_wxEventLoopActivator
= {"_p_wxEventLoopActivator", "wxEventLoopActivator *", 0, 0, (void*)0, 0};
58514 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
58515 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", "wxFSFile *", 0, 0, (void*)0, 0};
58516 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
58517 static swig_type_info _swigt__p_wxFileSystemHandler
= {"_p_wxFileSystemHandler", "wxFileSystemHandler *", 0, 0, (void*)0, 0};
58518 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", "wxFlexGridSizer *", 0, 0, (void*)0, 0};
58519 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", "wxFocusEvent *", 0, 0, (void*)0, 0};
58520 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
58521 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
58522 static swig_type_info _swigt__p_wxGBPosition
= {"_p_wxGBPosition", "wxGBPosition *", 0, 0, (void*)0, 0};
58523 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", "wxGBSizerItem *", 0, 0, (void*)0, 0};
58524 static swig_type_info _swigt__p_wxGBSpan
= {"_p_wxGBSpan", "wxGBSpan *", 0, 0, (void*)0, 0};
58525 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", "wxGIFHandler *", 0, 0, (void*)0, 0};
58526 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", "wxGridBagSizer *", 0, 0, (void*)0, 0};
58527 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", "wxGridSizer *", 0, 0, (void*)0, 0};
58528 static swig_type_info _swigt__p_wxHelpEvent__Origin
= {"_p_wxHelpEvent__Origin", "wxHelpEvent::Origin *", 0, 0, (void*)0, 0};
58529 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", "wxICOHandler *", 0, 0, (void*)0, 0};
58530 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", "wxIconizeEvent *", 0, 0, (void*)0, 0};
58531 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", "wxIdleEvent *", 0, 0, (void*)0, 0};
58532 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
58533 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", "wxImageHandler *", 0, 0, (void*)0, 0};
58534 static swig_type_info _swigt__p_wxImageHistogram
= {"_p_wxImageHistogram", "wxImageHistogram *", 0, 0, (void*)0, 0};
58535 static swig_type_info _swigt__p_wxImage_HSVValue
= {"_p_wxImage_HSVValue", "wxImage_HSVValue *", 0, 0, (void*)0, 0};
58536 static swig_type_info _swigt__p_wxImage_RGBValue
= {"_p_wxImage_RGBValue", "wxImage_RGBValue *", 0, 0, (void*)0, 0};
58537 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", "wxIndividualLayoutConstraint *", 0, 0, (void*)0, 0};
58538 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", "wxInitDialogEvent *", 0, 0, (void*)0, 0};
58539 static swig_type_info _swigt__p_wxInputStream
= {"_p_wxInputStream", "wxInputStream *", 0, 0, (void*)0, 0};
58540 static swig_type_info _swigt__p_wxInternetFSHandler
= {"_p_wxInternetFSHandler", "wxInternetFSHandler *", 0, 0, (void*)0, 0};
58541 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
58542 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", "wxJPEGHandler *", 0, 0, (void*)0, 0};
58543 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
58544 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", "wxLayoutConstraints *", 0, 0, (void*)0, 0};
58545 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", "wxMaximizeEvent *", 0, 0, (void*)0, 0};
58546 static swig_type_info _swigt__p_wxMemoryFSHandler
= {"_p_wxMemoryFSHandler", "wxMemoryFSHandler *", 0, 0, (void*)0, 0};
58547 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
58548 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
58549 static swig_type_info _swigt__p_wxMenuBarBase
= {"_p_wxMenuBarBase", "wxMenuBarBase *", 0, 0, (void*)0, 0};
58550 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", "wxMenuEvent *", 0, 0, (void*)0, 0};
58551 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", "wxMenuItem *", 0, 0, (void*)0, 0};
58552 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", "wxMouseCaptureChangedEvent *", 0, 0, (void*)0, 0};
58553 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", "wxMouseCaptureLostEvent *", 0, 0, (void*)0, 0};
58554 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
58555 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", "wxMoveEvent *", 0, 0, (void*)0, 0};
58556 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", "wxNavigationKeyEvent *", 0, 0, (void*)0, 0};
58557 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", "wxNcPaintEvent *", 0, 0, (void*)0, 0};
58558 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
58559 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
58560 static swig_type_info _swigt__p_wxOutputStream
= {"_p_wxOutputStream", "wxOutputStream *", 0, 0, (void*)0, 0};
58561 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", "wxPCXHandler *", 0, 0, (void*)0, 0};
58562 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", "wxPNGHandler *", 0, 0, (void*)0, 0};
58563 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", "wxPNMHandler *", 0, 0, (void*)0, 0};
58564 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", "wxPaintEvent *", 0, 0, (void*)0, 0};
58565 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", "wxPaletteChangedEvent *", 0, 0, (void*)0, 0};
58566 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
58567 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
58568 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
58569 static swig_type_info _swigt__p_wxPropagateOnce
= {"_p_wxPropagateOnce", "wxPropagateOnce *", 0, 0, (void*)0, 0};
58570 static swig_type_info _swigt__p_wxPropagationDisabler
= {"_p_wxPropagationDisabler", "wxPropagationDisabler *", 0, 0, (void*)0, 0};
58571 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", "wxPyApp *", 0, 0, (void*)0, 0};
58572 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", "wxPyCommandEvent *", 0, 0, (void*)0, 0};
58573 static swig_type_info _swigt__p_wxPyDropTarget
= {"_p_wxPyDropTarget", "wxPyDropTarget *", 0, 0, (void*)0, 0};
58574 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", "wxPyEvent *", 0, 0, (void*)0, 0};
58575 static swig_type_info _swigt__p_wxPyFileSystemHandler
= {"_p_wxPyFileSystemHandler", "wxPyFileSystemHandler *", 0, 0, (void*)0, 0};
58576 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", "wxPyImageHandler *", 0, 0, (void*)0, 0};
58577 static swig_type_info _swigt__p_wxPyInputStream
= {"_p_wxPyInputStream", "wxPyInputStream *", 0, 0, (void*)0, 0};
58578 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", "wxPySizer *", 0, 0, (void*)0, 0};
58579 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", "wxPyValidator *", 0, 0, (void*)0, 0};
58580 static swig_type_info _swigt__p_wxQuantize
= {"_p_wxQuantize", "wxQuantize *", 0, 0, (void*)0, 0};
58581 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", "wxQueryNewPaletteEvent *", 0, 0, (void*)0, 0};
58582 static swig_type_info _swigt__p_wxRealPoint
= {"_p_wxRealPoint", "wxRealPoint *", 0, 0, (void*)0, 0};
58583 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
58584 static swig_type_info _swigt__p_wxRect2D
= {"_p_wxRect2D", "wxRect2D *", 0, 0, (void*)0, 0};
58585 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
58586 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", "wxScrollEvent *", 0, 0, (void*)0, 0};
58587 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
58588 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", "wxSetCursorEvent *", 0, 0, (void*)0, 0};
58589 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", "wxShowEvent *", 0, 0, (void*)0, 0};
58590 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
58591 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", "wxSizeEvent *", 0, 0, (void*)0, 0};
58592 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", "wxSizer *", 0, 0, (void*)0, 0};
58593 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", "wxSizerItem *", 0, 0, (void*)0, 0};
58594 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
58595 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", "wxStaticBoxSizer *", 0, 0, (void*)0, 0};
58596 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
58597 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", "wxSysColourChangedEvent *", 0, 0, (void*)0, 0};
58598 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", "wxTGAHandler *", 0, 0, (void*)0, 0};
58599 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", "wxTIFFHandler *", 0, 0, (void*)0, 0};
58600 static swig_type_info _swigt__p_wxToolTip
= {"_p_wxToolTip", "wxToolTip *", 0, 0, (void*)0, 0};
58601 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", "wxUpdateUIEvent *", 0, 0, (void*)0, 0};
58602 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
58603 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
58604 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
58605 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", "wxWindowCreateEvent *", 0, 0, (void*)0, 0};
58606 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", "wxWindowDestroyEvent *", 0, 0, (void*)0, 0};
58607 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", "wxXPMHandler *", 0, 0, (void*)0, 0};
58608 static swig_type_info _swigt__p_wxZipFSHandler
= {"_p_wxZipFSHandler", "wxZipFSHandler *", 0, 0, (void*)0, 0};
58610 static swig_type_info
*swig_type_initial
[] = {
58613 &_swigt__p_form_ops_t
,
58616 &_swigt__p_unsigned_char
,
58617 &_swigt__p_unsigned_int
,
58618 &_swigt__p_unsigned_long
,
58619 &_swigt__p_wxANIHandler
,
58620 &_swigt__p_wxAcceleratorEntry
,
58621 &_swigt__p_wxAcceleratorTable
,
58622 &_swigt__p_wxActivateEvent
,
58623 &_swigt__p_wxAppTraits
,
58624 &_swigt__p_wxArrayString
,
58625 &_swigt__p_wxBMPHandler
,
58626 &_swigt__p_wxBitmap
,
58627 &_swigt__p_wxBoxSizer
,
58628 &_swigt__p_wxButton
,
58629 &_swigt__p_wxCURHandler
,
58630 &_swigt__p_wxCaret
,
58631 &_swigt__p_wxChildFocusEvent
,
58632 &_swigt__p_wxClipboardTextEvent
,
58633 &_swigt__p_wxCloseEvent
,
58634 &_swigt__p_wxColour
,
58635 &_swigt__p_wxCommandEvent
,
58636 &_swigt__p_wxContextMenuEvent
,
58637 &_swigt__p_wxControl
,
58638 &_swigt__p_wxControlWithItems
,
58639 &_swigt__p_wxCursor
,
58641 &_swigt__p_wxDateEvent
,
58642 &_swigt__p_wxDateTime
,
58643 &_swigt__p_wxDisplayChangedEvent
,
58644 &_swigt__p_wxDouble
,
58645 &_swigt__p_wxDropFilesEvent
,
58646 &_swigt__p_wxDuplexMode
,
58647 &_swigt__p_wxEraseEvent
,
58648 &_swigt__p_wxEvent
,
58649 &_swigt__p_wxEventLoop
,
58650 &_swigt__p_wxEventLoopActivator
,
58651 &_swigt__p_wxEvtHandler
,
58652 &_swigt__p_wxFSFile
,
58653 &_swigt__p_wxFileSystem
,
58654 &_swigt__p_wxFileSystemHandler
,
58655 &_swigt__p_wxFlexGridSizer
,
58656 &_swigt__p_wxFocusEvent
,
58658 &_swigt__p_wxFrame
,
58659 &_swigt__p_wxGBPosition
,
58660 &_swigt__p_wxGBSizerItem
,
58661 &_swigt__p_wxGBSpan
,
58662 &_swigt__p_wxGIFHandler
,
58663 &_swigt__p_wxGridBagSizer
,
58664 &_swigt__p_wxGridSizer
,
58665 &_swigt__p_wxHelpEvent__Origin
,
58666 &_swigt__p_wxICOHandler
,
58667 &_swigt__p_wxIconizeEvent
,
58668 &_swigt__p_wxIdleEvent
,
58669 &_swigt__p_wxImage
,
58670 &_swigt__p_wxImageHandler
,
58671 &_swigt__p_wxImageHistogram
,
58672 &_swigt__p_wxImage_HSVValue
,
58673 &_swigt__p_wxImage_RGBValue
,
58674 &_swigt__p_wxIndividualLayoutConstraint
,
58675 &_swigt__p_wxInitDialogEvent
,
58676 &_swigt__p_wxInputStream
,
58677 &_swigt__p_wxInternetFSHandler
,
58678 &_swigt__p_wxItemContainer
,
58679 &_swigt__p_wxJPEGHandler
,
58680 &_swigt__p_wxKeyEvent
,
58681 &_swigt__p_wxLayoutConstraints
,
58682 &_swigt__p_wxMaximizeEvent
,
58683 &_swigt__p_wxMemoryFSHandler
,
58685 &_swigt__p_wxMenuBar
,
58686 &_swigt__p_wxMenuBarBase
,
58687 &_swigt__p_wxMenuEvent
,
58688 &_swigt__p_wxMenuItem
,
58689 &_swigt__p_wxMouseCaptureChangedEvent
,
58690 &_swigt__p_wxMouseCaptureLostEvent
,
58691 &_swigt__p_wxMouseEvent
,
58692 &_swigt__p_wxMoveEvent
,
58693 &_swigt__p_wxNavigationKeyEvent
,
58694 &_swigt__p_wxNcPaintEvent
,
58695 &_swigt__p_wxNotifyEvent
,
58696 &_swigt__p_wxObject
,
58697 &_swigt__p_wxOutputStream
,
58698 &_swigt__p_wxPCXHandler
,
58699 &_swigt__p_wxPNGHandler
,
58700 &_swigt__p_wxPNMHandler
,
58701 &_swigt__p_wxPaintEvent
,
58702 &_swigt__p_wxPaletteChangedEvent
,
58703 &_swigt__p_wxPaperSize
,
58704 &_swigt__p_wxPoint
,
58705 &_swigt__p_wxPoint2D
,
58706 &_swigt__p_wxPropagateOnce
,
58707 &_swigt__p_wxPropagationDisabler
,
58708 &_swigt__p_wxPyApp
,
58709 &_swigt__p_wxPyCommandEvent
,
58710 &_swigt__p_wxPyDropTarget
,
58711 &_swigt__p_wxPyEvent
,
58712 &_swigt__p_wxPyFileSystemHandler
,
58713 &_swigt__p_wxPyImageHandler
,
58714 &_swigt__p_wxPyInputStream
,
58715 &_swigt__p_wxPySizer
,
58716 &_swigt__p_wxPyValidator
,
58717 &_swigt__p_wxQuantize
,
58718 &_swigt__p_wxQueryNewPaletteEvent
,
58719 &_swigt__p_wxRealPoint
,
58721 &_swigt__p_wxRect2D
,
58722 &_swigt__p_wxRegion
,
58723 &_swigt__p_wxScrollEvent
,
58724 &_swigt__p_wxScrollWinEvent
,
58725 &_swigt__p_wxSetCursorEvent
,
58726 &_swigt__p_wxShowEvent
,
58728 &_swigt__p_wxSizeEvent
,
58729 &_swigt__p_wxSizer
,
58730 &_swigt__p_wxSizerItem
,
58731 &_swigt__p_wxStaticBox
,
58732 &_swigt__p_wxStaticBoxSizer
,
58733 &_swigt__p_wxStdDialogButtonSizer
,
58734 &_swigt__p_wxSysColourChangedEvent
,
58735 &_swigt__p_wxTGAHandler
,
58736 &_swigt__p_wxTIFFHandler
,
58737 &_swigt__p_wxToolTip
,
58738 &_swigt__p_wxUpdateUIEvent
,
58739 &_swigt__p_wxValidator
,
58740 &_swigt__p_wxVisualAttributes
,
58741 &_swigt__p_wxWindow
,
58742 &_swigt__p_wxWindowCreateEvent
,
58743 &_swigt__p_wxWindowDestroyEvent
,
58744 &_swigt__p_wxXPMHandler
,
58745 &_swigt__p_wxZipFSHandler
,
58748 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
58749 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
58750 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
58751 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
58752 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
58753 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
58754 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
58755 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
58756 static swig_cast_info _swigc__p_wxANIHandler
[] = { {&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
58757 static swig_cast_info _swigc__p_wxAcceleratorEntry
[] = { {&_swigt__p_wxAcceleratorEntry
, 0, 0, 0},{0, 0, 0, 0}};
58758 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = { {&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
58759 static swig_cast_info _swigc__p_wxActivateEvent
[] = { {&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
58760 static swig_cast_info _swigc__p_wxAppTraits
[] = { {&_swigt__p_wxAppTraits
, 0, 0, 0},{0, 0, 0, 0}};
58761 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
58762 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}};
58763 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
58764 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}};
58765 static swig_cast_info _swigc__p_wxButton
[] = { {&_swigt__p_wxButton
, 0, 0, 0},{0, 0, 0, 0}};
58766 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}};
58767 static swig_cast_info _swigc__p_wxCaret
[] = { {&_swigt__p_wxCaret
, 0, 0, 0},{0, 0, 0, 0}};
58768 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = { {&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
58769 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = { {&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
58770 static swig_cast_info _swigc__p_wxCloseEvent
[] = { {&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
58771 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
58772 static swig_cast_info _swigc__p_wxCommandEvent
[] = { {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, 0, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0},{0, 0, 0, 0}};
58773 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = { {&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
58774 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}};
58775 static swig_cast_info _swigc__p_wxControlWithItems
[] = { {&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
58776 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
58777 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
58778 static swig_cast_info _swigc__p_wxDateEvent
[] = { {&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
58779 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
58780 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = { {&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
58781 static swig_cast_info _swigc__p_wxDouble
[] = { {&_swigt__p_wxDouble
, 0, 0, 0},{0, 0, 0, 0}};
58782 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = { {&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
58783 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
58784 static swig_cast_info _swigc__p_wxEraseEvent
[] = { {&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
58785 static swig_cast_info _swigc__p_wxEvent
[] = { {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}};
58786 static swig_cast_info _swigc__p_wxEventLoop
[] = { {&_swigt__p_wxEventLoop
, 0, 0, 0},{0, 0, 0, 0}};
58787 static swig_cast_info _swigc__p_wxEventLoopActivator
[] = { {&_swigt__p_wxEventLoopActivator
, 0, 0, 0},{0, 0, 0, 0}};
58788 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}};
58789 static swig_cast_info _swigc__p_wxFSFile
[] = { {&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
58790 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
58791 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}};
58792 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}};
58793 static swig_cast_info _swigc__p_wxFocusEvent
[] = { {&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
58794 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
58795 static swig_cast_info _swigc__p_wxFrame
[] = { {&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}};
58796 static swig_cast_info _swigc__p_wxGBPosition
[] = { {&_swigt__p_wxGBPosition
, 0, 0, 0},{0, 0, 0, 0}};
58797 static swig_cast_info _swigc__p_wxGBSizerItem
[] = { {&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
58798 static swig_cast_info _swigc__p_wxGBSpan
[] = { {&_swigt__p_wxGBSpan
, 0, 0, 0},{0, 0, 0, 0}};
58799 static swig_cast_info _swigc__p_wxGIFHandler
[] = { {&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
58800 static swig_cast_info _swigc__p_wxGridBagSizer
[] = { {&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
58801 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}};
58802 static swig_cast_info _swigc__p_wxHelpEvent__Origin
[] = { {&_swigt__p_wxHelpEvent__Origin
, 0, 0, 0},{0, 0, 0, 0}};
58803 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}};
58804 static swig_cast_info _swigc__p_wxIconizeEvent
[] = { {&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
58805 static swig_cast_info _swigc__p_wxIdleEvent
[] = { {&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
58806 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
58807 static swig_cast_info _swigc__p_wxImageHandler
[] = { {&_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}, {&_swigt__p_wxTGAHandler
, _p_wxTGAHandlerTo_p_wxImageHandler
, 0, 0}, {&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
58808 static swig_cast_info _swigc__p_wxImageHistogram
[] = { {&_swigt__p_wxImageHistogram
, 0, 0, 0},{0, 0, 0, 0}};
58809 static swig_cast_info _swigc__p_wxImage_HSVValue
[] = { {&_swigt__p_wxImage_HSVValue
, 0, 0, 0},{0, 0, 0, 0}};
58810 static swig_cast_info _swigc__p_wxImage_RGBValue
[] = { {&_swigt__p_wxImage_RGBValue
, 0, 0, 0},{0, 0, 0, 0}};
58811 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = { {&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
58812 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = { {&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
58813 static swig_cast_info _swigc__p_wxInputStream
[] = { {&_swigt__p_wxInputStream
, 0, 0, 0},{0, 0, 0, 0}};
58814 static swig_cast_info _swigc__p_wxInternetFSHandler
[] = { {&_swigt__p_wxInternetFSHandler
, 0, 0, 0},{0, 0, 0, 0}};
58815 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}};
58816 static swig_cast_info _swigc__p_wxJPEGHandler
[] = { {&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
58817 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
58818 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = { {&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
58819 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = { {&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
58820 static swig_cast_info _swigc__p_wxMemoryFSHandler
[] = { {&_swigt__p_wxMemoryFSHandler
, 0, 0, 0},{0, 0, 0, 0}};
58821 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
58822 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
58823 static swig_cast_info _swigc__p_wxMenuBarBase
[] = { {&_swigt__p_wxMenuBarBase
, 0, 0, 0},{0, 0, 0, 0}};
58824 static swig_cast_info _swigc__p_wxMenuEvent
[] = { {&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
58825 static swig_cast_info _swigc__p_wxMenuItem
[] = { {&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
58826 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = { {&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
58827 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = { {&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
58828 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
58829 static swig_cast_info _swigc__p_wxMoveEvent
[] = { {&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
58830 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = { {&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
58831 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = { {&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
58832 static swig_cast_info _swigc__p_wxNotifyEvent
[] = { {&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
58833 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_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_wxTGAHandler
, _p_wxTGAHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_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_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
58834 static swig_cast_info _swigc__p_wxOutputStream
[] = { {&_swigt__p_wxOutputStream
, 0, 0, 0},{0, 0, 0, 0}};
58835 static swig_cast_info _swigc__p_wxPCXHandler
[] = { {&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
58836 static swig_cast_info _swigc__p_wxPNGHandler
[] = { {&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
58837 static swig_cast_info _swigc__p_wxPNMHandler
[] = { {&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
58838 static swig_cast_info _swigc__p_wxPaintEvent
[] = { {&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
58839 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = { {&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
58840 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
58841 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
58842 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
58843 static swig_cast_info _swigc__p_wxPropagateOnce
[] = { {&_swigt__p_wxPropagateOnce
, 0, 0, 0},{0, 0, 0, 0}};
58844 static swig_cast_info _swigc__p_wxPropagationDisabler
[] = { {&_swigt__p_wxPropagationDisabler
, 0, 0, 0},{0, 0, 0, 0}};
58845 static swig_cast_info _swigc__p_wxPyApp
[] = { {&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
58846 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = { {&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
58847 static swig_cast_info _swigc__p_wxPyDropTarget
[] = { {&_swigt__p_wxPyDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
58848 static swig_cast_info _swigc__p_wxPyEvent
[] = { {&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
58849 static swig_cast_info _swigc__p_wxPyFileSystemHandler
[] = { {&_swigt__p_wxPyFileSystemHandler
, 0, 0, 0},{0, 0, 0, 0}};
58850 static swig_cast_info _swigc__p_wxPyImageHandler
[] = { {&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
58851 static swig_cast_info _swigc__p_wxPyInputStream
[] = { {&_swigt__p_wxPyInputStream
, 0, 0, 0},{0, 0, 0, 0}};
58852 static swig_cast_info _swigc__p_wxPySizer
[] = { {&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
58853 static swig_cast_info _swigc__p_wxPyValidator
[] = { {&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
58854 static swig_cast_info _swigc__p_wxQuantize
[] = { {&_swigt__p_wxQuantize
, 0, 0, 0},{0, 0, 0, 0}};
58855 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = { {&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
58856 static swig_cast_info _swigc__p_wxRealPoint
[] = { {&_swigt__p_wxRealPoint
, 0, 0, 0},{0, 0, 0, 0}};
58857 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
58858 static swig_cast_info _swigc__p_wxRect2D
[] = { {&_swigt__p_wxRect2D
, 0, 0, 0},{0, 0, 0, 0}};
58859 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
58860 static swig_cast_info _swigc__p_wxScrollEvent
[] = { {&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
58861 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
58862 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = { {&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
58863 static swig_cast_info _swigc__p_wxShowEvent
[] = { {&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
58864 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
58865 static swig_cast_info _swigc__p_wxSizeEvent
[] = { {&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
58866 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}};
58867 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}};
58868 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
58869 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = { {&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
58870 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
58871 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = { {&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
58872 static swig_cast_info _swigc__p_wxTGAHandler
[] = { {&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
58873 static swig_cast_info _swigc__p_wxTIFFHandler
[] = { {&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
58874 static swig_cast_info _swigc__p_wxToolTip
[] = { {&_swigt__p_wxToolTip
, 0, 0, 0},{0, 0, 0, 0}};
58875 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = { {&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
58876 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}};
58877 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
58878 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}};
58879 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = { {&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
58880 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = { {&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
58881 static swig_cast_info _swigc__p_wxXPMHandler
[] = { {&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
58882 static swig_cast_info _swigc__p_wxZipFSHandler
[] = { {&_swigt__p_wxZipFSHandler
, 0, 0, 0},{0, 0, 0, 0}};
58884 static swig_cast_info
*swig_cast_initial
[] = {
58887 _swigc__p_form_ops_t
,
58890 _swigc__p_unsigned_char
,
58891 _swigc__p_unsigned_int
,
58892 _swigc__p_unsigned_long
,
58893 _swigc__p_wxANIHandler
,
58894 _swigc__p_wxAcceleratorEntry
,
58895 _swigc__p_wxAcceleratorTable
,
58896 _swigc__p_wxActivateEvent
,
58897 _swigc__p_wxAppTraits
,
58898 _swigc__p_wxArrayString
,
58899 _swigc__p_wxBMPHandler
,
58900 _swigc__p_wxBitmap
,
58901 _swigc__p_wxBoxSizer
,
58902 _swigc__p_wxButton
,
58903 _swigc__p_wxCURHandler
,
58905 _swigc__p_wxChildFocusEvent
,
58906 _swigc__p_wxClipboardTextEvent
,
58907 _swigc__p_wxCloseEvent
,
58908 _swigc__p_wxColour
,
58909 _swigc__p_wxCommandEvent
,
58910 _swigc__p_wxContextMenuEvent
,
58911 _swigc__p_wxControl
,
58912 _swigc__p_wxControlWithItems
,
58913 _swigc__p_wxCursor
,
58915 _swigc__p_wxDateEvent
,
58916 _swigc__p_wxDateTime
,
58917 _swigc__p_wxDisplayChangedEvent
,
58918 _swigc__p_wxDouble
,
58919 _swigc__p_wxDropFilesEvent
,
58920 _swigc__p_wxDuplexMode
,
58921 _swigc__p_wxEraseEvent
,
58923 _swigc__p_wxEventLoop
,
58924 _swigc__p_wxEventLoopActivator
,
58925 _swigc__p_wxEvtHandler
,
58926 _swigc__p_wxFSFile
,
58927 _swigc__p_wxFileSystem
,
58928 _swigc__p_wxFileSystemHandler
,
58929 _swigc__p_wxFlexGridSizer
,
58930 _swigc__p_wxFocusEvent
,
58933 _swigc__p_wxGBPosition
,
58934 _swigc__p_wxGBSizerItem
,
58935 _swigc__p_wxGBSpan
,
58936 _swigc__p_wxGIFHandler
,
58937 _swigc__p_wxGridBagSizer
,
58938 _swigc__p_wxGridSizer
,
58939 _swigc__p_wxHelpEvent__Origin
,
58940 _swigc__p_wxICOHandler
,
58941 _swigc__p_wxIconizeEvent
,
58942 _swigc__p_wxIdleEvent
,
58944 _swigc__p_wxImageHandler
,
58945 _swigc__p_wxImageHistogram
,
58946 _swigc__p_wxImage_HSVValue
,
58947 _swigc__p_wxImage_RGBValue
,
58948 _swigc__p_wxIndividualLayoutConstraint
,
58949 _swigc__p_wxInitDialogEvent
,
58950 _swigc__p_wxInputStream
,
58951 _swigc__p_wxInternetFSHandler
,
58952 _swigc__p_wxItemContainer
,
58953 _swigc__p_wxJPEGHandler
,
58954 _swigc__p_wxKeyEvent
,
58955 _swigc__p_wxLayoutConstraints
,
58956 _swigc__p_wxMaximizeEvent
,
58957 _swigc__p_wxMemoryFSHandler
,
58959 _swigc__p_wxMenuBar
,
58960 _swigc__p_wxMenuBarBase
,
58961 _swigc__p_wxMenuEvent
,
58962 _swigc__p_wxMenuItem
,
58963 _swigc__p_wxMouseCaptureChangedEvent
,
58964 _swigc__p_wxMouseCaptureLostEvent
,
58965 _swigc__p_wxMouseEvent
,
58966 _swigc__p_wxMoveEvent
,
58967 _swigc__p_wxNavigationKeyEvent
,
58968 _swigc__p_wxNcPaintEvent
,
58969 _swigc__p_wxNotifyEvent
,
58970 _swigc__p_wxObject
,
58971 _swigc__p_wxOutputStream
,
58972 _swigc__p_wxPCXHandler
,
58973 _swigc__p_wxPNGHandler
,
58974 _swigc__p_wxPNMHandler
,
58975 _swigc__p_wxPaintEvent
,
58976 _swigc__p_wxPaletteChangedEvent
,
58977 _swigc__p_wxPaperSize
,
58979 _swigc__p_wxPoint2D
,
58980 _swigc__p_wxPropagateOnce
,
58981 _swigc__p_wxPropagationDisabler
,
58983 _swigc__p_wxPyCommandEvent
,
58984 _swigc__p_wxPyDropTarget
,
58985 _swigc__p_wxPyEvent
,
58986 _swigc__p_wxPyFileSystemHandler
,
58987 _swigc__p_wxPyImageHandler
,
58988 _swigc__p_wxPyInputStream
,
58989 _swigc__p_wxPySizer
,
58990 _swigc__p_wxPyValidator
,
58991 _swigc__p_wxQuantize
,
58992 _swigc__p_wxQueryNewPaletteEvent
,
58993 _swigc__p_wxRealPoint
,
58995 _swigc__p_wxRect2D
,
58996 _swigc__p_wxRegion
,
58997 _swigc__p_wxScrollEvent
,
58998 _swigc__p_wxScrollWinEvent
,
58999 _swigc__p_wxSetCursorEvent
,
59000 _swigc__p_wxShowEvent
,
59002 _swigc__p_wxSizeEvent
,
59004 _swigc__p_wxSizerItem
,
59005 _swigc__p_wxStaticBox
,
59006 _swigc__p_wxStaticBoxSizer
,
59007 _swigc__p_wxStdDialogButtonSizer
,
59008 _swigc__p_wxSysColourChangedEvent
,
59009 _swigc__p_wxTGAHandler
,
59010 _swigc__p_wxTIFFHandler
,
59011 _swigc__p_wxToolTip
,
59012 _swigc__p_wxUpdateUIEvent
,
59013 _swigc__p_wxValidator
,
59014 _swigc__p_wxVisualAttributes
,
59015 _swigc__p_wxWindow
,
59016 _swigc__p_wxWindowCreateEvent
,
59017 _swigc__p_wxWindowDestroyEvent
,
59018 _swigc__p_wxXPMHandler
,
59019 _swigc__p_wxZipFSHandler
,
59023 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
59025 static swig_const_info swig_const_table
[] = {
59026 {0, 0, 0, 0.0, 0, 0}};
59031 /* -----------------------------------------------------------------------------
59032 * Type initialization:
59033 * This problem is tough by the requirement that no dynamic
59034 * memory is used. Also, since swig_type_info structures store pointers to
59035 * swig_cast_info structures and swig_cast_info structures store pointers back
59036 * to swig_type_info structures, we need some lookup code at initialization.
59037 * The idea is that swig generates all the structures that are needed.
59038 * The runtime then collects these partially filled structures.
59039 * The SWIG_InitializeModule function takes these initial arrays out of
59040 * swig_module, and does all the lookup, filling in the swig_module.types
59041 * array with the correct data and linking the correct swig_cast_info
59042 * structures together.
59044 * The generated swig_type_info structures are assigned staticly to an initial
59045 * array. We just loop though that array, and handle each type individually.
59046 * First we lookup if this type has been already loaded, and if so, use the
59047 * loaded structure instead of the generated one. Then we have to fill in the
59048 * cast linked list. The cast data is initially stored in something like a
59049 * two-dimensional array. Each row corresponds to a type (there are the same
59050 * number of rows as there are in the swig_type_initial array). Each entry in
59051 * a column is one of the swig_cast_info structures for that type.
59052 * The cast_initial array is actually an array of arrays, because each row has
59053 * a variable number of columns. So to actually build the cast linked list,
59054 * we find the array of casts associated with the type, and loop through it
59055 * adding the casts to the list. The one last trick we need to do is making
59056 * sure the type pointer in the swig_cast_info struct is correct.
59058 * First off, we lookup the cast->type name to see if it is already loaded.
59059 * There are three cases to handle:
59060 * 1) If the cast->type has already been loaded AND the type we are adding
59061 * casting info to has not been loaded (it is in this module), THEN we
59062 * replace the cast->type pointer with the type pointer that has already
59064 * 2) If BOTH types (the one we are adding casting info to, and the
59065 * cast->type) are loaded, THEN the cast info has already been loaded by
59066 * the previous module so we just ignore it.
59067 * 3) Finally, if cast->type has not already been loaded, then we add that
59068 * swig_cast_info to the linked list (because the cast->type) pointer will
59070 * ----------------------------------------------------------------------------- */
59080 #define SWIGRUNTIME_DEBUG
59084 SWIG_InitializeModule(void *clientdata
) {
59086 swig_module_info
*module_head
;
59087 static int init_run
= 0;
59089 clientdata
= clientdata
;
59091 if (init_run
) return;
59094 /* Initialize the swig_module */
59095 swig_module
.type_initial
= swig_type_initial
;
59096 swig_module
.cast_initial
= swig_cast_initial
;
59098 /* Try and load any already created modules */
59099 module_head
= SWIG_GetModule(clientdata
);
59101 swig_module
.next
= module_head
->next
;
59102 module_head
->next
= &swig_module
;
59104 /* This is the first module loaded */
59105 swig_module
.next
= &swig_module
;
59106 SWIG_SetModule(clientdata
, &swig_module
);
59109 /* Now work on filling in swig_module.types */
59110 #ifdef SWIGRUNTIME_DEBUG
59111 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
59113 for (i
= 0; i
< swig_module
.size
; ++i
) {
59114 swig_type_info
*type
= 0;
59115 swig_type_info
*ret
;
59116 swig_cast_info
*cast
;
59118 #ifdef SWIGRUNTIME_DEBUG
59119 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
59122 /* if there is another module already loaded */
59123 if (swig_module
.next
!= &swig_module
) {
59124 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
59127 /* Overwrite clientdata field */
59128 #ifdef SWIGRUNTIME_DEBUG
59129 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
59131 if (swig_module
.type_initial
[i
]->clientdata
) {
59132 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
59133 #ifdef SWIGRUNTIME_DEBUG
59134 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
59138 type
= swig_module
.type_initial
[i
];
59141 /* Insert casting types */
59142 cast
= swig_module
.cast_initial
[i
];
59143 while (cast
->type
) {
59144 /* Don't need to add information already in the list */
59146 #ifdef SWIGRUNTIME_DEBUG
59147 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
59149 if (swig_module
.next
!= &swig_module
) {
59150 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
59151 #ifdef SWIGRUNTIME_DEBUG
59152 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
59156 if (type
== swig_module
.type_initial
[i
]) {
59157 #ifdef SWIGRUNTIME_DEBUG
59158 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
59163 /* Check for casting already in the list */
59164 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
59165 #ifdef SWIGRUNTIME_DEBUG
59166 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
59168 if (!ocast
) ret
= 0;
59173 #ifdef SWIGRUNTIME_DEBUG
59174 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
59177 type
->cast
->prev
= cast
;
59178 cast
->next
= type
->cast
;
59184 /* Set entry in modules->types array equal to the type */
59185 swig_module
.types
[i
] = type
;
59187 swig_module
.types
[i
] = 0;
59189 #ifdef SWIGRUNTIME_DEBUG
59190 printf("**** SWIG_InitializeModule: Cast List ******\n");
59191 for (i
= 0; i
< swig_module
.size
; ++i
) {
59193 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
59194 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
59195 while (cast
->type
) {
59196 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
59200 printf("---- Total casts: %d\n",j
);
59202 printf("**** SWIG_InitializeModule: Cast List ******\n");
59206 /* This function will propagate the clientdata field of type to
59207 * any new swig_type_info structures that have been added into the list
59208 * of equivalent types. It is like calling
59209 * SWIG_TypeClientData(type, clientdata) a second time.
59212 SWIG_PropagateClientData(void) {
59214 swig_cast_info
*equiv
;
59215 static int init_run
= 0;
59217 if (init_run
) return;
59220 for (i
= 0; i
< swig_module
.size
; i
++) {
59221 if (swig_module
.types
[i
]->clientdata
) {
59222 equiv
= swig_module
.types
[i
]->cast
;
59224 if (!equiv
->converter
) {
59225 if (equiv
->type
&& !equiv
->type
->clientdata
)
59226 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
59228 equiv
= equiv
->next
;
59248 /* Python-specific SWIG API */
59249 #define SWIG_newvarlink() SWIG_Python_newvarlink()
59250 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
59251 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
59253 /* -----------------------------------------------------------------------------
59254 * global variable support code.
59255 * ----------------------------------------------------------------------------- */
59257 typedef struct swig_globalvar
{
59258 char *name
; /* Name of global variable */
59259 PyObject
*(*get_attr
)(void); /* Return the current value */
59260 int (*set_attr
)(PyObject
*); /* Set the value */
59261 struct swig_globalvar
*next
;
59264 typedef struct swig_varlinkobject
{
59266 swig_globalvar
*vars
;
59267 } swig_varlinkobject
;
59269 SWIGINTERN PyObject
*
59270 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
59271 return PyString_FromString("<Swig global variables>");
59274 SWIGINTERN PyObject
*
59275 swig_varlink_str(swig_varlinkobject
*v
) {
59276 PyObject
*str
= PyString_FromString("(");
59277 swig_globalvar
*var
;
59278 for (var
= v
->vars
; var
; var
=var
->next
) {
59279 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
59280 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
59282 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
59287 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
59288 PyObject
*str
= swig_varlink_str(v
);
59289 fprintf(fp
,"Swig global variables ");
59290 fprintf(fp
,"%s\n", PyString_AsString(str
));
59296 swig_varlink_dealloc(swig_varlinkobject
*v
) {
59297 swig_globalvar
*var
= v
->vars
;
59299 swig_globalvar
*n
= var
->next
;
59306 SWIGINTERN PyObject
*
59307 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
59308 PyObject
*res
= NULL
;
59309 swig_globalvar
*var
= v
->vars
;
59311 if (strcmp(var
->name
,n
) == 0) {
59312 res
= (*var
->get_attr
)();
59317 if (res
== NULL
&& !PyErr_Occurred()) {
59318 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
59324 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
59326 swig_globalvar
*var
= v
->vars
;
59328 if (strcmp(var
->name
,n
) == 0) {
59329 res
= (*var
->set_attr
)(p
);
59334 if (res
== 1 && !PyErr_Occurred()) {
59335 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
59340 SWIGINTERN PyTypeObject
*
59341 swig_varlink_type(void) {
59342 static char varlink__doc__
[] = "Swig var link object";
59343 static PyTypeObject varlink_type
;
59344 static int type_init
= 0;
59346 const PyTypeObject tmp
59348 PyObject_HEAD_INIT(NULL
)
59349 0, /* Number of items in variable part (ob_size) */
59350 (char *)"swigvarlink", /* Type name (tp_name) */
59351 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
59352 0, /* Itemsize (tp_itemsize) */
59353 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
59354 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
59355 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
59356 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
59357 0, /* tp_compare */
59358 (reprfunc
) swig_varlink_repr
, /* tp_repr */
59359 0, /* tp_as_number */
59360 0, /* tp_as_sequence */
59361 0, /* tp_as_mapping */
59364 (reprfunc
)swig_varlink_str
, /* tp_str */
59365 0, /* tp_getattro */
59366 0, /* tp_setattro */
59367 0, /* tp_as_buffer */
59369 varlink__doc__
, /* tp_doc */
59370 0, /* tp_traverse */
59372 0, /* tp_richcompare */
59373 0, /* tp_weaklistoffset */
59374 #if PY_VERSION_HEX >= 0x02020000
59375 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
59377 #if PY_VERSION_HEX >= 0x02030000
59380 #ifdef COUNT_ALLOCS
59381 0,0,0,0 /* tp_alloc -> tp_next */
59384 varlink_type
= tmp
;
59385 varlink_type
.ob_type
= &PyType_Type
;
59388 return &varlink_type
;
59391 /* Create a variable linking object for use later */
59392 SWIGINTERN PyObject
*
59393 SWIG_Python_newvarlink(void) {
59394 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
59398 return ((PyObject
*) result
);
59402 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
59403 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
59404 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
59406 size_t size
= strlen(name
)+1;
59407 gv
->name
= (char *)malloc(size
);
59409 strncpy(gv
->name
,name
,size
);
59410 gv
->get_attr
= get_attr
;
59411 gv
->set_attr
= set_attr
;
59412 gv
->next
= v
->vars
;
59418 SWIGINTERN PyObject
*
59420 static PyObject
*_SWIG_globals
= 0;
59421 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
59422 return _SWIG_globals
;
59425 /* -----------------------------------------------------------------------------
59426 * constants/methods manipulation
59427 * ----------------------------------------------------------------------------- */
59429 /* Install Constants */
59431 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
59434 for (i
= 0; constants
[i
].type
; ++i
) {
59435 switch(constants
[i
].type
) {
59436 case SWIG_PY_POINTER
:
59437 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
59439 case SWIG_PY_BINARY
:
59440 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
59447 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
59453 /* -----------------------------------------------------------------------------*/
59454 /* Fix SwigMethods to carry the callback ptrs when needed */
59455 /* -----------------------------------------------------------------------------*/
59458 SWIG_Python_FixMethods(PyMethodDef
*methods
,
59459 swig_const_info
*const_table
,
59460 swig_type_info
**types
,
59461 swig_type_info
**types_initial
) {
59463 for (i
= 0; methods
[i
].ml_name
; ++i
) {
59464 const char *c
= methods
[i
].ml_doc
;
59465 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
59467 swig_const_info
*ci
= 0;
59468 const char *name
= c
+ 10;
59469 for (j
= 0; const_table
[j
].type
; ++j
) {
59470 if (strncmp(const_table
[j
].name
, name
,
59471 strlen(const_table
[j
].name
)) == 0) {
59472 ci
= &(const_table
[j
]);
59477 size_t shift
= (ci
->ptype
) - types
;
59478 swig_type_info
*ty
= types_initial
[shift
];
59479 size_t ldoc
= (c
- methods
[i
].ml_doc
);
59480 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
59481 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
59484 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
59486 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
59488 strncpy(buff
, "swig_ptr: ", 10);
59490 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
59491 methods
[i
].ml_doc
= ndoc
;
59503 /* -----------------------------------------------------------------------------*
59504 * Partial Init method
59505 * -----------------------------------------------------------------------------*/
59510 SWIGEXPORT
void SWIG_init(void) {
59513 /* Fix SwigMethods to carry the callback ptrs when needed */
59514 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
59516 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
59517 d
= PyModule_GetDict(m
);
59519 SWIG_InitializeModule(0);
59520 SWIG_InstallConstants(d
,swig_const_table
);
59524 #ifndef wxPyUSE_EXPORT
59525 // Make our API structure a CObject so other modules can import it
59526 // from this module.
59527 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
59528 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
59532 SWIG_Python_SetConstant(d
, "NOT_FOUND",SWIG_From_int(static_cast< int >(wxNOT_FOUND
)));
59533 SWIG_Python_SetConstant(d
, "VSCROLL",SWIG_From_int(static_cast< int >(wxVSCROLL
)));
59534 SWIG_Python_SetConstant(d
, "HSCROLL",SWIG_From_int(static_cast< int >(wxHSCROLL
)));
59535 SWIG_Python_SetConstant(d
, "CAPTION",SWIG_From_int(static_cast< int >(wxCAPTION
)));
59536 SWIG_Python_SetConstant(d
, "DOUBLE_BORDER",SWIG_From_int(static_cast< int >(wxDOUBLE_BORDER
)));
59537 SWIG_Python_SetConstant(d
, "SUNKEN_BORDER",SWIG_From_int(static_cast< int >(wxSUNKEN_BORDER
)));
59538 SWIG_Python_SetConstant(d
, "RAISED_BORDER",SWIG_From_int(static_cast< int >(wxRAISED_BORDER
)));
59539 SWIG_Python_SetConstant(d
, "BORDER",SWIG_From_int(static_cast< int >(wxBORDER
)));
59540 SWIG_Python_SetConstant(d
, "SIMPLE_BORDER",SWIG_From_int(static_cast< int >(wxSIMPLE_BORDER
)));
59541 SWIG_Python_SetConstant(d
, "STATIC_BORDER",SWIG_From_int(static_cast< int >(wxSTATIC_BORDER
)));
59542 SWIG_Python_SetConstant(d
, "TRANSPARENT_WINDOW",SWIG_From_int(static_cast< int >(wxTRANSPARENT_WINDOW
)));
59543 SWIG_Python_SetConstant(d
, "NO_BORDER",SWIG_From_int(static_cast< int >(wxNO_BORDER
)));
59544 SWIG_Python_SetConstant(d
, "DEFAULT_CONTROL_BORDER",SWIG_From_int(static_cast< int >(wxDEFAULT_CONTROL_BORDER
)));
59545 SWIG_Python_SetConstant(d
, "DEFAULT_STATUSBAR_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_STATUSBAR_STYLE
)));
59546 SWIG_Python_SetConstant(d
, "TAB_TRAVERSAL",SWIG_From_int(static_cast< int >(wxTAB_TRAVERSAL
)));
59547 SWIG_Python_SetConstant(d
, "WANTS_CHARS",SWIG_From_int(static_cast< int >(wxWANTS_CHARS
)));
59548 SWIG_Python_SetConstant(d
, "POPUP_WINDOW",SWIG_From_int(static_cast< int >(wxPOPUP_WINDOW
)));
59549 SWIG_Python_SetConstant(d
, "CENTER_FRAME",SWIG_From_int(static_cast< int >(wxCENTER_FRAME
)));
59550 SWIG_Python_SetConstant(d
, "CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxCENTRE_ON_SCREEN
)));
59551 SWIG_Python_SetConstant(d
, "CENTER_ON_SCREEN",SWIG_From_int(static_cast< int >(wxCENTER_ON_SCREEN
)));
59552 SWIG_Python_SetConstant(d
, "CLIP_CHILDREN",SWIG_From_int(static_cast< int >(wxCLIP_CHILDREN
)));
59553 SWIG_Python_SetConstant(d
, "CLIP_SIBLINGS",SWIG_From_int(static_cast< int >(wxCLIP_SIBLINGS
)));
59554 SWIG_Python_SetConstant(d
, "WINDOW_STYLE_MASK",SWIG_From_int(static_cast< int >(wxWINDOW_STYLE_MASK
)));
59555 SWIG_Python_SetConstant(d
, "ALWAYS_SHOW_SB",SWIG_From_int(static_cast< int >(wxALWAYS_SHOW_SB
)));
59556 SWIG_Python_SetConstant(d
, "RETAINED",SWIG_From_int(static_cast< int >(wxRETAINED
)));
59557 SWIG_Python_SetConstant(d
, "BACKINGSTORE",SWIG_From_int(static_cast< int >(wxBACKINGSTORE
)));
59558 SWIG_Python_SetConstant(d
, "COLOURED",SWIG_From_int(static_cast< int >(wxCOLOURED
)));
59559 SWIG_Python_SetConstant(d
, "FIXED_LENGTH",SWIG_From_int(static_cast< int >(wxFIXED_LENGTH
)));
59560 SWIG_Python_SetConstant(d
, "LB_NEEDED_SB",SWIG_From_int(static_cast< int >(wxLB_NEEDED_SB
)));
59561 SWIG_Python_SetConstant(d
, "LB_ALWAYS_SB",SWIG_From_int(static_cast< int >(wxLB_ALWAYS_SB
)));
59562 SWIG_Python_SetConstant(d
, "LB_SORT",SWIG_From_int(static_cast< int >(wxLB_SORT
)));
59563 SWIG_Python_SetConstant(d
, "LB_SINGLE",SWIG_From_int(static_cast< int >(wxLB_SINGLE
)));
59564 SWIG_Python_SetConstant(d
, "LB_MULTIPLE",SWIG_From_int(static_cast< int >(wxLB_MULTIPLE
)));
59565 SWIG_Python_SetConstant(d
, "LB_EXTENDED",SWIG_From_int(static_cast< int >(wxLB_EXTENDED
)));
59566 SWIG_Python_SetConstant(d
, "LB_OWNERDRAW",SWIG_From_int(static_cast< int >(wxLB_OWNERDRAW
)));
59567 SWIG_Python_SetConstant(d
, "LB_HSCROLL",SWIG_From_int(static_cast< int >(wxLB_HSCROLL
)));
59568 SWIG_Python_SetConstant(d
, "PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxPROCESS_ENTER
)));
59569 SWIG_Python_SetConstant(d
, "PASSWORD",SWIG_From_int(static_cast< int >(wxPASSWORD
)));
59570 SWIG_Python_SetConstant(d
, "CB_SIMPLE",SWIG_From_int(static_cast< int >(wxCB_SIMPLE
)));
59571 SWIG_Python_SetConstant(d
, "CB_DROPDOWN",SWIG_From_int(static_cast< int >(wxCB_DROPDOWN
)));
59572 SWIG_Python_SetConstant(d
, "CB_SORT",SWIG_From_int(static_cast< int >(wxCB_SORT
)));
59573 SWIG_Python_SetConstant(d
, "CB_READONLY",SWIG_From_int(static_cast< int >(wxCB_READONLY
)));
59574 SWIG_Python_SetConstant(d
, "RA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxRA_HORIZONTAL
)));
59575 SWIG_Python_SetConstant(d
, "RA_VERTICAL",SWIG_From_int(static_cast< int >(wxRA_VERTICAL
)));
59576 SWIG_Python_SetConstant(d
, "RA_SPECIFY_ROWS",SWIG_From_int(static_cast< int >(wxRA_SPECIFY_ROWS
)));
59577 SWIG_Python_SetConstant(d
, "RA_SPECIFY_COLS",SWIG_From_int(static_cast< int >(wxRA_SPECIFY_COLS
)));
59578 SWIG_Python_SetConstant(d
, "RA_USE_CHECKBOX",SWIG_From_int(static_cast< int >(wxRA_USE_CHECKBOX
)));
59579 SWIG_Python_SetConstant(d
, "RB_GROUP",SWIG_From_int(static_cast< int >(wxRB_GROUP
)));
59580 SWIG_Python_SetConstant(d
, "RB_SINGLE",SWIG_From_int(static_cast< int >(wxRB_SINGLE
)));
59581 SWIG_Python_SetConstant(d
, "SB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSB_HORIZONTAL
)));
59582 SWIG_Python_SetConstant(d
, "SB_VERTICAL",SWIG_From_int(static_cast< int >(wxSB_VERTICAL
)));
59583 SWIG_Python_SetConstant(d
, "RB_USE_CHECKBOX",SWIG_From_int(static_cast< int >(wxRB_USE_CHECKBOX
)));
59584 SWIG_Python_SetConstant(d
, "ST_SIZEGRIP",SWIG_From_int(static_cast< int >(wxST_SIZEGRIP
)));
59585 SWIG_Python_SetConstant(d
, "ST_NO_AUTORESIZE",SWIG_From_int(static_cast< int >(wxST_NO_AUTORESIZE
)));
59586 SWIG_Python_SetConstant(d
, "ST_DOTS_MIDDLE",SWIG_From_int(static_cast< int >(wxST_DOTS_MIDDLE
)));
59587 SWIG_Python_SetConstant(d
, "ST_DOTS_END",SWIG_From_int(static_cast< int >(wxST_DOTS_END
)));
59588 SWIG_Python_SetConstant(d
, "FLOOD_SURFACE",SWIG_From_int(static_cast< int >(wxFLOOD_SURFACE
)));
59589 SWIG_Python_SetConstant(d
, "FLOOD_BORDER",SWIG_From_int(static_cast< int >(wxFLOOD_BORDER
)));
59590 SWIG_Python_SetConstant(d
, "ODDEVEN_RULE",SWIG_From_int(static_cast< int >(wxODDEVEN_RULE
)));
59591 SWIG_Python_SetConstant(d
, "WINDING_RULE",SWIG_From_int(static_cast< int >(wxWINDING_RULE
)));
59592 SWIG_Python_SetConstant(d
, "TOOL_TOP",SWIG_From_int(static_cast< int >(wxTOOL_TOP
)));
59593 SWIG_Python_SetConstant(d
, "TOOL_BOTTOM",SWIG_From_int(static_cast< int >(wxTOOL_BOTTOM
)));
59594 SWIG_Python_SetConstant(d
, "TOOL_LEFT",SWIG_From_int(static_cast< int >(wxTOOL_LEFT
)));
59595 SWIG_Python_SetConstant(d
, "TOOL_RIGHT",SWIG_From_int(static_cast< int >(wxTOOL_RIGHT
)));
59596 SWIG_Python_SetConstant(d
, "OK",SWIG_From_int(static_cast< int >(wxOK
)));
59597 SWIG_Python_SetConstant(d
, "YES_NO",SWIG_From_int(static_cast< int >(wxYES_NO
)));
59598 SWIG_Python_SetConstant(d
, "CANCEL",SWIG_From_int(static_cast< int >(wxCANCEL
)));
59599 SWIG_Python_SetConstant(d
, "YES",SWIG_From_int(static_cast< int >(wxYES
)));
59600 SWIG_Python_SetConstant(d
, "NO",SWIG_From_int(static_cast< int >(wxNO
)));
59601 SWIG_Python_SetConstant(d
, "NO_DEFAULT",SWIG_From_int(static_cast< int >(wxNO_DEFAULT
)));
59602 SWIG_Python_SetConstant(d
, "YES_DEFAULT",SWIG_From_int(static_cast< int >(wxYES_DEFAULT
)));
59603 SWIG_Python_SetConstant(d
, "ICON_EXCLAMATION",SWIG_From_int(static_cast< int >(wxICON_EXCLAMATION
)));
59604 SWIG_Python_SetConstant(d
, "ICON_HAND",SWIG_From_int(static_cast< int >(wxICON_HAND
)));
59605 SWIG_Python_SetConstant(d
, "ICON_QUESTION",SWIG_From_int(static_cast< int >(wxICON_QUESTION
)));
59606 SWIG_Python_SetConstant(d
, "ICON_INFORMATION",SWIG_From_int(static_cast< int >(wxICON_INFORMATION
)));
59607 SWIG_Python_SetConstant(d
, "ICON_STOP",SWIG_From_int(static_cast< int >(wxICON_STOP
)));
59608 SWIG_Python_SetConstant(d
, "ICON_ASTERISK",SWIG_From_int(static_cast< int >(wxICON_ASTERISK
)));
59609 SWIG_Python_SetConstant(d
, "ICON_MASK",SWIG_From_int(static_cast< int >(wxICON_MASK
)));
59610 SWIG_Python_SetConstant(d
, "ICON_WARNING",SWIG_From_int(static_cast< int >(wxICON_WARNING
)));
59611 SWIG_Python_SetConstant(d
, "ICON_ERROR",SWIG_From_int(static_cast< int >(wxICON_ERROR
)));
59612 SWIG_Python_SetConstant(d
, "FORWARD",SWIG_From_int(static_cast< int >(wxFORWARD
)));
59613 SWIG_Python_SetConstant(d
, "BACKWARD",SWIG_From_int(static_cast< int >(wxBACKWARD
)));
59614 SWIG_Python_SetConstant(d
, "RESET",SWIG_From_int(static_cast< int >(wxRESET
)));
59615 SWIG_Python_SetConstant(d
, "HELP",SWIG_From_int(static_cast< int >(wxHELP
)));
59616 SWIG_Python_SetConstant(d
, "MORE",SWIG_From_int(static_cast< int >(wxMORE
)));
59617 SWIG_Python_SetConstant(d
, "SETUP",SWIG_From_int(static_cast< int >(wxSETUP
)));
59618 SWIG_Python_SetConstant(d
, "SIZE_AUTO_WIDTH",SWIG_From_int(static_cast< int >(wxSIZE_AUTO_WIDTH
)));
59619 SWIG_Python_SetConstant(d
, "SIZE_AUTO_HEIGHT",SWIG_From_int(static_cast< int >(wxSIZE_AUTO_HEIGHT
)));
59620 SWIG_Python_SetConstant(d
, "SIZE_AUTO",SWIG_From_int(static_cast< int >(wxSIZE_AUTO
)));
59621 SWIG_Python_SetConstant(d
, "SIZE_USE_EXISTING",SWIG_From_int(static_cast< int >(wxSIZE_USE_EXISTING
)));
59622 SWIG_Python_SetConstant(d
, "SIZE_ALLOW_MINUS_ONE",SWIG_From_int(static_cast< int >(wxSIZE_ALLOW_MINUS_ONE
)));
59623 SWIG_Python_SetConstant(d
, "SIZE_FORCE",SWIG_From_int(static_cast< int >(wxSIZE_FORCE
)));
59624 SWIG_Python_SetConstant(d
, "PORTRAIT",SWIG_From_int(static_cast< int >(wxPORTRAIT
)));
59625 SWIG_Python_SetConstant(d
, "LANDSCAPE",SWIG_From_int(static_cast< int >(wxLANDSCAPE
)));
59626 SWIG_Python_SetConstant(d
, "PRINT_QUALITY_HIGH",SWIG_From_int(static_cast< int >(wxPRINT_QUALITY_HIGH
)));
59627 SWIG_Python_SetConstant(d
, "PRINT_QUALITY_MEDIUM",SWIG_From_int(static_cast< int >(wxPRINT_QUALITY_MEDIUM
)));
59628 SWIG_Python_SetConstant(d
, "PRINT_QUALITY_LOW",SWIG_From_int(static_cast< int >(wxPRINT_QUALITY_LOW
)));
59629 SWIG_Python_SetConstant(d
, "PRINT_QUALITY_DRAFT",SWIG_From_int(static_cast< int >(wxPRINT_QUALITY_DRAFT
)));
59630 SWIG_Python_SetConstant(d
, "ID_ANY",SWIG_From_int(static_cast< int >(wxID_ANY
)));
59631 SWIG_Python_SetConstant(d
, "ID_SEPARATOR",SWIG_From_int(static_cast< int >(wxID_SEPARATOR
)));
59632 SWIG_Python_SetConstant(d
, "ID_NONE",SWIG_From_int(static_cast< int >(wxID_NONE
)));
59633 SWIG_Python_SetConstant(d
, "ID_LOWEST",SWIG_From_int(static_cast< int >(wxID_LOWEST
)));
59634 SWIG_Python_SetConstant(d
, "ID_OPEN",SWIG_From_int(static_cast< int >(wxID_OPEN
)));
59635 SWIG_Python_SetConstant(d
, "ID_CLOSE",SWIG_From_int(static_cast< int >(wxID_CLOSE
)));
59636 SWIG_Python_SetConstant(d
, "ID_NEW",SWIG_From_int(static_cast< int >(wxID_NEW
)));
59637 SWIG_Python_SetConstant(d
, "ID_SAVE",SWIG_From_int(static_cast< int >(wxID_SAVE
)));
59638 SWIG_Python_SetConstant(d
, "ID_SAVEAS",SWIG_From_int(static_cast< int >(wxID_SAVEAS
)));
59639 SWIG_Python_SetConstant(d
, "ID_REVERT",SWIG_From_int(static_cast< int >(wxID_REVERT
)));
59640 SWIG_Python_SetConstant(d
, "ID_EXIT",SWIG_From_int(static_cast< int >(wxID_EXIT
)));
59641 SWIG_Python_SetConstant(d
, "ID_UNDO",SWIG_From_int(static_cast< int >(wxID_UNDO
)));
59642 SWIG_Python_SetConstant(d
, "ID_REDO",SWIG_From_int(static_cast< int >(wxID_REDO
)));
59643 SWIG_Python_SetConstant(d
, "ID_HELP",SWIG_From_int(static_cast< int >(wxID_HELP
)));
59644 SWIG_Python_SetConstant(d
, "ID_PRINT",SWIG_From_int(static_cast< int >(wxID_PRINT
)));
59645 SWIG_Python_SetConstant(d
, "ID_PRINT_SETUP",SWIG_From_int(static_cast< int >(wxID_PRINT_SETUP
)));
59646 SWIG_Python_SetConstant(d
, "ID_PAGE_SETUP",SWIG_From_int(static_cast< int >(wxID_PAGE_SETUP
)));
59647 SWIG_Python_SetConstant(d
, "ID_PREVIEW",SWIG_From_int(static_cast< int >(wxID_PREVIEW
)));
59648 SWIG_Python_SetConstant(d
, "ID_ABOUT",SWIG_From_int(static_cast< int >(wxID_ABOUT
)));
59649 SWIG_Python_SetConstant(d
, "ID_HELP_CONTENTS",SWIG_From_int(static_cast< int >(wxID_HELP_CONTENTS
)));
59650 SWIG_Python_SetConstant(d
, "ID_HELP_COMMANDS",SWIG_From_int(static_cast< int >(wxID_HELP_COMMANDS
)));
59651 SWIG_Python_SetConstant(d
, "ID_HELP_PROCEDURES",SWIG_From_int(static_cast< int >(wxID_HELP_PROCEDURES
)));
59652 SWIG_Python_SetConstant(d
, "ID_HELP_CONTEXT",SWIG_From_int(static_cast< int >(wxID_HELP_CONTEXT
)));
59653 SWIG_Python_SetConstant(d
, "ID_HELP_INDEX",SWIG_From_int(static_cast< int >(wxID_HELP_INDEX
)));
59654 SWIG_Python_SetConstant(d
, "ID_HELP_SEARCH",SWIG_From_int(static_cast< int >(wxID_HELP_SEARCH
)));
59655 SWIG_Python_SetConstant(d
, "ID_CLOSE_ALL",SWIG_From_int(static_cast< int >(wxID_CLOSE_ALL
)));
59656 SWIG_Python_SetConstant(d
, "ID_PREFERENCES",SWIG_From_int(static_cast< int >(wxID_PREFERENCES
)));
59657 SWIG_Python_SetConstant(d
, "ID_EDIT",SWIG_From_int(static_cast< int >(wxID_EDIT
)));
59658 SWIG_Python_SetConstant(d
, "ID_CUT",SWIG_From_int(static_cast< int >(wxID_CUT
)));
59659 SWIG_Python_SetConstant(d
, "ID_COPY",SWIG_From_int(static_cast< int >(wxID_COPY
)));
59660 SWIG_Python_SetConstant(d
, "ID_PASTE",SWIG_From_int(static_cast< int >(wxID_PASTE
)));
59661 SWIG_Python_SetConstant(d
, "ID_CLEAR",SWIG_From_int(static_cast< int >(wxID_CLEAR
)));
59662 SWIG_Python_SetConstant(d
, "ID_FIND",SWIG_From_int(static_cast< int >(wxID_FIND
)));
59663 SWIG_Python_SetConstant(d
, "ID_DUPLICATE",SWIG_From_int(static_cast< int >(wxID_DUPLICATE
)));
59664 SWIG_Python_SetConstant(d
, "ID_SELECTALL",SWIG_From_int(static_cast< int >(wxID_SELECTALL
)));
59665 SWIG_Python_SetConstant(d
, "ID_DELETE",SWIG_From_int(static_cast< int >(wxID_DELETE
)));
59666 SWIG_Python_SetConstant(d
, "ID_REPLACE",SWIG_From_int(static_cast< int >(wxID_REPLACE
)));
59667 SWIG_Python_SetConstant(d
, "ID_REPLACE_ALL",SWIG_From_int(static_cast< int >(wxID_REPLACE_ALL
)));
59668 SWIG_Python_SetConstant(d
, "ID_PROPERTIES",SWIG_From_int(static_cast< int >(wxID_PROPERTIES
)));
59669 SWIG_Python_SetConstant(d
, "ID_VIEW_DETAILS",SWIG_From_int(static_cast< int >(wxID_VIEW_DETAILS
)));
59670 SWIG_Python_SetConstant(d
, "ID_VIEW_LARGEICONS",SWIG_From_int(static_cast< int >(wxID_VIEW_LARGEICONS
)));
59671 SWIG_Python_SetConstant(d
, "ID_VIEW_SMALLICONS",SWIG_From_int(static_cast< int >(wxID_VIEW_SMALLICONS
)));
59672 SWIG_Python_SetConstant(d
, "ID_VIEW_LIST",SWIG_From_int(static_cast< int >(wxID_VIEW_LIST
)));
59673 SWIG_Python_SetConstant(d
, "ID_VIEW_SORTDATE",SWIG_From_int(static_cast< int >(wxID_VIEW_SORTDATE
)));
59674 SWIG_Python_SetConstant(d
, "ID_VIEW_SORTNAME",SWIG_From_int(static_cast< int >(wxID_VIEW_SORTNAME
)));
59675 SWIG_Python_SetConstant(d
, "ID_VIEW_SORTSIZE",SWIG_From_int(static_cast< int >(wxID_VIEW_SORTSIZE
)));
59676 SWIG_Python_SetConstant(d
, "ID_VIEW_SORTTYPE",SWIG_From_int(static_cast< int >(wxID_VIEW_SORTTYPE
)));
59677 SWIG_Python_SetConstant(d
, "ID_FILE",SWIG_From_int(static_cast< int >(wxID_FILE
)));
59678 SWIG_Python_SetConstant(d
, "ID_FILE1",SWIG_From_int(static_cast< int >(wxID_FILE1
)));
59679 SWIG_Python_SetConstant(d
, "ID_FILE2",SWIG_From_int(static_cast< int >(wxID_FILE2
)));
59680 SWIG_Python_SetConstant(d
, "ID_FILE3",SWIG_From_int(static_cast< int >(wxID_FILE3
)));
59681 SWIG_Python_SetConstant(d
, "ID_FILE4",SWIG_From_int(static_cast< int >(wxID_FILE4
)));
59682 SWIG_Python_SetConstant(d
, "ID_FILE5",SWIG_From_int(static_cast< int >(wxID_FILE5
)));
59683 SWIG_Python_SetConstant(d
, "ID_FILE6",SWIG_From_int(static_cast< int >(wxID_FILE6
)));
59684 SWIG_Python_SetConstant(d
, "ID_FILE7",SWIG_From_int(static_cast< int >(wxID_FILE7
)));
59685 SWIG_Python_SetConstant(d
, "ID_FILE8",SWIG_From_int(static_cast< int >(wxID_FILE8
)));
59686 SWIG_Python_SetConstant(d
, "ID_FILE9",SWIG_From_int(static_cast< int >(wxID_FILE9
)));
59687 SWIG_Python_SetConstant(d
, "ID_OK",SWIG_From_int(static_cast< int >(wxID_OK
)));
59688 SWIG_Python_SetConstant(d
, "ID_CANCEL",SWIG_From_int(static_cast< int >(wxID_CANCEL
)));
59689 SWIG_Python_SetConstant(d
, "ID_APPLY",SWIG_From_int(static_cast< int >(wxID_APPLY
)));
59690 SWIG_Python_SetConstant(d
, "ID_YES",SWIG_From_int(static_cast< int >(wxID_YES
)));
59691 SWIG_Python_SetConstant(d
, "ID_NO",SWIG_From_int(static_cast< int >(wxID_NO
)));
59692 SWIG_Python_SetConstant(d
, "ID_STATIC",SWIG_From_int(static_cast< int >(wxID_STATIC
)));
59693 SWIG_Python_SetConstant(d
, "ID_FORWARD",SWIG_From_int(static_cast< int >(wxID_FORWARD
)));
59694 SWIG_Python_SetConstant(d
, "ID_BACKWARD",SWIG_From_int(static_cast< int >(wxID_BACKWARD
)));
59695 SWIG_Python_SetConstant(d
, "ID_DEFAULT",SWIG_From_int(static_cast< int >(wxID_DEFAULT
)));
59696 SWIG_Python_SetConstant(d
, "ID_MORE",SWIG_From_int(static_cast< int >(wxID_MORE
)));
59697 SWIG_Python_SetConstant(d
, "ID_SETUP",SWIG_From_int(static_cast< int >(wxID_SETUP
)));
59698 SWIG_Python_SetConstant(d
, "ID_RESET",SWIG_From_int(static_cast< int >(wxID_RESET
)));
59699 SWIG_Python_SetConstant(d
, "ID_CONTEXT_HELP",SWIG_From_int(static_cast< int >(wxID_CONTEXT_HELP
)));
59700 SWIG_Python_SetConstant(d
, "ID_YESTOALL",SWIG_From_int(static_cast< int >(wxID_YESTOALL
)));
59701 SWIG_Python_SetConstant(d
, "ID_NOTOALL",SWIG_From_int(static_cast< int >(wxID_NOTOALL
)));
59702 SWIG_Python_SetConstant(d
, "ID_ABORT",SWIG_From_int(static_cast< int >(wxID_ABORT
)));
59703 SWIG_Python_SetConstant(d
, "ID_RETRY",SWIG_From_int(static_cast< int >(wxID_RETRY
)));
59704 SWIG_Python_SetConstant(d
, "ID_IGNORE",SWIG_From_int(static_cast< int >(wxID_IGNORE
)));
59705 SWIG_Python_SetConstant(d
, "ID_ADD",SWIG_From_int(static_cast< int >(wxID_ADD
)));
59706 SWIG_Python_SetConstant(d
, "ID_REMOVE",SWIG_From_int(static_cast< int >(wxID_REMOVE
)));
59707 SWIG_Python_SetConstant(d
, "ID_UP",SWIG_From_int(static_cast< int >(wxID_UP
)));
59708 SWIG_Python_SetConstant(d
, "ID_DOWN",SWIG_From_int(static_cast< int >(wxID_DOWN
)));
59709 SWIG_Python_SetConstant(d
, "ID_HOME",SWIG_From_int(static_cast< int >(wxID_HOME
)));
59710 SWIG_Python_SetConstant(d
, "ID_REFRESH",SWIG_From_int(static_cast< int >(wxID_REFRESH
)));
59711 SWIG_Python_SetConstant(d
, "ID_STOP",SWIG_From_int(static_cast< int >(wxID_STOP
)));
59712 SWIG_Python_SetConstant(d
, "ID_INDEX",SWIG_From_int(static_cast< int >(wxID_INDEX
)));
59713 SWIG_Python_SetConstant(d
, "ID_BOLD",SWIG_From_int(static_cast< int >(wxID_BOLD
)));
59714 SWIG_Python_SetConstant(d
, "ID_ITALIC",SWIG_From_int(static_cast< int >(wxID_ITALIC
)));
59715 SWIG_Python_SetConstant(d
, "ID_JUSTIFY_CENTER",SWIG_From_int(static_cast< int >(wxID_JUSTIFY_CENTER
)));
59716 SWIG_Python_SetConstant(d
, "ID_JUSTIFY_FILL",SWIG_From_int(static_cast< int >(wxID_JUSTIFY_FILL
)));
59717 SWIG_Python_SetConstant(d
, "ID_JUSTIFY_RIGHT",SWIG_From_int(static_cast< int >(wxID_JUSTIFY_RIGHT
)));
59718 SWIG_Python_SetConstant(d
, "ID_JUSTIFY_LEFT",SWIG_From_int(static_cast< int >(wxID_JUSTIFY_LEFT
)));
59719 SWIG_Python_SetConstant(d
, "ID_UNDERLINE",SWIG_From_int(static_cast< int >(wxID_UNDERLINE
)));
59720 SWIG_Python_SetConstant(d
, "ID_INDENT",SWIG_From_int(static_cast< int >(wxID_INDENT
)));
59721 SWIG_Python_SetConstant(d
, "ID_UNINDENT",SWIG_From_int(static_cast< int >(wxID_UNINDENT
)));
59722 SWIG_Python_SetConstant(d
, "ID_ZOOM_100",SWIG_From_int(static_cast< int >(wxID_ZOOM_100
)));
59723 SWIG_Python_SetConstant(d
, "ID_ZOOM_FIT",SWIG_From_int(static_cast< int >(wxID_ZOOM_FIT
)));
59724 SWIG_Python_SetConstant(d
, "ID_ZOOM_IN",SWIG_From_int(static_cast< int >(wxID_ZOOM_IN
)));
59725 SWIG_Python_SetConstant(d
, "ID_ZOOM_OUT",SWIG_From_int(static_cast< int >(wxID_ZOOM_OUT
)));
59726 SWIG_Python_SetConstant(d
, "ID_UNDELETE",SWIG_From_int(static_cast< int >(wxID_UNDELETE
)));
59727 SWIG_Python_SetConstant(d
, "ID_REVERT_TO_SAVED",SWIG_From_int(static_cast< int >(wxID_REVERT_TO_SAVED
)));
59728 SWIG_Python_SetConstant(d
, "ID_HIGHEST",SWIG_From_int(static_cast< int >(wxID_HIGHEST
)));
59729 SWIG_Python_SetConstant(d
, "MENU_TEAROFF",SWIG_From_int(static_cast< int >(wxMENU_TEAROFF
)));
59730 SWIG_Python_SetConstant(d
, "MB_DOCKABLE",SWIG_From_int(static_cast< int >(wxMB_DOCKABLE
)));
59731 SWIG_Python_SetConstant(d
, "NO_FULL_REPAINT_ON_RESIZE",SWIG_From_int(static_cast< int >(wxNO_FULL_REPAINT_ON_RESIZE
)));
59732 SWIG_Python_SetConstant(d
, "FULL_REPAINT_ON_RESIZE",SWIG_From_int(static_cast< int >(wxFULL_REPAINT_ON_RESIZE
)));
59733 SWIG_Python_SetConstant(d
, "LI_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLI_HORIZONTAL
)));
59734 SWIG_Python_SetConstant(d
, "LI_VERTICAL",SWIG_From_int(static_cast< int >(wxLI_VERTICAL
)));
59735 SWIG_Python_SetConstant(d
, "WS_EX_VALIDATE_RECURSIVELY",SWIG_From_int(static_cast< int >(wxWS_EX_VALIDATE_RECURSIVELY
)));
59736 SWIG_Python_SetConstant(d
, "WS_EX_BLOCK_EVENTS",SWIG_From_int(static_cast< int >(wxWS_EX_BLOCK_EVENTS
)));
59737 SWIG_Python_SetConstant(d
, "WS_EX_TRANSIENT",SWIG_From_int(static_cast< int >(wxWS_EX_TRANSIENT
)));
59738 SWIG_Python_SetConstant(d
, "WS_EX_THEMED_BACKGROUND",SWIG_From_int(static_cast< int >(wxWS_EX_THEMED_BACKGROUND
)));
59739 SWIG_Python_SetConstant(d
, "WS_EX_PROCESS_IDLE",SWIG_From_int(static_cast< int >(wxWS_EX_PROCESS_IDLE
)));
59740 SWIG_Python_SetConstant(d
, "WS_EX_PROCESS_UI_UPDATES",SWIG_From_int(static_cast< int >(wxWS_EX_PROCESS_UI_UPDATES
)));
59741 SWIG_Python_SetConstant(d
, "MM_TEXT",SWIG_From_int(static_cast< int >(wxMM_TEXT
)));
59742 SWIG_Python_SetConstant(d
, "MM_LOMETRIC",SWIG_From_int(static_cast< int >(wxMM_LOMETRIC
)));
59743 SWIG_Python_SetConstant(d
, "MM_HIMETRIC",SWIG_From_int(static_cast< int >(wxMM_HIMETRIC
)));
59744 SWIG_Python_SetConstant(d
, "MM_LOENGLISH",SWIG_From_int(static_cast< int >(wxMM_LOENGLISH
)));
59745 SWIG_Python_SetConstant(d
, "MM_HIENGLISH",SWIG_From_int(static_cast< int >(wxMM_HIENGLISH
)));
59746 SWIG_Python_SetConstant(d
, "MM_TWIPS",SWIG_From_int(static_cast< int >(wxMM_TWIPS
)));
59747 SWIG_Python_SetConstant(d
, "MM_ISOTROPIC",SWIG_From_int(static_cast< int >(wxMM_ISOTROPIC
)));
59748 SWIG_Python_SetConstant(d
, "MM_ANISOTROPIC",SWIG_From_int(static_cast< int >(wxMM_ANISOTROPIC
)));
59749 SWIG_Python_SetConstant(d
, "MM_POINTS",SWIG_From_int(static_cast< int >(wxMM_POINTS
)));
59750 SWIG_Python_SetConstant(d
, "MM_METRIC",SWIG_From_int(static_cast< int >(wxMM_METRIC
)));
59751 SWIG_Python_SetConstant(d
, "CENTRE",SWIG_From_int(static_cast< int >(wxCENTRE
)));
59752 SWIG_Python_SetConstant(d
, "CENTER",SWIG_From_int(static_cast< int >(wxCENTER
)));
59753 SWIG_Python_SetConstant(d
, "HORIZONTAL",SWIG_From_int(static_cast< int >(wxHORIZONTAL
)));
59754 SWIG_Python_SetConstant(d
, "VERTICAL",SWIG_From_int(static_cast< int >(wxVERTICAL
)));
59755 SWIG_Python_SetConstant(d
, "BOTH",SWIG_From_int(static_cast< int >(wxBOTH
)));
59756 SWIG_Python_SetConstant(d
, "LEFT",SWIG_From_int(static_cast< int >(wxLEFT
)));
59757 SWIG_Python_SetConstant(d
, "RIGHT",SWIG_From_int(static_cast< int >(wxRIGHT
)));
59758 SWIG_Python_SetConstant(d
, "UP",SWIG_From_int(static_cast< int >(wxUP
)));
59759 SWIG_Python_SetConstant(d
, "DOWN",SWIG_From_int(static_cast< int >(wxDOWN
)));
59760 SWIG_Python_SetConstant(d
, "TOP",SWIG_From_int(static_cast< int >(wxTOP
)));
59761 SWIG_Python_SetConstant(d
, "BOTTOM",SWIG_From_int(static_cast< int >(wxBOTTOM
)));
59762 SWIG_Python_SetConstant(d
, "NORTH",SWIG_From_int(static_cast< int >(wxNORTH
)));
59763 SWIG_Python_SetConstant(d
, "SOUTH",SWIG_From_int(static_cast< int >(wxSOUTH
)));
59764 SWIG_Python_SetConstant(d
, "WEST",SWIG_From_int(static_cast< int >(wxWEST
)));
59765 SWIG_Python_SetConstant(d
, "EAST",SWIG_From_int(static_cast< int >(wxEAST
)));
59766 SWIG_Python_SetConstant(d
, "ALL",SWIG_From_int(static_cast< int >(wxALL
)));
59767 SWIG_Python_SetConstant(d
, "ALIGN_NOT",SWIG_From_int(static_cast< int >(wxALIGN_NOT
)));
59768 SWIG_Python_SetConstant(d
, "ALIGN_CENTER_HORIZONTAL",SWIG_From_int(static_cast< int >(wxALIGN_CENTER_HORIZONTAL
)));
59769 SWIG_Python_SetConstant(d
, "ALIGN_CENTRE_HORIZONTAL",SWIG_From_int(static_cast< int >(wxALIGN_CENTRE_HORIZONTAL
)));
59770 SWIG_Python_SetConstant(d
, "ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxALIGN_LEFT
)));
59771 SWIG_Python_SetConstant(d
, "ALIGN_TOP",SWIG_From_int(static_cast< int >(wxALIGN_TOP
)));
59772 SWIG_Python_SetConstant(d
, "ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxALIGN_RIGHT
)));
59773 SWIG_Python_SetConstant(d
, "ALIGN_BOTTOM",SWIG_From_int(static_cast< int >(wxALIGN_BOTTOM
)));
59774 SWIG_Python_SetConstant(d
, "ALIGN_CENTER_VERTICAL",SWIG_From_int(static_cast< int >(wxALIGN_CENTER_VERTICAL
)));
59775 SWIG_Python_SetConstant(d
, "ALIGN_CENTRE_VERTICAL",SWIG_From_int(static_cast< int >(wxALIGN_CENTRE_VERTICAL
)));
59776 SWIG_Python_SetConstant(d
, "ALIGN_CENTER",SWIG_From_int(static_cast< int >(wxALIGN_CENTER
)));
59777 SWIG_Python_SetConstant(d
, "ALIGN_CENTRE",SWIG_From_int(static_cast< int >(wxALIGN_CENTRE
)));
59778 SWIG_Python_SetConstant(d
, "ALIGN_MASK",SWIG_From_int(static_cast< int >(wxALIGN_MASK
)));
59779 SWIG_Python_SetConstant(d
, "STRETCH_NOT",SWIG_From_int(static_cast< int >(wxSTRETCH_NOT
)));
59780 SWIG_Python_SetConstant(d
, "SHRINK",SWIG_From_int(static_cast< int >(wxSHRINK
)));
59781 SWIG_Python_SetConstant(d
, "GROW",SWIG_From_int(static_cast< int >(wxGROW
)));
59782 SWIG_Python_SetConstant(d
, "EXPAND",SWIG_From_int(static_cast< int >(wxEXPAND
)));
59783 SWIG_Python_SetConstant(d
, "SHAPED",SWIG_From_int(static_cast< int >(wxSHAPED
)));
59784 SWIG_Python_SetConstant(d
, "FIXED_MINSIZE",SWIG_From_int(static_cast< int >(wxFIXED_MINSIZE
)));
59785 SWIG_Python_SetConstant(d
, "TILE",SWIG_From_int(static_cast< int >(wxTILE
)));
59786 SWIG_Python_SetConstant(d
, "ADJUST_MINSIZE",SWIG_From_int(static_cast< int >(wxADJUST_MINSIZE
)));
59787 SWIG_Python_SetConstant(d
, "BORDER_DEFAULT",SWIG_From_int(static_cast< int >(wxBORDER_DEFAULT
)));
59788 SWIG_Python_SetConstant(d
, "BORDER_NONE",SWIG_From_int(static_cast< int >(wxBORDER_NONE
)));
59789 SWIG_Python_SetConstant(d
, "BORDER_STATIC",SWIG_From_int(static_cast< int >(wxBORDER_STATIC
)));
59790 SWIG_Python_SetConstant(d
, "BORDER_SIMPLE",SWIG_From_int(static_cast< int >(wxBORDER_SIMPLE
)));
59791 SWIG_Python_SetConstant(d
, "BORDER_RAISED",SWIG_From_int(static_cast< int >(wxBORDER_RAISED
)));
59792 SWIG_Python_SetConstant(d
, "BORDER_SUNKEN",SWIG_From_int(static_cast< int >(wxBORDER_SUNKEN
)));
59793 SWIG_Python_SetConstant(d
, "BORDER_DOUBLE",SWIG_From_int(static_cast< int >(wxBORDER_DOUBLE
)));
59794 SWIG_Python_SetConstant(d
, "BORDER_MASK",SWIG_From_int(static_cast< int >(wxBORDER_MASK
)));
59795 SWIG_Python_SetConstant(d
, "BG_STYLE_SYSTEM",SWIG_From_int(static_cast< int >(wxBG_STYLE_SYSTEM
)));
59796 SWIG_Python_SetConstant(d
, "BG_STYLE_COLOUR",SWIG_From_int(static_cast< int >(wxBG_STYLE_COLOUR
)));
59797 SWIG_Python_SetConstant(d
, "BG_STYLE_CUSTOM",SWIG_From_int(static_cast< int >(wxBG_STYLE_CUSTOM
)));
59798 SWIG_Python_SetConstant(d
, "DEFAULT",SWIG_From_int(static_cast< int >(wxDEFAULT
)));
59799 SWIG_Python_SetConstant(d
, "DECORATIVE",SWIG_From_int(static_cast< int >(wxDECORATIVE
)));
59800 SWIG_Python_SetConstant(d
, "ROMAN",SWIG_From_int(static_cast< int >(wxROMAN
)));
59801 SWIG_Python_SetConstant(d
, "SCRIPT",SWIG_From_int(static_cast< int >(wxSCRIPT
)));
59802 SWIG_Python_SetConstant(d
, "SWISS",SWIG_From_int(static_cast< int >(wxSWISS
)));
59803 SWIG_Python_SetConstant(d
, "MODERN",SWIG_From_int(static_cast< int >(wxMODERN
)));
59804 SWIG_Python_SetConstant(d
, "TELETYPE",SWIG_From_int(static_cast< int >(wxTELETYPE
)));
59805 SWIG_Python_SetConstant(d
, "VARIABLE",SWIG_From_int(static_cast< int >(wxVARIABLE
)));
59806 SWIG_Python_SetConstant(d
, "FIXED",SWIG_From_int(static_cast< int >(wxFIXED
)));
59807 SWIG_Python_SetConstant(d
, "NORMAL",SWIG_From_int(static_cast< int >(wxNORMAL
)));
59808 SWIG_Python_SetConstant(d
, "LIGHT",SWIG_From_int(static_cast< int >(wxLIGHT
)));
59809 SWIG_Python_SetConstant(d
, "BOLD",SWIG_From_int(static_cast< int >(wxBOLD
)));
59810 SWIG_Python_SetConstant(d
, "ITALIC",SWIG_From_int(static_cast< int >(wxITALIC
)));
59811 SWIG_Python_SetConstant(d
, "SLANT",SWIG_From_int(static_cast< int >(wxSLANT
)));
59812 SWIG_Python_SetConstant(d
, "SOLID",SWIG_From_int(static_cast< int >(wxSOLID
)));
59813 SWIG_Python_SetConstant(d
, "DOT",SWIG_From_int(static_cast< int >(wxDOT
)));
59814 SWIG_Python_SetConstant(d
, "LONG_DASH",SWIG_From_int(static_cast< int >(wxLONG_DASH
)));
59815 SWIG_Python_SetConstant(d
, "SHORT_DASH",SWIG_From_int(static_cast< int >(wxSHORT_DASH
)));
59816 SWIG_Python_SetConstant(d
, "DOT_DASH",SWIG_From_int(static_cast< int >(wxDOT_DASH
)));
59817 SWIG_Python_SetConstant(d
, "USER_DASH",SWIG_From_int(static_cast< int >(wxUSER_DASH
)));
59818 SWIG_Python_SetConstant(d
, "TRANSPARENT",SWIG_From_int(static_cast< int >(wxTRANSPARENT
)));
59819 SWIG_Python_SetConstant(d
, "STIPPLE",SWIG_From_int(static_cast< int >(wxSTIPPLE
)));
59820 SWIG_Python_SetConstant(d
, "STIPPLE_MASK",SWIG_From_int(static_cast< int >(wxSTIPPLE_MASK
)));
59821 SWIG_Python_SetConstant(d
, "STIPPLE_MASK_OPAQUE",SWIG_From_int(static_cast< int >(wxSTIPPLE_MASK_OPAQUE
)));
59822 SWIG_Python_SetConstant(d
, "BDIAGONAL_HATCH",SWIG_From_int(static_cast< int >(wxBDIAGONAL_HATCH
)));
59823 SWIG_Python_SetConstant(d
, "CROSSDIAG_HATCH",SWIG_From_int(static_cast< int >(wxCROSSDIAG_HATCH
)));
59824 SWIG_Python_SetConstant(d
, "FDIAGONAL_HATCH",SWIG_From_int(static_cast< int >(wxFDIAGONAL_HATCH
)));
59825 SWIG_Python_SetConstant(d
, "CROSS_HATCH",SWIG_From_int(static_cast< int >(wxCROSS_HATCH
)));
59826 SWIG_Python_SetConstant(d
, "HORIZONTAL_HATCH",SWIG_From_int(static_cast< int >(wxHORIZONTAL_HATCH
)));
59827 SWIG_Python_SetConstant(d
, "VERTICAL_HATCH",SWIG_From_int(static_cast< int >(wxVERTICAL_HATCH
)));
59828 SWIG_Python_SetConstant(d
, "JOIN_BEVEL",SWIG_From_int(static_cast< int >(wxJOIN_BEVEL
)));
59829 SWIG_Python_SetConstant(d
, "JOIN_MITER",SWIG_From_int(static_cast< int >(wxJOIN_MITER
)));
59830 SWIG_Python_SetConstant(d
, "JOIN_ROUND",SWIG_From_int(static_cast< int >(wxJOIN_ROUND
)));
59831 SWIG_Python_SetConstant(d
, "CAP_ROUND",SWIG_From_int(static_cast< int >(wxCAP_ROUND
)));
59832 SWIG_Python_SetConstant(d
, "CAP_PROJECTING",SWIG_From_int(static_cast< int >(wxCAP_PROJECTING
)));
59833 SWIG_Python_SetConstant(d
, "CAP_BUTT",SWIG_From_int(static_cast< int >(wxCAP_BUTT
)));
59834 SWIG_Python_SetConstant(d
, "CLEAR",SWIG_From_int(static_cast< int >(wxCLEAR
)));
59835 SWIG_Python_SetConstant(d
, "XOR",SWIG_From_int(static_cast< int >(wxXOR
)));
59836 SWIG_Python_SetConstant(d
, "INVERT",SWIG_From_int(static_cast< int >(wxINVERT
)));
59837 SWIG_Python_SetConstant(d
, "OR_REVERSE",SWIG_From_int(static_cast< int >(wxOR_REVERSE
)));
59838 SWIG_Python_SetConstant(d
, "AND_REVERSE",SWIG_From_int(static_cast< int >(wxAND_REVERSE
)));
59839 SWIG_Python_SetConstant(d
, "COPY",SWIG_From_int(static_cast< int >(wxCOPY
)));
59840 SWIG_Python_SetConstant(d
, "AND",SWIG_From_int(static_cast< int >(wxAND
)));
59841 SWIG_Python_SetConstant(d
, "AND_INVERT",SWIG_From_int(static_cast< int >(wxAND_INVERT
)));
59842 SWIG_Python_SetConstant(d
, "NO_OP",SWIG_From_int(static_cast< int >(wxNO_OP
)));
59843 SWIG_Python_SetConstant(d
, "NOR",SWIG_From_int(static_cast< int >(wxNOR
)));
59844 SWIG_Python_SetConstant(d
, "EQUIV",SWIG_From_int(static_cast< int >(wxEQUIV
)));
59845 SWIG_Python_SetConstant(d
, "SRC_INVERT",SWIG_From_int(static_cast< int >(wxSRC_INVERT
)));
59846 SWIG_Python_SetConstant(d
, "OR_INVERT",SWIG_From_int(static_cast< int >(wxOR_INVERT
)));
59847 SWIG_Python_SetConstant(d
, "NAND",SWIG_From_int(static_cast< int >(wxNAND
)));
59848 SWIG_Python_SetConstant(d
, "OR",SWIG_From_int(static_cast< int >(wxOR
)));
59849 SWIG_Python_SetConstant(d
, "SET",SWIG_From_int(static_cast< int >(wxSET
)));
59850 SWIG_Python_SetConstant(d
, "WXK_BACK",SWIG_From_int(static_cast< int >(WXK_BACK
)));
59851 SWIG_Python_SetConstant(d
, "WXK_TAB",SWIG_From_int(static_cast< int >(WXK_TAB
)));
59852 SWIG_Python_SetConstant(d
, "WXK_RETURN",SWIG_From_int(static_cast< int >(WXK_RETURN
)));
59853 SWIG_Python_SetConstant(d
, "WXK_ESCAPE",SWIG_From_int(static_cast< int >(WXK_ESCAPE
)));
59854 SWIG_Python_SetConstant(d
, "WXK_SPACE",SWIG_From_int(static_cast< int >(WXK_SPACE
)));
59855 SWIG_Python_SetConstant(d
, "WXK_DELETE",SWIG_From_int(static_cast< int >(WXK_DELETE
)));
59856 SWIG_Python_SetConstant(d
, "WXK_START",SWIG_From_int(static_cast< int >(WXK_START
)));
59857 SWIG_Python_SetConstant(d
, "WXK_LBUTTON",SWIG_From_int(static_cast< int >(WXK_LBUTTON
)));
59858 SWIG_Python_SetConstant(d
, "WXK_RBUTTON",SWIG_From_int(static_cast< int >(WXK_RBUTTON
)));
59859 SWIG_Python_SetConstant(d
, "WXK_CANCEL",SWIG_From_int(static_cast< int >(WXK_CANCEL
)));
59860 SWIG_Python_SetConstant(d
, "WXK_MBUTTON",SWIG_From_int(static_cast< int >(WXK_MBUTTON
)));
59861 SWIG_Python_SetConstant(d
, "WXK_CLEAR",SWIG_From_int(static_cast< int >(WXK_CLEAR
)));
59862 SWIG_Python_SetConstant(d
, "WXK_SHIFT",SWIG_From_int(static_cast< int >(WXK_SHIFT
)));
59863 SWIG_Python_SetConstant(d
, "WXK_ALT",SWIG_From_int(static_cast< int >(WXK_ALT
)));
59864 SWIG_Python_SetConstant(d
, "WXK_CONTROL",SWIG_From_int(static_cast< int >(WXK_CONTROL
)));
59865 SWIG_Python_SetConstant(d
, "WXK_MENU",SWIG_From_int(static_cast< int >(WXK_MENU
)));
59866 SWIG_Python_SetConstant(d
, "WXK_PAUSE",SWIG_From_int(static_cast< int >(WXK_PAUSE
)));
59867 SWIG_Python_SetConstant(d
, "WXK_CAPITAL",SWIG_From_int(static_cast< int >(WXK_CAPITAL
)));
59868 SWIG_Python_SetConstant(d
, "WXK_PRIOR",SWIG_From_int(static_cast< int >(WXK_PRIOR
)));
59869 SWIG_Python_SetConstant(d
, "WXK_NEXT",SWIG_From_int(static_cast< int >(WXK_NEXT
)));
59870 SWIG_Python_SetConstant(d
, "WXK_END",SWIG_From_int(static_cast< int >(WXK_END
)));
59871 SWIG_Python_SetConstant(d
, "WXK_HOME",SWIG_From_int(static_cast< int >(WXK_HOME
)));
59872 SWIG_Python_SetConstant(d
, "WXK_LEFT",SWIG_From_int(static_cast< int >(WXK_LEFT
)));
59873 SWIG_Python_SetConstant(d
, "WXK_UP",SWIG_From_int(static_cast< int >(WXK_UP
)));
59874 SWIG_Python_SetConstant(d
, "WXK_RIGHT",SWIG_From_int(static_cast< int >(WXK_RIGHT
)));
59875 SWIG_Python_SetConstant(d
, "WXK_DOWN",SWIG_From_int(static_cast< int >(WXK_DOWN
)));
59876 SWIG_Python_SetConstant(d
, "WXK_SELECT",SWIG_From_int(static_cast< int >(WXK_SELECT
)));
59877 SWIG_Python_SetConstant(d
, "WXK_PRINT",SWIG_From_int(static_cast< int >(WXK_PRINT
)));
59878 SWIG_Python_SetConstant(d
, "WXK_EXECUTE",SWIG_From_int(static_cast< int >(WXK_EXECUTE
)));
59879 SWIG_Python_SetConstant(d
, "WXK_SNAPSHOT",SWIG_From_int(static_cast< int >(WXK_SNAPSHOT
)));
59880 SWIG_Python_SetConstant(d
, "WXK_INSERT",SWIG_From_int(static_cast< int >(WXK_INSERT
)));
59881 SWIG_Python_SetConstant(d
, "WXK_HELP",SWIG_From_int(static_cast< int >(WXK_HELP
)));
59882 SWIG_Python_SetConstant(d
, "WXK_NUMPAD0",SWIG_From_int(static_cast< int >(WXK_NUMPAD0
)));
59883 SWIG_Python_SetConstant(d
, "WXK_NUMPAD1",SWIG_From_int(static_cast< int >(WXK_NUMPAD1
)));
59884 SWIG_Python_SetConstant(d
, "WXK_NUMPAD2",SWIG_From_int(static_cast< int >(WXK_NUMPAD2
)));
59885 SWIG_Python_SetConstant(d
, "WXK_NUMPAD3",SWIG_From_int(static_cast< int >(WXK_NUMPAD3
)));
59886 SWIG_Python_SetConstant(d
, "WXK_NUMPAD4",SWIG_From_int(static_cast< int >(WXK_NUMPAD4
)));
59887 SWIG_Python_SetConstant(d
, "WXK_NUMPAD5",SWIG_From_int(static_cast< int >(WXK_NUMPAD5
)));
59888 SWIG_Python_SetConstant(d
, "WXK_NUMPAD6",SWIG_From_int(static_cast< int >(WXK_NUMPAD6
)));
59889 SWIG_Python_SetConstant(d
, "WXK_NUMPAD7",SWIG_From_int(static_cast< int >(WXK_NUMPAD7
)));
59890 SWIG_Python_SetConstant(d
, "WXK_NUMPAD8",SWIG_From_int(static_cast< int >(WXK_NUMPAD8
)));
59891 SWIG_Python_SetConstant(d
, "WXK_NUMPAD9",SWIG_From_int(static_cast< int >(WXK_NUMPAD9
)));
59892 SWIG_Python_SetConstant(d
, "WXK_MULTIPLY",SWIG_From_int(static_cast< int >(WXK_MULTIPLY
)));
59893 SWIG_Python_SetConstant(d
, "WXK_ADD",SWIG_From_int(static_cast< int >(WXK_ADD
)));
59894 SWIG_Python_SetConstant(d
, "WXK_SEPARATOR",SWIG_From_int(static_cast< int >(WXK_SEPARATOR
)));
59895 SWIG_Python_SetConstant(d
, "WXK_SUBTRACT",SWIG_From_int(static_cast< int >(WXK_SUBTRACT
)));
59896 SWIG_Python_SetConstant(d
, "WXK_DECIMAL",SWIG_From_int(static_cast< int >(WXK_DECIMAL
)));
59897 SWIG_Python_SetConstant(d
, "WXK_DIVIDE",SWIG_From_int(static_cast< int >(WXK_DIVIDE
)));
59898 SWIG_Python_SetConstant(d
, "WXK_F1",SWIG_From_int(static_cast< int >(WXK_F1
)));
59899 SWIG_Python_SetConstant(d
, "WXK_F2",SWIG_From_int(static_cast< int >(WXK_F2
)));
59900 SWIG_Python_SetConstant(d
, "WXK_F3",SWIG_From_int(static_cast< int >(WXK_F3
)));
59901 SWIG_Python_SetConstant(d
, "WXK_F4",SWIG_From_int(static_cast< int >(WXK_F4
)));
59902 SWIG_Python_SetConstant(d
, "WXK_F5",SWIG_From_int(static_cast< int >(WXK_F5
)));
59903 SWIG_Python_SetConstant(d
, "WXK_F6",SWIG_From_int(static_cast< int >(WXK_F6
)));
59904 SWIG_Python_SetConstant(d
, "WXK_F7",SWIG_From_int(static_cast< int >(WXK_F7
)));
59905 SWIG_Python_SetConstant(d
, "WXK_F8",SWIG_From_int(static_cast< int >(WXK_F8
)));
59906 SWIG_Python_SetConstant(d
, "WXK_F9",SWIG_From_int(static_cast< int >(WXK_F9
)));
59907 SWIG_Python_SetConstant(d
, "WXK_F10",SWIG_From_int(static_cast< int >(WXK_F10
)));
59908 SWIG_Python_SetConstant(d
, "WXK_F11",SWIG_From_int(static_cast< int >(WXK_F11
)));
59909 SWIG_Python_SetConstant(d
, "WXK_F12",SWIG_From_int(static_cast< int >(WXK_F12
)));
59910 SWIG_Python_SetConstant(d
, "WXK_F13",SWIG_From_int(static_cast< int >(WXK_F13
)));
59911 SWIG_Python_SetConstant(d
, "WXK_F14",SWIG_From_int(static_cast< int >(WXK_F14
)));
59912 SWIG_Python_SetConstant(d
, "WXK_F15",SWIG_From_int(static_cast< int >(WXK_F15
)));
59913 SWIG_Python_SetConstant(d
, "WXK_F16",SWIG_From_int(static_cast< int >(WXK_F16
)));
59914 SWIG_Python_SetConstant(d
, "WXK_F17",SWIG_From_int(static_cast< int >(WXK_F17
)));
59915 SWIG_Python_SetConstant(d
, "WXK_F18",SWIG_From_int(static_cast< int >(WXK_F18
)));
59916 SWIG_Python_SetConstant(d
, "WXK_F19",SWIG_From_int(static_cast< int >(WXK_F19
)));
59917 SWIG_Python_SetConstant(d
, "WXK_F20",SWIG_From_int(static_cast< int >(WXK_F20
)));
59918 SWIG_Python_SetConstant(d
, "WXK_F21",SWIG_From_int(static_cast< int >(WXK_F21
)));
59919 SWIG_Python_SetConstant(d
, "WXK_F22",SWIG_From_int(static_cast< int >(WXK_F22
)));
59920 SWIG_Python_SetConstant(d
, "WXK_F23",SWIG_From_int(static_cast< int >(WXK_F23
)));
59921 SWIG_Python_SetConstant(d
, "WXK_F24",SWIG_From_int(static_cast< int >(WXK_F24
)));
59922 SWIG_Python_SetConstant(d
, "WXK_NUMLOCK",SWIG_From_int(static_cast< int >(WXK_NUMLOCK
)));
59923 SWIG_Python_SetConstant(d
, "WXK_SCROLL",SWIG_From_int(static_cast< int >(WXK_SCROLL
)));
59924 SWIG_Python_SetConstant(d
, "WXK_PAGEUP",SWIG_From_int(static_cast< int >(WXK_PAGEUP
)));
59925 SWIG_Python_SetConstant(d
, "WXK_PAGEDOWN",SWIG_From_int(static_cast< int >(WXK_PAGEDOWN
)));
59926 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_SPACE",SWIG_From_int(static_cast< int >(WXK_NUMPAD_SPACE
)));
59927 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_TAB",SWIG_From_int(static_cast< int >(WXK_NUMPAD_TAB
)));
59928 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_ENTER",SWIG_From_int(static_cast< int >(WXK_NUMPAD_ENTER
)));
59929 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_F1",SWIG_From_int(static_cast< int >(WXK_NUMPAD_F1
)));
59930 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_F2",SWIG_From_int(static_cast< int >(WXK_NUMPAD_F2
)));
59931 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_F3",SWIG_From_int(static_cast< int >(WXK_NUMPAD_F3
)));
59932 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_F4",SWIG_From_int(static_cast< int >(WXK_NUMPAD_F4
)));
59933 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_HOME",SWIG_From_int(static_cast< int >(WXK_NUMPAD_HOME
)));
59934 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_LEFT",SWIG_From_int(static_cast< int >(WXK_NUMPAD_LEFT
)));
59935 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_UP",SWIG_From_int(static_cast< int >(WXK_NUMPAD_UP
)));
59936 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_RIGHT",SWIG_From_int(static_cast< int >(WXK_NUMPAD_RIGHT
)));
59937 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_DOWN",SWIG_From_int(static_cast< int >(WXK_NUMPAD_DOWN
)));
59938 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_PRIOR",SWIG_From_int(static_cast< int >(WXK_NUMPAD_PRIOR
)));
59939 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_PAGEUP",SWIG_From_int(static_cast< int >(WXK_NUMPAD_PAGEUP
)));
59940 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_NEXT",SWIG_From_int(static_cast< int >(WXK_NUMPAD_NEXT
)));
59941 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_PAGEDOWN",SWIG_From_int(static_cast< int >(WXK_NUMPAD_PAGEDOWN
)));
59942 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_END",SWIG_From_int(static_cast< int >(WXK_NUMPAD_END
)));
59943 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_BEGIN",SWIG_From_int(static_cast< int >(WXK_NUMPAD_BEGIN
)));
59944 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_INSERT",SWIG_From_int(static_cast< int >(WXK_NUMPAD_INSERT
)));
59945 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_DELETE",SWIG_From_int(static_cast< int >(WXK_NUMPAD_DELETE
)));
59946 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_EQUAL",SWIG_From_int(static_cast< int >(WXK_NUMPAD_EQUAL
)));
59947 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_MULTIPLY",SWIG_From_int(static_cast< int >(WXK_NUMPAD_MULTIPLY
)));
59948 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_ADD",SWIG_From_int(static_cast< int >(WXK_NUMPAD_ADD
)));
59949 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_SEPARATOR",SWIG_From_int(static_cast< int >(WXK_NUMPAD_SEPARATOR
)));
59950 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_SUBTRACT",SWIG_From_int(static_cast< int >(WXK_NUMPAD_SUBTRACT
)));
59951 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_DECIMAL",SWIG_From_int(static_cast< int >(WXK_NUMPAD_DECIMAL
)));
59952 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_DIVIDE",SWIG_From_int(static_cast< int >(WXK_NUMPAD_DIVIDE
)));
59953 SWIG_Python_SetConstant(d
, "WXK_WINDOWS_LEFT",SWIG_From_int(static_cast< int >(WXK_WINDOWS_LEFT
)));
59954 SWIG_Python_SetConstant(d
, "WXK_WINDOWS_RIGHT",SWIG_From_int(static_cast< int >(WXK_WINDOWS_RIGHT
)));
59955 SWIG_Python_SetConstant(d
, "WXK_WINDOWS_MENU",SWIG_From_int(static_cast< int >(WXK_WINDOWS_MENU
)));
59956 SWIG_Python_SetConstant(d
, "WXK_COMMAND",SWIG_From_int(static_cast< int >(WXK_COMMAND
)));
59957 SWIG_Python_SetConstant(d
, "WXK_SPECIAL1",SWIG_From_int(static_cast< int >(WXK_SPECIAL1
)));
59958 SWIG_Python_SetConstant(d
, "WXK_SPECIAL2",SWIG_From_int(static_cast< int >(WXK_SPECIAL2
)));
59959 SWIG_Python_SetConstant(d
, "WXK_SPECIAL3",SWIG_From_int(static_cast< int >(WXK_SPECIAL3
)));
59960 SWIG_Python_SetConstant(d
, "WXK_SPECIAL4",SWIG_From_int(static_cast< int >(WXK_SPECIAL4
)));
59961 SWIG_Python_SetConstant(d
, "WXK_SPECIAL5",SWIG_From_int(static_cast< int >(WXK_SPECIAL5
)));
59962 SWIG_Python_SetConstant(d
, "WXK_SPECIAL6",SWIG_From_int(static_cast< int >(WXK_SPECIAL6
)));
59963 SWIG_Python_SetConstant(d
, "WXK_SPECIAL7",SWIG_From_int(static_cast< int >(WXK_SPECIAL7
)));
59964 SWIG_Python_SetConstant(d
, "WXK_SPECIAL8",SWIG_From_int(static_cast< int >(WXK_SPECIAL8
)));
59965 SWIG_Python_SetConstant(d
, "WXK_SPECIAL9",SWIG_From_int(static_cast< int >(WXK_SPECIAL9
)));
59966 SWIG_Python_SetConstant(d
, "WXK_SPECIAL10",SWIG_From_int(static_cast< int >(WXK_SPECIAL10
)));
59967 SWIG_Python_SetConstant(d
, "WXK_SPECIAL11",SWIG_From_int(static_cast< int >(WXK_SPECIAL11
)));
59968 SWIG_Python_SetConstant(d
, "WXK_SPECIAL12",SWIG_From_int(static_cast< int >(WXK_SPECIAL12
)));
59969 SWIG_Python_SetConstant(d
, "WXK_SPECIAL13",SWIG_From_int(static_cast< int >(WXK_SPECIAL13
)));
59970 SWIG_Python_SetConstant(d
, "WXK_SPECIAL14",SWIG_From_int(static_cast< int >(WXK_SPECIAL14
)));
59971 SWIG_Python_SetConstant(d
, "WXK_SPECIAL15",SWIG_From_int(static_cast< int >(WXK_SPECIAL15
)));
59972 SWIG_Python_SetConstant(d
, "WXK_SPECIAL16",SWIG_From_int(static_cast< int >(WXK_SPECIAL16
)));
59973 SWIG_Python_SetConstant(d
, "WXK_SPECIAL17",SWIG_From_int(static_cast< int >(WXK_SPECIAL17
)));
59974 SWIG_Python_SetConstant(d
, "WXK_SPECIAL18",SWIG_From_int(static_cast< int >(WXK_SPECIAL18
)));
59975 SWIG_Python_SetConstant(d
, "WXK_SPECIAL19",SWIG_From_int(static_cast< int >(WXK_SPECIAL19
)));
59976 SWIG_Python_SetConstant(d
, "WXK_SPECIAL20",SWIG_From_int(static_cast< int >(WXK_SPECIAL20
)));
59977 SWIG_Python_SetConstant(d
, "PAPER_NONE",SWIG_From_int(static_cast< int >(wxPAPER_NONE
)));
59978 SWIG_Python_SetConstant(d
, "PAPER_LETTER",SWIG_From_int(static_cast< int >(wxPAPER_LETTER
)));
59979 SWIG_Python_SetConstant(d
, "PAPER_LEGAL",SWIG_From_int(static_cast< int >(wxPAPER_LEGAL
)));
59980 SWIG_Python_SetConstant(d
, "PAPER_A4",SWIG_From_int(static_cast< int >(wxPAPER_A4
)));
59981 SWIG_Python_SetConstant(d
, "PAPER_CSHEET",SWIG_From_int(static_cast< int >(wxPAPER_CSHEET
)));
59982 SWIG_Python_SetConstant(d
, "PAPER_DSHEET",SWIG_From_int(static_cast< int >(wxPAPER_DSHEET
)));
59983 SWIG_Python_SetConstant(d
, "PAPER_ESHEET",SWIG_From_int(static_cast< int >(wxPAPER_ESHEET
)));
59984 SWIG_Python_SetConstant(d
, "PAPER_LETTERSMALL",SWIG_From_int(static_cast< int >(wxPAPER_LETTERSMALL
)));
59985 SWIG_Python_SetConstant(d
, "PAPER_TABLOID",SWIG_From_int(static_cast< int >(wxPAPER_TABLOID
)));
59986 SWIG_Python_SetConstant(d
, "PAPER_LEDGER",SWIG_From_int(static_cast< int >(wxPAPER_LEDGER
)));
59987 SWIG_Python_SetConstant(d
, "PAPER_STATEMENT",SWIG_From_int(static_cast< int >(wxPAPER_STATEMENT
)));
59988 SWIG_Python_SetConstant(d
, "PAPER_EXECUTIVE",SWIG_From_int(static_cast< int >(wxPAPER_EXECUTIVE
)));
59989 SWIG_Python_SetConstant(d
, "PAPER_A3",SWIG_From_int(static_cast< int >(wxPAPER_A3
)));
59990 SWIG_Python_SetConstant(d
, "PAPER_A4SMALL",SWIG_From_int(static_cast< int >(wxPAPER_A4SMALL
)));
59991 SWIG_Python_SetConstant(d
, "PAPER_A5",SWIG_From_int(static_cast< int >(wxPAPER_A5
)));
59992 SWIG_Python_SetConstant(d
, "PAPER_B4",SWIG_From_int(static_cast< int >(wxPAPER_B4
)));
59993 SWIG_Python_SetConstant(d
, "PAPER_B5",SWIG_From_int(static_cast< int >(wxPAPER_B5
)));
59994 SWIG_Python_SetConstant(d
, "PAPER_FOLIO",SWIG_From_int(static_cast< int >(wxPAPER_FOLIO
)));
59995 SWIG_Python_SetConstant(d
, "PAPER_QUARTO",SWIG_From_int(static_cast< int >(wxPAPER_QUARTO
)));
59996 SWIG_Python_SetConstant(d
, "PAPER_10X14",SWIG_From_int(static_cast< int >(wxPAPER_10X14
)));
59997 SWIG_Python_SetConstant(d
, "PAPER_11X17",SWIG_From_int(static_cast< int >(wxPAPER_11X17
)));
59998 SWIG_Python_SetConstant(d
, "PAPER_NOTE",SWIG_From_int(static_cast< int >(wxPAPER_NOTE
)));
59999 SWIG_Python_SetConstant(d
, "PAPER_ENV_9",SWIG_From_int(static_cast< int >(wxPAPER_ENV_9
)));
60000 SWIG_Python_SetConstant(d
, "PAPER_ENV_10",SWIG_From_int(static_cast< int >(wxPAPER_ENV_10
)));
60001 SWIG_Python_SetConstant(d
, "PAPER_ENV_11",SWIG_From_int(static_cast< int >(wxPAPER_ENV_11
)));
60002 SWIG_Python_SetConstant(d
, "PAPER_ENV_12",SWIG_From_int(static_cast< int >(wxPAPER_ENV_12
)));
60003 SWIG_Python_SetConstant(d
, "PAPER_ENV_14",SWIG_From_int(static_cast< int >(wxPAPER_ENV_14
)));
60004 SWIG_Python_SetConstant(d
, "PAPER_ENV_DL",SWIG_From_int(static_cast< int >(wxPAPER_ENV_DL
)));
60005 SWIG_Python_SetConstant(d
, "PAPER_ENV_C5",SWIG_From_int(static_cast< int >(wxPAPER_ENV_C5
)));
60006 SWIG_Python_SetConstant(d
, "PAPER_ENV_C3",SWIG_From_int(static_cast< int >(wxPAPER_ENV_C3
)));
60007 SWIG_Python_SetConstant(d
, "PAPER_ENV_C4",SWIG_From_int(static_cast< int >(wxPAPER_ENV_C4
)));
60008 SWIG_Python_SetConstant(d
, "PAPER_ENV_C6",SWIG_From_int(static_cast< int >(wxPAPER_ENV_C6
)));
60009 SWIG_Python_SetConstant(d
, "PAPER_ENV_C65",SWIG_From_int(static_cast< int >(wxPAPER_ENV_C65
)));
60010 SWIG_Python_SetConstant(d
, "PAPER_ENV_B4",SWIG_From_int(static_cast< int >(wxPAPER_ENV_B4
)));
60011 SWIG_Python_SetConstant(d
, "PAPER_ENV_B5",SWIG_From_int(static_cast< int >(wxPAPER_ENV_B5
)));
60012 SWIG_Python_SetConstant(d
, "PAPER_ENV_B6",SWIG_From_int(static_cast< int >(wxPAPER_ENV_B6
)));
60013 SWIG_Python_SetConstant(d
, "PAPER_ENV_ITALY",SWIG_From_int(static_cast< int >(wxPAPER_ENV_ITALY
)));
60014 SWIG_Python_SetConstant(d
, "PAPER_ENV_MONARCH",SWIG_From_int(static_cast< int >(wxPAPER_ENV_MONARCH
)));
60015 SWIG_Python_SetConstant(d
, "PAPER_ENV_PERSONAL",SWIG_From_int(static_cast< int >(wxPAPER_ENV_PERSONAL
)));
60016 SWIG_Python_SetConstant(d
, "PAPER_FANFOLD_US",SWIG_From_int(static_cast< int >(wxPAPER_FANFOLD_US
)));
60017 SWIG_Python_SetConstant(d
, "PAPER_FANFOLD_STD_GERMAN",SWIG_From_int(static_cast< int >(wxPAPER_FANFOLD_STD_GERMAN
)));
60018 SWIG_Python_SetConstant(d
, "PAPER_FANFOLD_LGL_GERMAN",SWIG_From_int(static_cast< int >(wxPAPER_FANFOLD_LGL_GERMAN
)));
60019 SWIG_Python_SetConstant(d
, "PAPER_ISO_B4",SWIG_From_int(static_cast< int >(wxPAPER_ISO_B4
)));
60020 SWIG_Python_SetConstant(d
, "PAPER_JAPANESE_POSTCARD",SWIG_From_int(static_cast< int >(wxPAPER_JAPANESE_POSTCARD
)));
60021 SWIG_Python_SetConstant(d
, "PAPER_9X11",SWIG_From_int(static_cast< int >(wxPAPER_9X11
)));
60022 SWIG_Python_SetConstant(d
, "PAPER_10X11",SWIG_From_int(static_cast< int >(wxPAPER_10X11
)));
60023 SWIG_Python_SetConstant(d
, "PAPER_15X11",SWIG_From_int(static_cast< int >(wxPAPER_15X11
)));
60024 SWIG_Python_SetConstant(d
, "PAPER_ENV_INVITE",SWIG_From_int(static_cast< int >(wxPAPER_ENV_INVITE
)));
60025 SWIG_Python_SetConstant(d
, "PAPER_LETTER_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_LETTER_EXTRA
)));
60026 SWIG_Python_SetConstant(d
, "PAPER_LEGAL_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_LEGAL_EXTRA
)));
60027 SWIG_Python_SetConstant(d
, "PAPER_TABLOID_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_TABLOID_EXTRA
)));
60028 SWIG_Python_SetConstant(d
, "PAPER_A4_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_A4_EXTRA
)));
60029 SWIG_Python_SetConstant(d
, "PAPER_LETTER_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_LETTER_TRANSVERSE
)));
60030 SWIG_Python_SetConstant(d
, "PAPER_A4_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_A4_TRANSVERSE
)));
60031 SWIG_Python_SetConstant(d
, "PAPER_LETTER_EXTRA_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_LETTER_EXTRA_TRANSVERSE
)));
60032 SWIG_Python_SetConstant(d
, "PAPER_A_PLUS",SWIG_From_int(static_cast< int >(wxPAPER_A_PLUS
)));
60033 SWIG_Python_SetConstant(d
, "PAPER_B_PLUS",SWIG_From_int(static_cast< int >(wxPAPER_B_PLUS
)));
60034 SWIG_Python_SetConstant(d
, "PAPER_LETTER_PLUS",SWIG_From_int(static_cast< int >(wxPAPER_LETTER_PLUS
)));
60035 SWIG_Python_SetConstant(d
, "PAPER_A4_PLUS",SWIG_From_int(static_cast< int >(wxPAPER_A4_PLUS
)));
60036 SWIG_Python_SetConstant(d
, "PAPER_A5_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_A5_TRANSVERSE
)));
60037 SWIG_Python_SetConstant(d
, "PAPER_B5_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_B5_TRANSVERSE
)));
60038 SWIG_Python_SetConstant(d
, "PAPER_A3_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_A3_EXTRA
)));
60039 SWIG_Python_SetConstant(d
, "PAPER_A5_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_A5_EXTRA
)));
60040 SWIG_Python_SetConstant(d
, "PAPER_B5_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_B5_EXTRA
)));
60041 SWIG_Python_SetConstant(d
, "PAPER_A2",SWIG_From_int(static_cast< int >(wxPAPER_A2
)));
60042 SWIG_Python_SetConstant(d
, "PAPER_A3_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_A3_TRANSVERSE
)));
60043 SWIG_Python_SetConstant(d
, "PAPER_A3_EXTRA_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_A3_EXTRA_TRANSVERSE
)));
60044 SWIG_Python_SetConstant(d
, "PAPER_DBL_JAPANESE_POSTCARD",SWIG_From_int(static_cast< int >(wxPAPER_DBL_JAPANESE_POSTCARD
)));
60045 SWIG_Python_SetConstant(d
, "PAPER_A6",SWIG_From_int(static_cast< int >(wxPAPER_A6
)));
60046 SWIG_Python_SetConstant(d
, "PAPER_JENV_KAKU2",SWIG_From_int(static_cast< int >(wxPAPER_JENV_KAKU2
)));
60047 SWIG_Python_SetConstant(d
, "PAPER_JENV_KAKU3",SWIG_From_int(static_cast< int >(wxPAPER_JENV_KAKU3
)));
60048 SWIG_Python_SetConstant(d
, "PAPER_JENV_CHOU3",SWIG_From_int(static_cast< int >(wxPAPER_JENV_CHOU3
)));
60049 SWIG_Python_SetConstant(d
, "PAPER_JENV_CHOU4",SWIG_From_int(static_cast< int >(wxPAPER_JENV_CHOU4
)));
60050 SWIG_Python_SetConstant(d
, "PAPER_LETTER_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_LETTER_ROTATED
)));
60051 SWIG_Python_SetConstant(d
, "PAPER_A3_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_A3_ROTATED
)));
60052 SWIG_Python_SetConstant(d
, "PAPER_A4_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_A4_ROTATED
)));
60053 SWIG_Python_SetConstant(d
, "PAPER_A5_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_A5_ROTATED
)));
60054 SWIG_Python_SetConstant(d
, "PAPER_B4_JIS_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_B4_JIS_ROTATED
)));
60055 SWIG_Python_SetConstant(d
, "PAPER_B5_JIS_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_B5_JIS_ROTATED
)));
60056 SWIG_Python_SetConstant(d
, "PAPER_JAPANESE_POSTCARD_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_JAPANESE_POSTCARD_ROTATED
)));
60057 SWIG_Python_SetConstant(d
, "PAPER_DBL_JAPANESE_POSTCARD_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_DBL_JAPANESE_POSTCARD_ROTATED
)));
60058 SWIG_Python_SetConstant(d
, "PAPER_A6_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_A6_ROTATED
)));
60059 SWIG_Python_SetConstant(d
, "PAPER_JENV_KAKU2_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_JENV_KAKU2_ROTATED
)));
60060 SWIG_Python_SetConstant(d
, "PAPER_JENV_KAKU3_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_JENV_KAKU3_ROTATED
)));
60061 SWIG_Python_SetConstant(d
, "PAPER_JENV_CHOU3_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_JENV_CHOU3_ROTATED
)));
60062 SWIG_Python_SetConstant(d
, "PAPER_JENV_CHOU4_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_JENV_CHOU4_ROTATED
)));
60063 SWIG_Python_SetConstant(d
, "PAPER_B6_JIS",SWIG_From_int(static_cast< int >(wxPAPER_B6_JIS
)));
60064 SWIG_Python_SetConstant(d
, "PAPER_B6_JIS_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_B6_JIS_ROTATED
)));
60065 SWIG_Python_SetConstant(d
, "PAPER_12X11",SWIG_From_int(static_cast< int >(wxPAPER_12X11
)));
60066 SWIG_Python_SetConstant(d
, "PAPER_JENV_YOU4",SWIG_From_int(static_cast< int >(wxPAPER_JENV_YOU4
)));
60067 SWIG_Python_SetConstant(d
, "PAPER_JENV_YOU4_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_JENV_YOU4_ROTATED
)));
60068 SWIG_Python_SetConstant(d
, "PAPER_P16K",SWIG_From_int(static_cast< int >(wxPAPER_P16K
)));
60069 SWIG_Python_SetConstant(d
, "PAPER_P32K",SWIG_From_int(static_cast< int >(wxPAPER_P32K
)));
60070 SWIG_Python_SetConstant(d
, "PAPER_P32KBIG",SWIG_From_int(static_cast< int >(wxPAPER_P32KBIG
)));
60071 SWIG_Python_SetConstant(d
, "PAPER_PENV_1",SWIG_From_int(static_cast< int >(wxPAPER_PENV_1
)));
60072 SWIG_Python_SetConstant(d
, "PAPER_PENV_2",SWIG_From_int(static_cast< int >(wxPAPER_PENV_2
)));
60073 SWIG_Python_SetConstant(d
, "PAPER_PENV_3",SWIG_From_int(static_cast< int >(wxPAPER_PENV_3
)));
60074 SWIG_Python_SetConstant(d
, "PAPER_PENV_4",SWIG_From_int(static_cast< int >(wxPAPER_PENV_4
)));
60075 SWIG_Python_SetConstant(d
, "PAPER_PENV_5",SWIG_From_int(static_cast< int >(wxPAPER_PENV_5
)));
60076 SWIG_Python_SetConstant(d
, "PAPER_PENV_6",SWIG_From_int(static_cast< int >(wxPAPER_PENV_6
)));
60077 SWIG_Python_SetConstant(d
, "PAPER_PENV_7",SWIG_From_int(static_cast< int >(wxPAPER_PENV_7
)));
60078 SWIG_Python_SetConstant(d
, "PAPER_PENV_8",SWIG_From_int(static_cast< int >(wxPAPER_PENV_8
)));
60079 SWIG_Python_SetConstant(d
, "PAPER_PENV_9",SWIG_From_int(static_cast< int >(wxPAPER_PENV_9
)));
60080 SWIG_Python_SetConstant(d
, "PAPER_PENV_10",SWIG_From_int(static_cast< int >(wxPAPER_PENV_10
)));
60081 SWIG_Python_SetConstant(d
, "PAPER_P16K_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_P16K_ROTATED
)));
60082 SWIG_Python_SetConstant(d
, "PAPER_P32K_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_P32K_ROTATED
)));
60083 SWIG_Python_SetConstant(d
, "PAPER_P32KBIG_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_P32KBIG_ROTATED
)));
60084 SWIG_Python_SetConstant(d
, "PAPER_PENV_1_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_1_ROTATED
)));
60085 SWIG_Python_SetConstant(d
, "PAPER_PENV_2_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_2_ROTATED
)));
60086 SWIG_Python_SetConstant(d
, "PAPER_PENV_3_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_3_ROTATED
)));
60087 SWIG_Python_SetConstant(d
, "PAPER_PENV_4_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_4_ROTATED
)));
60088 SWIG_Python_SetConstant(d
, "PAPER_PENV_5_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_5_ROTATED
)));
60089 SWIG_Python_SetConstant(d
, "PAPER_PENV_6_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_6_ROTATED
)));
60090 SWIG_Python_SetConstant(d
, "PAPER_PENV_7_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_7_ROTATED
)));
60091 SWIG_Python_SetConstant(d
, "PAPER_PENV_8_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_8_ROTATED
)));
60092 SWIG_Python_SetConstant(d
, "PAPER_PENV_9_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_9_ROTATED
)));
60093 SWIG_Python_SetConstant(d
, "PAPER_PENV_10_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_10_ROTATED
)));
60094 SWIG_Python_SetConstant(d
, "DUPLEX_SIMPLEX",SWIG_From_int(static_cast< int >(wxDUPLEX_SIMPLEX
)));
60095 SWIG_Python_SetConstant(d
, "DUPLEX_HORIZONTAL",SWIG_From_int(static_cast< int >(wxDUPLEX_HORIZONTAL
)));
60096 SWIG_Python_SetConstant(d
, "DUPLEX_VERTICAL",SWIG_From_int(static_cast< int >(wxDUPLEX_VERTICAL
)));
60097 SWIG_Python_SetConstant(d
, "ITEM_SEPARATOR",SWIG_From_int(static_cast< int >(wxITEM_SEPARATOR
)));
60098 SWIG_Python_SetConstant(d
, "ITEM_NORMAL",SWIG_From_int(static_cast< int >(wxITEM_NORMAL
)));
60099 SWIG_Python_SetConstant(d
, "ITEM_CHECK",SWIG_From_int(static_cast< int >(wxITEM_CHECK
)));
60100 SWIG_Python_SetConstant(d
, "ITEM_RADIO",SWIG_From_int(static_cast< int >(wxITEM_RADIO
)));
60101 SWIG_Python_SetConstant(d
, "ITEM_MAX",SWIG_From_int(static_cast< int >(wxITEM_MAX
)));
60102 SWIG_Python_SetConstant(d
, "HT_NOWHERE",SWIG_From_int(static_cast< int >(wxHT_NOWHERE
)));
60103 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_FIRST",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_FIRST
)));
60104 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_ARROW_LINE_1",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_ARROW_LINE_1
)));
60105 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_ARROW_LINE_2",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_ARROW_LINE_2
)));
60106 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_ARROW_PAGE_1",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_ARROW_PAGE_1
)));
60107 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_ARROW_PAGE_2",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_ARROW_PAGE_2
)));
60108 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_THUMB",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_THUMB
)));
60109 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_BAR_1",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_BAR_1
)));
60110 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_BAR_2",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_BAR_2
)));
60111 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_LAST",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_LAST
)));
60112 SWIG_Python_SetConstant(d
, "HT_WINDOW_OUTSIDE",SWIG_From_int(static_cast< int >(wxHT_WINDOW_OUTSIDE
)));
60113 SWIG_Python_SetConstant(d
, "HT_WINDOW_INSIDE",SWIG_From_int(static_cast< int >(wxHT_WINDOW_INSIDE
)));
60114 SWIG_Python_SetConstant(d
, "HT_WINDOW_VERT_SCROLLBAR",SWIG_From_int(static_cast< int >(wxHT_WINDOW_VERT_SCROLLBAR
)));
60115 SWIG_Python_SetConstant(d
, "HT_WINDOW_HORZ_SCROLLBAR",SWIG_From_int(static_cast< int >(wxHT_WINDOW_HORZ_SCROLLBAR
)));
60116 SWIG_Python_SetConstant(d
, "HT_WINDOW_CORNER",SWIG_From_int(static_cast< int >(wxHT_WINDOW_CORNER
)));
60117 SWIG_Python_SetConstant(d
, "HT_MAX",SWIG_From_int(static_cast< int >(wxHT_MAX
)));
60118 SWIG_Python_SetConstant(d
, "MOD_NONE",SWIG_From_int(static_cast< int >(wxMOD_NONE
)));
60119 SWIG_Python_SetConstant(d
, "MOD_ALT",SWIG_From_int(static_cast< int >(wxMOD_ALT
)));
60120 SWIG_Python_SetConstant(d
, "MOD_CONTROL",SWIG_From_int(static_cast< int >(wxMOD_CONTROL
)));
60121 SWIG_Python_SetConstant(d
, "MOD_ALTGR",SWIG_From_int(static_cast< int >(wxMOD_ALTGR
)));
60122 SWIG_Python_SetConstant(d
, "MOD_SHIFT",SWIG_From_int(static_cast< int >(wxMOD_SHIFT
)));
60123 SWIG_Python_SetConstant(d
, "MOD_META",SWIG_From_int(static_cast< int >(wxMOD_META
)));
60124 SWIG_Python_SetConstant(d
, "MOD_WIN",SWIG_From_int(static_cast< int >(wxMOD_WIN
)));
60125 SWIG_Python_SetConstant(d
, "MOD_CMD",SWIG_From_int(static_cast< int >(wxMOD_CMD
)));
60126 SWIG_Python_SetConstant(d
, "MOD_ALL",SWIG_From_int(static_cast< int >(wxMOD_ALL
)));
60127 SWIG_Python_SetConstant(d
, "UPDATE_UI_NONE",SWIG_From_int(static_cast< int >(wxUPDATE_UI_NONE
)));
60128 SWIG_Python_SetConstant(d
, "UPDATE_UI_RECURSE",SWIG_From_int(static_cast< int >(wxUPDATE_UI_RECURSE
)));
60129 SWIG_Python_SetConstant(d
, "UPDATE_UI_FROMIDLE",SWIG_From_int(static_cast< int >(wxUPDATE_UI_FROMIDLE
)));
60130 SWIG_Python_SetConstant(d
, "Layout_Default",SWIG_From_int(static_cast< int >(wxLayout_Default
)));
60131 SWIG_Python_SetConstant(d
, "Layout_LeftToRight",SWIG_From_int(static_cast< int >(wxLayout_LeftToRight
)));
60132 SWIG_Python_SetConstant(d
, "Layout_RightToLeft",SWIG_From_int(static_cast< int >(wxLayout_RightToLeft
)));
60133 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
60134 SWIG_addvarlink(SWIG_globals(),(char*)"EmptyString",EmptyString_get
, EmptyString_set
);
60135 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_INVALID",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_INVALID
)));
60136 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_BMP",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_BMP
)));
60137 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_ICO",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_ICO
)));
60138 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_CUR",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_CUR
)));
60139 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_XBM",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_XBM
)));
60140 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_XBM_DATA",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_XBM_DATA
)));
60141 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_XPM",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_XPM
)));
60142 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_XPM_DATA",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_XPM_DATA
)));
60143 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_TIF",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_TIF
)));
60144 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_GIF",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_GIF
)));
60145 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_PNG",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_PNG
)));
60146 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_JPEG",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_JPEG
)));
60147 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_PNM",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_PNM
)));
60148 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_PCX",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_PCX
)));
60149 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_PICT",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_PICT
)));
60150 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_ICON",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_ICON
)));
60151 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_ANI",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_ANI
)));
60152 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_IFF",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_IFF
)));
60153 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_TGA",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_TGA
)));
60154 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_MACCURSOR",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_MACCURSOR
)));
60155 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_ANY",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_ANY
)));
60156 SWIG_Python_SetConstant(d
, "CURSOR_NONE",SWIG_From_int(static_cast< int >(wxCURSOR_NONE
)));
60157 SWIG_Python_SetConstant(d
, "CURSOR_ARROW",SWIG_From_int(static_cast< int >(wxCURSOR_ARROW
)));
60158 SWIG_Python_SetConstant(d
, "CURSOR_RIGHT_ARROW",SWIG_From_int(static_cast< int >(wxCURSOR_RIGHT_ARROW
)));
60159 SWIG_Python_SetConstant(d
, "CURSOR_BULLSEYE",SWIG_From_int(static_cast< int >(wxCURSOR_BULLSEYE
)));
60160 SWIG_Python_SetConstant(d
, "CURSOR_CHAR",SWIG_From_int(static_cast< int >(wxCURSOR_CHAR
)));
60161 SWIG_Python_SetConstant(d
, "CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxCURSOR_CROSS
)));
60162 SWIG_Python_SetConstant(d
, "CURSOR_HAND",SWIG_From_int(static_cast< int >(wxCURSOR_HAND
)));
60163 SWIG_Python_SetConstant(d
, "CURSOR_IBEAM",SWIG_From_int(static_cast< int >(wxCURSOR_IBEAM
)));
60164 SWIG_Python_SetConstant(d
, "CURSOR_LEFT_BUTTON",SWIG_From_int(static_cast< int >(wxCURSOR_LEFT_BUTTON
)));
60165 SWIG_Python_SetConstant(d
, "CURSOR_MAGNIFIER",SWIG_From_int(static_cast< int >(wxCURSOR_MAGNIFIER
)));
60166 SWIG_Python_SetConstant(d
, "CURSOR_MIDDLE_BUTTON",SWIG_From_int(static_cast< int >(wxCURSOR_MIDDLE_BUTTON
)));
60167 SWIG_Python_SetConstant(d
, "CURSOR_NO_ENTRY",SWIG_From_int(static_cast< int >(wxCURSOR_NO_ENTRY
)));
60168 SWIG_Python_SetConstant(d
, "CURSOR_PAINT_BRUSH",SWIG_From_int(static_cast< int >(wxCURSOR_PAINT_BRUSH
)));
60169 SWIG_Python_SetConstant(d
, "CURSOR_PENCIL",SWIG_From_int(static_cast< int >(wxCURSOR_PENCIL
)));
60170 SWIG_Python_SetConstant(d
, "CURSOR_POINT_LEFT",SWIG_From_int(static_cast< int >(wxCURSOR_POINT_LEFT
)));
60171 SWIG_Python_SetConstant(d
, "CURSOR_POINT_RIGHT",SWIG_From_int(static_cast< int >(wxCURSOR_POINT_RIGHT
)));
60172 SWIG_Python_SetConstant(d
, "CURSOR_QUESTION_ARROW",SWIG_From_int(static_cast< int >(wxCURSOR_QUESTION_ARROW
)));
60173 SWIG_Python_SetConstant(d
, "CURSOR_RIGHT_BUTTON",SWIG_From_int(static_cast< int >(wxCURSOR_RIGHT_BUTTON
)));
60174 SWIG_Python_SetConstant(d
, "CURSOR_SIZENESW",SWIG_From_int(static_cast< int >(wxCURSOR_SIZENESW
)));
60175 SWIG_Python_SetConstant(d
, "CURSOR_SIZENS",SWIG_From_int(static_cast< int >(wxCURSOR_SIZENS
)));
60176 SWIG_Python_SetConstant(d
, "CURSOR_SIZENWSE",SWIG_From_int(static_cast< int >(wxCURSOR_SIZENWSE
)));
60177 SWIG_Python_SetConstant(d
, "CURSOR_SIZEWE",SWIG_From_int(static_cast< int >(wxCURSOR_SIZEWE
)));
60178 SWIG_Python_SetConstant(d
, "CURSOR_SIZING",SWIG_From_int(static_cast< int >(wxCURSOR_SIZING
)));
60179 SWIG_Python_SetConstant(d
, "CURSOR_SPRAYCAN",SWIG_From_int(static_cast< int >(wxCURSOR_SPRAYCAN
)));
60180 SWIG_Python_SetConstant(d
, "CURSOR_WAIT",SWIG_From_int(static_cast< int >(wxCURSOR_WAIT
)));
60181 SWIG_Python_SetConstant(d
, "CURSOR_WATCH",SWIG_From_int(static_cast< int >(wxCURSOR_WATCH
)));
60182 SWIG_Python_SetConstant(d
, "CURSOR_BLANK",SWIG_From_int(static_cast< int >(wxCURSOR_BLANK
)));
60183 SWIG_Python_SetConstant(d
, "CURSOR_DEFAULT",SWIG_From_int(static_cast< int >(wxCURSOR_DEFAULT
)));
60184 SWIG_Python_SetConstant(d
, "CURSOR_COPY_ARROW",SWIG_From_int(static_cast< int >(wxCURSOR_COPY_ARROW
)));
60185 SWIG_Python_SetConstant(d
, "CURSOR_ARROWWAIT",SWIG_From_int(static_cast< int >(wxCURSOR_ARROWWAIT
)));
60186 SWIG_Python_SetConstant(d
, "CURSOR_MAX",SWIG_From_int(static_cast< int >(wxCURSOR_MAX
)));
60187 SWIG_Python_SetConstant(d
, "Inside",SWIG_From_int(static_cast< int >(wxInside
)));
60188 SWIG_Python_SetConstant(d
, "OutLeft",SWIG_From_int(static_cast< int >(wxOutLeft
)));
60189 SWIG_Python_SetConstant(d
, "OutRight",SWIG_From_int(static_cast< int >(wxOutRight
)));
60190 SWIG_Python_SetConstant(d
, "OutTop",SWIG_From_int(static_cast< int >(wxOutTop
)));
60191 SWIG_Python_SetConstant(d
, "OutBottom",SWIG_From_int(static_cast< int >(wxOutBottom
)));
60192 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultPosition",DefaultPosition_get
, DefaultPosition_set
);
60193 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultSize",DefaultSize_get
, DefaultSize_set
);
60194 SWIG_Python_SetConstant(d
, "FromStart",SWIG_From_int(static_cast< int >(wxFromStart
)));
60195 SWIG_Python_SetConstant(d
, "FromCurrent",SWIG_From_int(static_cast< int >(wxFromCurrent
)));
60196 SWIG_Python_SetConstant(d
, "FromEnd",SWIG_From_int(static_cast< int >(wxFromEnd
)));
60198 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
60201 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
60203 SWIG_Python_SetConstant(d
, "IMAGE_ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGE_ALPHA_TRANSPARENT
)));
60204 SWIG_Python_SetConstant(d
, "IMAGE_ALPHA_THRESHOLD",SWIG_From_int(static_cast< int >(wxIMAGE_ALPHA_THRESHOLD
)));
60205 SWIG_Python_SetConstant(d
, "IMAGE_ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxIMAGE_ALPHA_OPAQUE
)));
60206 SWIG_Python_SetConstant(d
, "IMAGE_QUALITY_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_QUALITY_NORMAL
)));
60207 SWIG_Python_SetConstant(d
, "IMAGE_QUALITY_HIGH",SWIG_From_int(static_cast< int >(wxIMAGE_QUALITY_HIGH
)));
60208 SWIG_addvarlink(SWIG_globals(),(char*)"NullImage",NullImage_get
, NullImage_set
);
60209 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_FILENAME",IMAGE_OPTION_FILENAME_get
, IMAGE_OPTION_FILENAME_set
);
60210 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_BMP_FORMAT",IMAGE_OPTION_BMP_FORMAT_get
, IMAGE_OPTION_BMP_FORMAT_set
);
60211 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",IMAGE_OPTION_CUR_HOTSPOT_X_get
, IMAGE_OPTION_CUR_HOTSPOT_X_set
);
60212 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",IMAGE_OPTION_CUR_HOTSPOT_Y_get
, IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
60213 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_RESOLUTION",IMAGE_OPTION_RESOLUTION_get
, IMAGE_OPTION_RESOLUTION_set
);
60214 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_RESOLUTIONX",IMAGE_OPTION_RESOLUTIONX_get
, IMAGE_OPTION_RESOLUTIONX_set
);
60215 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_RESOLUTIONY",IMAGE_OPTION_RESOLUTIONY_get
, IMAGE_OPTION_RESOLUTIONY_set
);
60216 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_RESOLUTIONUNIT",IMAGE_OPTION_RESOLUTIONUNIT_get
, IMAGE_OPTION_RESOLUTIONUNIT_set
);
60217 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_QUALITY",IMAGE_OPTION_QUALITY_get
, IMAGE_OPTION_QUALITY_set
);
60218 SWIG_Python_SetConstant(d
, "IMAGE_RESOLUTION_INCHES",SWIG_From_int(static_cast< int >(wxIMAGE_RESOLUTION_INCHES
)));
60219 SWIG_Python_SetConstant(d
, "IMAGE_RESOLUTION_CM",SWIG_From_int(static_cast< int >(wxIMAGE_RESOLUTION_CM
)));
60220 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_BITSPERSAMPLE",IMAGE_OPTION_BITSPERSAMPLE_get
, IMAGE_OPTION_BITSPERSAMPLE_set
);
60221 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_SAMPLESPERPIXEL",IMAGE_OPTION_SAMPLESPERPIXEL_get
, IMAGE_OPTION_SAMPLESPERPIXEL_set
);
60222 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_COMPRESSION",IMAGE_OPTION_COMPRESSION_get
, IMAGE_OPTION_COMPRESSION_set
);
60223 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_IMAGEDESCRIPTOR",IMAGE_OPTION_IMAGEDESCRIPTOR_get
, IMAGE_OPTION_IMAGEDESCRIPTOR_set
);
60224 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_PNG_FORMAT",IMAGE_OPTION_PNG_FORMAT_get
, IMAGE_OPTION_PNG_FORMAT_set
);
60225 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_PNG_BITDEPTH",IMAGE_OPTION_PNG_BITDEPTH_get
, IMAGE_OPTION_PNG_BITDEPTH_set
);
60226 SWIG_Python_SetConstant(d
, "PNG_TYPE_COLOUR",SWIG_From_int(static_cast< int >(wxPNG_TYPE_COLOUR
)));
60227 SWIG_Python_SetConstant(d
, "PNG_TYPE_GREY",SWIG_From_int(static_cast< int >(wxPNG_TYPE_GREY
)));
60228 SWIG_Python_SetConstant(d
, "PNG_TYPE_GREY_RED",SWIG_From_int(static_cast< int >(wxPNG_TYPE_GREY_RED
)));
60229 SWIG_Python_SetConstant(d
, "BMP_24BPP",SWIG_From_int(static_cast< int >(wxBMP_24BPP
)));
60230 SWIG_Python_SetConstant(d
, "BMP_8BPP",SWIG_From_int(static_cast< int >(wxBMP_8BPP
)));
60231 SWIG_Python_SetConstant(d
, "BMP_8BPP_GREY",SWIG_From_int(static_cast< int >(wxBMP_8BPP_GREY
)));
60232 SWIG_Python_SetConstant(d
, "BMP_8BPP_GRAY",SWIG_From_int(static_cast< int >(wxBMP_8BPP_GRAY
)));
60233 SWIG_Python_SetConstant(d
, "BMP_8BPP_RED",SWIG_From_int(static_cast< int >(wxBMP_8BPP_RED
)));
60234 SWIG_Python_SetConstant(d
, "BMP_8BPP_PALETTE",SWIG_From_int(static_cast< int >(wxBMP_8BPP_PALETTE
)));
60235 SWIG_Python_SetConstant(d
, "BMP_4BPP",SWIG_From_int(static_cast< int >(wxBMP_4BPP
)));
60236 SWIG_Python_SetConstant(d
, "BMP_1BPP",SWIG_From_int(static_cast< int >(wxBMP_1BPP
)));
60237 SWIG_Python_SetConstant(d
, "BMP_1BPP_BW",SWIG_From_int(static_cast< int >(wxBMP_1BPP_BW
)));
60238 SWIG_Python_SetConstant(d
, "QUANTIZE_INCLUDE_WINDOWS_COLOURS",SWIG_From_int(static_cast< int >(wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
)));
60239 SWIG_Python_SetConstant(d
, "QUANTIZE_FILL_DESTINATION_IMAGE",SWIG_From_int(static_cast< int >(wxQUANTIZE_FILL_DESTINATION_IMAGE
)));
60240 SWIG_Python_SetConstant(d
, "EVENT_PROPAGATE_NONE",SWIG_From_int(static_cast< int >(wxEVENT_PROPAGATE_NONE
)));
60241 SWIG_Python_SetConstant(d
, "EVENT_PROPAGATE_MAX",SWIG_From_int(static_cast< int >(wxEVENT_PROPAGATE_MAX
)));
60242 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
60243 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
60244 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
60245 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
60246 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
60247 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
60248 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
60249 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
60250 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
60251 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
60252 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
60253 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
60254 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
60255 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
60256 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
60257 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
60258 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
60259 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
60260 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
60261 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
60262 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
60263 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
60264 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
60265 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
60266 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
60267 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
60268 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
60269 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
60270 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
60271 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
60272 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
60273 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
60274 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
60275 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
60276 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
60277 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
60278 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
60279 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
60280 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
60281 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
60282 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
60283 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
60284 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
60285 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
60286 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
60287 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
60288 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
60289 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
60290 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
60291 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
60292 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
60293 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
60294 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
60295 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
60296 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
60297 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
60298 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
60299 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
60300 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
60301 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
60302 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
60303 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
60304 PyDict_SetItemString(d
, "wxEVT_SCROLL_CHANGED", PyInt_FromLong(wxEVT_SCROLL_CHANGED
));
60305 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
60306 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
60307 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
60308 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
60309 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
60310 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
60311 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
60312 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
60313 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
60314 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
60315 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
60316 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
60317 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
60318 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
60319 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
60320 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
60321 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
60322 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
60323 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
60324 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
60325 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
60326 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_LOST", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_LOST
));
60327 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
60328 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
60329 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
60330 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
60331 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
60332 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
60333 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
60334 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
60335 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
60336 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
60337 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
60338 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
60339 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
60340 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
60341 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
60342 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
60343 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
60344 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
60345 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
60346 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
60347 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
60348 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
60349 PyDict_SetItemString(d
, "wxEVT_HIBERNATE", PyInt_FromLong(wxEVT_HIBERNATE
));
60350 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_COPY", PyInt_FromLong(wxEVT_COMMAND_TEXT_COPY
));
60351 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_CUT", PyInt_FromLong(wxEVT_COMMAND_TEXT_CUT
));
60352 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_PASTE", PyInt_FromLong(wxEVT_COMMAND_TEXT_PASTE
));
60353 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
60354 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
60355 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
60356 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
60357 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
60358 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
60359 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
60360 SWIG_Python_SetConstant(d
, "MOUSE_BTN_ANY",SWIG_From_int(static_cast< int >(wxMOUSE_BTN_ANY
)));
60361 SWIG_Python_SetConstant(d
, "MOUSE_BTN_NONE",SWIG_From_int(static_cast< int >(wxMOUSE_BTN_NONE
)));
60362 SWIG_Python_SetConstant(d
, "MOUSE_BTN_LEFT",SWIG_From_int(static_cast< int >(wxMOUSE_BTN_LEFT
)));
60363 SWIG_Python_SetConstant(d
, "MOUSE_BTN_MIDDLE",SWIG_From_int(static_cast< int >(wxMOUSE_BTN_MIDDLE
)));
60364 SWIG_Python_SetConstant(d
, "MOUSE_BTN_RIGHT",SWIG_From_int(static_cast< int >(wxMOUSE_BTN_RIGHT
)));
60365 SWIG_Python_SetConstant(d
, "UPDATE_UI_PROCESS_ALL",SWIG_From_int(static_cast< int >(wxUPDATE_UI_PROCESS_ALL
)));
60366 SWIG_Python_SetConstant(d
, "UPDATE_UI_PROCESS_SPECIFIED",SWIG_From_int(static_cast< int >(wxUPDATE_UI_PROCESS_SPECIFIED
)));
60367 SWIG_Python_SetConstant(d
, "NavigationKeyEvent_IsBackward",SWIG_From_int(static_cast< int >(wxNavigationKeyEvent::IsBackward
)));
60368 SWIG_Python_SetConstant(d
, "NavigationKeyEvent_IsForward",SWIG_From_int(static_cast< int >(wxNavigationKeyEvent::IsForward
)));
60369 SWIG_Python_SetConstant(d
, "NavigationKeyEvent_WinChange",SWIG_From_int(static_cast< int >(wxNavigationKeyEvent::WinChange
)));
60370 SWIG_Python_SetConstant(d
, "NavigationKeyEvent_FromTab",SWIG_From_int(static_cast< int >(wxNavigationKeyEvent::FromTab
)));
60371 SWIG_Python_SetConstant(d
, "IDLE_PROCESS_ALL",SWIG_From_int(static_cast< int >(wxIDLE_PROCESS_ALL
)));
60372 SWIG_Python_SetConstant(d
, "IDLE_PROCESS_SPECIFIED",SWIG_From_int(static_cast< int >(wxIDLE_PROCESS_SPECIFIED
)));
60373 PyDict_SetItemString(d
, "wxEVT_DATE_CHANGED", PyInt_FromLong(wxEVT_DATE_CHANGED
));
60374 SWIG_Python_SetConstant(d
, "PYAPP_ASSERT_SUPPRESS",SWIG_From_int(static_cast< int >(wxPYAPP_ASSERT_SUPPRESS
)));
60375 SWIG_Python_SetConstant(d
, "PYAPP_ASSERT_EXCEPTION",SWIG_From_int(static_cast< int >(wxPYAPP_ASSERT_EXCEPTION
)));
60376 SWIG_Python_SetConstant(d
, "PYAPP_ASSERT_DIALOG",SWIG_From_int(static_cast< int >(wxPYAPP_ASSERT_DIALOG
)));
60377 SWIG_Python_SetConstant(d
, "PYAPP_ASSERT_LOG",SWIG_From_int(static_cast< int >(wxPYAPP_ASSERT_LOG
)));
60378 SWIG_Python_SetConstant(d
, "PRINT_WINDOWS",SWIG_From_int(static_cast< int >(wxPRINT_WINDOWS
)));
60379 SWIG_Python_SetConstant(d
, "PRINT_POSTSCRIPT",SWIG_From_int(static_cast< int >(wxPRINT_POSTSCRIPT
)));
60380 SWIG_Python_SetConstant(d
, "ACCEL_ALT",SWIG_From_int(static_cast< int >(wxACCEL_ALT
)));
60381 SWIG_Python_SetConstant(d
, "ACCEL_CTRL",SWIG_From_int(static_cast< int >(wxACCEL_CTRL
)));
60382 SWIG_Python_SetConstant(d
, "ACCEL_SHIFT",SWIG_From_int(static_cast< int >(wxACCEL_SHIFT
)));
60383 SWIG_Python_SetConstant(d
, "ACCEL_NORMAL",SWIG_From_int(static_cast< int >(wxACCEL_NORMAL
)));
60384 SWIG_Python_SetConstant(d
, "ACCEL_CMD",SWIG_From_int(static_cast< int >(wxACCEL_CMD
)));
60385 SWIG_addvarlink(SWIG_globals(),(char*)"NullAcceleratorTable",NullAcceleratorTable_get
, NullAcceleratorTable_set
);
60386 SWIG_addvarlink(SWIG_globals(),(char*)"PanelNameStr",PanelNameStr_get
, PanelNameStr_set
);
60387 SWIG_Python_SetConstant(d
, "WINDOW_VARIANT_NORMAL",SWIG_From_int(static_cast< int >(wxWINDOW_VARIANT_NORMAL
)));
60388 SWIG_Python_SetConstant(d
, "WINDOW_VARIANT_SMALL",SWIG_From_int(static_cast< int >(wxWINDOW_VARIANT_SMALL
)));
60389 SWIG_Python_SetConstant(d
, "WINDOW_VARIANT_MINI",SWIG_From_int(static_cast< int >(wxWINDOW_VARIANT_MINI
)));
60390 SWIG_Python_SetConstant(d
, "WINDOW_VARIANT_LARGE",SWIG_From_int(static_cast< int >(wxWINDOW_VARIANT_LARGE
)));
60391 SWIG_Python_SetConstant(d
, "WINDOW_VARIANT_MAX",SWIG_From_int(static_cast< int >(wxWINDOW_VARIANT_MAX
)));
60392 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultValidator",DefaultValidator_get
, DefaultValidator_set
);
60393 SWIG_addvarlink(SWIG_globals(),(char*)"ControlNameStr",ControlNameStr_get
, ControlNameStr_set
);
60394 SWIG_Python_SetConstant(d
, "FLEX_GROWMODE_NONE",SWIG_From_int(static_cast< int >(wxFLEX_GROWMODE_NONE
)));
60395 SWIG_Python_SetConstant(d
, "FLEX_GROWMODE_SPECIFIED",SWIG_From_int(static_cast< int >(wxFLEX_GROWMODE_SPECIFIED
)));
60396 SWIG_Python_SetConstant(d
, "FLEX_GROWMODE_ALL",SWIG_From_int(static_cast< int >(wxFLEX_GROWMODE_ALL
)));
60397 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultSpan",DefaultSpan_get
, DefaultSpan_set
);
60398 SWIG_Python_SetConstant(d
, "Left",SWIG_From_int(static_cast< int >(wxLeft
)));
60399 SWIG_Python_SetConstant(d
, "Top",SWIG_From_int(static_cast< int >(wxTop
)));
60400 SWIG_Python_SetConstant(d
, "Right",SWIG_From_int(static_cast< int >(wxRight
)));
60401 SWIG_Python_SetConstant(d
, "Bottom",SWIG_From_int(static_cast< int >(wxBottom
)));
60402 SWIG_Python_SetConstant(d
, "Width",SWIG_From_int(static_cast< int >(wxWidth
)));
60403 SWIG_Python_SetConstant(d
, "Height",SWIG_From_int(static_cast< int >(wxHeight
)));
60404 SWIG_Python_SetConstant(d
, "Centre",SWIG_From_int(static_cast< int >(wxCentre
)));
60405 SWIG_Python_SetConstant(d
, "Center",SWIG_From_int(static_cast< int >(wxCenter
)));
60406 SWIG_Python_SetConstant(d
, "CentreX",SWIG_From_int(static_cast< int >(wxCentreX
)));
60407 SWIG_Python_SetConstant(d
, "CentreY",SWIG_From_int(static_cast< int >(wxCentreY
)));
60408 SWIG_Python_SetConstant(d
, "Unconstrained",SWIG_From_int(static_cast< int >(wxUnconstrained
)));
60409 SWIG_Python_SetConstant(d
, "AsIs",SWIG_From_int(static_cast< int >(wxAsIs
)));
60410 SWIG_Python_SetConstant(d
, "PercentOf",SWIG_From_int(static_cast< int >(wxPercentOf
)));
60411 SWIG_Python_SetConstant(d
, "Above",SWIG_From_int(static_cast< int >(wxAbove
)));
60412 SWIG_Python_SetConstant(d
, "Below",SWIG_From_int(static_cast< int >(wxBelow
)));
60413 SWIG_Python_SetConstant(d
, "LeftOf",SWIG_From_int(static_cast< int >(wxLeftOf
)));
60414 SWIG_Python_SetConstant(d
, "RightOf",SWIG_From_int(static_cast< int >(wxRightOf
)));
60415 SWIG_Python_SetConstant(d
, "SameAs",SWIG_From_int(static_cast< int >(wxSameAs
)));
60416 SWIG_Python_SetConstant(d
, "Absolute",SWIG_From_int(static_cast< int >(wxAbsolute
)));
60418 // Initialize threading, some globals and such
60422 // Although these are defined in __version__ they need to be here too so
60423 // that an assert can be done to ensure that the wxPython and the wxWindows
60425 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
60426 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
60427 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));