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_wxEventBlocker swig_types[38]
2505 #define SWIGTYPE_p_wxEventLoop swig_types[39]
2506 #define SWIGTYPE_p_wxEventLoopActivator swig_types[40]
2507 #define SWIGTYPE_p_wxEvtHandler swig_types[41]
2508 #define SWIGTYPE_p_wxFSFile swig_types[42]
2509 #define SWIGTYPE_p_wxFileSystem swig_types[43]
2510 #define SWIGTYPE_p_wxFileSystemHandler swig_types[44]
2511 #define SWIGTYPE_p_wxFlexGridSizer swig_types[45]
2512 #define SWIGTYPE_p_wxFocusEvent swig_types[46]
2513 #define SWIGTYPE_p_wxFont swig_types[47]
2514 #define SWIGTYPE_p_wxFrame swig_types[48]
2515 #define SWIGTYPE_p_wxGBPosition swig_types[49]
2516 #define SWIGTYPE_p_wxGBSizerItem swig_types[50]
2517 #define SWIGTYPE_p_wxGBSpan swig_types[51]
2518 #define SWIGTYPE_p_wxGIFHandler swig_types[52]
2519 #define SWIGTYPE_p_wxGridBagSizer swig_types[53]
2520 #define SWIGTYPE_p_wxGridSizer swig_types[54]
2521 #define SWIGTYPE_p_wxHelpEvent__Origin swig_types[55]
2522 #define SWIGTYPE_p_wxICOHandler swig_types[56]
2523 #define SWIGTYPE_p_wxIconizeEvent swig_types[57]
2524 #define SWIGTYPE_p_wxIdleEvent swig_types[58]
2525 #define SWIGTYPE_p_wxImage swig_types[59]
2526 #define SWIGTYPE_p_wxImageHandler swig_types[60]
2527 #define SWIGTYPE_p_wxImageHistogram swig_types[61]
2528 #define SWIGTYPE_p_wxImage_HSVValue swig_types[62]
2529 #define SWIGTYPE_p_wxImage_RGBValue swig_types[63]
2530 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[64]
2531 #define SWIGTYPE_p_wxInitDialogEvent swig_types[65]
2532 #define SWIGTYPE_p_wxInputStream swig_types[66]
2533 #define SWIGTYPE_p_wxInternetFSHandler swig_types[67]
2534 #define SWIGTYPE_p_wxItemContainer swig_types[68]
2535 #define SWIGTYPE_p_wxJPEGHandler swig_types[69]
2536 #define SWIGTYPE_p_wxKeyEvent swig_types[70]
2537 #define SWIGTYPE_p_wxLayoutConstraints swig_types[71]
2538 #define SWIGTYPE_p_wxMaximizeEvent swig_types[72]
2539 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[73]
2540 #define SWIGTYPE_p_wxMenu swig_types[74]
2541 #define SWIGTYPE_p_wxMenuBar swig_types[75]
2542 #define SWIGTYPE_p_wxMenuBarBase swig_types[76]
2543 #define SWIGTYPE_p_wxMenuEvent swig_types[77]
2544 #define SWIGTYPE_p_wxMenuItem swig_types[78]
2545 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[79]
2546 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[80]
2547 #define SWIGTYPE_p_wxMouseEvent swig_types[81]
2548 #define SWIGTYPE_p_wxMoveEvent swig_types[82]
2549 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[83]
2550 #define SWIGTYPE_p_wxNcPaintEvent swig_types[84]
2551 #define SWIGTYPE_p_wxNotifyEvent swig_types[85]
2552 #define SWIGTYPE_p_wxObject swig_types[86]
2553 #define SWIGTYPE_p_wxOutputStream swig_types[87]
2554 #define SWIGTYPE_p_wxPCXHandler swig_types[88]
2555 #define SWIGTYPE_p_wxPNGHandler swig_types[89]
2556 #define SWIGTYPE_p_wxPNMHandler swig_types[90]
2557 #define SWIGTYPE_p_wxPaintEvent swig_types[91]
2558 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[92]
2559 #define SWIGTYPE_p_wxPaperSize swig_types[93]
2560 #define SWIGTYPE_p_wxPoint swig_types[94]
2561 #define SWIGTYPE_p_wxPoint2D swig_types[95]
2562 #define SWIGTYPE_p_wxPropagateOnce swig_types[96]
2563 #define SWIGTYPE_p_wxPropagationDisabler swig_types[97]
2564 #define SWIGTYPE_p_wxPyApp swig_types[98]
2565 #define SWIGTYPE_p_wxPyCommandEvent swig_types[99]
2566 #define SWIGTYPE_p_wxPyDropTarget swig_types[100]
2567 #define SWIGTYPE_p_wxPyEvent swig_types[101]
2568 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[102]
2569 #define SWIGTYPE_p_wxPyImageHandler swig_types[103]
2570 #define SWIGTYPE_p_wxPyInputStream swig_types[104]
2571 #define SWIGTYPE_p_wxPySizer swig_types[105]
2572 #define SWIGTYPE_p_wxPyValidator swig_types[106]
2573 #define SWIGTYPE_p_wxQuantize swig_types[107]
2574 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[108]
2575 #define SWIGTYPE_p_wxRealPoint swig_types[109]
2576 #define SWIGTYPE_p_wxRect swig_types[110]
2577 #define SWIGTYPE_p_wxRect2D swig_types[111]
2578 #define SWIGTYPE_p_wxRegion swig_types[112]
2579 #define SWIGTYPE_p_wxScrollEvent swig_types[113]
2580 #define SWIGTYPE_p_wxScrollWinEvent swig_types[114]
2581 #define SWIGTYPE_p_wxSetCursorEvent swig_types[115]
2582 #define SWIGTYPE_p_wxShowEvent swig_types[116]
2583 #define SWIGTYPE_p_wxSize swig_types[117]
2584 #define SWIGTYPE_p_wxSizeEvent swig_types[118]
2585 #define SWIGTYPE_p_wxSizer swig_types[119]
2586 #define SWIGTYPE_p_wxSizerFlags swig_types[120]
2587 #define SWIGTYPE_p_wxSizerItem swig_types[121]
2588 #define SWIGTYPE_p_wxStaticBox swig_types[122]
2589 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[123]
2590 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[124]
2591 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[125]
2592 #define SWIGTYPE_p_wxTGAHandler swig_types[126]
2593 #define SWIGTYPE_p_wxTIFFHandler swig_types[127]
2594 #define SWIGTYPE_p_wxToolTip swig_types[128]
2595 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[129]
2596 #define SWIGTYPE_p_wxValidator swig_types[130]
2597 #define SWIGTYPE_p_wxVisualAttributes swig_types[131]
2598 #define SWIGTYPE_p_wxWindow swig_types[132]
2599 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[133]
2600 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[134]
2601 #define SWIGTYPE_p_wxXPMHandler swig_types[135]
2602 #define SWIGTYPE_p_wxZipFSHandler swig_types[136]
2603 static swig_type_info
*swig_types
[138];
2604 static swig_module_info swig_module
= {swig_types
, 137, 0, 0, 0, 0};
2605 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2606 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2608 /* -------- TYPES TABLE (END) -------- */
2610 #if (PY_VERSION_HEX <= 0x02000000)
2611 # if !defined(SWIG_PYTHON_CLASSIC)
2612 # error "This python version requires to use swig with the '-classic' option"
2615 #if (PY_VERSION_HEX <= 0x02020000)
2616 # error "This python version requires to use swig with the '-nomodern' option"
2618 #if (PY_VERSION_HEX <= 0x02020000)
2619 # error "This python version requires to use swig with the '-nomodernargs' option"
2622 # error "This python version requires to use swig with the '-nofastunpack' option"
2625 /*-----------------------------------------------
2626 @(target):= _core_.so
2627 ------------------------------------------------*/
2628 #define SWIG_init init_core_
2630 #define SWIG_name "_core_"
2632 #define SWIGVERSION 0x010329
2635 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2636 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2639 #include <stdexcept>
2643 class PyObject_ptr
{
2648 PyObject_ptr() :_obj(0)
2652 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2657 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2659 if (initial_ref
) Py_XINCREF(_obj
);
2662 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2664 Py_XINCREF(item
._obj
);
2675 operator PyObject
*() const
2680 PyObject
*operator->() const
2689 struct PyObject_var
: PyObject_ptr
{
2690 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2692 PyObject_var
& operator = (PyObject
* obj
)
2702 #include "wx/wxPython/wxPython_int.h"
2703 #include "wx/wxPython/pyclasses.h"
2704 #include "wx/wxPython/twoitem.h"
2707 #ifndef wxPyUSE_EXPORT
2708 // Helper functions for dealing with SWIG objects and such. These are
2709 // located here so they know about the SWIG types and functions declared
2710 // in the wrapper code.
2712 #include <wx/hashmap.h>
2713 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
2716 // Maintains a hashmap of className to swig_type_info pointers. Given the
2717 // name of a class either looks up the type info in the cache, or scans the
2718 // SWIG tables for it.
2719 extern PyObject
* wxPyPtrTypeMap
;
2721 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
2723 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
2725 if (typeInfoCache
== NULL
)
2726 typeInfoCache
= new wxPyTypeInfoHashMap
;
2728 wxString
name(className
);
2729 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
2732 // it wasn't in the cache, so look it up from SWIG
2733 name
.Append(wxT(" *"));
2734 swigType
= SWIG_TypeQuery(name
.mb_str());
2736 // if it still wasn't found, try looking for a mapped name
2741 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
2742 (char*)(const char*)name
.mbc_str())) != NULL
) {
2743 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
2744 name
.Append(wxT(" *"));
2745 swigType
= SWIG_TypeQuery(name
.mb_str());
2749 // and add it to the map if found
2750 (*typeInfoCache
)[className
] = swigType
;
2757 // Check if a class name is a type known to SWIG
2758 bool wxPyCheckSwigType(const wxChar
* className
) {
2760 swig_type_info
* swigType
= wxPyFindSwigType(className
);
2761 return swigType
!= NULL
;
2765 // Given a pointer to a C++ object and a class name, construct a Python proxy
2767 PyObject
* wxPyConstructObject(void* ptr
,
2768 const wxChar
* className
,
2771 swig_type_info
* swigType
= wxPyFindSwigType(className
);
2772 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
2774 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
2778 // Extract a pointer to the wrapped C++ object from a Python proxy object.
2779 // Ensures that the proxy object is of the specified (or derived) type. If
2780 // not able to perform the conversion then a Python exception is set and the
2781 // error should be handled properly in the caller. Returns True on success.
2782 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
2783 const wxChar
* className
) {
2785 swig_type_info
* swigType
= wxPyFindSwigType(className
);
2786 wxCHECK_MSG(swigType
!= NULL
, false, wxT("Unknown type in wxPyConvertSwigPtr"));
2788 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
2793 // Make a SWIGified pointer object suitable for a .this attribute
2794 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
2796 PyObject
* robj
= NULL
;
2798 swig_type_info
* swigType
= wxPyFindSwigType(className
);
2799 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyMakeSwigPtr"));
2801 robj
= PySwigObject_New(ptr
, swigType
, 0);
2806 // Python's PyInstance_Check does not return True for instances of new-style
2807 // classes. This should get close enough for both new and old classes but I
2808 // should re-evaluate the need for doing instance checks...
2809 bool wxPyInstance_Check(PyObject
* obj
) {
2810 return PyObject_HasAttrString(obj
, "__class__") != 0;
2814 // This one checks if the object is an instance of a SWIG proxy class (it has
2815 // a .this attribute, and the .this attribute is a PySwigObject.)
2816 bool wxPySwigInstance_Check(PyObject
* obj
) {
2817 static PyObject
* this_str
= NULL
;
2818 if (this_str
== NULL
)
2819 this_str
= PyString_FromString("this");
2821 PyObject
* this_attr
= PyObject_GetAttr(obj
, this_str
);
2823 bool retval
= (PySwigObject_Check(this_attr
) != 0);
2824 Py_DECREF(this_attr
);
2833 // Export a C API in a struct. Other modules will be able to load this from
2834 // the wx._core_ module and will then have safe access to these functions,
2835 // even if they are located in another shared library.
2836 static wxPyCoreAPI API
= {
2839 wxPyConstructObject
,
2843 wxPyBeginAllowThreads
,
2844 wxPyEndAllowThreads
,
2845 wxPyBeginBlockThreads
,
2846 wxPyEndBlockThreads
,
2858 wxPoint_LIST_helper
,
2859 wxBitmap_LIST_helper
,
2860 wxString_LIST_helper
,
2861 wxAcceleratorEntry_LIST_helper
,
2870 wxPySimple_typecheck
,
2873 wxPyCBH_setCallbackInfo
,
2874 wxPyCBH_findCallback
,
2875 wxPyCBH_callCallback
,
2876 wxPyCBH_callCallbackObj
,
2882 wxPy2int_seq_helper
,
2883 wxPy4int_seq_helper
,
2884 wxArrayString2PyList_helper
,
2885 wxArrayInt2PyList_helper
,
2887 wxPyClientData_dtor
,
2889 wxPyOORClientData_dtor
,
2891 wxPyCBInputStream_create
,
2892 wxPyCBInputStream_copy
,
2895 wxPySwigInstance_Check
,
2899 wxArrayDouble2PyList_helper
,
2900 wxPoint2D_LIST_helper
,
2908 #if !WXWIN_COMPATIBILITY_2_4
2909 #define wxHIDE_READONLY 0
2913 #define SWIG_From_long PyInt_FromLong
2916 SWIGINTERNINLINE PyObject
*
2917 SWIG_From_int (int value
)
2919 return SWIG_From_long (value
);
2922 static const wxString
wxPyEmptyString(wxEmptyString
);
2923 SWIGINTERN wxString
wxObject_GetClassName(wxObject
*self
){
2924 return self
->GetClassInfo()->GetClassName();
2926 SWIGINTERN
void wxObject_Destroy(wxObject
*self
){
2931 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
2937 # define LLONG_MIN LONG_LONG_MIN
2940 # define LLONG_MAX LONG_LONG_MAX
2943 # define ULLONG_MAX ULONG_LONG_MAX
2948 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2950 if (PyNumber_Check(obj
)) {
2951 if (val
) *val
= PyInt_AsLong(obj
);
2954 return SWIG_TypeError
;
2959 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2962 int res
= SWIG_AsVal_long (obj
, &v
);
2963 if (SWIG_IsOK(res
)) {
2964 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2965 return SWIG_OverflowError
;
2967 if (val
) *val
= static_cast< int >(v
);
2973 SWIGINTERN
bool wxSize___eq__(wxSize
*self
,PyObject
*other
){
2974 wxSize temp
, *obj
= &temp
;
2975 if ( other
== Py_None
) return false;
2976 if ( ! wxSize_helper(other
, &obj
) ) {
2980 return self
->operator==(*obj
);
2982 SWIGINTERN
bool wxSize___ne__(wxSize
*self
,PyObject
*other
){
2983 wxSize temp
, *obj
= &temp
;
2984 if ( other
== Py_None
) return true;
2985 if ( ! wxSize_helper(other
, &obj
)) {
2989 return self
->operator!=(*obj
);
2996 SWIG_AsVal_double (PyObject
*obj
, double* val
)
2998 if (PyNumber_Check(obj
)) {
2999 if (val
) *val
= PyFloat_AsDouble(obj
);
3002 return SWIG_TypeError
;
3007 SWIG_AsVal_float (PyObject
* obj
, float *val
)
3010 int res
= SWIG_AsVal_double (obj
, &v
);
3011 if (SWIG_IsOK(res
)) {
3012 if ((v
< -FLT_MAX
|| v
> FLT_MAX
)) {
3013 return SWIG_OverflowError
;
3015 if (val
) *val
= static_cast< float >(v
);
3021 SWIGINTERN PyObject
*wxSize_Get(wxSize
*self
){
3022 //wxPyBlock_t blocked = wxPyBeginBlockThreads();
3023 PyObject
* tup
= PyTuple_New(2);
3024 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
3025 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
3026 //wxPyEndBlockThreads(blocked);
3030 #define SWIG_From_double PyFloat_FromDouble
3032 SWIGINTERN
bool wxRealPoint___eq__(wxRealPoint
*self
,PyObject
*other
){
3033 wxRealPoint temp
, *obj
= &temp
;
3034 if ( other
== Py_None
) return false;
3035 if ( ! wxRealPoint_helper(other
, &obj
) ) {
3039 return self
->operator==(*obj
);
3041 SWIGINTERN
bool wxRealPoint___ne__(wxRealPoint
*self
,PyObject
*other
){
3042 wxRealPoint temp
, *obj
= &temp
;
3043 if ( other
== Py_None
) return true;
3044 if ( ! wxRealPoint_helper(other
, &obj
)) {
3048 return self
->operator!=(*obj
);
3050 SWIGINTERN
void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
3054 SWIGINTERN PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
3055 //wxPyBlock_t blocked = wxPyBeginBlockThreads();
3056 PyObject
* tup
= PyTuple_New(2);
3057 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
3058 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
3059 //PyEndBlockThreads(blocked);
3062 SWIGINTERN
bool wxPoint___eq__(wxPoint
*self
,PyObject
*other
){
3063 wxPoint temp
, *obj
= &temp
;
3064 if ( other
== Py_None
) return false;
3065 if ( ! wxPoint_helper(other
, &obj
) ) {
3069 return self
->operator==(*obj
);
3071 SWIGINTERN
bool wxPoint___ne__(wxPoint
*self
,PyObject
*other
){
3072 wxPoint temp
, *obj
= &temp
;
3073 if ( other
== Py_None
) return true;
3074 if ( ! wxPoint_helper(other
, &obj
)) {
3078 return self
->operator!=(*obj
);
3080 SWIGINTERN
void wxPoint_Set(wxPoint
*self
,long x
,long y
){
3084 SWIGINTERN PyObject
*wxPoint_Get(wxPoint
*self
){
3085 //wxPyBlock_t blocked = wxPyBeginBlockThreads();
3086 PyObject
* tup
= PyTuple_New(2);
3087 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
3088 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
3089 //wxPyEndBlockThreads(blocked);
3092 SWIGINTERN
bool wxRect___eq__(wxRect
*self
,PyObject
*other
){
3093 wxRect temp
, *obj
= &temp
;
3094 if ( other
== Py_None
) return false;
3095 if ( ! wxRect_helper(other
, &obj
) ) {
3099 return self
->operator==(*obj
);
3101 SWIGINTERN
bool wxRect___ne__(wxRect
*self
,PyObject
*other
){
3102 wxRect temp
, *obj
= &temp
;
3103 if ( other
== Py_None
) return true;
3104 if ( ! wxRect_helper(other
, &obj
)) {
3108 return self
->operator!=(*obj
);
3110 SWIGINTERN
void wxRect_Set(wxRect
*self
,int x
=0,int y
=0,int width
=0,int height
=0){
3113 self
->width
= width
;
3114 self
->height
= height
;
3116 SWIGINTERN PyObject
*wxRect_Get(wxRect
*self
){
3117 //wxPyBlock_t blocked = wxPyBeginBlockThreads();
3118 PyObject
* tup
= PyTuple_New(4);
3119 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
3120 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
3121 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
3122 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
3123 //wxPyEndBlockThreads(blocked);
3127 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
3130 wxRect
dest(0,0,0,0);
3133 reg1
.Intersect(reg2
);
3134 dest
= reg1
.GetBox();
3136 if (dest
!= wxRect(0,0,0,0)) {
3137 //wxPyBlock_t blocked = wxPyBeginBlockThreads();
3138 wxRect
* newRect
= new wxRect(dest
);
3139 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), true);
3140 //wxPyEndBlockThreads(blocked);
3147 SWIGINTERN
bool wxPoint2D___eq__(wxPoint2D
*self
,PyObject
*other
){
3148 wxPoint2D temp
, *obj
= &temp
;
3149 if ( other
== Py_None
) return false;
3150 if ( ! wxPoint2D_helper(other
, &obj
) ) {
3154 return self
->operator==(*obj
);
3156 SWIGINTERN
bool wxPoint2D___ne__(wxPoint2D
*self
,PyObject
*other
){
3157 wxPoint2D temp
, *obj
= &temp
;
3158 if ( other
== Py_None
) return true;
3159 if ( ! wxPoint2D_helper(other
, &obj
)) {
3163 return self
->operator!=(*obj
);
3165 SWIGINTERN
void wxPoint2D_Set(wxPoint2D
*self
,double x
=0,double y
=0){
3169 SWIGINTERN PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
3170 //wxPyBlock_t blocked = wxPyBeginBlockThreads();
3171 PyObject
* tup
= PyTuple_New(2);
3172 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
3173 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
3174 //wxPyEndBlockThreads(blocked);
3177 SWIGINTERN
bool wxRect2D___eq__(wxRect2D
*self
,PyObject
*other
){
3178 wxRect2D temp
, *obj
= &temp
;
3179 if ( other
== Py_None
) return false;
3180 if ( ! wxRect2D_helper(other
, &obj
) ) {
3184 return self
->operator==(*obj
);
3186 SWIGINTERN
bool wxRect2D___ne__(wxRect2D
*self
,PyObject
*other
){
3187 wxRect2D temp
, *obj
= &temp
;
3188 if ( other
== Py_None
) return true;
3189 if ( ! wxRect2D_helper(other
, &obj
)) {
3193 return self
->operator!=(*obj
);
3195 SWIGINTERN
void wxRect2D_Set(wxRect2D
*self
,wxDouble x
=0,wxDouble y
=0,wxDouble width
=0,wxDouble height
=0){
3198 self
->m_width
= width
;
3199 self
->m_height
= height
;
3201 SWIGINTERN PyObject
*wxRect2D_Get(wxRect2D
*self
){
3202 //wxPyBlock_t blocked = wxPyBeginBlockThreads();
3203 PyObject
* tup
= PyTuple_New(4);
3204 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
3205 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
3206 PyTuple_SET_ITEM(tup
, 2, PyFloat_FromDouble(self
->m_width
));
3207 PyTuple_SET_ITEM(tup
, 3, PyFloat_FromDouble(self
->m_height
));
3208 //wxPyEndBlockThreads(blocked);
3212 #include "wx/wxPython/pyistream.h"
3214 SWIGINTERN wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
3215 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
3217 return new wxPyInputStream(wxis
);
3222 SWIGINTERN swig_type_info
*
3223 SWIG_pchar_descriptor()
3225 static int init
= 0;
3226 static swig_type_info
* info
= 0;
3228 info
= SWIG_TypeQuery("_p_char");
3235 SWIGINTERNINLINE PyObject
*
3236 SWIG_FromCharPtrAndSize(const char* carray
, size_t size
)
3239 if (size
> INT_MAX
) {
3240 swig_type_info
* pchar_descriptor
= SWIG_pchar_descriptor();
3241 return pchar_descriptor
?
3242 SWIG_NewPointerObj(const_cast< char * >(carray
), pchar_descriptor
, 0) : SWIG_Py_Void();
3244 return PyString_FromStringAndSize(carray
, static_cast< int >(size
));
3247 return SWIG_Py_Void();
3252 SWIGINTERNINLINE PyObject
*
3253 SWIG_From_char (char c
)
3255 return SWIG_FromCharPtrAndSize(&c
,1);
3259 SWIGINTERNINLINE PyObject
*
3260 SWIG_From_unsigned_SS_long (unsigned long value
)
3262 return (value
> LONG_MAX
) ?
3263 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
3267 SWIGINTERNINLINE PyObject
*
3268 SWIG_From_size_t (size_t value
)
3270 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3275 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* psize
, int *alloc
)
3277 if (PyString_Check(obj
)) {
3278 char *cstr
; Py_ssize_t len
;
3279 PyString_AsStringAndSize(obj
, &cstr
, &len
);
3283 In python the user should not be able to modify the inner
3284 string representation. To warranty that, if you define
3285 SWIG_PYTHON_SAFE_CSTRINGS, a new/copy of the python string
3286 buffer is always returned.
3288 The default behavior is just to return the pointer value,
3291 #if defined(SWIG_PYTHON_SAFE_CSTRINGS)
3292 if (*alloc
!= SWIG_OLDOBJ
)
3294 if (*alloc
== SWIG_NEWOBJ
)
3297 *cptr
= reinterpret_cast< char* >(memcpy((new char[len
+ 1]), cstr
, sizeof(char)*(len
+ 1)));
3298 *alloc
= SWIG_NEWOBJ
;
3302 *alloc
= SWIG_OLDOBJ
;
3305 *cptr
= PyString_AsString(obj
);
3308 if (psize
) *psize
= len
+ 1;
3311 swig_type_info
* pchar_descriptor
= SWIG_pchar_descriptor();
3312 if (pchar_descriptor
) {
3314 if (SWIG_ConvertPtr(obj
, &vptr
, pchar_descriptor
, 0) == SWIG_OK
) {
3315 if (cptr
) *cptr
= (char *) vptr
;
3316 if (psize
) *psize
= vptr
? (strlen((char *)vptr
) + 1) : 0;
3317 if (alloc
) *alloc
= SWIG_OLDOBJ
;
3322 return SWIG_TypeError
;
3327 SWIG_AsCharArray(PyObject
* obj
, char *val
, size_t size
)
3329 char* cptr
= 0; size_t csize
= 0; int alloc
= SWIG_OLDOBJ
;
3330 int res
= SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
, &alloc
);
3331 if (SWIG_IsOK(res
)) {
3332 if ((csize
== size
+ 1) && cptr
&& !(cptr
[csize
-1])) --csize
;
3333 if (csize
<= size
) {
3335 if (csize
) memcpy(val
, cptr
, csize
*sizeof(char));
3336 if (csize
< size
) memset(val
+ csize
, 0, (size
- csize
)*sizeof(char));
3338 if (alloc
== SWIG_NEWOBJ
) {
3340 res
= SWIG_DelNewMask(res
);
3344 if (alloc
== SWIG_NEWOBJ
) delete[] cptr
;
3346 return SWIG_TypeError
;
3351 SWIG_AsVal_char (PyObject
* obj
, char *val
)
3353 int res
= SWIG_AsCharArray(obj
, val
, 1);
3354 if (!SWIG_IsOK(res
)) {
3356 res
= SWIG_AddCast(SWIG_AsVal_long (obj
, &v
));
3357 if (SWIG_IsOK(res
)) {
3358 if ((CHAR_MIN
<= v
) && (v
<= CHAR_MAX
)) {
3359 if (val
) *val
= static_cast< char >(v
);
3361 res
= SWIG_OverflowError
;
3368 SWIGINTERN
void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
3369 // We use only strings for the streams, not unicode
3370 PyObject
* str
= PyObject_Str(obj
);
3372 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
3375 self
->Write(PyString_AS_STRING(str
),
3376 PyString_GET_SIZE(str
));
3380 #include "wx/wxPython/pyistream.h"
3383 class wxPyFileSystemHandler
: public wxFileSystemHandler
3386 wxPyFileSystemHandler() : wxFileSystemHandler() {}
3388 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
3389 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
3390 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
3391 DEC_PYCALLBACK_STRING__pure(FindNext
);
3393 wxString
GetProtocol(const wxString
& location
) {
3394 return wxFileSystemHandler::GetProtocol(location
);
3397 wxString
GetLeftLocation(const wxString
& location
) {
3398 return wxFileSystemHandler::GetLeftLocation(location
);
3401 wxString
GetAnchor(const wxString
& location
) {
3402 return wxFileSystemHandler::GetAnchor(location
);
3405 wxString
GetRightLocation(const wxString
& location
) {
3406 return wxFileSystemHandler::GetRightLocation(location
);
3409 wxString
GetMimeTypeFromExt(const wxString
& location
) {
3410 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
3417 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
3418 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
3419 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
3420 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
3424 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
3426 if (obj
== Py_True
) {
3427 if (val
) *val
= true;
3429 } else if (obj
== Py_False
) {
3430 if (val
) *val
= false;
3434 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
3435 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
3440 SWIGINTERN wxString
wxFileSystem_URLToFileName(wxString
const &url
){
3441 wxFileName fname
= wxFileSystem::URLToFileName(url
);
3442 return fname
.GetFullPath();
3445 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
3448 wxMemoryFSHandler::AddFile(filename
, image
, type
);
3451 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
3452 const wxBitmap
& bitmap
,
3454 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
3457 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
3459 if (! PyString_Check(data
)) {
3460 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
3461 "Expected string object"));
3465 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3466 void* ptr
= (void*)PyString_AsString(data
);
3467 size_t size
= PyString_Size(data
);
3468 wxPyEndBlockThreads(blocked
);
3470 wxMemoryFSHandler::AddFile(filename
, ptr
, size
);
3474 #include "wx/wxPython/pyistream.h"
3478 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
3481 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
3482 return SWIG_TypeError
;
3485 *val
= (unsigned long)v
;
3491 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
3494 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
3495 if (SWIG_IsOK(res
)) {
3496 if ((v
> UCHAR_MAX
)) {
3497 return SWIG_OverflowError
;
3499 if (val
) *val
= static_cast< unsigned char >(v
);
3506 SWIGINTERNINLINE PyObject
*
3507 SWIG_From_unsigned_SS_char (unsigned char value
)
3509 return SWIG_From_unsigned_SS_long (value
);
3512 SWIGINTERN
unsigned long wxImageHistogram_GetCount(wxImageHistogram
*self
,unsigned long key
){
3513 wxImageHistogramEntry e
= (*self
)[key
];
3516 SWIGINTERN
unsigned long wxImageHistogram_GetCountRGB(wxImageHistogram
*self
,byte r
,byte g
,byte b
){
3517 unsigned long key
= wxImageHistogram::MakeKey(r
, g
, b
);
3518 wxImageHistogramEntry e
= (*self
)[key
];
3521 SWIGINTERN
unsigned long wxImageHistogram_GetCountColour(wxImageHistogram
*self
,wxColour
const &colour
){
3522 unsigned long key
= wxImageHistogram::MakeKey(colour
.Red(),
3525 wxImageHistogramEntry e
= (*self
)[key
];
3529 // Pull the nested class out to the top level for SWIG's sake
3530 #define wxImage_RGBValue wxImage::RGBValue
3531 #define wxImage_HSVValue wxImage::HSVValue
3533 SWIGINTERN wxImage
*new_wxImage(int width
=0,int height
=0,bool clear
=true){
3534 if (width
> 0 && height
> 0)
3535 return new wxImage(width
, height
, clear
);
3539 SWIGINTERN wxImage
*new_wxImage(wxBitmap
const &bitmap
){
3540 return new wxImage(bitmap
.ConvertToImage());
3542 SWIGINTERN wxImage
*new_wxImage(int width
,int height
,buffer data
,int DATASIZE
){
3543 if (DATASIZE
!= width
*height
*3) {
3544 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3548 // Copy the source data so the wxImage can clean it up later
3549 buffer copy
= (buffer
)malloc(DATASIZE
);
3551 wxPyBLOCK_THREADS(PyErr_NoMemory());
3554 memcpy(copy
, data
, DATASIZE
);
3555 return new wxImage(width
, height
, copy
, false);
3557 SWIGINTERN wxImage
*new_wxImage(int width
,int height
,buffer data
,int DATASIZE
,buffer alpha
,int ALPHASIZE
){
3558 if (DATASIZE
!= width
*height
*3) {
3559 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3562 if (ALPHASIZE
!= width
*height
) {
3563 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3567 // Copy the source data so the wxImage can clean it up later
3568 buffer dcopy
= (buffer
)malloc(DATASIZE
);
3569 if (dcopy
== NULL
) {
3570 wxPyBLOCK_THREADS(PyErr_NoMemory());
3573 memcpy(dcopy
, data
, DATASIZE
);
3575 buffer acopy
= (buffer
)malloc(ALPHASIZE
);
3576 if (acopy
== NULL
) {
3577 wxPyBLOCK_THREADS(PyErr_NoMemory());
3580 memcpy(acopy
, alpha
, ALPHASIZE
);
3582 return new wxImage(width
, height
, dcopy
, acopy
, false);
3584 SWIGINTERN wxSize
wxImage_GetSize(wxImage
*self
){
3585 wxSize
size(self
->GetWidth(), self
->GetHeight());
3588 SWIGINTERN PyObject
*wxImage_GetData(wxImage
*self
){
3589 buffer data
= self
->GetData();
3590 int len
= self
->GetWidth() * self
->GetHeight() * 3;
3592 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
3595 SWIGINTERN
void wxImage_SetData(wxImage
*self
,buffer data
,int DATASIZE
){
3596 if (DATASIZE
!= self
->GetWidth() * self
->GetHeight() * 3) {
3597 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3600 buffer copy
= (buffer
)malloc(DATASIZE
);
3602 wxPyBLOCK_THREADS(PyErr_NoMemory());
3605 memcpy(copy
, data
, DATASIZE
);
3606 self
->SetData(copy
, false);
3607 // wxImage takes ownership of copy...
3609 SWIGINTERN PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
3610 buffer data
= self
->GetData();
3611 int len
= self
->GetWidth() * self
->GetHeight() * 3;
3613 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
3616 SWIGINTERN
void wxImage_SetDataBuffer(wxImage
*self
,buffer data
,int DATASIZE
){
3617 if (DATASIZE
!= self
->GetWidth() * self
->GetHeight() * 3) {
3618 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3621 self
->SetData(data
, true);
3623 SWIGINTERN PyObject
*wxImage_GetAlphaData(wxImage
*self
){
3624 buffer data
= self
->GetAlpha();
3628 int len
= self
->GetWidth() * self
->GetHeight();
3630 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
3634 SWIGINTERN
void wxImage_SetAlphaData(wxImage
*self
,buffer alpha
,int ALPHASIZE
){
3635 if (ALPHASIZE
!= self
->GetWidth() * self
->GetHeight()) {
3636 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3639 buffer acopy
= (buffer
)malloc(ALPHASIZE
);
3640 if (acopy
== NULL
) {
3641 wxPyBLOCK_THREADS(PyErr_NoMemory());
3644 memcpy(acopy
, alpha
, ALPHASIZE
);
3645 self
->SetAlpha(acopy
, false);
3646 // wxImage takes ownership of acopy...
3648 SWIGINTERN PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
3649 buffer data
= self
->GetAlpha();
3650 int len
= self
->GetWidth() * self
->GetHeight();
3652 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
3655 SWIGINTERN
void wxImage_SetAlphaBuffer(wxImage
*self
,buffer alpha
,int ALPHASIZE
){
3656 if (ALPHASIZE
!= self
->GetWidth() * self
->GetHeight()) {
3657 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3660 self
->SetAlpha(alpha
, true);
3662 SWIGINTERN PyObject
*wxImage_GetHandlers(){
3663 wxList
& list
= wxImage::GetHandlers();
3664 return wxPy_ConvertList(&list
);
3666 SWIGINTERN wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
,int depth
=-1){
3667 wxBitmap
bitmap(*self
, depth
);
3670 SWIGINTERN wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,byte red
,byte green
,byte blue
){
3671 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
3672 wxBitmap
bitmap( mono
, 1 );
3676 wxImage
* _ImageFromBuffer(int width
, int height
,
3677 buffer data
, int DATASIZE
,
3678 buffer alpha
=NULL
, int ALPHASIZE
=0)
3680 if (DATASIZE
!= width
*height
*3) {
3681 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3684 if (alpha
!= NULL
) {
3685 if (ALPHASIZE
!= width
*height
) {
3686 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3689 return new wxImage(width
, height
, data
, alpha
, true);
3691 return new wxImage(width
, height
, data
, true);
3694 static const wxString
wxPyIMAGE_OPTION_FILENAME(wxIMAGE_OPTION_FILENAME
);
3695 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
3696 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
3697 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
3698 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
3699 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONX(wxIMAGE_OPTION_RESOLUTIONX
);
3700 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONY(wxIMAGE_OPTION_RESOLUTIONY
);
3701 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
3702 static const wxString
wxPyIMAGE_OPTION_QUALITY(wxIMAGE_OPTION_QUALITY
);
3703 static const wxString
wxPyIMAGE_OPTION_BITSPERSAMPLE(wxIMAGE_OPTION_BITSPERSAMPLE
);
3704 static const wxString
wxPyIMAGE_OPTION_SAMPLESPERPIXEL(wxIMAGE_OPTION_SAMPLESPERPIXEL
);
3705 static const wxString
wxPyIMAGE_OPTION_COMPRESSION(wxIMAGE_OPTION_COMPRESSION
);
3706 static const wxString
wxPyIMAGE_OPTION_IMAGEDESCRIPTOR(wxIMAGE_OPTION_IMAGEDESCRIPTOR
);
3707 static const wxString
wxPyIMAGE_OPTION_PNG_FORMAT(wxIMAGE_OPTION_PNG_FORMAT
);
3708 static const wxString
wxPyIMAGE_OPTION_PNG_BITDEPTH(wxIMAGE_OPTION_PNG_BITDEPTH
);
3710 #include <wx/imagtga.h>
3713 #include <wx/quantize.h>
3715 SWIGINTERN
bool wxQuantize_Quantize(wxImage
const &src
,wxImage
&dest
,int desiredNoColours
=236,int flags
=wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
){
3716 return wxQuantize::Quantize(src
, dest
,
3719 NULL
, // eightBitData
3722 SWIGINTERN
void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
3723 if (PyCallable_Check(func
)) {
3724 self
->Connect(id
, lastId
, eventType
,
3725 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
3726 new wxPyCallback(func
));
3728 else if (func
== Py_None
) {
3729 self
->Disconnect(id
, lastId
, eventType
,
3730 (wxObjectEventFunction
)
3731 &wxPyCallback::EventThunker
);
3735 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
3738 SWIGINTERN
bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
=-1,wxEventType eventType
=wxEVT_NULL
){
3739 return self
->Disconnect(id
, lastId
, eventType
,
3740 (wxObjectEventFunction
)
3741 &wxPyCallback::EventThunker
);
3743 SWIGINTERN
void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
,bool incref
=true){
3744 if (_self
&& _self
!= Py_None
) {
3745 self
->SetClientObject(new wxPyOORClientData(_self
, incref
));
3748 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
3750 self
->SetClientObject(NULL
); // This will delete it too
3756 #define wxEVT_HOTKEY -9999
3759 SWIGINTERN PyObject
*wxCommandEvent_GetClientData(wxCommandEvent
*self
){
3760 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject();
3762 Py_INCREF(data
->m_obj
);
3769 SWIGINTERN
void wxCommandEvent_SetClientData(wxCommandEvent
*self
,PyObject
*clientData
){
3770 wxPyClientData
* data
= new wxPyClientData(clientData
);
3771 self
->SetClientObject(data
);
3773 SWIGINTERN
int wxKeyEvent_GetUnicodeKey(wxKeyEvent
*self
){
3775 return self
->GetUnicodeKey();
3780 SWIGINTERN
void wxKeyEvent_SetUnicodeKey(wxKeyEvent
*self
,int uniChar
){
3782 self
->m_uniChar
= uniChar
;
3786 SWIGINTERNINLINE PyObject
*
3787 SWIG_From_unsigned_SS_int (unsigned int value
)
3789 return SWIG_From_unsigned_SS_long (value
);
3794 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
3797 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
3798 if (SWIG_IsOK(res
)) {
3799 if ((v
> UINT_MAX
)) {
3800 return SWIG_OverflowError
;
3802 if (val
) *val
= static_cast< unsigned int >(v
);
3808 SWIGINTERN
void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
3809 self
->m_size
= size
;
3811 SWIGINTERN PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
3812 int count
= self
->GetNumberOfFiles();
3813 wxString
* files
= self
->GetFiles();
3814 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3815 PyObject
* list
= PyList_New(count
);
3818 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
3819 wxPyEndBlockThreads(blocked
);
3823 for (int i
=0; i
<count
; i
++) {
3824 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
3826 wxPyEndBlockThreads(blocked
);
3831 SWIGINTERN wxPyApp
*new_wxPyApp(){
3832 wxPythonApp
= new wxPyApp();
3835 SWIGINTERN
int wxPyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
3836 SWIGINTERN
bool wxPyApp_IsDisplayAvailable(){
3837 return wxPyTestDisplayAvailable();
3840 void wxApp_CleanUp() {
3845 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
3851 SWIGINTERNINLINE PyObject
*
3852 SWIG_FromCharPtr(const char *cptr
)
3854 return SWIG_FromCharPtrAndSize(cptr
, (cptr
? strlen(cptr
) : 0));
3858 #if 0 // #ifdef __WXMAC__
3860 // A dummy class that raises an exception if used...
3864 wxEventLoop() { wxPyRaiseNotImplemented(); }
3865 int Run() { return 0; }
3866 void Exit(int rc
= 0) {}
3867 bool Pending() const { return false; }
3868 bool Dispatch() { return false; }
3869 bool IsRunning() const { return false; }
3870 static wxEventLoop
*GetActive() { wxPyRaiseNotImplemented(); return NULL
; }
3871 static void SetActive(wxEventLoop
* loop
) { wxPyRaiseNotImplemented(); }
3876 #include <wx/evtloop.h>
3882 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
3883 SWIGINTERN wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
3884 SWIGINTERN
void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
3885 SWIGINTERN PyObject
*wxWindow_GetChildren(wxWindow
*self
){
3886 wxWindowList
& list
= self
->GetChildren();
3887 return wxPy_ConvertList(&list
);
3889 SWIGINTERN wxWindow
*wxWindow_GetTopLevelParent(wxWindow
*self
){
3890 return wxGetTopLevelParent(self
);
3892 SWIGINTERN
bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
3894 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
3899 SWIGINTERN
bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
3906 SWIGINTERN
long wxWindow_GetHandle(wxWindow
*self
){
3907 return wxPyGetWinHandle(self
);
3909 SWIGINTERN
void wxWindow_AssociateHandle(wxWindow
*self
,long handle
){
3910 self
->AssociateHandle((WXWidget
)handle
);
3912 SWIGINTERN
void wxWindow_DragAcceptFiles(wxWindow
*self
,bool accept
){}
3914 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
3915 return wxWindow::FindWindowById(id
, parent
);
3918 wxWindow
* wxFindWindowByName( const wxString
& name
,
3919 const wxWindow
*parent
= NULL
) {
3920 return wxWindow::FindWindowByName(name
, parent
);
3923 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
3924 const wxWindow
*parent
= NULL
) {
3925 return wxWindow::FindWindowByLabel(label
, parent
);
3930 #include <wx/msw/private.h> // to get wxGetWindowId
3934 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
3936 WXHWND hWnd
= (WXHWND
)_hWnd
;
3937 long id
= wxGetWindowId(hWnd
);
3938 wxWindow
* win
= new wxWindow
;
3940 parent
->AddChild(win
);
3941 win
->SetEventHandler(win
);
3944 win
->SubclassWin(hWnd
);
3945 win
->AdoptAttributesFromHWND();
3946 win
->SetupColours();
3949 wxPyRaiseNotImplemented();
3955 PyObject
* GetTopLevelWindows() {
3956 return wxPy_ConvertList(&wxTopLevelWindows
);
3960 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
3961 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
3962 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
3964 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
3967 SWIGINTERNINLINE
int
3968 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3971 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3972 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3976 SWIGINTERN
void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
3977 SWIGINTERN PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
3978 wxMenuItemList
& list
= self
->GetMenuItems();
3979 return wxPy_ConvertList(&list
);
3981 SWIGINTERN
void wxMenuBar_SetAutoWindowMenu(bool enable
){}
3982 SWIGINTERN
bool wxMenuBar_GetAutoWindowMenu(){ return false; }
3983 SWIGINTERN
void wxMenuItem_SetFont(wxMenuItem
*self
,wxFont
const &font
){}
3984 SWIGINTERN wxFont
wxMenuItem_GetFont(wxMenuItem
*self
){ return wxNullFont
; }
3985 SWIGINTERN
void wxMenuItem_SetTextColour(wxMenuItem
*self
,wxColour
const &colText
){}
3986 SWIGINTERN wxColour
wxMenuItem_GetTextColour(wxMenuItem
*self
){ return wxNullColour
; }
3987 SWIGINTERN
void wxMenuItem_SetBackgroundColour(wxMenuItem
*self
,wxColour
const &colBack
){}
3988 SWIGINTERN wxColour
wxMenuItem_GetBackgroundColour(wxMenuItem
*self
){ return wxNullColour
; }
3989 SWIGINTERN
void wxMenuItem_SetBitmaps(wxMenuItem
*self
,wxBitmap
const &bmpChecked
,wxBitmap
const &bmpUnchecked
=wxNullBitmap
){ self
->SetBitmap( bmpChecked
); }
3990 SWIGINTERN
void wxMenuItem_SetDisabledBitmap(wxMenuItem
*self
,wxBitmap
const &bmpDisabled
){}
3991 SWIGINTERN wxBitmap
const &wxMenuItem_GetDisabledBitmap(wxMenuItem
const *self
){ return wxNullBitmap
; }
3992 SWIGINTERN
void wxMenuItem_SetMarginWidth(wxMenuItem
*self
,int nWidth
){}
3993 SWIGINTERN
int wxMenuItem_GetMarginWidth(wxMenuItem
*self
){ return 0; }
3994 SWIGINTERN
int wxMenuItem_GetDefaultMarginWidth(){ return 0; }
3995 SWIGINTERN
bool wxMenuItem_IsOwnerDrawn(wxMenuItem
*self
){ return false; }
3996 SWIGINTERN
void wxMenuItem_SetOwnerDrawn(wxMenuItem
*self
,bool ownerDrawn
=true){}
3997 SWIGINTERN
void wxMenuItem_ResetOwnerDrawn(wxMenuItem
*self
){}
3998 static const wxString
wxPyControlNameStr(wxControlNameStr
);
3999 SWIGINTERN
int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
=NULL
){
4001 wxPyClientData
* data
= new wxPyClientData(clientData
);
4002 return self
->Append(item
, data
);
4004 return self
->Append(item
);
4006 SWIGINTERN
int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
4008 wxPyClientData
* data
= new wxPyClientData(clientData
);
4009 return self
->Insert(item
, pos
, data
);
4011 return self
->Insert(item
, pos
);
4013 SWIGINTERN PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
4014 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
4016 Py_INCREF(data
->m_obj
);
4023 SWIGINTERN
void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
4024 wxPyClientData
* data
= new wxPyClientData(clientData
);
4025 self
->SetClientObject(n
, data
);
4029 SWIGINTERN wxSizerFlags
&wxSizerFlags_Border(wxSizerFlags
*self
,int direction
=wxALL
,int borderInPixels
=-1){
4030 if (borderInPixels
== -1)
4031 return self
->Border(direction
);
4033 return self
->Border(direction
, borderInPixels
);
4035 SWIGINTERN wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
4036 wxPyUserData
* data
= NULL
;
4038 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4039 data
= new wxPyUserData(userData
);
4040 wxPyEndBlockThreads(blocked
);
4042 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
4044 SWIGINTERN wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
4045 wxPyUserData
* data
= NULL
;
4047 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4048 data
= new wxPyUserData(userData
);
4049 wxPyEndBlockThreads(blocked
);
4051 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
4053 SWIGINTERN wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
4054 wxPyUserData
* data
= NULL
;
4056 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4057 data
= new wxPyUserData(userData
);
4058 wxPyEndBlockThreads(blocked
);
4060 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
4063 SWIGINTERNINLINE PyObject
*
4064 SWIG_From_float (float value
)
4066 return SWIG_From_double (value
);
4069 SWIGINTERN PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
4070 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
4072 Py_INCREF(data
->m_obj
);
4079 SWIGINTERN
void wxSizerItem_SetUserData(wxSizerItem
*self
,PyObject
*userData
){
4080 wxPyUserData
* data
= NULL
;
4082 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4083 data
= new wxPyUserData(userData
);
4084 wxPyEndBlockThreads(blocked
);
4086 self
->SetUserData(data
);
4089 // Figure out the type of the sizer item
4091 struct wxPySizerItemInfo
{
4093 : window(NULL
), sizer(NULL
), gotSize(false),
4094 size(wxDefaultSize
), gotPos(false), pos(-1)
4105 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
4107 wxPySizerItemInfo info
;
4109 wxSize
* sizePtr
= &size
;
4111 // Find out what the type of the item is
4113 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
4118 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
4122 // try wxSize or (w,h)
4123 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
4124 info
.size
= *sizePtr
;
4125 info
.gotSize
= true;
4129 if (checkIdx
&& PyInt_Check(item
)) {
4130 info
.pos
= PyInt_AsLong(item
);
4136 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
4137 // no expected type, figure out what kind of error message to generate
4138 if ( !checkSize
&& !checkIdx
)
4139 PyErr_SetString(PyExc_TypeError
, "wx.Window or wx.Sizer expected for item");
4140 else if ( checkSize
&& !checkIdx
)
4141 PyErr_SetString(PyExc_TypeError
, "wx.Window, wx.Sizer, wx.Size, or (w,h) expected for item");
4142 else if ( !checkSize
&& checkIdx
)
4143 PyErr_SetString(PyExc_TypeError
, "wx.Window, wx.Sizer or int (position) expected for item");
4145 // can this one happen?
4146 PyErr_SetString(PyExc_TypeError
, "wx.Window, wx.Sizer, wx.Size, or (w,h) or int (position) expected for item");
4152 SWIGINTERN
void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
4153 if (!self
->GetClientObject())
4154 self
->SetClientObject(new wxPyOORClientData(_self
));
4156 SWIGINTERN wxSizerItem
*wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
4158 wxPyUserData
* data
= NULL
;
4159 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4160 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
4161 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
4162 data
= new wxPyUserData(userData
);
4164 PyObject_SetAttrString(item
,"thisown",Py_False
);
4165 wxPyEndBlockThreads(blocked
);
4167 // Now call the real Add method if a valid item type was found
4169 return self
->Add(info
.window
, proportion
, flag
, border
, data
);
4170 else if ( info
.sizer
)
4171 return self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
4172 else if (info
.gotSize
)
4173 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
4174 proportion
, flag
, border
, data
);
4178 SWIGINTERN wxSizerItem
*wxSizer_AddF(wxSizer
*self
,PyObject
*item
,wxSizerFlags
&flags
){
4180 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4181 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
4183 PyObject_SetAttrString(item
,"thisown",Py_False
);
4184 wxPyEndBlockThreads(blocked
);
4186 // Now call the real Add method if a valid item type was found
4188 return self
->Add(info
.window
, flags
);
4189 else if ( info
.sizer
)
4190 return self
->Add(info
.sizer
, flags
);
4191 else if (info
.gotSize
)
4192 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
4193 flags
.GetProportion(),
4195 flags
.GetBorderInPixels());
4199 SWIGINTERN wxSizerItem
*wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
4201 wxPyUserData
* data
= NULL
;
4202 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4203 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
4204 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
4205 data
= new wxPyUserData(userData
);
4207 PyObject_SetAttrString(item
,"thisown",Py_False
);
4208 wxPyEndBlockThreads(blocked
);
4210 // Now call the real Insert method if a valid item type was found
4212 return self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
4213 else if ( info
.sizer
)
4214 return self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
4215 else if (info
.gotSize
)
4216 return self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
4217 proportion
, flag
, border
, data
);
4221 SWIGINTERN wxSizerItem
*wxSizer_InsertF(wxSizer
*self
,int before
,PyObject
*item
,wxSizerFlags
&flags
){
4223 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4224 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
4226 PyObject_SetAttrString(item
,"thisown",Py_False
);
4227 wxPyEndBlockThreads(blocked
);
4229 // Now call the real Insert method if a valid item type was found
4231 return self
->Insert(before
, info
.window
, flags
);
4232 else if ( info
.sizer
)
4233 return self
->Insert(before
, info
.sizer
, flags
);
4234 else if (info
.gotSize
)
4235 return self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
4236 flags
.GetProportion(),
4238 flags
.GetBorderInPixels());
4242 SWIGINTERN wxSizerItem
*wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
4244 wxPyUserData
* data
= NULL
;
4245 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4246 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
4247 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
4248 data
= new wxPyUserData(userData
);
4250 PyObject_SetAttrString(item
,"thisown",Py_False
);
4251 wxPyEndBlockThreads(blocked
);
4253 // Now call the real Prepend method if a valid item type was found
4255 return self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
4256 else if ( info
.sizer
)
4257 return self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
4258 else if (info
.gotSize
)
4259 return self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
4260 proportion
, flag
, border
, data
);
4264 SWIGINTERN wxSizerItem
*wxSizer_PrependF(wxSizer
*self
,PyObject
*item
,wxSizerFlags
&flags
){
4266 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4267 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
4269 PyObject_SetAttrString(item
,"thisown",Py_False
);
4270 wxPyEndBlockThreads(blocked
);
4272 // Now call the real Add method if a valid item type was found
4274 return self
->Prepend(info
.window
, flags
);
4275 else if ( info
.sizer
)
4276 return self
->Prepend(info
.sizer
, flags
);
4277 else if (info
.gotSize
)
4278 return self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
4279 flags
.GetProportion(),
4281 flags
.GetBorderInPixels());
4285 SWIGINTERN
bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
4286 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4287 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
4288 wxPyEndBlockThreads(blocked
);
4290 return false; //self->Remove(info.window);
4291 else if ( info
.sizer
)
4292 return self
->Remove(info
.sizer
);
4293 else if ( info
.gotPos
)
4294 return self
->Remove(info
.pos
);
4298 SWIGINTERN
bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
4299 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4300 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
4301 wxPyEndBlockThreads(blocked
);
4303 return self
->Detach(info
.window
);
4304 else if ( info
.sizer
)
4305 return self
->Detach(info
.sizer
);
4306 else if ( info
.gotPos
)
4307 return self
->Detach(info
.pos
);
4311 SWIGINTERN wxSizerItem
*wxSizer_GetItem(wxSizer
*self
,PyObject
*item
,bool recursive
=false){
4312 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4313 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
4314 wxPyEndBlockThreads(blocked
);
4316 return self
->GetItem(info
.window
, recursive
);
4317 else if ( info
.sizer
)
4318 return self
->GetItem(info
.sizer
, recursive
);
4319 else if ( info
.gotPos
)
4320 return self
->GetItem(info
.pos
);
4324 SWIGINTERN
void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
4325 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4326 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
4327 wxPyEndBlockThreads(blocked
);
4329 self
->SetItemMinSize(info
.window
, size
);
4330 else if ( info
.sizer
)
4331 self
->SetItemMinSize(info
.sizer
, size
);
4332 else if ( info
.gotPos
)
4333 self
->SetItemMinSize(info
.pos
, size
);
4335 SWIGINTERN PyObject
*wxSizer_GetChildren(wxSizer
*self
){
4336 wxSizerItemList
& list
= self
->GetChildren();
4337 return wxPy_ConvertList(&list
);
4339 SWIGINTERN
bool wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
=true,bool recursive
=false){
4340 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4341 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
4342 wxPyEndBlockThreads(blocked
);
4344 return self
->Show(info
.window
, show
, recursive
);
4345 else if ( info
.sizer
)
4346 return self
->Show(info
.sizer
, show
, recursive
);
4347 else if ( info
.gotPos
)
4348 return self
->Show(info
.pos
, show
);
4352 SWIGINTERN
bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
4353 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4354 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, false);
4355 wxPyEndBlockThreads(blocked
);
4357 return self
->IsShown(info
.window
);
4358 else if ( info
.sizer
)
4359 return self
->IsShown(info
.sizer
);
4360 else if ( info
.gotPos
)
4361 return self
->IsShown(info
.pos
);
4367 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
4368 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
4369 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
4374 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
4376 if (source
== Py_None
) {
4377 **obj
= wxGBPosition(-1,-1);
4380 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
4383 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
4385 if (source
== Py_None
) {
4386 **obj
= wxGBSpan(-1,-1);
4389 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
4393 SWIGINTERN
bool wxGBPosition___eq__(wxGBPosition
*self
,PyObject
*other
){
4394 wxGBPosition temp
, *obj
= &temp
;
4395 if ( other
== Py_None
) return false;
4396 if ( ! wxGBPosition_helper(other
, &obj
) ) {
4400 return self
->operator==(*obj
);
4402 SWIGINTERN
bool wxGBPosition___ne__(wxGBPosition
*self
,PyObject
*other
){
4403 wxGBPosition temp
, *obj
= &temp
;
4404 if ( other
== Py_None
) return true;
4405 if ( ! wxGBPosition_helper(other
, &obj
)) {
4409 return self
->operator!=(*obj
);
4411 SWIGINTERN
void wxGBPosition_Set(wxGBPosition
*self
,int row
=0,int col
=0){
4415 SWIGINTERN PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
4416 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4417 PyObject
* tup
= PyTuple_New(2);
4418 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
4419 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
4420 wxPyEndBlockThreads(blocked
);
4423 SWIGINTERN
bool wxGBSpan___eq__(wxGBSpan
*self
,PyObject
*other
){
4424 wxGBSpan temp
, *obj
= &temp
;
4425 if ( other
== Py_None
) return false;
4426 if ( ! wxGBSpan_helper(other
, &obj
) ) {
4430 return self
->operator==(*obj
);
4432 SWIGINTERN
bool wxGBSpan___ne__(wxGBSpan
*self
,PyObject
*other
){
4433 wxGBSpan temp
, *obj
= &temp
;
4434 if ( other
== Py_None
) return true;
4435 if ( ! wxGBSpan_helper(other
, &obj
)) {
4439 return self
->operator!=(*obj
);
4441 SWIGINTERN
void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
=1,int colspan
=1){
4442 self
->SetRowspan(rowspan
);
4443 self
->SetColspan(colspan
);
4445 SWIGINTERN PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
4446 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4447 PyObject
* tup
= PyTuple_New(2);
4448 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
4449 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
4450 wxPyEndBlockThreads(blocked
);
4453 SWIGINTERN wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
4454 wxPyUserData
* data
= NULL
;
4456 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4457 data
= new wxPyUserData(userData
);
4458 wxPyEndBlockThreads(blocked
);
4460 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
4462 SWIGINTERN wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
4463 wxPyUserData
* data
= NULL
;
4465 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4466 data
= new wxPyUserData(userData
);
4467 wxPyEndBlockThreads(blocked
);
4469 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
4471 SWIGINTERN wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
4472 wxPyUserData
* data
= NULL
;
4474 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4475 data
= new wxPyUserData(userData
);
4476 wxPyEndBlockThreads(blocked
);
4478 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
4480 SWIGINTERN wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
4482 self
->GetEndPos(row
, col
);
4483 return wxGBPosition(row
, col
);
4485 SWIGINTERN wxGBSizerItem
*wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
=wxDefaultSpan
,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
4487 wxPyUserData
* data
= NULL
;
4488 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4489 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
4490 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
4491 data
= new wxPyUserData(userData
);
4493 PyObject_SetAttrString(item
,"thisown",Py_False
);
4494 wxPyEndBlockThreads(blocked
);
4496 // Now call the real Add method if a valid item type was found
4498 return (wxGBSizerItem
*)self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
4499 else if ( info
.sizer
)
4500 return (wxGBSizerItem
*)self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
4501 else if (info
.gotSize
)
4502 return (wxGBSizerItem
*)self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
4503 pos
, span
, flag
, border
, data
);
4511 SWIGINTERN
int EmptyString_set(PyObject
*) {
4512 SWIG_Error(SWIG_AttributeError
,"Variable EmptyString is read-only.");
4517 SWIGINTERN PyObject
*EmptyString_get(void) {
4518 PyObject
*pyobj
= 0;
4522 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
4524 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
4531 SWIGINTERN PyObject
*_wrap_Object_GetClassName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4532 PyObject
*resultobj
= 0;
4533 wxObject
*arg1
= (wxObject
*) 0 ;
4537 PyObject
*swig_obj
[1] ;
4539 if (!args
) SWIG_fail
;
4541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
4542 if (!SWIG_IsOK(res1
)) {
4543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Object_GetClassName" "', expected argument " "1"" of type '" "wxObject *""'");
4545 arg1
= reinterpret_cast< wxObject
* >(argp1
);
4547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4548 result
= wxObject_GetClassName(arg1
);
4549 wxPyEndAllowThreads(__tstate
);
4550 if (PyErr_Occurred()) SWIG_fail
;
4554 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4556 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4565 SWIGINTERN PyObject
*_wrap_Object_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4566 PyObject
*resultobj
= 0;
4567 wxObject
*arg1
= (wxObject
*) 0 ;
4570 PyObject
*swig_obj
[1] ;
4572 if (!args
) SWIG_fail
;
4574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
4575 if (!SWIG_IsOK(res1
)) {
4576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Object_Destroy" "', expected argument " "1"" of type '" "wxObject *""'");
4578 arg1
= reinterpret_cast< wxObject
* >(argp1
);
4580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4581 wxObject_Destroy(arg1
);
4582 wxPyEndAllowThreads(__tstate
);
4583 if (PyErr_Occurred()) SWIG_fail
;
4585 resultobj
= SWIG_Py_Void();
4592 SWIGINTERN PyObject
*_wrap_Object_IsSameAs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4593 PyObject
*resultobj
= 0;
4594 wxObject
*arg1
= (wxObject
*) 0 ;
4595 wxObject
*arg2
= 0 ;
4601 PyObject
* obj0
= 0 ;
4602 PyObject
* obj1
= 0 ;
4603 char * kwnames
[] = {
4604 (char *) "self",(char *) "p", NULL
4607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Object_IsSameAs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
4609 if (!SWIG_IsOK(res1
)) {
4610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Object_IsSameAs" "', expected argument " "1"" of type '" "wxObject const *""'");
4612 arg1
= reinterpret_cast< wxObject
* >(argp1
);
4613 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxObject
, 0 | 0);
4614 if (!SWIG_IsOK(res2
)) {
4615 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Object_IsSameAs" "', expected argument " "2"" of type '" "wxObject const &""'");
4618 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Object_IsSameAs" "', expected argument " "2"" of type '" "wxObject const &""'");
4620 arg2
= reinterpret_cast< wxObject
* >(argp2
);
4622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4623 result
= (bool)((wxObject
const *)arg1
)->IsSameAs((wxObject
const &)*arg2
);
4624 wxPyEndAllowThreads(__tstate
);
4625 if (PyErr_Occurred()) SWIG_fail
;
4628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4636 SWIGINTERN PyObject
*Object_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4638 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4639 SWIG_TypeNewClientData(SWIGTYPE_p_wxObject
, SWIG_NewClientData(obj
));
4640 return SWIG_Py_Void();
4643 SWIGINTERN PyObject
*_wrap_Size_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4644 PyObject
*resultobj
= 0;
4645 wxSize
*arg1
= (wxSize
*) 0 ;
4651 PyObject
*swig_obj
[2] ;
4653 if (!SWIG_Python_UnpackTuple(args
,"Size_width_set",2,2,swig_obj
)) SWIG_fail
;
4654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4655 if (!SWIG_IsOK(res1
)) {
4656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_width_set" "', expected argument " "1"" of type '" "wxSize *""'");
4658 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4659 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4660 if (!SWIG_IsOK(ecode2
)) {
4661 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Size_width_set" "', expected argument " "2"" of type '" "int""'");
4663 arg2
= static_cast< int >(val2
);
4664 if (arg1
) (arg1
)->x
= arg2
;
4666 resultobj
= SWIG_Py_Void();
4673 SWIGINTERN PyObject
*_wrap_Size_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4674 PyObject
*resultobj
= 0;
4675 wxSize
*arg1
= (wxSize
*) 0 ;
4679 PyObject
*swig_obj
[1] ;
4681 if (!args
) SWIG_fail
;
4683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4684 if (!SWIG_IsOK(res1
)) {
4685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_width_get" "', expected argument " "1"" of type '" "wxSize *""'");
4687 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4688 result
= (int) ((arg1
)->x
);
4689 resultobj
= SWIG_From_int(static_cast< int >(result
));
4696 SWIGINTERN PyObject
*_wrap_Size_height_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4697 PyObject
*resultobj
= 0;
4698 wxSize
*arg1
= (wxSize
*) 0 ;
4704 PyObject
*swig_obj
[2] ;
4706 if (!SWIG_Python_UnpackTuple(args
,"Size_height_set",2,2,swig_obj
)) SWIG_fail
;
4707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4708 if (!SWIG_IsOK(res1
)) {
4709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_height_set" "', expected argument " "1"" of type '" "wxSize *""'");
4711 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4712 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4713 if (!SWIG_IsOK(ecode2
)) {
4714 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Size_height_set" "', expected argument " "2"" of type '" "int""'");
4716 arg2
= static_cast< int >(val2
);
4717 if (arg1
) (arg1
)->y
= arg2
;
4719 resultobj
= SWIG_Py_Void();
4726 SWIGINTERN PyObject
*_wrap_Size_height_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4727 PyObject
*resultobj
= 0;
4728 wxSize
*arg1
= (wxSize
*) 0 ;
4732 PyObject
*swig_obj
[1] ;
4734 if (!args
) SWIG_fail
;
4736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4737 if (!SWIG_IsOK(res1
)) {
4738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_height_get" "', expected argument " "1"" of type '" "wxSize *""'");
4740 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4741 result
= (int) ((arg1
)->y
);
4742 resultobj
= SWIG_From_int(static_cast< int >(result
));
4749 SWIGINTERN PyObject
*_wrap_new_Size(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4750 PyObject
*resultobj
= 0;
4751 int arg1
= (int) 0 ;
4752 int arg2
= (int) 0 ;
4753 wxSize
*result
= 0 ;
4758 PyObject
* obj0
= 0 ;
4759 PyObject
* obj1
= 0 ;
4760 char * kwnames
[] = {
4761 (char *) "w",(char *) "h", NULL
4764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4766 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4767 if (!SWIG_IsOK(ecode1
)) {
4768 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Size" "', expected argument " "1"" of type '" "int""'");
4770 arg1
= static_cast< int >(val1
);
4773 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4774 if (!SWIG_IsOK(ecode2
)) {
4775 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Size" "', expected argument " "2"" of type '" "int""'");
4777 arg2
= static_cast< int >(val2
);
4780 result
= (wxSize
*)new wxSize(arg1
,arg2
);
4781 if (PyErr_Occurred()) SWIG_fail
;
4783 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, SWIG_POINTER_NEW
| 0 );
4790 SWIGINTERN PyObject
*_wrap_delete_Size(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4791 PyObject
*resultobj
= 0;
4792 wxSize
*arg1
= (wxSize
*) 0 ;
4795 PyObject
*swig_obj
[1] ;
4797 if (!args
) SWIG_fail
;
4799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, SWIG_POINTER_DISOWN
| 0 );
4800 if (!SWIG_IsOK(res1
)) {
4801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Size" "', expected argument " "1"" of type '" "wxSize *""'");
4803 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4807 if (PyErr_Occurred()) SWIG_fail
;
4809 resultobj
= SWIG_Py_Void();
4816 SWIGINTERN PyObject
*_wrap_Size___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4817 PyObject
*resultobj
= 0;
4818 wxSize
*arg1
= (wxSize
*) 0 ;
4819 PyObject
*arg2
= (PyObject
*) 0 ;
4823 PyObject
* obj0
= 0 ;
4824 PyObject
* obj1
= 0 ;
4825 char * kwnames
[] = {
4826 (char *) "self",(char *) "other", NULL
4829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4831 if (!SWIG_IsOK(res1
)) {
4832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size___eq__" "', expected argument " "1"" of type '" "wxSize *""'");
4834 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4837 result
= (bool)wxSize___eq__(arg1
,arg2
);
4838 if (PyErr_Occurred()) SWIG_fail
;
4841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4849 SWIGINTERN PyObject
*_wrap_Size___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4850 PyObject
*resultobj
= 0;
4851 wxSize
*arg1
= (wxSize
*) 0 ;
4852 PyObject
*arg2
= (PyObject
*) 0 ;
4856 PyObject
* obj0
= 0 ;
4857 PyObject
* obj1
= 0 ;
4858 char * kwnames
[] = {
4859 (char *) "self",(char *) "other", NULL
4862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4864 if (!SWIG_IsOK(res1
)) {
4865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size___ne__" "', expected argument " "1"" of type '" "wxSize *""'");
4867 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4870 result
= (bool)wxSize___ne__(arg1
,arg2
);
4871 if (PyErr_Occurred()) SWIG_fail
;
4874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4882 SWIGINTERN PyObject
*_wrap_Size___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4883 PyObject
*resultobj
= 0;
4884 wxSize
*arg1
= (wxSize
*) 0 ;
4890 PyObject
* obj0
= 0 ;
4891 PyObject
* obj1
= 0 ;
4892 char * kwnames
[] = {
4893 (char *) "self",(char *) "sz", NULL
4896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4898 if (!SWIG_IsOK(res1
)) {
4899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size___add__" "', expected argument " "1"" of type '" "wxSize *""'");
4901 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4904 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4907 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
4908 if (PyErr_Occurred()) SWIG_fail
;
4910 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
4917 SWIGINTERN PyObject
*_wrap_Size___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4918 PyObject
*resultobj
= 0;
4919 wxSize
*arg1
= (wxSize
*) 0 ;
4925 PyObject
* obj0
= 0 ;
4926 PyObject
* obj1
= 0 ;
4927 char * kwnames
[] = {
4928 (char *) "self",(char *) "sz", NULL
4931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4933 if (!SWIG_IsOK(res1
)) {
4934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size___sub__" "', expected argument " "1"" of type '" "wxSize *""'");
4936 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4939 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4942 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
4943 if (PyErr_Occurred()) SWIG_fail
;
4945 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
4952 SWIGINTERN PyObject
*_wrap_Size_IncTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4953 PyObject
*resultobj
= 0;
4954 wxSize
*arg1
= (wxSize
*) 0 ;
4959 PyObject
* obj0
= 0 ;
4960 PyObject
* obj1
= 0 ;
4961 char * kwnames
[] = {
4962 (char *) "self",(char *) "sz", NULL
4965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4967 if (!SWIG_IsOK(res1
)) {
4968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_IncTo" "', expected argument " "1"" of type '" "wxSize *""'");
4970 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4973 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4976 (arg1
)->IncTo((wxSize
const &)*arg2
);
4977 if (PyErr_Occurred()) SWIG_fail
;
4979 resultobj
= SWIG_Py_Void();
4986 SWIGINTERN PyObject
*_wrap_Size_DecTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4987 PyObject
*resultobj
= 0;
4988 wxSize
*arg1
= (wxSize
*) 0 ;
4993 PyObject
* obj0
= 0 ;
4994 PyObject
* obj1
= 0 ;
4995 char * kwnames
[] = {
4996 (char *) "self",(char *) "sz", NULL
4999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
5001 if (!SWIG_IsOK(res1
)) {
5002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_DecTo" "', expected argument " "1"" of type '" "wxSize *""'");
5004 arg1
= reinterpret_cast< wxSize
* >(argp1
);
5007 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5010 (arg1
)->DecTo((wxSize
const &)*arg2
);
5011 if (PyErr_Occurred()) SWIG_fail
;
5013 resultobj
= SWIG_Py_Void();
5020 SWIGINTERN PyObject
*_wrap_Size_IncBy(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 *) "dx",(char *) "dy", NULL
5038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_IncBy",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_IncBy" "', expected argument " "1"" of type '" "wxSize *""'");
5043 arg1
= reinterpret_cast< wxSize
* >(argp1
);
5044 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5045 if (!SWIG_IsOK(ecode2
)) {
5046 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Size_IncBy" "', expected argument " "2"" of type '" "int""'");
5048 arg2
= static_cast< int >(val2
);
5049 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5050 if (!SWIG_IsOK(ecode3
)) {
5051 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Size_IncBy" "', expected argument " "3"" of type '" "int""'");
5053 arg3
= static_cast< int >(val3
);
5055 (arg1
)->IncBy(arg2
,arg3
);
5056 if (PyErr_Occurred()) SWIG_fail
;
5058 resultobj
= SWIG_Py_Void();
5065 SWIGINTERN PyObject
*_wrap_Size_DecBy(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 *) "dx",(char *) "dy", NULL
5083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_DecBy",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_DecBy" "', 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_DecBy" "', 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_DecBy" "', expected argument " "3"" of type '" "int""'");
5098 arg3
= static_cast< int >(val3
);
5100 (arg1
)->DecBy(arg2
,arg3
);
5101 if (PyErr_Occurred()) SWIG_fail
;
5103 resultobj
= SWIG_Py_Void();
5110 SWIGINTERN PyObject
*_wrap_Size_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5111 PyObject
*resultobj
= 0;
5112 wxSize
*arg1
= (wxSize
*) 0 ;
5121 PyObject
* obj0
= 0 ;
5122 PyObject
* obj1
= 0 ;
5123 PyObject
* obj2
= 0 ;
5124 char * kwnames
[] = {
5125 (char *) "self",(char *) "xscale",(char *) "yscale", NULL
5128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
5130 if (!SWIG_IsOK(res1
)) {
5131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_Scale" "', expected argument " "1"" of type '" "wxSize *""'");
5133 arg1
= reinterpret_cast< wxSize
* >(argp1
);
5134 ecode2
= SWIG_AsVal_float(obj1
, &val2
);
5135 if (!SWIG_IsOK(ecode2
)) {
5136 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Size_Scale" "', expected argument " "2"" of type '" "float""'");
5138 arg2
= static_cast< float >(val2
);
5139 ecode3
= SWIG_AsVal_float(obj2
, &val3
);
5140 if (!SWIG_IsOK(ecode3
)) {
5141 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Size_Scale" "', expected argument " "3"" of type '" "float""'");
5143 arg3
= static_cast< float >(val3
);
5145 (arg1
)->Scale(arg2
,arg3
);
5146 if (PyErr_Occurred()) SWIG_fail
;
5148 resultobj
= SWIG_Py_Void();
5155 SWIGINTERN PyObject
*_wrap_Size_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5156 PyObject
*resultobj
= 0;
5157 wxSize
*arg1
= (wxSize
*) 0 ;
5166 PyObject
* obj0
= 0 ;
5167 PyObject
* obj1
= 0 ;
5168 PyObject
* obj2
= 0 ;
5169 char * kwnames
[] = {
5170 (char *) "self",(char *) "w",(char *) "h", NULL
5173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
5175 if (!SWIG_IsOK(res1
)) {
5176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_Set" "', expected argument " "1"" of type '" "wxSize *""'");
5178 arg1
= reinterpret_cast< wxSize
* >(argp1
);
5179 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5180 if (!SWIG_IsOK(ecode2
)) {
5181 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Size_Set" "', expected argument " "2"" of type '" "int""'");
5183 arg2
= static_cast< int >(val2
);
5184 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5185 if (!SWIG_IsOK(ecode3
)) {
5186 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Size_Set" "', expected argument " "3"" of type '" "int""'");
5188 arg3
= static_cast< int >(val3
);
5190 (arg1
)->Set(arg2
,arg3
);
5191 if (PyErr_Occurred()) SWIG_fail
;
5193 resultobj
= SWIG_Py_Void();
5200 SWIGINTERN PyObject
*_wrap_Size_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5201 PyObject
*resultobj
= 0;
5202 wxSize
*arg1
= (wxSize
*) 0 ;
5208 PyObject
* obj0
= 0 ;
5209 PyObject
* obj1
= 0 ;
5210 char * kwnames
[] = {
5211 (char *) "self",(char *) "w", NULL
5214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
5216 if (!SWIG_IsOK(res1
)) {
5217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_SetWidth" "', expected argument " "1"" of type '" "wxSize *""'");
5219 arg1
= reinterpret_cast< wxSize
* >(argp1
);
5220 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5221 if (!SWIG_IsOK(ecode2
)) {
5222 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Size_SetWidth" "', expected argument " "2"" of type '" "int""'");
5224 arg2
= static_cast< int >(val2
);
5226 (arg1
)->SetWidth(arg2
);
5227 if (PyErr_Occurred()) SWIG_fail
;
5229 resultobj
= SWIG_Py_Void();
5236 SWIGINTERN PyObject
*_wrap_Size_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5237 PyObject
*resultobj
= 0;
5238 wxSize
*arg1
= (wxSize
*) 0 ;
5244 PyObject
* obj0
= 0 ;
5245 PyObject
* obj1
= 0 ;
5246 char * kwnames
[] = {
5247 (char *) "self",(char *) "h", NULL
5250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
5252 if (!SWIG_IsOK(res1
)) {
5253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_SetHeight" "', expected argument " "1"" of type '" "wxSize *""'");
5255 arg1
= reinterpret_cast< wxSize
* >(argp1
);
5256 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5257 if (!SWIG_IsOK(ecode2
)) {
5258 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Size_SetHeight" "', expected argument " "2"" of type '" "int""'");
5260 arg2
= static_cast< int >(val2
);
5262 (arg1
)->SetHeight(arg2
);
5263 if (PyErr_Occurred()) SWIG_fail
;
5265 resultobj
= SWIG_Py_Void();
5272 SWIGINTERN PyObject
*_wrap_Size_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5273 PyObject
*resultobj
= 0;
5274 wxSize
*arg1
= (wxSize
*) 0 ;
5278 PyObject
*swig_obj
[1] ;
5280 if (!args
) SWIG_fail
;
5282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
5283 if (!SWIG_IsOK(res1
)) {
5284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_GetWidth" "', expected argument " "1"" of type '" "wxSize const *""'");
5286 arg1
= reinterpret_cast< wxSize
* >(argp1
);
5288 result
= (int)((wxSize
const *)arg1
)->GetWidth();
5289 if (PyErr_Occurred()) SWIG_fail
;
5291 resultobj
= SWIG_From_int(static_cast< int >(result
));
5298 SWIGINTERN PyObject
*_wrap_Size_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5299 PyObject
*resultobj
= 0;
5300 wxSize
*arg1
= (wxSize
*) 0 ;
5304 PyObject
*swig_obj
[1] ;
5306 if (!args
) SWIG_fail
;
5308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
5309 if (!SWIG_IsOK(res1
)) {
5310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_GetHeight" "', expected argument " "1"" of type '" "wxSize const *""'");
5312 arg1
= reinterpret_cast< wxSize
* >(argp1
);
5314 result
= (int)((wxSize
const *)arg1
)->GetHeight();
5315 if (PyErr_Occurred()) SWIG_fail
;
5317 resultobj
= SWIG_From_int(static_cast< int >(result
));
5324 SWIGINTERN PyObject
*_wrap_Size_IsFullySpecified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5325 PyObject
*resultobj
= 0;
5326 wxSize
*arg1
= (wxSize
*) 0 ;
5330 PyObject
*swig_obj
[1] ;
5332 if (!args
) SWIG_fail
;
5334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
5335 if (!SWIG_IsOK(res1
)) {
5336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_IsFullySpecified" "', expected argument " "1"" of type '" "wxSize const *""'");
5338 arg1
= reinterpret_cast< wxSize
* >(argp1
);
5340 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
5341 if (PyErr_Occurred()) SWIG_fail
;
5344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5352 SWIGINTERN PyObject
*_wrap_Size_SetDefaults(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5353 PyObject
*resultobj
= 0;
5354 wxSize
*arg1
= (wxSize
*) 0 ;
5359 PyObject
* obj0
= 0 ;
5360 PyObject
* obj1
= 0 ;
5361 char * kwnames
[] = {
5362 (char *) "self",(char *) "size", NULL
5365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
5367 if (!SWIG_IsOK(res1
)) {
5368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_SetDefaults" "', expected argument " "1"" of type '" "wxSize *""'");
5370 arg1
= reinterpret_cast< wxSize
* >(argp1
);
5373 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5376 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
5377 if (PyErr_Occurred()) SWIG_fail
;
5379 resultobj
= SWIG_Py_Void();
5386 SWIGINTERN PyObject
*_wrap_Size_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5387 PyObject
*resultobj
= 0;
5388 wxSize
*arg1
= (wxSize
*) 0 ;
5389 PyObject
*result
= 0 ;
5392 PyObject
*swig_obj
[1] ;
5394 if (!args
) SWIG_fail
;
5396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
5397 if (!SWIG_IsOK(res1
)) {
5398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_Get" "', expected argument " "1"" of type '" "wxSize *""'");
5400 arg1
= reinterpret_cast< wxSize
* >(argp1
);
5402 result
= (PyObject
*)wxSize_Get(arg1
);
5403 if (PyErr_Occurred()) SWIG_fail
;
5412 SWIGINTERN PyObject
*Size_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5414 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5415 SWIG_TypeNewClientData(SWIGTYPE_p_wxSize
, SWIG_NewClientData(obj
));
5416 return SWIG_Py_Void();
5419 SWIGINTERN PyObject
*Size_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5420 return SWIG_Python_InitShadowInstance(args
);
5423 SWIGINTERN PyObject
*_wrap_RealPoint_x_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5424 PyObject
*resultobj
= 0;
5425 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5431 PyObject
*swig_obj
[2] ;
5433 if (!SWIG_Python_UnpackTuple(args
,"RealPoint_x_set",2,2,swig_obj
)) SWIG_fail
;
5434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5435 if (!SWIG_IsOK(res1
)) {
5436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint_x_set" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5438 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5439 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
5440 if (!SWIG_IsOK(ecode2
)) {
5441 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RealPoint_x_set" "', expected argument " "2"" of type '" "double""'");
5443 arg2
= static_cast< double >(val2
);
5444 if (arg1
) (arg1
)->x
= arg2
;
5446 resultobj
= SWIG_Py_Void();
5453 SWIGINTERN PyObject
*_wrap_RealPoint_x_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5454 PyObject
*resultobj
= 0;
5455 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5459 PyObject
*swig_obj
[1] ;
5461 if (!args
) SWIG_fail
;
5463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5464 if (!SWIG_IsOK(res1
)) {
5465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint_x_get" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5467 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5468 result
= (double) ((arg1
)->x
);
5469 resultobj
= SWIG_From_double(static_cast< double >(result
));
5476 SWIGINTERN PyObject
*_wrap_RealPoint_y_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5477 PyObject
*resultobj
= 0;
5478 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5484 PyObject
*swig_obj
[2] ;
5486 if (!SWIG_Python_UnpackTuple(args
,"RealPoint_y_set",2,2,swig_obj
)) SWIG_fail
;
5487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5488 if (!SWIG_IsOK(res1
)) {
5489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint_y_set" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5491 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5492 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
5493 if (!SWIG_IsOK(ecode2
)) {
5494 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RealPoint_y_set" "', expected argument " "2"" of type '" "double""'");
5496 arg2
= static_cast< double >(val2
);
5497 if (arg1
) (arg1
)->y
= arg2
;
5499 resultobj
= SWIG_Py_Void();
5506 SWIGINTERN PyObject
*_wrap_RealPoint_y_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5507 PyObject
*resultobj
= 0;
5508 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5512 PyObject
*swig_obj
[1] ;
5514 if (!args
) SWIG_fail
;
5516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5517 if (!SWIG_IsOK(res1
)) {
5518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint_y_get" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5520 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5521 result
= (double) ((arg1
)->y
);
5522 resultobj
= SWIG_From_double(static_cast< double >(result
));
5529 SWIGINTERN PyObject
*_wrap_new_RealPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5530 PyObject
*resultobj
= 0;
5531 double arg1
= (double) 0.0 ;
5532 double arg2
= (double) 0.0 ;
5533 wxRealPoint
*result
= 0 ;
5538 PyObject
* obj0
= 0 ;
5539 PyObject
* obj1
= 0 ;
5540 char * kwnames
[] = {
5541 (char *) "x",(char *) "y", NULL
5544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5546 ecode1
= SWIG_AsVal_double(obj0
, &val1
);
5547 if (!SWIG_IsOK(ecode1
)) {
5548 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RealPoint" "', expected argument " "1"" of type '" "double""'");
5550 arg1
= static_cast< double >(val1
);
5553 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
5554 if (!SWIG_IsOK(ecode2
)) {
5555 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RealPoint" "', expected argument " "2"" of type '" "double""'");
5557 arg2
= static_cast< double >(val2
);
5560 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
5561 if (PyErr_Occurred()) SWIG_fail
;
5563 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_NEW
| 0 );
5570 SWIGINTERN PyObject
*_wrap_delete_RealPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5571 PyObject
*resultobj
= 0;
5572 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5575 PyObject
*swig_obj
[1] ;
5577 if (!args
) SWIG_fail
;
5579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_DISOWN
| 0 );
5580 if (!SWIG_IsOK(res1
)) {
5581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RealPoint" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5583 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5587 if (PyErr_Occurred()) SWIG_fail
;
5589 resultobj
= SWIG_Py_Void();
5596 SWIGINTERN PyObject
*_wrap_RealPoint___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5597 PyObject
*resultobj
= 0;
5598 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5599 PyObject
*arg2
= (PyObject
*) 0 ;
5603 PyObject
* obj0
= 0 ;
5604 PyObject
* obj1
= 0 ;
5605 char * kwnames
[] = {
5606 (char *) "self",(char *) "other", NULL
5609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5611 if (!SWIG_IsOK(res1
)) {
5612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint___eq__" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5614 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5617 result
= (bool)wxRealPoint___eq__(arg1
,arg2
);
5618 if (PyErr_Occurred()) SWIG_fail
;
5621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5629 SWIGINTERN PyObject
*_wrap_RealPoint___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5630 PyObject
*resultobj
= 0;
5631 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5632 PyObject
*arg2
= (PyObject
*) 0 ;
5636 PyObject
* obj0
= 0 ;
5637 PyObject
* obj1
= 0 ;
5638 char * kwnames
[] = {
5639 (char *) "self",(char *) "other", NULL
5642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5644 if (!SWIG_IsOK(res1
)) {
5645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint___ne__" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5647 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5650 result
= (bool)wxRealPoint___ne__(arg1
,arg2
);
5651 if (PyErr_Occurred()) SWIG_fail
;
5654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5662 SWIGINTERN PyObject
*_wrap_RealPoint___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5663 PyObject
*resultobj
= 0;
5664 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5665 wxRealPoint
*arg2
= 0 ;
5670 PyObject
* obj0
= 0 ;
5671 PyObject
* obj1
= 0 ;
5672 char * kwnames
[] = {
5673 (char *) "self",(char *) "pt", NULL
5676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5678 if (!SWIG_IsOK(res1
)) {
5679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint___add__" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5681 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5684 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5687 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
5688 if (PyErr_Occurred()) SWIG_fail
;
5690 resultobj
= SWIG_NewPointerObj((new wxRealPoint(static_cast< const wxRealPoint
& >(result
))), SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_OWN
| 0 );
5697 SWIGINTERN PyObject
*_wrap_RealPoint___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5698 PyObject
*resultobj
= 0;
5699 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5700 wxRealPoint
*arg2
= 0 ;
5705 PyObject
* obj0
= 0 ;
5706 PyObject
* obj1
= 0 ;
5707 char * kwnames
[] = {
5708 (char *) "self",(char *) "pt", NULL
5711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5713 if (!SWIG_IsOK(res1
)) {
5714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint___sub__" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5716 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5719 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5722 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
5723 if (PyErr_Occurred()) SWIG_fail
;
5725 resultobj
= SWIG_NewPointerObj((new wxRealPoint(static_cast< const wxRealPoint
& >(result
))), SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_OWN
| 0 );
5732 SWIGINTERN PyObject
*_wrap_RealPoint_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5733 PyObject
*resultobj
= 0;
5734 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5743 PyObject
* obj0
= 0 ;
5744 PyObject
* obj1
= 0 ;
5745 PyObject
* obj2
= 0 ;
5746 char * kwnames
[] = {
5747 (char *) "self",(char *) "x",(char *) "y", NULL
5750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5752 if (!SWIG_IsOK(res1
)) {
5753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint_Set" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5755 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5756 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
5757 if (!SWIG_IsOK(ecode2
)) {
5758 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RealPoint_Set" "', expected argument " "2"" of type '" "double""'");
5760 arg2
= static_cast< double >(val2
);
5761 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
5762 if (!SWIG_IsOK(ecode3
)) {
5763 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RealPoint_Set" "', expected argument " "3"" of type '" "double""'");
5765 arg3
= static_cast< double >(val3
);
5767 wxRealPoint_Set(arg1
,arg2
,arg3
);
5768 if (PyErr_Occurred()) SWIG_fail
;
5770 resultobj
= SWIG_Py_Void();
5777 SWIGINTERN PyObject
*_wrap_RealPoint_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5778 PyObject
*resultobj
= 0;
5779 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5780 PyObject
*result
= 0 ;
5783 PyObject
*swig_obj
[1] ;
5785 if (!args
) SWIG_fail
;
5787 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5788 if (!SWIG_IsOK(res1
)) {
5789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint_Get" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5791 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5793 result
= (PyObject
*)wxRealPoint_Get(arg1
);
5794 if (PyErr_Occurred()) SWIG_fail
;
5803 SWIGINTERN PyObject
*RealPoint_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5805 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5806 SWIG_TypeNewClientData(SWIGTYPE_p_wxRealPoint
, SWIG_NewClientData(obj
));
5807 return SWIG_Py_Void();
5810 SWIGINTERN PyObject
*RealPoint_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5811 return SWIG_Python_InitShadowInstance(args
);
5814 SWIGINTERN PyObject
*_wrap_Point_x_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5815 PyObject
*resultobj
= 0;
5816 wxPoint
*arg1
= (wxPoint
*) 0 ;
5822 PyObject
*swig_obj
[2] ;
5824 if (!SWIG_Python_UnpackTuple(args
,"Point_x_set",2,2,swig_obj
)) SWIG_fail
;
5825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5826 if (!SWIG_IsOK(res1
)) {
5827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point_x_set" "', expected argument " "1"" of type '" "wxPoint *""'");
5829 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5830 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
5831 if (!SWIG_IsOK(ecode2
)) {
5832 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point_x_set" "', expected argument " "2"" of type '" "int""'");
5834 arg2
= static_cast< int >(val2
);
5835 if (arg1
) (arg1
)->x
= arg2
;
5837 resultobj
= SWIG_Py_Void();
5844 SWIGINTERN PyObject
*_wrap_Point_x_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5845 PyObject
*resultobj
= 0;
5846 wxPoint
*arg1
= (wxPoint
*) 0 ;
5850 PyObject
*swig_obj
[1] ;
5852 if (!args
) SWIG_fail
;
5854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5855 if (!SWIG_IsOK(res1
)) {
5856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point_x_get" "', expected argument " "1"" of type '" "wxPoint *""'");
5858 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5859 result
= (int) ((arg1
)->x
);
5860 resultobj
= SWIG_From_int(static_cast< int >(result
));
5867 SWIGINTERN PyObject
*_wrap_Point_y_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5868 PyObject
*resultobj
= 0;
5869 wxPoint
*arg1
= (wxPoint
*) 0 ;
5875 PyObject
*swig_obj
[2] ;
5877 if (!SWIG_Python_UnpackTuple(args
,"Point_y_set",2,2,swig_obj
)) SWIG_fail
;
5878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5879 if (!SWIG_IsOK(res1
)) {
5880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point_y_set" "', expected argument " "1"" of type '" "wxPoint *""'");
5882 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5883 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
5884 if (!SWIG_IsOK(ecode2
)) {
5885 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point_y_set" "', expected argument " "2"" of type '" "int""'");
5887 arg2
= static_cast< int >(val2
);
5888 if (arg1
) (arg1
)->y
= arg2
;
5890 resultobj
= SWIG_Py_Void();
5897 SWIGINTERN PyObject
*_wrap_Point_y_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5898 PyObject
*resultobj
= 0;
5899 wxPoint
*arg1
= (wxPoint
*) 0 ;
5903 PyObject
*swig_obj
[1] ;
5905 if (!args
) SWIG_fail
;
5907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5908 if (!SWIG_IsOK(res1
)) {
5909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point_y_get" "', expected argument " "1"" of type '" "wxPoint *""'");
5911 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5912 result
= (int) ((arg1
)->y
);
5913 resultobj
= SWIG_From_int(static_cast< int >(result
));
5920 SWIGINTERN PyObject
*_wrap_new_Point(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5921 PyObject
*resultobj
= 0;
5922 int arg1
= (int) 0 ;
5923 int arg2
= (int) 0 ;
5924 wxPoint
*result
= 0 ;
5929 PyObject
* obj0
= 0 ;
5930 PyObject
* obj1
= 0 ;
5931 char * kwnames
[] = {
5932 (char *) "x",(char *) "y", NULL
5935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5937 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5938 if (!SWIG_IsOK(ecode1
)) {
5939 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Point" "', expected argument " "1"" of type '" "int""'");
5941 arg1
= static_cast< int >(val1
);
5944 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5945 if (!SWIG_IsOK(ecode2
)) {
5946 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Point" "', expected argument " "2"" of type '" "int""'");
5948 arg2
= static_cast< int >(val2
);
5951 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
5952 if (PyErr_Occurred()) SWIG_fail
;
5954 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, SWIG_POINTER_NEW
| 0 );
5961 SWIGINTERN PyObject
*_wrap_delete_Point(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5962 PyObject
*resultobj
= 0;
5963 wxPoint
*arg1
= (wxPoint
*) 0 ;
5966 PyObject
*swig_obj
[1] ;
5968 if (!args
) SWIG_fail
;
5970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint
, SWIG_POINTER_DISOWN
| 0 );
5971 if (!SWIG_IsOK(res1
)) {
5972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Point" "', expected argument " "1"" of type '" "wxPoint *""'");
5974 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5978 if (PyErr_Occurred()) SWIG_fail
;
5980 resultobj
= SWIG_Py_Void();
5987 SWIGINTERN PyObject
*_wrap_Point___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5988 PyObject
*resultobj
= 0;
5989 wxPoint
*arg1
= (wxPoint
*) 0 ;
5990 PyObject
*arg2
= (PyObject
*) 0 ;
5994 PyObject
* obj0
= 0 ;
5995 PyObject
* obj1
= 0 ;
5996 char * kwnames
[] = {
5997 (char *) "self",(char *) "other", NULL
6000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
6002 if (!SWIG_IsOK(res1
)) {
6003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point___eq__" "', expected argument " "1"" of type '" "wxPoint *""'");
6005 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
6008 result
= (bool)wxPoint___eq__(arg1
,arg2
);
6009 if (PyErr_Occurred()) SWIG_fail
;
6012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6020 SWIGINTERN PyObject
*_wrap_Point___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6021 PyObject
*resultobj
= 0;
6022 wxPoint
*arg1
= (wxPoint
*) 0 ;
6023 PyObject
*arg2
= (PyObject
*) 0 ;
6027 PyObject
* obj0
= 0 ;
6028 PyObject
* obj1
= 0 ;
6029 char * kwnames
[] = {
6030 (char *) "self",(char *) "other", NULL
6033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
6035 if (!SWIG_IsOK(res1
)) {
6036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point___ne__" "', expected argument " "1"" of type '" "wxPoint *""'");
6038 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
6041 result
= (bool)wxPoint___ne__(arg1
,arg2
);
6042 if (PyErr_Occurred()) SWIG_fail
;
6045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6053 SWIGINTERN PyObject
*_wrap_Point___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6054 PyObject
*resultobj
= 0;
6055 wxPoint
*arg1
= (wxPoint
*) 0 ;
6061 PyObject
* obj0
= 0 ;
6062 PyObject
* obj1
= 0 ;
6063 char * kwnames
[] = {
6064 (char *) "self",(char *) "pt", NULL
6067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
6069 if (!SWIG_IsOK(res1
)) {
6070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point___add__" "', expected argument " "1"" of type '" "wxPoint *""'");
6072 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
6075 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6078 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
6079 if (PyErr_Occurred()) SWIG_fail
;
6081 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6088 SWIGINTERN PyObject
*_wrap_Point___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6089 PyObject
*resultobj
= 0;
6090 wxPoint
*arg1
= (wxPoint
*) 0 ;
6096 PyObject
* obj0
= 0 ;
6097 PyObject
* obj1
= 0 ;
6098 char * kwnames
[] = {
6099 (char *) "self",(char *) "pt", NULL
6102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
6104 if (!SWIG_IsOK(res1
)) {
6105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point___sub__" "', expected argument " "1"" of type '" "wxPoint *""'");
6107 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
6110 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6113 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
6114 if (PyErr_Occurred()) SWIG_fail
;
6116 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6123 SWIGINTERN PyObject
*_wrap_Point___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6124 PyObject
*resultobj
= 0;
6125 wxPoint
*arg1
= (wxPoint
*) 0 ;
6127 wxPoint
*result
= 0 ;
6131 PyObject
* obj0
= 0 ;
6132 PyObject
* obj1
= 0 ;
6133 char * kwnames
[] = {
6134 (char *) "self",(char *) "pt", NULL
6137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, SWIG_POINTER_DISOWN
| 0 );
6139 if (!SWIG_IsOK(res1
)) {
6140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point___iadd__" "', expected argument " "1"" of type '" "wxPoint *""'");
6142 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
6145 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6149 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
6150 result
= (wxPoint
*) &_result_ref
;
6152 if (PyErr_Occurred()) SWIG_fail
;
6154 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6161 SWIGINTERN PyObject
*_wrap_Point___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6162 PyObject
*resultobj
= 0;
6163 wxPoint
*arg1
= (wxPoint
*) 0 ;
6165 wxPoint
*result
= 0 ;
6169 PyObject
* obj0
= 0 ;
6170 PyObject
* obj1
= 0 ;
6171 char * kwnames
[] = {
6172 (char *) "self",(char *) "pt", NULL
6175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, SWIG_POINTER_DISOWN
| 0 );
6177 if (!SWIG_IsOK(res1
)) {
6178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point___isub__" "', expected argument " "1"" of type '" "wxPoint *""'");
6180 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
6183 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6187 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
6188 result
= (wxPoint
*) &_result_ref
;
6190 if (PyErr_Occurred()) SWIG_fail
;
6192 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6199 SWIGINTERN PyObject
*_wrap_Point_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6200 PyObject
*resultobj
= 0;
6201 wxPoint
*arg1
= (wxPoint
*) 0 ;
6210 PyObject
* obj0
= 0 ;
6211 PyObject
* obj1
= 0 ;
6212 PyObject
* obj2
= 0 ;
6213 char * kwnames
[] = {
6214 (char *) "self",(char *) "x",(char *) "y", NULL
6217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
6219 if (!SWIG_IsOK(res1
)) {
6220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point_Set" "', expected argument " "1"" of type '" "wxPoint *""'");
6222 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
6223 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6224 if (!SWIG_IsOK(ecode2
)) {
6225 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point_Set" "', expected argument " "2"" of type '" "long""'");
6227 arg2
= static_cast< long >(val2
);
6228 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6229 if (!SWIG_IsOK(ecode3
)) {
6230 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Point_Set" "', expected argument " "3"" of type '" "long""'");
6232 arg3
= static_cast< long >(val3
);
6234 wxPoint_Set(arg1
,arg2
,arg3
);
6235 if (PyErr_Occurred()) SWIG_fail
;
6237 resultobj
= SWIG_Py_Void();
6244 SWIGINTERN PyObject
*_wrap_Point_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6245 PyObject
*resultobj
= 0;
6246 wxPoint
*arg1
= (wxPoint
*) 0 ;
6247 PyObject
*result
= 0 ;
6250 PyObject
*swig_obj
[1] ;
6252 if (!args
) SWIG_fail
;
6254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
6255 if (!SWIG_IsOK(res1
)) {
6256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point_Get" "', expected argument " "1"" of type '" "wxPoint *""'");
6258 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
6260 result
= (PyObject
*)wxPoint_Get(arg1
);
6261 if (PyErr_Occurred()) SWIG_fail
;
6270 SWIGINTERN PyObject
*Point_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6272 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6273 SWIG_TypeNewClientData(SWIGTYPE_p_wxPoint
, SWIG_NewClientData(obj
));
6274 return SWIG_Py_Void();
6277 SWIGINTERN PyObject
*Point_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6278 return SWIG_Python_InitShadowInstance(args
);
6281 SWIGINTERN PyObject
*_wrap_new_Rect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6282 PyObject
*resultobj
= 0;
6283 int arg1
= (int) 0 ;
6284 int arg2
= (int) 0 ;
6285 int arg3
= (int) 0 ;
6286 int arg4
= (int) 0 ;
6287 wxRect
*result
= 0 ;
6296 PyObject
* obj0
= 0 ;
6297 PyObject
* obj1
= 0 ;
6298 PyObject
* obj2
= 0 ;
6299 PyObject
* obj3
= 0 ;
6300 char * kwnames
[] = {
6301 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6306 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6307 if (!SWIG_IsOK(ecode1
)) {
6308 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Rect" "', expected argument " "1"" of type '" "int""'");
6310 arg1
= static_cast< int >(val1
);
6313 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6314 if (!SWIG_IsOK(ecode2
)) {
6315 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Rect" "', expected argument " "2"" of type '" "int""'");
6317 arg2
= static_cast< int >(val2
);
6320 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6321 if (!SWIG_IsOK(ecode3
)) {
6322 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Rect" "', expected argument " "3"" of type '" "int""'");
6324 arg3
= static_cast< int >(val3
);
6327 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6328 if (!SWIG_IsOK(ecode4
)) {
6329 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Rect" "', expected argument " "4"" of type '" "int""'");
6331 arg4
= static_cast< int >(val4
);
6334 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
6335 if (PyErr_Occurred()) SWIG_fail
;
6337 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, SWIG_POINTER_NEW
| 0 );
6344 SWIGINTERN PyObject
*_wrap_new_RectPP(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6345 PyObject
*resultobj
= 0;
6348 wxRect
*result
= 0 ;
6351 PyObject
* obj0
= 0 ;
6352 PyObject
* obj1
= 0 ;
6353 char * kwnames
[] = {
6354 (char *) "topLeft",(char *) "bottomRight", NULL
6357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6360 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6364 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6367 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
6368 if (PyErr_Occurred()) SWIG_fail
;
6370 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
6377 SWIGINTERN PyObject
*_wrap_new_RectPS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6378 PyObject
*resultobj
= 0;
6381 wxRect
*result
= 0 ;
6384 PyObject
* obj0
= 0 ;
6385 PyObject
* obj1
= 0 ;
6386 char * kwnames
[] = {
6387 (char *) "pos",(char *) "size", NULL
6390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6393 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6397 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6400 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
6401 if (PyErr_Occurred()) SWIG_fail
;
6403 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
6410 SWIGINTERN PyObject
*_wrap_new_RectS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6411 PyObject
*resultobj
= 0;
6413 wxRect
*result
= 0 ;
6415 PyObject
* obj0
= 0 ;
6416 char * kwnames
[] = {
6417 (char *) "size", NULL
6420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RectS",kwnames
,&obj0
)) SWIG_fail
;
6423 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
6426 result
= (wxRect
*)new wxRect((wxSize
const &)*arg1
);
6427 if (PyErr_Occurred()) SWIG_fail
;
6429 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
6436 SWIGINTERN PyObject
*_wrap_delete_Rect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6437 PyObject
*resultobj
= 0;
6438 wxRect
*arg1
= (wxRect
*) 0 ;
6441 PyObject
*swig_obj
[1] ;
6443 if (!args
) SWIG_fail
;
6445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, SWIG_POINTER_DISOWN
| 0 );
6446 if (!SWIG_IsOK(res1
)) {
6447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Rect" "', expected argument " "1"" of type '" "wxRect *""'");
6449 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6453 if (PyErr_Occurred()) SWIG_fail
;
6455 resultobj
= SWIG_Py_Void();
6462 SWIGINTERN PyObject
*_wrap_Rect_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6463 PyObject
*resultobj
= 0;
6464 wxRect
*arg1
= (wxRect
*) 0 ;
6468 PyObject
*swig_obj
[1] ;
6470 if (!args
) SWIG_fail
;
6472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6473 if (!SWIG_IsOK(res1
)) {
6474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetX" "', expected argument " "1"" of type '" "wxRect const *""'");
6476 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6478 result
= (int)((wxRect
const *)arg1
)->GetX();
6479 if (PyErr_Occurred()) SWIG_fail
;
6481 resultobj
= SWIG_From_int(static_cast< int >(result
));
6488 SWIGINTERN PyObject
*_wrap_Rect_SetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6489 PyObject
*resultobj
= 0;
6490 wxRect
*arg1
= (wxRect
*) 0 ;
6496 PyObject
* obj0
= 0 ;
6497 PyObject
* obj1
= 0 ;
6498 char * kwnames
[] = {
6499 (char *) "self",(char *) "x", NULL
6502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6504 if (!SWIG_IsOK(res1
)) {
6505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetX" "', expected argument " "1"" of type '" "wxRect *""'");
6507 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6508 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6509 if (!SWIG_IsOK(ecode2
)) {
6510 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetX" "', expected argument " "2"" of type '" "int""'");
6512 arg2
= static_cast< int >(val2
);
6515 if (PyErr_Occurred()) SWIG_fail
;
6517 resultobj
= SWIG_Py_Void();
6524 SWIGINTERN PyObject
*_wrap_Rect_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6525 PyObject
*resultobj
= 0;
6526 wxRect
*arg1
= (wxRect
*) 0 ;
6530 PyObject
*swig_obj
[1] ;
6532 if (!args
) SWIG_fail
;
6534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6535 if (!SWIG_IsOK(res1
)) {
6536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetY" "', expected argument " "1"" of type '" "wxRect *""'");
6538 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6540 result
= (int)(arg1
)->GetY();
6541 if (PyErr_Occurred()) SWIG_fail
;
6543 resultobj
= SWIG_From_int(static_cast< int >(result
));
6550 SWIGINTERN PyObject
*_wrap_Rect_SetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6551 PyObject
*resultobj
= 0;
6552 wxRect
*arg1
= (wxRect
*) 0 ;
6558 PyObject
* obj0
= 0 ;
6559 PyObject
* obj1
= 0 ;
6560 char * kwnames
[] = {
6561 (char *) "self",(char *) "y", NULL
6564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6566 if (!SWIG_IsOK(res1
)) {
6567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetY" "', expected argument " "1"" of type '" "wxRect *""'");
6569 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6570 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6571 if (!SWIG_IsOK(ecode2
)) {
6572 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetY" "', expected argument " "2"" of type '" "int""'");
6574 arg2
= static_cast< int >(val2
);
6577 if (PyErr_Occurred()) SWIG_fail
;
6579 resultobj
= SWIG_Py_Void();
6586 SWIGINTERN PyObject
*_wrap_Rect_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6587 PyObject
*resultobj
= 0;
6588 wxRect
*arg1
= (wxRect
*) 0 ;
6592 PyObject
*swig_obj
[1] ;
6594 if (!args
) SWIG_fail
;
6596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6597 if (!SWIG_IsOK(res1
)) {
6598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetWidth" "', expected argument " "1"" of type '" "wxRect const *""'");
6600 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6602 result
= (int)((wxRect
const *)arg1
)->GetWidth();
6603 if (PyErr_Occurred()) SWIG_fail
;
6605 resultobj
= SWIG_From_int(static_cast< int >(result
));
6612 SWIGINTERN PyObject
*_wrap_Rect_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6613 PyObject
*resultobj
= 0;
6614 wxRect
*arg1
= (wxRect
*) 0 ;
6620 PyObject
* obj0
= 0 ;
6621 PyObject
* obj1
= 0 ;
6622 char * kwnames
[] = {
6623 (char *) "self",(char *) "w", NULL
6626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6628 if (!SWIG_IsOK(res1
)) {
6629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetWidth" "', expected argument " "1"" of type '" "wxRect *""'");
6631 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6632 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6633 if (!SWIG_IsOK(ecode2
)) {
6634 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetWidth" "', expected argument " "2"" of type '" "int""'");
6636 arg2
= static_cast< int >(val2
);
6638 (arg1
)->SetWidth(arg2
);
6639 if (PyErr_Occurred()) SWIG_fail
;
6641 resultobj
= SWIG_Py_Void();
6648 SWIGINTERN PyObject
*_wrap_Rect_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6649 PyObject
*resultobj
= 0;
6650 wxRect
*arg1
= (wxRect
*) 0 ;
6654 PyObject
*swig_obj
[1] ;
6656 if (!args
) SWIG_fail
;
6658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6659 if (!SWIG_IsOK(res1
)) {
6660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetHeight" "', expected argument " "1"" of type '" "wxRect const *""'");
6662 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6664 result
= (int)((wxRect
const *)arg1
)->GetHeight();
6665 if (PyErr_Occurred()) SWIG_fail
;
6667 resultobj
= SWIG_From_int(static_cast< int >(result
));
6674 SWIGINTERN PyObject
*_wrap_Rect_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6675 PyObject
*resultobj
= 0;
6676 wxRect
*arg1
= (wxRect
*) 0 ;
6682 PyObject
* obj0
= 0 ;
6683 PyObject
* obj1
= 0 ;
6684 char * kwnames
[] = {
6685 (char *) "self",(char *) "h", NULL
6688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6690 if (!SWIG_IsOK(res1
)) {
6691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetHeight" "', expected argument " "1"" of type '" "wxRect *""'");
6693 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6694 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6695 if (!SWIG_IsOK(ecode2
)) {
6696 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetHeight" "', expected argument " "2"" of type '" "int""'");
6698 arg2
= static_cast< int >(val2
);
6700 (arg1
)->SetHeight(arg2
);
6701 if (PyErr_Occurred()) SWIG_fail
;
6703 resultobj
= SWIG_Py_Void();
6710 SWIGINTERN PyObject
*_wrap_Rect_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6711 PyObject
*resultobj
= 0;
6712 wxRect
*arg1
= (wxRect
*) 0 ;
6716 PyObject
*swig_obj
[1] ;
6718 if (!args
) SWIG_fail
;
6720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6721 if (!SWIG_IsOK(res1
)) {
6722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetPosition" "', expected argument " "1"" of type '" "wxRect const *""'");
6724 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6726 result
= ((wxRect
const *)arg1
)->GetPosition();
6727 if (PyErr_Occurred()) SWIG_fail
;
6729 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6736 SWIGINTERN PyObject
*_wrap_Rect_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6737 PyObject
*resultobj
= 0;
6738 wxRect
*arg1
= (wxRect
*) 0 ;
6743 PyObject
* obj0
= 0 ;
6744 PyObject
* obj1
= 0 ;
6745 char * kwnames
[] = {
6746 (char *) "self",(char *) "p", NULL
6749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6751 if (!SWIG_IsOK(res1
)) {
6752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetPosition" "', expected argument " "1"" of type '" "wxRect *""'");
6754 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6757 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6760 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
6761 if (PyErr_Occurred()) SWIG_fail
;
6763 resultobj
= SWIG_Py_Void();
6770 SWIGINTERN PyObject
*_wrap_Rect_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6771 PyObject
*resultobj
= 0;
6772 wxRect
*arg1
= (wxRect
*) 0 ;
6776 PyObject
*swig_obj
[1] ;
6778 if (!args
) SWIG_fail
;
6780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6781 if (!SWIG_IsOK(res1
)) {
6782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetSize" "', expected argument " "1"" of type '" "wxRect const *""'");
6784 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6786 result
= ((wxRect
const *)arg1
)->GetSize();
6787 if (PyErr_Occurred()) SWIG_fail
;
6789 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6796 SWIGINTERN PyObject
*_wrap_Rect_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6797 PyObject
*resultobj
= 0;
6798 wxRect
*arg1
= (wxRect
*) 0 ;
6803 PyObject
* obj0
= 0 ;
6804 PyObject
* obj1
= 0 ;
6805 char * kwnames
[] = {
6806 (char *) "self",(char *) "s", NULL
6809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6811 if (!SWIG_IsOK(res1
)) {
6812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetSize" "', expected argument " "1"" of type '" "wxRect *""'");
6814 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6817 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6820 (arg1
)->SetSize((wxSize
const &)*arg2
);
6821 if (PyErr_Occurred()) SWIG_fail
;
6823 resultobj
= SWIG_Py_Void();
6830 SWIGINTERN PyObject
*_wrap_Rect_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6831 PyObject
*resultobj
= 0;
6832 wxRect
*arg1
= (wxRect
*) 0 ;
6836 PyObject
*swig_obj
[1] ;
6838 if (!args
) SWIG_fail
;
6840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6841 if (!SWIG_IsOK(res1
)) {
6842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_IsEmpty" "', expected argument " "1"" of type '" "wxRect const *""'");
6844 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6846 result
= (bool)((wxRect
const *)arg1
)->IsEmpty();
6847 if (PyErr_Occurred()) SWIG_fail
;
6850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6858 SWIGINTERN PyObject
*_wrap_Rect_GetTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6859 PyObject
*resultobj
= 0;
6860 wxRect
*arg1
= (wxRect
*) 0 ;
6864 PyObject
*swig_obj
[1] ;
6866 if (!args
) SWIG_fail
;
6868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6869 if (!SWIG_IsOK(res1
)) {
6870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetTopLeft" "', expected argument " "1"" of type '" "wxRect const *""'");
6872 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6874 result
= ((wxRect
const *)arg1
)->GetTopLeft();
6875 if (PyErr_Occurred()) SWIG_fail
;
6877 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6884 SWIGINTERN PyObject
*_wrap_Rect_SetTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6885 PyObject
*resultobj
= 0;
6886 wxRect
*arg1
= (wxRect
*) 0 ;
6891 PyObject
* obj0
= 0 ;
6892 PyObject
* obj1
= 0 ;
6893 char * kwnames
[] = {
6894 (char *) "self",(char *) "p", NULL
6897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6899 if (!SWIG_IsOK(res1
)) {
6900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetTopLeft" "', expected argument " "1"" of type '" "wxRect *""'");
6902 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6905 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6908 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
6909 if (PyErr_Occurred()) SWIG_fail
;
6911 resultobj
= SWIG_Py_Void();
6918 SWIGINTERN PyObject
*_wrap_Rect_GetBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6919 PyObject
*resultobj
= 0;
6920 wxRect
*arg1
= (wxRect
*) 0 ;
6924 PyObject
*swig_obj
[1] ;
6926 if (!args
) SWIG_fail
;
6928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6929 if (!SWIG_IsOK(res1
)) {
6930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetBottomRight" "', expected argument " "1"" of type '" "wxRect const *""'");
6932 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6934 result
= ((wxRect
const *)arg1
)->GetBottomRight();
6935 if (PyErr_Occurred()) SWIG_fail
;
6937 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6944 SWIGINTERN PyObject
*_wrap_Rect_SetBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6945 PyObject
*resultobj
= 0;
6946 wxRect
*arg1
= (wxRect
*) 0 ;
6951 PyObject
* obj0
= 0 ;
6952 PyObject
* obj1
= 0 ;
6953 char * kwnames
[] = {
6954 (char *) "self",(char *) "p", NULL
6957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6959 if (!SWIG_IsOK(res1
)) {
6960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetBottomRight" "', expected argument " "1"" of type '" "wxRect *""'");
6962 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6965 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6968 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
6969 if (PyErr_Occurred()) SWIG_fail
;
6971 resultobj
= SWIG_Py_Void();
6978 SWIGINTERN PyObject
*_wrap_Rect_GetTopRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6979 PyObject
*resultobj
= 0;
6980 wxRect
*arg1
= (wxRect
*) 0 ;
6984 PyObject
*swig_obj
[1] ;
6986 if (!args
) SWIG_fail
;
6988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6989 if (!SWIG_IsOK(res1
)) {
6990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetTopRight" "', expected argument " "1"" of type '" "wxRect const *""'");
6992 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6994 result
= ((wxRect
const *)arg1
)->GetTopRight();
6995 if (PyErr_Occurred()) SWIG_fail
;
6997 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7004 SWIGINTERN PyObject
*_wrap_Rect_SetTopRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7005 PyObject
*resultobj
= 0;
7006 wxRect
*arg1
= (wxRect
*) 0 ;
7011 PyObject
* obj0
= 0 ;
7012 PyObject
* obj1
= 0 ;
7013 char * kwnames
[] = {
7014 (char *) "self",(char *) "p", NULL
7017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7019 if (!SWIG_IsOK(res1
)) {
7020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetTopRight" "', expected argument " "1"" of type '" "wxRect *""'");
7022 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7025 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7028 (arg1
)->SetTopRight((wxPoint
const &)*arg2
);
7029 if (PyErr_Occurred()) SWIG_fail
;
7031 resultobj
= SWIG_Py_Void();
7038 SWIGINTERN PyObject
*_wrap_Rect_GetBottomLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7039 PyObject
*resultobj
= 0;
7040 wxRect
*arg1
= (wxRect
*) 0 ;
7044 PyObject
*swig_obj
[1] ;
7046 if (!args
) SWIG_fail
;
7048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7049 if (!SWIG_IsOK(res1
)) {
7050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetBottomLeft" "', expected argument " "1"" of type '" "wxRect const *""'");
7052 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7054 result
= ((wxRect
const *)arg1
)->GetBottomLeft();
7055 if (PyErr_Occurred()) SWIG_fail
;
7057 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7064 SWIGINTERN PyObject
*_wrap_Rect_SetBottomLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7065 PyObject
*resultobj
= 0;
7066 wxRect
*arg1
= (wxRect
*) 0 ;
7071 PyObject
* obj0
= 0 ;
7072 PyObject
* obj1
= 0 ;
7073 char * kwnames
[] = {
7074 (char *) "self",(char *) "p", NULL
7077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7079 if (!SWIG_IsOK(res1
)) {
7080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetBottomLeft" "', expected argument " "1"" of type '" "wxRect *""'");
7082 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7085 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7088 (arg1
)->SetBottomLeft((wxPoint
const &)*arg2
);
7089 if (PyErr_Occurred()) SWIG_fail
;
7091 resultobj
= SWIG_Py_Void();
7098 SWIGINTERN PyObject
*_wrap_Rect_GetLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7099 PyObject
*resultobj
= 0;
7100 wxRect
*arg1
= (wxRect
*) 0 ;
7104 PyObject
*swig_obj
[1] ;
7106 if (!args
) SWIG_fail
;
7108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7109 if (!SWIG_IsOK(res1
)) {
7110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetLeft" "', expected argument " "1"" of type '" "wxRect const *""'");
7112 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7114 result
= (int)((wxRect
const *)arg1
)->GetLeft();
7115 if (PyErr_Occurred()) SWIG_fail
;
7117 resultobj
= SWIG_From_int(static_cast< int >(result
));
7124 SWIGINTERN PyObject
*_wrap_Rect_GetTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7125 PyObject
*resultobj
= 0;
7126 wxRect
*arg1
= (wxRect
*) 0 ;
7130 PyObject
*swig_obj
[1] ;
7132 if (!args
) SWIG_fail
;
7134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7135 if (!SWIG_IsOK(res1
)) {
7136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetTop" "', expected argument " "1"" of type '" "wxRect const *""'");
7138 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7140 result
= (int)((wxRect
const *)arg1
)->GetTop();
7141 if (PyErr_Occurred()) SWIG_fail
;
7143 resultobj
= SWIG_From_int(static_cast< int >(result
));
7150 SWIGINTERN PyObject
*_wrap_Rect_GetBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7151 PyObject
*resultobj
= 0;
7152 wxRect
*arg1
= (wxRect
*) 0 ;
7156 PyObject
*swig_obj
[1] ;
7158 if (!args
) SWIG_fail
;
7160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7161 if (!SWIG_IsOK(res1
)) {
7162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetBottom" "', expected argument " "1"" of type '" "wxRect const *""'");
7164 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7166 result
= (int)((wxRect
const *)arg1
)->GetBottom();
7167 if (PyErr_Occurred()) SWIG_fail
;
7169 resultobj
= SWIG_From_int(static_cast< int >(result
));
7176 SWIGINTERN PyObject
*_wrap_Rect_GetRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7177 PyObject
*resultobj
= 0;
7178 wxRect
*arg1
= (wxRect
*) 0 ;
7182 PyObject
*swig_obj
[1] ;
7184 if (!args
) SWIG_fail
;
7186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7187 if (!SWIG_IsOK(res1
)) {
7188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetRight" "', expected argument " "1"" of type '" "wxRect const *""'");
7190 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7192 result
= (int)((wxRect
const *)arg1
)->GetRight();
7193 if (PyErr_Occurred()) SWIG_fail
;
7195 resultobj
= SWIG_From_int(static_cast< int >(result
));
7202 SWIGINTERN PyObject
*_wrap_Rect_SetLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7203 PyObject
*resultobj
= 0;
7204 wxRect
*arg1
= (wxRect
*) 0 ;
7210 PyObject
* obj0
= 0 ;
7211 PyObject
* obj1
= 0 ;
7212 char * kwnames
[] = {
7213 (char *) "self",(char *) "left", NULL
7216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7218 if (!SWIG_IsOK(res1
)) {
7219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetLeft" "', expected argument " "1"" of type '" "wxRect *""'");
7221 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7222 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7223 if (!SWIG_IsOK(ecode2
)) {
7224 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetLeft" "', expected argument " "2"" of type '" "int""'");
7226 arg2
= static_cast< int >(val2
);
7228 (arg1
)->SetLeft(arg2
);
7229 if (PyErr_Occurred()) SWIG_fail
;
7231 resultobj
= SWIG_Py_Void();
7238 SWIGINTERN PyObject
*_wrap_Rect_SetRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7239 PyObject
*resultobj
= 0;
7240 wxRect
*arg1
= (wxRect
*) 0 ;
7246 PyObject
* obj0
= 0 ;
7247 PyObject
* obj1
= 0 ;
7248 char * kwnames
[] = {
7249 (char *) "self",(char *) "right", NULL
7252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7254 if (!SWIG_IsOK(res1
)) {
7255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetRight" "', expected argument " "1"" of type '" "wxRect *""'");
7257 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7258 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7259 if (!SWIG_IsOK(ecode2
)) {
7260 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetRight" "', expected argument " "2"" of type '" "int""'");
7262 arg2
= static_cast< int >(val2
);
7264 (arg1
)->SetRight(arg2
);
7265 if (PyErr_Occurred()) SWIG_fail
;
7267 resultobj
= SWIG_Py_Void();
7274 SWIGINTERN PyObject
*_wrap_Rect_SetTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7275 PyObject
*resultobj
= 0;
7276 wxRect
*arg1
= (wxRect
*) 0 ;
7282 PyObject
* obj0
= 0 ;
7283 PyObject
* obj1
= 0 ;
7284 char * kwnames
[] = {
7285 (char *) "self",(char *) "top", NULL
7288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7290 if (!SWIG_IsOK(res1
)) {
7291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetTop" "', expected argument " "1"" of type '" "wxRect *""'");
7293 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7294 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7295 if (!SWIG_IsOK(ecode2
)) {
7296 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetTop" "', expected argument " "2"" of type '" "int""'");
7298 arg2
= static_cast< int >(val2
);
7300 (arg1
)->SetTop(arg2
);
7301 if (PyErr_Occurred()) SWIG_fail
;
7303 resultobj
= SWIG_Py_Void();
7310 SWIGINTERN PyObject
*_wrap_Rect_SetBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7311 PyObject
*resultobj
= 0;
7312 wxRect
*arg1
= (wxRect
*) 0 ;
7318 PyObject
* obj0
= 0 ;
7319 PyObject
* obj1
= 0 ;
7320 char * kwnames
[] = {
7321 (char *) "self",(char *) "bottom", NULL
7324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) 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_SetBottom" "', 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_SetBottom" "', expected argument " "2"" of type '" "int""'");
7334 arg2
= static_cast< int >(val2
);
7336 (arg1
)->SetBottom(arg2
);
7337 if (PyErr_Occurred()) SWIG_fail
;
7339 resultobj
= SWIG_Py_Void();
7346 SWIGINTERN PyObject
*_wrap_Rect_Inflate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7347 PyObject
*resultobj
= 0;
7348 wxRect
*arg1
= (wxRect
*) 0 ;
7358 PyObject
* obj0
= 0 ;
7359 PyObject
* obj1
= 0 ;
7360 PyObject
* obj2
= 0 ;
7361 char * kwnames
[] = {
7362 (char *) "self",(char *) "dx",(char *) "dy", NULL
7365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7367 if (!SWIG_IsOK(res1
)) {
7368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Inflate" "', expected argument " "1"" of type '" "wxRect *""'");
7370 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7371 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7372 if (!SWIG_IsOK(ecode2
)) {
7373 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_Inflate" "', expected argument " "2"" of type '" "int""'");
7375 arg2
= static_cast< int >(val2
);
7376 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7377 if (!SWIG_IsOK(ecode3
)) {
7378 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect_Inflate" "', expected argument " "3"" of type '" "int""'");
7380 arg3
= static_cast< int >(val3
);
7382 result
= (arg1
)->Inflate(arg2
,arg3
);
7383 if (PyErr_Occurred()) SWIG_fail
;
7385 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
7392 SWIGINTERN PyObject
*_wrap_Rect_Deflate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7393 PyObject
*resultobj
= 0;
7394 wxRect
*arg1
= (wxRect
*) 0 ;
7397 wxRect
*result
= 0 ;
7404 PyObject
* obj0
= 0 ;
7405 PyObject
* obj1
= 0 ;
7406 PyObject
* obj2
= 0 ;
7407 char * kwnames
[] = {
7408 (char *) "self",(char *) "dx",(char *) "dy", NULL
7411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7413 if (!SWIG_IsOK(res1
)) {
7414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Deflate" "', expected argument " "1"" of type '" "wxRect *""'");
7416 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7417 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7418 if (!SWIG_IsOK(ecode2
)) {
7419 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_Deflate" "', expected argument " "2"" of type '" "int""'");
7421 arg2
= static_cast< int >(val2
);
7422 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7423 if (!SWIG_IsOK(ecode3
)) {
7424 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect_Deflate" "', expected argument " "3"" of type '" "int""'");
7426 arg3
= static_cast< int >(val3
);
7429 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
7430 result
= (wxRect
*) &_result_ref
;
7432 if (PyErr_Occurred()) SWIG_fail
;
7434 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, 0 | 0 );
7441 SWIGINTERN PyObject
*_wrap_Rect_OffsetXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7442 PyObject
*resultobj
= 0;
7443 wxRect
*arg1
= (wxRect
*) 0 ;
7452 PyObject
* obj0
= 0 ;
7453 PyObject
* obj1
= 0 ;
7454 PyObject
* obj2
= 0 ;
7455 char * kwnames
[] = {
7456 (char *) "self",(char *) "dx",(char *) "dy", NULL
7459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7461 if (!SWIG_IsOK(res1
)) {
7462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_OffsetXY" "', expected argument " "1"" of type '" "wxRect *""'");
7464 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7465 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7466 if (!SWIG_IsOK(ecode2
)) {
7467 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_OffsetXY" "', expected argument " "2"" of type '" "int""'");
7469 arg2
= static_cast< int >(val2
);
7470 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7471 if (!SWIG_IsOK(ecode3
)) {
7472 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect_OffsetXY" "', expected argument " "3"" of type '" "int""'");
7474 arg3
= static_cast< int >(val3
);
7476 (arg1
)->Offset(arg2
,arg3
);
7477 if (PyErr_Occurred()) SWIG_fail
;
7479 resultobj
= SWIG_Py_Void();
7486 SWIGINTERN PyObject
*_wrap_Rect_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7487 PyObject
*resultobj
= 0;
7488 wxRect
*arg1
= (wxRect
*) 0 ;
7493 PyObject
* obj0
= 0 ;
7494 PyObject
* obj1
= 0 ;
7495 char * kwnames
[] = {
7496 (char *) "self",(char *) "pt", NULL
7499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7501 if (!SWIG_IsOK(res1
)) {
7502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Offset" "', expected argument " "1"" of type '" "wxRect *""'");
7504 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7507 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7510 (arg1
)->Offset((wxPoint
const &)*arg2
);
7511 if (PyErr_Occurred()) SWIG_fail
;
7513 resultobj
= SWIG_Py_Void();
7520 SWIGINTERN PyObject
*_wrap_Rect_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7521 PyObject
*resultobj
= 0;
7522 wxRect
*arg1
= (wxRect
*) 0 ;
7528 PyObject
* obj0
= 0 ;
7529 PyObject
* obj1
= 0 ;
7530 char * kwnames
[] = {
7531 (char *) "self",(char *) "rect", NULL
7534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7536 if (!SWIG_IsOK(res1
)) {
7537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Intersect" "', expected argument " "1"" of type '" "wxRect *""'");
7539 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7542 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7545 result
= (arg1
)->Intersect((wxRect
const &)*arg2
);
7546 if (PyErr_Occurred()) SWIG_fail
;
7548 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
7555 SWIGINTERN PyObject
*_wrap_Rect_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7556 PyObject
*resultobj
= 0;
7557 wxRect
*arg1
= (wxRect
*) 0 ;
7563 PyObject
* obj0
= 0 ;
7564 PyObject
* obj1
= 0 ;
7565 char * kwnames
[] = {
7566 (char *) "self",(char *) "rect", NULL
7569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Union",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7571 if (!SWIG_IsOK(res1
)) {
7572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Union" "', expected argument " "1"" of type '" "wxRect *""'");
7574 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7577 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7580 result
= (arg1
)->Union((wxRect
const &)*arg2
);
7581 if (PyErr_Occurred()) SWIG_fail
;
7583 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
7590 SWIGINTERN PyObject
*_wrap_Rect___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7591 PyObject
*resultobj
= 0;
7592 wxRect
*arg1
= (wxRect
*) 0 ;
7598 PyObject
* obj0
= 0 ;
7599 PyObject
* obj1
= 0 ;
7600 char * kwnames
[] = {
7601 (char *) "self",(char *) "rect", NULL
7604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7606 if (!SWIG_IsOK(res1
)) {
7607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect___add__" "', expected argument " "1"" of type '" "wxRect const *""'");
7609 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7612 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7615 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
7616 if (PyErr_Occurred()) SWIG_fail
;
7618 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
7625 SWIGINTERN PyObject
*_wrap_Rect___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7626 PyObject
*resultobj
= 0;
7627 wxRect
*arg1
= (wxRect
*) 0 ;
7629 wxRect
*result
= 0 ;
7633 PyObject
* obj0
= 0 ;
7634 PyObject
* obj1
= 0 ;
7635 char * kwnames
[] = {
7636 (char *) "self",(char *) "rect", NULL
7639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, SWIG_POINTER_DISOWN
| 0 );
7641 if (!SWIG_IsOK(res1
)) {
7642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect___iadd__" "', expected argument " "1"" of type '" "wxRect *""'");
7644 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7647 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7651 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
7652 result
= (wxRect
*) &_result_ref
;
7654 if (PyErr_Occurred()) SWIG_fail
;
7656 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
7663 SWIGINTERN PyObject
*_wrap_Rect___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7664 PyObject
*resultobj
= 0;
7665 wxRect
*arg1
= (wxRect
*) 0 ;
7666 PyObject
*arg2
= (PyObject
*) 0 ;
7670 PyObject
* obj0
= 0 ;
7671 PyObject
* obj1
= 0 ;
7672 char * kwnames
[] = {
7673 (char *) "self",(char *) "other", NULL
7676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7678 if (!SWIG_IsOK(res1
)) {
7679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect___eq__" "', expected argument " "1"" of type '" "wxRect *""'");
7681 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7684 result
= (bool)wxRect___eq__(arg1
,arg2
);
7685 if (PyErr_Occurred()) SWIG_fail
;
7688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7696 SWIGINTERN PyObject
*_wrap_Rect___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7697 PyObject
*resultobj
= 0;
7698 wxRect
*arg1
= (wxRect
*) 0 ;
7699 PyObject
*arg2
= (PyObject
*) 0 ;
7703 PyObject
* obj0
= 0 ;
7704 PyObject
* obj1
= 0 ;
7705 char * kwnames
[] = {
7706 (char *) "self",(char *) "other", NULL
7709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7711 if (!SWIG_IsOK(res1
)) {
7712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect___ne__" "', expected argument " "1"" of type '" "wxRect *""'");
7714 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7717 result
= (bool)wxRect___ne__(arg1
,arg2
);
7718 if (PyErr_Occurred()) SWIG_fail
;
7721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7729 SWIGINTERN PyObject
*_wrap_Rect_ContainsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7730 PyObject
*resultobj
= 0;
7731 wxRect
*arg1
= (wxRect
*) 0 ;
7741 PyObject
* obj0
= 0 ;
7742 PyObject
* obj1
= 0 ;
7743 PyObject
* obj2
= 0 ;
7744 char * kwnames
[] = {
7745 (char *) "self",(char *) "x",(char *) "y", NULL
7748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_ContainsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7750 if (!SWIG_IsOK(res1
)) {
7751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_ContainsXY" "', expected argument " "1"" of type '" "wxRect const *""'");
7753 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7754 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7755 if (!SWIG_IsOK(ecode2
)) {
7756 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_ContainsXY" "', expected argument " "2"" of type '" "int""'");
7758 arg2
= static_cast< int >(val2
);
7759 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7760 if (!SWIG_IsOK(ecode3
)) {
7761 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect_ContainsXY" "', expected argument " "3"" of type '" "int""'");
7763 arg3
= static_cast< int >(val3
);
7765 result
= (bool)((wxRect
const *)arg1
)->Contains(arg2
,arg3
);
7766 if (PyErr_Occurred()) SWIG_fail
;
7769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7777 SWIGINTERN PyObject
*_wrap_Rect_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7778 PyObject
*resultobj
= 0;
7779 wxRect
*arg1
= (wxRect
*) 0 ;
7785 PyObject
* obj0
= 0 ;
7786 PyObject
* obj1
= 0 ;
7787 char * kwnames
[] = {
7788 (char *) "self",(char *) "pt", NULL
7791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Contains",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7793 if (!SWIG_IsOK(res1
)) {
7794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Contains" "', expected argument " "1"" of type '" "wxRect const *""'");
7796 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7799 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7802 result
= (bool)((wxRect
const *)arg1
)->Contains((wxPoint
const &)*arg2
);
7803 if (PyErr_Occurred()) SWIG_fail
;
7806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7814 SWIGINTERN PyObject
*_wrap_Rect_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7815 PyObject
*resultobj
= 0;
7816 wxRect
*arg1
= (wxRect
*) 0 ;
7822 PyObject
* obj0
= 0 ;
7823 PyObject
* obj1
= 0 ;
7824 char * kwnames
[] = {
7825 (char *) "self",(char *) "rect", NULL
7828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7830 if (!SWIG_IsOK(res1
)) {
7831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_ContainsRect" "', expected argument " "1"" of type '" "wxRect const *""'");
7833 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7836 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7839 result
= (bool)((wxRect
const *)arg1
)->Contains((wxRect
const &)*arg2
);
7840 if (PyErr_Occurred()) SWIG_fail
;
7843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7851 SWIGINTERN PyObject
*_wrap_Rect_Intersects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7852 PyObject
*resultobj
= 0;
7853 wxRect
*arg1
= (wxRect
*) 0 ;
7859 PyObject
* obj0
= 0 ;
7860 PyObject
* obj1
= 0 ;
7861 char * kwnames
[] = {
7862 (char *) "self",(char *) "rect", NULL
7865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7867 if (!SWIG_IsOK(res1
)) {
7868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Intersects" "', expected argument " "1"" of type '" "wxRect const *""'");
7870 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7873 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7876 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
7877 if (PyErr_Occurred()) SWIG_fail
;
7880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7888 SWIGINTERN PyObject
*_wrap_Rect_CenterIn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7889 PyObject
*resultobj
= 0;
7890 wxRect
*arg1
= (wxRect
*) 0 ;
7892 int arg3
= (int) wxBOTH
;
7899 PyObject
* obj0
= 0 ;
7900 PyObject
* obj1
= 0 ;
7901 PyObject
* obj2
= 0 ;
7902 char * kwnames
[] = {
7903 (char *) "self",(char *) "r",(char *) "dir", NULL
7906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Rect_CenterIn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7908 if (!SWIG_IsOK(res1
)) {
7909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_CenterIn" "', expected argument " "1"" of type '" "wxRect *""'");
7911 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7914 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7917 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7918 if (!SWIG_IsOK(ecode3
)) {
7919 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect_CenterIn" "', expected argument " "3"" of type '" "int""'");
7921 arg3
= static_cast< int >(val3
);
7924 result
= (arg1
)->CenterIn((wxRect
const &)*arg2
,arg3
);
7925 if (PyErr_Occurred()) SWIG_fail
;
7927 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
7934 SWIGINTERN PyObject
*_wrap_Rect_x_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7935 PyObject
*resultobj
= 0;
7936 wxRect
*arg1
= (wxRect
*) 0 ;
7942 PyObject
*swig_obj
[2] ;
7944 if (!SWIG_Python_UnpackTuple(args
,"Rect_x_set",2,2,swig_obj
)) SWIG_fail
;
7945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7946 if (!SWIG_IsOK(res1
)) {
7947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_x_set" "', expected argument " "1"" of type '" "wxRect *""'");
7949 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7950 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
7951 if (!SWIG_IsOK(ecode2
)) {
7952 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_x_set" "', expected argument " "2"" of type '" "int""'");
7954 arg2
= static_cast< int >(val2
);
7955 if (arg1
) (arg1
)->x
= arg2
;
7957 resultobj
= SWIG_Py_Void();
7964 SWIGINTERN PyObject
*_wrap_Rect_x_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7965 PyObject
*resultobj
= 0;
7966 wxRect
*arg1
= (wxRect
*) 0 ;
7970 PyObject
*swig_obj
[1] ;
7972 if (!args
) SWIG_fail
;
7974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7975 if (!SWIG_IsOK(res1
)) {
7976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_x_get" "', expected argument " "1"" of type '" "wxRect *""'");
7978 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7979 result
= (int) ((arg1
)->x
);
7980 resultobj
= SWIG_From_int(static_cast< int >(result
));
7987 SWIGINTERN PyObject
*_wrap_Rect_y_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7988 PyObject
*resultobj
= 0;
7989 wxRect
*arg1
= (wxRect
*) 0 ;
7995 PyObject
*swig_obj
[2] ;
7997 if (!SWIG_Python_UnpackTuple(args
,"Rect_y_set",2,2,swig_obj
)) SWIG_fail
;
7998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7999 if (!SWIG_IsOK(res1
)) {
8000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_y_set" "', expected argument " "1"" of type '" "wxRect *""'");
8002 arg1
= reinterpret_cast< wxRect
* >(argp1
);
8003 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
8004 if (!SWIG_IsOK(ecode2
)) {
8005 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_y_set" "', expected argument " "2"" of type '" "int""'");
8007 arg2
= static_cast< int >(val2
);
8008 if (arg1
) (arg1
)->y
= arg2
;
8010 resultobj
= SWIG_Py_Void();
8017 SWIGINTERN PyObject
*_wrap_Rect_y_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8018 PyObject
*resultobj
= 0;
8019 wxRect
*arg1
= (wxRect
*) 0 ;
8023 PyObject
*swig_obj
[1] ;
8025 if (!args
) SWIG_fail
;
8027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
8028 if (!SWIG_IsOK(res1
)) {
8029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_y_get" "', expected argument " "1"" of type '" "wxRect *""'");
8031 arg1
= reinterpret_cast< wxRect
* >(argp1
);
8032 result
= (int) ((arg1
)->y
);
8033 resultobj
= SWIG_From_int(static_cast< int >(result
));
8040 SWIGINTERN PyObject
*_wrap_Rect_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8041 PyObject
*resultobj
= 0;
8042 wxRect
*arg1
= (wxRect
*) 0 ;
8048 PyObject
*swig_obj
[2] ;
8050 if (!SWIG_Python_UnpackTuple(args
,"Rect_width_set",2,2,swig_obj
)) SWIG_fail
;
8051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
8052 if (!SWIG_IsOK(res1
)) {
8053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_width_set" "', expected argument " "1"" of type '" "wxRect *""'");
8055 arg1
= reinterpret_cast< wxRect
* >(argp1
);
8056 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
8057 if (!SWIG_IsOK(ecode2
)) {
8058 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_width_set" "', expected argument " "2"" of type '" "int""'");
8060 arg2
= static_cast< int >(val2
);
8061 if (arg1
) (arg1
)->width
= arg2
;
8063 resultobj
= SWIG_Py_Void();
8070 SWIGINTERN PyObject
*_wrap_Rect_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8071 PyObject
*resultobj
= 0;
8072 wxRect
*arg1
= (wxRect
*) 0 ;
8076 PyObject
*swig_obj
[1] ;
8078 if (!args
) SWIG_fail
;
8080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
8081 if (!SWIG_IsOK(res1
)) {
8082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_width_get" "', expected argument " "1"" of type '" "wxRect *""'");
8084 arg1
= reinterpret_cast< wxRect
* >(argp1
);
8085 result
= (int) ((arg1
)->width
);
8086 resultobj
= SWIG_From_int(static_cast< int >(result
));
8093 SWIGINTERN PyObject
*_wrap_Rect_height_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8094 PyObject
*resultobj
= 0;
8095 wxRect
*arg1
= (wxRect
*) 0 ;
8101 PyObject
*swig_obj
[2] ;
8103 if (!SWIG_Python_UnpackTuple(args
,"Rect_height_set",2,2,swig_obj
)) SWIG_fail
;
8104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
8105 if (!SWIG_IsOK(res1
)) {
8106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_height_set" "', expected argument " "1"" of type '" "wxRect *""'");
8108 arg1
= reinterpret_cast< wxRect
* >(argp1
);
8109 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
8110 if (!SWIG_IsOK(ecode2
)) {
8111 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_height_set" "', expected argument " "2"" of type '" "int""'");
8113 arg2
= static_cast< int >(val2
);
8114 if (arg1
) (arg1
)->height
= arg2
;
8116 resultobj
= SWIG_Py_Void();
8123 SWIGINTERN PyObject
*_wrap_Rect_height_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8124 PyObject
*resultobj
= 0;
8125 wxRect
*arg1
= (wxRect
*) 0 ;
8129 PyObject
*swig_obj
[1] ;
8131 if (!args
) SWIG_fail
;
8133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
8134 if (!SWIG_IsOK(res1
)) {
8135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_height_get" "', expected argument " "1"" of type '" "wxRect *""'");
8137 arg1
= reinterpret_cast< wxRect
* >(argp1
);
8138 result
= (int) ((arg1
)->height
);
8139 resultobj
= SWIG_From_int(static_cast< int >(result
));
8146 SWIGINTERN PyObject
*_wrap_Rect_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8147 PyObject
*resultobj
= 0;
8148 wxRect
*arg1
= (wxRect
*) 0 ;
8149 int arg2
= (int) 0 ;
8150 int arg3
= (int) 0 ;
8151 int arg4
= (int) 0 ;
8152 int arg5
= (int) 0 ;
8163 PyObject
* obj0
= 0 ;
8164 PyObject
* obj1
= 0 ;
8165 PyObject
* obj2
= 0 ;
8166 PyObject
* obj3
= 0 ;
8167 PyObject
* obj4
= 0 ;
8168 char * kwnames
[] = {
8169 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
8172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
8174 if (!SWIG_IsOK(res1
)) {
8175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Set" "', expected argument " "1"" of type '" "wxRect *""'");
8177 arg1
= reinterpret_cast< wxRect
* >(argp1
);
8179 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8180 if (!SWIG_IsOK(ecode2
)) {
8181 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_Set" "', expected argument " "2"" of type '" "int""'");
8183 arg2
= static_cast< int >(val2
);
8186 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8187 if (!SWIG_IsOK(ecode3
)) {
8188 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect_Set" "', expected argument " "3"" of type '" "int""'");
8190 arg3
= static_cast< int >(val3
);
8193 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8194 if (!SWIG_IsOK(ecode4
)) {
8195 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Rect_Set" "', expected argument " "4"" of type '" "int""'");
8197 arg4
= static_cast< int >(val4
);
8200 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8201 if (!SWIG_IsOK(ecode5
)) {
8202 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Rect_Set" "', expected argument " "5"" of type '" "int""'");
8204 arg5
= static_cast< int >(val5
);
8207 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8208 if (PyErr_Occurred()) SWIG_fail
;
8210 resultobj
= SWIG_Py_Void();
8217 SWIGINTERN PyObject
*_wrap_Rect_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8218 PyObject
*resultobj
= 0;
8219 wxRect
*arg1
= (wxRect
*) 0 ;
8220 PyObject
*result
= 0 ;
8223 PyObject
*swig_obj
[1] ;
8225 if (!args
) SWIG_fail
;
8227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
8228 if (!SWIG_IsOK(res1
)) {
8229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Get" "', expected argument " "1"" of type '" "wxRect *""'");
8231 arg1
= reinterpret_cast< wxRect
* >(argp1
);
8233 result
= (PyObject
*)wxRect_Get(arg1
);
8234 if (PyErr_Occurred()) SWIG_fail
;
8243 SWIGINTERN PyObject
*Rect_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8245 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8246 SWIG_TypeNewClientData(SWIGTYPE_p_wxRect
, SWIG_NewClientData(obj
));
8247 return SWIG_Py_Void();
8250 SWIGINTERN PyObject
*Rect_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8251 return SWIG_Python_InitShadowInstance(args
);
8254 SWIGINTERN PyObject
*_wrap_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8255 PyObject
*resultobj
= 0;
8256 wxRect
*arg1
= (wxRect
*) 0 ;
8257 wxRect
*arg2
= (wxRect
*) 0 ;
8258 PyObject
*result
= 0 ;
8263 PyObject
* obj0
= 0 ;
8264 PyObject
* obj1
= 0 ;
8265 char * kwnames
[] = {
8266 (char *) "r1",(char *) "r2", NULL
8269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
8271 if (!SWIG_IsOK(res1
)) {
8272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IntersectRect" "', expected argument " "1"" of type '" "wxRect *""'");
8274 arg1
= reinterpret_cast< wxRect
* >(argp1
);
8275 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
8276 if (!SWIG_IsOK(res2
)) {
8277 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IntersectRect" "', expected argument " "2"" of type '" "wxRect *""'");
8279 arg2
= reinterpret_cast< wxRect
* >(argp2
);
8281 if (!wxPyCheckForApp()) SWIG_fail
;
8282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8283 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
8284 wxPyEndAllowThreads(__tstate
);
8285 if (PyErr_Occurred()) SWIG_fail
;
8294 SWIGINTERN PyObject
*_wrap_new_Point2D(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8295 PyObject
*resultobj
= 0;
8296 double arg1
= (double) 0.0 ;
8297 double arg2
= (double) 0.0 ;
8298 wxPoint2D
*result
= 0 ;
8303 PyObject
* obj0
= 0 ;
8304 PyObject
* obj1
= 0 ;
8305 char * kwnames
[] = {
8306 (char *) "x",(char *) "y", NULL
8309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8311 ecode1
= SWIG_AsVal_double(obj0
, &val1
);
8312 if (!SWIG_IsOK(ecode1
)) {
8313 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Point2D" "', expected argument " "1"" of type '" "double""'");
8315 arg1
= static_cast< double >(val1
);
8318 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
8319 if (!SWIG_IsOK(ecode2
)) {
8320 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Point2D" "', expected argument " "2"" of type '" "double""'");
8322 arg2
= static_cast< double >(val2
);
8325 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
8326 if (PyErr_Occurred()) SWIG_fail
;
8328 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_NEW
| 0 );
8335 SWIGINTERN PyObject
*_wrap_new_Point2DCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8336 PyObject
*resultobj
= 0;
8337 wxPoint2D
*arg1
= 0 ;
8338 wxPoint2D
*result
= 0 ;
8340 PyObject
* obj0
= 0 ;
8341 char * kwnames
[] = {
8345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) SWIG_fail
;
8348 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
8351 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
8352 if (PyErr_Occurred()) SWIG_fail
;
8354 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8361 SWIGINTERN PyObject
*_wrap_new_Point2DFromPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8362 PyObject
*resultobj
= 0;
8364 wxPoint2D
*result
= 0 ;
8366 PyObject
* obj0
= 0 ;
8367 char * kwnames
[] = {
8371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) SWIG_fail
;
8374 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
8377 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
8378 if (PyErr_Occurred()) SWIG_fail
;
8380 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8387 SWIGINTERN PyObject
*_wrap_delete_Point2D(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8388 PyObject
*resultobj
= 0;
8389 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8392 PyObject
*swig_obj
[1] ;
8394 if (!args
) SWIG_fail
;
8396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_DISOWN
| 0 );
8397 if (!SWIG_IsOK(res1
)) {
8398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Point2D" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8400 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8404 if (PyErr_Occurred()) SWIG_fail
;
8406 resultobj
= SWIG_Py_Void();
8413 SWIGINTERN PyObject
*_wrap_Point2D_GetFloor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8414 PyObject
*resultobj
= 0;
8415 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8416 int *arg2
= (int *) 0 ;
8417 int *arg3
= (int *) 0 ;
8421 int res2
= SWIG_TMPOBJ
;
8423 int res3
= SWIG_TMPOBJ
;
8424 PyObject
*swig_obj
[1] ;
8428 if (!args
) SWIG_fail
;
8430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8431 if (!SWIG_IsOK(res1
)) {
8432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetFloor" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8434 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8436 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
8437 if (PyErr_Occurred()) SWIG_fail
;
8439 resultobj
= SWIG_Py_Void();
8440 if (SWIG_IsTmpObj(res2
)) {
8441 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8443 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8444 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8446 if (SWIG_IsTmpObj(res3
)) {
8447 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8449 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8450 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8458 SWIGINTERN PyObject
*_wrap_Point2D_GetRounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8459 PyObject
*resultobj
= 0;
8460 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8461 int *arg2
= (int *) 0 ;
8462 int *arg3
= (int *) 0 ;
8466 int res2
= SWIG_TMPOBJ
;
8468 int res3
= SWIG_TMPOBJ
;
8469 PyObject
*swig_obj
[1] ;
8473 if (!args
) SWIG_fail
;
8475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8476 if (!SWIG_IsOK(res1
)) {
8477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetRounded" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8479 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8481 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
8482 if (PyErr_Occurred()) SWIG_fail
;
8484 resultobj
= SWIG_Py_Void();
8485 if (SWIG_IsTmpObj(res2
)) {
8486 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8488 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8489 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8491 if (SWIG_IsTmpObj(res3
)) {
8492 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8494 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8495 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8503 SWIGINTERN PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8504 PyObject
*resultobj
= 0;
8505 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8509 PyObject
*swig_obj
[1] ;
8511 if (!args
) SWIG_fail
;
8513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8514 if (!SWIG_IsOK(res1
)) {
8515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetVectorLength" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8517 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8519 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
8520 if (PyErr_Occurred()) SWIG_fail
;
8522 resultobj
= SWIG_From_double(static_cast< double >(result
));
8529 SWIGINTERN PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8530 PyObject
*resultobj
= 0;
8531 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8535 PyObject
*swig_obj
[1] ;
8537 if (!args
) SWIG_fail
;
8539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8540 if (!SWIG_IsOK(res1
)) {
8541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetVectorAngle" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8543 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8545 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
8546 if (PyErr_Occurred()) SWIG_fail
;
8548 resultobj
= SWIG_From_double(static_cast< double >(result
));
8555 SWIGINTERN PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8556 PyObject
*resultobj
= 0;
8557 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8563 PyObject
* obj0
= 0 ;
8564 PyObject
* obj1
= 0 ;
8565 char * kwnames
[] = {
8566 (char *) "self",(char *) "length", NULL
8569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8571 if (!SWIG_IsOK(res1
)) {
8572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_SetVectorLength" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8574 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8575 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
8576 if (!SWIG_IsOK(ecode2
)) {
8577 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point2D_SetVectorLength" "', expected argument " "2"" of type '" "double""'");
8579 arg2
= static_cast< double >(val2
);
8581 (arg1
)->SetVectorLength(arg2
);
8582 if (PyErr_Occurred()) SWIG_fail
;
8584 resultobj
= SWIG_Py_Void();
8591 SWIGINTERN PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8592 PyObject
*resultobj
= 0;
8593 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8599 PyObject
* obj0
= 0 ;
8600 PyObject
* obj1
= 0 ;
8601 char * kwnames
[] = {
8602 (char *) "self",(char *) "degrees", NULL
8605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8607 if (!SWIG_IsOK(res1
)) {
8608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_SetVectorAngle" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8610 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8611 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
8612 if (!SWIG_IsOK(ecode2
)) {
8613 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point2D_SetVectorAngle" "', expected argument " "2"" of type '" "double""'");
8615 arg2
= static_cast< double >(val2
);
8617 (arg1
)->SetVectorAngle(arg2
);
8618 if (PyErr_Occurred()) SWIG_fail
;
8620 resultobj
= SWIG_Py_Void();
8627 SWIGINTERN PyObject
*_wrap_Point2D_GetDistance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8628 PyObject
*resultobj
= 0;
8629 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8630 wxPoint2D
*arg2
= 0 ;
8635 PyObject
* obj0
= 0 ;
8636 PyObject
* obj1
= 0 ;
8637 char * kwnames
[] = {
8638 (char *) "self",(char *) "pt", NULL
8641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8643 if (!SWIG_IsOK(res1
)) {
8644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetDistance" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8646 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8649 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8652 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
8653 if (PyErr_Occurred()) SWIG_fail
;
8655 resultobj
= SWIG_From_double(static_cast< double >(result
));
8662 SWIGINTERN PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8663 PyObject
*resultobj
= 0;
8664 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8665 wxPoint2D
*arg2
= 0 ;
8670 PyObject
* obj0
= 0 ;
8671 PyObject
* obj1
= 0 ;
8672 char * kwnames
[] = {
8673 (char *) "self",(char *) "pt", NULL
8676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8678 if (!SWIG_IsOK(res1
)) {
8679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetDistanceSquare" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8681 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8684 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8687 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
8688 if (PyErr_Occurred()) SWIG_fail
;
8690 resultobj
= SWIG_From_double(static_cast< double >(result
));
8697 SWIGINTERN PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8698 PyObject
*resultobj
= 0;
8699 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8700 wxPoint2D
*arg2
= 0 ;
8705 PyObject
* obj0
= 0 ;
8706 PyObject
* obj1
= 0 ;
8707 char * kwnames
[] = {
8708 (char *) "self",(char *) "vec", NULL
8711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8713 if (!SWIG_IsOK(res1
)) {
8714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetDotProduct" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8716 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8719 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8722 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
8723 if (PyErr_Occurred()) SWIG_fail
;
8725 resultobj
= SWIG_From_double(static_cast< double >(result
));
8732 SWIGINTERN PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8733 PyObject
*resultobj
= 0;
8734 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8735 wxPoint2D
*arg2
= 0 ;
8740 PyObject
* obj0
= 0 ;
8741 PyObject
* obj1
= 0 ;
8742 char * kwnames
[] = {
8743 (char *) "self",(char *) "vec", NULL
8746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8748 if (!SWIG_IsOK(res1
)) {
8749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetCrossProduct" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8751 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8754 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8757 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
8758 if (PyErr_Occurred()) SWIG_fail
;
8760 resultobj
= SWIG_From_double(static_cast< double >(result
));
8767 SWIGINTERN PyObject
*_wrap_Point2D___neg__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8768 PyObject
*resultobj
= 0;
8769 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8773 PyObject
*swig_obj
[1] ;
8775 if (!args
) SWIG_fail
;
8777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8778 if (!SWIG_IsOK(res1
)) {
8779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___neg__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8781 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8783 result
= (arg1
)->operator -();
8784 if (PyErr_Occurred()) SWIG_fail
;
8786 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8793 SWIGINTERN PyObject
*_wrap_Point2D___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8794 PyObject
*resultobj
= 0;
8795 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8796 wxPoint2D
*arg2
= 0 ;
8797 wxPoint2D
*result
= 0 ;
8801 PyObject
* obj0
= 0 ;
8802 PyObject
* obj1
= 0 ;
8803 char * kwnames
[] = {
8804 (char *) "self",(char *) "pt", NULL
8807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_DISOWN
| 0 );
8809 if (!SWIG_IsOK(res1
)) {
8810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___iadd__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8812 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8815 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8819 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
8820 result
= (wxPoint2D
*) &_result_ref
;
8822 if (PyErr_Occurred()) SWIG_fail
;
8824 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8831 SWIGINTERN PyObject
*_wrap_Point2D___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8832 PyObject
*resultobj
= 0;
8833 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8834 wxPoint2D
*arg2
= 0 ;
8835 wxPoint2D
*result
= 0 ;
8839 PyObject
* obj0
= 0 ;
8840 PyObject
* obj1
= 0 ;
8841 char * kwnames
[] = {
8842 (char *) "self",(char *) "pt", NULL
8845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_DISOWN
| 0 );
8847 if (!SWIG_IsOK(res1
)) {
8848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___isub__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8850 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8853 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8857 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
8858 result
= (wxPoint2D
*) &_result_ref
;
8860 if (PyErr_Occurred()) SWIG_fail
;
8862 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8869 SWIGINTERN PyObject
*_wrap_Point2D___imul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8870 PyObject
*resultobj
= 0;
8871 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8872 wxPoint2D
*arg2
= 0 ;
8873 wxPoint2D
*result
= 0 ;
8877 PyObject
* obj0
= 0 ;
8878 PyObject
* obj1
= 0 ;
8879 char * kwnames
[] = {
8880 (char *) "self",(char *) "pt", NULL
8883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_DISOWN
| 0 );
8885 if (!SWIG_IsOK(res1
)) {
8886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___imul__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8888 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8891 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8895 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
8896 result
= (wxPoint2D
*) &_result_ref
;
8898 if (PyErr_Occurred()) SWIG_fail
;
8900 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8907 SWIGINTERN PyObject
*_wrap_Point2D___idiv__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8908 PyObject
*resultobj
= 0;
8909 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8910 wxPoint2D
*arg2
= 0 ;
8911 wxPoint2D
*result
= 0 ;
8915 PyObject
* obj0
= 0 ;
8916 PyObject
* obj1
= 0 ;
8917 char * kwnames
[] = {
8918 (char *) "self",(char *) "pt", NULL
8921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_DISOWN
| 0 );
8923 if (!SWIG_IsOK(res1
)) {
8924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___idiv__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8926 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8929 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8933 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
8934 result
= (wxPoint2D
*) &_result_ref
;
8936 if (PyErr_Occurred()) SWIG_fail
;
8938 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8945 SWIGINTERN PyObject
*_wrap_Point2D___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8946 PyObject
*resultobj
= 0;
8947 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8948 PyObject
*arg2
= (PyObject
*) 0 ;
8952 PyObject
* obj0
= 0 ;
8953 PyObject
* obj1
= 0 ;
8954 char * kwnames
[] = {
8955 (char *) "self",(char *) "other", NULL
8958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8960 if (!SWIG_IsOK(res1
)) {
8961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___eq__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8963 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8966 result
= (bool)wxPoint2D___eq__(arg1
,arg2
);
8967 if (PyErr_Occurred()) SWIG_fail
;
8970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8978 SWIGINTERN PyObject
*_wrap_Point2D___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8979 PyObject
*resultobj
= 0;
8980 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8981 PyObject
*arg2
= (PyObject
*) 0 ;
8985 PyObject
* obj0
= 0 ;
8986 PyObject
* obj1
= 0 ;
8987 char * kwnames
[] = {
8988 (char *) "self",(char *) "other", NULL
8991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8993 if (!SWIG_IsOK(res1
)) {
8994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___ne__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8996 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8999 result
= (bool)wxPoint2D___ne__(arg1
,arg2
);
9000 if (PyErr_Occurred()) SWIG_fail
;
9003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9011 SWIGINTERN PyObject
*_wrap_Point2D_x_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9012 PyObject
*resultobj
= 0;
9013 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
9019 PyObject
*swig_obj
[2] ;
9021 if (!SWIG_Python_UnpackTuple(args
,"Point2D_x_set",2,2,swig_obj
)) SWIG_fail
;
9022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
9023 if (!SWIG_IsOK(res1
)) {
9024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_x_set" "', expected argument " "1"" of type '" "wxPoint2D *""'");
9026 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
9027 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
9028 if (!SWIG_IsOK(ecode2
)) {
9029 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point2D_x_set" "', expected argument " "2"" of type '" "double""'");
9031 arg2
= static_cast< double >(val2
);
9032 if (arg1
) (arg1
)->m_x
= arg2
;
9034 resultobj
= SWIG_Py_Void();
9041 SWIGINTERN PyObject
*_wrap_Point2D_x_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9042 PyObject
*resultobj
= 0;
9043 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
9047 PyObject
*swig_obj
[1] ;
9049 if (!args
) SWIG_fail
;
9051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
9052 if (!SWIG_IsOK(res1
)) {
9053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_x_get" "', expected argument " "1"" of type '" "wxPoint2D *""'");
9055 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
9056 result
= (double) ((arg1
)->m_x
);
9057 resultobj
= SWIG_From_double(static_cast< double >(result
));
9064 SWIGINTERN PyObject
*_wrap_Point2D_y_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9065 PyObject
*resultobj
= 0;
9066 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
9072 PyObject
*swig_obj
[2] ;
9074 if (!SWIG_Python_UnpackTuple(args
,"Point2D_y_set",2,2,swig_obj
)) SWIG_fail
;
9075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
9076 if (!SWIG_IsOK(res1
)) {
9077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_y_set" "', expected argument " "1"" of type '" "wxPoint2D *""'");
9079 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
9080 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
9081 if (!SWIG_IsOK(ecode2
)) {
9082 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point2D_y_set" "', expected argument " "2"" of type '" "double""'");
9084 arg2
= static_cast< double >(val2
);
9085 if (arg1
) (arg1
)->m_y
= arg2
;
9087 resultobj
= SWIG_Py_Void();
9094 SWIGINTERN PyObject
*_wrap_Point2D_y_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9095 PyObject
*resultobj
= 0;
9096 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
9100 PyObject
*swig_obj
[1] ;
9102 if (!args
) SWIG_fail
;
9104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
9105 if (!SWIG_IsOK(res1
)) {
9106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_y_get" "', expected argument " "1"" of type '" "wxPoint2D *""'");
9108 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
9109 result
= (double) ((arg1
)->m_y
);
9110 resultobj
= SWIG_From_double(static_cast< double >(result
));
9117 SWIGINTERN PyObject
*_wrap_Point2D_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9118 PyObject
*resultobj
= 0;
9119 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
9120 double arg2
= (double) 0 ;
9121 double arg3
= (double) 0 ;
9128 PyObject
* obj0
= 0 ;
9129 PyObject
* obj1
= 0 ;
9130 PyObject
* obj2
= 0 ;
9131 char * kwnames
[] = {
9132 (char *) "self",(char *) "x",(char *) "y", NULL
9135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
9137 if (!SWIG_IsOK(res1
)) {
9138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_Set" "', expected argument " "1"" of type '" "wxPoint2D *""'");
9140 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
9142 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
9143 if (!SWIG_IsOK(ecode2
)) {
9144 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point2D_Set" "', expected argument " "2"" of type '" "double""'");
9146 arg2
= static_cast< double >(val2
);
9149 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
9150 if (!SWIG_IsOK(ecode3
)) {
9151 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Point2D_Set" "', expected argument " "3"" of type '" "double""'");
9153 arg3
= static_cast< double >(val3
);
9156 wxPoint2D_Set(arg1
,arg2
,arg3
);
9157 if (PyErr_Occurred()) SWIG_fail
;
9159 resultobj
= SWIG_Py_Void();
9166 SWIGINTERN PyObject
*_wrap_Point2D_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9167 PyObject
*resultobj
= 0;
9168 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
9169 PyObject
*result
= 0 ;
9172 PyObject
*swig_obj
[1] ;
9174 if (!args
) SWIG_fail
;
9176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
9177 if (!SWIG_IsOK(res1
)) {
9178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_Get" "', expected argument " "1"" of type '" "wxPoint2D *""'");
9180 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
9182 result
= (PyObject
*)wxPoint2D_Get(arg1
);
9183 if (PyErr_Occurred()) SWIG_fail
;
9192 SWIGINTERN PyObject
*Point2D_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9194 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9195 SWIG_TypeNewClientData(SWIGTYPE_p_wxPoint2D
, SWIG_NewClientData(obj
));
9196 return SWIG_Py_Void();
9199 SWIGINTERN PyObject
*Point2D_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9200 return SWIG_Python_InitShadowInstance(args
);
9203 SWIGINTERN PyObject
*_wrap_new_Rect2D(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9204 PyObject
*resultobj
= 0;
9205 wxDouble arg1
= (wxDouble
) 0.0 ;
9206 wxDouble arg2
= (wxDouble
) 0.0 ;
9207 wxDouble arg3
= (wxDouble
) 0.0 ;
9208 wxDouble arg4
= (wxDouble
) 0.0 ;
9209 wxRect2D
*result
= 0 ;
9218 PyObject
* obj0
= 0 ;
9219 PyObject
* obj1
= 0 ;
9220 PyObject
* obj2
= 0 ;
9221 PyObject
* obj3
= 0 ;
9222 char * kwnames
[] = {
9223 (char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
9226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect2D",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9229 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDouble
, 0 | 0);
9230 if (!SWIG_IsOK(res1
)) {
9231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Rect2D" "', expected argument " "1"" of type '" "wxDouble""'");
9234 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Rect2D" "', expected argument " "1"" of type '" "wxDouble""'");
9236 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp1
);
9238 if (SWIG_IsNewObj(res1
)) delete temp
;
9244 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDouble
, 0 | 0);
9245 if (!SWIG_IsOK(res2
)) {
9246 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Rect2D" "', expected argument " "2"" of type '" "wxDouble""'");
9249 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Rect2D" "', expected argument " "2"" of type '" "wxDouble""'");
9251 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp2
);
9253 if (SWIG_IsNewObj(res2
)) delete temp
;
9259 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDouble
, 0 | 0);
9260 if (!SWIG_IsOK(res3
)) {
9261 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Rect2D" "', expected argument " "3"" of type '" "wxDouble""'");
9264 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Rect2D" "', expected argument " "3"" of type '" "wxDouble""'");
9266 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp3
);
9268 if (SWIG_IsNewObj(res3
)) delete temp
;
9274 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDouble
, 0 | 0);
9275 if (!SWIG_IsOK(res4
)) {
9276 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Rect2D" "', expected argument " "4"" of type '" "wxDouble""'");
9279 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Rect2D" "', expected argument " "4"" of type '" "wxDouble""'");
9281 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp4
);
9283 if (SWIG_IsNewObj(res4
)) delete temp
;
9288 result
= (wxRect2D
*)new wxRect2D(arg1
,arg2
,arg3
,arg4
);
9289 if (PyErr_Occurred()) SWIG_fail
;
9291 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect2D
, SWIG_POINTER_NEW
| 0 );
9298 SWIGINTERN PyObject
*_wrap_delete_Rect2D(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9299 PyObject
*resultobj
= 0;
9300 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
9303 PyObject
*swig_obj
[1] ;
9305 if (!args
) SWIG_fail
;
9307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, SWIG_POINTER_DISOWN
| 0 );
9308 if (!SWIG_IsOK(res1
)) {
9309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Rect2D" "', expected argument " "1"" of type '" "wxRect2D *""'");
9311 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
9315 if (PyErr_Occurred()) SWIG_fail
;
9317 resultobj
= SWIG_Py_Void();
9324 SWIGINTERN PyObject
*_wrap_Rect2D_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9325 PyObject
*resultobj
= 0;
9326 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
9330 PyObject
*swig_obj
[1] ;
9332 if (!args
) SWIG_fail
;
9334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
9335 if (!SWIG_IsOK(res1
)) {
9336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_GetPosition" "', expected argument " "1"" of type '" "wxRect2D *""'");
9338 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
9340 result
= (arg1
)->GetPosition();
9341 if (PyErr_Occurred()) SWIG_fail
;
9343 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
9350 SWIGINTERN PyObject
*_wrap_Rect2D_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9351 PyObject
*resultobj
= 0;
9352 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
9356 PyObject
*swig_obj
[1] ;
9358 if (!args
) SWIG_fail
;
9360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
9361 if (!SWIG_IsOK(res1
)) {
9362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_GetSize" "', expected argument " "1"" of type '" "wxRect2D *""'");
9364 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
9366 result
= (arg1
)->GetSize();
9367 if (PyErr_Occurred()) SWIG_fail
;
9369 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
9376 SWIGINTERN PyObject
*_wrap_Rect2D_GetLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9377 PyObject
*resultobj
= 0;
9378 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
9382 PyObject
*swig_obj
[1] ;
9384 if (!args
) SWIG_fail
;
9386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
9387 if (!SWIG_IsOK(res1
)) {
9388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_GetLeft" "', expected argument " "1"" of type '" "wxRect2D const *""'");
9390 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
9392 result
= ((wxRect2D
const *)arg1
)->GetLeft();
9393 if (PyErr_Occurred()) SWIG_fail
;
9395 resultobj
= SWIG_NewPointerObj((new wxDouble(static_cast< const wxDouble
& >(result
))), SWIGTYPE_p_wxDouble
, SWIG_POINTER_OWN
| 0 );
9402 SWIGINTERN PyObject
*_wrap_Rect2D_SetLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9403 PyObject
*resultobj
= 0;
9404 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
9410 PyObject
* obj0
= 0 ;
9411 PyObject
* obj1
= 0 ;
9412 char * kwnames
[] = {
9413 (char *) "self",(char *) "n", NULL
9416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_SetLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
9418 if (!SWIG_IsOK(res1
)) {
9419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_SetLeft" "', expected argument " "1"" of type '" "wxRect2D *""'");
9421 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
9423 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDouble
, 0 | 0);
9424 if (!SWIG_IsOK(res2
)) {
9425 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Rect2D_SetLeft" "', expected argument " "2"" of type '" "wxDouble""'");
9428 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Rect2D_SetLeft" "', expected argument " "2"" of type '" "wxDouble""'");
9430 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp2
);
9432 if (SWIG_IsNewObj(res2
)) delete temp
;
9436 (arg1
)->SetLeft(arg2
);
9437 if (PyErr_Occurred()) SWIG_fail
;
9439 resultobj
= SWIG_Py_Void();
9446 SWIGINTERN PyObject
*_wrap_Rect2D_MoveLeftTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9447 PyObject
*resultobj
= 0;
9448 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
9454 PyObject
* obj0
= 0 ;
9455 PyObject
* obj1
= 0 ;
9456 char * kwnames
[] = {
9457 (char *) "self",(char *) "n", NULL
9460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_MoveLeftTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
9462 if (!SWIG_IsOK(res1
)) {
9463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_MoveLeftTo" "', expected argument " "1"" of type '" "wxRect2D *""'");
9465 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
9467 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDouble
, 0 | 0);
9468 if (!SWIG_IsOK(res2
)) {
9469 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Rect2D_MoveLeftTo" "', expected argument " "2"" of type '" "wxDouble""'");
9472 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Rect2D_MoveLeftTo" "', expected argument " "2"" of type '" "wxDouble""'");
9474 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp2
);
9476 if (SWIG_IsNewObj(res2
)) delete temp
;
9480 (arg1
)->MoveLeftTo(arg2
);
9481 if (PyErr_Occurred()) SWIG_fail
;
9483 resultobj
= SWIG_Py_Void();
9490 SWIGINTERN PyObject
*_wrap_Rect2D_GetTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9491 PyObject
*resultobj
= 0;
9492 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
9496 PyObject
*swig_obj
[1] ;
9498 if (!args
) SWIG_fail
;
9500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
9501 if (!SWIG_IsOK(res1
)) {
9502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_GetTop" "', expected argument " "1"" of type '" "wxRect2D const *""'");
9504 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
9506 result
= ((wxRect2D
const *)arg1
)->GetTop();
9507 if (PyErr_Occurred()) SWIG_fail
;
9509 resultobj
= SWIG_NewPointerObj((new wxDouble(static_cast< const wxDouble
& >(result
))), SWIGTYPE_p_wxDouble
, SWIG_POINTER_OWN
| 0 );
9516 SWIGINTERN PyObject
*_wrap_Rect2D_SetTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9517 PyObject
*resultobj
= 0;
9518 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
9524 PyObject
* obj0
= 0 ;
9525 PyObject
* obj1
= 0 ;
9526 char * kwnames
[] = {
9527 (char *) "self",(char *) "n", NULL
9530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_SetTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
9532 if (!SWIG_IsOK(res1
)) {
9533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_SetTop" "', expected argument " "1"" of type '" "wxRect2D *""'");
9535 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
9537 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDouble
, 0 | 0);
9538 if (!SWIG_IsOK(res2
)) {
9539 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Rect2D_SetTop" "', expected argument " "2"" of type '" "wxDouble""'");
9542 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Rect2D_SetTop" "', expected argument " "2"" of type '" "wxDouble""'");
9544 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp2
);
9546 if (SWIG_IsNewObj(res2
)) delete temp
;
9550 (arg1
)->SetTop(arg2
);
9551 if (PyErr_Occurred()) SWIG_fail
;
9553 resultobj
= SWIG_Py_Void();
9560 SWIGINTERN PyObject
*_wrap_Rect2D_MoveTopTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9561 PyObject
*resultobj
= 0;
9562 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
9568 PyObject
* obj0
= 0 ;
9569 PyObject
* obj1
= 0 ;
9570 char * kwnames
[] = {
9571 (char *) "self",(char *) "n", NULL
9574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_MoveTopTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
9576 if (!SWIG_IsOK(res1
)) {
9577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_MoveTopTo" "', expected argument " "1"" of type '" "wxRect2D *""'");
9579 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
9581 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDouble
, 0 | 0);
9582 if (!SWIG_IsOK(res2
)) {
9583 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Rect2D_MoveTopTo" "', expected argument " "2"" of type '" "wxDouble""'");
9586 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Rect2D_MoveTopTo" "', expected argument " "2"" of type '" "wxDouble""'");
9588 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp2
);
9590 if (SWIG_IsNewObj(res2
)) delete temp
;
9594 (arg1
)->MoveTopTo(arg2
);
9595 if (PyErr_Occurred()) SWIG_fail
;
9597 resultobj
= SWIG_Py_Void();
9604 SWIGINTERN PyObject
*_wrap_Rect2D_GetBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9605 PyObject
*resultobj
= 0;
9606 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
9610 PyObject
*swig_obj
[1] ;
9612 if (!args
) SWIG_fail
;
9614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
9615 if (!SWIG_IsOK(res1
)) {
9616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_GetBottom" "', expected argument " "1"" of type '" "wxRect2D const *""'");
9618 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
9620 result
= ((wxRect2D
const *)arg1
)->GetBottom();
9621 if (PyErr_Occurred()) SWIG_fail
;
9623 resultobj
= SWIG_NewPointerObj((new wxDouble(static_cast< const wxDouble
& >(result
))), SWIGTYPE_p_wxDouble
, SWIG_POINTER_OWN
| 0 );
9630 SWIGINTERN PyObject
*_wrap_Rect2D_SetBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9631 PyObject
*resultobj
= 0;
9632 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
9638 PyObject
* obj0
= 0 ;
9639 PyObject
* obj1
= 0 ;
9640 char * kwnames
[] = {
9641 (char *) "self",(char *) "n", NULL
9644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_SetBottom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
9646 if (!SWIG_IsOK(res1
)) {
9647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_SetBottom" "', expected argument " "1"" of type '" "wxRect2D *""'");
9649 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
9651 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDouble
, 0 | 0);
9652 if (!SWIG_IsOK(res2
)) {
9653 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Rect2D_SetBottom" "', expected argument " "2"" of type '" "wxDouble""'");
9656 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Rect2D_SetBottom" "', expected argument " "2"" of type '" "wxDouble""'");
9658 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp2
);
9660 if (SWIG_IsNewObj(res2
)) delete temp
;
9664 (arg1
)->SetBottom(arg2
);
9665 if (PyErr_Occurred()) SWIG_fail
;
9667 resultobj
= SWIG_Py_Void();
9674 SWIGINTERN PyObject
*_wrap_Rect2D_MoveBottomTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9675 PyObject
*resultobj
= 0;
9676 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
9682 PyObject
* obj0
= 0 ;
9683 PyObject
* obj1
= 0 ;
9684 char * kwnames
[] = {
9685 (char *) "self",(char *) "n", NULL
9688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_MoveBottomTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
9690 if (!SWIG_IsOK(res1
)) {
9691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_MoveBottomTo" "', expected argument " "1"" of type '" "wxRect2D *""'");
9693 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
9695 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDouble
, 0 | 0);
9696 if (!SWIG_IsOK(res2
)) {
9697 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Rect2D_MoveBottomTo" "', expected argument " "2"" of type '" "wxDouble""'");
9700 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Rect2D_MoveBottomTo" "', expected argument " "2"" of type '" "wxDouble""'");
9702 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp2
);
9704 if (SWIG_IsNewObj(res2
)) delete temp
;
9708 (arg1
)->MoveBottomTo(arg2
);
9709 if (PyErr_Occurred()) SWIG_fail
;
9711 resultobj
= SWIG_Py_Void();
9718 SWIGINTERN PyObject
*_wrap_Rect2D_GetRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9719 PyObject
*resultobj
= 0;
9720 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
9724 PyObject
*swig_obj
[1] ;
9726 if (!args
) SWIG_fail
;
9728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
9729 if (!SWIG_IsOK(res1
)) {
9730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_GetRight" "', expected argument " "1"" of type '" "wxRect2D const *""'");
9732 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
9734 result
= ((wxRect2D
const *)arg1
)->GetRight();
9735 if (PyErr_Occurred()) SWIG_fail
;
9737 resultobj
= SWIG_NewPointerObj((new wxDouble(static_cast< const wxDouble
& >(result
))), SWIGTYPE_p_wxDouble
, SWIG_POINTER_OWN
| 0 );
9744 SWIGINTERN PyObject
*_wrap_Rect2D_SetRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9745 PyObject
*resultobj
= 0;
9746 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
9752 PyObject
* obj0
= 0 ;
9753 PyObject
* obj1
= 0 ;
9754 char * kwnames
[] = {
9755 (char *) "self",(char *) "n", NULL
9758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_SetRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
9760 if (!SWIG_IsOK(res1
)) {
9761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_SetRight" "', expected argument " "1"" of type '" "wxRect2D *""'");
9763 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
9765 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDouble
, 0 | 0);
9766 if (!SWIG_IsOK(res2
)) {
9767 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Rect2D_SetRight" "', expected argument " "2"" of type '" "wxDouble""'");
9770 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Rect2D_SetRight" "', expected argument " "2"" of type '" "wxDouble""'");
9772 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp2
);
9774 if (SWIG_IsNewObj(res2
)) delete temp
;
9778 (arg1
)->SetRight(arg2
);
9779 if (PyErr_Occurred()) SWIG_fail
;
9781 resultobj
= SWIG_Py_Void();
9788 SWIGINTERN PyObject
*_wrap_Rect2D_MoveRightTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9789 PyObject
*resultobj
= 0;
9790 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
9796 PyObject
* obj0
= 0 ;
9797 PyObject
* obj1
= 0 ;
9798 char * kwnames
[] = {
9799 (char *) "self",(char *) "n", NULL
9802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_MoveRightTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
9804 if (!SWIG_IsOK(res1
)) {
9805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_MoveRightTo" "', expected argument " "1"" of type '" "wxRect2D *""'");
9807 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
9809 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDouble
, 0 | 0);
9810 if (!SWIG_IsOK(res2
)) {
9811 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Rect2D_MoveRightTo" "', expected argument " "2"" of type '" "wxDouble""'");
9814 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Rect2D_MoveRightTo" "', expected argument " "2"" of type '" "wxDouble""'");
9816 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp2
);
9818 if (SWIG_IsNewObj(res2
)) delete temp
;
9822 (arg1
)->MoveRightTo(arg2
);
9823 if (PyErr_Occurred()) SWIG_fail
;
9825 resultobj
= SWIG_Py_Void();
9832 SWIGINTERN PyObject
*_wrap_Rect2D_GetLeftTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9833 PyObject
*resultobj
= 0;
9834 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
9838 PyObject
*swig_obj
[1] ;
9840 if (!args
) SWIG_fail
;
9842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
9843 if (!SWIG_IsOK(res1
)) {
9844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_GetLeftTop" "', expected argument " "1"" of type '" "wxRect2D const *""'");
9846 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
9848 result
= ((wxRect2D
const *)arg1
)->GetLeftTop();
9849 if (PyErr_Occurred()) SWIG_fail
;
9851 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
9858 SWIGINTERN PyObject
*_wrap_Rect2D_SetLeftTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9859 PyObject
*resultobj
= 0;
9860 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
9861 wxPoint2D
*arg2
= 0 ;
9865 PyObject
* obj0
= 0 ;
9866 PyObject
* obj1
= 0 ;
9867 char * kwnames
[] = {
9868 (char *) "self",(char *) "pt", NULL
9871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_SetLeftTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
9873 if (!SWIG_IsOK(res1
)) {
9874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_SetLeftTop" "', expected argument " "1"" of type '" "wxRect2D *""'");
9876 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
9879 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
9882 (arg1
)->SetLeftTop((wxPoint2D
const &)*arg2
);
9883 if (PyErr_Occurred()) SWIG_fail
;
9885 resultobj
= SWIG_Py_Void();
9892 SWIGINTERN PyObject
*_wrap_Rect2D_MoveLeftTopTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9893 PyObject
*resultobj
= 0;
9894 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
9895 wxPoint2D
*arg2
= 0 ;
9899 PyObject
* obj0
= 0 ;
9900 PyObject
* obj1
= 0 ;
9901 char * kwnames
[] = {
9902 (char *) "self",(char *) "pt", NULL
9905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_MoveLeftTopTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
9907 if (!SWIG_IsOK(res1
)) {
9908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_MoveLeftTopTo" "', expected argument " "1"" of type '" "wxRect2D *""'");
9910 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
9913 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
9916 (arg1
)->MoveLeftTopTo((wxPoint2D
const &)*arg2
);
9917 if (PyErr_Occurred()) SWIG_fail
;
9919 resultobj
= SWIG_Py_Void();
9926 SWIGINTERN PyObject
*_wrap_Rect2D_GetLeftBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9927 PyObject
*resultobj
= 0;
9928 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
9932 PyObject
*swig_obj
[1] ;
9934 if (!args
) SWIG_fail
;
9936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
9937 if (!SWIG_IsOK(res1
)) {
9938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_GetLeftBottom" "', expected argument " "1"" of type '" "wxRect2D const *""'");
9940 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
9942 result
= ((wxRect2D
const *)arg1
)->GetLeftBottom();
9943 if (PyErr_Occurred()) SWIG_fail
;
9945 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
9952 SWIGINTERN PyObject
*_wrap_Rect2D_SetLeftBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9953 PyObject
*resultobj
= 0;
9954 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
9955 wxPoint2D
*arg2
= 0 ;
9959 PyObject
* obj0
= 0 ;
9960 PyObject
* obj1
= 0 ;
9961 char * kwnames
[] = {
9962 (char *) "self",(char *) "pt", NULL
9965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_SetLeftBottom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
9967 if (!SWIG_IsOK(res1
)) {
9968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_SetLeftBottom" "', expected argument " "1"" of type '" "wxRect2D *""'");
9970 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
9973 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
9976 (arg1
)->SetLeftBottom((wxPoint2D
const &)*arg2
);
9977 if (PyErr_Occurred()) SWIG_fail
;
9979 resultobj
= SWIG_Py_Void();
9986 SWIGINTERN PyObject
*_wrap_Rect2D_MoveLeftBottomTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9987 PyObject
*resultobj
= 0;
9988 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
9989 wxPoint2D
*arg2
= 0 ;
9993 PyObject
* obj0
= 0 ;
9994 PyObject
* obj1
= 0 ;
9995 char * kwnames
[] = {
9996 (char *) "self",(char *) "pt", NULL
9999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_MoveLeftBottomTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10001 if (!SWIG_IsOK(res1
)) {
10002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_MoveLeftBottomTo" "', expected argument " "1"" of type '" "wxRect2D *""'");
10004 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10007 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
10010 (arg1
)->MoveLeftBottomTo((wxPoint2D
const &)*arg2
);
10011 if (PyErr_Occurred()) SWIG_fail
;
10013 resultobj
= SWIG_Py_Void();
10020 SWIGINTERN PyObject
*_wrap_Rect2D_GetRightTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10021 PyObject
*resultobj
= 0;
10022 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10026 PyObject
*swig_obj
[1] ;
10028 if (!args
) SWIG_fail
;
10029 swig_obj
[0] = args
;
10030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10031 if (!SWIG_IsOK(res1
)) {
10032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_GetRightTop" "', expected argument " "1"" of type '" "wxRect2D const *""'");
10034 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10036 result
= ((wxRect2D
const *)arg1
)->GetRightTop();
10037 if (PyErr_Occurred()) SWIG_fail
;
10039 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
10046 SWIGINTERN PyObject
*_wrap_Rect2D_SetRightTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10047 PyObject
*resultobj
= 0;
10048 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10049 wxPoint2D
*arg2
= 0 ;
10053 PyObject
* obj0
= 0 ;
10054 PyObject
* obj1
= 0 ;
10055 char * kwnames
[] = {
10056 (char *) "self",(char *) "pt", NULL
10059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_SetRightTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10061 if (!SWIG_IsOK(res1
)) {
10062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_SetRightTop" "', expected argument " "1"" of type '" "wxRect2D *""'");
10064 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10067 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
10070 (arg1
)->SetRightTop((wxPoint2D
const &)*arg2
);
10071 if (PyErr_Occurred()) SWIG_fail
;
10073 resultobj
= SWIG_Py_Void();
10080 SWIGINTERN PyObject
*_wrap_Rect2D_MoveRightTopTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10081 PyObject
*resultobj
= 0;
10082 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10083 wxPoint2D
*arg2
= 0 ;
10087 PyObject
* obj0
= 0 ;
10088 PyObject
* obj1
= 0 ;
10089 char * kwnames
[] = {
10090 (char *) "self",(char *) "pt", NULL
10093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_MoveRightTopTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10095 if (!SWIG_IsOK(res1
)) {
10096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_MoveRightTopTo" "', expected argument " "1"" of type '" "wxRect2D *""'");
10098 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10101 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
10104 (arg1
)->MoveRightTopTo((wxPoint2D
const &)*arg2
);
10105 if (PyErr_Occurred()) SWIG_fail
;
10107 resultobj
= SWIG_Py_Void();
10114 SWIGINTERN PyObject
*_wrap_Rect2D_GetRightBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10115 PyObject
*resultobj
= 0;
10116 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10120 PyObject
*swig_obj
[1] ;
10122 if (!args
) SWIG_fail
;
10123 swig_obj
[0] = args
;
10124 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10125 if (!SWIG_IsOK(res1
)) {
10126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_GetRightBottom" "', expected argument " "1"" of type '" "wxRect2D const *""'");
10128 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10130 result
= ((wxRect2D
const *)arg1
)->GetRightBottom();
10131 if (PyErr_Occurred()) SWIG_fail
;
10133 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
10140 SWIGINTERN PyObject
*_wrap_Rect2D_SetRightBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10141 PyObject
*resultobj
= 0;
10142 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10143 wxPoint2D
*arg2
= 0 ;
10147 PyObject
* obj0
= 0 ;
10148 PyObject
* obj1
= 0 ;
10149 char * kwnames
[] = {
10150 (char *) "self",(char *) "pt", NULL
10153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_SetRightBottom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10155 if (!SWIG_IsOK(res1
)) {
10156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_SetRightBottom" "', expected argument " "1"" of type '" "wxRect2D *""'");
10158 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10161 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
10164 (arg1
)->SetRightBottom((wxPoint2D
const &)*arg2
);
10165 if (PyErr_Occurred()) SWIG_fail
;
10167 resultobj
= SWIG_Py_Void();
10174 SWIGINTERN PyObject
*_wrap_Rect2D_MoveRightBottomTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10175 PyObject
*resultobj
= 0;
10176 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10177 wxPoint2D
*arg2
= 0 ;
10181 PyObject
* obj0
= 0 ;
10182 PyObject
* obj1
= 0 ;
10183 char * kwnames
[] = {
10184 (char *) "self",(char *) "pt", NULL
10187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_MoveRightBottomTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10189 if (!SWIG_IsOK(res1
)) {
10190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_MoveRightBottomTo" "', expected argument " "1"" of type '" "wxRect2D *""'");
10192 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10195 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
10198 (arg1
)->MoveRightBottomTo((wxPoint2D
const &)*arg2
);
10199 if (PyErr_Occurred()) SWIG_fail
;
10201 resultobj
= SWIG_Py_Void();
10208 SWIGINTERN PyObject
*_wrap_Rect2D_GetCentre(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10209 PyObject
*resultobj
= 0;
10210 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10214 PyObject
*swig_obj
[1] ;
10216 if (!args
) SWIG_fail
;
10217 swig_obj
[0] = args
;
10218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10219 if (!SWIG_IsOK(res1
)) {
10220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_GetCentre" "', expected argument " "1"" of type '" "wxRect2D const *""'");
10222 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10224 result
= ((wxRect2D
const *)arg1
)->GetCentre();
10225 if (PyErr_Occurred()) SWIG_fail
;
10227 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
10234 SWIGINTERN PyObject
*_wrap_Rect2D_SetCentre(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10235 PyObject
*resultobj
= 0;
10236 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10237 wxPoint2D
*arg2
= 0 ;
10241 PyObject
* obj0
= 0 ;
10242 PyObject
* obj1
= 0 ;
10243 char * kwnames
[] = {
10244 (char *) "self",(char *) "pt", NULL
10247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_SetCentre",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10249 if (!SWIG_IsOK(res1
)) {
10250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_SetCentre" "', expected argument " "1"" of type '" "wxRect2D *""'");
10252 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10255 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
10258 (arg1
)->SetCentre((wxPoint2D
const &)*arg2
);
10259 if (PyErr_Occurred()) SWIG_fail
;
10261 resultobj
= SWIG_Py_Void();
10268 SWIGINTERN PyObject
*_wrap_Rect2D_MoveCentreTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10269 PyObject
*resultobj
= 0;
10270 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10271 wxPoint2D
*arg2
= 0 ;
10275 PyObject
* obj0
= 0 ;
10276 PyObject
* obj1
= 0 ;
10277 char * kwnames
[] = {
10278 (char *) "self",(char *) "pt", NULL
10281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_MoveCentreTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10283 if (!SWIG_IsOK(res1
)) {
10284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_MoveCentreTo" "', expected argument " "1"" of type '" "wxRect2D *""'");
10286 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10289 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
10292 (arg1
)->MoveCentreTo((wxPoint2D
const &)*arg2
);
10293 if (PyErr_Occurred()) SWIG_fail
;
10295 resultobj
= SWIG_Py_Void();
10302 SWIGINTERN PyObject
*_wrap_Rect2D_GetOutcode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10303 PyObject
*resultobj
= 0;
10304 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10305 wxPoint2D
*arg2
= 0 ;
10310 PyObject
* obj0
= 0 ;
10311 PyObject
* obj1
= 0 ;
10312 char * kwnames
[] = {
10313 (char *) "self",(char *) "pt", NULL
10316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_GetOutcode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10318 if (!SWIG_IsOK(res1
)) {
10319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_GetOutcode" "', expected argument " "1"" of type '" "wxRect2D const *""'");
10321 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10324 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
10327 result
= (wxOutCode
)((wxRect2D
const *)arg1
)->GetOutcode((wxPoint2D
const &)*arg2
);
10328 if (PyErr_Occurred()) SWIG_fail
;
10330 resultobj
= SWIG_From_int(static_cast< int >(result
));
10337 SWIGINTERN PyObject
*_wrap_Rect2D_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10338 PyObject
*resultobj
= 0;
10339 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10340 wxPoint2D
*arg2
= 0 ;
10345 PyObject
* obj0
= 0 ;
10346 PyObject
* obj1
= 0 ;
10347 char * kwnames
[] = {
10348 (char *) "self",(char *) "pt", NULL
10351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_Contains",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10353 if (!SWIG_IsOK(res1
)) {
10354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_Contains" "', expected argument " "1"" of type '" "wxRect2D const *""'");
10356 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10359 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
10362 result
= (bool)((wxRect2D
const *)arg1
)->Contains((wxPoint2D
const &)*arg2
);
10363 if (PyErr_Occurred()) SWIG_fail
;
10366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10374 SWIGINTERN PyObject
*_wrap_Rect2D_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10375 PyObject
*resultobj
= 0;
10376 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10377 wxRect2D
*arg2
= 0 ;
10382 PyObject
* obj0
= 0 ;
10383 PyObject
* obj1
= 0 ;
10384 char * kwnames
[] = {
10385 (char *) "self",(char *) "rect", NULL
10388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10390 if (!SWIG_IsOK(res1
)) {
10391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_ContainsRect" "', expected argument " "1"" of type '" "wxRect2D const *""'");
10393 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10396 if ( ! wxRect2D_helper(obj1
, &arg2
)) SWIG_fail
;
10399 result
= (bool)((wxRect2D
const *)arg1
)->Contains((wxRect2D
const &)*arg2
);
10400 if (PyErr_Occurred()) SWIG_fail
;
10403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10411 SWIGINTERN PyObject
*_wrap_Rect2D_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10412 PyObject
*resultobj
= 0;
10413 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10417 PyObject
*swig_obj
[1] ;
10419 if (!args
) SWIG_fail
;
10420 swig_obj
[0] = args
;
10421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10422 if (!SWIG_IsOK(res1
)) {
10423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_IsEmpty" "', expected argument " "1"" of type '" "wxRect2D const *""'");
10425 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10427 result
= (bool)((wxRect2D
const *)arg1
)->IsEmpty();
10428 if (PyErr_Occurred()) SWIG_fail
;
10431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10439 SWIGINTERN PyObject
*_wrap_Rect2D_HaveEqualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10440 PyObject
*resultobj
= 0;
10441 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10442 wxRect2D
*arg2
= 0 ;
10447 PyObject
* obj0
= 0 ;
10448 PyObject
* obj1
= 0 ;
10449 char * kwnames
[] = {
10450 (char *) "self",(char *) "rect", NULL
10453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_HaveEqualSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10455 if (!SWIG_IsOK(res1
)) {
10456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_HaveEqualSize" "', expected argument " "1"" of type '" "wxRect2D const *""'");
10458 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10461 if ( ! wxRect2D_helper(obj1
, &arg2
)) SWIG_fail
;
10464 result
= (bool)((wxRect2D
const *)arg1
)->HaveEqualSize((wxRect2D
const &)*arg2
);
10465 if (PyErr_Occurred()) SWIG_fail
;
10468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10476 SWIGINTERN PyObject
*_wrap_Rect2D_Inset__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
10477 PyObject
*resultobj
= 0;
10478 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10488 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
10489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10490 if (!SWIG_IsOK(res1
)) {
10491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_Inset" "', expected argument " "1"" of type '" "wxRect2D *""'");
10493 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10495 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDouble
, 0 | 0);
10496 if (!SWIG_IsOK(res2
)) {
10497 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Rect2D_Inset" "', expected argument " "2"" of type '" "wxDouble""'");
10500 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Rect2D_Inset" "', expected argument " "2"" of type '" "wxDouble""'");
10502 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp2
);
10504 if (SWIG_IsNewObj(res2
)) delete temp
;
10508 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
, SWIGTYPE_p_wxDouble
, 0 | 0);
10509 if (!SWIG_IsOK(res3
)) {
10510 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Rect2D_Inset" "', expected argument " "3"" of type '" "wxDouble""'");
10513 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Rect2D_Inset" "', expected argument " "3"" of type '" "wxDouble""'");
10515 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp3
);
10517 if (SWIG_IsNewObj(res3
)) delete temp
;
10521 (arg1
)->Inset(arg2
,arg3
);
10522 if (PyErr_Occurred()) SWIG_fail
;
10524 resultobj
= SWIG_Py_Void();
10531 SWIGINTERN PyObject
*_wrap_Rect2D_Inset__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
10532 PyObject
*resultobj
= 0;
10533 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10549 if ((nobjs
< 5) || (nobjs
> 5)) SWIG_fail
;
10550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10551 if (!SWIG_IsOK(res1
)) {
10552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_Inset" "', expected argument " "1"" of type '" "wxRect2D *""'");
10554 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10556 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDouble
, 0 | 0);
10557 if (!SWIG_IsOK(res2
)) {
10558 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Rect2D_Inset" "', expected argument " "2"" of type '" "wxDouble""'");
10561 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Rect2D_Inset" "', expected argument " "2"" of type '" "wxDouble""'");
10563 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp2
);
10565 if (SWIG_IsNewObj(res2
)) delete temp
;
10569 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
, SWIGTYPE_p_wxDouble
, 0 | 0);
10570 if (!SWIG_IsOK(res3
)) {
10571 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Rect2D_Inset" "', expected argument " "3"" of type '" "wxDouble""'");
10574 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Rect2D_Inset" "', expected argument " "3"" of type '" "wxDouble""'");
10576 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp3
);
10578 if (SWIG_IsNewObj(res3
)) delete temp
;
10582 res4
= SWIG_ConvertPtr(swig_obj
[3], &argp4
, SWIGTYPE_p_wxDouble
, 0 | 0);
10583 if (!SWIG_IsOK(res4
)) {
10584 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Rect2D_Inset" "', expected argument " "4"" of type '" "wxDouble""'");
10587 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Rect2D_Inset" "', expected argument " "4"" of type '" "wxDouble""'");
10589 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp4
);
10591 if (SWIG_IsNewObj(res4
)) delete temp
;
10595 res5
= SWIG_ConvertPtr(swig_obj
[4], &argp5
, SWIGTYPE_p_wxDouble
, 0 | 0);
10596 if (!SWIG_IsOK(res5
)) {
10597 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "Rect2D_Inset" "', expected argument " "5"" of type '" "wxDouble""'");
10600 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Rect2D_Inset" "', expected argument " "5"" of type '" "wxDouble""'");
10602 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp5
);
10604 if (SWIG_IsNewObj(res5
)) delete temp
;
10608 (arg1
)->Inset(arg2
,arg3
,arg4
,arg5
);
10609 if (PyErr_Occurred()) SWIG_fail
;
10611 resultobj
= SWIG_Py_Void();
10618 SWIGINTERN PyObject
*_wrap_Rect2D_Inset(PyObject
*self
, PyObject
*args
) {
10622 if (!(argc
= SWIG_Python_UnpackTuple(args
,"Rect2D_Inset",0,5,argv
))) SWIG_fail
;
10625 return _wrap_Rect2D_Inset__SWIG_0(self
, argc
, argv
);
10628 return _wrap_Rect2D_Inset__SWIG_1(self
, argc
, argv
);
10632 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'Rect2D_Inset'");
10637 SWIGINTERN PyObject
*_wrap_Rect2D_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10638 PyObject
*resultobj
= 0;
10639 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10640 wxPoint2D
*arg2
= 0 ;
10644 PyObject
* obj0
= 0 ;
10645 PyObject
* obj1
= 0 ;
10646 char * kwnames
[] = {
10647 (char *) "self",(char *) "pt", NULL
10650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_Offset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10652 if (!SWIG_IsOK(res1
)) {
10653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_Offset" "', expected argument " "1"" of type '" "wxRect2D *""'");
10655 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10658 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
10661 (arg1
)->Offset((wxPoint2D
const &)*arg2
);
10662 if (PyErr_Occurred()) SWIG_fail
;
10664 resultobj
= SWIG_Py_Void();
10671 SWIGINTERN PyObject
*_wrap_Rect2D_ConstrainTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10672 PyObject
*resultobj
= 0;
10673 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10674 wxRect2D
*arg2
= 0 ;
10678 PyObject
* obj0
= 0 ;
10679 PyObject
* obj1
= 0 ;
10680 char * kwnames
[] = {
10681 (char *) "self",(char *) "rect", NULL
10684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_ConstrainTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10686 if (!SWIG_IsOK(res1
)) {
10687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_ConstrainTo" "', expected argument " "1"" of type '" "wxRect2D *""'");
10689 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10692 if ( ! wxRect2D_helper(obj1
, &arg2
)) SWIG_fail
;
10695 (arg1
)->ConstrainTo((wxRect2D
const &)*arg2
);
10696 if (PyErr_Occurred()) SWIG_fail
;
10698 resultobj
= SWIG_Py_Void();
10705 SWIGINTERN PyObject
*_wrap_Rect2D_Interpolate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10706 PyObject
*resultobj
= 0;
10707 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10717 PyObject
* obj0
= 0 ;
10718 PyObject
* obj1
= 0 ;
10719 PyObject
* obj2
= 0 ;
10720 char * kwnames
[] = {
10721 (char *) "self",(char *) "widthfactor",(char *) "heightfactor", NULL
10724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect2D_Interpolate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10726 if (!SWIG_IsOK(res1
)) {
10727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_Interpolate" "', expected argument " "1"" of type '" "wxRect2D *""'");
10729 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10730 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10731 if (!SWIG_IsOK(ecode2
)) {
10732 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect2D_Interpolate" "', expected argument " "2"" of type '" "int""'");
10734 arg2
= static_cast< int >(val2
);
10735 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10736 if (!SWIG_IsOK(ecode3
)) {
10737 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect2D_Interpolate" "', expected argument " "3"" of type '" "int""'");
10739 arg3
= static_cast< int >(val3
);
10741 result
= (arg1
)->Interpolate(arg2
,arg3
);
10742 if (PyErr_Occurred()) SWIG_fail
;
10744 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
10751 SWIGINTERN PyObject
*_wrap_Rect2D_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10752 PyObject
*resultobj
= 0;
10753 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10754 wxRect2D
*arg2
= 0 ;
10758 PyObject
* obj0
= 0 ;
10759 PyObject
* obj1
= 0 ;
10760 char * kwnames
[] = {
10761 (char *) "self",(char *) "otherRect", NULL
10764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_Intersect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10766 if (!SWIG_IsOK(res1
)) {
10767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_Intersect" "', expected argument " "1"" of type '" "wxRect2D *""'");
10769 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10772 if ( ! wxRect2D_helper(obj1
, &arg2
)) SWIG_fail
;
10775 (arg1
)->Intersect((wxRect2D
const &)*arg2
);
10776 if (PyErr_Occurred()) SWIG_fail
;
10778 resultobj
= SWIG_Py_Void();
10785 SWIGINTERN PyObject
*_wrap_Rect2D_CreateIntersection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10786 PyObject
*resultobj
= 0;
10787 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10788 wxRect2D
*arg2
= 0 ;
10793 PyObject
* obj0
= 0 ;
10794 PyObject
* obj1
= 0 ;
10795 char * kwnames
[] = {
10796 (char *) "self",(char *) "otherRect", NULL
10799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_CreateIntersection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10801 if (!SWIG_IsOK(res1
)) {
10802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_CreateIntersection" "', expected argument " "1"" of type '" "wxRect2D const *""'");
10804 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10807 if ( ! wxRect2D_helper(obj1
, &arg2
)) SWIG_fail
;
10810 result
= ((wxRect2D
const *)arg1
)->CreateIntersection((wxRect2D
const &)*arg2
);
10811 if (PyErr_Occurred()) SWIG_fail
;
10813 resultobj
= SWIG_NewPointerObj((new wxRect2D(static_cast< const wxRect2D
& >(result
))), SWIGTYPE_p_wxRect2D
, SWIG_POINTER_OWN
| 0 );
10820 SWIGINTERN PyObject
*_wrap_Rect2D_Intersects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10821 PyObject
*resultobj
= 0;
10822 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10823 wxRect2D
*arg2
= 0 ;
10828 PyObject
* obj0
= 0 ;
10829 PyObject
* obj1
= 0 ;
10830 char * kwnames
[] = {
10831 (char *) "self",(char *) "rect", NULL
10834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_Intersects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10836 if (!SWIG_IsOK(res1
)) {
10837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_Intersects" "', expected argument " "1"" of type '" "wxRect2D const *""'");
10839 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10842 if ( ! wxRect2D_helper(obj1
, &arg2
)) SWIG_fail
;
10845 result
= (bool)((wxRect2D
const *)arg1
)->Intersects((wxRect2D
const &)*arg2
);
10846 if (PyErr_Occurred()) SWIG_fail
;
10849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10857 SWIGINTERN PyObject
*_wrap_Rect2D_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10858 PyObject
*resultobj
= 0;
10859 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10860 wxRect2D
*arg2
= 0 ;
10864 PyObject
* obj0
= 0 ;
10865 PyObject
* obj1
= 0 ;
10866 char * kwnames
[] = {
10867 (char *) "self",(char *) "otherRect", NULL
10870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_Union",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10872 if (!SWIG_IsOK(res1
)) {
10873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_Union" "', expected argument " "1"" of type '" "wxRect2D *""'");
10875 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10878 if ( ! wxRect2D_helper(obj1
, &arg2
)) SWIG_fail
;
10881 (arg1
)->Union((wxRect2D
const &)*arg2
);
10882 if (PyErr_Occurred()) SWIG_fail
;
10884 resultobj
= SWIG_Py_Void();
10891 SWIGINTERN PyObject
*_wrap_Rect2D_CreateUnion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10892 PyObject
*resultobj
= 0;
10893 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10894 wxRect2D
*arg2
= 0 ;
10899 PyObject
* obj0
= 0 ;
10900 PyObject
* obj1
= 0 ;
10901 char * kwnames
[] = {
10902 (char *) "self",(char *) "otherRect", NULL
10905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_CreateUnion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10907 if (!SWIG_IsOK(res1
)) {
10908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_CreateUnion" "', expected argument " "1"" of type '" "wxRect2D const *""'");
10910 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10913 if ( ! wxRect2D_helper(obj1
, &arg2
)) SWIG_fail
;
10916 result
= ((wxRect2D
const *)arg1
)->CreateUnion((wxRect2D
const &)*arg2
);
10917 if (PyErr_Occurred()) SWIG_fail
;
10919 resultobj
= SWIG_NewPointerObj((new wxRect2D(static_cast< const wxRect2D
& >(result
))), SWIGTYPE_p_wxRect2D
, SWIG_POINTER_OWN
| 0 );
10926 SWIGINTERN PyObject
*_wrap_Rect2D_Scale__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
10927 PyObject
*resultobj
= 0;
10928 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10935 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
10936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10937 if (!SWIG_IsOK(res1
)) {
10938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_Scale" "', expected argument " "1"" of type '" "wxRect2D *""'");
10940 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10942 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDouble
, 0 | 0);
10943 if (!SWIG_IsOK(res2
)) {
10944 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Rect2D_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
10947 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Rect2D_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
10949 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp2
);
10951 if (SWIG_IsNewObj(res2
)) delete temp
;
10955 (arg1
)->Scale(arg2
);
10956 if (PyErr_Occurred()) SWIG_fail
;
10958 resultobj
= SWIG_Py_Void();
10965 SWIGINTERN PyObject
*_wrap_Rect2D_Scale__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
10966 PyObject
*resultobj
= 0;
10967 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10977 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
10978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10979 if (!SWIG_IsOK(res1
)) {
10980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_Scale" "', expected argument " "1"" of type '" "wxRect2D *""'");
10982 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10983 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
10984 if (!SWIG_IsOK(ecode2
)) {
10985 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect2D_Scale" "', expected argument " "2"" of type '" "int""'");
10987 arg2
= static_cast< int >(val2
);
10988 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
10989 if (!SWIG_IsOK(ecode3
)) {
10990 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect2D_Scale" "', expected argument " "3"" of type '" "int""'");
10992 arg3
= static_cast< int >(val3
);
10994 (arg1
)->Scale(arg2
,arg3
);
10995 if (PyErr_Occurred()) SWIG_fail
;
10997 resultobj
= SWIG_Py_Void();
11004 SWIGINTERN PyObject
*_wrap_Rect2D_Scale(PyObject
*self
, PyObject
*args
) {
11008 if (!(argc
= SWIG_Python_UnpackTuple(args
,"Rect2D_Scale",0,3,argv
))) SWIG_fail
;
11011 return _wrap_Rect2D_Scale__SWIG_0(self
, argc
, argv
);
11014 return _wrap_Rect2D_Scale__SWIG_1(self
, argc
, argv
);
11018 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'Rect2D_Scale'");
11023 SWIGINTERN PyObject
*_wrap_Rect2D___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11024 PyObject
*resultobj
= 0;
11025 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
11026 PyObject
*arg2
= (PyObject
*) 0 ;
11030 PyObject
* obj0
= 0 ;
11031 PyObject
* obj1
= 0 ;
11032 char * kwnames
[] = {
11033 (char *) "self",(char *) "other", NULL
11036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
11038 if (!SWIG_IsOK(res1
)) {
11039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D___eq__" "', expected argument " "1"" of type '" "wxRect2D *""'");
11041 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
11044 result
= (bool)wxRect2D___eq__(arg1
,arg2
);
11045 if (PyErr_Occurred()) SWIG_fail
;
11048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11056 SWIGINTERN PyObject
*_wrap_Rect2D___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11057 PyObject
*resultobj
= 0;
11058 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
11059 PyObject
*arg2
= (PyObject
*) 0 ;
11063 PyObject
* obj0
= 0 ;
11064 PyObject
* obj1
= 0 ;
11065 char * kwnames
[] = {
11066 (char *) "self",(char *) "other", NULL
11069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
11071 if (!SWIG_IsOK(res1
)) {
11072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D___ne__" "', expected argument " "1"" of type '" "wxRect2D *""'");
11074 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
11077 result
= (bool)wxRect2D___ne__(arg1
,arg2
);
11078 if (PyErr_Occurred()) SWIG_fail
;
11081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11089 SWIGINTERN PyObject
*_wrap_Rect2D_x_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11090 PyObject
*resultobj
= 0;
11091 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
11097 PyObject
*swig_obj
[2] ;
11099 if (!SWIG_Python_UnpackTuple(args
,"Rect2D_x_set",2,2,swig_obj
)) SWIG_fail
;
11100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
11101 if (!SWIG_IsOK(res1
)) {
11102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_x_set" "', expected argument " "1"" of type '" "wxRect2D *""'");
11104 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
11106 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDouble
, 0 | 0);
11107 if (!SWIG_IsOK(res2
)) {
11108 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Rect2D_x_set" "', expected argument " "2"" of type '" "wxDouble""'");
11111 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Rect2D_x_set" "', expected argument " "2"" of type '" "wxDouble""'");
11113 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp2
);
11115 if (SWIG_IsNewObj(res2
)) delete temp
;
11118 if (arg1
) (arg1
)->m_x
= arg2
;
11120 resultobj
= SWIG_Py_Void();
11127 SWIGINTERN PyObject
*_wrap_Rect2D_x_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11128 PyObject
*resultobj
= 0;
11129 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
11133 PyObject
*swig_obj
[1] ;
11135 if (!args
) SWIG_fail
;
11136 swig_obj
[0] = args
;
11137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
11138 if (!SWIG_IsOK(res1
)) {
11139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_x_get" "', expected argument " "1"" of type '" "wxRect2D *""'");
11141 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
11142 result
= ((arg1
)->m_x
);
11143 resultobj
= SWIG_NewPointerObj((new wxDouble(static_cast< const wxDouble
& >(result
))), SWIGTYPE_p_wxDouble
, SWIG_POINTER_OWN
| 0 );
11150 SWIGINTERN PyObject
*_wrap_Rect2D_y_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11151 PyObject
*resultobj
= 0;
11152 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
11158 PyObject
*swig_obj
[2] ;
11160 if (!SWIG_Python_UnpackTuple(args
,"Rect2D_y_set",2,2,swig_obj
)) SWIG_fail
;
11161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
11162 if (!SWIG_IsOK(res1
)) {
11163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_y_set" "', expected argument " "1"" of type '" "wxRect2D *""'");
11165 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
11167 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDouble
, 0 | 0);
11168 if (!SWIG_IsOK(res2
)) {
11169 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Rect2D_y_set" "', expected argument " "2"" of type '" "wxDouble""'");
11172 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Rect2D_y_set" "', expected argument " "2"" of type '" "wxDouble""'");
11174 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp2
);
11176 if (SWIG_IsNewObj(res2
)) delete temp
;
11179 if (arg1
) (arg1
)->m_y
= arg2
;
11181 resultobj
= SWIG_Py_Void();
11188 SWIGINTERN PyObject
*_wrap_Rect2D_y_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11189 PyObject
*resultobj
= 0;
11190 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
11194 PyObject
*swig_obj
[1] ;
11196 if (!args
) SWIG_fail
;
11197 swig_obj
[0] = args
;
11198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
11199 if (!SWIG_IsOK(res1
)) {
11200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_y_get" "', expected argument " "1"" of type '" "wxRect2D *""'");
11202 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
11203 result
= ((arg1
)->m_y
);
11204 resultobj
= SWIG_NewPointerObj((new wxDouble(static_cast< const wxDouble
& >(result
))), SWIGTYPE_p_wxDouble
, SWIG_POINTER_OWN
| 0 );
11211 SWIGINTERN PyObject
*_wrap_Rect2D_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11212 PyObject
*resultobj
= 0;
11213 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
11219 PyObject
*swig_obj
[2] ;
11221 if (!SWIG_Python_UnpackTuple(args
,"Rect2D_width_set",2,2,swig_obj
)) SWIG_fail
;
11222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
11223 if (!SWIG_IsOK(res1
)) {
11224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_width_set" "', expected argument " "1"" of type '" "wxRect2D *""'");
11226 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
11228 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDouble
, 0 | 0);
11229 if (!SWIG_IsOK(res2
)) {
11230 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Rect2D_width_set" "', expected argument " "2"" of type '" "wxDouble""'");
11233 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Rect2D_width_set" "', expected argument " "2"" of type '" "wxDouble""'");
11235 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp2
);
11237 if (SWIG_IsNewObj(res2
)) delete temp
;
11240 if (arg1
) (arg1
)->m_width
= arg2
;
11242 resultobj
= SWIG_Py_Void();
11249 SWIGINTERN PyObject
*_wrap_Rect2D_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11250 PyObject
*resultobj
= 0;
11251 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
11255 PyObject
*swig_obj
[1] ;
11257 if (!args
) SWIG_fail
;
11258 swig_obj
[0] = args
;
11259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
11260 if (!SWIG_IsOK(res1
)) {
11261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_width_get" "', expected argument " "1"" of type '" "wxRect2D *""'");
11263 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
11264 result
= ((arg1
)->m_width
);
11265 resultobj
= SWIG_NewPointerObj((new wxDouble(static_cast< const wxDouble
& >(result
))), SWIGTYPE_p_wxDouble
, SWIG_POINTER_OWN
| 0 );
11272 SWIGINTERN PyObject
*_wrap_Rect2D_height_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11273 PyObject
*resultobj
= 0;
11274 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
11280 PyObject
*swig_obj
[2] ;
11282 if (!SWIG_Python_UnpackTuple(args
,"Rect2D_height_set",2,2,swig_obj
)) SWIG_fail
;
11283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
11284 if (!SWIG_IsOK(res1
)) {
11285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_height_set" "', expected argument " "1"" of type '" "wxRect2D *""'");
11287 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
11289 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDouble
, 0 | 0);
11290 if (!SWIG_IsOK(res2
)) {
11291 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Rect2D_height_set" "', expected argument " "2"" of type '" "wxDouble""'");
11294 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Rect2D_height_set" "', expected argument " "2"" of type '" "wxDouble""'");
11296 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp2
);
11298 if (SWIG_IsNewObj(res2
)) delete temp
;
11301 if (arg1
) (arg1
)->m_height
= arg2
;
11303 resultobj
= SWIG_Py_Void();
11310 SWIGINTERN PyObject
*_wrap_Rect2D_height_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11311 PyObject
*resultobj
= 0;
11312 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
11316 PyObject
*swig_obj
[1] ;
11318 if (!args
) SWIG_fail
;
11319 swig_obj
[0] = args
;
11320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
11321 if (!SWIG_IsOK(res1
)) {
11322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_height_get" "', expected argument " "1"" of type '" "wxRect2D *""'");
11324 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
11325 result
= ((arg1
)->m_height
);
11326 resultobj
= SWIG_NewPointerObj((new wxDouble(static_cast< const wxDouble
& >(result
))), SWIGTYPE_p_wxDouble
, SWIG_POINTER_OWN
| 0 );
11333 SWIGINTERN PyObject
*_wrap_Rect2D_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11334 PyObject
*resultobj
= 0;
11335 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
11336 wxDouble arg2
= (wxDouble
) 0 ;
11337 wxDouble arg3
= (wxDouble
) 0 ;
11338 wxDouble arg4
= (wxDouble
) 0 ;
11339 wxDouble arg5
= (wxDouble
) 0 ;
11350 PyObject
* obj0
= 0 ;
11351 PyObject
* obj1
= 0 ;
11352 PyObject
* obj2
= 0 ;
11353 PyObject
* obj3
= 0 ;
11354 PyObject
* obj4
= 0 ;
11355 char * kwnames
[] = {
11356 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect2D_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
11361 if (!SWIG_IsOK(res1
)) {
11362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_Set" "', expected argument " "1"" of type '" "wxRect2D *""'");
11364 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
11367 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDouble
, 0 | 0);
11368 if (!SWIG_IsOK(res2
)) {
11369 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Rect2D_Set" "', expected argument " "2"" of type '" "wxDouble""'");
11372 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Rect2D_Set" "', expected argument " "2"" of type '" "wxDouble""'");
11374 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp2
);
11376 if (SWIG_IsNewObj(res2
)) delete temp
;
11382 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDouble
, 0 | 0);
11383 if (!SWIG_IsOK(res3
)) {
11384 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Rect2D_Set" "', expected argument " "3"" of type '" "wxDouble""'");
11387 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Rect2D_Set" "', expected argument " "3"" of type '" "wxDouble""'");
11389 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp3
);
11391 if (SWIG_IsNewObj(res3
)) delete temp
;
11397 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDouble
, 0 | 0);
11398 if (!SWIG_IsOK(res4
)) {
11399 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Rect2D_Set" "', expected argument " "4"" of type '" "wxDouble""'");
11402 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Rect2D_Set" "', expected argument " "4"" of type '" "wxDouble""'");
11404 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp4
);
11406 if (SWIG_IsNewObj(res4
)) delete temp
;
11412 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxDouble
, 0 | 0);
11413 if (!SWIG_IsOK(res5
)) {
11414 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "Rect2D_Set" "', expected argument " "5"" of type '" "wxDouble""'");
11417 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Rect2D_Set" "', expected argument " "5"" of type '" "wxDouble""'");
11419 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp5
);
11421 if (SWIG_IsNewObj(res5
)) delete temp
;
11426 wxRect2D_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
11427 if (PyErr_Occurred()) SWIG_fail
;
11429 resultobj
= SWIG_Py_Void();
11436 SWIGINTERN PyObject
*_wrap_Rect2D_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11437 PyObject
*resultobj
= 0;
11438 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
11439 PyObject
*result
= 0 ;
11442 PyObject
*swig_obj
[1] ;
11444 if (!args
) SWIG_fail
;
11445 swig_obj
[0] = args
;
11446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
11447 if (!SWIG_IsOK(res1
)) {
11448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_Get" "', expected argument " "1"" of type '" "wxRect2D *""'");
11450 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
11452 result
= (PyObject
*)wxRect2D_Get(arg1
);
11453 if (PyErr_Occurred()) SWIG_fail
;
11455 resultobj
= result
;
11462 SWIGINTERN PyObject
*Rect2D_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11464 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11465 SWIG_TypeNewClientData(SWIGTYPE_p_wxRect2D
, SWIG_NewClientData(obj
));
11466 return SWIG_Py_Void();
11469 SWIGINTERN PyObject
*Rect2D_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11470 return SWIG_Python_InitShadowInstance(args
);
11473 SWIGINTERN
int DefaultPosition_set(PyObject
*) {
11474 SWIG_Error(SWIG_AttributeError
,"Variable DefaultPosition is read-only.");
11479 SWIGINTERN PyObject
*DefaultPosition_get(void) {
11480 PyObject
*pyobj
= 0;
11482 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0 );
11487 SWIGINTERN
int DefaultSize_set(PyObject
*) {
11488 SWIG_Error(SWIG_AttributeError
,"Variable DefaultSize is read-only.");
11493 SWIGINTERN PyObject
*DefaultSize_get(void) {
11494 PyObject
*pyobj
= 0;
11496 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0 );
11501 SWIGINTERN PyObject
*_wrap_new_InputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11502 PyObject
*resultobj
= 0;
11503 PyObject
*arg1
= (PyObject
*) 0 ;
11504 wxPyInputStream
*result
= 0 ;
11505 PyObject
* obj0
= 0 ;
11506 char * kwnames
[] = {
11510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) SWIG_fail
;
11513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11514 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
11515 wxPyEndAllowThreads(__tstate
);
11516 if (PyErr_Occurred()) SWIG_fail
;
11518 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_NEW
| 0 );
11525 SWIGINTERN PyObject
*_wrap_delete_InputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11526 PyObject
*resultobj
= 0;
11527 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
11530 PyObject
*swig_obj
[1] ;
11532 if (!args
) SWIG_fail
;
11533 swig_obj
[0] = args
;
11534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_DISOWN
| 0 );
11535 if (!SWIG_IsOK(res1
)) {
11536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_InputStream" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
11538 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
11540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11543 wxPyEndAllowThreads(__tstate
);
11544 if (PyErr_Occurred()) SWIG_fail
;
11546 resultobj
= SWIG_Py_Void();
11553 SWIGINTERN PyObject
*_wrap_InputStream_close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11554 PyObject
*resultobj
= 0;
11555 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
11558 PyObject
*swig_obj
[1] ;
11560 if (!args
) SWIG_fail
;
11561 swig_obj
[0] = args
;
11562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
11563 if (!SWIG_IsOK(res1
)) {
11564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_close" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
11566 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
11568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11570 wxPyEndAllowThreads(__tstate
);
11571 if (PyErr_Occurred()) SWIG_fail
;
11573 resultobj
= SWIG_Py_Void();
11580 SWIGINTERN PyObject
*_wrap_InputStream_flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11581 PyObject
*resultobj
= 0;
11582 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
11585 PyObject
*swig_obj
[1] ;
11587 if (!args
) SWIG_fail
;
11588 swig_obj
[0] = args
;
11589 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
11590 if (!SWIG_IsOK(res1
)) {
11591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_flush" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
11593 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
11595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11597 wxPyEndAllowThreads(__tstate
);
11598 if (PyErr_Occurred()) SWIG_fail
;
11600 resultobj
= SWIG_Py_Void();
11607 SWIGINTERN PyObject
*_wrap_InputStream_eof(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11608 PyObject
*resultobj
= 0;
11609 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
11613 PyObject
*swig_obj
[1] ;
11615 if (!args
) SWIG_fail
;
11616 swig_obj
[0] = args
;
11617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
11618 if (!SWIG_IsOK(res1
)) {
11619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_eof" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
11621 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
11623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11624 result
= (bool)(arg1
)->eof();
11625 wxPyEndAllowThreads(__tstate
);
11626 if (PyErr_Occurred()) SWIG_fail
;
11629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11637 SWIGINTERN PyObject
*_wrap_InputStream_read(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11638 PyObject
*resultobj
= 0;
11639 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
11640 int arg2
= (int) -1 ;
11641 PyObject
*result
= 0 ;
11646 PyObject
* obj0
= 0 ;
11647 PyObject
* obj1
= 0 ;
11648 char * kwnames
[] = {
11649 (char *) "self",(char *) "size", NULL
11652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
11654 if (!SWIG_IsOK(res1
)) {
11655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_read" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
11657 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
11659 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11660 if (!SWIG_IsOK(ecode2
)) {
11661 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "InputStream_read" "', expected argument " "2"" of type '" "int""'");
11663 arg2
= static_cast< int >(val2
);
11666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11667 result
= (PyObject
*)(arg1
)->read(arg2
);
11668 wxPyEndAllowThreads(__tstate
);
11669 if (PyErr_Occurred()) SWIG_fail
;
11671 resultobj
= result
;
11678 SWIGINTERN PyObject
*_wrap_InputStream_readline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11679 PyObject
*resultobj
= 0;
11680 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
11681 int arg2
= (int) -1 ;
11682 PyObject
*result
= 0 ;
11687 PyObject
* obj0
= 0 ;
11688 PyObject
* obj1
= 0 ;
11689 char * kwnames
[] = {
11690 (char *) "self",(char *) "size", NULL
11693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
11695 if (!SWIG_IsOK(res1
)) {
11696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_readline" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
11698 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
11700 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11701 if (!SWIG_IsOK(ecode2
)) {
11702 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "InputStream_readline" "', expected argument " "2"" of type '" "int""'");
11704 arg2
= static_cast< int >(val2
);
11707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11708 result
= (PyObject
*)(arg1
)->readline(arg2
);
11709 wxPyEndAllowThreads(__tstate
);
11710 if (PyErr_Occurred()) SWIG_fail
;
11712 resultobj
= result
;
11719 SWIGINTERN PyObject
*_wrap_InputStream_readlines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11720 PyObject
*resultobj
= 0;
11721 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
11722 int arg2
= (int) -1 ;
11723 PyObject
*result
= 0 ;
11728 PyObject
* obj0
= 0 ;
11729 PyObject
* obj1
= 0 ;
11730 char * kwnames
[] = {
11731 (char *) "self",(char *) "sizehint", NULL
11734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
11736 if (!SWIG_IsOK(res1
)) {
11737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_readlines" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
11739 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
11741 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11742 if (!SWIG_IsOK(ecode2
)) {
11743 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "InputStream_readlines" "', expected argument " "2"" of type '" "int""'");
11745 arg2
= static_cast< int >(val2
);
11748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11749 result
= (PyObject
*)(arg1
)->readlines(arg2
);
11750 wxPyEndAllowThreads(__tstate
);
11751 if (PyErr_Occurred()) SWIG_fail
;
11753 resultobj
= result
;
11760 SWIGINTERN PyObject
*_wrap_InputStream_seek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11761 PyObject
*resultobj
= 0;
11762 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
11764 int arg3
= (int) 0 ;
11771 PyObject
* obj0
= 0 ;
11772 PyObject
* obj1
= 0 ;
11773 PyObject
* obj2
= 0 ;
11774 char * kwnames
[] = {
11775 (char *) "self",(char *) "offset",(char *) "whence", NULL
11778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
11780 if (!SWIG_IsOK(res1
)) {
11781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_seek" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
11783 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
11784 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11785 if (!SWIG_IsOK(ecode2
)) {
11786 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "InputStream_seek" "', expected argument " "2"" of type '" "int""'");
11788 arg2
= static_cast< int >(val2
);
11790 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11791 if (!SWIG_IsOK(ecode3
)) {
11792 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "InputStream_seek" "', expected argument " "3"" of type '" "int""'");
11794 arg3
= static_cast< int >(val3
);
11797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11798 (arg1
)->seek(arg2
,arg3
);
11799 wxPyEndAllowThreads(__tstate
);
11800 if (PyErr_Occurred()) SWIG_fail
;
11802 resultobj
= SWIG_Py_Void();
11809 SWIGINTERN PyObject
*_wrap_InputStream_tell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11810 PyObject
*resultobj
= 0;
11811 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
11815 PyObject
*swig_obj
[1] ;
11817 if (!args
) SWIG_fail
;
11818 swig_obj
[0] = args
;
11819 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
11820 if (!SWIG_IsOK(res1
)) {
11821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_tell" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
11823 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
11825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11826 result
= (int)(arg1
)->tell();
11827 wxPyEndAllowThreads(__tstate
);
11828 if (PyErr_Occurred()) SWIG_fail
;
11830 resultobj
= SWIG_From_int(static_cast< int >(result
));
11837 SWIGINTERN PyObject
*_wrap_InputStream_Peek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11838 PyObject
*resultobj
= 0;
11839 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
11843 PyObject
*swig_obj
[1] ;
11845 if (!args
) SWIG_fail
;
11846 swig_obj
[0] = args
;
11847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
11848 if (!SWIG_IsOK(res1
)) {
11849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_Peek" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
11851 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
11853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11854 result
= (char)(arg1
)->Peek();
11855 wxPyEndAllowThreads(__tstate
);
11856 if (PyErr_Occurred()) SWIG_fail
;
11858 resultobj
= SWIG_From_char(static_cast< char >(result
));
11865 SWIGINTERN PyObject
*_wrap_InputStream_GetC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11866 PyObject
*resultobj
= 0;
11867 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
11871 PyObject
*swig_obj
[1] ;
11873 if (!args
) SWIG_fail
;
11874 swig_obj
[0] = args
;
11875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
11876 if (!SWIG_IsOK(res1
)) {
11877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_GetC" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
11879 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
11881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11882 result
= (char)(arg1
)->GetC();
11883 wxPyEndAllowThreads(__tstate
);
11884 if (PyErr_Occurred()) SWIG_fail
;
11886 resultobj
= SWIG_From_char(static_cast< char >(result
));
11893 SWIGINTERN PyObject
*_wrap_InputStream_LastRead(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11894 PyObject
*resultobj
= 0;
11895 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
11899 PyObject
*swig_obj
[1] ;
11901 if (!args
) SWIG_fail
;
11902 swig_obj
[0] = args
;
11903 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
11904 if (!SWIG_IsOK(res1
)) {
11905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_LastRead" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
11907 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
11909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11910 result
= (size_t)(arg1
)->LastRead();
11911 wxPyEndAllowThreads(__tstate
);
11912 if (PyErr_Occurred()) SWIG_fail
;
11914 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
11921 SWIGINTERN PyObject
*_wrap_InputStream_CanRead(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11922 PyObject
*resultobj
= 0;
11923 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
11927 PyObject
*swig_obj
[1] ;
11929 if (!args
) SWIG_fail
;
11930 swig_obj
[0] = args
;
11931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
11932 if (!SWIG_IsOK(res1
)) {
11933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_CanRead" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
11935 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
11937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11938 result
= (bool)(arg1
)->CanRead();
11939 wxPyEndAllowThreads(__tstate
);
11940 if (PyErr_Occurred()) SWIG_fail
;
11943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11951 SWIGINTERN PyObject
*_wrap_InputStream_Eof(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11952 PyObject
*resultobj
= 0;
11953 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
11957 PyObject
*swig_obj
[1] ;
11959 if (!args
) SWIG_fail
;
11960 swig_obj
[0] = args
;
11961 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
11962 if (!SWIG_IsOK(res1
)) {
11963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_Eof" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
11965 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
11967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11968 result
= (bool)(arg1
)->Eof();
11969 wxPyEndAllowThreads(__tstate
);
11970 if (PyErr_Occurred()) SWIG_fail
;
11973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11981 SWIGINTERN PyObject
*_wrap_InputStream_Ungetch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11982 PyObject
*resultobj
= 0;
11983 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
11990 PyObject
* obj0
= 0 ;
11991 PyObject
* obj1
= 0 ;
11992 char * kwnames
[] = {
11993 (char *) "self",(char *) "c", NULL
11996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
11998 if (!SWIG_IsOK(res1
)) {
11999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_Ungetch" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
12001 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
12002 ecode2
= SWIG_AsVal_char(obj1
, &val2
);
12003 if (!SWIG_IsOK(ecode2
)) {
12004 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "InputStream_Ungetch" "', expected argument " "2"" of type '" "char""'");
12006 arg2
= static_cast< char >(val2
);
12008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12009 result
= (bool)(arg1
)->Ungetch(arg2
);
12010 wxPyEndAllowThreads(__tstate
);
12011 if (PyErr_Occurred()) SWIG_fail
;
12014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12022 SWIGINTERN PyObject
*_wrap_InputStream_SeekI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12023 PyObject
*resultobj
= 0;
12024 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
12026 wxSeekMode arg3
= (wxSeekMode
) wxFromStart
;
12034 PyObject
* obj0
= 0 ;
12035 PyObject
* obj1
= 0 ;
12036 PyObject
* obj2
= 0 ;
12037 char * kwnames
[] = {
12038 (char *) "self",(char *) "pos",(char *) "mode", NULL
12041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
12043 if (!SWIG_IsOK(res1
)) {
12044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_SeekI" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
12046 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
12047 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12048 if (!SWIG_IsOK(ecode2
)) {
12049 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "InputStream_SeekI" "', expected argument " "2"" of type '" "long""'");
12051 arg2
= static_cast< long >(val2
);
12053 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12054 if (!SWIG_IsOK(ecode3
)) {
12055 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "InputStream_SeekI" "', expected argument " "3"" of type '" "wxSeekMode""'");
12057 arg3
= static_cast< wxSeekMode
>(val3
);
12060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12061 result
= (long)(arg1
)->SeekI(arg2
,arg3
);
12062 wxPyEndAllowThreads(__tstate
);
12063 if (PyErr_Occurred()) SWIG_fail
;
12065 resultobj
= SWIG_From_long(static_cast< long >(result
));
12072 SWIGINTERN PyObject
*_wrap_InputStream_TellI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12073 PyObject
*resultobj
= 0;
12074 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
12078 PyObject
*swig_obj
[1] ;
12080 if (!args
) SWIG_fail
;
12081 swig_obj
[0] = args
;
12082 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
12083 if (!SWIG_IsOK(res1
)) {
12084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_TellI" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
12086 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
12088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12089 result
= (long)(arg1
)->TellI();
12090 wxPyEndAllowThreads(__tstate
);
12091 if (PyErr_Occurred()) SWIG_fail
;
12093 resultobj
= SWIG_From_long(static_cast< long >(result
));
12100 SWIGINTERN PyObject
*InputStream_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12102 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12103 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyInputStream
, SWIG_NewClientData(obj
));
12104 return SWIG_Py_Void();
12107 SWIGINTERN PyObject
*InputStream_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12108 return SWIG_Python_InitShadowInstance(args
);
12111 SWIGINTERN PyObject
*_wrap_OutputStream_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12112 PyObject
*resultobj
= 0;
12113 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
12114 PyObject
*arg2
= (PyObject
*) 0 ;
12117 PyObject
* obj0
= 0 ;
12118 PyObject
* obj1
= 0 ;
12119 char * kwnames
[] = {
12120 (char *) "self",(char *) "obj", NULL
12123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxOutputStream
, 0 | 0 );
12125 if (!SWIG_IsOK(res1
)) {
12126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "OutputStream_write" "', expected argument " "1"" of type '" "wxOutputStream *""'");
12128 arg1
= reinterpret_cast< wxOutputStream
* >(argp1
);
12131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12132 wxOutputStream_write(arg1
,arg2
);
12133 wxPyEndAllowThreads(__tstate
);
12134 if (PyErr_Occurred()) SWIG_fail
;
12136 resultobj
= SWIG_Py_Void();
12143 SWIGINTERN PyObject
*_wrap_OutputStream_LastWrite(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12144 PyObject
*resultobj
= 0;
12145 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
12149 PyObject
*swig_obj
[1] ;
12151 if (!args
) SWIG_fail
;
12152 swig_obj
[0] = args
;
12153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOutputStream
, 0 | 0 );
12154 if (!SWIG_IsOK(res1
)) {
12155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "OutputStream_LastWrite" "', expected argument " "1"" of type '" "wxOutputStream const *""'");
12157 arg1
= reinterpret_cast< wxOutputStream
* >(argp1
);
12159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12160 result
= (size_t)((wxOutputStream
const *)arg1
)->LastWrite();
12161 wxPyEndAllowThreads(__tstate
);
12162 if (PyErr_Occurred()) SWIG_fail
;
12164 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
12171 SWIGINTERN PyObject
*OutputStream_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12173 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12174 SWIG_TypeNewClientData(SWIGTYPE_p_wxOutputStream
, SWIG_NewClientData(obj
));
12175 return SWIG_Py_Void();
12178 SWIGINTERN PyObject
*_wrap_new_FSFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12179 PyObject
*resultobj
= 0;
12180 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
12181 wxString
*arg2
= 0 ;
12182 wxString
*arg3
= 0 ;
12183 wxString
*arg4
= 0 ;
12185 wxFSFile
*result
= 0 ;
12186 wxPyInputStream
*temp1
;
12187 bool temp2
= false ;
12188 bool temp3
= false ;
12189 bool temp4
= false ;
12192 PyObject
* obj0
= 0 ;
12193 PyObject
* obj1
= 0 ;
12194 PyObject
* obj2
= 0 ;
12195 PyObject
* obj3
= 0 ;
12196 PyObject
* obj4
= 0 ;
12197 char * kwnames
[] = {
12198 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
12201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
12203 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
12204 arg1
= wxPyCBInputStream_copy((wxPyCBInputStream
*)temp1
->m_wxis
);
12206 PyErr_Clear(); // clear the failure of the wxPyConvert above
12207 arg1
= wxPyCBInputStream_create(obj0
, true);
12208 if (arg1
== NULL
) {
12209 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12215 arg2
= wxString_in_helper(obj1
);
12216 if (arg2
== NULL
) SWIG_fail
;
12220 arg3
= wxString_in_helper(obj2
);
12221 if (arg3
== NULL
) SWIG_fail
;
12225 arg4
= wxString_in_helper(obj3
);
12226 if (arg4
== NULL
) SWIG_fail
;
12230 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxDateTime
, 0 | 0);
12231 if (!SWIG_IsOK(res5
)) {
12232 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "new_FSFile" "', expected argument " "5"" of type '" "wxDateTime""'");
12235 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FSFile" "', expected argument " "5"" of type '" "wxDateTime""'");
12237 wxDateTime
* temp
= reinterpret_cast< wxDateTime
* >(argp5
);
12239 if (SWIG_IsNewObj(res5
)) delete temp
;
12243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12244 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
12245 wxPyEndAllowThreads(__tstate
);
12246 if (PyErr_Occurred()) SWIG_fail
;
12248 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFSFile
, SWIG_POINTER_NEW
| 0 );
12279 SWIGINTERN PyObject
*_wrap_delete_FSFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12280 PyObject
*resultobj
= 0;
12281 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
12284 PyObject
*swig_obj
[1] ;
12286 if (!args
) SWIG_fail
;
12287 swig_obj
[0] = args
;
12288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFSFile
, SWIG_POINTER_DISOWN
| 0 );
12289 if (!SWIG_IsOK(res1
)) {
12290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FSFile" "', expected argument " "1"" of type '" "wxFSFile *""'");
12292 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
12294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12297 wxPyEndAllowThreads(__tstate
);
12298 if (PyErr_Occurred()) SWIG_fail
;
12300 resultobj
= SWIG_Py_Void();
12307 SWIGINTERN PyObject
*_wrap_FSFile_GetStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12308 PyObject
*resultobj
= 0;
12309 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
12310 wxInputStream
*result
= 0 ;
12313 PyObject
*swig_obj
[1] ;
12315 if (!args
) SWIG_fail
;
12316 swig_obj
[0] = args
;
12317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFSFile
, 0 | 0 );
12318 if (!SWIG_IsOK(res1
)) {
12319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FSFile_GetStream" "', expected argument " "1"" of type '" "wxFSFile *""'");
12321 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
12323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12324 result
= (wxInputStream
*)(arg1
)->GetStream();
12325 wxPyEndAllowThreads(__tstate
);
12326 if (PyErr_Occurred()) SWIG_fail
;
12329 wxPyInputStream
* _ptr
= NULL
;
12332 _ptr
= new wxPyInputStream(result
);
12334 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
12342 SWIGINTERN PyObject
*_wrap_FSFile_DetachStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12343 PyObject
*resultobj
= 0;
12344 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
12347 PyObject
*swig_obj
[1] ;
12349 if (!args
) SWIG_fail
;
12350 swig_obj
[0] = args
;
12351 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFSFile
, 0 | 0 );
12352 if (!SWIG_IsOK(res1
)) {
12353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FSFile_DetachStream" "', expected argument " "1"" of type '" "wxFSFile *""'");
12355 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
12357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12358 (arg1
)->DetachStream();
12359 wxPyEndAllowThreads(__tstate
);
12360 if (PyErr_Occurred()) SWIG_fail
;
12362 resultobj
= SWIG_Py_Void();
12369 SWIGINTERN PyObject
*_wrap_FSFile_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12370 PyObject
*resultobj
= 0;
12371 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
12372 wxString
*result
= 0 ;
12375 PyObject
*swig_obj
[1] ;
12377 if (!args
) SWIG_fail
;
12378 swig_obj
[0] = args
;
12379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFSFile
, 0 | 0 );
12380 if (!SWIG_IsOK(res1
)) {
12381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FSFile_GetMimeType" "', expected argument " "1"" of type '" "wxFSFile *""'");
12383 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
12385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12387 wxString
const &_result_ref
= (arg1
)->GetMimeType();
12388 result
= (wxString
*) &_result_ref
;
12390 wxPyEndAllowThreads(__tstate
);
12391 if (PyErr_Occurred()) SWIG_fail
;
12395 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12397 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12406 SWIGINTERN PyObject
*_wrap_FSFile_GetLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12407 PyObject
*resultobj
= 0;
12408 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
12409 wxString
*result
= 0 ;
12412 PyObject
*swig_obj
[1] ;
12414 if (!args
) SWIG_fail
;
12415 swig_obj
[0] = args
;
12416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFSFile
, 0 | 0 );
12417 if (!SWIG_IsOK(res1
)) {
12418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FSFile_GetLocation" "', expected argument " "1"" of type '" "wxFSFile *""'");
12420 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
12422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12424 wxString
const &_result_ref
= (arg1
)->GetLocation();
12425 result
= (wxString
*) &_result_ref
;
12427 wxPyEndAllowThreads(__tstate
);
12428 if (PyErr_Occurred()) SWIG_fail
;
12432 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12434 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12443 SWIGINTERN PyObject
*_wrap_FSFile_GetAnchor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12444 PyObject
*resultobj
= 0;
12445 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
12446 wxString
*result
= 0 ;
12449 PyObject
*swig_obj
[1] ;
12451 if (!args
) SWIG_fail
;
12452 swig_obj
[0] = args
;
12453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFSFile
, 0 | 0 );
12454 if (!SWIG_IsOK(res1
)) {
12455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FSFile_GetAnchor" "', expected argument " "1"" of type '" "wxFSFile *""'");
12457 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
12459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12461 wxString
const &_result_ref
= (arg1
)->GetAnchor();
12462 result
= (wxString
*) &_result_ref
;
12464 wxPyEndAllowThreads(__tstate
);
12465 if (PyErr_Occurred()) SWIG_fail
;
12469 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12471 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12480 SWIGINTERN PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12481 PyObject
*resultobj
= 0;
12482 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
12486 PyObject
*swig_obj
[1] ;
12488 if (!args
) SWIG_fail
;
12489 swig_obj
[0] = args
;
12490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFSFile
, 0 | 0 );
12491 if (!SWIG_IsOK(res1
)) {
12492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FSFile_GetModificationTime" "', expected argument " "1"" of type '" "wxFSFile *""'");
12494 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
12496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12497 result
= (arg1
)->GetModificationTime();
12498 wxPyEndAllowThreads(__tstate
);
12499 if (PyErr_Occurred()) SWIG_fail
;
12501 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
12508 SWIGINTERN PyObject
*FSFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12510 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12511 SWIG_TypeNewClientData(SWIGTYPE_p_wxFSFile
, SWIG_NewClientData(obj
));
12512 return SWIG_Py_Void();
12515 SWIGINTERN PyObject
*FSFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12516 return SWIG_Python_InitShadowInstance(args
);
12519 SWIGINTERN PyObject
*_wrap_delete_CPPFileSystemHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12520 PyObject
*resultobj
= 0;
12521 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
12524 PyObject
*swig_obj
[1] ;
12526 if (!args
) SWIG_fail
;
12527 swig_obj
[0] = args
;
12528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileSystemHandler
, SWIG_POINTER_DISOWN
| 0 );
12529 if (!SWIG_IsOK(res1
)) {
12530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_CPPFileSystemHandler" "', expected argument " "1"" of type '" "wxFileSystemHandler *""'");
12532 arg1
= reinterpret_cast< wxFileSystemHandler
* >(argp1
);
12534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12537 wxPyEndAllowThreads(__tstate
);
12538 if (PyErr_Occurred()) SWIG_fail
;
12540 resultobj
= SWIG_Py_Void();
12547 SWIGINTERN PyObject
*CPPFileSystemHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12549 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12550 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileSystemHandler
, SWIG_NewClientData(obj
));
12551 return SWIG_Py_Void();
12554 SWIGINTERN PyObject
*_wrap_new_FileSystemHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12555 PyObject
*resultobj
= 0;
12556 wxPyFileSystemHandler
*result
= 0 ;
12558 if (!SWIG_Python_UnpackTuple(args
,"new_FileSystemHandler",0,0,0)) SWIG_fail
;
12560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12561 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
12562 wxPyEndAllowThreads(__tstate
);
12563 if (PyErr_Occurred()) SWIG_fail
;
12565 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_NEW
| 0 );
12572 SWIGINTERN PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12573 PyObject
*resultobj
= 0;
12574 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
12575 PyObject
*arg2
= (PyObject
*) 0 ;
12576 PyObject
*arg3
= (PyObject
*) 0 ;
12579 PyObject
* obj0
= 0 ;
12580 PyObject
* obj1
= 0 ;
12581 PyObject
* obj2
= 0 ;
12582 char * kwnames
[] = {
12583 (char *) "self",(char *) "self",(char *) "_class", NULL
12586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",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__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
12591 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
12595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12596 (arg1
)->_setCallbackInfo(arg2
,arg3
);
12597 wxPyEndAllowThreads(__tstate
);
12598 if (PyErr_Occurred()) SWIG_fail
;
12600 resultobj
= SWIG_Py_Void();
12607 SWIGINTERN PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12608 PyObject
*resultobj
= 0;
12609 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
12610 wxString
*arg2
= 0 ;
12614 bool temp2
= false ;
12615 PyObject
* obj0
= 0 ;
12616 PyObject
* obj1
= 0 ;
12617 char * kwnames
[] = {
12618 (char *) "self",(char *) "location", NULL
12621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
12623 if (!SWIG_IsOK(res1
)) {
12624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_CanOpen" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
12626 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
12628 arg2
= wxString_in_helper(obj1
);
12629 if (arg2
== NULL
) SWIG_fail
;
12633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12634 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
12635 wxPyEndAllowThreads(__tstate
);
12636 if (PyErr_Occurred()) SWIG_fail
;
12639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12655 SWIGINTERN PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12656 PyObject
*resultobj
= 0;
12657 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
12658 wxFileSystem
*arg2
= 0 ;
12659 wxString
*arg3
= 0 ;
12660 wxFSFile
*result
= 0 ;
12665 bool temp3
= false ;
12666 PyObject
* obj0
= 0 ;
12667 PyObject
* obj1
= 0 ;
12668 PyObject
* obj2
= 0 ;
12669 char * kwnames
[] = {
12670 (char *) "self",(char *) "fs",(char *) "location", NULL
12673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
12675 if (!SWIG_IsOK(res1
)) {
12676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_OpenFile" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
12678 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
12679 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileSystem
, 0 );
12680 if (!SWIG_IsOK(res2
)) {
12681 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileSystemHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
12684 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FileSystemHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
12686 arg2
= reinterpret_cast< wxFileSystem
* >(argp2
);
12688 arg3
= wxString_in_helper(obj2
);
12689 if (arg3
== NULL
) SWIG_fail
;
12693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12694 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
12695 wxPyEndAllowThreads(__tstate
);
12696 if (PyErr_Occurred()) SWIG_fail
;
12699 resultobj
= wxPyMake_wxObject(result
, SWIG_POINTER_OWN
);
12715 SWIGINTERN PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12716 PyObject
*resultobj
= 0;
12717 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
12718 wxString
*arg2
= 0 ;
12719 int arg3
= (int) 0 ;
12723 bool temp2
= false ;
12726 PyObject
* obj0
= 0 ;
12727 PyObject
* obj1
= 0 ;
12728 PyObject
* obj2
= 0 ;
12729 char * kwnames
[] = {
12730 (char *) "self",(char *) "spec",(char *) "flags", NULL
12733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
12735 if (!SWIG_IsOK(res1
)) {
12736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_FindFirst" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
12738 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
12740 arg2
= wxString_in_helper(obj1
);
12741 if (arg2
== NULL
) SWIG_fail
;
12745 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12746 if (!SWIG_IsOK(ecode3
)) {
12747 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileSystemHandler_FindFirst" "', expected argument " "3"" of type '" "int""'");
12749 arg3
= static_cast< int >(val3
);
12752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12753 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
12754 wxPyEndAllowThreads(__tstate
);
12755 if (PyErr_Occurred()) SWIG_fail
;
12759 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12761 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12778 SWIGINTERN PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12779 PyObject
*resultobj
= 0;
12780 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
12784 PyObject
*swig_obj
[1] ;
12786 if (!args
) SWIG_fail
;
12787 swig_obj
[0] = args
;
12788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
12789 if (!SWIG_IsOK(res1
)) {
12790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_FindNext" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
12792 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
12794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12795 result
= (arg1
)->FindNext();
12796 wxPyEndAllowThreads(__tstate
);
12797 if (PyErr_Occurred()) SWIG_fail
;
12801 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12803 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12812 SWIGINTERN PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12813 PyObject
*resultobj
= 0;
12814 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
12815 wxString
*arg2
= 0 ;
12819 bool temp2
= false ;
12820 PyObject
* obj0
= 0 ;
12821 PyObject
* obj1
= 0 ;
12822 char * kwnames
[] = {
12823 (char *) "self",(char *) "location", NULL
12826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
12828 if (!SWIG_IsOK(res1
)) {
12829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_GetProtocol" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
12831 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
12833 arg2
= wxString_in_helper(obj1
);
12834 if (arg2
== NULL
) SWIG_fail
;
12838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12839 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
12840 wxPyEndAllowThreads(__tstate
);
12841 if (PyErr_Occurred()) SWIG_fail
;
12845 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12847 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12864 SWIGINTERN PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12865 PyObject
*resultobj
= 0;
12866 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
12867 wxString
*arg2
= 0 ;
12871 bool temp2
= false ;
12872 PyObject
* obj0
= 0 ;
12873 PyObject
* obj1
= 0 ;
12874 char * kwnames
[] = {
12875 (char *) "self",(char *) "location", NULL
12878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
12880 if (!SWIG_IsOK(res1
)) {
12881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_GetLeftLocation" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
12883 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
12885 arg2
= wxString_in_helper(obj1
);
12886 if (arg2
== NULL
) SWIG_fail
;
12890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12891 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
12892 wxPyEndAllowThreads(__tstate
);
12893 if (PyErr_Occurred()) SWIG_fail
;
12897 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12899 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12916 SWIGINTERN PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12917 PyObject
*resultobj
= 0;
12918 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
12919 wxString
*arg2
= 0 ;
12923 bool temp2
= false ;
12924 PyObject
* obj0
= 0 ;
12925 PyObject
* obj1
= 0 ;
12926 char * kwnames
[] = {
12927 (char *) "self",(char *) "location", NULL
12930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
12932 if (!SWIG_IsOK(res1
)) {
12933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_GetAnchor" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
12935 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
12937 arg2
= wxString_in_helper(obj1
);
12938 if (arg2
== NULL
) SWIG_fail
;
12942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12943 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
12944 wxPyEndAllowThreads(__tstate
);
12945 if (PyErr_Occurred()) SWIG_fail
;
12949 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12951 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12968 SWIGINTERN PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12969 PyObject
*resultobj
= 0;
12970 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
12971 wxString
*arg2
= 0 ;
12975 bool temp2
= false ;
12976 PyObject
* obj0
= 0 ;
12977 PyObject
* obj1
= 0 ;
12978 char * kwnames
[] = {
12979 (char *) "self",(char *) "location", NULL
12982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
12984 if (!SWIG_IsOK(res1
)) {
12985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_GetRightLocation" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
12987 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
12989 arg2
= wxString_in_helper(obj1
);
12990 if (arg2
== NULL
) SWIG_fail
;
12994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12995 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
12996 wxPyEndAllowThreads(__tstate
);
12997 if (PyErr_Occurred()) SWIG_fail
;
13001 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13003 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13020 SWIGINTERN PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13021 PyObject
*resultobj
= 0;
13022 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
13023 wxString
*arg2
= 0 ;
13027 bool temp2
= false ;
13028 PyObject
* obj0
= 0 ;
13029 PyObject
* obj1
= 0 ;
13030 char * kwnames
[] = {
13031 (char *) "self",(char *) "location", NULL
13034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
13036 if (!SWIG_IsOK(res1
)) {
13037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_GetMimeTypeFromExt" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
13039 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
13041 arg2
= wxString_in_helper(obj1
);
13042 if (arg2
== NULL
) SWIG_fail
;
13046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13047 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
13048 wxPyEndAllowThreads(__tstate
);
13049 if (PyErr_Occurred()) SWIG_fail
;
13053 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13055 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13072 SWIGINTERN PyObject
*FileSystemHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13074 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13075 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_NewClientData(obj
));
13076 return SWIG_Py_Void();
13079 SWIGINTERN PyObject
*FileSystemHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13080 return SWIG_Python_InitShadowInstance(args
);
13083 SWIGINTERN PyObject
*_wrap_new_FileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13084 PyObject
*resultobj
= 0;
13085 wxFileSystem
*result
= 0 ;
13087 if (!SWIG_Python_UnpackTuple(args
,"new_FileSystem",0,0,0)) SWIG_fail
;
13089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13090 result
= (wxFileSystem
*)new wxFileSystem();
13091 wxPyEndAllowThreads(__tstate
);
13092 if (PyErr_Occurred()) SWIG_fail
;
13094 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_NEW
| 0 );
13101 SWIGINTERN PyObject
*_wrap_delete_FileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13102 PyObject
*resultobj
= 0;
13103 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
13106 PyObject
*swig_obj
[1] ;
13108 if (!args
) SWIG_fail
;
13109 swig_obj
[0] = args
;
13110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_DISOWN
| 0 );
13111 if (!SWIG_IsOK(res1
)) {
13112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileSystem" "', expected argument " "1"" of type '" "wxFileSystem *""'");
13114 arg1
= reinterpret_cast< wxFileSystem
* >(argp1
);
13116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13119 wxPyEndAllowThreads(__tstate
);
13120 if (PyErr_Occurred()) SWIG_fail
;
13122 resultobj
= SWIG_Py_Void();
13129 SWIGINTERN PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13130 PyObject
*resultobj
= 0;
13131 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
13132 wxString
*arg2
= 0 ;
13133 bool arg3
= (bool) false ;
13136 bool temp2
= false ;
13139 PyObject
* obj0
= 0 ;
13140 PyObject
* obj1
= 0 ;
13141 PyObject
* obj2
= 0 ;
13142 char * kwnames
[] = {
13143 (char *) "self",(char *) "location",(char *) "is_dir", NULL
13146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) 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_ChangePathTo" "', 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 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13159 if (!SWIG_IsOK(ecode3
)) {
13160 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileSystem_ChangePathTo" "', expected argument " "3"" of type '" "bool""'");
13162 arg3
= static_cast< bool >(val3
);
13165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13166 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
13167 wxPyEndAllowThreads(__tstate
);
13168 if (PyErr_Occurred()) SWIG_fail
;
13170 resultobj
= SWIG_Py_Void();
13185 SWIGINTERN PyObject
*_wrap_FileSystem_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13186 PyObject
*resultobj
= 0;
13187 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
13191 PyObject
*swig_obj
[1] ;
13193 if (!args
) SWIG_fail
;
13194 swig_obj
[0] = args
;
13195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileSystem
, 0 | 0 );
13196 if (!SWIG_IsOK(res1
)) {
13197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_GetPath" "', expected argument " "1"" of type '" "wxFileSystem *""'");
13199 arg1
= reinterpret_cast< wxFileSystem
* >(argp1
);
13201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13202 result
= (arg1
)->GetPath();
13203 wxPyEndAllowThreads(__tstate
);
13204 if (PyErr_Occurred()) SWIG_fail
;
13208 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13210 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13219 SWIGINTERN PyObject
*_wrap_FileSystem_OpenFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13220 PyObject
*resultobj
= 0;
13221 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
13222 wxString
*arg2
= 0 ;
13223 wxFSFile
*result
= 0 ;
13226 bool temp2
= false ;
13227 PyObject
* obj0
= 0 ;
13228 PyObject
* obj1
= 0 ;
13229 char * kwnames
[] = {
13230 (char *) "self",(char *) "location", NULL
13233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileSystem
, 0 | 0 );
13235 if (!SWIG_IsOK(res1
)) {
13236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_OpenFile" "', expected argument " "1"" of type '" "wxFileSystem *""'");
13238 arg1
= reinterpret_cast< wxFileSystem
* >(argp1
);
13240 arg2
= wxString_in_helper(obj1
);
13241 if (arg2
== NULL
) SWIG_fail
;
13245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13246 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
13247 wxPyEndAllowThreads(__tstate
);
13248 if (PyErr_Occurred()) SWIG_fail
;
13251 resultobj
= wxPyMake_wxObject(result
, SWIG_POINTER_OWN
);
13267 SWIGINTERN PyObject
*_wrap_FileSystem_FindFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13268 PyObject
*resultobj
= 0;
13269 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
13270 wxString
*arg2
= 0 ;
13271 int arg3
= (int) 0 ;
13275 bool temp2
= false ;
13278 PyObject
* obj0
= 0 ;
13279 PyObject
* obj1
= 0 ;
13280 PyObject
* obj2
= 0 ;
13281 char * kwnames
[] = {
13282 (char *) "self",(char *) "spec",(char *) "flags", NULL
13285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileSystem
, 0 | 0 );
13287 if (!SWIG_IsOK(res1
)) {
13288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_FindFirst" "', expected argument " "1"" of type '" "wxFileSystem *""'");
13290 arg1
= reinterpret_cast< wxFileSystem
* >(argp1
);
13292 arg2
= wxString_in_helper(obj1
);
13293 if (arg2
== NULL
) SWIG_fail
;
13297 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13298 if (!SWIG_IsOK(ecode3
)) {
13299 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileSystem_FindFirst" "', expected argument " "3"" of type '" "int""'");
13301 arg3
= static_cast< int >(val3
);
13304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13305 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
13306 wxPyEndAllowThreads(__tstate
);
13307 if (PyErr_Occurred()) SWIG_fail
;
13311 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13313 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13330 SWIGINTERN PyObject
*_wrap_FileSystem_FindNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13331 PyObject
*resultobj
= 0;
13332 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
13336 PyObject
*swig_obj
[1] ;
13338 if (!args
) SWIG_fail
;
13339 swig_obj
[0] = args
;
13340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileSystem
, 0 | 0 );
13341 if (!SWIG_IsOK(res1
)) {
13342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_FindNext" "', expected argument " "1"" of type '" "wxFileSystem *""'");
13344 arg1
= reinterpret_cast< wxFileSystem
* >(argp1
);
13346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13347 result
= (arg1
)->FindNext();
13348 wxPyEndAllowThreads(__tstate
);
13349 if (PyErr_Occurred()) SWIG_fail
;
13353 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13355 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13364 SWIGINTERN PyObject
*_wrap_FileSystem_AddHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13365 PyObject
*resultobj
= 0;
13366 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
13368 PyObject
* obj0
= 0 ;
13369 char * kwnames
[] = {
13370 (char *) "handler", NULL
13373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) SWIG_fail
;
13374 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxFileSystemHandler
, SWIG_POINTER_DISOWN
| 0 );
13375 if (!SWIG_IsOK(res1
)) {
13376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_AddHandler" "', expected argument " "1"" of type '" "wxFileSystemHandler *""'");
13379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13380 wxFileSystem::AddHandler(arg1
);
13381 wxPyEndAllowThreads(__tstate
);
13382 if (PyErr_Occurred()) SWIG_fail
;
13384 resultobj
= SWIG_Py_Void();
13391 SWIGINTERN PyObject
*_wrap_FileSystem_RemoveHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13392 PyObject
*resultobj
= 0;
13393 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
13394 wxFileSystemHandler
*result
= 0 ;
13397 PyObject
* obj0
= 0 ;
13398 char * kwnames
[] = {
13399 (char *) "handler", NULL
13402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_RemoveHandler",kwnames
,&obj0
)) SWIG_fail
;
13403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileSystemHandler
, 0 | 0 );
13404 if (!SWIG_IsOK(res1
)) {
13405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_RemoveHandler" "', expected argument " "1"" of type '" "wxFileSystemHandler *""'");
13407 arg1
= reinterpret_cast< wxFileSystemHandler
* >(argp1
);
13409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13410 result
= (wxFileSystemHandler
*)wxFileSystem::RemoveHandler(arg1
);
13411 wxPyEndAllowThreads(__tstate
);
13412 if (PyErr_Occurred()) SWIG_fail
;
13414 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystemHandler
, SWIG_POINTER_OWN
| 0 );
13421 SWIGINTERN PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13422 PyObject
*resultobj
= 0;
13424 if (!SWIG_Python_UnpackTuple(args
,"FileSystem_CleanUpHandlers",0,0,0)) SWIG_fail
;
13426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13427 wxFileSystem::CleanUpHandlers();
13428 wxPyEndAllowThreads(__tstate
);
13429 if (PyErr_Occurred()) SWIG_fail
;
13431 resultobj
= SWIG_Py_Void();
13438 SWIGINTERN PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13439 PyObject
*resultobj
= 0;
13440 wxString
*arg1
= 0 ;
13442 bool temp1
= false ;
13443 PyObject
* obj0
= 0 ;
13444 char * kwnames
[] = {
13445 (char *) "filename", NULL
13448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) SWIG_fail
;
13450 arg1
= wxString_in_helper(obj0
);
13451 if (arg1
== NULL
) SWIG_fail
;
13455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13456 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
13457 wxPyEndAllowThreads(__tstate
);
13458 if (PyErr_Occurred()) SWIG_fail
;
13462 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13464 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13481 SWIGINTERN PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13482 PyObject
*resultobj
= 0;
13483 wxString
*arg1
= 0 ;
13485 bool temp1
= false ;
13486 PyObject
* obj0
= 0 ;
13487 char * kwnames
[] = {
13488 (char *) "url", NULL
13491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) SWIG_fail
;
13493 arg1
= wxString_in_helper(obj0
);
13494 if (arg1
== NULL
) SWIG_fail
;
13498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13499 result
= wxFileSystem_URLToFileName((wxString
const &)*arg1
);
13500 wxPyEndAllowThreads(__tstate
);
13501 if (PyErr_Occurred()) SWIG_fail
;
13505 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13507 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13524 SWIGINTERN PyObject
*FileSystem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13526 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13527 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileSystem
, SWIG_NewClientData(obj
));
13528 return SWIG_Py_Void();
13531 SWIGINTERN PyObject
*FileSystem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13532 return SWIG_Python_InitShadowInstance(args
);
13535 SWIGINTERN PyObject
*_wrap_new_InternetFSHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13536 PyObject
*resultobj
= 0;
13537 wxInternetFSHandler
*result
= 0 ;
13539 if (!SWIG_Python_UnpackTuple(args
,"new_InternetFSHandler",0,0,0)) SWIG_fail
;
13541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13542 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
13543 wxPyEndAllowThreads(__tstate
);
13544 if (PyErr_Occurred()) SWIG_fail
;
13546 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_NEW
| 0 );
13553 SWIGINTERN PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13554 PyObject
*resultobj
= 0;
13555 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
13556 wxString
*arg2
= 0 ;
13560 bool temp2
= false ;
13561 PyObject
* obj0
= 0 ;
13562 PyObject
* obj1
= 0 ;
13563 char * kwnames
[] = {
13564 (char *) "self",(char *) "location", NULL
13567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxInternetFSHandler
, 0 | 0 );
13569 if (!SWIG_IsOK(res1
)) {
13570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InternetFSHandler_CanOpen" "', expected argument " "1"" of type '" "wxInternetFSHandler *""'");
13572 arg1
= reinterpret_cast< wxInternetFSHandler
* >(argp1
);
13574 arg2
= wxString_in_helper(obj1
);
13575 if (arg2
== NULL
) SWIG_fail
;
13579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13580 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
13581 wxPyEndAllowThreads(__tstate
);
13582 if (PyErr_Occurred()) SWIG_fail
;
13585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13601 SWIGINTERN PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13602 PyObject
*resultobj
= 0;
13603 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
13604 wxFileSystem
*arg2
= 0 ;
13605 wxString
*arg3
= 0 ;
13606 wxFSFile
*result
= 0 ;
13611 bool temp3
= false ;
13612 PyObject
* obj0
= 0 ;
13613 PyObject
* obj1
= 0 ;
13614 PyObject
* obj2
= 0 ;
13615 char * kwnames
[] = {
13616 (char *) "self",(char *) "fs",(char *) "location", NULL
13619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxInternetFSHandler
, 0 | 0 );
13621 if (!SWIG_IsOK(res1
)) {
13622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InternetFSHandler_OpenFile" "', expected argument " "1"" of type '" "wxInternetFSHandler *""'");
13624 arg1
= reinterpret_cast< wxInternetFSHandler
* >(argp1
);
13625 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileSystem
, 0 );
13626 if (!SWIG_IsOK(res2
)) {
13627 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "InternetFSHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
13630 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "InternetFSHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
13632 arg2
= reinterpret_cast< wxFileSystem
* >(argp2
);
13634 arg3
= wxString_in_helper(obj2
);
13635 if (arg3
== NULL
) SWIG_fail
;
13639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13640 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
13641 wxPyEndAllowThreads(__tstate
);
13642 if (PyErr_Occurred()) SWIG_fail
;
13645 resultobj
= wxPyMake_wxObject(result
, SWIG_POINTER_OWN
);
13661 SWIGINTERN PyObject
*InternetFSHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13663 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13664 SWIG_TypeNewClientData(SWIGTYPE_p_wxInternetFSHandler
, SWIG_NewClientData(obj
));
13665 return SWIG_Py_Void();
13668 SWIGINTERN PyObject
*InternetFSHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13669 return SWIG_Python_InitShadowInstance(args
);
13672 SWIGINTERN PyObject
*_wrap_new_ZipFSHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13673 PyObject
*resultobj
= 0;
13674 wxZipFSHandler
*result
= 0 ;
13676 if (!SWIG_Python_UnpackTuple(args
,"new_ZipFSHandler",0,0,0)) SWIG_fail
;
13678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13679 result
= (wxZipFSHandler
*)new wxZipFSHandler();
13680 wxPyEndAllowThreads(__tstate
);
13681 if (PyErr_Occurred()) SWIG_fail
;
13683 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_NEW
| 0 );
13690 SWIGINTERN PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13691 PyObject
*resultobj
= 0;
13692 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
13693 wxString
*arg2
= 0 ;
13697 bool temp2
= false ;
13698 PyObject
* obj0
= 0 ;
13699 PyObject
* obj1
= 0 ;
13700 char * kwnames
[] = {
13701 (char *) "self",(char *) "location", NULL
13704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxZipFSHandler
, 0 | 0 );
13706 if (!SWIG_IsOK(res1
)) {
13707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ZipFSHandler_CanOpen" "', expected argument " "1"" of type '" "wxZipFSHandler *""'");
13709 arg1
= reinterpret_cast< wxZipFSHandler
* >(argp1
);
13711 arg2
= wxString_in_helper(obj1
);
13712 if (arg2
== NULL
) SWIG_fail
;
13716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13717 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
13718 wxPyEndAllowThreads(__tstate
);
13719 if (PyErr_Occurred()) SWIG_fail
;
13722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13738 SWIGINTERN PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13739 PyObject
*resultobj
= 0;
13740 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
13741 wxFileSystem
*arg2
= 0 ;
13742 wxString
*arg3
= 0 ;
13743 wxFSFile
*result
= 0 ;
13748 bool temp3
= false ;
13749 PyObject
* obj0
= 0 ;
13750 PyObject
* obj1
= 0 ;
13751 PyObject
* obj2
= 0 ;
13752 char * kwnames
[] = {
13753 (char *) "self",(char *) "fs",(char *) "location", NULL
13756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxZipFSHandler
, 0 | 0 );
13758 if (!SWIG_IsOK(res1
)) {
13759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ZipFSHandler_OpenFile" "', expected argument " "1"" of type '" "wxZipFSHandler *""'");
13761 arg1
= reinterpret_cast< wxZipFSHandler
* >(argp1
);
13762 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileSystem
, 0 );
13763 if (!SWIG_IsOK(res2
)) {
13764 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ZipFSHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
13767 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ZipFSHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
13769 arg2
= reinterpret_cast< wxFileSystem
* >(argp2
);
13771 arg3
= wxString_in_helper(obj2
);
13772 if (arg3
== NULL
) SWIG_fail
;
13776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13777 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
13778 wxPyEndAllowThreads(__tstate
);
13779 if (PyErr_Occurred()) SWIG_fail
;
13782 resultobj
= wxPyMake_wxObject(result
, SWIG_POINTER_OWN
);
13798 SWIGINTERN PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13799 PyObject
*resultobj
= 0;
13800 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
13801 wxString
*arg2
= 0 ;
13802 int arg3
= (int) 0 ;
13806 bool temp2
= false ;
13809 PyObject
* obj0
= 0 ;
13810 PyObject
* obj1
= 0 ;
13811 PyObject
* obj2
= 0 ;
13812 char * kwnames
[] = {
13813 (char *) "self",(char *) "spec",(char *) "flags", NULL
13816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxZipFSHandler
, 0 | 0 );
13818 if (!SWIG_IsOK(res1
)) {
13819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ZipFSHandler_FindFirst" "', expected argument " "1"" of type '" "wxZipFSHandler *""'");
13821 arg1
= reinterpret_cast< wxZipFSHandler
* >(argp1
);
13823 arg2
= wxString_in_helper(obj1
);
13824 if (arg2
== NULL
) SWIG_fail
;
13828 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13829 if (!SWIG_IsOK(ecode3
)) {
13830 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ZipFSHandler_FindFirst" "', expected argument " "3"" of type '" "int""'");
13832 arg3
= static_cast< int >(val3
);
13835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13836 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
13837 wxPyEndAllowThreads(__tstate
);
13838 if (PyErr_Occurred()) SWIG_fail
;
13842 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13844 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13861 SWIGINTERN PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13862 PyObject
*resultobj
= 0;
13863 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
13867 PyObject
*swig_obj
[1] ;
13869 if (!args
) SWIG_fail
;
13870 swig_obj
[0] = args
;
13871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxZipFSHandler
, 0 | 0 );
13872 if (!SWIG_IsOK(res1
)) {
13873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ZipFSHandler_FindNext" "', expected argument " "1"" of type '" "wxZipFSHandler *""'");
13875 arg1
= reinterpret_cast< wxZipFSHandler
* >(argp1
);
13877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13878 result
= (arg1
)->FindNext();
13879 wxPyEndAllowThreads(__tstate
);
13880 if (PyErr_Occurred()) SWIG_fail
;
13884 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13886 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13895 SWIGINTERN PyObject
*ZipFSHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13897 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13898 SWIG_TypeNewClientData(SWIGTYPE_p_wxZipFSHandler
, SWIG_NewClientData(obj
));
13899 return SWIG_Py_Void();
13902 SWIGINTERN PyObject
*ZipFSHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13903 return SWIG_Python_InitShadowInstance(args
);
13906 SWIGINTERN PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13907 PyObject
*resultobj
= 0;
13908 wxString
*arg1
= 0 ;
13909 wxImage
*arg2
= 0 ;
13911 bool temp1
= false ;
13916 PyObject
* obj0
= 0 ;
13917 PyObject
* obj1
= 0 ;
13918 PyObject
* obj2
= 0 ;
13919 char * kwnames
[] = {
13920 (char *) "filename",(char *) "image",(char *) "type", NULL
13923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13925 arg1
= wxString_in_helper(obj0
);
13926 if (arg1
== NULL
) SWIG_fail
;
13929 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImage
, 0 );
13930 if (!SWIG_IsOK(res2
)) {
13931 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "__wxMemoryFSHandler_AddFile_wxImage" "', expected argument " "2"" of type '" "wxImage &""'");
13934 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "__wxMemoryFSHandler_AddFile_wxImage" "', expected argument " "2"" of type '" "wxImage &""'");
13936 arg2
= reinterpret_cast< wxImage
* >(argp2
);
13937 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13938 if (!SWIG_IsOK(ecode3
)) {
13939 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "__wxMemoryFSHandler_AddFile_wxImage" "', expected argument " "3"" of type '" "long""'");
13941 arg3
= static_cast< long >(val3
);
13943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13944 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
13945 wxPyEndAllowThreads(__tstate
);
13946 if (PyErr_Occurred()) SWIG_fail
;
13948 resultobj
= SWIG_Py_Void();
13963 SWIGINTERN PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13964 PyObject
*resultobj
= 0;
13965 wxString
*arg1
= 0 ;
13966 wxBitmap
*arg2
= 0 ;
13968 bool temp1
= false ;
13973 PyObject
* obj0
= 0 ;
13974 PyObject
* obj1
= 0 ;
13975 PyObject
* obj2
= 0 ;
13976 char * kwnames
[] = {
13977 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
13980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13982 arg1
= wxString_in_helper(obj0
);
13983 if (arg1
== NULL
) SWIG_fail
;
13986 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
13987 if (!SWIG_IsOK(res2
)) {
13988 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "__wxMemoryFSHandler_AddFile_wxBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
13991 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "__wxMemoryFSHandler_AddFile_wxBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
13993 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
13994 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13995 if (!SWIG_IsOK(ecode3
)) {
13996 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "__wxMemoryFSHandler_AddFile_wxBitmap" "', expected argument " "3"" of type '" "long""'");
13998 arg3
= static_cast< long >(val3
);
14000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14001 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
14002 wxPyEndAllowThreads(__tstate
);
14003 if (PyErr_Occurred()) SWIG_fail
;
14005 resultobj
= SWIG_Py_Void();
14020 SWIGINTERN PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14021 PyObject
*resultobj
= 0;
14022 wxString
*arg1
= 0 ;
14023 PyObject
*arg2
= (PyObject
*) 0 ;
14024 bool temp1
= false ;
14025 PyObject
* obj0
= 0 ;
14026 PyObject
* obj1
= 0 ;
14027 char * kwnames
[] = {
14028 (char *) "filename",(char *) "data", NULL
14031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14033 arg1
= wxString_in_helper(obj0
);
14034 if (arg1
== NULL
) SWIG_fail
;
14039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14040 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
14041 wxPyEndAllowThreads(__tstate
);
14042 if (PyErr_Occurred()) SWIG_fail
;
14044 resultobj
= SWIG_Py_Void();
14059 SWIGINTERN PyObject
*_wrap_new_MemoryFSHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14060 PyObject
*resultobj
= 0;
14061 wxMemoryFSHandler
*result
= 0 ;
14063 if (!SWIG_Python_UnpackTuple(args
,"new_MemoryFSHandler",0,0,0)) SWIG_fail
;
14065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14066 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
14067 wxPyEndAllowThreads(__tstate
);
14068 if (PyErr_Occurred()) SWIG_fail
;
14070 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_NEW
| 0 );
14077 SWIGINTERN PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14078 PyObject
*resultobj
= 0;
14079 wxString
*arg1
= 0 ;
14080 bool temp1
= false ;
14081 PyObject
* obj0
= 0 ;
14082 char * kwnames
[] = {
14083 (char *) "filename", NULL
14086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) SWIG_fail
;
14088 arg1
= wxString_in_helper(obj0
);
14089 if (arg1
== NULL
) SWIG_fail
;
14093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14094 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
14095 wxPyEndAllowThreads(__tstate
);
14096 if (PyErr_Occurred()) SWIG_fail
;
14098 resultobj
= SWIG_Py_Void();
14113 SWIGINTERN PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14114 PyObject
*resultobj
= 0;
14115 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
14116 wxString
*arg2
= 0 ;
14120 bool temp2
= false ;
14121 PyObject
* obj0
= 0 ;
14122 PyObject
* obj1
= 0 ;
14123 char * kwnames
[] = {
14124 (char *) "self",(char *) "location", NULL
14127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryFSHandler
, 0 | 0 );
14129 if (!SWIG_IsOK(res1
)) {
14130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryFSHandler_CanOpen" "', expected argument " "1"" of type '" "wxMemoryFSHandler *""'");
14132 arg1
= reinterpret_cast< wxMemoryFSHandler
* >(argp1
);
14134 arg2
= wxString_in_helper(obj1
);
14135 if (arg2
== NULL
) SWIG_fail
;
14139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14140 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
14141 wxPyEndAllowThreads(__tstate
);
14142 if (PyErr_Occurred()) SWIG_fail
;
14145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14161 SWIGINTERN PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14162 PyObject
*resultobj
= 0;
14163 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
14164 wxFileSystem
*arg2
= 0 ;
14165 wxString
*arg3
= 0 ;
14166 wxFSFile
*result
= 0 ;
14171 bool temp3
= false ;
14172 PyObject
* obj0
= 0 ;
14173 PyObject
* obj1
= 0 ;
14174 PyObject
* obj2
= 0 ;
14175 char * kwnames
[] = {
14176 (char *) "self",(char *) "fs",(char *) "location", NULL
14179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryFSHandler
, 0 | 0 );
14181 if (!SWIG_IsOK(res1
)) {
14182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryFSHandler_OpenFile" "', expected argument " "1"" of type '" "wxMemoryFSHandler *""'");
14184 arg1
= reinterpret_cast< wxMemoryFSHandler
* >(argp1
);
14185 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileSystem
, 0 );
14186 if (!SWIG_IsOK(res2
)) {
14187 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryFSHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
14190 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryFSHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
14192 arg2
= reinterpret_cast< wxFileSystem
* >(argp2
);
14194 arg3
= wxString_in_helper(obj2
);
14195 if (arg3
== NULL
) SWIG_fail
;
14199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14200 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
14201 wxPyEndAllowThreads(__tstate
);
14202 if (PyErr_Occurred()) SWIG_fail
;
14205 resultobj
= wxPyMake_wxObject(result
, SWIG_POINTER_OWN
);
14221 SWIGINTERN PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14222 PyObject
*resultobj
= 0;
14223 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
14224 wxString
*arg2
= 0 ;
14225 int arg3
= (int) 0 ;
14229 bool temp2
= false ;
14232 PyObject
* obj0
= 0 ;
14233 PyObject
* obj1
= 0 ;
14234 PyObject
* obj2
= 0 ;
14235 char * kwnames
[] = {
14236 (char *) "self",(char *) "spec",(char *) "flags", NULL
14239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryFSHandler
, 0 | 0 );
14241 if (!SWIG_IsOK(res1
)) {
14242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryFSHandler_FindFirst" "', expected argument " "1"" of type '" "wxMemoryFSHandler *""'");
14244 arg1
= reinterpret_cast< wxMemoryFSHandler
* >(argp1
);
14246 arg2
= wxString_in_helper(obj1
);
14247 if (arg2
== NULL
) SWIG_fail
;
14251 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14252 if (!SWIG_IsOK(ecode3
)) {
14253 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MemoryFSHandler_FindFirst" "', expected argument " "3"" of type '" "int""'");
14255 arg3
= static_cast< int >(val3
);
14258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14259 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
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());
14284 SWIGINTERN PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14285 PyObject
*resultobj
= 0;
14286 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
14290 PyObject
*swig_obj
[1] ;
14292 if (!args
) SWIG_fail
;
14293 swig_obj
[0] = args
;
14294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMemoryFSHandler
, 0 | 0 );
14295 if (!SWIG_IsOK(res1
)) {
14296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryFSHandler_FindNext" "', expected argument " "1"" of type '" "wxMemoryFSHandler *""'");
14298 arg1
= reinterpret_cast< wxMemoryFSHandler
* >(argp1
);
14300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14301 result
= (arg1
)->FindNext();
14302 wxPyEndAllowThreads(__tstate
);
14303 if (PyErr_Occurred()) SWIG_fail
;
14307 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14309 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14318 SWIGINTERN PyObject
*MemoryFSHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14320 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14321 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryFSHandler
, SWIG_NewClientData(obj
));
14322 return SWIG_Py_Void();
14325 SWIGINTERN PyObject
*MemoryFSHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14326 return SWIG_Python_InitShadowInstance(args
);
14329 SWIGINTERN PyObject
*_wrap_ImageHandler_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14330 PyObject
*resultobj
= 0;
14331 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
14335 PyObject
*swig_obj
[1] ;
14337 if (!args
) SWIG_fail
;
14338 swig_obj
[0] = args
;
14339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
14340 if (!SWIG_IsOK(res1
)) {
14341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_GetName" "', expected argument " "1"" of type '" "wxImageHandler *""'");
14343 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
14345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14346 result
= (arg1
)->GetName();
14347 wxPyEndAllowThreads(__tstate
);
14348 if (PyErr_Occurred()) SWIG_fail
;
14352 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14354 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14363 SWIGINTERN PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14364 PyObject
*resultobj
= 0;
14365 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
14369 PyObject
*swig_obj
[1] ;
14371 if (!args
) SWIG_fail
;
14372 swig_obj
[0] = args
;
14373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
14374 if (!SWIG_IsOK(res1
)) {
14375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_GetExtension" "', expected argument " "1"" of type '" "wxImageHandler *""'");
14377 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
14379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14380 result
= (arg1
)->GetExtension();
14381 wxPyEndAllowThreads(__tstate
);
14382 if (PyErr_Occurred()) SWIG_fail
;
14386 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14388 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14397 SWIGINTERN PyObject
*_wrap_ImageHandler_GetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14398 PyObject
*resultobj
= 0;
14399 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
14403 PyObject
*swig_obj
[1] ;
14405 if (!args
) SWIG_fail
;
14406 swig_obj
[0] = args
;
14407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
14408 if (!SWIG_IsOK(res1
)) {
14409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_GetType" "', expected argument " "1"" of type '" "wxImageHandler *""'");
14411 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
14413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14414 result
= (long)(arg1
)->GetType();
14415 wxPyEndAllowThreads(__tstate
);
14416 if (PyErr_Occurred()) SWIG_fail
;
14418 resultobj
= SWIG_From_long(static_cast< long >(result
));
14425 SWIGINTERN PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14426 PyObject
*resultobj
= 0;
14427 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
14431 PyObject
*swig_obj
[1] ;
14433 if (!args
) SWIG_fail
;
14434 swig_obj
[0] = args
;
14435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
14436 if (!SWIG_IsOK(res1
)) {
14437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_GetMimeType" "', expected argument " "1"" of type '" "wxImageHandler *""'");
14439 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
14441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14442 result
= (arg1
)->GetMimeType();
14443 wxPyEndAllowThreads(__tstate
);
14444 if (PyErr_Occurred()) SWIG_fail
;
14448 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14450 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14459 SWIGINTERN PyObject
*_wrap_ImageHandler_CanRead(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14460 PyObject
*resultobj
= 0;
14461 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
14462 wxString
*arg2
= 0 ;
14466 bool temp2
= false ;
14467 PyObject
* obj0
= 0 ;
14468 PyObject
* obj1
= 0 ;
14469 char * kwnames
[] = {
14470 (char *) "self",(char *) "name", NULL
14473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
14475 if (!SWIG_IsOK(res1
)) {
14476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_CanRead" "', expected argument " "1"" of type '" "wxImageHandler *""'");
14478 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
14480 arg2
= wxString_in_helper(obj1
);
14481 if (arg2
== NULL
) SWIG_fail
;
14485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14486 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
14487 wxPyEndAllowThreads(__tstate
);
14488 if (PyErr_Occurred()) SWIG_fail
;
14491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14507 SWIGINTERN PyObject
*_wrap_ImageHandler_CanReadStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14508 PyObject
*resultobj
= 0;
14509 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
14510 wxInputStream
*arg2
= 0 ;
14514 wxPyInputStream
*temp2
;
14516 PyObject
* obj0
= 0 ;
14517 PyObject
* obj1
= 0 ;
14518 char * kwnames
[] = {
14519 (char *) "self",(char *) "stream", NULL
14522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanReadStream",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
14524 if (!SWIG_IsOK(res1
)) {
14525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_CanReadStream" "', expected argument " "1"" of type '" "wxImageHandler *""'");
14527 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
14529 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
14530 arg2
= temp2
->m_wxis
;
14533 PyErr_Clear(); // clear the failure of the wxPyConvert above
14534 arg2
= wxPyCBInputStream_create(obj1
, false);
14535 if (arg2
== NULL
) {
14536 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
14543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14544 result
= (bool)(arg1
)->CanRead(*arg2
);
14545 wxPyEndAllowThreads(__tstate
);
14546 if (PyErr_Occurred()) SWIG_fail
;
14549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14552 if (created2
) delete arg2
;
14557 if (created2
) delete arg2
;
14563 SWIGINTERN PyObject
*_wrap_ImageHandler_SetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14564 PyObject
*resultobj
= 0;
14565 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
14566 wxString
*arg2
= 0 ;
14569 bool temp2
= false ;
14570 PyObject
* obj0
= 0 ;
14571 PyObject
* obj1
= 0 ;
14572 char * kwnames
[] = {
14573 (char *) "self",(char *) "name", NULL
14576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
14578 if (!SWIG_IsOK(res1
)) {
14579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_SetName" "', expected argument " "1"" of type '" "wxImageHandler *""'");
14581 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
14583 arg2
= wxString_in_helper(obj1
);
14584 if (arg2
== NULL
) SWIG_fail
;
14588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14589 (arg1
)->SetName((wxString
const &)*arg2
);
14590 wxPyEndAllowThreads(__tstate
);
14591 if (PyErr_Occurred()) SWIG_fail
;
14593 resultobj
= SWIG_Py_Void();
14608 SWIGINTERN PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14609 PyObject
*resultobj
= 0;
14610 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
14611 wxString
*arg2
= 0 ;
14614 bool temp2
= false ;
14615 PyObject
* obj0
= 0 ;
14616 PyObject
* obj1
= 0 ;
14617 char * kwnames
[] = {
14618 (char *) "self",(char *) "extension", NULL
14621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
14623 if (!SWIG_IsOK(res1
)) {
14624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_SetExtension" "', expected argument " "1"" of type '" "wxImageHandler *""'");
14626 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
14628 arg2
= wxString_in_helper(obj1
);
14629 if (arg2
== NULL
) SWIG_fail
;
14633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14634 (arg1
)->SetExtension((wxString
const &)*arg2
);
14635 wxPyEndAllowThreads(__tstate
);
14636 if (PyErr_Occurred()) SWIG_fail
;
14638 resultobj
= SWIG_Py_Void();
14653 SWIGINTERN PyObject
*_wrap_ImageHandler_SetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14654 PyObject
*resultobj
= 0;
14655 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
14661 PyObject
* obj0
= 0 ;
14662 PyObject
* obj1
= 0 ;
14663 char * kwnames
[] = {
14664 (char *) "self",(char *) "type", NULL
14667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
14669 if (!SWIG_IsOK(res1
)) {
14670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_SetType" "', expected argument " "1"" of type '" "wxImageHandler *""'");
14672 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
14673 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
14674 if (!SWIG_IsOK(ecode2
)) {
14675 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageHandler_SetType" "', expected argument " "2"" of type '" "long""'");
14677 arg2
= static_cast< long >(val2
);
14679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14680 (arg1
)->SetType(arg2
);
14681 wxPyEndAllowThreads(__tstate
);
14682 if (PyErr_Occurred()) SWIG_fail
;
14684 resultobj
= SWIG_Py_Void();
14691 SWIGINTERN PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14692 PyObject
*resultobj
= 0;
14693 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
14694 wxString
*arg2
= 0 ;
14697 bool temp2
= false ;
14698 PyObject
* obj0
= 0 ;
14699 PyObject
* obj1
= 0 ;
14700 char * kwnames
[] = {
14701 (char *) "self",(char *) "mimetype", NULL
14704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
14706 if (!SWIG_IsOK(res1
)) {
14707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_SetMimeType" "', expected argument " "1"" of type '" "wxImageHandler *""'");
14709 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
14711 arg2
= wxString_in_helper(obj1
);
14712 if (arg2
== NULL
) SWIG_fail
;
14716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14717 (arg1
)->SetMimeType((wxString
const &)*arg2
);
14718 wxPyEndAllowThreads(__tstate
);
14719 if (PyErr_Occurred()) SWIG_fail
;
14721 resultobj
= SWIG_Py_Void();
14736 SWIGINTERN PyObject
*ImageHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14738 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14739 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageHandler
, SWIG_NewClientData(obj
));
14740 return SWIG_Py_Void();
14743 SWIGINTERN PyObject
*_wrap_new_PyImageHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14744 PyObject
*resultobj
= 0;
14745 wxPyImageHandler
*result
= 0 ;
14747 if (!SWIG_Python_UnpackTuple(args
,"new_PyImageHandler",0,0,0)) SWIG_fail
;
14749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14750 result
= (wxPyImageHandler
*)new wxPyImageHandler();
14751 wxPyEndAllowThreads(__tstate
);
14752 if (PyErr_Occurred()) SWIG_fail
;
14754 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyImageHandler
, SWIG_POINTER_NEW
| 0 );
14761 SWIGINTERN PyObject
*_wrap_PyImageHandler__SetSelf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14762 PyObject
*resultobj
= 0;
14763 wxPyImageHandler
*arg1
= (wxPyImageHandler
*) 0 ;
14764 PyObject
*arg2
= (PyObject
*) 0 ;
14767 PyObject
* obj0
= 0 ;
14768 PyObject
* obj1
= 0 ;
14769 char * kwnames
[] = {
14770 (char *) "self",(char *) "self", NULL
14773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyImageHandler__SetSelf",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyImageHandler
, 0 | 0 );
14775 if (!SWIG_IsOK(res1
)) {
14776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyImageHandler__SetSelf" "', expected argument " "1"" of type '" "wxPyImageHandler *""'");
14778 arg1
= reinterpret_cast< wxPyImageHandler
* >(argp1
);
14781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14782 (arg1
)->_SetSelf(arg2
);
14783 wxPyEndAllowThreads(__tstate
);
14784 if (PyErr_Occurred()) SWIG_fail
;
14786 resultobj
= SWIG_Py_Void();
14793 SWIGINTERN PyObject
*PyImageHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14795 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14796 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyImageHandler
, SWIG_NewClientData(obj
));
14797 return SWIG_Py_Void();
14800 SWIGINTERN PyObject
*PyImageHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14801 return SWIG_Python_InitShadowInstance(args
);
14804 SWIGINTERN PyObject
*_wrap_new_ImageHistogram(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14805 PyObject
*resultobj
= 0;
14806 wxImageHistogram
*result
= 0 ;
14808 if (!SWIG_Python_UnpackTuple(args
,"new_ImageHistogram",0,0,0)) SWIG_fail
;
14810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14811 result
= (wxImageHistogram
*)new wxImageHistogram();
14812 wxPyEndAllowThreads(__tstate
);
14813 if (PyErr_Occurred()) SWIG_fail
;
14815 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_NEW
| 0 );
14822 SWIGINTERN PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14823 PyObject
*resultobj
= 0;
14827 unsigned long result
;
14828 unsigned char val1
;
14830 unsigned char val2
;
14832 unsigned char val3
;
14834 PyObject
* obj0
= 0 ;
14835 PyObject
* obj1
= 0 ;
14836 PyObject
* obj2
= 0 ;
14837 char * kwnames
[] = {
14838 (char *) "r",(char *) "g",(char *) "b", NULL
14841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14842 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
14843 if (!SWIG_IsOK(ecode1
)) {
14844 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ImageHistogram_MakeKey" "', expected argument " "1"" of type '" "byte""'");
14846 arg1
= static_cast< byte
>(val1
);
14847 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
14848 if (!SWIG_IsOK(ecode2
)) {
14849 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageHistogram_MakeKey" "', expected argument " "2"" of type '" "byte""'");
14851 arg2
= static_cast< byte
>(val2
);
14852 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
14853 if (!SWIG_IsOK(ecode3
)) {
14854 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ImageHistogram_MakeKey" "', expected argument " "3"" of type '" "byte""'");
14856 arg3
= static_cast< byte
>(val3
);
14858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14859 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
14860 wxPyEndAllowThreads(__tstate
);
14861 if (PyErr_Occurred()) SWIG_fail
;
14863 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
14870 SWIGINTERN PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14871 PyObject
*resultobj
= 0;
14872 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
14873 byte
*arg2
= (byte
*) 0 ;
14874 byte
*arg3
= (byte
*) 0 ;
14875 byte
*arg4
= (byte
*) 0 ;
14876 byte arg5
= (byte
) 1 ;
14877 byte arg6
= (byte
) 0 ;
14878 byte arg7
= (byte
) 0 ;
14883 int res2
= SWIG_TMPOBJ
;
14885 int res3
= SWIG_TMPOBJ
;
14887 int res4
= SWIG_TMPOBJ
;
14888 unsigned char val5
;
14890 unsigned char val6
;
14892 unsigned char val7
;
14894 PyObject
* obj0
= 0 ;
14895 PyObject
* obj1
= 0 ;
14896 PyObject
* obj2
= 0 ;
14897 PyObject
* obj3
= 0 ;
14898 char * kwnames
[] = {
14899 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
14905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHistogram
, 0 | 0 );
14907 if (!SWIG_IsOK(res1
)) {
14908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHistogram_FindFirstUnusedColour" "', expected argument " "1"" of type '" "wxImageHistogram const *""'");
14910 arg1
= reinterpret_cast< wxImageHistogram
* >(argp1
);
14912 ecode5
= SWIG_AsVal_unsigned_SS_char(obj1
, &val5
);
14913 if (!SWIG_IsOK(ecode5
)) {
14914 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageHistogram_FindFirstUnusedColour" "', expected argument " "5"" of type '" "byte""'");
14916 arg5
= static_cast< byte
>(val5
);
14919 ecode6
= SWIG_AsVal_unsigned_SS_char(obj2
, &val6
);
14920 if (!SWIG_IsOK(ecode6
)) {
14921 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageHistogram_FindFirstUnusedColour" "', expected argument " "6"" of type '" "byte""'");
14923 arg6
= static_cast< byte
>(val6
);
14926 ecode7
= SWIG_AsVal_unsigned_SS_char(obj3
, &val7
);
14927 if (!SWIG_IsOK(ecode7
)) {
14928 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageHistogram_FindFirstUnusedColour" "', expected argument " "7"" of type '" "byte""'");
14930 arg7
= static_cast< byte
>(val7
);
14933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14934 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
14935 wxPyEndAllowThreads(__tstate
);
14936 if (PyErr_Occurred()) SWIG_fail
;
14939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14941 if (SWIG_IsTmpObj(res2
)) {
14942 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg2
)));
14944 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
14945 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, new_flags
));
14947 if (SWIG_IsTmpObj(res3
)) {
14948 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
14950 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
14951 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
14953 if (SWIG_IsTmpObj(res4
)) {
14954 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
14956 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
14957 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
14965 SWIGINTERN PyObject
*_wrap_ImageHistogram_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14966 PyObject
*resultobj
= 0;
14967 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
14968 unsigned long arg2
;
14969 unsigned long result
;
14972 unsigned long val2
;
14974 PyObject
* obj0
= 0 ;
14975 PyObject
* obj1
= 0 ;
14976 char * kwnames
[] = {
14977 (char *) "self",(char *) "key", NULL
14980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHistogram_GetCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHistogram
, 0 | 0 );
14982 if (!SWIG_IsOK(res1
)) {
14983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHistogram_GetCount" "', expected argument " "1"" of type '" "wxImageHistogram *""'");
14985 arg1
= reinterpret_cast< wxImageHistogram
* >(argp1
);
14986 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
14987 if (!SWIG_IsOK(ecode2
)) {
14988 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageHistogram_GetCount" "', expected argument " "2"" of type '" "unsigned long""'");
14990 arg2
= static_cast< unsigned long >(val2
);
14992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14993 result
= (unsigned long)wxImageHistogram_GetCount(arg1
,arg2
);
14994 wxPyEndAllowThreads(__tstate
);
14995 if (PyErr_Occurred()) SWIG_fail
;
14997 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
15004 SWIGINTERN PyObject
*_wrap_ImageHistogram_GetCountRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15005 PyObject
*resultobj
= 0;
15006 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
15010 unsigned long result
;
15013 unsigned char val2
;
15015 unsigned char val3
;
15017 unsigned char val4
;
15019 PyObject
* obj0
= 0 ;
15020 PyObject
* obj1
= 0 ;
15021 PyObject
* obj2
= 0 ;
15022 PyObject
* obj3
= 0 ;
15023 char * kwnames
[] = {
15024 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
15027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ImageHistogram_GetCountRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHistogram
, 0 | 0 );
15029 if (!SWIG_IsOK(res1
)) {
15030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHistogram_GetCountRGB" "', expected argument " "1"" of type '" "wxImageHistogram *""'");
15032 arg1
= reinterpret_cast< wxImageHistogram
* >(argp1
);
15033 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
15034 if (!SWIG_IsOK(ecode2
)) {
15035 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageHistogram_GetCountRGB" "', expected argument " "2"" of type '" "byte""'");
15037 arg2
= static_cast< byte
>(val2
);
15038 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
15039 if (!SWIG_IsOK(ecode3
)) {
15040 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ImageHistogram_GetCountRGB" "', expected argument " "3"" of type '" "byte""'");
15042 arg3
= static_cast< byte
>(val3
);
15043 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
15044 if (!SWIG_IsOK(ecode4
)) {
15045 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageHistogram_GetCountRGB" "', expected argument " "4"" of type '" "byte""'");
15047 arg4
= static_cast< byte
>(val4
);
15049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15050 result
= (unsigned long)wxImageHistogram_GetCountRGB(arg1
,arg2
,arg3
,arg4
);
15051 wxPyEndAllowThreads(__tstate
);
15052 if (PyErr_Occurred()) SWIG_fail
;
15054 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
15061 SWIGINTERN PyObject
*_wrap_ImageHistogram_GetCountColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15062 PyObject
*resultobj
= 0;
15063 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
15064 wxColour
*arg2
= 0 ;
15065 unsigned long result
;
15069 PyObject
* obj0
= 0 ;
15070 PyObject
* obj1
= 0 ;
15071 char * kwnames
[] = {
15072 (char *) "self",(char *) "colour", NULL
15075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHistogram_GetCountColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHistogram
, 0 | 0 );
15077 if (!SWIG_IsOK(res1
)) {
15078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHistogram_GetCountColour" "', expected argument " "1"" of type '" "wxImageHistogram *""'");
15080 arg1
= reinterpret_cast< wxImageHistogram
* >(argp1
);
15083 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15087 result
= (unsigned long)wxImageHistogram_GetCountColour(arg1
,(wxColour
const &)*arg2
);
15088 wxPyEndAllowThreads(__tstate
);
15089 if (PyErr_Occurred()) SWIG_fail
;
15091 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
15098 SWIGINTERN PyObject
*ImageHistogram_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15100 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15101 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageHistogram
, SWIG_NewClientData(obj
));
15102 return SWIG_Py_Void();
15105 SWIGINTERN PyObject
*ImageHistogram_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15106 return SWIG_Python_InitShadowInstance(args
);
15109 SWIGINTERN PyObject
*_wrap_new_Image_RGBValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15110 PyObject
*resultobj
= 0;
15111 byte arg1
= (byte
) 0 ;
15112 byte arg2
= (byte
) 0 ;
15113 byte arg3
= (byte
) 0 ;
15114 wxImage_RGBValue
*result
= 0 ;
15115 unsigned char val1
;
15117 unsigned char val2
;
15119 unsigned char val3
;
15121 PyObject
* obj0
= 0 ;
15122 PyObject
* obj1
= 0 ;
15123 PyObject
* obj2
= 0 ;
15124 char * kwnames
[] = {
15125 (char *) "r",(char *) "g",(char *) "b", NULL
15128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Image_RGBValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15130 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
15131 if (!SWIG_IsOK(ecode1
)) {
15132 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Image_RGBValue" "', expected argument " "1"" of type '" "byte""'");
15134 arg1
= static_cast< byte
>(val1
);
15137 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
15138 if (!SWIG_IsOK(ecode2
)) {
15139 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Image_RGBValue" "', expected argument " "2"" of type '" "byte""'");
15141 arg2
= static_cast< byte
>(val2
);
15144 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
15145 if (!SWIG_IsOK(ecode3
)) {
15146 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Image_RGBValue" "', expected argument " "3"" of type '" "byte""'");
15148 arg3
= static_cast< byte
>(val3
);
15151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15152 result
= (wxImage_RGBValue
*)new wxImage_RGBValue(arg1
,arg2
,arg3
);
15153 wxPyEndAllowThreads(__tstate
);
15154 if (PyErr_Occurred()) SWIG_fail
;
15156 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage_RGBValue
, SWIG_POINTER_NEW
| 0 );
15163 SWIGINTERN PyObject
*_wrap_Image_RGBValue_red_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15164 PyObject
*resultobj
= 0;
15165 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
15169 unsigned char val2
;
15171 PyObject
*swig_obj
[2] ;
15173 if (!SWIG_Python_UnpackTuple(args
,"Image_RGBValue_red_set",2,2,swig_obj
)) SWIG_fail
;
15174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_RGBValue
, 0 | 0 );
15175 if (!SWIG_IsOK(res1
)) {
15176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBValue_red_set" "', expected argument " "1"" of type '" "wxImage_RGBValue *""'");
15178 arg1
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
15179 ecode2
= SWIG_AsVal_unsigned_SS_char(swig_obj
[1], &val2
);
15180 if (!SWIG_IsOK(ecode2
)) {
15181 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_RGBValue_red_set" "', expected argument " "2"" of type '" "byte""'");
15183 arg2
= static_cast< byte
>(val2
);
15184 if (arg1
) (arg1
)->red
= arg2
;
15186 resultobj
= SWIG_Py_Void();
15193 SWIGINTERN PyObject
*_wrap_Image_RGBValue_red_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15194 PyObject
*resultobj
= 0;
15195 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
15199 PyObject
*swig_obj
[1] ;
15201 if (!args
) SWIG_fail
;
15202 swig_obj
[0] = args
;
15203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_RGBValue
, 0 | 0 );
15204 if (!SWIG_IsOK(res1
)) {
15205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBValue_red_get" "', expected argument " "1"" of type '" "wxImage_RGBValue *""'");
15207 arg1
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
15208 result
= (byte
) ((arg1
)->red
);
15209 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
15216 SWIGINTERN PyObject
*_wrap_Image_RGBValue_green_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15217 PyObject
*resultobj
= 0;
15218 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
15222 unsigned char val2
;
15224 PyObject
*swig_obj
[2] ;
15226 if (!SWIG_Python_UnpackTuple(args
,"Image_RGBValue_green_set",2,2,swig_obj
)) SWIG_fail
;
15227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_RGBValue
, 0 | 0 );
15228 if (!SWIG_IsOK(res1
)) {
15229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBValue_green_set" "', expected argument " "1"" of type '" "wxImage_RGBValue *""'");
15231 arg1
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
15232 ecode2
= SWIG_AsVal_unsigned_SS_char(swig_obj
[1], &val2
);
15233 if (!SWIG_IsOK(ecode2
)) {
15234 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_RGBValue_green_set" "', expected argument " "2"" of type '" "byte""'");
15236 arg2
= static_cast< byte
>(val2
);
15237 if (arg1
) (arg1
)->green
= arg2
;
15239 resultobj
= SWIG_Py_Void();
15246 SWIGINTERN PyObject
*_wrap_Image_RGBValue_green_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15247 PyObject
*resultobj
= 0;
15248 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
15252 PyObject
*swig_obj
[1] ;
15254 if (!args
) SWIG_fail
;
15255 swig_obj
[0] = args
;
15256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_RGBValue
, 0 | 0 );
15257 if (!SWIG_IsOK(res1
)) {
15258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBValue_green_get" "', expected argument " "1"" of type '" "wxImage_RGBValue *""'");
15260 arg1
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
15261 result
= (byte
) ((arg1
)->green
);
15262 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
15269 SWIGINTERN PyObject
*_wrap_Image_RGBValue_blue_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15270 PyObject
*resultobj
= 0;
15271 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
15275 unsigned char val2
;
15277 PyObject
*swig_obj
[2] ;
15279 if (!SWIG_Python_UnpackTuple(args
,"Image_RGBValue_blue_set",2,2,swig_obj
)) SWIG_fail
;
15280 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_RGBValue
, 0 | 0 );
15281 if (!SWIG_IsOK(res1
)) {
15282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBValue_blue_set" "', expected argument " "1"" of type '" "wxImage_RGBValue *""'");
15284 arg1
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
15285 ecode2
= SWIG_AsVal_unsigned_SS_char(swig_obj
[1], &val2
);
15286 if (!SWIG_IsOK(ecode2
)) {
15287 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_RGBValue_blue_set" "', expected argument " "2"" of type '" "byte""'");
15289 arg2
= static_cast< byte
>(val2
);
15290 if (arg1
) (arg1
)->blue
= arg2
;
15292 resultobj
= SWIG_Py_Void();
15299 SWIGINTERN PyObject
*_wrap_Image_RGBValue_blue_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15300 PyObject
*resultobj
= 0;
15301 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
15305 PyObject
*swig_obj
[1] ;
15307 if (!args
) SWIG_fail
;
15308 swig_obj
[0] = args
;
15309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_RGBValue
, 0 | 0 );
15310 if (!SWIG_IsOK(res1
)) {
15311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBValue_blue_get" "', expected argument " "1"" of type '" "wxImage_RGBValue *""'");
15313 arg1
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
15314 result
= (byte
) ((arg1
)->blue
);
15315 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
15322 SWIGINTERN PyObject
*Image_RGBValue_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15324 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15325 SWIG_TypeNewClientData(SWIGTYPE_p_wxImage_RGBValue
, SWIG_NewClientData(obj
));
15326 return SWIG_Py_Void();
15329 SWIGINTERN PyObject
*Image_RGBValue_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15330 return SWIG_Python_InitShadowInstance(args
);
15333 SWIGINTERN PyObject
*_wrap_new_Image_HSVValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15334 PyObject
*resultobj
= 0;
15335 double arg1
= (double) 0.0 ;
15336 double arg2
= (double) 0.0 ;
15337 double arg3
= (double) 0.0 ;
15338 wxImage_HSVValue
*result
= 0 ;
15345 PyObject
* obj0
= 0 ;
15346 PyObject
* obj1
= 0 ;
15347 PyObject
* obj2
= 0 ;
15348 char * kwnames
[] = {
15349 (char *) "h",(char *) "s",(char *) "v", NULL
15352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Image_HSVValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15354 ecode1
= SWIG_AsVal_double(obj0
, &val1
);
15355 if (!SWIG_IsOK(ecode1
)) {
15356 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Image_HSVValue" "', expected argument " "1"" of type '" "double""'");
15358 arg1
= static_cast< double >(val1
);
15361 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
15362 if (!SWIG_IsOK(ecode2
)) {
15363 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Image_HSVValue" "', expected argument " "2"" of type '" "double""'");
15365 arg2
= static_cast< double >(val2
);
15368 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
15369 if (!SWIG_IsOK(ecode3
)) {
15370 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Image_HSVValue" "', expected argument " "3"" of type '" "double""'");
15372 arg3
= static_cast< double >(val3
);
15375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15376 result
= (wxImage_HSVValue
*)new wxImage_HSVValue(arg1
,arg2
,arg3
);
15377 wxPyEndAllowThreads(__tstate
);
15378 if (PyErr_Occurred()) SWIG_fail
;
15380 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage_HSVValue
, SWIG_POINTER_NEW
| 0 );
15387 SWIGINTERN PyObject
*_wrap_Image_HSVValue_hue_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15388 PyObject
*resultobj
= 0;
15389 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
15395 PyObject
*swig_obj
[2] ;
15397 if (!SWIG_Python_UnpackTuple(args
,"Image_HSVValue_hue_set",2,2,swig_obj
)) SWIG_fail
;
15398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_HSVValue
, 0 | 0 );
15399 if (!SWIG_IsOK(res1
)) {
15400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVValue_hue_set" "', expected argument " "1"" of type '" "wxImage_HSVValue *""'");
15402 arg1
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
15403 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
15404 if (!SWIG_IsOK(ecode2
)) {
15405 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_HSVValue_hue_set" "', expected argument " "2"" of type '" "double""'");
15407 arg2
= static_cast< double >(val2
);
15408 if (arg1
) (arg1
)->hue
= arg2
;
15410 resultobj
= SWIG_Py_Void();
15417 SWIGINTERN PyObject
*_wrap_Image_HSVValue_hue_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15418 PyObject
*resultobj
= 0;
15419 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
15423 PyObject
*swig_obj
[1] ;
15425 if (!args
) SWIG_fail
;
15426 swig_obj
[0] = args
;
15427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_HSVValue
, 0 | 0 );
15428 if (!SWIG_IsOK(res1
)) {
15429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVValue_hue_get" "', expected argument " "1"" of type '" "wxImage_HSVValue *""'");
15431 arg1
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
15432 result
= (double) ((arg1
)->hue
);
15433 resultobj
= SWIG_From_double(static_cast< double >(result
));
15440 SWIGINTERN PyObject
*_wrap_Image_HSVValue_saturation_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15441 PyObject
*resultobj
= 0;
15442 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
15448 PyObject
*swig_obj
[2] ;
15450 if (!SWIG_Python_UnpackTuple(args
,"Image_HSVValue_saturation_set",2,2,swig_obj
)) SWIG_fail
;
15451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_HSVValue
, 0 | 0 );
15452 if (!SWIG_IsOK(res1
)) {
15453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVValue_saturation_set" "', expected argument " "1"" of type '" "wxImage_HSVValue *""'");
15455 arg1
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
15456 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
15457 if (!SWIG_IsOK(ecode2
)) {
15458 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_HSVValue_saturation_set" "', expected argument " "2"" of type '" "double""'");
15460 arg2
= static_cast< double >(val2
);
15461 if (arg1
) (arg1
)->saturation
= arg2
;
15463 resultobj
= SWIG_Py_Void();
15470 SWIGINTERN PyObject
*_wrap_Image_HSVValue_saturation_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15471 PyObject
*resultobj
= 0;
15472 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
15476 PyObject
*swig_obj
[1] ;
15478 if (!args
) SWIG_fail
;
15479 swig_obj
[0] = args
;
15480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_HSVValue
, 0 | 0 );
15481 if (!SWIG_IsOK(res1
)) {
15482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVValue_saturation_get" "', expected argument " "1"" of type '" "wxImage_HSVValue *""'");
15484 arg1
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
15485 result
= (double) ((arg1
)->saturation
);
15486 resultobj
= SWIG_From_double(static_cast< double >(result
));
15493 SWIGINTERN PyObject
*_wrap_Image_HSVValue_value_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15494 PyObject
*resultobj
= 0;
15495 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
15501 PyObject
*swig_obj
[2] ;
15503 if (!SWIG_Python_UnpackTuple(args
,"Image_HSVValue_value_set",2,2,swig_obj
)) SWIG_fail
;
15504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_HSVValue
, 0 | 0 );
15505 if (!SWIG_IsOK(res1
)) {
15506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVValue_value_set" "', expected argument " "1"" of type '" "wxImage_HSVValue *""'");
15508 arg1
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
15509 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
15510 if (!SWIG_IsOK(ecode2
)) {
15511 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_HSVValue_value_set" "', expected argument " "2"" of type '" "double""'");
15513 arg2
= static_cast< double >(val2
);
15514 if (arg1
) (arg1
)->value
= arg2
;
15516 resultobj
= SWIG_Py_Void();
15523 SWIGINTERN PyObject
*_wrap_Image_HSVValue_value_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15524 PyObject
*resultobj
= 0;
15525 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
15529 PyObject
*swig_obj
[1] ;
15531 if (!args
) SWIG_fail
;
15532 swig_obj
[0] = args
;
15533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_HSVValue
, 0 | 0 );
15534 if (!SWIG_IsOK(res1
)) {
15535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVValue_value_get" "', expected argument " "1"" of type '" "wxImage_HSVValue *""'");
15537 arg1
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
15538 result
= (double) ((arg1
)->value
);
15539 resultobj
= SWIG_From_double(static_cast< double >(result
));
15546 SWIGINTERN PyObject
*Image_HSVValue_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15548 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15549 SWIG_TypeNewClientData(SWIGTYPE_p_wxImage_HSVValue
, SWIG_NewClientData(obj
));
15550 return SWIG_Py_Void();
15553 SWIGINTERN PyObject
*Image_HSVValue_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15554 return SWIG_Python_InitShadowInstance(args
);
15557 SWIGINTERN PyObject
*_wrap_new_Image(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15558 PyObject
*resultobj
= 0;
15559 wxString
*arg1
= 0 ;
15560 long arg2
= (long) wxBITMAP_TYPE_ANY
;
15561 int arg3
= (int) -1 ;
15562 wxImage
*result
= 0 ;
15563 bool temp1
= false ;
15568 PyObject
* obj0
= 0 ;
15569 PyObject
* obj1
= 0 ;
15570 PyObject
* obj2
= 0 ;
15571 char * kwnames
[] = {
15572 (char *) "name",(char *) "type",(char *) "index", NULL
15575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15577 arg1
= wxString_in_helper(obj0
);
15578 if (arg1
== NULL
) SWIG_fail
;
15582 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15583 if (!SWIG_IsOK(ecode2
)) {
15584 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Image" "', expected argument " "2"" of type '" "long""'");
15586 arg2
= static_cast< long >(val2
);
15589 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15590 if (!SWIG_IsOK(ecode3
)) {
15591 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Image" "', expected argument " "3"" of type '" "int""'");
15593 arg3
= static_cast< int >(val3
);
15596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15597 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
15598 wxPyEndAllowThreads(__tstate
);
15599 if (PyErr_Occurred()) SWIG_fail
;
15601 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_NEW
| 0 );
15616 SWIGINTERN PyObject
*_wrap_delete_Image(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15617 PyObject
*resultobj
= 0;
15618 wxImage
*arg1
= (wxImage
*) 0 ;
15621 PyObject
*swig_obj
[1] ;
15623 if (!args
) SWIG_fail
;
15624 swig_obj
[0] = args
;
15625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, SWIG_POINTER_DISOWN
| 0 );
15626 if (!SWIG_IsOK(res1
)) {
15627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Image" "', expected argument " "1"" of type '" "wxImage *""'");
15629 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15634 wxPyEndAllowThreads(__tstate
);
15635 if (PyErr_Occurred()) SWIG_fail
;
15637 resultobj
= SWIG_Py_Void();
15644 SWIGINTERN PyObject
*_wrap_new_ImageFromMime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15645 PyObject
*resultobj
= 0;
15646 wxString
*arg1
= 0 ;
15647 wxString
*arg2
= 0 ;
15648 int arg3
= (int) -1 ;
15649 wxImage
*result
= 0 ;
15650 bool temp1
= false ;
15651 bool temp2
= false ;
15654 PyObject
* obj0
= 0 ;
15655 PyObject
* obj1
= 0 ;
15656 PyObject
* obj2
= 0 ;
15657 char * kwnames
[] = {
15658 (char *) "name",(char *) "mimetype",(char *) "index", NULL
15661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15663 arg1
= wxString_in_helper(obj0
);
15664 if (arg1
== NULL
) SWIG_fail
;
15668 arg2
= wxString_in_helper(obj1
);
15669 if (arg2
== NULL
) SWIG_fail
;
15673 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15674 if (!SWIG_IsOK(ecode3
)) {
15675 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageFromMime" "', expected argument " "3"" of type '" "int""'");
15677 arg3
= static_cast< int >(val3
);
15680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15681 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
15682 wxPyEndAllowThreads(__tstate
);
15683 if (PyErr_Occurred()) SWIG_fail
;
15685 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
15708 SWIGINTERN PyObject
*_wrap_new_ImageFromStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15709 PyObject
*resultobj
= 0;
15710 wxInputStream
*arg1
= 0 ;
15711 long arg2
= (long) wxBITMAP_TYPE_ANY
;
15712 int arg3
= (int) -1 ;
15713 wxImage
*result
= 0 ;
15714 wxPyInputStream
*temp1
;
15720 PyObject
* obj0
= 0 ;
15721 PyObject
* obj1
= 0 ;
15722 PyObject
* obj2
= 0 ;
15723 char * kwnames
[] = {
15724 (char *) "stream",(char *) "type",(char *) "index", NULL
15727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15729 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
15730 arg1
= temp1
->m_wxis
;
15733 PyErr_Clear(); // clear the failure of the wxPyConvert above
15734 arg1
= wxPyCBInputStream_create(obj0
, false);
15735 if (arg1
== NULL
) {
15736 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
15743 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15744 if (!SWIG_IsOK(ecode2
)) {
15745 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageFromStream" "', expected argument " "2"" of type '" "long""'");
15747 arg2
= static_cast< long >(val2
);
15750 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15751 if (!SWIG_IsOK(ecode3
)) {
15752 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageFromStream" "', expected argument " "3"" of type '" "int""'");
15754 arg3
= static_cast< int >(val3
);
15757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15758 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
15759 wxPyEndAllowThreads(__tstate
);
15760 if (PyErr_Occurred()) SWIG_fail
;
15762 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
15764 if (created1
) delete arg1
;
15769 if (created1
) delete arg1
;
15775 SWIGINTERN PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15776 PyObject
*resultobj
= 0;
15777 wxInputStream
*arg1
= 0 ;
15778 wxString
*arg2
= 0 ;
15779 int arg3
= (int) -1 ;
15780 wxImage
*result
= 0 ;
15781 wxPyInputStream
*temp1
;
15783 bool temp2
= false ;
15786 PyObject
* obj0
= 0 ;
15787 PyObject
* obj1
= 0 ;
15788 PyObject
* obj2
= 0 ;
15789 char * kwnames
[] = {
15790 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
15793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15795 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
15796 arg1
= temp1
->m_wxis
;
15799 PyErr_Clear(); // clear the failure of the wxPyConvert above
15800 arg1
= wxPyCBInputStream_create(obj0
, false);
15801 if (arg1
== NULL
) {
15802 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
15809 arg2
= wxString_in_helper(obj1
);
15810 if (arg2
== NULL
) SWIG_fail
;
15814 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15815 if (!SWIG_IsOK(ecode3
)) {
15816 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageFromStreamMime" "', expected argument " "3"" of type '" "int""'");
15818 arg3
= static_cast< int >(val3
);
15821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15822 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
15823 wxPyEndAllowThreads(__tstate
);
15824 if (PyErr_Occurred()) SWIG_fail
;
15826 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
15828 if (created1
) delete arg1
;
15837 if (created1
) delete arg1
;
15847 SWIGINTERN PyObject
*_wrap_new_EmptyImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15848 PyObject
*resultobj
= 0;
15849 int arg1
= (int) 0 ;
15850 int arg2
= (int) 0 ;
15851 bool arg3
= (bool) true ;
15852 wxImage
*result
= 0 ;
15859 PyObject
* obj0
= 0 ;
15860 PyObject
* obj1
= 0 ;
15861 PyObject
* obj2
= 0 ;
15862 char * kwnames
[] = {
15863 (char *) "width",(char *) "height",(char *) "clear", NULL
15866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",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_EmptyImage" "', expected argument " "1"" of type '" "int""'");
15872 arg1
= static_cast< int >(val1
);
15875 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15876 if (!SWIG_IsOK(ecode2
)) {
15877 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyImage" "', expected argument " "2"" of type '" "int""'");
15879 arg2
= static_cast< int >(val2
);
15882 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15883 if (!SWIG_IsOK(ecode3
)) {
15884 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyImage" "', expected argument " "3"" of type '" "bool""'");
15886 arg3
= static_cast< bool >(val3
);
15889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15890 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
15891 wxPyEndAllowThreads(__tstate
);
15892 if (PyErr_Occurred()) SWIG_fail
;
15894 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
15901 SWIGINTERN PyObject
*_wrap_new_ImageFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15902 PyObject
*resultobj
= 0;
15903 wxBitmap
*arg1
= 0 ;
15904 wxImage
*result
= 0 ;
15907 PyObject
* obj0
= 0 ;
15908 char * kwnames
[] = {
15909 (char *) "bitmap", NULL
15912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
15913 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
15914 if (!SWIG_IsOK(res1
)) {
15915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ImageFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
15918 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ImageFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
15920 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
15922 if (!wxPyCheckForApp()) SWIG_fail
;
15923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15924 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
15925 wxPyEndAllowThreads(__tstate
);
15926 if (PyErr_Occurred()) SWIG_fail
;
15928 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
15935 SWIGINTERN PyObject
*_wrap_new_ImageFromData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15936 PyObject
*resultobj
= 0;
15941 wxImage
*result
= 0 ;
15947 PyObject
* obj0
= 0 ;
15948 PyObject
* obj1
= 0 ;
15949 PyObject
* obj2
= 0 ;
15950 char * kwnames
[] = {
15951 (char *) "width",(char *) "height",(char *) "data", NULL
15954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15955 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15956 if (!SWIG_IsOK(ecode1
)) {
15957 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageFromData" "', expected argument " "1"" of type '" "int""'");
15959 arg1
= static_cast< int >(val1
);
15960 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15961 if (!SWIG_IsOK(ecode2
)) {
15962 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageFromData" "', expected argument " "2"" of type '" "int""'");
15964 arg2
= static_cast< int >(val2
);
15966 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
15970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15971 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
);
15972 wxPyEndAllowThreads(__tstate
);
15973 if (PyErr_Occurred()) SWIG_fail
;
15975 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
15982 SWIGINTERN PyObject
*_wrap_new_ImageFromDataWithAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15983 PyObject
*resultobj
= 0;
15990 wxImage
*result
= 0 ;
15997 PyObject
* obj0
= 0 ;
15998 PyObject
* obj1
= 0 ;
15999 PyObject
* obj2
= 0 ;
16000 PyObject
* obj3
= 0 ;
16001 char * kwnames
[] = {
16002 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
16005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_ImageFromDataWithAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16006 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16007 if (!SWIG_IsOK(ecode1
)) {
16008 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageFromDataWithAlpha" "', expected argument " "1"" of type '" "int""'");
16010 arg1
= static_cast< int >(val1
);
16011 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16012 if (!SWIG_IsOK(ecode2
)) {
16013 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageFromDataWithAlpha" "', expected argument " "2"" of type '" "int""'");
16015 arg2
= static_cast< int >(val2
);
16017 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
16021 if (obj3
!= Py_None
) {
16022 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
16027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16028 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
16029 wxPyEndAllowThreads(__tstate
);
16030 if (PyErr_Occurred()) SWIG_fail
;
16032 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
16039 SWIGINTERN PyObject
*_wrap_Image_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16040 PyObject
*resultobj
= 0;
16041 wxImage
*arg1
= (wxImage
*) 0 ;
16044 bool arg4
= (bool) true ;
16053 PyObject
* obj0
= 0 ;
16054 PyObject
* obj1
= 0 ;
16055 PyObject
* obj2
= 0 ;
16056 PyObject
* obj3
= 0 ;
16057 char * kwnames
[] = {
16058 (char *) "self",(char *) "width",(char *) "height",(char *) "clear", NULL
16061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16063 if (!SWIG_IsOK(res1
)) {
16064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Create" "', expected argument " "1"" of type '" "wxImage *""'");
16066 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16067 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16068 if (!SWIG_IsOK(ecode2
)) {
16069 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Create" "', expected argument " "2"" of type '" "int""'");
16071 arg2
= static_cast< int >(val2
);
16072 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16073 if (!SWIG_IsOK(ecode3
)) {
16074 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_Create" "', expected argument " "3"" of type '" "int""'");
16076 arg3
= static_cast< int >(val3
);
16078 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
16079 if (!SWIG_IsOK(ecode4
)) {
16080 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Create" "', expected argument " "4"" of type '" "bool""'");
16082 arg4
= static_cast< bool >(val4
);
16085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16086 (arg1
)->Create(arg2
,arg3
,arg4
);
16087 wxPyEndAllowThreads(__tstate
);
16088 if (PyErr_Occurred()) SWIG_fail
;
16090 resultobj
= SWIG_Py_Void();
16097 SWIGINTERN PyObject
*_wrap_Image_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16098 PyObject
*resultobj
= 0;
16099 wxImage
*arg1
= (wxImage
*) 0 ;
16102 PyObject
*swig_obj
[1] ;
16104 if (!args
) SWIG_fail
;
16105 swig_obj
[0] = args
;
16106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16107 if (!SWIG_IsOK(res1
)) {
16108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Destroy" "', expected argument " "1"" of type '" "wxImage *""'");
16110 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16114 wxPyEndAllowThreads(__tstate
);
16115 if (PyErr_Occurred()) SWIG_fail
;
16117 resultobj
= SWIG_Py_Void();
16124 SWIGINTERN PyObject
*_wrap_Image_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16125 PyObject
*resultobj
= 0;
16126 wxImage
*arg1
= (wxImage
*) 0 ;
16129 int arg4
= (int) wxIMAGE_QUALITY_NORMAL
;
16130 SwigValueWrapper
<wxImage
> result
;
16139 PyObject
* obj0
= 0 ;
16140 PyObject
* obj1
= 0 ;
16141 PyObject
* obj2
= 0 ;
16142 PyObject
* obj3
= 0 ;
16143 char * kwnames
[] = {
16144 (char *) "self",(char *) "width",(char *) "height",(char *) "quality", NULL
16147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16149 if (!SWIG_IsOK(res1
)) {
16150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Scale" "', expected argument " "1"" of type '" "wxImage *""'");
16152 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16153 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16154 if (!SWIG_IsOK(ecode2
)) {
16155 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Scale" "', expected argument " "2"" of type '" "int""'");
16157 arg2
= static_cast< int >(val2
);
16158 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16159 if (!SWIG_IsOK(ecode3
)) {
16160 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_Scale" "', expected argument " "3"" of type '" "int""'");
16162 arg3
= static_cast< int >(val3
);
16164 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16165 if (!SWIG_IsOK(ecode4
)) {
16166 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Scale" "', expected argument " "4"" of type '" "int""'");
16168 arg4
= static_cast< int >(val4
);
16171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16172 result
= (arg1
)->Scale(arg2
,arg3
,arg4
);
16173 wxPyEndAllowThreads(__tstate
);
16174 if (PyErr_Occurred()) SWIG_fail
;
16176 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
16183 SWIGINTERN PyObject
*_wrap_Image_ResampleBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16184 PyObject
*resultobj
= 0;
16185 wxImage
*arg1
= (wxImage
*) 0 ;
16188 SwigValueWrapper
<wxImage
> result
;
16195 PyObject
* obj0
= 0 ;
16196 PyObject
* obj1
= 0 ;
16197 PyObject
* obj2
= 0 ;
16198 char * kwnames
[] = {
16199 (char *) "self",(char *) "width",(char *) "height", NULL
16202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ResampleBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16204 if (!SWIG_IsOK(res1
)) {
16205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ResampleBox" "', expected argument " "1"" of type '" "wxImage const *""'");
16207 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16208 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16209 if (!SWIG_IsOK(ecode2
)) {
16210 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ResampleBox" "', expected argument " "2"" of type '" "int""'");
16212 arg2
= static_cast< int >(val2
);
16213 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16214 if (!SWIG_IsOK(ecode3
)) {
16215 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_ResampleBox" "', expected argument " "3"" of type '" "int""'");
16217 arg3
= static_cast< int >(val3
);
16219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16220 result
= ((wxImage
const *)arg1
)->ResampleBox(arg2
,arg3
);
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_ResampleBicubic(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16232 PyObject
*resultobj
= 0;
16233 wxImage
*arg1
= (wxImage
*) 0 ;
16236 SwigValueWrapper
<wxImage
> result
;
16243 PyObject
* obj0
= 0 ;
16244 PyObject
* obj1
= 0 ;
16245 PyObject
* obj2
= 0 ;
16246 char * kwnames
[] = {
16247 (char *) "self",(char *) "width",(char *) "height", NULL
16250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ResampleBicubic",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16252 if (!SWIG_IsOK(res1
)) {
16253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ResampleBicubic" "', expected argument " "1"" of type '" "wxImage const *""'");
16255 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16256 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16257 if (!SWIG_IsOK(ecode2
)) {
16258 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ResampleBicubic" "', expected argument " "2"" of type '" "int""'");
16260 arg2
= static_cast< int >(val2
);
16261 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16262 if (!SWIG_IsOK(ecode3
)) {
16263 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_ResampleBicubic" "', expected argument " "3"" of type '" "int""'");
16265 arg3
= static_cast< int >(val3
);
16267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16268 result
= ((wxImage
const *)arg1
)->ResampleBicubic(arg2
,arg3
);
16269 wxPyEndAllowThreads(__tstate
);
16270 if (PyErr_Occurred()) SWIG_fail
;
16272 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
16279 SWIGINTERN PyObject
*_wrap_Image_Blur(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16280 PyObject
*resultobj
= 0;
16281 wxImage
*arg1
= (wxImage
*) 0 ;
16283 SwigValueWrapper
<wxImage
> result
;
16288 PyObject
* obj0
= 0 ;
16289 PyObject
* obj1
= 0 ;
16290 char * kwnames
[] = {
16291 (char *) "self",(char *) "radius", NULL
16294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_Blur",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16296 if (!SWIG_IsOK(res1
)) {
16297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Blur" "', expected argument " "1"" of type '" "wxImage *""'");
16299 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16300 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16301 if (!SWIG_IsOK(ecode2
)) {
16302 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Blur" "', expected argument " "2"" of type '" "int""'");
16304 arg2
= static_cast< int >(val2
);
16306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16307 result
= (arg1
)->Blur(arg2
);
16308 wxPyEndAllowThreads(__tstate
);
16309 if (PyErr_Occurred()) SWIG_fail
;
16311 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
16318 SWIGINTERN PyObject
*_wrap_Image_BlurHorizontal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16319 PyObject
*resultobj
= 0;
16320 wxImage
*arg1
= (wxImage
*) 0 ;
16322 SwigValueWrapper
<wxImage
> result
;
16327 PyObject
* obj0
= 0 ;
16328 PyObject
* obj1
= 0 ;
16329 char * kwnames
[] = {
16330 (char *) "self",(char *) "radius", NULL
16333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_BlurHorizontal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16335 if (!SWIG_IsOK(res1
)) {
16336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_BlurHorizontal" "', expected argument " "1"" of type '" "wxImage *""'");
16338 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16339 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16340 if (!SWIG_IsOK(ecode2
)) {
16341 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_BlurHorizontal" "', expected argument " "2"" of type '" "int""'");
16343 arg2
= static_cast< int >(val2
);
16345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16346 result
= (arg1
)->BlurHorizontal(arg2
);
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_BlurVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16358 PyObject
*resultobj
= 0;
16359 wxImage
*arg1
= (wxImage
*) 0 ;
16361 SwigValueWrapper
<wxImage
> result
;
16366 PyObject
* obj0
= 0 ;
16367 PyObject
* obj1
= 0 ;
16368 char * kwnames
[] = {
16369 (char *) "self",(char *) "radius", NULL
16372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_BlurVertical",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16374 if (!SWIG_IsOK(res1
)) {
16375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_BlurVertical" "', expected argument " "1"" of type '" "wxImage *""'");
16377 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16378 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16379 if (!SWIG_IsOK(ecode2
)) {
16380 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_BlurVertical" "', expected argument " "2"" of type '" "int""'");
16382 arg2
= static_cast< int >(val2
);
16384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16385 result
= (arg1
)->BlurVertical(arg2
);
16386 wxPyEndAllowThreads(__tstate
);
16387 if (PyErr_Occurred()) SWIG_fail
;
16389 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
16396 SWIGINTERN PyObject
*_wrap_Image_ShrinkBy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16397 PyObject
*resultobj
= 0;
16398 wxImage
*arg1
= (wxImage
*) 0 ;
16401 SwigValueWrapper
<wxImage
> result
;
16408 PyObject
* obj0
= 0 ;
16409 PyObject
* obj1
= 0 ;
16410 PyObject
* obj2
= 0 ;
16411 char * kwnames
[] = {
16412 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
16415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16417 if (!SWIG_IsOK(res1
)) {
16418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ShrinkBy" "', expected argument " "1"" of type '" "wxImage const *""'");
16420 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16421 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16422 if (!SWIG_IsOK(ecode2
)) {
16423 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ShrinkBy" "', expected argument " "2"" of type '" "int""'");
16425 arg2
= static_cast< int >(val2
);
16426 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16427 if (!SWIG_IsOK(ecode3
)) {
16428 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_ShrinkBy" "', expected argument " "3"" of type '" "int""'");
16430 arg3
= static_cast< int >(val3
);
16432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16433 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
16434 wxPyEndAllowThreads(__tstate
);
16435 if (PyErr_Occurred()) SWIG_fail
;
16437 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
16444 SWIGINTERN PyObject
*_wrap_Image_Rescale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16445 PyObject
*resultobj
= 0;
16446 wxImage
*arg1
= (wxImage
*) 0 ;
16449 int arg4
= (int) wxIMAGE_QUALITY_NORMAL
;
16450 wxImage
*result
= 0 ;
16459 PyObject
* obj0
= 0 ;
16460 PyObject
* obj1
= 0 ;
16461 PyObject
* obj2
= 0 ;
16462 PyObject
* obj3
= 0 ;
16463 char * kwnames
[] = {
16464 (char *) "self",(char *) "width",(char *) "height",(char *) "quality", NULL
16467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16469 if (!SWIG_IsOK(res1
)) {
16470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Rescale" "', expected argument " "1"" of type '" "wxImage *""'");
16472 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16473 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16474 if (!SWIG_IsOK(ecode2
)) {
16475 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Rescale" "', expected argument " "2"" of type '" "int""'");
16477 arg2
= static_cast< int >(val2
);
16478 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16479 if (!SWIG_IsOK(ecode3
)) {
16480 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_Rescale" "', expected argument " "3"" of type '" "int""'");
16482 arg3
= static_cast< int >(val3
);
16484 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16485 if (!SWIG_IsOK(ecode4
)) {
16486 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Rescale" "', expected argument " "4"" of type '" "int""'");
16488 arg4
= static_cast< int >(val4
);
16491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16493 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
,arg4
);
16494 result
= (wxImage
*) &_result_ref
;
16496 wxPyEndAllowThreads(__tstate
);
16497 if (PyErr_Occurred()) SWIG_fail
;
16499 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, 0 | 0 );
16506 SWIGINTERN PyObject
*_wrap_Image_Resize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16507 PyObject
*resultobj
= 0;
16508 wxImage
*arg1
= (wxImage
*) 0 ;
16510 wxPoint
*arg3
= 0 ;
16511 int arg4
= (int) -1 ;
16512 int arg5
= (int) -1 ;
16513 int arg6
= (int) -1 ;
16514 wxImage
*result
= 0 ;
16525 PyObject
* obj0
= 0 ;
16526 PyObject
* obj1
= 0 ;
16527 PyObject
* obj2
= 0 ;
16528 PyObject
* obj3
= 0 ;
16529 PyObject
* obj4
= 0 ;
16530 PyObject
* obj5
= 0 ;
16531 char * kwnames
[] = {
16532 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
16535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Image_Resize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
16536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16537 if (!SWIG_IsOK(res1
)) {
16538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Resize" "', expected argument " "1"" of type '" "wxImage *""'");
16540 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16543 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16547 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16550 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16551 if (!SWIG_IsOK(ecode4
)) {
16552 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Resize" "', expected argument " "4"" of type '" "int""'");
16554 arg4
= static_cast< int >(val4
);
16557 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
16558 if (!SWIG_IsOK(ecode5
)) {
16559 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_Resize" "', expected argument " "5"" of type '" "int""'");
16561 arg5
= static_cast< int >(val5
);
16564 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
16565 if (!SWIG_IsOK(ecode6
)) {
16566 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Image_Resize" "', expected argument " "6"" of type '" "int""'");
16568 arg6
= static_cast< int >(val6
);
16571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16573 wxImage
&_result_ref
= (arg1
)->Resize((wxSize
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
,arg6
);
16574 result
= (wxImage
*) &_result_ref
;
16576 wxPyEndAllowThreads(__tstate
);
16577 if (PyErr_Occurred()) SWIG_fail
;
16579 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, 0 | 0 );
16586 SWIGINTERN PyObject
*_wrap_Image_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16587 PyObject
*resultobj
= 0;
16588 wxImage
*arg1
= (wxImage
*) 0 ;
16600 unsigned char val4
;
16602 unsigned char val5
;
16604 unsigned char val6
;
16606 PyObject
* obj0
= 0 ;
16607 PyObject
* obj1
= 0 ;
16608 PyObject
* obj2
= 0 ;
16609 PyObject
* obj3
= 0 ;
16610 PyObject
* obj4
= 0 ;
16611 PyObject
* obj5
= 0 ;
16612 char * kwnames
[] = {
16613 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
16616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
16617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16618 if (!SWIG_IsOK(res1
)) {
16619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetRGB" "', expected argument " "1"" of type '" "wxImage *""'");
16621 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16622 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16623 if (!SWIG_IsOK(ecode2
)) {
16624 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_SetRGB" "', expected argument " "2"" of type '" "int""'");
16626 arg2
= static_cast< int >(val2
);
16627 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16628 if (!SWIG_IsOK(ecode3
)) {
16629 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SetRGB" "', expected argument " "3"" of type '" "int""'");
16631 arg3
= static_cast< int >(val3
);
16632 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
16633 if (!SWIG_IsOK(ecode4
)) {
16634 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_SetRGB" "', expected argument " "4"" of type '" "byte""'");
16636 arg4
= static_cast< byte
>(val4
);
16637 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
16638 if (!SWIG_IsOK(ecode5
)) {
16639 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_SetRGB" "', expected argument " "5"" of type '" "byte""'");
16641 arg5
= static_cast< byte
>(val5
);
16642 ecode6
= SWIG_AsVal_unsigned_SS_char(obj5
, &val6
);
16643 if (!SWIG_IsOK(ecode6
)) {
16644 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Image_SetRGB" "', expected argument " "6"" of type '" "byte""'");
16646 arg6
= static_cast< byte
>(val6
);
16648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16649 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
16650 wxPyEndAllowThreads(__tstate
);
16651 if (PyErr_Occurred()) SWIG_fail
;
16653 resultobj
= SWIG_Py_Void();
16660 SWIGINTERN PyObject
*_wrap_Image_SetRGBRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16661 PyObject
*resultobj
= 0;
16662 wxImage
*arg1
= (wxImage
*) 0 ;
16670 unsigned char val3
;
16672 unsigned char val4
;
16674 unsigned char val5
;
16676 PyObject
* obj0
= 0 ;
16677 PyObject
* obj1
= 0 ;
16678 PyObject
* obj2
= 0 ;
16679 PyObject
* obj3
= 0 ;
16680 PyObject
* obj4
= 0 ;
16681 char * kwnames
[] = {
16682 (char *) "self",(char *) "rect",(char *) "r",(char *) "g",(char *) "b", NULL
16685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetRGBRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16687 if (!SWIG_IsOK(res1
)) {
16688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetRGBRect" "', expected argument " "1"" of type '" "wxImage *""'");
16690 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16693 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
16695 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
16696 if (!SWIG_IsOK(ecode3
)) {
16697 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SetRGBRect" "', expected argument " "3"" of type '" "byte""'");
16699 arg3
= static_cast< byte
>(val3
);
16700 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
16701 if (!SWIG_IsOK(ecode4
)) {
16702 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_SetRGBRect" "', expected argument " "4"" of type '" "byte""'");
16704 arg4
= static_cast< byte
>(val4
);
16705 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
16706 if (!SWIG_IsOK(ecode5
)) {
16707 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_SetRGBRect" "', expected argument " "5"" of type '" "byte""'");
16709 arg5
= static_cast< byte
>(val5
);
16711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16712 (arg1
)->SetRGB((wxRect
const &)*arg2
,arg3
,arg4
,arg5
);
16713 wxPyEndAllowThreads(__tstate
);
16714 if (PyErr_Occurred()) SWIG_fail
;
16716 resultobj
= SWIG_Py_Void();
16723 SWIGINTERN PyObject
*_wrap_Image_GetRed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16724 PyObject
*resultobj
= 0;
16725 wxImage
*arg1
= (wxImage
*) 0 ;
16735 PyObject
* obj0
= 0 ;
16736 PyObject
* obj1
= 0 ;
16737 PyObject
* obj2
= 0 ;
16738 char * kwnames
[] = {
16739 (char *) "self",(char *) "x",(char *) "y", NULL
16742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16744 if (!SWIG_IsOK(res1
)) {
16745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetRed" "', expected argument " "1"" of type '" "wxImage *""'");
16747 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16748 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16749 if (!SWIG_IsOK(ecode2
)) {
16750 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_GetRed" "', expected argument " "2"" of type '" "int""'");
16752 arg2
= static_cast< int >(val2
);
16753 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16754 if (!SWIG_IsOK(ecode3
)) {
16755 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_GetRed" "', expected argument " "3"" of type '" "int""'");
16757 arg3
= static_cast< int >(val3
);
16759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16760 result
= (byte
)(arg1
)->GetRed(arg2
,arg3
);
16761 wxPyEndAllowThreads(__tstate
);
16762 if (PyErr_Occurred()) SWIG_fail
;
16764 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
16771 SWIGINTERN PyObject
*_wrap_Image_GetGreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16772 PyObject
*resultobj
= 0;
16773 wxImage
*arg1
= (wxImage
*) 0 ;
16783 PyObject
* obj0
= 0 ;
16784 PyObject
* obj1
= 0 ;
16785 PyObject
* obj2
= 0 ;
16786 char * kwnames
[] = {
16787 (char *) "self",(char *) "x",(char *) "y", NULL
16790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16792 if (!SWIG_IsOK(res1
)) {
16793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetGreen" "', expected argument " "1"" of type '" "wxImage *""'");
16795 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16796 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16797 if (!SWIG_IsOK(ecode2
)) {
16798 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_GetGreen" "', expected argument " "2"" of type '" "int""'");
16800 arg2
= static_cast< int >(val2
);
16801 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16802 if (!SWIG_IsOK(ecode3
)) {
16803 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_GetGreen" "', expected argument " "3"" of type '" "int""'");
16805 arg3
= static_cast< int >(val3
);
16807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16808 result
= (byte
)(arg1
)->GetGreen(arg2
,arg3
);
16809 wxPyEndAllowThreads(__tstate
);
16810 if (PyErr_Occurred()) SWIG_fail
;
16812 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
16819 SWIGINTERN PyObject
*_wrap_Image_GetBlue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16820 PyObject
*resultobj
= 0;
16821 wxImage
*arg1
= (wxImage
*) 0 ;
16831 PyObject
* obj0
= 0 ;
16832 PyObject
* obj1
= 0 ;
16833 PyObject
* obj2
= 0 ;
16834 char * kwnames
[] = {
16835 (char *) "self",(char *) "x",(char *) "y", NULL
16838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16840 if (!SWIG_IsOK(res1
)) {
16841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetBlue" "', expected argument " "1"" of type '" "wxImage *""'");
16843 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16844 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16845 if (!SWIG_IsOK(ecode2
)) {
16846 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_GetBlue" "', expected argument " "2"" of type '" "int""'");
16848 arg2
= static_cast< int >(val2
);
16849 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16850 if (!SWIG_IsOK(ecode3
)) {
16851 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_GetBlue" "', expected argument " "3"" of type '" "int""'");
16853 arg3
= static_cast< int >(val3
);
16855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16856 result
= (byte
)(arg1
)->GetBlue(arg2
,arg3
);
16857 wxPyEndAllowThreads(__tstate
);
16858 if (PyErr_Occurred()) SWIG_fail
;
16860 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
16867 SWIGINTERN PyObject
*_wrap_Image_SetAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16868 PyObject
*resultobj
= 0;
16869 wxImage
*arg1
= (wxImage
*) 0 ;
16879 unsigned char val4
;
16881 PyObject
* obj0
= 0 ;
16882 PyObject
* obj1
= 0 ;
16883 PyObject
* obj2
= 0 ;
16884 PyObject
* obj3
= 0 ;
16885 char * kwnames
[] = {
16886 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
16889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16891 if (!SWIG_IsOK(res1
)) {
16892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetAlpha" "', expected argument " "1"" of type '" "wxImage *""'");
16894 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16895 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16896 if (!SWIG_IsOK(ecode2
)) {
16897 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_SetAlpha" "', expected argument " "2"" of type '" "int""'");
16899 arg2
= static_cast< int >(val2
);
16900 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16901 if (!SWIG_IsOK(ecode3
)) {
16902 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SetAlpha" "', expected argument " "3"" of type '" "int""'");
16904 arg3
= static_cast< int >(val3
);
16905 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
16906 if (!SWIG_IsOK(ecode4
)) {
16907 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_SetAlpha" "', expected argument " "4"" of type '" "byte""'");
16909 arg4
= static_cast< byte
>(val4
);
16911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16912 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
16913 wxPyEndAllowThreads(__tstate
);
16914 if (PyErr_Occurred()) SWIG_fail
;
16916 resultobj
= SWIG_Py_Void();
16923 SWIGINTERN PyObject
*_wrap_Image_GetAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16924 PyObject
*resultobj
= 0;
16925 wxImage
*arg1
= (wxImage
*) 0 ;
16935 PyObject
* obj0
= 0 ;
16936 PyObject
* obj1
= 0 ;
16937 PyObject
* obj2
= 0 ;
16938 char * kwnames
[] = {
16939 (char *) "self",(char *) "x",(char *) "y", NULL
16942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16944 if (!SWIG_IsOK(res1
)) {
16945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetAlpha" "', expected argument " "1"" of type '" "wxImage *""'");
16947 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16948 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16949 if (!SWIG_IsOK(ecode2
)) {
16950 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_GetAlpha" "', expected argument " "2"" of type '" "int""'");
16952 arg2
= static_cast< int >(val2
);
16953 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16954 if (!SWIG_IsOK(ecode3
)) {
16955 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_GetAlpha" "', expected argument " "3"" of type '" "int""'");
16957 arg3
= static_cast< int >(val3
);
16959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16960 result
= (byte
)(arg1
)->GetAlpha(arg2
,arg3
);
16961 wxPyEndAllowThreads(__tstate
);
16962 if (PyErr_Occurred()) SWIG_fail
;
16964 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
16971 SWIGINTERN PyObject
*_wrap_Image_HasAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16972 PyObject
*resultobj
= 0;
16973 wxImage
*arg1
= (wxImage
*) 0 ;
16977 PyObject
*swig_obj
[1] ;
16979 if (!args
) SWIG_fail
;
16980 swig_obj
[0] = args
;
16981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16982 if (!SWIG_IsOK(res1
)) {
16983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HasAlpha" "', expected argument " "1"" of type '" "wxImage *""'");
16985 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16988 result
= (bool)(arg1
)->HasAlpha();
16989 wxPyEndAllowThreads(__tstate
);
16990 if (PyErr_Occurred()) SWIG_fail
;
16993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17001 SWIGINTERN PyObject
*_wrap_Image_InitAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17002 PyObject
*resultobj
= 0;
17003 wxImage
*arg1
= (wxImage
*) 0 ;
17006 PyObject
*swig_obj
[1] ;
17008 if (!args
) SWIG_fail
;
17009 swig_obj
[0] = args
;
17010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
17011 if (!SWIG_IsOK(res1
)) {
17012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_InitAlpha" "', expected argument " "1"" of type '" "wxImage *""'");
17014 arg1
= reinterpret_cast< wxImage
* >(argp1
);
17016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17017 (arg1
)->InitAlpha();
17018 wxPyEndAllowThreads(__tstate
);
17019 if (PyErr_Occurred()) SWIG_fail
;
17021 resultobj
= SWIG_Py_Void();
17028 SWIGINTERN PyObject
*_wrap_Image_IsTransparent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17029 PyObject
*resultobj
= 0;
17030 wxImage
*arg1
= (wxImage
*) 0 ;
17033 byte arg4
= (byte
) wxIMAGE_ALPHA_THRESHOLD
;
17041 unsigned char val4
;
17043 PyObject
* obj0
= 0 ;
17044 PyObject
* obj1
= 0 ;
17045 PyObject
* obj2
= 0 ;
17046 PyObject
* obj3
= 0 ;
17047 char * kwnames
[] = {
17048 (char *) "self",(char *) "x",(char *) "y",(char *) "threshold", NULL
17051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_IsTransparent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
17053 if (!SWIG_IsOK(res1
)) {
17054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_IsTransparent" "', expected argument " "1"" of type '" "wxImage const *""'");
17056 arg1
= reinterpret_cast< wxImage
* >(argp1
);
17057 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17058 if (!SWIG_IsOK(ecode2
)) {
17059 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_IsTransparent" "', expected argument " "2"" of type '" "int""'");
17061 arg2
= static_cast< int >(val2
);
17062 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17063 if (!SWIG_IsOK(ecode3
)) {
17064 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_IsTransparent" "', expected argument " "3"" of type '" "int""'");
17066 arg3
= static_cast< int >(val3
);
17068 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
17069 if (!SWIG_IsOK(ecode4
)) {
17070 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_IsTransparent" "', expected argument " "4"" of type '" "byte""'");
17072 arg4
= static_cast< byte
>(val4
);
17075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17076 result
= (bool)((wxImage
const *)arg1
)->IsTransparent(arg2
,arg3
,arg4
);
17077 wxPyEndAllowThreads(__tstate
);
17078 if (PyErr_Occurred()) SWIG_fail
;
17081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17089 SWIGINTERN PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17090 PyObject
*resultobj
= 0;
17091 wxImage
*arg1
= (wxImage
*) 0 ;
17092 byte
*arg2
= (byte
*) 0 ;
17093 byte
*arg3
= (byte
*) 0 ;
17094 byte
*arg4
= (byte
*) 0 ;
17095 byte arg5
= (byte
) 0 ;
17096 byte arg6
= (byte
) 0 ;
17097 byte arg7
= (byte
) 0 ;
17102 int res2
= SWIG_TMPOBJ
;
17104 int res3
= SWIG_TMPOBJ
;
17106 int res4
= SWIG_TMPOBJ
;
17107 unsigned char val5
;
17109 unsigned char val6
;
17111 unsigned char val7
;
17113 PyObject
* obj0
= 0 ;
17114 PyObject
* obj1
= 0 ;
17115 PyObject
* obj2
= 0 ;
17116 PyObject
* obj3
= 0 ;
17117 char * kwnames
[] = {
17118 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
17124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
17126 if (!SWIG_IsOK(res1
)) {
17127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_FindFirstUnusedColour" "', expected argument " "1"" of type '" "wxImage const *""'");
17129 arg1
= reinterpret_cast< wxImage
* >(argp1
);
17131 ecode5
= SWIG_AsVal_unsigned_SS_char(obj1
, &val5
);
17132 if (!SWIG_IsOK(ecode5
)) {
17133 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_FindFirstUnusedColour" "', expected argument " "5"" of type '" "byte""'");
17135 arg5
= static_cast< byte
>(val5
);
17138 ecode6
= SWIG_AsVal_unsigned_SS_char(obj2
, &val6
);
17139 if (!SWIG_IsOK(ecode6
)) {
17140 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Image_FindFirstUnusedColour" "', expected argument " "6"" of type '" "byte""'");
17142 arg6
= static_cast< byte
>(val6
);
17145 ecode7
= SWIG_AsVal_unsigned_SS_char(obj3
, &val7
);
17146 if (!SWIG_IsOK(ecode7
)) {
17147 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Image_FindFirstUnusedColour" "', expected argument " "7"" of type '" "byte""'");
17149 arg7
= static_cast< byte
>(val7
);
17152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17153 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17154 wxPyEndAllowThreads(__tstate
);
17155 if (PyErr_Occurred()) SWIG_fail
;
17158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17160 if (SWIG_IsTmpObj(res2
)) {
17161 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg2
)));
17163 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17164 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, new_flags
));
17166 if (SWIG_IsTmpObj(res3
)) {
17167 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
17169 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17170 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
17172 if (SWIG_IsTmpObj(res4
)) {
17173 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
17175 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17176 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
17184 SWIGINTERN PyObject
*_wrap_Image_ConvertAlphaToMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17185 PyObject
*resultobj
= 0;
17186 wxImage
*arg1
= (wxImage
*) 0 ;
17187 byte arg2
= (byte
) wxIMAGE_ALPHA_THRESHOLD
;
17191 unsigned char val2
;
17193 PyObject
* obj0
= 0 ;
17194 PyObject
* obj1
= 0 ;
17195 char * kwnames
[] = {
17196 (char *) "self",(char *) "threshold", NULL
17199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
17201 if (!SWIG_IsOK(res1
)) {
17202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ConvertAlphaToMask" "', expected argument " "1"" of type '" "wxImage *""'");
17204 arg1
= reinterpret_cast< wxImage
* >(argp1
);
17206 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
17207 if (!SWIG_IsOK(ecode2
)) {
17208 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ConvertAlphaToMask" "', expected argument " "2"" of type '" "byte""'");
17210 arg2
= static_cast< byte
>(val2
);
17213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17214 result
= (bool)(arg1
)->ConvertAlphaToMask(arg2
);
17215 wxPyEndAllowThreads(__tstate
);
17216 if (PyErr_Occurred()) SWIG_fail
;
17219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17227 SWIGINTERN PyObject
*_wrap_Image_ConvertColourToAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17228 PyObject
*resultobj
= 0;
17229 wxImage
*arg1
= (wxImage
*) 0 ;
17236 unsigned char val2
;
17238 unsigned char val3
;
17240 unsigned char val4
;
17242 PyObject
* obj0
= 0 ;
17243 PyObject
* obj1
= 0 ;
17244 PyObject
* obj2
= 0 ;
17245 PyObject
* obj3
= 0 ;
17246 char * kwnames
[] = {
17247 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
17250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertColourToAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
17252 if (!SWIG_IsOK(res1
)) {
17253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ConvertColourToAlpha" "', expected argument " "1"" of type '" "wxImage *""'");
17255 arg1
= reinterpret_cast< wxImage
* >(argp1
);
17256 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
17257 if (!SWIG_IsOK(ecode2
)) {
17258 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ConvertColourToAlpha" "', expected argument " "2"" of type '" "byte""'");
17260 arg2
= static_cast< byte
>(val2
);
17261 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
17262 if (!SWIG_IsOK(ecode3
)) {
17263 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_ConvertColourToAlpha" "', expected argument " "3"" of type '" "byte""'");
17265 arg3
= static_cast< byte
>(val3
);
17266 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
17267 if (!SWIG_IsOK(ecode4
)) {
17268 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_ConvertColourToAlpha" "', expected argument " "4"" of type '" "byte""'");
17270 arg4
= static_cast< byte
>(val4
);
17272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17273 result
= (bool)(arg1
)->ConvertColourToAlpha(arg2
,arg3
,arg4
);
17274 wxPyEndAllowThreads(__tstate
);
17275 if (PyErr_Occurred()) SWIG_fail
;
17278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17286 SWIGINTERN PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17287 PyObject
*resultobj
= 0;
17288 wxImage
*arg1
= (wxImage
*) 0 ;
17289 wxImage
*arg2
= 0 ;
17298 unsigned char val3
;
17300 unsigned char val4
;
17302 unsigned char val5
;
17304 PyObject
* obj0
= 0 ;
17305 PyObject
* obj1
= 0 ;
17306 PyObject
* obj2
= 0 ;
17307 PyObject
* obj3
= 0 ;
17308 PyObject
* obj4
= 0 ;
17309 char * kwnames
[] = {
17310 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
17313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
17315 if (!SWIG_IsOK(res1
)) {
17316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetMaskFromImage" "', expected argument " "1"" of type '" "wxImage *""'");
17318 arg1
= reinterpret_cast< wxImage
* >(argp1
);
17319 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImage
, 0 | 0);
17320 if (!SWIG_IsOK(res2
)) {
17321 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Image_SetMaskFromImage" "', expected argument " "2"" of type '" "wxImage const &""'");
17324 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Image_SetMaskFromImage" "', expected argument " "2"" of type '" "wxImage const &""'");
17326 arg2
= reinterpret_cast< wxImage
* >(argp2
);
17327 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
17328 if (!SWIG_IsOK(ecode3
)) {
17329 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SetMaskFromImage" "', expected argument " "3"" of type '" "byte""'");
17331 arg3
= static_cast< byte
>(val3
);
17332 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
17333 if (!SWIG_IsOK(ecode4
)) {
17334 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_SetMaskFromImage" "', expected argument " "4"" of type '" "byte""'");
17336 arg4
= static_cast< byte
>(val4
);
17337 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
17338 if (!SWIG_IsOK(ecode5
)) {
17339 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_SetMaskFromImage" "', expected argument " "5"" of type '" "byte""'");
17341 arg5
= static_cast< byte
>(val5
);
17343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17344 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
17345 wxPyEndAllowThreads(__tstate
);
17346 if (PyErr_Occurred()) SWIG_fail
;
17349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17357 SWIGINTERN PyObject
*_wrap_Image_CanRead(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17358 PyObject
*resultobj
= 0;
17359 wxString
*arg1
= 0 ;
17361 bool temp1
= false ;
17362 PyObject
* obj0
= 0 ;
17363 char * kwnames
[] = {
17364 (char *) "filename", NULL
17367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) SWIG_fail
;
17369 arg1
= wxString_in_helper(obj0
);
17370 if (arg1
== NULL
) SWIG_fail
;
17374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17375 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
17376 wxPyEndAllowThreads(__tstate
);
17377 if (PyErr_Occurred()) SWIG_fail
;
17380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17396 SWIGINTERN PyObject
*_wrap_Image_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17397 PyObject
*resultobj
= 0;
17398 wxString
*arg1
= 0 ;
17399 long arg2
= (long) wxBITMAP_TYPE_ANY
;
17401 bool temp1
= false ;
17404 PyObject
* obj0
= 0 ;
17405 PyObject
* obj1
= 0 ;
17406 char * kwnames
[] = {
17407 (char *) "filename",(char *) "type", NULL
17410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17412 arg1
= wxString_in_helper(obj0
);
17413 if (arg1
== NULL
) SWIG_fail
;
17417 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
17418 if (!SWIG_IsOK(ecode2
)) {
17419 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_GetImageCount" "', expected argument " "2"" of type '" "long""'");
17421 arg2
= static_cast< long >(val2
);
17424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17425 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
17426 wxPyEndAllowThreads(__tstate
);
17427 if (PyErr_Occurred()) SWIG_fail
;
17429 resultobj
= SWIG_From_int(static_cast< int >(result
));
17444 SWIGINTERN PyObject
*_wrap_Image_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17445 PyObject
*resultobj
= 0;
17446 wxImage
*arg1
= (wxImage
*) 0 ;
17447 wxString
*arg2
= 0 ;
17448 long arg3
= (long) wxBITMAP_TYPE_ANY
;
17449 int arg4
= (int) -1 ;
17453 bool temp2
= false ;
17458 PyObject
* obj0
= 0 ;
17459 PyObject
* obj1
= 0 ;
17460 PyObject
* obj2
= 0 ;
17461 PyObject
* obj3
= 0 ;
17462 char * kwnames
[] = {
17463 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
17466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
17468 if (!SWIG_IsOK(res1
)) {
17469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_LoadFile" "', expected argument " "1"" of type '" "wxImage *""'");
17471 arg1
= reinterpret_cast< wxImage
* >(argp1
);
17473 arg2
= wxString_in_helper(obj1
);
17474 if (arg2
== NULL
) SWIG_fail
;
17478 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
17479 if (!SWIG_IsOK(ecode3
)) {
17480 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_LoadFile" "', expected argument " "3"" of type '" "long""'");
17482 arg3
= static_cast< long >(val3
);
17485 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17486 if (!SWIG_IsOK(ecode4
)) {
17487 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_LoadFile" "', expected argument " "4"" of type '" "int""'");
17489 arg4
= static_cast< int >(val4
);
17492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17493 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
17494 wxPyEndAllowThreads(__tstate
);
17495 if (PyErr_Occurred()) SWIG_fail
;
17498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17514 SWIGINTERN PyObject
*_wrap_Image_LoadMimeFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17515 PyObject
*resultobj
= 0;
17516 wxImage
*arg1
= (wxImage
*) 0 ;
17517 wxString
*arg2
= 0 ;
17518 wxString
*arg3
= 0 ;
17519 int arg4
= (int) -1 ;
17523 bool temp2
= false ;
17524 bool temp3
= false ;
17527 PyObject
* obj0
= 0 ;
17528 PyObject
* obj1
= 0 ;
17529 PyObject
* obj2
= 0 ;
17530 PyObject
* obj3
= 0 ;
17531 char * kwnames
[] = {
17532 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
17535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
17537 if (!SWIG_IsOK(res1
)) {
17538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_LoadMimeFile" "', expected argument " "1"" of type '" "wxImage *""'");
17540 arg1
= reinterpret_cast< wxImage
* >(argp1
);
17542 arg2
= wxString_in_helper(obj1
);
17543 if (arg2
== NULL
) SWIG_fail
;
17547 arg3
= wxString_in_helper(obj2
);
17548 if (arg3
== NULL
) SWIG_fail
;
17552 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17553 if (!SWIG_IsOK(ecode4
)) {
17554 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_LoadMimeFile" "', expected argument " "4"" of type '" "int""'");
17556 arg4
= static_cast< int >(val4
);
17559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17560 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
17561 wxPyEndAllowThreads(__tstate
);
17562 if (PyErr_Occurred()) SWIG_fail
;
17565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17589 SWIGINTERN PyObject
*_wrap_Image_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17590 PyObject
*resultobj
= 0;
17591 wxImage
*arg1
= (wxImage
*) 0 ;
17592 wxString
*arg2
= 0 ;
17597 bool temp2
= false ;
17600 PyObject
* obj0
= 0 ;
17601 PyObject
* obj1
= 0 ;
17602 PyObject
* obj2
= 0 ;
17603 char * kwnames
[] = {
17604 (char *) "self",(char *) "name",(char *) "type", NULL
17607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
17609 if (!SWIG_IsOK(res1
)) {
17610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SaveFile" "', expected argument " "1"" of type '" "wxImage *""'");
17612 arg1
= reinterpret_cast< wxImage
* >(argp1
);
17614 arg2
= wxString_in_helper(obj1
);
17615 if (arg2
== NULL
) SWIG_fail
;
17618 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17619 if (!SWIG_IsOK(ecode3
)) {
17620 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SaveFile" "', expected argument " "3"" of type '" "int""'");
17622 arg3
= static_cast< int >(val3
);
17624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17625 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
17626 wxPyEndAllowThreads(__tstate
);
17627 if (PyErr_Occurred()) SWIG_fail
;
17630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17646 SWIGINTERN PyObject
*_wrap_Image_SaveMimeFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17647 PyObject
*resultobj
= 0;
17648 wxImage
*arg1
= (wxImage
*) 0 ;
17649 wxString
*arg2
= 0 ;
17650 wxString
*arg3
= 0 ;
17654 bool temp2
= false ;
17655 bool temp3
= false ;
17656 PyObject
* obj0
= 0 ;
17657 PyObject
* obj1
= 0 ;
17658 PyObject
* obj2
= 0 ;
17659 char * kwnames
[] = {
17660 (char *) "self",(char *) "name",(char *) "mimetype", NULL
17663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
17665 if (!SWIG_IsOK(res1
)) {
17666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SaveMimeFile" "', expected argument " "1"" of type '" "wxImage *""'");
17668 arg1
= reinterpret_cast< wxImage
* >(argp1
);
17670 arg2
= wxString_in_helper(obj1
);
17671 if (arg2
== NULL
) SWIG_fail
;
17675 arg3
= wxString_in_helper(obj2
);
17676 if (arg3
== NULL
) SWIG_fail
;
17680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17681 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17682 wxPyEndAllowThreads(__tstate
);
17683 if (PyErr_Occurred()) SWIG_fail
;
17686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17710 SWIGINTERN PyObject
*_wrap_Image_CanReadStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17711 PyObject
*resultobj
= 0;
17712 wxInputStream
*arg1
= 0 ;
17714 wxPyInputStream
*temp1
;
17716 PyObject
* obj0
= 0 ;
17717 char * kwnames
[] = {
17718 (char *) "stream", NULL
17721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) SWIG_fail
;
17723 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
17724 arg1
= temp1
->m_wxis
;
17727 PyErr_Clear(); // clear the failure of the wxPyConvert above
17728 arg1
= wxPyCBInputStream_create(obj0
, false);
17729 if (arg1
== NULL
) {
17730 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
17737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17738 result
= (bool)wxImage::CanRead(*arg1
);
17739 wxPyEndAllowThreads(__tstate
);
17740 if (PyErr_Occurred()) SWIG_fail
;
17743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17746 if (created1
) delete arg1
;
17751 if (created1
) delete arg1
;
17757 SWIGINTERN PyObject
*_wrap_Image_LoadStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17758 PyObject
*resultobj
= 0;
17759 wxImage
*arg1
= (wxImage
*) 0 ;
17760 wxInputStream
*arg2
= 0 ;
17761 long arg3
= (long) wxBITMAP_TYPE_ANY
;
17762 int arg4
= (int) -1 ;
17766 wxPyInputStream
*temp2
;
17772 PyObject
* obj0
= 0 ;
17773 PyObject
* obj1
= 0 ;
17774 PyObject
* obj2
= 0 ;
17775 PyObject
* obj3
= 0 ;
17776 char * kwnames
[] = {
17777 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
17780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
17782 if (!SWIG_IsOK(res1
)) {
17783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_LoadStream" "', expected argument " "1"" of type '" "wxImage *""'");
17785 arg1
= reinterpret_cast< wxImage
* >(argp1
);
17787 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
17788 arg2
= temp2
->m_wxis
;
17791 PyErr_Clear(); // clear the failure of the wxPyConvert above
17792 arg2
= wxPyCBInputStream_create(obj1
, false);
17793 if (arg2
== NULL
) {
17794 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
17801 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
17802 if (!SWIG_IsOK(ecode3
)) {
17803 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_LoadStream" "', expected argument " "3"" of type '" "long""'");
17805 arg3
= static_cast< long >(val3
);
17808 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17809 if (!SWIG_IsOK(ecode4
)) {
17810 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_LoadStream" "', expected argument " "4"" of type '" "int""'");
17812 arg4
= static_cast< int >(val4
);
17815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17816 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
17817 wxPyEndAllowThreads(__tstate
);
17818 if (PyErr_Occurred()) SWIG_fail
;
17821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17824 if (created2
) delete arg2
;
17829 if (created2
) delete arg2
;
17835 SWIGINTERN PyObject
*_wrap_Image_LoadMimeStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17836 PyObject
*resultobj
= 0;
17837 wxImage
*arg1
= (wxImage
*) 0 ;
17838 wxInputStream
*arg2
= 0 ;
17839 wxString
*arg3
= 0 ;
17840 int arg4
= (int) -1 ;
17844 wxPyInputStream
*temp2
;
17846 bool temp3
= false ;
17849 PyObject
* obj0
= 0 ;
17850 PyObject
* obj1
= 0 ;
17851 PyObject
* obj2
= 0 ;
17852 PyObject
* obj3
= 0 ;
17853 char * kwnames
[] = {
17854 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
17857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
17859 if (!SWIG_IsOK(res1
)) {
17860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_LoadMimeStream" "', expected argument " "1"" of type '" "wxImage *""'");
17862 arg1
= reinterpret_cast< wxImage
* >(argp1
);
17864 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
17865 arg2
= temp2
->m_wxis
;
17868 PyErr_Clear(); // clear the failure of the wxPyConvert above
17869 arg2
= wxPyCBInputStream_create(obj1
, false);
17870 if (arg2
== NULL
) {
17871 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
17878 arg3
= wxString_in_helper(obj2
);
17879 if (arg3
== NULL
) SWIG_fail
;
17883 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17884 if (!SWIG_IsOK(ecode4
)) {
17885 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_LoadMimeStream" "', expected argument " "4"" of type '" "int""'");
17887 arg4
= static_cast< int >(val4
);
17890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17891 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
17892 wxPyEndAllowThreads(__tstate
);
17893 if (PyErr_Occurred()) SWIG_fail
;
17896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17899 if (created2
) delete arg2
;
17908 if (created2
) delete arg2
;
17918 SWIGINTERN PyObject
*_wrap_Image_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17919 PyObject
*resultobj
= 0;
17920 wxImage
*arg1
= (wxImage
*) 0 ;
17924 PyObject
*swig_obj
[1] ;
17926 if (!args
) SWIG_fail
;
17927 swig_obj
[0] = args
;
17928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
17929 if (!SWIG_IsOK(res1
)) {
17930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_IsOk" "', expected argument " "1"" of type '" "wxImage *""'");
17932 arg1
= reinterpret_cast< wxImage
* >(argp1
);
17934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17935 result
= (bool)(arg1
)->IsOk();
17936 wxPyEndAllowThreads(__tstate
);
17937 if (PyErr_Occurred()) SWIG_fail
;
17940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17948 SWIGINTERN PyObject
*_wrap_Image_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17949 PyObject
*resultobj
= 0;
17950 wxImage
*arg1
= (wxImage
*) 0 ;
17954 PyObject
*swig_obj
[1] ;
17956 if (!args
) SWIG_fail
;
17957 swig_obj
[0] = args
;
17958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
17959 if (!SWIG_IsOK(res1
)) {
17960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetWidth" "', expected argument " "1"" of type '" "wxImage *""'");
17962 arg1
= reinterpret_cast< wxImage
* >(argp1
);
17964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17965 result
= (int)(arg1
)->GetWidth();
17966 wxPyEndAllowThreads(__tstate
);
17967 if (PyErr_Occurred()) SWIG_fail
;
17969 resultobj
= SWIG_From_int(static_cast< int >(result
));
17976 SWIGINTERN PyObject
*_wrap_Image_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17977 PyObject
*resultobj
= 0;
17978 wxImage
*arg1
= (wxImage
*) 0 ;
17982 PyObject
*swig_obj
[1] ;
17984 if (!args
) SWIG_fail
;
17985 swig_obj
[0] = args
;
17986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
17987 if (!SWIG_IsOK(res1
)) {
17988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetHeight" "', expected argument " "1"" of type '" "wxImage *""'");
17990 arg1
= reinterpret_cast< wxImage
* >(argp1
);
17992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17993 result
= (int)(arg1
)->GetHeight();
17994 wxPyEndAllowThreads(__tstate
);
17995 if (PyErr_Occurred()) SWIG_fail
;
17997 resultobj
= SWIG_From_int(static_cast< int >(result
));
18004 SWIGINTERN PyObject
*_wrap_Image_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18005 PyObject
*resultobj
= 0;
18006 wxImage
*arg1
= (wxImage
*) 0 ;
18010 PyObject
*swig_obj
[1] ;
18012 if (!args
) SWIG_fail
;
18013 swig_obj
[0] = args
;
18014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18015 if (!SWIG_IsOK(res1
)) {
18016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetSize" "', expected argument " "1"" of type '" "wxImage *""'");
18018 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18021 result
= wxImage_GetSize(arg1
);
18022 wxPyEndAllowThreads(__tstate
);
18023 if (PyErr_Occurred()) SWIG_fail
;
18025 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
18032 SWIGINTERN PyObject
*_wrap_Image_GetSubImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18033 PyObject
*resultobj
= 0;
18034 wxImage
*arg1
= (wxImage
*) 0 ;
18036 SwigValueWrapper
<wxImage
> result
;
18040 PyObject
* obj0
= 0 ;
18041 PyObject
* obj1
= 0 ;
18042 char * kwnames
[] = {
18043 (char *) "self",(char *) "rect", NULL
18046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18048 if (!SWIG_IsOK(res1
)) {
18049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetSubImage" "', expected argument " "1"" of type '" "wxImage *""'");
18051 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18054 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18058 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
18059 wxPyEndAllowThreads(__tstate
);
18060 if (PyErr_Occurred()) SWIG_fail
;
18062 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
18069 SWIGINTERN PyObject
*_wrap_Image_Size(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18070 PyObject
*resultobj
= 0;
18071 wxImage
*arg1
= (wxImage
*) 0 ;
18073 wxPoint
*arg3
= 0 ;
18074 int arg4
= (int) -1 ;
18075 int arg5
= (int) -1 ;
18076 int arg6
= (int) -1 ;
18077 SwigValueWrapper
<wxImage
> result
;
18088 PyObject
* obj0
= 0 ;
18089 PyObject
* obj1
= 0 ;
18090 PyObject
* obj2
= 0 ;
18091 PyObject
* obj3
= 0 ;
18092 PyObject
* obj4
= 0 ;
18093 PyObject
* obj5
= 0 ;
18094 char * kwnames
[] = {
18095 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
18098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Image_Size",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18100 if (!SWIG_IsOK(res1
)) {
18101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Size" "', expected argument " "1"" of type '" "wxImage const *""'");
18103 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18106 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18110 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18113 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18114 if (!SWIG_IsOK(ecode4
)) {
18115 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Size" "', expected argument " "4"" of type '" "int""'");
18117 arg4
= static_cast< int >(val4
);
18120 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18121 if (!SWIG_IsOK(ecode5
)) {
18122 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_Size" "', expected argument " "5"" of type '" "int""'");
18124 arg5
= static_cast< int >(val5
);
18127 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18128 if (!SWIG_IsOK(ecode6
)) {
18129 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Image_Size" "', expected argument " "6"" of type '" "int""'");
18131 arg6
= static_cast< int >(val6
);
18134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18135 result
= ((wxImage
const *)arg1
)->Size((wxSize
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
,arg6
);
18136 wxPyEndAllowThreads(__tstate
);
18137 if (PyErr_Occurred()) SWIG_fail
;
18139 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
18146 SWIGINTERN PyObject
*_wrap_Image_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18147 PyObject
*resultobj
= 0;
18148 wxImage
*arg1
= (wxImage
*) 0 ;
18149 SwigValueWrapper
<wxImage
> result
;
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_Copy" "', expected argument " "1"" of type '" "wxImage *""'");
18160 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18163 result
= (arg1
)->Copy();
18164 wxPyEndAllowThreads(__tstate
);
18165 if (PyErr_Occurred()) SWIG_fail
;
18167 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
18174 SWIGINTERN PyObject
*_wrap_Image_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18175 PyObject
*resultobj
= 0;
18176 wxImage
*arg1
= (wxImage
*) 0 ;
18177 wxImage
*arg2
= 0 ;
18188 PyObject
* obj0
= 0 ;
18189 PyObject
* obj1
= 0 ;
18190 PyObject
* obj2
= 0 ;
18191 PyObject
* obj3
= 0 ;
18192 char * kwnames
[] = {
18193 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
18196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18198 if (!SWIG_IsOK(res1
)) {
18199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Paste" "', expected argument " "1"" of type '" "wxImage *""'");
18201 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18202 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImage
, 0 | 0);
18203 if (!SWIG_IsOK(res2
)) {
18204 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Image_Paste" "', expected argument " "2"" of type '" "wxImage const &""'");
18207 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Image_Paste" "', expected argument " "2"" of type '" "wxImage const &""'");
18209 arg2
= reinterpret_cast< wxImage
* >(argp2
);
18210 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18211 if (!SWIG_IsOK(ecode3
)) {
18212 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_Paste" "', expected argument " "3"" of type '" "int""'");
18214 arg3
= static_cast< int >(val3
);
18215 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18216 if (!SWIG_IsOK(ecode4
)) {
18217 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Paste" "', expected argument " "4"" of type '" "int""'");
18219 arg4
= static_cast< int >(val4
);
18221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18222 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
18223 wxPyEndAllowThreads(__tstate
);
18224 if (PyErr_Occurred()) SWIG_fail
;
18226 resultobj
= SWIG_Py_Void();
18233 SWIGINTERN PyObject
*_wrap_Image_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18234 PyObject
*resultobj
= 0;
18235 wxImage
*arg1
= (wxImage
*) 0 ;
18236 PyObject
*result
= 0 ;
18239 PyObject
*swig_obj
[1] ;
18241 if (!args
) SWIG_fail
;
18242 swig_obj
[0] = args
;
18243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18244 if (!SWIG_IsOK(res1
)) {
18245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetData" "', expected argument " "1"" of type '" "wxImage *""'");
18247 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18250 result
= (PyObject
*)wxImage_GetData(arg1
);
18251 wxPyEndAllowThreads(__tstate
);
18252 if (PyErr_Occurred()) SWIG_fail
;
18254 resultobj
= result
;
18261 SWIGINTERN PyObject
*_wrap_Image_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18262 PyObject
*resultobj
= 0;
18263 wxImage
*arg1
= (wxImage
*) 0 ;
18269 PyObject
* obj0
= 0 ;
18270 PyObject
* obj1
= 0 ;
18271 char * kwnames
[] = {
18272 (char *) "self",(char *) "data", NULL
18275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18277 if (!SWIG_IsOK(res1
)) {
18278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetData" "', expected argument " "1"" of type '" "wxImage *""'");
18280 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18282 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
18286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18287 wxImage_SetData(arg1
,arg2
,arg3
);
18288 wxPyEndAllowThreads(__tstate
);
18289 if (PyErr_Occurred()) SWIG_fail
;
18291 resultobj
= SWIG_Py_Void();
18298 SWIGINTERN PyObject
*_wrap_Image_GetDataBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18299 PyObject
*resultobj
= 0;
18300 wxImage
*arg1
= (wxImage
*) 0 ;
18301 PyObject
*result
= 0 ;
18304 PyObject
*swig_obj
[1] ;
18306 if (!args
) SWIG_fail
;
18307 swig_obj
[0] = args
;
18308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18309 if (!SWIG_IsOK(res1
)) {
18310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetDataBuffer" "', expected argument " "1"" of type '" "wxImage *""'");
18312 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18315 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
18316 wxPyEndAllowThreads(__tstate
);
18317 if (PyErr_Occurred()) SWIG_fail
;
18319 resultobj
= result
;
18326 SWIGINTERN PyObject
*_wrap_Image_SetDataBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18327 PyObject
*resultobj
= 0;
18328 wxImage
*arg1
= (wxImage
*) 0 ;
18334 PyObject
* obj0
= 0 ;
18335 PyObject
* obj1
= 0 ;
18336 char * kwnames
[] = {
18337 (char *) "self",(char *) "data", NULL
18340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18342 if (!SWIG_IsOK(res1
)) {
18343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetDataBuffer" "', expected argument " "1"" of type '" "wxImage *""'");
18345 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18347 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
18351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18352 wxImage_SetDataBuffer(arg1
,arg2
,arg3
);
18353 wxPyEndAllowThreads(__tstate
);
18354 if (PyErr_Occurred()) SWIG_fail
;
18356 resultobj
= SWIG_Py_Void();
18363 SWIGINTERN PyObject
*_wrap_Image_GetAlphaData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18364 PyObject
*resultobj
= 0;
18365 wxImage
*arg1
= (wxImage
*) 0 ;
18366 PyObject
*result
= 0 ;
18369 PyObject
*swig_obj
[1] ;
18371 if (!args
) SWIG_fail
;
18372 swig_obj
[0] = args
;
18373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18374 if (!SWIG_IsOK(res1
)) {
18375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetAlphaData" "', expected argument " "1"" of type '" "wxImage *""'");
18377 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18380 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
18381 wxPyEndAllowThreads(__tstate
);
18382 if (PyErr_Occurred()) SWIG_fail
;
18384 resultobj
= result
;
18391 SWIGINTERN PyObject
*_wrap_Image_SetAlphaData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18392 PyObject
*resultobj
= 0;
18393 wxImage
*arg1
= (wxImage
*) 0 ;
18399 PyObject
* obj0
= 0 ;
18400 PyObject
* obj1
= 0 ;
18401 char * kwnames
[] = {
18402 (char *) "self",(char *) "alpha", NULL
18405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18407 if (!SWIG_IsOK(res1
)) {
18408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetAlphaData" "', expected argument " "1"" of type '" "wxImage *""'");
18410 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18412 if (obj1
!= Py_None
) {
18413 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
18418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18419 wxImage_SetAlphaData(arg1
,arg2
,arg3
);
18420 wxPyEndAllowThreads(__tstate
);
18421 if (PyErr_Occurred()) SWIG_fail
;
18423 resultobj
= SWIG_Py_Void();
18430 SWIGINTERN PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18431 PyObject
*resultobj
= 0;
18432 wxImage
*arg1
= (wxImage
*) 0 ;
18433 PyObject
*result
= 0 ;
18436 PyObject
*swig_obj
[1] ;
18438 if (!args
) SWIG_fail
;
18439 swig_obj
[0] = args
;
18440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18441 if (!SWIG_IsOK(res1
)) {
18442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetAlphaBuffer" "', expected argument " "1"" of type '" "wxImage *""'");
18444 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18447 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
18448 wxPyEndAllowThreads(__tstate
);
18449 if (PyErr_Occurred()) SWIG_fail
;
18451 resultobj
= result
;
18458 SWIGINTERN PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18459 PyObject
*resultobj
= 0;
18460 wxImage
*arg1
= (wxImage
*) 0 ;
18466 PyObject
* obj0
= 0 ;
18467 PyObject
* obj1
= 0 ;
18468 char * kwnames
[] = {
18469 (char *) "self",(char *) "alpha", NULL
18472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18474 if (!SWIG_IsOK(res1
)) {
18475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetAlphaBuffer" "', expected argument " "1"" of type '" "wxImage *""'");
18477 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18479 if (obj1
!= Py_None
) {
18480 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
18485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18486 wxImage_SetAlphaBuffer(arg1
,arg2
,arg3
);
18487 wxPyEndAllowThreads(__tstate
);
18488 if (PyErr_Occurred()) SWIG_fail
;
18490 resultobj
= SWIG_Py_Void();
18497 SWIGINTERN PyObject
*_wrap_Image_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18498 PyObject
*resultobj
= 0;
18499 wxImage
*arg1
= (wxImage
*) 0 ;
18505 unsigned char val2
;
18507 unsigned char val3
;
18509 unsigned char val4
;
18511 PyObject
* obj0
= 0 ;
18512 PyObject
* obj1
= 0 ;
18513 PyObject
* obj2
= 0 ;
18514 PyObject
* obj3
= 0 ;
18515 char * kwnames
[] = {
18516 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
18519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18521 if (!SWIG_IsOK(res1
)) {
18522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetMaskColour" "', expected argument " "1"" of type '" "wxImage *""'");
18524 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18525 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
18526 if (!SWIG_IsOK(ecode2
)) {
18527 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_SetMaskColour" "', expected argument " "2"" of type '" "byte""'");
18529 arg2
= static_cast< byte
>(val2
);
18530 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
18531 if (!SWIG_IsOK(ecode3
)) {
18532 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SetMaskColour" "', expected argument " "3"" of type '" "byte""'");
18534 arg3
= static_cast< byte
>(val3
);
18535 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
18536 if (!SWIG_IsOK(ecode4
)) {
18537 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_SetMaskColour" "', expected argument " "4"" of type '" "byte""'");
18539 arg4
= static_cast< byte
>(val4
);
18541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18542 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
18543 wxPyEndAllowThreads(__tstate
);
18544 if (PyErr_Occurred()) SWIG_fail
;
18546 resultobj
= SWIG_Py_Void();
18553 SWIGINTERN PyObject
*_wrap_Image_GetOrFindMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18554 PyObject
*resultobj
= 0;
18555 wxImage
*arg1
= (wxImage
*) 0 ;
18556 byte
*arg2
= (byte
*) 0 ;
18557 byte
*arg3
= (byte
*) 0 ;
18558 byte
*arg4
= (byte
*) 0 ;
18562 int res2
= SWIG_TMPOBJ
;
18564 int res3
= SWIG_TMPOBJ
;
18566 int res4
= SWIG_TMPOBJ
;
18567 PyObject
*swig_obj
[1] ;
18572 if (!args
) SWIG_fail
;
18573 swig_obj
[0] = args
;
18574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18575 if (!SWIG_IsOK(res1
)) {
18576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetOrFindMaskColour" "', expected argument " "1"" of type '" "wxImage const *""'");
18578 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18581 ((wxImage
const *)arg1
)->GetOrFindMaskColour(arg2
,arg3
,arg4
);
18582 wxPyEndAllowThreads(__tstate
);
18583 if (PyErr_Occurred()) SWIG_fail
;
18585 resultobj
= SWIG_Py_Void();
18586 if (SWIG_IsTmpObj(res2
)) {
18587 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg2
)));
18589 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18590 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, new_flags
));
18592 if (SWIG_IsTmpObj(res3
)) {
18593 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
18595 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18596 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
18598 if (SWIG_IsTmpObj(res4
)) {
18599 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
18601 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18602 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
18610 SWIGINTERN PyObject
*_wrap_Image_GetMaskRed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18611 PyObject
*resultobj
= 0;
18612 wxImage
*arg1
= (wxImage
*) 0 ;
18616 PyObject
*swig_obj
[1] ;
18618 if (!args
) SWIG_fail
;
18619 swig_obj
[0] = args
;
18620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18621 if (!SWIG_IsOK(res1
)) {
18622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetMaskRed" "', expected argument " "1"" of type '" "wxImage *""'");
18624 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18627 result
= (byte
)(arg1
)->GetMaskRed();
18628 wxPyEndAllowThreads(__tstate
);
18629 if (PyErr_Occurred()) SWIG_fail
;
18631 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
18638 SWIGINTERN PyObject
*_wrap_Image_GetMaskGreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18639 PyObject
*resultobj
= 0;
18640 wxImage
*arg1
= (wxImage
*) 0 ;
18644 PyObject
*swig_obj
[1] ;
18646 if (!args
) SWIG_fail
;
18647 swig_obj
[0] = args
;
18648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18649 if (!SWIG_IsOK(res1
)) {
18650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetMaskGreen" "', expected argument " "1"" of type '" "wxImage *""'");
18652 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18655 result
= (byte
)(arg1
)->GetMaskGreen();
18656 wxPyEndAllowThreads(__tstate
);
18657 if (PyErr_Occurred()) SWIG_fail
;
18659 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
18666 SWIGINTERN PyObject
*_wrap_Image_GetMaskBlue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18667 PyObject
*resultobj
= 0;
18668 wxImage
*arg1
= (wxImage
*) 0 ;
18672 PyObject
*swig_obj
[1] ;
18674 if (!args
) SWIG_fail
;
18675 swig_obj
[0] = args
;
18676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18677 if (!SWIG_IsOK(res1
)) {
18678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetMaskBlue" "', expected argument " "1"" of type '" "wxImage *""'");
18680 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18683 result
= (byte
)(arg1
)->GetMaskBlue();
18684 wxPyEndAllowThreads(__tstate
);
18685 if (PyErr_Occurred()) SWIG_fail
;
18687 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
18694 SWIGINTERN PyObject
*_wrap_Image_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18695 PyObject
*resultobj
= 0;
18696 wxImage
*arg1
= (wxImage
*) 0 ;
18697 bool arg2
= (bool) true ;
18702 PyObject
* obj0
= 0 ;
18703 PyObject
* obj1
= 0 ;
18704 char * kwnames
[] = {
18705 (char *) "self",(char *) "mask", NULL
18708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18710 if (!SWIG_IsOK(res1
)) {
18711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetMask" "', expected argument " "1"" of type '" "wxImage *""'");
18713 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18715 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18716 if (!SWIG_IsOK(ecode2
)) {
18717 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_SetMask" "', expected argument " "2"" of type '" "bool""'");
18719 arg2
= static_cast< bool >(val2
);
18722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18723 (arg1
)->SetMask(arg2
);
18724 wxPyEndAllowThreads(__tstate
);
18725 if (PyErr_Occurred()) SWIG_fail
;
18727 resultobj
= SWIG_Py_Void();
18734 SWIGINTERN PyObject
*_wrap_Image_HasMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18735 PyObject
*resultobj
= 0;
18736 wxImage
*arg1
= (wxImage
*) 0 ;
18740 PyObject
*swig_obj
[1] ;
18742 if (!args
) SWIG_fail
;
18743 swig_obj
[0] = args
;
18744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18745 if (!SWIG_IsOK(res1
)) {
18746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HasMask" "', expected argument " "1"" of type '" "wxImage *""'");
18748 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18751 result
= (bool)(arg1
)->HasMask();
18752 wxPyEndAllowThreads(__tstate
);
18753 if (PyErr_Occurred()) SWIG_fail
;
18756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18764 SWIGINTERN PyObject
*_wrap_Image_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18765 PyObject
*resultobj
= 0;
18766 wxImage
*arg1
= (wxImage
*) 0 ;
18768 wxPoint
*arg3
= 0 ;
18769 bool arg4
= (bool) true ;
18770 wxPoint
*arg5
= (wxPoint
*) NULL
;
18771 SwigValueWrapper
<wxImage
> result
;
18781 PyObject
* obj0
= 0 ;
18782 PyObject
* obj1
= 0 ;
18783 PyObject
* obj2
= 0 ;
18784 PyObject
* obj3
= 0 ;
18785 PyObject
* obj4
= 0 ;
18786 char * kwnames
[] = {
18787 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
18790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18792 if (!SWIG_IsOK(res1
)) {
18793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Rotate" "', expected argument " "1"" of type '" "wxImage const *""'");
18795 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18796 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
18797 if (!SWIG_IsOK(ecode2
)) {
18798 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Rotate" "', expected argument " "2"" of type '" "double""'");
18800 arg2
= static_cast< double >(val2
);
18803 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18806 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
18807 if (!SWIG_IsOK(ecode4
)) {
18808 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Rotate" "', expected argument " "4"" of type '" "bool""'");
18810 arg4
= static_cast< bool >(val4
);
18813 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxPoint
, 0 | 0 );
18814 if (!SWIG_IsOK(res5
)) {
18815 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "Image_Rotate" "', expected argument " "5"" of type '" "wxPoint *""'");
18817 arg5
= reinterpret_cast< wxPoint
* >(argp5
);
18820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18821 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
18822 wxPyEndAllowThreads(__tstate
);
18823 if (PyErr_Occurred()) SWIG_fail
;
18825 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
18832 SWIGINTERN PyObject
*_wrap_Image_Rotate90(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18833 PyObject
*resultobj
= 0;
18834 wxImage
*arg1
= (wxImage
*) 0 ;
18835 bool arg2
= (bool) true ;
18836 SwigValueWrapper
<wxImage
> result
;
18841 PyObject
* obj0
= 0 ;
18842 PyObject
* obj1
= 0 ;
18843 char * kwnames
[] = {
18844 (char *) "self",(char *) "clockwise", NULL
18847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18849 if (!SWIG_IsOK(res1
)) {
18850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Rotate90" "', expected argument " "1"" of type '" "wxImage *""'");
18852 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18854 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18855 if (!SWIG_IsOK(ecode2
)) {
18856 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Rotate90" "', expected argument " "2"" of type '" "bool""'");
18858 arg2
= static_cast< bool >(val2
);
18861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18862 result
= (arg1
)->Rotate90(arg2
);
18863 wxPyEndAllowThreads(__tstate
);
18864 if (PyErr_Occurred()) SWIG_fail
;
18866 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
18873 SWIGINTERN PyObject
*_wrap_Image_Mirror(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18874 PyObject
*resultobj
= 0;
18875 wxImage
*arg1
= (wxImage
*) 0 ;
18876 bool arg2
= (bool) true ;
18877 SwigValueWrapper
<wxImage
> result
;
18882 PyObject
* obj0
= 0 ;
18883 PyObject
* obj1
= 0 ;
18884 char * kwnames
[] = {
18885 (char *) "self",(char *) "horizontally", NULL
18888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18890 if (!SWIG_IsOK(res1
)) {
18891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Mirror" "', expected argument " "1"" of type '" "wxImage *""'");
18893 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18895 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18896 if (!SWIG_IsOK(ecode2
)) {
18897 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Mirror" "', expected argument " "2"" of type '" "bool""'");
18899 arg2
= static_cast< bool >(val2
);
18902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18903 result
= (arg1
)->Mirror(arg2
);
18904 wxPyEndAllowThreads(__tstate
);
18905 if (PyErr_Occurred()) SWIG_fail
;
18907 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
18914 SWIGINTERN PyObject
*_wrap_Image_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18915 PyObject
*resultobj
= 0;
18916 wxImage
*arg1
= (wxImage
*) 0 ;
18925 unsigned char val2
;
18927 unsigned char val3
;
18929 unsigned char val4
;
18931 unsigned char val5
;
18933 unsigned char val6
;
18935 unsigned char val7
;
18937 PyObject
* obj0
= 0 ;
18938 PyObject
* obj1
= 0 ;
18939 PyObject
* obj2
= 0 ;
18940 PyObject
* obj3
= 0 ;
18941 PyObject
* obj4
= 0 ;
18942 PyObject
* obj5
= 0 ;
18943 PyObject
* obj6
= 0 ;
18944 char * kwnames
[] = {
18945 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
18948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18950 if (!SWIG_IsOK(res1
)) {
18951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Replace" "', expected argument " "1"" of type '" "wxImage *""'");
18953 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18954 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
18955 if (!SWIG_IsOK(ecode2
)) {
18956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Replace" "', expected argument " "2"" of type '" "byte""'");
18958 arg2
= static_cast< byte
>(val2
);
18959 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
18960 if (!SWIG_IsOK(ecode3
)) {
18961 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_Replace" "', expected argument " "3"" of type '" "byte""'");
18963 arg3
= static_cast< byte
>(val3
);
18964 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
18965 if (!SWIG_IsOK(ecode4
)) {
18966 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Replace" "', expected argument " "4"" of type '" "byte""'");
18968 arg4
= static_cast< byte
>(val4
);
18969 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
18970 if (!SWIG_IsOK(ecode5
)) {
18971 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_Replace" "', expected argument " "5"" of type '" "byte""'");
18973 arg5
= static_cast< byte
>(val5
);
18974 ecode6
= SWIG_AsVal_unsigned_SS_char(obj5
, &val6
);
18975 if (!SWIG_IsOK(ecode6
)) {
18976 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Image_Replace" "', expected argument " "6"" of type '" "byte""'");
18978 arg6
= static_cast< byte
>(val6
);
18979 ecode7
= SWIG_AsVal_unsigned_SS_char(obj6
, &val7
);
18980 if (!SWIG_IsOK(ecode7
)) {
18981 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Image_Replace" "', expected argument " "7"" of type '" "byte""'");
18983 arg7
= static_cast< byte
>(val7
);
18985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18986 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18987 wxPyEndAllowThreads(__tstate
);
18988 if (PyErr_Occurred()) SWIG_fail
;
18990 resultobj
= SWIG_Py_Void();
18997 SWIGINTERN PyObject
*_wrap_Image_ConvertToGreyscale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18998 PyObject
*resultobj
= 0;
18999 wxImage
*arg1
= (wxImage
*) 0 ;
19000 double arg2
= (double) 0.299 ;
19001 double arg3
= (double) 0.587 ;
19002 double arg4
= (double) 0.114 ;
19003 SwigValueWrapper
<wxImage
> result
;
19012 PyObject
* obj0
= 0 ;
19013 PyObject
* obj1
= 0 ;
19014 PyObject
* obj2
= 0 ;
19015 PyObject
* obj3
= 0 ;
19016 char * kwnames
[] = {
19017 (char *) "self",(char *) "lr",(char *) "lg",(char *) "lb", NULL
19020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_ConvertToGreyscale",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
19022 if (!SWIG_IsOK(res1
)) {
19023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ConvertToGreyscale" "', expected argument " "1"" of type '" "wxImage const *""'");
19025 arg1
= reinterpret_cast< wxImage
* >(argp1
);
19027 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
19028 if (!SWIG_IsOK(ecode2
)) {
19029 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ConvertToGreyscale" "', expected argument " "2"" of type '" "double""'");
19031 arg2
= static_cast< double >(val2
);
19034 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
19035 if (!SWIG_IsOK(ecode3
)) {
19036 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_ConvertToGreyscale" "', expected argument " "3"" of type '" "double""'");
19038 arg3
= static_cast< double >(val3
);
19041 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19042 if (!SWIG_IsOK(ecode4
)) {
19043 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_ConvertToGreyscale" "', expected argument " "4"" of type '" "double""'");
19045 arg4
= static_cast< double >(val4
);
19048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19049 result
= ((wxImage
const *)arg1
)->ConvertToGreyscale(arg2
,arg3
,arg4
);
19050 wxPyEndAllowThreads(__tstate
);
19051 if (PyErr_Occurred()) SWIG_fail
;
19053 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
19060 SWIGINTERN PyObject
*_wrap_Image_ConvertToMono(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19061 PyObject
*resultobj
= 0;
19062 wxImage
*arg1
= (wxImage
*) 0 ;
19066 SwigValueWrapper
<wxImage
> result
;
19069 unsigned char val2
;
19071 unsigned char val3
;
19073 unsigned char val4
;
19075 PyObject
* obj0
= 0 ;
19076 PyObject
* obj1
= 0 ;
19077 PyObject
* obj2
= 0 ;
19078 PyObject
* obj3
= 0 ;
19079 char * kwnames
[] = {
19080 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
19083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
19085 if (!SWIG_IsOK(res1
)) {
19086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ConvertToMono" "', expected argument " "1"" of type '" "wxImage const *""'");
19088 arg1
= reinterpret_cast< wxImage
* >(argp1
);
19089 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
19090 if (!SWIG_IsOK(ecode2
)) {
19091 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ConvertToMono" "', expected argument " "2"" of type '" "byte""'");
19093 arg2
= static_cast< byte
>(val2
);
19094 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
19095 if (!SWIG_IsOK(ecode3
)) {
19096 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_ConvertToMono" "', expected argument " "3"" of type '" "byte""'");
19098 arg3
= static_cast< byte
>(val3
);
19099 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
19100 if (!SWIG_IsOK(ecode4
)) {
19101 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_ConvertToMono" "', expected argument " "4"" of type '" "byte""'");
19103 arg4
= static_cast< byte
>(val4
);
19105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19106 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
19107 wxPyEndAllowThreads(__tstate
);
19108 if (PyErr_Occurred()) SWIG_fail
;
19110 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
19117 SWIGINTERN PyObject
*_wrap_Image_SetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19118 PyObject
*resultobj
= 0;
19119 wxImage
*arg1
= (wxImage
*) 0 ;
19120 wxString
*arg2
= 0 ;
19121 wxString
*arg3
= 0 ;
19124 bool temp2
= false ;
19125 bool temp3
= false ;
19126 PyObject
* obj0
= 0 ;
19127 PyObject
* obj1
= 0 ;
19128 PyObject
* obj2
= 0 ;
19129 char * kwnames
[] = {
19130 (char *) "self",(char *) "name",(char *) "value", NULL
19133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
19135 if (!SWIG_IsOK(res1
)) {
19136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetOption" "', expected argument " "1"" of type '" "wxImage *""'");
19138 arg1
= reinterpret_cast< wxImage
* >(argp1
);
19140 arg2
= wxString_in_helper(obj1
);
19141 if (arg2
== NULL
) SWIG_fail
;
19145 arg3
= wxString_in_helper(obj2
);
19146 if (arg3
== NULL
) SWIG_fail
;
19150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19151 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
19152 wxPyEndAllowThreads(__tstate
);
19153 if (PyErr_Occurred()) SWIG_fail
;
19155 resultobj
= SWIG_Py_Void();
19178 SWIGINTERN PyObject
*_wrap_Image_SetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19179 PyObject
*resultobj
= 0;
19180 wxImage
*arg1
= (wxImage
*) 0 ;
19181 wxString
*arg2
= 0 ;
19185 bool temp2
= false ;
19188 PyObject
* obj0
= 0 ;
19189 PyObject
* obj1
= 0 ;
19190 PyObject
* obj2
= 0 ;
19191 char * kwnames
[] = {
19192 (char *) "self",(char *) "name",(char *) "value", NULL
19195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
19197 if (!SWIG_IsOK(res1
)) {
19198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetOptionInt" "', expected argument " "1"" of type '" "wxImage *""'");
19200 arg1
= reinterpret_cast< wxImage
* >(argp1
);
19202 arg2
= wxString_in_helper(obj1
);
19203 if (arg2
== NULL
) SWIG_fail
;
19206 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19207 if (!SWIG_IsOK(ecode3
)) {
19208 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SetOptionInt" "', expected argument " "3"" of type '" "int""'");
19210 arg3
= static_cast< int >(val3
);
19212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19213 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
19214 wxPyEndAllowThreads(__tstate
);
19215 if (PyErr_Occurred()) SWIG_fail
;
19217 resultobj
= SWIG_Py_Void();
19232 SWIGINTERN PyObject
*_wrap_Image_GetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19233 PyObject
*resultobj
= 0;
19234 wxImage
*arg1
= (wxImage
*) 0 ;
19235 wxString
*arg2
= 0 ;
19239 bool temp2
= false ;
19240 PyObject
* obj0
= 0 ;
19241 PyObject
* obj1
= 0 ;
19242 char * kwnames
[] = {
19243 (char *) "self",(char *) "name", NULL
19246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
19248 if (!SWIG_IsOK(res1
)) {
19249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetOption" "', expected argument " "1"" of type '" "wxImage const *""'");
19251 arg1
= reinterpret_cast< wxImage
* >(argp1
);
19253 arg2
= wxString_in_helper(obj1
);
19254 if (arg2
== NULL
) SWIG_fail
;
19258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19259 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
19260 wxPyEndAllowThreads(__tstate
);
19261 if (PyErr_Occurred()) SWIG_fail
;
19265 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19267 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19284 SWIGINTERN PyObject
*_wrap_Image_GetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19285 PyObject
*resultobj
= 0;
19286 wxImage
*arg1
= (wxImage
*) 0 ;
19287 wxString
*arg2
= 0 ;
19291 bool temp2
= false ;
19292 PyObject
* obj0
= 0 ;
19293 PyObject
* obj1
= 0 ;
19294 char * kwnames
[] = {
19295 (char *) "self",(char *) "name", NULL
19298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
19300 if (!SWIG_IsOK(res1
)) {
19301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetOptionInt" "', expected argument " "1"" of type '" "wxImage const *""'");
19303 arg1
= reinterpret_cast< wxImage
* >(argp1
);
19305 arg2
= wxString_in_helper(obj1
);
19306 if (arg2
== NULL
) SWIG_fail
;
19310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19311 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
19312 wxPyEndAllowThreads(__tstate
);
19313 if (PyErr_Occurred()) SWIG_fail
;
19315 resultobj
= SWIG_From_int(static_cast< int >(result
));
19330 SWIGINTERN PyObject
*_wrap_Image_HasOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19331 PyObject
*resultobj
= 0;
19332 wxImage
*arg1
= (wxImage
*) 0 ;
19333 wxString
*arg2
= 0 ;
19337 bool temp2
= false ;
19338 PyObject
* obj0
= 0 ;
19339 PyObject
* obj1
= 0 ;
19340 char * kwnames
[] = {
19341 (char *) "self",(char *) "name", NULL
19344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
19346 if (!SWIG_IsOK(res1
)) {
19347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HasOption" "', expected argument " "1"" of type '" "wxImage const *""'");
19349 arg1
= reinterpret_cast< wxImage
* >(argp1
);
19351 arg2
= wxString_in_helper(obj1
);
19352 if (arg2
== NULL
) SWIG_fail
;
19356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19357 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
19358 wxPyEndAllowThreads(__tstate
);
19359 if (PyErr_Occurred()) SWIG_fail
;
19362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19378 SWIGINTERN PyObject
*_wrap_Image_CountColours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19379 PyObject
*resultobj
= 0;
19380 wxImage
*arg1
= (wxImage
*) 0 ;
19381 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
19382 unsigned long result
;
19385 unsigned long val2
;
19387 PyObject
* obj0
= 0 ;
19388 PyObject
* obj1
= 0 ;
19389 char * kwnames
[] = {
19390 (char *) "self",(char *) "stopafter", NULL
19393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
19395 if (!SWIG_IsOK(res1
)) {
19396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_CountColours" "', expected argument " "1"" of type '" "wxImage *""'");
19398 arg1
= reinterpret_cast< wxImage
* >(argp1
);
19400 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
19401 if (!SWIG_IsOK(ecode2
)) {
19402 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_CountColours" "', expected argument " "2"" of type '" "unsigned long""'");
19404 arg2
= static_cast< unsigned long >(val2
);
19407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19408 result
= (unsigned long)(arg1
)->CountColours(arg2
);
19409 wxPyEndAllowThreads(__tstate
);
19410 if (PyErr_Occurred()) SWIG_fail
;
19412 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
19419 SWIGINTERN PyObject
*_wrap_Image_ComputeHistogram(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19420 PyObject
*resultobj
= 0;
19421 wxImage
*arg1
= (wxImage
*) 0 ;
19422 wxImageHistogram
*arg2
= 0 ;
19423 unsigned long result
;
19428 PyObject
* obj0
= 0 ;
19429 PyObject
* obj1
= 0 ;
19430 char * kwnames
[] = {
19431 (char *) "self",(char *) "h", NULL
19434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
19436 if (!SWIG_IsOK(res1
)) {
19437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ComputeHistogram" "', expected argument " "1"" of type '" "wxImage *""'");
19439 arg1
= reinterpret_cast< wxImage
* >(argp1
);
19440 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImageHistogram
, 0 );
19441 if (!SWIG_IsOK(res2
)) {
19442 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Image_ComputeHistogram" "', expected argument " "2"" of type '" "wxImageHistogram &""'");
19445 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Image_ComputeHistogram" "', expected argument " "2"" of type '" "wxImageHistogram &""'");
19447 arg2
= reinterpret_cast< wxImageHistogram
* >(argp2
);
19449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19450 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
19451 wxPyEndAllowThreads(__tstate
);
19452 if (PyErr_Occurred()) SWIG_fail
;
19454 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
19461 SWIGINTERN PyObject
*_wrap_Image_AddHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19462 PyObject
*resultobj
= 0;
19463 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
19466 PyObject
* obj0
= 0 ;
19467 char * kwnames
[] = {
19468 (char *) "handler", NULL
19471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) SWIG_fail
;
19472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
19473 if (!SWIG_IsOK(res1
)) {
19474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_AddHandler" "', expected argument " "1"" of type '" "wxImageHandler *""'");
19476 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
19478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19479 wxImage::AddHandler(arg1
);
19480 wxPyEndAllowThreads(__tstate
);
19481 if (PyErr_Occurred()) SWIG_fail
;
19483 resultobj
= SWIG_Py_Void();
19490 SWIGINTERN PyObject
*_wrap_Image_InsertHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19491 PyObject
*resultobj
= 0;
19492 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
19495 PyObject
* obj0
= 0 ;
19496 char * kwnames
[] = {
19497 (char *) "handler", NULL
19500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) SWIG_fail
;
19501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
19502 if (!SWIG_IsOK(res1
)) {
19503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_InsertHandler" "', expected argument " "1"" of type '" "wxImageHandler *""'");
19505 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
19507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19508 wxImage::InsertHandler(arg1
);
19509 wxPyEndAllowThreads(__tstate
);
19510 if (PyErr_Occurred()) SWIG_fail
;
19512 resultobj
= SWIG_Py_Void();
19519 SWIGINTERN PyObject
*_wrap_Image_RemoveHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19520 PyObject
*resultobj
= 0;
19521 wxString
*arg1
= 0 ;
19523 bool temp1
= false ;
19524 PyObject
* obj0
= 0 ;
19525 char * kwnames
[] = {
19526 (char *) "name", NULL
19529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) SWIG_fail
;
19531 arg1
= wxString_in_helper(obj0
);
19532 if (arg1
== NULL
) SWIG_fail
;
19536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19537 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
19538 wxPyEndAllowThreads(__tstate
);
19539 if (PyErr_Occurred()) SWIG_fail
;
19542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19558 SWIGINTERN PyObject
*_wrap_Image_GetHandlers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19559 PyObject
*resultobj
= 0;
19560 PyObject
*result
= 0 ;
19562 if (!SWIG_Python_UnpackTuple(args
,"Image_GetHandlers",0,0,0)) SWIG_fail
;
19564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19565 result
= (PyObject
*)wxImage_GetHandlers();
19566 wxPyEndAllowThreads(__tstate
);
19567 if (PyErr_Occurred()) SWIG_fail
;
19569 resultobj
= result
;
19576 SWIGINTERN PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19577 PyObject
*resultobj
= 0;
19580 if (!SWIG_Python_UnpackTuple(args
,"Image_GetImageExtWildcard",0,0,0)) SWIG_fail
;
19582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19583 result
= wxImage::GetImageExtWildcard();
19584 wxPyEndAllowThreads(__tstate
);
19585 if (PyErr_Occurred()) SWIG_fail
;
19589 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19591 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19600 SWIGINTERN PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19601 PyObject
*resultobj
= 0;
19602 wxImage
*arg1
= (wxImage
*) 0 ;
19603 int arg2
= (int) -1 ;
19609 PyObject
* obj0
= 0 ;
19610 PyObject
* obj1
= 0 ;
19611 char * kwnames
[] = {
19612 (char *) "self",(char *) "depth", NULL
19615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertToBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
19617 if (!SWIG_IsOK(res1
)) {
19618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ConvertToBitmap" "', expected argument " "1"" of type '" "wxImage *""'");
19620 arg1
= reinterpret_cast< wxImage
* >(argp1
);
19622 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19623 if (!SWIG_IsOK(ecode2
)) {
19624 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ConvertToBitmap" "', expected argument " "2"" of type '" "int""'");
19626 arg2
= static_cast< int >(val2
);
19629 if (!wxPyCheckForApp()) SWIG_fail
;
19630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19631 result
= wxImage_ConvertToBitmap(arg1
,arg2
);
19632 wxPyEndAllowThreads(__tstate
);
19633 if (PyErr_Occurred()) SWIG_fail
;
19635 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
19642 SWIGINTERN PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19643 PyObject
*resultobj
= 0;
19644 wxImage
*arg1
= (wxImage
*) 0 ;
19651 unsigned char val2
;
19653 unsigned char val3
;
19655 unsigned char val4
;
19657 PyObject
* obj0
= 0 ;
19658 PyObject
* obj1
= 0 ;
19659 PyObject
* obj2
= 0 ;
19660 PyObject
* obj3
= 0 ;
19661 char * kwnames
[] = {
19662 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
19665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
19667 if (!SWIG_IsOK(res1
)) {
19668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ConvertToMonoBitmap" "', expected argument " "1"" of type '" "wxImage *""'");
19670 arg1
= reinterpret_cast< wxImage
* >(argp1
);
19671 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
19672 if (!SWIG_IsOK(ecode2
)) {
19673 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ConvertToMonoBitmap" "', expected argument " "2"" of type '" "byte""'");
19675 arg2
= static_cast< byte
>(val2
);
19676 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
19677 if (!SWIG_IsOK(ecode3
)) {
19678 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_ConvertToMonoBitmap" "', expected argument " "3"" of type '" "byte""'");
19680 arg3
= static_cast< byte
>(val3
);
19681 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
19682 if (!SWIG_IsOK(ecode4
)) {
19683 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_ConvertToMonoBitmap" "', expected argument " "4"" of type '" "byte""'");
19685 arg4
= static_cast< byte
>(val4
);
19687 if (!wxPyCheckForApp()) SWIG_fail
;
19688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19689 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
19690 wxPyEndAllowThreads(__tstate
);
19691 if (PyErr_Occurred()) SWIG_fail
;
19693 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
19700 SWIGINTERN PyObject
*_wrap_Image_RotateHue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19701 PyObject
*resultobj
= 0;
19702 wxImage
*arg1
= (wxImage
*) 0 ;
19708 PyObject
* obj0
= 0 ;
19709 PyObject
* obj1
= 0 ;
19710 char * kwnames
[] = {
19711 (char *) "self",(char *) "angle", NULL
19714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_RotateHue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
19716 if (!SWIG_IsOK(res1
)) {
19717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RotateHue" "', expected argument " "1"" of type '" "wxImage *""'");
19719 arg1
= reinterpret_cast< wxImage
* >(argp1
);
19720 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
19721 if (!SWIG_IsOK(ecode2
)) {
19722 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_RotateHue" "', expected argument " "2"" of type '" "double""'");
19724 arg2
= static_cast< double >(val2
);
19726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19727 (arg1
)->RotateHue(arg2
);
19728 wxPyEndAllowThreads(__tstate
);
19729 if (PyErr_Occurred()) SWIG_fail
;
19731 resultobj
= SWIG_Py_Void();
19738 SWIGINTERN PyObject
*_wrap_Image_RGBtoHSV(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19739 PyObject
*resultobj
= 0;
19740 wxImage_RGBValue arg1
;
19741 wxImage_HSVValue result
;
19744 PyObject
* obj0
= 0 ;
19745 char * kwnames
[] = {
19746 (char *) "rgb", NULL
19749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RGBtoHSV",kwnames
,&obj0
)) SWIG_fail
;
19751 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage_RGBValue
, 0 | 0);
19752 if (!SWIG_IsOK(res1
)) {
19753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBtoHSV" "', expected argument " "1"" of type '" "wxImage_RGBValue""'");
19756 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Image_RGBtoHSV" "', expected argument " "1"" of type '" "wxImage_RGBValue""'");
19758 wxImage_RGBValue
* temp
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
19760 if (SWIG_IsNewObj(res1
)) delete temp
;
19764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19765 result
= wxImage::RGBtoHSV(arg1
);
19766 wxPyEndAllowThreads(__tstate
);
19767 if (PyErr_Occurred()) SWIG_fail
;
19769 resultobj
= SWIG_NewPointerObj((new wxImage_HSVValue(static_cast< const wxImage_HSVValue
& >(result
))), SWIGTYPE_p_wxImage_HSVValue
, SWIG_POINTER_OWN
| 0 );
19776 SWIGINTERN PyObject
*_wrap_Image_HSVtoRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19777 PyObject
*resultobj
= 0;
19778 wxImage_HSVValue arg1
;
19779 wxImage_RGBValue result
;
19782 PyObject
* obj0
= 0 ;
19783 char * kwnames
[] = {
19784 (char *) "hsv", NULL
19787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HSVtoRGB",kwnames
,&obj0
)) SWIG_fail
;
19789 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage_HSVValue
, 0 | 0);
19790 if (!SWIG_IsOK(res1
)) {
19791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVtoRGB" "', expected argument " "1"" of type '" "wxImage_HSVValue""'");
19794 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Image_HSVtoRGB" "', expected argument " "1"" of type '" "wxImage_HSVValue""'");
19796 wxImage_HSVValue
* temp
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
19798 if (SWIG_IsNewObj(res1
)) delete temp
;
19802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19803 result
= wxImage::HSVtoRGB(arg1
);
19804 wxPyEndAllowThreads(__tstate
);
19805 if (PyErr_Occurred()) SWIG_fail
;
19807 resultobj
= SWIG_NewPointerObj((new wxImage_RGBValue(static_cast< const wxImage_RGBValue
& >(result
))), SWIGTYPE_p_wxImage_RGBValue
, SWIG_POINTER_OWN
| 0 );
19814 SWIGINTERN PyObject
*Image_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19816 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19817 SWIG_TypeNewClientData(SWIGTYPE_p_wxImage
, SWIG_NewClientData(obj
));
19818 return SWIG_Py_Void();
19821 SWIGINTERN PyObject
*Image_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19822 return SWIG_Python_InitShadowInstance(args
);
19825 SWIGINTERN PyObject
*_wrap__ImageFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19826 PyObject
*resultobj
= 0;
19831 buffer arg5
= (buffer
) NULL
;
19832 int arg6
= (int) 0 ;
19833 wxImage
*result
= 0 ;
19840 PyObject
* obj0
= 0 ;
19841 PyObject
* obj1
= 0 ;
19842 PyObject
* obj2
= 0 ;
19843 PyObject
* obj3
= 0 ;
19844 char * kwnames
[] = {
19845 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
19848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:_ImageFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19849 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19850 if (!SWIG_IsOK(ecode1
)) {
19851 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_ImageFromBuffer" "', expected argument " "1"" of type '" "int""'");
19853 arg1
= static_cast< int >(val1
);
19854 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19855 if (!SWIG_IsOK(ecode2
)) {
19856 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_ImageFromBuffer" "', expected argument " "2"" of type '" "int""'");
19858 arg2
= static_cast< int >(val2
);
19860 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
19865 if (obj3
!= Py_None
) {
19866 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
19872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19873 result
= (wxImage
*)_ImageFromBuffer(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
19874 wxPyEndAllowThreads(__tstate
);
19875 if (PyErr_Occurred()) SWIG_fail
;
19878 resultobj
= wxPyMake_wxObject(result
, SWIG_POINTER_OWN
);
19886 SWIGINTERN
int NullImage_set(PyObject
*) {
19887 SWIG_Error(SWIG_AttributeError
,"Variable NullImage is read-only.");
19892 SWIGINTERN PyObject
*NullImage_get(void) {
19893 PyObject
*pyobj
= 0;
19895 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullImage
), SWIGTYPE_p_wxImage
, 0 );
19900 SWIGINTERN
int IMAGE_OPTION_FILENAME_set(PyObject
*) {
19901 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_FILENAME is read-only.");
19906 SWIGINTERN PyObject
*IMAGE_OPTION_FILENAME_get(void) {
19907 PyObject
*pyobj
= 0;
19911 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
19913 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
19920 SWIGINTERN
int IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
19921 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
19926 SWIGINTERN PyObject
*IMAGE_OPTION_BMP_FORMAT_get(void) {
19927 PyObject
*pyobj
= 0;
19931 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
19933 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
19940 SWIGINTERN
int IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
19941 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
19946 SWIGINTERN PyObject
*IMAGE_OPTION_CUR_HOTSPOT_X_get(void) {
19947 PyObject
*pyobj
= 0;
19951 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
19953 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
19960 SWIGINTERN
int IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
19961 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
19966 SWIGINTERN PyObject
*IMAGE_OPTION_CUR_HOTSPOT_Y_get(void) {
19967 PyObject
*pyobj
= 0;
19971 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
19973 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
19980 SWIGINTERN
int IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
19981 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
19986 SWIGINTERN PyObject
*IMAGE_OPTION_RESOLUTION_get(void) {
19987 PyObject
*pyobj
= 0;
19991 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
19993 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
20000 SWIGINTERN
int IMAGE_OPTION_RESOLUTIONX_set(PyObject
*) {
20001 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_RESOLUTIONX is read-only.");
20006 SWIGINTERN PyObject
*IMAGE_OPTION_RESOLUTIONX_get(void) {
20007 PyObject
*pyobj
= 0;
20011 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
20013 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
20020 SWIGINTERN
int IMAGE_OPTION_RESOLUTIONY_set(PyObject
*) {
20021 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_RESOLUTIONY is read-only.");
20026 SWIGINTERN PyObject
*IMAGE_OPTION_RESOLUTIONY_get(void) {
20027 PyObject
*pyobj
= 0;
20031 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
20033 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
20040 SWIGINTERN
int IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
20041 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
20046 SWIGINTERN PyObject
*IMAGE_OPTION_RESOLUTIONUNIT_get(void) {
20047 PyObject
*pyobj
= 0;
20051 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
20053 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
20060 SWIGINTERN
int IMAGE_OPTION_QUALITY_set(PyObject
*) {
20061 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_QUALITY is read-only.");
20066 SWIGINTERN PyObject
*IMAGE_OPTION_QUALITY_get(void) {
20067 PyObject
*pyobj
= 0;
20071 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
20073 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
20080 SWIGINTERN
int IMAGE_OPTION_BITSPERSAMPLE_set(PyObject
*) {
20081 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_BITSPERSAMPLE is read-only.");
20086 SWIGINTERN PyObject
*IMAGE_OPTION_BITSPERSAMPLE_get(void) {
20087 PyObject
*pyobj
= 0;
20091 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
20093 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
20100 SWIGINTERN
int IMAGE_OPTION_SAMPLESPERPIXEL_set(PyObject
*) {
20101 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_SAMPLESPERPIXEL is read-only.");
20106 SWIGINTERN PyObject
*IMAGE_OPTION_SAMPLESPERPIXEL_get(void) {
20107 PyObject
*pyobj
= 0;
20111 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
20113 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
20120 SWIGINTERN
int IMAGE_OPTION_COMPRESSION_set(PyObject
*) {
20121 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_COMPRESSION is read-only.");
20126 SWIGINTERN PyObject
*IMAGE_OPTION_COMPRESSION_get(void) {
20127 PyObject
*pyobj
= 0;
20131 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
20133 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
20140 SWIGINTERN
int IMAGE_OPTION_IMAGEDESCRIPTOR_set(PyObject
*) {
20141 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_IMAGEDESCRIPTOR is read-only.");
20146 SWIGINTERN PyObject
*IMAGE_OPTION_IMAGEDESCRIPTOR_get(void) {
20147 PyObject
*pyobj
= 0;
20151 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
20153 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
20160 SWIGINTERN
int IMAGE_OPTION_PNG_FORMAT_set(PyObject
*) {
20161 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_PNG_FORMAT is read-only.");
20166 SWIGINTERN PyObject
*IMAGE_OPTION_PNG_FORMAT_get(void) {
20167 PyObject
*pyobj
= 0;
20171 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
20173 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
20180 SWIGINTERN
int IMAGE_OPTION_PNG_BITDEPTH_set(PyObject
*) {
20181 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_PNG_BITDEPTH is read-only.");
20186 SWIGINTERN PyObject
*IMAGE_OPTION_PNG_BITDEPTH_get(void) {
20187 PyObject
*pyobj
= 0;
20191 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
20193 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
20200 SWIGINTERN PyObject
*_wrap_new_BMPHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20201 PyObject
*resultobj
= 0;
20202 wxBMPHandler
*result
= 0 ;
20204 if (!SWIG_Python_UnpackTuple(args
,"new_BMPHandler",0,0,0)) SWIG_fail
;
20206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20207 result
= (wxBMPHandler
*)new wxBMPHandler();
20208 wxPyEndAllowThreads(__tstate
);
20209 if (PyErr_Occurred()) SWIG_fail
;
20211 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBMPHandler
, SWIG_POINTER_NEW
| 0 );
20218 SWIGINTERN PyObject
*BMPHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20220 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20221 SWIG_TypeNewClientData(SWIGTYPE_p_wxBMPHandler
, SWIG_NewClientData(obj
));
20222 return SWIG_Py_Void();
20225 SWIGINTERN PyObject
*BMPHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20226 return SWIG_Python_InitShadowInstance(args
);
20229 SWIGINTERN PyObject
*_wrap_new_ICOHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20230 PyObject
*resultobj
= 0;
20231 wxICOHandler
*result
= 0 ;
20233 if (!SWIG_Python_UnpackTuple(args
,"new_ICOHandler",0,0,0)) SWIG_fail
;
20235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20236 result
= (wxICOHandler
*)new wxICOHandler();
20237 wxPyEndAllowThreads(__tstate
);
20238 if (PyErr_Occurred()) SWIG_fail
;
20240 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxICOHandler
, SWIG_POINTER_NEW
| 0 );
20247 SWIGINTERN PyObject
*ICOHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20249 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20250 SWIG_TypeNewClientData(SWIGTYPE_p_wxICOHandler
, SWIG_NewClientData(obj
));
20251 return SWIG_Py_Void();
20254 SWIGINTERN PyObject
*ICOHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20255 return SWIG_Python_InitShadowInstance(args
);
20258 SWIGINTERN PyObject
*_wrap_new_CURHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20259 PyObject
*resultobj
= 0;
20260 wxCURHandler
*result
= 0 ;
20262 if (!SWIG_Python_UnpackTuple(args
,"new_CURHandler",0,0,0)) SWIG_fail
;
20264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20265 result
= (wxCURHandler
*)new wxCURHandler();
20266 wxPyEndAllowThreads(__tstate
);
20267 if (PyErr_Occurred()) SWIG_fail
;
20269 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCURHandler
, SWIG_POINTER_NEW
| 0 );
20276 SWIGINTERN PyObject
*CURHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20278 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20279 SWIG_TypeNewClientData(SWIGTYPE_p_wxCURHandler
, SWIG_NewClientData(obj
));
20280 return SWIG_Py_Void();
20283 SWIGINTERN PyObject
*CURHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20284 return SWIG_Python_InitShadowInstance(args
);
20287 SWIGINTERN PyObject
*_wrap_new_ANIHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20288 PyObject
*resultobj
= 0;
20289 wxANIHandler
*result
= 0 ;
20291 if (!SWIG_Python_UnpackTuple(args
,"new_ANIHandler",0,0,0)) SWIG_fail
;
20293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20294 result
= (wxANIHandler
*)new wxANIHandler();
20295 wxPyEndAllowThreads(__tstate
);
20296 if (PyErr_Occurred()) SWIG_fail
;
20298 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxANIHandler
, SWIG_POINTER_NEW
| 0 );
20305 SWIGINTERN PyObject
*ANIHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20307 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20308 SWIG_TypeNewClientData(SWIGTYPE_p_wxANIHandler
, SWIG_NewClientData(obj
));
20309 return SWIG_Py_Void();
20312 SWIGINTERN PyObject
*ANIHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20313 return SWIG_Python_InitShadowInstance(args
);
20316 SWIGINTERN PyObject
*_wrap_new_PNGHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20317 PyObject
*resultobj
= 0;
20318 wxPNGHandler
*result
= 0 ;
20320 if (!SWIG_Python_UnpackTuple(args
,"new_PNGHandler",0,0,0)) SWIG_fail
;
20322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20323 result
= (wxPNGHandler
*)new wxPNGHandler();
20324 wxPyEndAllowThreads(__tstate
);
20325 if (PyErr_Occurred()) SWIG_fail
;
20327 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPNGHandler
, SWIG_POINTER_NEW
| 0 );
20334 SWIGINTERN PyObject
*PNGHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20336 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20337 SWIG_TypeNewClientData(SWIGTYPE_p_wxPNGHandler
, SWIG_NewClientData(obj
));
20338 return SWIG_Py_Void();
20341 SWIGINTERN PyObject
*PNGHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20342 return SWIG_Python_InitShadowInstance(args
);
20345 SWIGINTERN PyObject
*_wrap_new_GIFHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20346 PyObject
*resultobj
= 0;
20347 wxGIFHandler
*result
= 0 ;
20349 if (!SWIG_Python_UnpackTuple(args
,"new_GIFHandler",0,0,0)) SWIG_fail
;
20351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20352 result
= (wxGIFHandler
*)new wxGIFHandler();
20353 wxPyEndAllowThreads(__tstate
);
20354 if (PyErr_Occurred()) SWIG_fail
;
20356 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGIFHandler
, SWIG_POINTER_NEW
| 0 );
20363 SWIGINTERN PyObject
*GIFHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20365 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20366 SWIG_TypeNewClientData(SWIGTYPE_p_wxGIFHandler
, SWIG_NewClientData(obj
));
20367 return SWIG_Py_Void();
20370 SWIGINTERN PyObject
*GIFHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20371 return SWIG_Python_InitShadowInstance(args
);
20374 SWIGINTERN PyObject
*_wrap_new_PCXHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20375 PyObject
*resultobj
= 0;
20376 wxPCXHandler
*result
= 0 ;
20378 if (!SWIG_Python_UnpackTuple(args
,"new_PCXHandler",0,0,0)) SWIG_fail
;
20380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20381 result
= (wxPCXHandler
*)new wxPCXHandler();
20382 wxPyEndAllowThreads(__tstate
);
20383 if (PyErr_Occurred()) SWIG_fail
;
20385 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPCXHandler
, SWIG_POINTER_NEW
| 0 );
20392 SWIGINTERN PyObject
*PCXHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20394 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20395 SWIG_TypeNewClientData(SWIGTYPE_p_wxPCXHandler
, SWIG_NewClientData(obj
));
20396 return SWIG_Py_Void();
20399 SWIGINTERN PyObject
*PCXHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20400 return SWIG_Python_InitShadowInstance(args
);
20403 SWIGINTERN PyObject
*_wrap_new_JPEGHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20404 PyObject
*resultobj
= 0;
20405 wxJPEGHandler
*result
= 0 ;
20407 if (!SWIG_Python_UnpackTuple(args
,"new_JPEGHandler",0,0,0)) SWIG_fail
;
20409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20410 result
= (wxJPEGHandler
*)new wxJPEGHandler();
20411 wxPyEndAllowThreads(__tstate
);
20412 if (PyErr_Occurred()) SWIG_fail
;
20414 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxJPEGHandler
, SWIG_POINTER_NEW
| 0 );
20421 SWIGINTERN PyObject
*JPEGHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20423 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20424 SWIG_TypeNewClientData(SWIGTYPE_p_wxJPEGHandler
, SWIG_NewClientData(obj
));
20425 return SWIG_Py_Void();
20428 SWIGINTERN PyObject
*JPEGHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20429 return SWIG_Python_InitShadowInstance(args
);
20432 SWIGINTERN PyObject
*_wrap_new_PNMHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20433 PyObject
*resultobj
= 0;
20434 wxPNMHandler
*result
= 0 ;
20436 if (!SWIG_Python_UnpackTuple(args
,"new_PNMHandler",0,0,0)) SWIG_fail
;
20438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20439 result
= (wxPNMHandler
*)new wxPNMHandler();
20440 wxPyEndAllowThreads(__tstate
);
20441 if (PyErr_Occurred()) SWIG_fail
;
20443 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPNMHandler
, SWIG_POINTER_NEW
| 0 );
20450 SWIGINTERN PyObject
*PNMHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20452 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20453 SWIG_TypeNewClientData(SWIGTYPE_p_wxPNMHandler
, SWIG_NewClientData(obj
));
20454 return SWIG_Py_Void();
20457 SWIGINTERN PyObject
*PNMHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20458 return SWIG_Python_InitShadowInstance(args
);
20461 SWIGINTERN PyObject
*_wrap_new_XPMHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20462 PyObject
*resultobj
= 0;
20463 wxXPMHandler
*result
= 0 ;
20465 if (!SWIG_Python_UnpackTuple(args
,"new_XPMHandler",0,0,0)) SWIG_fail
;
20467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20468 result
= (wxXPMHandler
*)new wxXPMHandler();
20469 wxPyEndAllowThreads(__tstate
);
20470 if (PyErr_Occurred()) SWIG_fail
;
20472 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxXPMHandler
, SWIG_POINTER_NEW
| 0 );
20479 SWIGINTERN PyObject
*XPMHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20481 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20482 SWIG_TypeNewClientData(SWIGTYPE_p_wxXPMHandler
, SWIG_NewClientData(obj
));
20483 return SWIG_Py_Void();
20486 SWIGINTERN PyObject
*XPMHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20487 return SWIG_Python_InitShadowInstance(args
);
20490 SWIGINTERN PyObject
*_wrap_new_TIFFHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20491 PyObject
*resultobj
= 0;
20492 wxTIFFHandler
*result
= 0 ;
20494 if (!SWIG_Python_UnpackTuple(args
,"new_TIFFHandler",0,0,0)) SWIG_fail
;
20496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20497 result
= (wxTIFFHandler
*)new wxTIFFHandler();
20498 wxPyEndAllowThreads(__tstate
);
20499 if (PyErr_Occurred()) SWIG_fail
;
20501 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTIFFHandler
, SWIG_POINTER_NEW
| 0 );
20508 SWIGINTERN PyObject
*TIFFHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20510 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20511 SWIG_TypeNewClientData(SWIGTYPE_p_wxTIFFHandler
, SWIG_NewClientData(obj
));
20512 return SWIG_Py_Void();
20515 SWIGINTERN PyObject
*TIFFHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20516 return SWIG_Python_InitShadowInstance(args
);
20519 SWIGINTERN PyObject
*_wrap_new_TGAHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20520 PyObject
*resultobj
= 0;
20521 wxTGAHandler
*result
= 0 ;
20523 if (!SWIG_Python_UnpackTuple(args
,"new_TGAHandler",0,0,0)) SWIG_fail
;
20525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20526 result
= (wxTGAHandler
*)new wxTGAHandler();
20527 wxPyEndAllowThreads(__tstate
);
20528 if (PyErr_Occurred()) SWIG_fail
;
20530 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTGAHandler
, SWIG_POINTER_NEW
| 0 );
20537 SWIGINTERN PyObject
*TGAHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20539 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20540 SWIG_TypeNewClientData(SWIGTYPE_p_wxTGAHandler
, SWIG_NewClientData(obj
));
20541 return SWIG_Py_Void();
20544 SWIGINTERN PyObject
*TGAHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20545 return SWIG_Python_InitShadowInstance(args
);
20548 SWIGINTERN PyObject
*_wrap_Quantize_Quantize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20549 PyObject
*resultobj
= 0;
20550 wxImage
*arg1
= 0 ;
20551 wxImage
*arg2
= 0 ;
20552 int arg3
= (int) 236 ;
20553 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
20563 PyObject
* obj0
= 0 ;
20564 PyObject
* obj1
= 0 ;
20565 PyObject
* obj2
= 0 ;
20566 PyObject
* obj3
= 0 ;
20567 char * kwnames
[] = {
20568 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
20571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20572 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
20573 if (!SWIG_IsOK(res1
)) {
20574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Quantize_Quantize" "', expected argument " "1"" of type '" "wxImage const &""'");
20577 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Quantize_Quantize" "', expected argument " "1"" of type '" "wxImage const &""'");
20579 arg1
= reinterpret_cast< wxImage
* >(argp1
);
20580 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImage
, 0 );
20581 if (!SWIG_IsOK(res2
)) {
20582 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Quantize_Quantize" "', expected argument " "2"" of type '" "wxImage &""'");
20585 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Quantize_Quantize" "', expected argument " "2"" of type '" "wxImage &""'");
20587 arg2
= reinterpret_cast< wxImage
* >(argp2
);
20589 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20590 if (!SWIG_IsOK(ecode3
)) {
20591 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Quantize_Quantize" "', expected argument " "3"" of type '" "int""'");
20593 arg3
= static_cast< int >(val3
);
20596 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20597 if (!SWIG_IsOK(ecode4
)) {
20598 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Quantize_Quantize" "', expected argument " "4"" of type '" "int""'");
20600 arg4
= static_cast< int >(val4
);
20603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20604 result
= (bool)wxQuantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
20605 wxPyEndAllowThreads(__tstate
);
20606 if (PyErr_Occurred()) SWIG_fail
;
20609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20617 SWIGINTERN PyObject
*Quantize_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20619 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20620 SWIG_TypeNewClientData(SWIGTYPE_p_wxQuantize
, SWIG_NewClientData(obj
));
20621 return SWIG_Py_Void();
20624 SWIGINTERN PyObject
*_wrap_new_EvtHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20625 PyObject
*resultobj
= 0;
20626 wxEvtHandler
*result
= 0 ;
20628 if (!SWIG_Python_UnpackTuple(args
,"new_EvtHandler",0,0,0)) SWIG_fail
;
20630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20631 result
= (wxEvtHandler
*)new wxEvtHandler();
20632 wxPyEndAllowThreads(__tstate
);
20633 if (PyErr_Occurred()) SWIG_fail
;
20635 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_NEW
| 0 );
20642 SWIGINTERN PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20643 PyObject
*resultobj
= 0;
20644 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20645 wxEvtHandler
*result
= 0 ;
20648 PyObject
*swig_obj
[1] ;
20650 if (!args
) SWIG_fail
;
20651 swig_obj
[0] = args
;
20652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
20653 if (!SWIG_IsOK(res1
)) {
20654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_GetNextHandler" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
20656 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
20658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20659 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
20660 wxPyEndAllowThreads(__tstate
);
20661 if (PyErr_Occurred()) SWIG_fail
;
20664 resultobj
= wxPyMake_wxObject(result
, 0);
20672 SWIGINTERN PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20673 PyObject
*resultobj
= 0;
20674 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20675 wxEvtHandler
*result
= 0 ;
20678 PyObject
*swig_obj
[1] ;
20680 if (!args
) SWIG_fail
;
20681 swig_obj
[0] = args
;
20682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
20683 if (!SWIG_IsOK(res1
)) {
20684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_GetPreviousHandler" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
20686 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
20688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20689 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
20690 wxPyEndAllowThreads(__tstate
);
20691 if (PyErr_Occurred()) SWIG_fail
;
20694 resultobj
= wxPyMake_wxObject(result
, 0);
20702 SWIGINTERN PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20703 PyObject
*resultobj
= 0;
20704 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20705 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
20710 PyObject
* obj0
= 0 ;
20711 PyObject
* obj1
= 0 ;
20712 char * kwnames
[] = {
20713 (char *) "self",(char *) "handler", NULL
20716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
20718 if (!SWIG_IsOK(res1
)) {
20719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_SetNextHandler" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
20721 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
20722 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
20723 if (!SWIG_IsOK(res2
)) {
20724 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "EvtHandler_SetNextHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
20726 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
20728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20729 (arg1
)->SetNextHandler(arg2
);
20730 wxPyEndAllowThreads(__tstate
);
20731 if (PyErr_Occurred()) SWIG_fail
;
20733 resultobj
= SWIG_Py_Void();
20740 SWIGINTERN PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20741 PyObject
*resultobj
= 0;
20742 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20743 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
20748 PyObject
* obj0
= 0 ;
20749 PyObject
* obj1
= 0 ;
20750 char * kwnames
[] = {
20751 (char *) "self",(char *) "handler", NULL
20754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
20756 if (!SWIG_IsOK(res1
)) {
20757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_SetPreviousHandler" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
20759 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
20760 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
20761 if (!SWIG_IsOK(res2
)) {
20762 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "EvtHandler_SetPreviousHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
20764 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
20766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20767 (arg1
)->SetPreviousHandler(arg2
);
20768 wxPyEndAllowThreads(__tstate
);
20769 if (PyErr_Occurred()) SWIG_fail
;
20771 resultobj
= SWIG_Py_Void();
20778 SWIGINTERN PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20779 PyObject
*resultobj
= 0;
20780 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20784 PyObject
*swig_obj
[1] ;
20786 if (!args
) SWIG_fail
;
20787 swig_obj
[0] = args
;
20788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
20789 if (!SWIG_IsOK(res1
)) {
20790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_GetEvtHandlerEnabled" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
20792 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
20794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20795 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
20796 wxPyEndAllowThreads(__tstate
);
20797 if (PyErr_Occurred()) SWIG_fail
;
20800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20808 SWIGINTERN PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20809 PyObject
*resultobj
= 0;
20810 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20816 PyObject
* obj0
= 0 ;
20817 PyObject
* obj1
= 0 ;
20818 char * kwnames
[] = {
20819 (char *) "self",(char *) "enabled", NULL
20822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
20824 if (!SWIG_IsOK(res1
)) {
20825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_SetEvtHandlerEnabled" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
20827 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
20828 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20829 if (!SWIG_IsOK(ecode2
)) {
20830 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EvtHandler_SetEvtHandlerEnabled" "', expected argument " "2"" of type '" "bool""'");
20832 arg2
= static_cast< bool >(val2
);
20834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20835 (arg1
)->SetEvtHandlerEnabled(arg2
);
20836 wxPyEndAllowThreads(__tstate
);
20837 if (PyErr_Occurred()) SWIG_fail
;
20839 resultobj
= SWIG_Py_Void();
20846 SWIGINTERN PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20847 PyObject
*resultobj
= 0;
20848 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20849 wxEvent
*arg2
= 0 ;
20855 PyObject
* obj0
= 0 ;
20856 PyObject
* obj1
= 0 ;
20857 char * kwnames
[] = {
20858 (char *) "self",(char *) "event", NULL
20861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
20863 if (!SWIG_IsOK(res1
)) {
20864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_ProcessEvent" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
20866 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
20867 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxEvent
, 0 );
20868 if (!SWIG_IsOK(res2
)) {
20869 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "EvtHandler_ProcessEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
20872 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "EvtHandler_ProcessEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
20874 arg2
= reinterpret_cast< wxEvent
* >(argp2
);
20876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20877 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
20878 wxPyEndAllowThreads(__tstate
);
20879 if (PyErr_Occurred()) SWIG_fail
;
20882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20890 SWIGINTERN PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20891 PyObject
*resultobj
= 0;
20892 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20893 wxEvent
*arg2
= 0 ;
20898 PyObject
* obj0
= 0 ;
20899 PyObject
* obj1
= 0 ;
20900 char * kwnames
[] = {
20901 (char *) "self",(char *) "event", NULL
20904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
20906 if (!SWIG_IsOK(res1
)) {
20907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_AddPendingEvent" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
20909 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
20910 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxEvent
, 0 );
20911 if (!SWIG_IsOK(res2
)) {
20912 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "EvtHandler_AddPendingEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
20915 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "EvtHandler_AddPendingEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
20917 arg2
= reinterpret_cast< wxEvent
* >(argp2
);
20919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20920 (arg1
)->AddPendingEvent(*arg2
);
20921 wxPyEndAllowThreads(__tstate
);
20922 if (PyErr_Occurred()) SWIG_fail
;
20924 resultobj
= SWIG_Py_Void();
20931 SWIGINTERN PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20932 PyObject
*resultobj
= 0;
20933 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20936 PyObject
*swig_obj
[1] ;
20938 if (!args
) SWIG_fail
;
20939 swig_obj
[0] = args
;
20940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
20941 if (!SWIG_IsOK(res1
)) {
20942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_ProcessPendingEvents" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
20944 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
20946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20947 (arg1
)->ProcessPendingEvents();
20948 wxPyEndAllowThreads(__tstate
);
20949 if (PyErr_Occurred()) SWIG_fail
;
20951 resultobj
= SWIG_Py_Void();
20958 SWIGINTERN PyObject
*_wrap_EvtHandler_Connect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20959 PyObject
*resultobj
= 0;
20960 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20964 PyObject
*arg5
= (PyObject
*) 0 ;
20973 PyObject
* obj0
= 0 ;
20974 PyObject
* obj1
= 0 ;
20975 PyObject
* obj2
= 0 ;
20976 PyObject
* obj3
= 0 ;
20977 PyObject
* obj4
= 0 ;
20978 char * kwnames
[] = {
20979 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
20982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
20984 if (!SWIG_IsOK(res1
)) {
20985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_Connect" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
20987 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
20988 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20989 if (!SWIG_IsOK(ecode2
)) {
20990 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EvtHandler_Connect" "', expected argument " "2"" of type '" "int""'");
20992 arg2
= static_cast< int >(val2
);
20993 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20994 if (!SWIG_IsOK(ecode3
)) {
20995 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EvtHandler_Connect" "', expected argument " "3"" of type '" "int""'");
20997 arg3
= static_cast< int >(val3
);
20998 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20999 if (!SWIG_IsOK(ecode4
)) {
21000 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EvtHandler_Connect" "', expected argument " "4"" of type '" "int""'");
21002 arg4
= static_cast< int >(val4
);
21005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21006 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
21007 wxPyEndAllowThreads(__tstate
);
21008 if (PyErr_Occurred()) SWIG_fail
;
21010 resultobj
= SWIG_Py_Void();
21017 SWIGINTERN PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21018 PyObject
*resultobj
= 0;
21019 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
21021 int arg3
= (int) -1 ;
21022 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
21032 PyObject
* obj0
= 0 ;
21033 PyObject
* obj1
= 0 ;
21034 PyObject
* obj2
= 0 ;
21035 PyObject
* obj3
= 0 ;
21036 char * kwnames
[] = {
21037 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
21040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
21042 if (!SWIG_IsOK(res1
)) {
21043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_Disconnect" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
21045 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
21046 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21047 if (!SWIG_IsOK(ecode2
)) {
21048 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EvtHandler_Disconnect" "', expected argument " "2"" of type '" "int""'");
21050 arg2
= static_cast< int >(val2
);
21052 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21053 if (!SWIG_IsOK(ecode3
)) {
21054 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EvtHandler_Disconnect" "', expected argument " "3"" of type '" "int""'");
21056 arg3
= static_cast< int >(val3
);
21059 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21060 if (!SWIG_IsOK(ecode4
)) {
21061 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EvtHandler_Disconnect" "', expected argument " "4"" of type '" "wxEventType""'");
21063 arg4
= static_cast< wxEventType
>(val4
);
21066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21067 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
21068 wxPyEndAllowThreads(__tstate
);
21069 if (PyErr_Occurred()) SWIG_fail
;
21072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21080 SWIGINTERN PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21081 PyObject
*resultobj
= 0;
21082 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
21083 PyObject
*arg2
= (PyObject
*) 0 ;
21084 bool arg3
= (bool) true ;
21089 PyObject
* obj0
= 0 ;
21090 PyObject
* obj1
= 0 ;
21091 PyObject
* obj2
= 0 ;
21092 char * kwnames
[] = {
21093 (char *) "self",(char *) "_self",(char *) "incref", NULL
21096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
21098 if (!SWIG_IsOK(res1
)) {
21099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler__setOORInfo" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
21101 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
21104 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
21105 if (!SWIG_IsOK(ecode3
)) {
21106 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EvtHandler__setOORInfo" "', expected argument " "3"" of type '" "bool""'");
21108 arg3
= static_cast< bool >(val3
);
21111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21112 wxEvtHandler__setOORInfo(arg1
,arg2
,arg3
);
21113 wxPyEndAllowThreads(__tstate
);
21114 if (PyErr_Occurred()) SWIG_fail
;
21116 resultobj
= SWIG_Py_Void();
21123 SWIGINTERN PyObject
*EvtHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21125 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21126 SWIG_TypeNewClientData(SWIGTYPE_p_wxEvtHandler
, SWIG_NewClientData(obj
));
21127 return SWIG_Py_Void();
21130 SWIGINTERN PyObject
*EvtHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21131 return SWIG_Python_InitShadowInstance(args
);
21134 SWIGINTERN PyObject
*_wrap_NewEventType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21135 PyObject
*resultobj
= 0;
21136 wxEventType result
;
21138 if (!SWIG_Python_UnpackTuple(args
,"NewEventType",0,0,0)) SWIG_fail
;
21140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21141 result
= (wxEventType
)wxNewEventType();
21142 wxPyEndAllowThreads(__tstate
);
21143 if (PyErr_Occurred()) SWIG_fail
;
21145 resultobj
= SWIG_From_int(static_cast< int >(result
));
21152 SWIGINTERN PyObject
*_wrap_delete_Event(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21153 PyObject
*resultobj
= 0;
21154 wxEvent
*arg1
= (wxEvent
*) 0 ;
21157 PyObject
*swig_obj
[1] ;
21159 if (!args
) SWIG_fail
;
21160 swig_obj
[0] = args
;
21161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, SWIG_POINTER_DISOWN
| 0 );
21162 if (!SWIG_IsOK(res1
)) {
21163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Event" "', expected argument " "1"" of type '" "wxEvent *""'");
21165 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
21167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21170 wxPyEndAllowThreads(__tstate
);
21171 if (PyErr_Occurred()) SWIG_fail
;
21173 resultobj
= SWIG_Py_Void();
21180 SWIGINTERN PyObject
*_wrap_Event_SetEventType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21181 PyObject
*resultobj
= 0;
21182 wxEvent
*arg1
= (wxEvent
*) 0 ;
21188 PyObject
* obj0
= 0 ;
21189 PyObject
* obj1
= 0 ;
21190 char * kwnames
[] = {
21191 (char *) "self",(char *) "typ", NULL
21194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
21196 if (!SWIG_IsOK(res1
)) {
21197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_SetEventType" "', expected argument " "1"" of type '" "wxEvent *""'");
21199 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
21200 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21201 if (!SWIG_IsOK(ecode2
)) {
21202 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Event_SetEventType" "', expected argument " "2"" of type '" "wxEventType""'");
21204 arg2
= static_cast< wxEventType
>(val2
);
21206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21207 (arg1
)->SetEventType(arg2
);
21208 wxPyEndAllowThreads(__tstate
);
21209 if (PyErr_Occurred()) SWIG_fail
;
21211 resultobj
= SWIG_Py_Void();
21218 SWIGINTERN PyObject
*_wrap_Event_GetEventType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21219 PyObject
*resultobj
= 0;
21220 wxEvent
*arg1
= (wxEvent
*) 0 ;
21221 wxEventType result
;
21224 PyObject
*swig_obj
[1] ;
21226 if (!args
) SWIG_fail
;
21227 swig_obj
[0] = args
;
21228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
21229 if (!SWIG_IsOK(res1
)) {
21230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_GetEventType" "', expected argument " "1"" of type '" "wxEvent const *""'");
21232 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
21234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21235 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
21236 wxPyEndAllowThreads(__tstate
);
21237 if (PyErr_Occurred()) SWIG_fail
;
21239 resultobj
= SWIG_From_int(static_cast< int >(result
));
21246 SWIGINTERN PyObject
*_wrap_Event_GetEventObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21247 PyObject
*resultobj
= 0;
21248 wxEvent
*arg1
= (wxEvent
*) 0 ;
21249 wxObject
*result
= 0 ;
21252 PyObject
*swig_obj
[1] ;
21254 if (!args
) SWIG_fail
;
21255 swig_obj
[0] = args
;
21256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
21257 if (!SWIG_IsOK(res1
)) {
21258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_GetEventObject" "', expected argument " "1"" of type '" "wxEvent const *""'");
21260 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
21262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21263 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
21264 wxPyEndAllowThreads(__tstate
);
21265 if (PyErr_Occurred()) SWIG_fail
;
21268 resultobj
= wxPyMake_wxObject(result
, (bool)0);
21276 SWIGINTERN PyObject
*_wrap_Event_SetEventObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21277 PyObject
*resultobj
= 0;
21278 wxEvent
*arg1
= (wxEvent
*) 0 ;
21279 wxObject
*arg2
= (wxObject
*) 0 ;
21284 PyObject
* obj0
= 0 ;
21285 PyObject
* obj1
= 0 ;
21286 char * kwnames
[] = {
21287 (char *) "self",(char *) "obj", NULL
21290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
21292 if (!SWIG_IsOK(res1
)) {
21293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_SetEventObject" "', expected argument " "1"" of type '" "wxEvent *""'");
21295 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
21296 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxObject
, 0 | 0 );
21297 if (!SWIG_IsOK(res2
)) {
21298 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Event_SetEventObject" "', expected argument " "2"" of type '" "wxObject *""'");
21300 arg2
= reinterpret_cast< wxObject
* >(argp2
);
21302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21303 (arg1
)->SetEventObject(arg2
);
21304 wxPyEndAllowThreads(__tstate
);
21305 if (PyErr_Occurred()) SWIG_fail
;
21307 resultobj
= SWIG_Py_Void();
21314 SWIGINTERN PyObject
*_wrap_Event_GetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21315 PyObject
*resultobj
= 0;
21316 wxEvent
*arg1
= (wxEvent
*) 0 ;
21320 PyObject
*swig_obj
[1] ;
21322 if (!args
) SWIG_fail
;
21323 swig_obj
[0] = args
;
21324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
21325 if (!SWIG_IsOK(res1
)) {
21326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_GetTimestamp" "', expected argument " "1"" of type '" "wxEvent const *""'");
21328 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
21330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21331 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
21332 wxPyEndAllowThreads(__tstate
);
21333 if (PyErr_Occurred()) SWIG_fail
;
21335 resultobj
= SWIG_From_long(static_cast< long >(result
));
21342 SWIGINTERN PyObject
*_wrap_Event_SetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21343 PyObject
*resultobj
= 0;
21344 wxEvent
*arg1
= (wxEvent
*) 0 ;
21345 long arg2
= (long) 0 ;
21350 PyObject
* obj0
= 0 ;
21351 PyObject
* obj1
= 0 ;
21352 char * kwnames
[] = {
21353 (char *) "self",(char *) "ts", NULL
21356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
21358 if (!SWIG_IsOK(res1
)) {
21359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_SetTimestamp" "', expected argument " "1"" of type '" "wxEvent *""'");
21361 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
21363 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21364 if (!SWIG_IsOK(ecode2
)) {
21365 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Event_SetTimestamp" "', expected argument " "2"" of type '" "long""'");
21367 arg2
= static_cast< long >(val2
);
21370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21371 (arg1
)->SetTimestamp(arg2
);
21372 wxPyEndAllowThreads(__tstate
);
21373 if (PyErr_Occurred()) SWIG_fail
;
21375 resultobj
= SWIG_Py_Void();
21382 SWIGINTERN PyObject
*_wrap_Event_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21383 PyObject
*resultobj
= 0;
21384 wxEvent
*arg1
= (wxEvent
*) 0 ;
21388 PyObject
*swig_obj
[1] ;
21390 if (!args
) SWIG_fail
;
21391 swig_obj
[0] = args
;
21392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
21393 if (!SWIG_IsOK(res1
)) {
21394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_GetId" "', expected argument " "1"" of type '" "wxEvent const *""'");
21396 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
21398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21399 result
= (int)((wxEvent
const *)arg1
)->GetId();
21400 wxPyEndAllowThreads(__tstate
);
21401 if (PyErr_Occurred()) SWIG_fail
;
21403 resultobj
= SWIG_From_int(static_cast< int >(result
));
21410 SWIGINTERN PyObject
*_wrap_Event_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21411 PyObject
*resultobj
= 0;
21412 wxEvent
*arg1
= (wxEvent
*) 0 ;
21418 PyObject
* obj0
= 0 ;
21419 PyObject
* obj1
= 0 ;
21420 char * kwnames
[] = {
21421 (char *) "self",(char *) "Id", NULL
21424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
21426 if (!SWIG_IsOK(res1
)) {
21427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_SetId" "', expected argument " "1"" of type '" "wxEvent *""'");
21429 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
21430 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21431 if (!SWIG_IsOK(ecode2
)) {
21432 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Event_SetId" "', expected argument " "2"" of type '" "int""'");
21434 arg2
= static_cast< int >(val2
);
21436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21437 (arg1
)->SetId(arg2
);
21438 wxPyEndAllowThreads(__tstate
);
21439 if (PyErr_Occurred()) SWIG_fail
;
21441 resultobj
= SWIG_Py_Void();
21448 SWIGINTERN PyObject
*_wrap_Event_IsCommandEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21449 PyObject
*resultobj
= 0;
21450 wxEvent
*arg1
= (wxEvent
*) 0 ;
21454 PyObject
*swig_obj
[1] ;
21456 if (!args
) SWIG_fail
;
21457 swig_obj
[0] = args
;
21458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
21459 if (!SWIG_IsOK(res1
)) {
21460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_IsCommandEvent" "', expected argument " "1"" of type '" "wxEvent const *""'");
21462 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
21464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21465 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
21466 wxPyEndAllowThreads(__tstate
);
21467 if (PyErr_Occurred()) SWIG_fail
;
21470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21478 SWIGINTERN PyObject
*_wrap_Event_Skip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21479 PyObject
*resultobj
= 0;
21480 wxEvent
*arg1
= (wxEvent
*) 0 ;
21481 bool arg2
= (bool) true ;
21486 PyObject
* obj0
= 0 ;
21487 PyObject
* obj1
= 0 ;
21488 char * kwnames
[] = {
21489 (char *) "self",(char *) "skip", NULL
21492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
21494 if (!SWIG_IsOK(res1
)) {
21495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_Skip" "', expected argument " "1"" of type '" "wxEvent *""'");
21497 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
21499 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21500 if (!SWIG_IsOK(ecode2
)) {
21501 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Event_Skip" "', expected argument " "2"" of type '" "bool""'");
21503 arg2
= static_cast< bool >(val2
);
21506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21507 (arg1
)->Skip(arg2
);
21508 wxPyEndAllowThreads(__tstate
);
21509 if (PyErr_Occurred()) SWIG_fail
;
21511 resultobj
= SWIG_Py_Void();
21518 SWIGINTERN PyObject
*_wrap_Event_GetSkipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21519 PyObject
*resultobj
= 0;
21520 wxEvent
*arg1
= (wxEvent
*) 0 ;
21524 PyObject
*swig_obj
[1] ;
21526 if (!args
) SWIG_fail
;
21527 swig_obj
[0] = args
;
21528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
21529 if (!SWIG_IsOK(res1
)) {
21530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_GetSkipped" "', expected argument " "1"" of type '" "wxEvent const *""'");
21532 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
21534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21535 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
21536 wxPyEndAllowThreads(__tstate
);
21537 if (PyErr_Occurred()) SWIG_fail
;
21540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21548 SWIGINTERN PyObject
*_wrap_Event_ShouldPropagate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21549 PyObject
*resultobj
= 0;
21550 wxEvent
*arg1
= (wxEvent
*) 0 ;
21554 PyObject
*swig_obj
[1] ;
21556 if (!args
) SWIG_fail
;
21557 swig_obj
[0] = args
;
21558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
21559 if (!SWIG_IsOK(res1
)) {
21560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_ShouldPropagate" "', expected argument " "1"" of type '" "wxEvent const *""'");
21562 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
21564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21565 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
21566 wxPyEndAllowThreads(__tstate
);
21567 if (PyErr_Occurred()) SWIG_fail
;
21570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21578 SWIGINTERN PyObject
*_wrap_Event_StopPropagation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21579 PyObject
*resultobj
= 0;
21580 wxEvent
*arg1
= (wxEvent
*) 0 ;
21584 PyObject
*swig_obj
[1] ;
21586 if (!args
) SWIG_fail
;
21587 swig_obj
[0] = args
;
21588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
21589 if (!SWIG_IsOK(res1
)) {
21590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_StopPropagation" "', expected argument " "1"" of type '" "wxEvent *""'");
21592 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
21594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21595 result
= (int)(arg1
)->StopPropagation();
21596 wxPyEndAllowThreads(__tstate
);
21597 if (PyErr_Occurred()) SWIG_fail
;
21599 resultobj
= SWIG_From_int(static_cast< int >(result
));
21606 SWIGINTERN PyObject
*_wrap_Event_ResumePropagation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21607 PyObject
*resultobj
= 0;
21608 wxEvent
*arg1
= (wxEvent
*) 0 ;
21614 PyObject
* obj0
= 0 ;
21615 PyObject
* obj1
= 0 ;
21616 char * kwnames
[] = {
21617 (char *) "self",(char *) "propagationLevel", NULL
21620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
21622 if (!SWIG_IsOK(res1
)) {
21623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_ResumePropagation" "', expected argument " "1"" of type '" "wxEvent *""'");
21625 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
21626 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21627 if (!SWIG_IsOK(ecode2
)) {
21628 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Event_ResumePropagation" "', expected argument " "2"" of type '" "int""'");
21630 arg2
= static_cast< int >(val2
);
21632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21633 (arg1
)->ResumePropagation(arg2
);
21634 wxPyEndAllowThreads(__tstate
);
21635 if (PyErr_Occurred()) SWIG_fail
;
21637 resultobj
= SWIG_Py_Void();
21644 SWIGINTERN PyObject
*_wrap_Event_Clone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21645 PyObject
*resultobj
= 0;
21646 wxEvent
*arg1
= (wxEvent
*) 0 ;
21647 wxEvent
*result
= 0 ;
21650 PyObject
*swig_obj
[1] ;
21652 if (!args
) SWIG_fail
;
21653 swig_obj
[0] = args
;
21654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
21655 if (!SWIG_IsOK(res1
)) {
21656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_Clone" "', expected argument " "1"" of type '" "wxEvent *""'");
21658 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
21660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21661 result
= (wxEvent
*)(arg1
)->Clone();
21662 wxPyEndAllowThreads(__tstate
);
21663 if (PyErr_Occurred()) SWIG_fail
;
21665 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEvent
, 0 | 0 );
21672 SWIGINTERN PyObject
*Event_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21674 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21675 SWIG_TypeNewClientData(SWIGTYPE_p_wxEvent
, SWIG_NewClientData(obj
));
21676 return SWIG_Py_Void();
21679 SWIGINTERN PyObject
*_wrap_new_PropagationDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21680 PyObject
*resultobj
= 0;
21681 wxEvent
*arg1
= 0 ;
21682 wxPropagationDisabler
*result
= 0 ;
21685 PyObject
* obj0
= 0 ;
21686 char * kwnames
[] = {
21687 (char *) "event", NULL
21690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) SWIG_fail
;
21691 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxEvent
, 0 );
21692 if (!SWIG_IsOK(res1
)) {
21693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PropagationDisabler" "', expected argument " "1"" of type '" "wxEvent &""'");
21696 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PropagationDisabler" "', expected argument " "1"" of type '" "wxEvent &""'");
21698 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
21700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21701 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
21702 wxPyEndAllowThreads(__tstate
);
21703 if (PyErr_Occurred()) SWIG_fail
;
21705 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPropagationDisabler
, SWIG_POINTER_NEW
| 0 );
21712 SWIGINTERN PyObject
*_wrap_delete_PropagationDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21713 PyObject
*resultobj
= 0;
21714 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
21717 PyObject
*swig_obj
[1] ;
21719 if (!args
) SWIG_fail
;
21720 swig_obj
[0] = args
;
21721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPropagationDisabler
, SWIG_POINTER_DISOWN
| 0 );
21722 if (!SWIG_IsOK(res1
)) {
21723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PropagationDisabler" "', expected argument " "1"" of type '" "wxPropagationDisabler *""'");
21725 arg1
= reinterpret_cast< wxPropagationDisabler
* >(argp1
);
21727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21730 wxPyEndAllowThreads(__tstate
);
21731 if (PyErr_Occurred()) SWIG_fail
;
21733 resultobj
= SWIG_Py_Void();
21740 SWIGINTERN PyObject
*PropagationDisabler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21742 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21743 SWIG_TypeNewClientData(SWIGTYPE_p_wxPropagationDisabler
, SWIG_NewClientData(obj
));
21744 return SWIG_Py_Void();
21747 SWIGINTERN PyObject
*PropagationDisabler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21748 return SWIG_Python_InitShadowInstance(args
);
21751 SWIGINTERN PyObject
*_wrap_new_PropagateOnce(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21752 PyObject
*resultobj
= 0;
21753 wxEvent
*arg1
= 0 ;
21754 wxPropagateOnce
*result
= 0 ;
21757 PyObject
* obj0
= 0 ;
21758 char * kwnames
[] = {
21759 (char *) "event", NULL
21762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) SWIG_fail
;
21763 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxEvent
, 0 );
21764 if (!SWIG_IsOK(res1
)) {
21765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PropagateOnce" "', expected argument " "1"" of type '" "wxEvent &""'");
21768 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PropagateOnce" "', expected argument " "1"" of type '" "wxEvent &""'");
21770 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
21772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21773 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
21774 wxPyEndAllowThreads(__tstate
);
21775 if (PyErr_Occurred()) SWIG_fail
;
21777 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPropagateOnce
, SWIG_POINTER_NEW
| 0 );
21784 SWIGINTERN PyObject
*_wrap_delete_PropagateOnce(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21785 PyObject
*resultobj
= 0;
21786 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
21789 PyObject
*swig_obj
[1] ;
21791 if (!args
) SWIG_fail
;
21792 swig_obj
[0] = args
;
21793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPropagateOnce
, SWIG_POINTER_DISOWN
| 0 );
21794 if (!SWIG_IsOK(res1
)) {
21795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PropagateOnce" "', expected argument " "1"" of type '" "wxPropagateOnce *""'");
21797 arg1
= reinterpret_cast< wxPropagateOnce
* >(argp1
);
21799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21802 wxPyEndAllowThreads(__tstate
);
21803 if (PyErr_Occurred()) SWIG_fail
;
21805 resultobj
= SWIG_Py_Void();
21812 SWIGINTERN PyObject
*PropagateOnce_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21814 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21815 SWIG_TypeNewClientData(SWIGTYPE_p_wxPropagateOnce
, SWIG_NewClientData(obj
));
21816 return SWIG_Py_Void();
21819 SWIGINTERN PyObject
*PropagateOnce_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21820 return SWIG_Python_InitShadowInstance(args
);
21823 SWIGINTERN PyObject
*_wrap_new_CommandEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21824 PyObject
*resultobj
= 0;
21825 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21826 int arg2
= (int) 0 ;
21827 wxCommandEvent
*result
= 0 ;
21832 PyObject
* obj0
= 0 ;
21833 PyObject
* obj1
= 0 ;
21834 char * kwnames
[] = {
21835 (char *) "commandType",(char *) "winid", NULL
21838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21840 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21841 if (!SWIG_IsOK(ecode1
)) {
21842 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CommandEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21844 arg1
= static_cast< wxEventType
>(val1
);
21847 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21848 if (!SWIG_IsOK(ecode2
)) {
21849 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CommandEvent" "', expected argument " "2"" of type '" "int""'");
21851 arg2
= static_cast< int >(val2
);
21854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21855 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
21856 wxPyEndAllowThreads(__tstate
);
21857 if (PyErr_Occurred()) SWIG_fail
;
21859 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_NEW
| 0 );
21866 SWIGINTERN PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21867 PyObject
*resultobj
= 0;
21868 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
21872 PyObject
*swig_obj
[1] ;
21874 if (!args
) SWIG_fail
;
21875 swig_obj
[0] = args
;
21876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
21877 if (!SWIG_IsOK(res1
)) {
21878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_GetSelection" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
21880 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
21882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21883 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
21884 wxPyEndAllowThreads(__tstate
);
21885 if (PyErr_Occurred()) SWIG_fail
;
21887 resultobj
= SWIG_From_int(static_cast< int >(result
));
21894 SWIGINTERN PyObject
*_wrap_CommandEvent_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21895 PyObject
*resultobj
= 0;
21896 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
21897 wxString
*arg2
= 0 ;
21900 bool temp2
= false ;
21901 PyObject
* obj0
= 0 ;
21902 PyObject
* obj1
= 0 ;
21903 char * kwnames
[] = {
21904 (char *) "self",(char *) "s", NULL
21907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
21909 if (!SWIG_IsOK(res1
)) {
21910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_SetString" "', expected argument " "1"" of type '" "wxCommandEvent *""'");
21912 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
21914 arg2
= wxString_in_helper(obj1
);
21915 if (arg2
== NULL
) SWIG_fail
;
21919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21920 (arg1
)->SetString((wxString
const &)*arg2
);
21921 wxPyEndAllowThreads(__tstate
);
21922 if (PyErr_Occurred()) SWIG_fail
;
21924 resultobj
= SWIG_Py_Void();
21939 SWIGINTERN PyObject
*_wrap_CommandEvent_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21940 PyObject
*resultobj
= 0;
21941 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
21945 PyObject
*swig_obj
[1] ;
21947 if (!args
) SWIG_fail
;
21948 swig_obj
[0] = args
;
21949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
21950 if (!SWIG_IsOK(res1
)) {
21951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_GetString" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
21953 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
21955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21956 result
= ((wxCommandEvent
const *)arg1
)->GetString();
21957 wxPyEndAllowThreads(__tstate
);
21958 if (PyErr_Occurred()) SWIG_fail
;
21962 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21964 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21973 SWIGINTERN PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21974 PyObject
*resultobj
= 0;
21975 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
21979 PyObject
*swig_obj
[1] ;
21981 if (!args
) SWIG_fail
;
21982 swig_obj
[0] = args
;
21983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
21984 if (!SWIG_IsOK(res1
)) {
21985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_IsChecked" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
21987 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
21989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21990 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
21991 wxPyEndAllowThreads(__tstate
);
21992 if (PyErr_Occurred()) SWIG_fail
;
21995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22003 SWIGINTERN PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22004 PyObject
*resultobj
= 0;
22005 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
22009 PyObject
*swig_obj
[1] ;
22011 if (!args
) SWIG_fail
;
22012 swig_obj
[0] = args
;
22013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
22014 if (!SWIG_IsOK(res1
)) {
22015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_IsSelection" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
22017 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
22019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22020 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
22021 wxPyEndAllowThreads(__tstate
);
22022 if (PyErr_Occurred()) SWIG_fail
;
22025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22033 SWIGINTERN PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22034 PyObject
*resultobj
= 0;
22035 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
22041 PyObject
* obj0
= 0 ;
22042 PyObject
* obj1
= 0 ;
22043 char * kwnames
[] = {
22044 (char *) "self",(char *) "extraLong", NULL
22047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
22049 if (!SWIG_IsOK(res1
)) {
22050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_SetExtraLong" "', expected argument " "1"" of type '" "wxCommandEvent *""'");
22052 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
22053 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
22054 if (!SWIG_IsOK(ecode2
)) {
22055 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CommandEvent_SetExtraLong" "', expected argument " "2"" of type '" "long""'");
22057 arg2
= static_cast< long >(val2
);
22059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22060 (arg1
)->SetExtraLong(arg2
);
22061 wxPyEndAllowThreads(__tstate
);
22062 if (PyErr_Occurred()) SWIG_fail
;
22064 resultobj
= SWIG_Py_Void();
22071 SWIGINTERN PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22072 PyObject
*resultobj
= 0;
22073 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
22077 PyObject
*swig_obj
[1] ;
22079 if (!args
) SWIG_fail
;
22080 swig_obj
[0] = args
;
22081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
22082 if (!SWIG_IsOK(res1
)) {
22083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_GetExtraLong" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
22085 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
22087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22088 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
22089 wxPyEndAllowThreads(__tstate
);
22090 if (PyErr_Occurred()) SWIG_fail
;
22092 resultobj
= SWIG_From_long(static_cast< long >(result
));
22099 SWIGINTERN PyObject
*_wrap_CommandEvent_SetInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22100 PyObject
*resultobj
= 0;
22101 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
22107 PyObject
* obj0
= 0 ;
22108 PyObject
* obj1
= 0 ;
22109 char * kwnames
[] = {
22110 (char *) "self",(char *) "i", NULL
22113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
22115 if (!SWIG_IsOK(res1
)) {
22116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_SetInt" "', expected argument " "1"" of type '" "wxCommandEvent *""'");
22118 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
22119 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22120 if (!SWIG_IsOK(ecode2
)) {
22121 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CommandEvent_SetInt" "', expected argument " "2"" of type '" "int""'");
22123 arg2
= static_cast< int >(val2
);
22125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22126 (arg1
)->SetInt(arg2
);
22127 wxPyEndAllowThreads(__tstate
);
22128 if (PyErr_Occurred()) SWIG_fail
;
22130 resultobj
= SWIG_Py_Void();
22137 SWIGINTERN PyObject
*_wrap_CommandEvent_GetInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22138 PyObject
*resultobj
= 0;
22139 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
22143 PyObject
*swig_obj
[1] ;
22145 if (!args
) SWIG_fail
;
22146 swig_obj
[0] = args
;
22147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
22148 if (!SWIG_IsOK(res1
)) {
22149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_GetInt" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
22151 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
22153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22154 result
= (int)((wxCommandEvent
const *)arg1
)->GetInt();
22155 wxPyEndAllowThreads(__tstate
);
22156 if (PyErr_Occurred()) SWIG_fail
;
22158 resultobj
= SWIG_From_int(static_cast< int >(result
));
22165 SWIGINTERN PyObject
*_wrap_CommandEvent_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22166 PyObject
*resultobj
= 0;
22167 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
22168 PyObject
*result
= 0 ;
22171 PyObject
*swig_obj
[1] ;
22173 if (!args
) SWIG_fail
;
22174 swig_obj
[0] = args
;
22175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
22176 if (!SWIG_IsOK(res1
)) {
22177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_GetClientData" "', expected argument " "1"" of type '" "wxCommandEvent *""'");
22179 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
22181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22182 result
= (PyObject
*)wxCommandEvent_GetClientData(arg1
);
22183 wxPyEndAllowThreads(__tstate
);
22184 if (PyErr_Occurred()) SWIG_fail
;
22186 resultobj
= result
;
22193 SWIGINTERN PyObject
*_wrap_CommandEvent_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22194 PyObject
*resultobj
= 0;
22195 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
22196 PyObject
*arg2
= (PyObject
*) 0 ;
22199 PyObject
* obj0
= 0 ;
22200 PyObject
* obj1
= 0 ;
22201 char * kwnames
[] = {
22202 (char *) "self",(char *) "clientData", NULL
22205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
22207 if (!SWIG_IsOK(res1
)) {
22208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_SetClientData" "', expected argument " "1"" of type '" "wxCommandEvent *""'");
22210 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
22213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22214 wxCommandEvent_SetClientData(arg1
,arg2
);
22215 wxPyEndAllowThreads(__tstate
);
22216 if (PyErr_Occurred()) SWIG_fail
;
22218 resultobj
= SWIG_Py_Void();
22225 SWIGINTERN PyObject
*_wrap_CommandEvent_Clone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22226 PyObject
*resultobj
= 0;
22227 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
22228 wxEvent
*result
= 0 ;
22231 PyObject
*swig_obj
[1] ;
22233 if (!args
) SWIG_fail
;
22234 swig_obj
[0] = args
;
22235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
22236 if (!SWIG_IsOK(res1
)) {
22237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_Clone" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
22239 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
22241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22242 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
22243 wxPyEndAllowThreads(__tstate
);
22244 if (PyErr_Occurred()) SWIG_fail
;
22246 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEvent
, 0 | 0 );
22253 SWIGINTERN PyObject
*CommandEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22255 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22256 SWIG_TypeNewClientData(SWIGTYPE_p_wxCommandEvent
, SWIG_NewClientData(obj
));
22257 return SWIG_Py_Void();
22260 SWIGINTERN PyObject
*CommandEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22261 return SWIG_Python_InitShadowInstance(args
);
22264 SWIGINTERN PyObject
*_wrap_new_NotifyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22265 PyObject
*resultobj
= 0;
22266 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22267 int arg2
= (int) 0 ;
22268 wxNotifyEvent
*result
= 0 ;
22273 PyObject
* obj0
= 0 ;
22274 PyObject
* obj1
= 0 ;
22275 char * kwnames
[] = {
22276 (char *) "commandType",(char *) "winid", NULL
22279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22281 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22282 if (!SWIG_IsOK(ecode1
)) {
22283 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotifyEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22285 arg1
= static_cast< wxEventType
>(val1
);
22288 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22289 if (!SWIG_IsOK(ecode2
)) {
22290 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotifyEvent" "', expected argument " "2"" of type '" "int""'");
22292 arg2
= static_cast< int >(val2
);
22295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22296 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
22297 wxPyEndAllowThreads(__tstate
);
22298 if (PyErr_Occurred()) SWIG_fail
;
22300 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_NEW
| 0 );
22307 SWIGINTERN PyObject
*_wrap_NotifyEvent_Veto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22308 PyObject
*resultobj
= 0;
22309 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
22312 PyObject
*swig_obj
[1] ;
22314 if (!args
) SWIG_fail
;
22315 swig_obj
[0] = args
;
22316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotifyEvent
, 0 | 0 );
22317 if (!SWIG_IsOK(res1
)) {
22318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NotifyEvent_Veto" "', expected argument " "1"" of type '" "wxNotifyEvent *""'");
22320 arg1
= reinterpret_cast< wxNotifyEvent
* >(argp1
);
22322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22324 wxPyEndAllowThreads(__tstate
);
22325 if (PyErr_Occurred()) SWIG_fail
;
22327 resultobj
= SWIG_Py_Void();
22334 SWIGINTERN PyObject
*_wrap_NotifyEvent_Allow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22335 PyObject
*resultobj
= 0;
22336 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
22339 PyObject
*swig_obj
[1] ;
22341 if (!args
) SWIG_fail
;
22342 swig_obj
[0] = args
;
22343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotifyEvent
, 0 | 0 );
22344 if (!SWIG_IsOK(res1
)) {
22345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NotifyEvent_Allow" "', expected argument " "1"" of type '" "wxNotifyEvent *""'");
22347 arg1
= reinterpret_cast< wxNotifyEvent
* >(argp1
);
22349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22351 wxPyEndAllowThreads(__tstate
);
22352 if (PyErr_Occurred()) SWIG_fail
;
22354 resultobj
= SWIG_Py_Void();
22361 SWIGINTERN PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22362 PyObject
*resultobj
= 0;
22363 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
22367 PyObject
*swig_obj
[1] ;
22369 if (!args
) SWIG_fail
;
22370 swig_obj
[0] = args
;
22371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotifyEvent
, 0 | 0 );
22372 if (!SWIG_IsOK(res1
)) {
22373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NotifyEvent_IsAllowed" "', expected argument " "1"" of type '" "wxNotifyEvent *""'");
22375 arg1
= reinterpret_cast< wxNotifyEvent
* >(argp1
);
22377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22378 result
= (bool)(arg1
)->IsAllowed();
22379 wxPyEndAllowThreads(__tstate
);
22380 if (PyErr_Occurred()) SWIG_fail
;
22383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22391 SWIGINTERN PyObject
*NotifyEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22393 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22394 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotifyEvent
, SWIG_NewClientData(obj
));
22395 return SWIG_Py_Void();
22398 SWIGINTERN PyObject
*NotifyEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22399 return SWIG_Python_InitShadowInstance(args
);
22402 SWIGINTERN PyObject
*_wrap_new_ScrollEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22403 PyObject
*resultobj
= 0;
22404 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22405 int arg2
= (int) 0 ;
22406 int arg3
= (int) 0 ;
22407 int arg4
= (int) 0 ;
22408 wxScrollEvent
*result
= 0 ;
22417 PyObject
* obj0
= 0 ;
22418 PyObject
* obj1
= 0 ;
22419 PyObject
* obj2
= 0 ;
22420 PyObject
* obj3
= 0 ;
22421 char * kwnames
[] = {
22422 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
22425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22427 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22428 if (!SWIG_IsOK(ecode1
)) {
22429 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ScrollEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22431 arg1
= static_cast< wxEventType
>(val1
);
22434 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22435 if (!SWIG_IsOK(ecode2
)) {
22436 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollEvent" "', expected argument " "2"" of type '" "int""'");
22438 arg2
= static_cast< int >(val2
);
22441 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22442 if (!SWIG_IsOK(ecode3
)) {
22443 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ScrollEvent" "', expected argument " "3"" of type '" "int""'");
22445 arg3
= static_cast< int >(val3
);
22448 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22449 if (!SWIG_IsOK(ecode4
)) {
22450 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ScrollEvent" "', expected argument " "4"" of type '" "int""'");
22452 arg4
= static_cast< int >(val4
);
22455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22456 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
22457 wxPyEndAllowThreads(__tstate
);
22458 if (PyErr_Occurred()) SWIG_fail
;
22460 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_NEW
| 0 );
22467 SWIGINTERN PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22468 PyObject
*resultobj
= 0;
22469 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
22473 PyObject
*swig_obj
[1] ;
22475 if (!args
) SWIG_fail
;
22476 swig_obj
[0] = args
;
22477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollEvent
, 0 | 0 );
22478 if (!SWIG_IsOK(res1
)) {
22479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollEvent_GetOrientation" "', expected argument " "1"" of type '" "wxScrollEvent const *""'");
22481 arg1
= reinterpret_cast< wxScrollEvent
* >(argp1
);
22483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22484 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
22485 wxPyEndAllowThreads(__tstate
);
22486 if (PyErr_Occurred()) SWIG_fail
;
22488 resultobj
= SWIG_From_int(static_cast< int >(result
));
22495 SWIGINTERN PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22496 PyObject
*resultobj
= 0;
22497 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
22501 PyObject
*swig_obj
[1] ;
22503 if (!args
) SWIG_fail
;
22504 swig_obj
[0] = args
;
22505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollEvent
, 0 | 0 );
22506 if (!SWIG_IsOK(res1
)) {
22507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollEvent_GetPosition" "', expected argument " "1"" of type '" "wxScrollEvent const *""'");
22509 arg1
= reinterpret_cast< wxScrollEvent
* >(argp1
);
22511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22512 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
22513 wxPyEndAllowThreads(__tstate
);
22514 if (PyErr_Occurred()) SWIG_fail
;
22516 resultobj
= SWIG_From_int(static_cast< int >(result
));
22523 SWIGINTERN PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22524 PyObject
*resultobj
= 0;
22525 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
22531 PyObject
* obj0
= 0 ;
22532 PyObject
* obj1
= 0 ;
22533 char * kwnames
[] = {
22534 (char *) "self",(char *) "orient", NULL
22537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollEvent
, 0 | 0 );
22539 if (!SWIG_IsOK(res1
)) {
22540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollEvent_SetOrientation" "', expected argument " "1"" of type '" "wxScrollEvent *""'");
22542 arg1
= reinterpret_cast< wxScrollEvent
* >(argp1
);
22543 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22544 if (!SWIG_IsOK(ecode2
)) {
22545 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollEvent_SetOrientation" "', expected argument " "2"" of type '" "int""'");
22547 arg2
= static_cast< int >(val2
);
22549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22550 (arg1
)->SetOrientation(arg2
);
22551 wxPyEndAllowThreads(__tstate
);
22552 if (PyErr_Occurred()) SWIG_fail
;
22554 resultobj
= SWIG_Py_Void();
22561 SWIGINTERN PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22562 PyObject
*resultobj
= 0;
22563 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
22569 PyObject
* obj0
= 0 ;
22570 PyObject
* obj1
= 0 ;
22571 char * kwnames
[] = {
22572 (char *) "self",(char *) "pos", NULL
22575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollEvent
, 0 | 0 );
22577 if (!SWIG_IsOK(res1
)) {
22578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollEvent_SetPosition" "', expected argument " "1"" of type '" "wxScrollEvent *""'");
22580 arg1
= reinterpret_cast< wxScrollEvent
* >(argp1
);
22581 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22582 if (!SWIG_IsOK(ecode2
)) {
22583 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
22585 arg2
= static_cast< int >(val2
);
22587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22588 (arg1
)->SetPosition(arg2
);
22589 wxPyEndAllowThreads(__tstate
);
22590 if (PyErr_Occurred()) SWIG_fail
;
22592 resultobj
= SWIG_Py_Void();
22599 SWIGINTERN PyObject
*ScrollEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22601 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22602 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollEvent
, SWIG_NewClientData(obj
));
22603 return SWIG_Py_Void();
22606 SWIGINTERN PyObject
*ScrollEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22607 return SWIG_Python_InitShadowInstance(args
);
22610 SWIGINTERN PyObject
*_wrap_new_ScrollWinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22611 PyObject
*resultobj
= 0;
22612 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22613 int arg2
= (int) 0 ;
22614 int arg3
= (int) 0 ;
22615 wxScrollWinEvent
*result
= 0 ;
22622 PyObject
* obj0
= 0 ;
22623 PyObject
* obj1
= 0 ;
22624 PyObject
* obj2
= 0 ;
22625 char * kwnames
[] = {
22626 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
22629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22631 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22632 if (!SWIG_IsOK(ecode1
)) {
22633 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ScrollWinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22635 arg1
= static_cast< wxEventType
>(val1
);
22638 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22639 if (!SWIG_IsOK(ecode2
)) {
22640 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollWinEvent" "', expected argument " "2"" of type '" "int""'");
22642 arg2
= static_cast< int >(val2
);
22645 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22646 if (!SWIG_IsOK(ecode3
)) {
22647 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ScrollWinEvent" "', expected argument " "3"" of type '" "int""'");
22649 arg3
= static_cast< int >(val3
);
22652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22653 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
22654 wxPyEndAllowThreads(__tstate
);
22655 if (PyErr_Occurred()) SWIG_fail
;
22657 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_NEW
| 0 );
22664 SWIGINTERN PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22665 PyObject
*resultobj
= 0;
22666 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
22670 PyObject
*swig_obj
[1] ;
22672 if (!args
) SWIG_fail
;
22673 swig_obj
[0] = args
;
22674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollWinEvent
, 0 | 0 );
22675 if (!SWIG_IsOK(res1
)) {
22676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollWinEvent_GetOrientation" "', expected argument " "1"" of type '" "wxScrollWinEvent const *""'");
22678 arg1
= reinterpret_cast< wxScrollWinEvent
* >(argp1
);
22680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22681 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
22682 wxPyEndAllowThreads(__tstate
);
22683 if (PyErr_Occurred()) SWIG_fail
;
22685 resultobj
= SWIG_From_int(static_cast< int >(result
));
22692 SWIGINTERN PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22693 PyObject
*resultobj
= 0;
22694 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
22698 PyObject
*swig_obj
[1] ;
22700 if (!args
) SWIG_fail
;
22701 swig_obj
[0] = args
;
22702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollWinEvent
, 0 | 0 );
22703 if (!SWIG_IsOK(res1
)) {
22704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollWinEvent_GetPosition" "', expected argument " "1"" of type '" "wxScrollWinEvent const *""'");
22706 arg1
= reinterpret_cast< wxScrollWinEvent
* >(argp1
);
22708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22709 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
22710 wxPyEndAllowThreads(__tstate
);
22711 if (PyErr_Occurred()) SWIG_fail
;
22713 resultobj
= SWIG_From_int(static_cast< int >(result
));
22720 SWIGINTERN PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22721 PyObject
*resultobj
= 0;
22722 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
22728 PyObject
* obj0
= 0 ;
22729 PyObject
* obj1
= 0 ;
22730 char * kwnames
[] = {
22731 (char *) "self",(char *) "orient", NULL
22734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollWinEvent
, 0 | 0 );
22736 if (!SWIG_IsOK(res1
)) {
22737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollWinEvent_SetOrientation" "', expected argument " "1"" of type '" "wxScrollWinEvent *""'");
22739 arg1
= reinterpret_cast< wxScrollWinEvent
* >(argp1
);
22740 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22741 if (!SWIG_IsOK(ecode2
)) {
22742 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollWinEvent_SetOrientation" "', expected argument " "2"" of type '" "int""'");
22744 arg2
= static_cast< int >(val2
);
22746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22747 (arg1
)->SetOrientation(arg2
);
22748 wxPyEndAllowThreads(__tstate
);
22749 if (PyErr_Occurred()) SWIG_fail
;
22751 resultobj
= SWIG_Py_Void();
22758 SWIGINTERN PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22759 PyObject
*resultobj
= 0;
22760 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
22766 PyObject
* obj0
= 0 ;
22767 PyObject
* obj1
= 0 ;
22768 char * kwnames
[] = {
22769 (char *) "self",(char *) "pos", NULL
22772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollWinEvent
, 0 | 0 );
22774 if (!SWIG_IsOK(res1
)) {
22775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollWinEvent_SetPosition" "', expected argument " "1"" of type '" "wxScrollWinEvent *""'");
22777 arg1
= reinterpret_cast< wxScrollWinEvent
* >(argp1
);
22778 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22779 if (!SWIG_IsOK(ecode2
)) {
22780 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollWinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
22782 arg2
= static_cast< int >(val2
);
22784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22785 (arg1
)->SetPosition(arg2
);
22786 wxPyEndAllowThreads(__tstate
);
22787 if (PyErr_Occurred()) SWIG_fail
;
22789 resultobj
= SWIG_Py_Void();
22796 SWIGINTERN PyObject
*ScrollWinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22798 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22799 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollWinEvent
, SWIG_NewClientData(obj
));
22800 return SWIG_Py_Void();
22803 SWIGINTERN PyObject
*ScrollWinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22804 return SWIG_Python_InitShadowInstance(args
);
22807 SWIGINTERN PyObject
*_wrap_new_MouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22808 PyObject
*resultobj
= 0;
22809 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22810 wxMouseEvent
*result
= 0 ;
22813 PyObject
* obj0
= 0 ;
22814 char * kwnames
[] = {
22815 (char *) "mouseType", NULL
22818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) SWIG_fail
;
22820 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22821 if (!SWIG_IsOK(ecode1
)) {
22822 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_MouseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22824 arg1
= static_cast< wxEventType
>(val1
);
22827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22828 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
22829 wxPyEndAllowThreads(__tstate
);
22830 if (PyErr_Occurred()) SWIG_fail
;
22832 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_NEW
| 0 );
22839 SWIGINTERN PyObject
*_wrap_MouseEvent_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22840 PyObject
*resultobj
= 0;
22841 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
22845 PyObject
*swig_obj
[1] ;
22847 if (!args
) SWIG_fail
;
22848 swig_obj
[0] = args
;
22849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
22850 if (!SWIG_IsOK(res1
)) {
22851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_IsButton" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
22853 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
22855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22856 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
22857 wxPyEndAllowThreads(__tstate
);
22858 if (PyErr_Occurred()) SWIG_fail
;
22861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22869 SWIGINTERN PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22870 PyObject
*resultobj
= 0;
22871 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
22872 int arg2
= (int) wxMOUSE_BTN_ANY
;
22878 PyObject
* obj0
= 0 ;
22879 PyObject
* obj1
= 0 ;
22880 char * kwnames
[] = {
22881 (char *) "self",(char *) "but", NULL
22884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
22886 if (!SWIG_IsOK(res1
)) {
22887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_ButtonDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
22889 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
22891 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22892 if (!SWIG_IsOK(ecode2
)) {
22893 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_ButtonDown" "', expected argument " "2"" of type '" "int""'");
22895 arg2
= static_cast< int >(val2
);
22898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22899 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
22900 wxPyEndAllowThreads(__tstate
);
22901 if (PyErr_Occurred()) SWIG_fail
;
22904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22912 SWIGINTERN PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22913 PyObject
*resultobj
= 0;
22914 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
22915 int arg2
= (int) wxMOUSE_BTN_ANY
;
22921 PyObject
* obj0
= 0 ;
22922 PyObject
* obj1
= 0 ;
22923 char * kwnames
[] = {
22924 (char *) "self",(char *) "but", NULL
22927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
22929 if (!SWIG_IsOK(res1
)) {
22930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_ButtonDClick" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
22932 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
22934 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22935 if (!SWIG_IsOK(ecode2
)) {
22936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_ButtonDClick" "', expected argument " "2"" of type '" "int""'");
22938 arg2
= static_cast< int >(val2
);
22941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22942 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
22943 wxPyEndAllowThreads(__tstate
);
22944 if (PyErr_Occurred()) SWIG_fail
;
22947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22955 SWIGINTERN PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22956 PyObject
*resultobj
= 0;
22957 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
22958 int arg2
= (int) wxMOUSE_BTN_ANY
;
22964 PyObject
* obj0
= 0 ;
22965 PyObject
* obj1
= 0 ;
22966 char * kwnames
[] = {
22967 (char *) "self",(char *) "but", NULL
22970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
22972 if (!SWIG_IsOK(res1
)) {
22973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_ButtonUp" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
22975 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
22977 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22978 if (!SWIG_IsOK(ecode2
)) {
22979 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_ButtonUp" "', expected argument " "2"" of type '" "int""'");
22981 arg2
= static_cast< int >(val2
);
22984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22985 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
22986 wxPyEndAllowThreads(__tstate
);
22987 if (PyErr_Occurred()) SWIG_fail
;
22990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22998 SWIGINTERN PyObject
*_wrap_MouseEvent_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22999 PyObject
*resultobj
= 0;
23000 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23007 PyObject
* obj0
= 0 ;
23008 PyObject
* obj1
= 0 ;
23009 char * kwnames
[] = {
23010 (char *) "self",(char *) "button", NULL
23013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23015 if (!SWIG_IsOK(res1
)) {
23016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_Button" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23018 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23019 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23020 if (!SWIG_IsOK(ecode2
)) {
23021 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_Button" "', expected argument " "2"" of type '" "int""'");
23023 arg2
= static_cast< int >(val2
);
23025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23026 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
23027 wxPyEndAllowThreads(__tstate
);
23028 if (PyErr_Occurred()) SWIG_fail
;
23031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23039 SWIGINTERN PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23040 PyObject
*resultobj
= 0;
23041 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23048 PyObject
* obj0
= 0 ;
23049 PyObject
* obj1
= 0 ;
23050 char * kwnames
[] = {
23051 (char *) "self",(char *) "but", NULL
23054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23056 if (!SWIG_IsOK(res1
)) {
23057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_ButtonIsDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23059 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23060 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23061 if (!SWIG_IsOK(ecode2
)) {
23062 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_ButtonIsDown" "', expected argument " "2"" of type '" "int""'");
23064 arg2
= static_cast< int >(val2
);
23066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23067 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
23068 wxPyEndAllowThreads(__tstate
);
23069 if (PyErr_Occurred()) SWIG_fail
;
23072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23080 SWIGINTERN PyObject
*_wrap_MouseEvent_GetButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23081 PyObject
*resultobj
= 0;
23082 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23086 PyObject
*swig_obj
[1] ;
23088 if (!args
) SWIG_fail
;
23089 swig_obj
[0] = args
;
23090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23091 if (!SWIG_IsOK(res1
)) {
23092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetButton" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23094 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23097 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
23098 wxPyEndAllowThreads(__tstate
);
23099 if (PyErr_Occurred()) SWIG_fail
;
23101 resultobj
= SWIG_From_int(static_cast< int >(result
));
23108 SWIGINTERN PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23109 PyObject
*resultobj
= 0;
23110 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23114 PyObject
*swig_obj
[1] ;
23116 if (!args
) SWIG_fail
;
23117 swig_obj
[0] = args
;
23118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23119 if (!SWIG_IsOK(res1
)) {
23120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_ControlDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23122 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23125 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
23126 wxPyEndAllowThreads(__tstate
);
23127 if (PyErr_Occurred()) SWIG_fail
;
23130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23138 SWIGINTERN PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23139 PyObject
*resultobj
= 0;
23140 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23144 PyObject
*swig_obj
[1] ;
23146 if (!args
) SWIG_fail
;
23147 swig_obj
[0] = args
;
23148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23149 if (!SWIG_IsOK(res1
)) {
23150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_MetaDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23152 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23155 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
23156 wxPyEndAllowThreads(__tstate
);
23157 if (PyErr_Occurred()) SWIG_fail
;
23160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23168 SWIGINTERN PyObject
*_wrap_MouseEvent_AltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23169 PyObject
*resultobj
= 0;
23170 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23174 PyObject
*swig_obj
[1] ;
23176 if (!args
) SWIG_fail
;
23177 swig_obj
[0] = args
;
23178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23179 if (!SWIG_IsOK(res1
)) {
23180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_AltDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23182 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23185 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
23186 wxPyEndAllowThreads(__tstate
);
23187 if (PyErr_Occurred()) SWIG_fail
;
23190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23198 SWIGINTERN PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23199 PyObject
*resultobj
= 0;
23200 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23204 PyObject
*swig_obj
[1] ;
23206 if (!args
) SWIG_fail
;
23207 swig_obj
[0] = args
;
23208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23209 if (!SWIG_IsOK(res1
)) {
23210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_ShiftDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23212 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23215 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
23216 wxPyEndAllowThreads(__tstate
);
23217 if (PyErr_Occurred()) SWIG_fail
;
23220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23228 SWIGINTERN PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23229 PyObject
*resultobj
= 0;
23230 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23234 PyObject
*swig_obj
[1] ;
23236 if (!args
) SWIG_fail
;
23237 swig_obj
[0] = args
;
23238 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23239 if (!SWIG_IsOK(res1
)) {
23240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_CmdDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23242 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23245 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
23246 wxPyEndAllowThreads(__tstate
);
23247 if (PyErr_Occurred()) SWIG_fail
;
23250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23258 SWIGINTERN PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23259 PyObject
*resultobj
= 0;
23260 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23264 PyObject
*swig_obj
[1] ;
23266 if (!args
) SWIG_fail
;
23267 swig_obj
[0] = args
;
23268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23269 if (!SWIG_IsOK(res1
)) {
23270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_LeftDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23272 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23275 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
23276 wxPyEndAllowThreads(__tstate
);
23277 if (PyErr_Occurred()) SWIG_fail
;
23280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23288 SWIGINTERN PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23289 PyObject
*resultobj
= 0;
23290 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23294 PyObject
*swig_obj
[1] ;
23296 if (!args
) SWIG_fail
;
23297 swig_obj
[0] = args
;
23298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23299 if (!SWIG_IsOK(res1
)) {
23300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_MiddleDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23302 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23305 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
23306 wxPyEndAllowThreads(__tstate
);
23307 if (PyErr_Occurred()) SWIG_fail
;
23310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23318 SWIGINTERN PyObject
*_wrap_MouseEvent_RightDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23319 PyObject
*resultobj
= 0;
23320 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23324 PyObject
*swig_obj
[1] ;
23326 if (!args
) SWIG_fail
;
23327 swig_obj
[0] = args
;
23328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23329 if (!SWIG_IsOK(res1
)) {
23330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_RightDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23332 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23335 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
23336 wxPyEndAllowThreads(__tstate
);
23337 if (PyErr_Occurred()) SWIG_fail
;
23340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23348 SWIGINTERN PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23349 PyObject
*resultobj
= 0;
23350 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23354 PyObject
*swig_obj
[1] ;
23356 if (!args
) SWIG_fail
;
23357 swig_obj
[0] = args
;
23358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23359 if (!SWIG_IsOK(res1
)) {
23360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_LeftUp" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23362 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23365 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
23366 wxPyEndAllowThreads(__tstate
);
23367 if (PyErr_Occurred()) SWIG_fail
;
23370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23378 SWIGINTERN PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23379 PyObject
*resultobj
= 0;
23380 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23384 PyObject
*swig_obj
[1] ;
23386 if (!args
) SWIG_fail
;
23387 swig_obj
[0] = args
;
23388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23389 if (!SWIG_IsOK(res1
)) {
23390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_MiddleUp" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23392 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23395 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
23396 wxPyEndAllowThreads(__tstate
);
23397 if (PyErr_Occurred()) SWIG_fail
;
23400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23408 SWIGINTERN PyObject
*_wrap_MouseEvent_RightUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23409 PyObject
*resultobj
= 0;
23410 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23414 PyObject
*swig_obj
[1] ;
23416 if (!args
) SWIG_fail
;
23417 swig_obj
[0] = args
;
23418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23419 if (!SWIG_IsOK(res1
)) {
23420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_RightUp" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23422 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23425 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
23426 wxPyEndAllowThreads(__tstate
);
23427 if (PyErr_Occurred()) SWIG_fail
;
23430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23438 SWIGINTERN PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23439 PyObject
*resultobj
= 0;
23440 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23444 PyObject
*swig_obj
[1] ;
23446 if (!args
) SWIG_fail
;
23447 swig_obj
[0] = args
;
23448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23449 if (!SWIG_IsOK(res1
)) {
23450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_LeftDClick" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23452 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23455 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
23456 wxPyEndAllowThreads(__tstate
);
23457 if (PyErr_Occurred()) SWIG_fail
;
23460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23468 SWIGINTERN PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23469 PyObject
*resultobj
= 0;
23470 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23474 PyObject
*swig_obj
[1] ;
23476 if (!args
) SWIG_fail
;
23477 swig_obj
[0] = args
;
23478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23479 if (!SWIG_IsOK(res1
)) {
23480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_MiddleDClick" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23482 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23485 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
23486 wxPyEndAllowThreads(__tstate
);
23487 if (PyErr_Occurred()) SWIG_fail
;
23490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23498 SWIGINTERN PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23499 PyObject
*resultobj
= 0;
23500 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23504 PyObject
*swig_obj
[1] ;
23506 if (!args
) SWIG_fail
;
23507 swig_obj
[0] = args
;
23508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23509 if (!SWIG_IsOK(res1
)) {
23510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_RightDClick" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23512 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23515 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
23516 wxPyEndAllowThreads(__tstate
);
23517 if (PyErr_Occurred()) SWIG_fail
;
23520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23528 SWIGINTERN PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23529 PyObject
*resultobj
= 0;
23530 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23534 PyObject
*swig_obj
[1] ;
23536 if (!args
) SWIG_fail
;
23537 swig_obj
[0] = args
;
23538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23539 if (!SWIG_IsOK(res1
)) {
23540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_LeftIsDown" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
23542 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23545 result
= (bool)(arg1
)->LeftIsDown();
23546 wxPyEndAllowThreads(__tstate
);
23547 if (PyErr_Occurred()) SWIG_fail
;
23550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23558 SWIGINTERN PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23559 PyObject
*resultobj
= 0;
23560 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23564 PyObject
*swig_obj
[1] ;
23566 if (!args
) SWIG_fail
;
23567 swig_obj
[0] = args
;
23568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23569 if (!SWIG_IsOK(res1
)) {
23570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_MiddleIsDown" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
23572 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23575 result
= (bool)(arg1
)->MiddleIsDown();
23576 wxPyEndAllowThreads(__tstate
);
23577 if (PyErr_Occurred()) SWIG_fail
;
23580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23588 SWIGINTERN PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23589 PyObject
*resultobj
= 0;
23590 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23594 PyObject
*swig_obj
[1] ;
23596 if (!args
) SWIG_fail
;
23597 swig_obj
[0] = args
;
23598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23599 if (!SWIG_IsOK(res1
)) {
23600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_RightIsDown" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
23602 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23605 result
= (bool)(arg1
)->RightIsDown();
23606 wxPyEndAllowThreads(__tstate
);
23607 if (PyErr_Occurred()) SWIG_fail
;
23610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23618 SWIGINTERN PyObject
*_wrap_MouseEvent_Dragging(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23619 PyObject
*resultobj
= 0;
23620 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23624 PyObject
*swig_obj
[1] ;
23626 if (!args
) SWIG_fail
;
23627 swig_obj
[0] = args
;
23628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23629 if (!SWIG_IsOK(res1
)) {
23630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_Dragging" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23632 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23635 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
23636 wxPyEndAllowThreads(__tstate
);
23637 if (PyErr_Occurred()) SWIG_fail
;
23640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23648 SWIGINTERN PyObject
*_wrap_MouseEvent_Moving(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23649 PyObject
*resultobj
= 0;
23650 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23654 PyObject
*swig_obj
[1] ;
23656 if (!args
) SWIG_fail
;
23657 swig_obj
[0] = args
;
23658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23659 if (!SWIG_IsOK(res1
)) {
23660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_Moving" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23662 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23665 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
23666 wxPyEndAllowThreads(__tstate
);
23667 if (PyErr_Occurred()) SWIG_fail
;
23670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23678 SWIGINTERN PyObject
*_wrap_MouseEvent_Entering(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23679 PyObject
*resultobj
= 0;
23680 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23684 PyObject
*swig_obj
[1] ;
23686 if (!args
) SWIG_fail
;
23687 swig_obj
[0] = args
;
23688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23689 if (!SWIG_IsOK(res1
)) {
23690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_Entering" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23692 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23695 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
23696 wxPyEndAllowThreads(__tstate
);
23697 if (PyErr_Occurred()) SWIG_fail
;
23700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23708 SWIGINTERN PyObject
*_wrap_MouseEvent_Leaving(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23709 PyObject
*resultobj
= 0;
23710 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23714 PyObject
*swig_obj
[1] ;
23716 if (!args
) SWIG_fail
;
23717 swig_obj
[0] = args
;
23718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23719 if (!SWIG_IsOK(res1
)) {
23720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_Leaving" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23722 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23725 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
23726 wxPyEndAllowThreads(__tstate
);
23727 if (PyErr_Occurred()) SWIG_fail
;
23730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23738 SWIGINTERN PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23739 PyObject
*resultobj
= 0;
23740 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23744 PyObject
*swig_obj
[1] ;
23746 if (!args
) SWIG_fail
;
23747 swig_obj
[0] = args
;
23748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23749 if (!SWIG_IsOK(res1
)) {
23750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetPosition" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
23752 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23755 result
= (arg1
)->GetPosition();
23756 wxPyEndAllowThreads(__tstate
);
23757 if (PyErr_Occurred()) SWIG_fail
;
23759 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
23766 SWIGINTERN PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23767 PyObject
*resultobj
= 0;
23768 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23769 long *arg2
= (long *) 0 ;
23770 long *arg3
= (long *) 0 ;
23774 int res2
= SWIG_TMPOBJ
;
23776 int res3
= SWIG_TMPOBJ
;
23777 PyObject
*swig_obj
[1] ;
23781 if (!args
) SWIG_fail
;
23782 swig_obj
[0] = args
;
23783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23784 if (!SWIG_IsOK(res1
)) {
23785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetPositionTuple" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
23787 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23790 (arg1
)->GetPosition(arg2
,arg3
);
23791 wxPyEndAllowThreads(__tstate
);
23792 if (PyErr_Occurred()) SWIG_fail
;
23794 resultobj
= SWIG_Py_Void();
23795 if (SWIG_IsTmpObj(res2
)) {
23796 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
23798 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23799 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
23801 if (SWIG_IsTmpObj(res3
)) {
23802 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
23804 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23805 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
23813 SWIGINTERN PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23814 PyObject
*resultobj
= 0;
23815 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23822 PyObject
* obj0
= 0 ;
23823 PyObject
* obj1
= 0 ;
23824 char * kwnames
[] = {
23825 (char *) "self",(char *) "dc", NULL
23828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23830 if (!SWIG_IsOK(res1
)) {
23831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetLogicalPosition" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23833 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23834 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 | 0);
23835 if (!SWIG_IsOK(res2
)) {
23836 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MouseEvent_GetLogicalPosition" "', expected argument " "2"" of type '" "wxDC const &""'");
23839 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MouseEvent_GetLogicalPosition" "', expected argument " "2"" of type '" "wxDC const &""'");
23841 arg2
= reinterpret_cast< wxDC
* >(argp2
);
23843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23844 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
23845 wxPyEndAllowThreads(__tstate
);
23846 if (PyErr_Occurred()) SWIG_fail
;
23848 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
23855 SWIGINTERN PyObject
*_wrap_MouseEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23856 PyObject
*resultobj
= 0;
23857 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23861 PyObject
*swig_obj
[1] ;
23863 if (!args
) SWIG_fail
;
23864 swig_obj
[0] = args
;
23865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23866 if (!SWIG_IsOK(res1
)) {
23867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetX" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23869 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23872 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
23873 wxPyEndAllowThreads(__tstate
);
23874 if (PyErr_Occurred()) SWIG_fail
;
23876 resultobj
= SWIG_From_int(static_cast< int >(result
));
23883 SWIGINTERN PyObject
*_wrap_MouseEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23884 PyObject
*resultobj
= 0;
23885 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23889 PyObject
*swig_obj
[1] ;
23891 if (!args
) SWIG_fail
;
23892 swig_obj
[0] = args
;
23893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23894 if (!SWIG_IsOK(res1
)) {
23895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetY" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23897 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23900 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
23901 wxPyEndAllowThreads(__tstate
);
23902 if (PyErr_Occurred()) SWIG_fail
;
23904 resultobj
= SWIG_From_int(static_cast< int >(result
));
23911 SWIGINTERN PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23912 PyObject
*resultobj
= 0;
23913 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23917 PyObject
*swig_obj
[1] ;
23919 if (!args
) SWIG_fail
;
23920 swig_obj
[0] = args
;
23921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23922 if (!SWIG_IsOK(res1
)) {
23923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetWheelRotation" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23925 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23928 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
23929 wxPyEndAllowThreads(__tstate
);
23930 if (PyErr_Occurred()) SWIG_fail
;
23932 resultobj
= SWIG_From_int(static_cast< int >(result
));
23939 SWIGINTERN PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23940 PyObject
*resultobj
= 0;
23941 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23945 PyObject
*swig_obj
[1] ;
23947 if (!args
) SWIG_fail
;
23948 swig_obj
[0] = args
;
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_GetWheelDelta" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23953 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23956 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
23957 wxPyEndAllowThreads(__tstate
);
23958 if (PyErr_Occurred()) SWIG_fail
;
23960 resultobj
= SWIG_From_int(static_cast< int >(result
));
23967 SWIGINTERN PyObject
*_wrap_MouseEvent_GetWheelAxis(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23968 PyObject
*resultobj
= 0;
23969 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23973 PyObject
*swig_obj
[1] ;
23975 if (!args
) SWIG_fail
;
23976 swig_obj
[0] = args
;
23977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23978 if (!SWIG_IsOK(res1
)) {
23979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetWheelAxis" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23981 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23984 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelAxis();
23985 wxPyEndAllowThreads(__tstate
);
23986 if (PyErr_Occurred()) SWIG_fail
;
23988 resultobj
= SWIG_From_int(static_cast< int >(result
));
23995 SWIGINTERN PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23996 PyObject
*resultobj
= 0;
23997 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24001 PyObject
*swig_obj
[1] ;
24003 if (!args
) SWIG_fail
;
24004 swig_obj
[0] = args
;
24005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24006 if (!SWIG_IsOK(res1
)) {
24007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetLinesPerAction" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
24009 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24012 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
24013 wxPyEndAllowThreads(__tstate
);
24014 if (PyErr_Occurred()) SWIG_fail
;
24016 resultobj
= SWIG_From_int(static_cast< int >(result
));
24023 SWIGINTERN PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24024 PyObject
*resultobj
= 0;
24025 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24029 PyObject
*swig_obj
[1] ;
24031 if (!args
) SWIG_fail
;
24032 swig_obj
[0] = args
;
24033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24034 if (!SWIG_IsOK(res1
)) {
24035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_IsPageScroll" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
24037 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24040 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
24041 wxPyEndAllowThreads(__tstate
);
24042 if (PyErr_Occurred()) SWIG_fail
;
24045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24053 SWIGINTERN PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24054 PyObject
*resultobj
= 0;
24055 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24061 PyObject
*swig_obj
[2] ;
24063 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_x_set",2,2,swig_obj
)) SWIG_fail
;
24064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24065 if (!SWIG_IsOK(res1
)) {
24066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_x_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
24068 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24069 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
24070 if (!SWIG_IsOK(ecode2
)) {
24071 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_x_set" "', expected argument " "2"" of type '" "int""'");
24073 arg2
= static_cast< int >(val2
);
24074 if (arg1
) (arg1
)->m_x
= arg2
;
24076 resultobj
= SWIG_Py_Void();
24083 SWIGINTERN PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24084 PyObject
*resultobj
= 0;
24085 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24089 PyObject
*swig_obj
[1] ;
24091 if (!args
) SWIG_fail
;
24092 swig_obj
[0] = args
;
24093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24094 if (!SWIG_IsOK(res1
)) {
24095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_x_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
24097 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24098 result
= (int) ((arg1
)->m_x
);
24099 resultobj
= SWIG_From_int(static_cast< int >(result
));
24106 SWIGINTERN PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24107 PyObject
*resultobj
= 0;
24108 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24114 PyObject
*swig_obj
[2] ;
24116 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_y_set",2,2,swig_obj
)) SWIG_fail
;
24117 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24118 if (!SWIG_IsOK(res1
)) {
24119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_y_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
24121 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24122 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
24123 if (!SWIG_IsOK(ecode2
)) {
24124 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_y_set" "', expected argument " "2"" of type '" "int""'");
24126 arg2
= static_cast< int >(val2
);
24127 if (arg1
) (arg1
)->m_y
= arg2
;
24129 resultobj
= SWIG_Py_Void();
24136 SWIGINTERN PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24137 PyObject
*resultobj
= 0;
24138 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24142 PyObject
*swig_obj
[1] ;
24144 if (!args
) SWIG_fail
;
24145 swig_obj
[0] = args
;
24146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24147 if (!SWIG_IsOK(res1
)) {
24148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_y_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
24150 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24151 result
= (int) ((arg1
)->m_y
);
24152 resultobj
= SWIG_From_int(static_cast< int >(result
));
24159 SWIGINTERN PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24160 PyObject
*resultobj
= 0;
24161 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24167 PyObject
*swig_obj
[2] ;
24169 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_leftDown_set",2,2,swig_obj
)) SWIG_fail
;
24170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24171 if (!SWIG_IsOK(res1
)) {
24172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_leftDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
24174 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24175 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
24176 if (!SWIG_IsOK(ecode2
)) {
24177 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_leftDown_set" "', expected argument " "2"" of type '" "bool""'");
24179 arg2
= static_cast< bool >(val2
);
24180 if (arg1
) (arg1
)->m_leftDown
= arg2
;
24182 resultobj
= SWIG_Py_Void();
24189 SWIGINTERN PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24190 PyObject
*resultobj
= 0;
24191 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24195 PyObject
*swig_obj
[1] ;
24197 if (!args
) SWIG_fail
;
24198 swig_obj
[0] = args
;
24199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24200 if (!SWIG_IsOK(res1
)) {
24201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_leftDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
24203 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24204 result
= (bool) ((arg1
)->m_leftDown
);
24206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24214 SWIGINTERN PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24215 PyObject
*resultobj
= 0;
24216 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24222 PyObject
*swig_obj
[2] ;
24224 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_middleDown_set",2,2,swig_obj
)) SWIG_fail
;
24225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24226 if (!SWIG_IsOK(res1
)) {
24227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_middleDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
24229 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24230 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
24231 if (!SWIG_IsOK(ecode2
)) {
24232 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_middleDown_set" "', expected argument " "2"" of type '" "bool""'");
24234 arg2
= static_cast< bool >(val2
);
24235 if (arg1
) (arg1
)->m_middleDown
= arg2
;
24237 resultobj
= SWIG_Py_Void();
24244 SWIGINTERN PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24245 PyObject
*resultobj
= 0;
24246 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24250 PyObject
*swig_obj
[1] ;
24252 if (!args
) SWIG_fail
;
24253 swig_obj
[0] = args
;
24254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24255 if (!SWIG_IsOK(res1
)) {
24256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_middleDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
24258 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24259 result
= (bool) ((arg1
)->m_middleDown
);
24261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24269 SWIGINTERN PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24270 PyObject
*resultobj
= 0;
24271 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24277 PyObject
*swig_obj
[2] ;
24279 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_rightDown_set",2,2,swig_obj
)) SWIG_fail
;
24280 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24281 if (!SWIG_IsOK(res1
)) {
24282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_rightDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
24284 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24285 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
24286 if (!SWIG_IsOK(ecode2
)) {
24287 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_rightDown_set" "', expected argument " "2"" of type '" "bool""'");
24289 arg2
= static_cast< bool >(val2
);
24290 if (arg1
) (arg1
)->m_rightDown
= arg2
;
24292 resultobj
= SWIG_Py_Void();
24299 SWIGINTERN PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24300 PyObject
*resultobj
= 0;
24301 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24305 PyObject
*swig_obj
[1] ;
24307 if (!args
) SWIG_fail
;
24308 swig_obj
[0] = args
;
24309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24310 if (!SWIG_IsOK(res1
)) {
24311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_rightDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
24313 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24314 result
= (bool) ((arg1
)->m_rightDown
);
24316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24324 SWIGINTERN PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24325 PyObject
*resultobj
= 0;
24326 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24332 PyObject
*swig_obj
[2] ;
24334 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_controlDown_set",2,2,swig_obj
)) SWIG_fail
;
24335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24336 if (!SWIG_IsOK(res1
)) {
24337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_controlDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
24339 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24340 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
24341 if (!SWIG_IsOK(ecode2
)) {
24342 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_controlDown_set" "', expected argument " "2"" of type '" "bool""'");
24344 arg2
= static_cast< bool >(val2
);
24345 if (arg1
) (arg1
)->m_controlDown
= arg2
;
24347 resultobj
= SWIG_Py_Void();
24354 SWIGINTERN PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24355 PyObject
*resultobj
= 0;
24356 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24360 PyObject
*swig_obj
[1] ;
24362 if (!args
) SWIG_fail
;
24363 swig_obj
[0] = args
;
24364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24365 if (!SWIG_IsOK(res1
)) {
24366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_controlDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
24368 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24369 result
= (bool) ((arg1
)->m_controlDown
);
24371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24379 SWIGINTERN PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24380 PyObject
*resultobj
= 0;
24381 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24387 PyObject
*swig_obj
[2] ;
24389 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_shiftDown_set",2,2,swig_obj
)) SWIG_fail
;
24390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24391 if (!SWIG_IsOK(res1
)) {
24392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_shiftDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
24394 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24395 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
24396 if (!SWIG_IsOK(ecode2
)) {
24397 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_shiftDown_set" "', expected argument " "2"" of type '" "bool""'");
24399 arg2
= static_cast< bool >(val2
);
24400 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
24402 resultobj
= SWIG_Py_Void();
24409 SWIGINTERN PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24410 PyObject
*resultobj
= 0;
24411 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24415 PyObject
*swig_obj
[1] ;
24417 if (!args
) SWIG_fail
;
24418 swig_obj
[0] = args
;
24419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24420 if (!SWIG_IsOK(res1
)) {
24421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_shiftDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
24423 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24424 result
= (bool) ((arg1
)->m_shiftDown
);
24426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24434 SWIGINTERN PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24435 PyObject
*resultobj
= 0;
24436 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24442 PyObject
*swig_obj
[2] ;
24444 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_altDown_set",2,2,swig_obj
)) SWIG_fail
;
24445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24446 if (!SWIG_IsOK(res1
)) {
24447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_altDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
24449 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24450 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
24451 if (!SWIG_IsOK(ecode2
)) {
24452 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_altDown_set" "', expected argument " "2"" of type '" "bool""'");
24454 arg2
= static_cast< bool >(val2
);
24455 if (arg1
) (arg1
)->m_altDown
= arg2
;
24457 resultobj
= SWIG_Py_Void();
24464 SWIGINTERN PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24465 PyObject
*resultobj
= 0;
24466 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24470 PyObject
*swig_obj
[1] ;
24472 if (!args
) SWIG_fail
;
24473 swig_obj
[0] = args
;
24474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24475 if (!SWIG_IsOK(res1
)) {
24476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_altDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
24478 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24479 result
= (bool) ((arg1
)->m_altDown
);
24481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24489 SWIGINTERN PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24490 PyObject
*resultobj
= 0;
24491 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24497 PyObject
*swig_obj
[2] ;
24499 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_metaDown_set",2,2,swig_obj
)) SWIG_fail
;
24500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24501 if (!SWIG_IsOK(res1
)) {
24502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_metaDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
24504 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24505 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
24506 if (!SWIG_IsOK(ecode2
)) {
24507 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_metaDown_set" "', expected argument " "2"" of type '" "bool""'");
24509 arg2
= static_cast< bool >(val2
);
24510 if (arg1
) (arg1
)->m_metaDown
= arg2
;
24512 resultobj
= SWIG_Py_Void();
24519 SWIGINTERN PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24520 PyObject
*resultobj
= 0;
24521 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24525 PyObject
*swig_obj
[1] ;
24527 if (!args
) SWIG_fail
;
24528 swig_obj
[0] = args
;
24529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24530 if (!SWIG_IsOK(res1
)) {
24531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_metaDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
24533 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24534 result
= (bool) ((arg1
)->m_metaDown
);
24536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24544 SWIGINTERN PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24545 PyObject
*resultobj
= 0;
24546 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24552 PyObject
*swig_obj
[2] ;
24554 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_wheelRotation_set",2,2,swig_obj
)) SWIG_fail
;
24555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24556 if (!SWIG_IsOK(res1
)) {
24557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_wheelRotation_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
24559 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24560 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
24561 if (!SWIG_IsOK(ecode2
)) {
24562 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_wheelRotation_set" "', expected argument " "2"" of type '" "int""'");
24564 arg2
= static_cast< int >(val2
);
24565 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
24567 resultobj
= SWIG_Py_Void();
24574 SWIGINTERN PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24575 PyObject
*resultobj
= 0;
24576 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24580 PyObject
*swig_obj
[1] ;
24582 if (!args
) SWIG_fail
;
24583 swig_obj
[0] = args
;
24584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24585 if (!SWIG_IsOK(res1
)) {
24586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_wheelRotation_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
24588 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24589 result
= (int) ((arg1
)->m_wheelRotation
);
24590 resultobj
= SWIG_From_int(static_cast< int >(result
));
24597 SWIGINTERN PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24598 PyObject
*resultobj
= 0;
24599 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24605 PyObject
*swig_obj
[2] ;
24607 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_wheelDelta_set",2,2,swig_obj
)) SWIG_fail
;
24608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24609 if (!SWIG_IsOK(res1
)) {
24610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_wheelDelta_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
24612 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24613 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
24614 if (!SWIG_IsOK(ecode2
)) {
24615 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_wheelDelta_set" "', expected argument " "2"" of type '" "int""'");
24617 arg2
= static_cast< int >(val2
);
24618 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
24620 resultobj
= SWIG_Py_Void();
24627 SWIGINTERN PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24628 PyObject
*resultobj
= 0;
24629 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24633 PyObject
*swig_obj
[1] ;
24635 if (!args
) SWIG_fail
;
24636 swig_obj
[0] = args
;
24637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24638 if (!SWIG_IsOK(res1
)) {
24639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_wheelDelta_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
24641 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24642 result
= (int) ((arg1
)->m_wheelDelta
);
24643 resultobj
= SWIG_From_int(static_cast< int >(result
));
24650 SWIGINTERN PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24651 PyObject
*resultobj
= 0;
24652 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24658 PyObject
*swig_obj
[2] ;
24660 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_linesPerAction_set",2,2,swig_obj
)) SWIG_fail
;
24661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24662 if (!SWIG_IsOK(res1
)) {
24663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_linesPerAction_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
24665 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24666 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
24667 if (!SWIG_IsOK(ecode2
)) {
24668 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_linesPerAction_set" "', expected argument " "2"" of type '" "int""'");
24670 arg2
= static_cast< int >(val2
);
24671 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
24673 resultobj
= SWIG_Py_Void();
24680 SWIGINTERN PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24681 PyObject
*resultobj
= 0;
24682 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24686 PyObject
*swig_obj
[1] ;
24688 if (!args
) SWIG_fail
;
24689 swig_obj
[0] = args
;
24690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24691 if (!SWIG_IsOK(res1
)) {
24692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_linesPerAction_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
24694 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24695 result
= (int) ((arg1
)->m_linesPerAction
);
24696 resultobj
= SWIG_From_int(static_cast< int >(result
));
24703 SWIGINTERN PyObject
*MouseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24705 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24706 SWIG_TypeNewClientData(SWIGTYPE_p_wxMouseEvent
, SWIG_NewClientData(obj
));
24707 return SWIG_Py_Void();
24710 SWIGINTERN PyObject
*MouseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24711 return SWIG_Python_InitShadowInstance(args
);
24714 SWIGINTERN PyObject
*_wrap_new_SetCursorEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24715 PyObject
*resultobj
= 0;
24716 int arg1
= (int) 0 ;
24717 int arg2
= (int) 0 ;
24718 wxSetCursorEvent
*result
= 0 ;
24723 PyObject
* obj0
= 0 ;
24724 PyObject
* obj1
= 0 ;
24725 char * kwnames
[] = {
24726 (char *) "x",(char *) "y", NULL
24729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24731 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24732 if (!SWIG_IsOK(ecode1
)) {
24733 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SetCursorEvent" "', expected argument " "1"" of type '" "int""'");
24735 arg1
= static_cast< int >(val1
);
24738 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24739 if (!SWIG_IsOK(ecode2
)) {
24740 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SetCursorEvent" "', expected argument " "2"" of type '" "int""'");
24742 arg2
= static_cast< int >(val2
);
24745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24746 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
24747 wxPyEndAllowThreads(__tstate
);
24748 if (PyErr_Occurred()) SWIG_fail
;
24750 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_NEW
| 0 );
24757 SWIGINTERN PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24758 PyObject
*resultobj
= 0;
24759 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
24763 PyObject
*swig_obj
[1] ;
24765 if (!args
) SWIG_fail
;
24766 swig_obj
[0] = args
;
24767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSetCursorEvent
, 0 | 0 );
24768 if (!SWIG_IsOK(res1
)) {
24769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursorEvent_GetX" "', expected argument " "1"" of type '" "wxSetCursorEvent const *""'");
24771 arg1
= reinterpret_cast< wxSetCursorEvent
* >(argp1
);
24773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24774 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
24775 wxPyEndAllowThreads(__tstate
);
24776 if (PyErr_Occurred()) SWIG_fail
;
24778 resultobj
= SWIG_From_int(static_cast< int >(result
));
24785 SWIGINTERN PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24786 PyObject
*resultobj
= 0;
24787 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
24791 PyObject
*swig_obj
[1] ;
24793 if (!args
) SWIG_fail
;
24794 swig_obj
[0] = args
;
24795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSetCursorEvent
, 0 | 0 );
24796 if (!SWIG_IsOK(res1
)) {
24797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursorEvent_GetY" "', expected argument " "1"" of type '" "wxSetCursorEvent const *""'");
24799 arg1
= reinterpret_cast< wxSetCursorEvent
* >(argp1
);
24801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24802 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
24803 wxPyEndAllowThreads(__tstate
);
24804 if (PyErr_Occurred()) SWIG_fail
;
24806 resultobj
= SWIG_From_int(static_cast< int >(result
));
24813 SWIGINTERN PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24814 PyObject
*resultobj
= 0;
24815 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
24816 wxCursor
*arg2
= 0 ;
24821 PyObject
* obj0
= 0 ;
24822 PyObject
* obj1
= 0 ;
24823 char * kwnames
[] = {
24824 (char *) "self",(char *) "cursor", NULL
24827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSetCursorEvent
, 0 | 0 );
24829 if (!SWIG_IsOK(res1
)) {
24830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursorEvent_SetCursor" "', expected argument " "1"" of type '" "wxSetCursorEvent *""'");
24832 arg1
= reinterpret_cast< wxSetCursorEvent
* >(argp1
);
24833 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
24834 if (!SWIG_IsOK(res2
)) {
24835 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SetCursorEvent_SetCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
24838 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SetCursorEvent_SetCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
24840 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
24842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24843 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
24844 wxPyEndAllowThreads(__tstate
);
24845 if (PyErr_Occurred()) SWIG_fail
;
24847 resultobj
= SWIG_Py_Void();
24854 SWIGINTERN PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24855 PyObject
*resultobj
= 0;
24856 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
24857 wxCursor
*result
= 0 ;
24860 PyObject
*swig_obj
[1] ;
24862 if (!args
) SWIG_fail
;
24863 swig_obj
[0] = args
;
24864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSetCursorEvent
, 0 | 0 );
24865 if (!SWIG_IsOK(res1
)) {
24866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursorEvent_GetCursor" "', expected argument " "1"" of type '" "wxSetCursorEvent const *""'");
24868 arg1
= reinterpret_cast< wxSetCursorEvent
* >(argp1
);
24870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24872 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
24873 result
= (wxCursor
*) &_result_ref
;
24875 wxPyEndAllowThreads(__tstate
);
24876 if (PyErr_Occurred()) SWIG_fail
;
24879 wxCursor
* resultptr
= new wxCursor(*result
);
24880 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
24888 SWIGINTERN PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24889 PyObject
*resultobj
= 0;
24890 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
24894 PyObject
*swig_obj
[1] ;
24896 if (!args
) SWIG_fail
;
24897 swig_obj
[0] = args
;
24898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSetCursorEvent
, 0 | 0 );
24899 if (!SWIG_IsOK(res1
)) {
24900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursorEvent_HasCursor" "', expected argument " "1"" of type '" "wxSetCursorEvent const *""'");
24902 arg1
= reinterpret_cast< wxSetCursorEvent
* >(argp1
);
24904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24905 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
24906 wxPyEndAllowThreads(__tstate
);
24907 if (PyErr_Occurred()) SWIG_fail
;
24910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24918 SWIGINTERN PyObject
*SetCursorEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24920 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24921 SWIG_TypeNewClientData(SWIGTYPE_p_wxSetCursorEvent
, SWIG_NewClientData(obj
));
24922 return SWIG_Py_Void();
24925 SWIGINTERN PyObject
*SetCursorEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24926 return SWIG_Python_InitShadowInstance(args
);
24929 SWIGINTERN PyObject
*_wrap_new_KeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24930 PyObject
*resultobj
= 0;
24931 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
24932 wxKeyEvent
*result
= 0 ;
24935 PyObject
* obj0
= 0 ;
24936 char * kwnames
[] = {
24937 (char *) "eventType", NULL
24940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) SWIG_fail
;
24942 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24943 if (!SWIG_IsOK(ecode1
)) {
24944 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_KeyEvent" "', expected argument " "1"" of type '" "wxEventType""'");
24946 arg1
= static_cast< wxEventType
>(val1
);
24949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24950 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
24951 wxPyEndAllowThreads(__tstate
);
24952 if (PyErr_Occurred()) SWIG_fail
;
24954 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_NEW
| 0 );
24961 SWIGINTERN PyObject
*_wrap_KeyEvent_GetModifiers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24962 PyObject
*resultobj
= 0;
24963 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
24967 PyObject
*swig_obj
[1] ;
24969 if (!args
) SWIG_fail
;
24970 swig_obj
[0] = args
;
24971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
24972 if (!SWIG_IsOK(res1
)) {
24973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetModifiers" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
24975 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
24977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24978 result
= (int)((wxKeyEvent
const *)arg1
)->GetModifiers();
24979 wxPyEndAllowThreads(__tstate
);
24980 if (PyErr_Occurred()) SWIG_fail
;
24982 resultobj
= SWIG_From_int(static_cast< int >(result
));
24989 SWIGINTERN PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24990 PyObject
*resultobj
= 0;
24991 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
24995 PyObject
*swig_obj
[1] ;
24997 if (!args
) SWIG_fail
;
24998 swig_obj
[0] = args
;
24999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25000 if (!SWIG_IsOK(res1
)) {
25001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_ControlDown" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
25003 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25006 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
25007 wxPyEndAllowThreads(__tstate
);
25008 if (PyErr_Occurred()) SWIG_fail
;
25011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25019 SWIGINTERN PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25020 PyObject
*resultobj
= 0;
25021 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25025 PyObject
*swig_obj
[1] ;
25027 if (!args
) SWIG_fail
;
25028 swig_obj
[0] = args
;
25029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25030 if (!SWIG_IsOK(res1
)) {
25031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_MetaDown" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
25033 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25036 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
25037 wxPyEndAllowThreads(__tstate
);
25038 if (PyErr_Occurred()) SWIG_fail
;
25041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25049 SWIGINTERN PyObject
*_wrap_KeyEvent_AltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25050 PyObject
*resultobj
= 0;
25051 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25055 PyObject
*swig_obj
[1] ;
25057 if (!args
) SWIG_fail
;
25058 swig_obj
[0] = args
;
25059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25060 if (!SWIG_IsOK(res1
)) {
25061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_AltDown" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
25063 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25066 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
25067 wxPyEndAllowThreads(__tstate
);
25068 if (PyErr_Occurred()) SWIG_fail
;
25071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25079 SWIGINTERN PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25080 PyObject
*resultobj
= 0;
25081 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25085 PyObject
*swig_obj
[1] ;
25087 if (!args
) SWIG_fail
;
25088 swig_obj
[0] = args
;
25089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25090 if (!SWIG_IsOK(res1
)) {
25091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_ShiftDown" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
25093 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25096 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
25097 wxPyEndAllowThreads(__tstate
);
25098 if (PyErr_Occurred()) SWIG_fail
;
25101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25109 SWIGINTERN PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25110 PyObject
*resultobj
= 0;
25111 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25115 PyObject
*swig_obj
[1] ;
25117 if (!args
) SWIG_fail
;
25118 swig_obj
[0] = args
;
25119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25120 if (!SWIG_IsOK(res1
)) {
25121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_CmdDown" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
25123 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25126 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
25127 wxPyEndAllowThreads(__tstate
);
25128 if (PyErr_Occurred()) SWIG_fail
;
25131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25139 SWIGINTERN PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25140 PyObject
*resultobj
= 0;
25141 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25145 PyObject
*swig_obj
[1] ;
25147 if (!args
) SWIG_fail
;
25148 swig_obj
[0] = args
;
25149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25150 if (!SWIG_IsOK(res1
)) {
25151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_HasModifiers" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
25153 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25156 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
25157 wxPyEndAllowThreads(__tstate
);
25158 if (PyErr_Occurred()) SWIG_fail
;
25161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25169 SWIGINTERN PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25170 PyObject
*resultobj
= 0;
25171 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25175 PyObject
*swig_obj
[1] ;
25177 if (!args
) SWIG_fail
;
25178 swig_obj
[0] = args
;
25179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25180 if (!SWIG_IsOK(res1
)) {
25181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
25183 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25186 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
25187 wxPyEndAllowThreads(__tstate
);
25188 if (PyErr_Occurred()) SWIG_fail
;
25190 resultobj
= SWIG_From_int(static_cast< int >(result
));
25197 SWIGINTERN PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25198 PyObject
*resultobj
= 0;
25199 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25203 PyObject
*swig_obj
[1] ;
25205 if (!args
) SWIG_fail
;
25206 swig_obj
[0] = args
;
25207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25208 if (!SWIG_IsOK(res1
)) {
25209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetUnicodeKey" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25211 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25214 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
25215 wxPyEndAllowThreads(__tstate
);
25216 if (PyErr_Occurred()) SWIG_fail
;
25218 resultobj
= SWIG_From_int(static_cast< int >(result
));
25225 SWIGINTERN PyObject
*_wrap_KeyEvent_SetUnicodeKey(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25226 PyObject
*resultobj
= 0;
25227 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25233 PyObject
* obj0
= 0 ;
25234 PyObject
* obj1
= 0 ;
25235 char * kwnames
[] = {
25236 (char *) "self",(char *) "uniChar", NULL
25239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_SetUnicodeKey",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25241 if (!SWIG_IsOK(res1
)) {
25242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_SetUnicodeKey" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25244 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25245 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25246 if (!SWIG_IsOK(ecode2
)) {
25247 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_SetUnicodeKey" "', expected argument " "2"" of type '" "int""'");
25249 arg2
= static_cast< int >(val2
);
25251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25252 wxKeyEvent_SetUnicodeKey(arg1
,arg2
);
25253 wxPyEndAllowThreads(__tstate
);
25254 if (PyErr_Occurred()) SWIG_fail
;
25256 resultobj
= SWIG_Py_Void();
25263 SWIGINTERN PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25264 PyObject
*resultobj
= 0;
25265 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25266 unsigned int result
;
25269 PyObject
*swig_obj
[1] ;
25271 if (!args
) SWIG_fail
;
25272 swig_obj
[0] = args
;
25273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25274 if (!SWIG_IsOK(res1
)) {
25275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetRawKeyCode" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
25277 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25280 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
25281 wxPyEndAllowThreads(__tstate
);
25282 if (PyErr_Occurred()) SWIG_fail
;
25284 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
25291 SWIGINTERN PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25292 PyObject
*resultobj
= 0;
25293 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25294 unsigned int result
;
25297 PyObject
*swig_obj
[1] ;
25299 if (!args
) SWIG_fail
;
25300 swig_obj
[0] = args
;
25301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25302 if (!SWIG_IsOK(res1
)) {
25303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetRawKeyFlags" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
25305 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25308 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
25309 wxPyEndAllowThreads(__tstate
);
25310 if (PyErr_Occurred()) SWIG_fail
;
25312 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
25319 SWIGINTERN PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25320 PyObject
*resultobj
= 0;
25321 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25325 PyObject
*swig_obj
[1] ;
25327 if (!args
) SWIG_fail
;
25328 swig_obj
[0] = args
;
25329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25330 if (!SWIG_IsOK(res1
)) {
25331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetPosition" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25333 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25336 result
= (arg1
)->GetPosition();
25337 wxPyEndAllowThreads(__tstate
);
25338 if (PyErr_Occurred()) SWIG_fail
;
25340 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25347 SWIGINTERN PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25348 PyObject
*resultobj
= 0;
25349 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25350 long *arg2
= (long *) 0 ;
25351 long *arg3
= (long *) 0 ;
25355 int res2
= SWIG_TMPOBJ
;
25357 int res3
= SWIG_TMPOBJ
;
25358 PyObject
*swig_obj
[1] ;
25362 if (!args
) SWIG_fail
;
25363 swig_obj
[0] = args
;
25364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25365 if (!SWIG_IsOK(res1
)) {
25366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetPositionTuple" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25368 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25371 (arg1
)->GetPosition(arg2
,arg3
);
25372 wxPyEndAllowThreads(__tstate
);
25373 if (PyErr_Occurred()) SWIG_fail
;
25375 resultobj
= SWIG_Py_Void();
25376 if (SWIG_IsTmpObj(res2
)) {
25377 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
25379 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25380 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
25382 if (SWIG_IsTmpObj(res3
)) {
25383 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
25385 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25386 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
25394 SWIGINTERN PyObject
*_wrap_KeyEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25395 PyObject
*resultobj
= 0;
25396 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25400 PyObject
*swig_obj
[1] ;
25402 if (!args
) SWIG_fail
;
25403 swig_obj
[0] = args
;
25404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25405 if (!SWIG_IsOK(res1
)) {
25406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetX" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
25408 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25411 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
25412 wxPyEndAllowThreads(__tstate
);
25413 if (PyErr_Occurred()) SWIG_fail
;
25415 resultobj
= SWIG_From_int(static_cast< int >(result
));
25422 SWIGINTERN PyObject
*_wrap_KeyEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25423 PyObject
*resultobj
= 0;
25424 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25428 PyObject
*swig_obj
[1] ;
25430 if (!args
) SWIG_fail
;
25431 swig_obj
[0] = args
;
25432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25433 if (!SWIG_IsOK(res1
)) {
25434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetY" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
25436 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25439 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
25440 wxPyEndAllowThreads(__tstate
);
25441 if (PyErr_Occurred()) SWIG_fail
;
25443 resultobj
= SWIG_From_int(static_cast< int >(result
));
25450 SWIGINTERN PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25451 PyObject
*resultobj
= 0;
25452 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25458 PyObject
*swig_obj
[2] ;
25460 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_x_set",2,2,swig_obj
)) SWIG_fail
;
25461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25462 if (!SWIG_IsOK(res1
)) {
25463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_x_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25465 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25466 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
25467 if (!SWIG_IsOK(ecode2
)) {
25468 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_x_set" "', expected argument " "2"" of type '" "int""'");
25470 arg2
= static_cast< int >(val2
);
25471 if (arg1
) (arg1
)->m_x
= arg2
;
25473 resultobj
= SWIG_Py_Void();
25480 SWIGINTERN PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25481 PyObject
*resultobj
= 0;
25482 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25486 PyObject
*swig_obj
[1] ;
25488 if (!args
) SWIG_fail
;
25489 swig_obj
[0] = args
;
25490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25491 if (!SWIG_IsOK(res1
)) {
25492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_x_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25494 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25495 result
= (int) ((arg1
)->m_x
);
25496 resultobj
= SWIG_From_int(static_cast< int >(result
));
25503 SWIGINTERN PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25504 PyObject
*resultobj
= 0;
25505 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25511 PyObject
*swig_obj
[2] ;
25513 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_y_set",2,2,swig_obj
)) SWIG_fail
;
25514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25515 if (!SWIG_IsOK(res1
)) {
25516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_y_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25518 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25519 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
25520 if (!SWIG_IsOK(ecode2
)) {
25521 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_y_set" "', expected argument " "2"" of type '" "int""'");
25523 arg2
= static_cast< int >(val2
);
25524 if (arg1
) (arg1
)->m_y
= arg2
;
25526 resultobj
= SWIG_Py_Void();
25533 SWIGINTERN PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25534 PyObject
*resultobj
= 0;
25535 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25539 PyObject
*swig_obj
[1] ;
25541 if (!args
) SWIG_fail
;
25542 swig_obj
[0] = args
;
25543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25544 if (!SWIG_IsOK(res1
)) {
25545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_y_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25547 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25548 result
= (int) ((arg1
)->m_y
);
25549 resultobj
= SWIG_From_int(static_cast< int >(result
));
25556 SWIGINTERN PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25557 PyObject
*resultobj
= 0;
25558 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25564 PyObject
*swig_obj
[2] ;
25566 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_keyCode_set",2,2,swig_obj
)) SWIG_fail
;
25567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25568 if (!SWIG_IsOK(res1
)) {
25569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_keyCode_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25571 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25572 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
25573 if (!SWIG_IsOK(ecode2
)) {
25574 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_keyCode_set" "', expected argument " "2"" of type '" "long""'");
25576 arg2
= static_cast< long >(val2
);
25577 if (arg1
) (arg1
)->m_keyCode
= arg2
;
25579 resultobj
= SWIG_Py_Void();
25586 SWIGINTERN PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25587 PyObject
*resultobj
= 0;
25588 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25592 PyObject
*swig_obj
[1] ;
25594 if (!args
) SWIG_fail
;
25595 swig_obj
[0] = args
;
25596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25597 if (!SWIG_IsOK(res1
)) {
25598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_keyCode_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25600 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25601 result
= (long) ((arg1
)->m_keyCode
);
25602 resultobj
= SWIG_From_long(static_cast< long >(result
));
25609 SWIGINTERN PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25610 PyObject
*resultobj
= 0;
25611 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25617 PyObject
*swig_obj
[2] ;
25619 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_controlDown_set",2,2,swig_obj
)) SWIG_fail
;
25620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25621 if (!SWIG_IsOK(res1
)) {
25622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_controlDown_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25624 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25625 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
25626 if (!SWIG_IsOK(ecode2
)) {
25627 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_controlDown_set" "', expected argument " "2"" of type '" "bool""'");
25629 arg2
= static_cast< bool >(val2
);
25630 if (arg1
) (arg1
)->m_controlDown
= arg2
;
25632 resultobj
= SWIG_Py_Void();
25639 SWIGINTERN PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25640 PyObject
*resultobj
= 0;
25641 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25645 PyObject
*swig_obj
[1] ;
25647 if (!args
) SWIG_fail
;
25648 swig_obj
[0] = args
;
25649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25650 if (!SWIG_IsOK(res1
)) {
25651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_controlDown_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25653 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25654 result
= (bool) ((arg1
)->m_controlDown
);
25656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25664 SWIGINTERN PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25665 PyObject
*resultobj
= 0;
25666 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25672 PyObject
*swig_obj
[2] ;
25674 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_shiftDown_set",2,2,swig_obj
)) SWIG_fail
;
25675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25676 if (!SWIG_IsOK(res1
)) {
25677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_shiftDown_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25679 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25680 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
25681 if (!SWIG_IsOK(ecode2
)) {
25682 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_shiftDown_set" "', expected argument " "2"" of type '" "bool""'");
25684 arg2
= static_cast< bool >(val2
);
25685 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
25687 resultobj
= SWIG_Py_Void();
25694 SWIGINTERN PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25695 PyObject
*resultobj
= 0;
25696 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25700 PyObject
*swig_obj
[1] ;
25702 if (!args
) SWIG_fail
;
25703 swig_obj
[0] = args
;
25704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25705 if (!SWIG_IsOK(res1
)) {
25706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_shiftDown_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25708 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25709 result
= (bool) ((arg1
)->m_shiftDown
);
25711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25719 SWIGINTERN PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25720 PyObject
*resultobj
= 0;
25721 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25727 PyObject
*swig_obj
[2] ;
25729 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_altDown_set",2,2,swig_obj
)) SWIG_fail
;
25730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25731 if (!SWIG_IsOK(res1
)) {
25732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_altDown_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25734 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25735 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
25736 if (!SWIG_IsOK(ecode2
)) {
25737 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_altDown_set" "', expected argument " "2"" of type '" "bool""'");
25739 arg2
= static_cast< bool >(val2
);
25740 if (arg1
) (arg1
)->m_altDown
= arg2
;
25742 resultobj
= SWIG_Py_Void();
25749 SWIGINTERN PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25750 PyObject
*resultobj
= 0;
25751 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25755 PyObject
*swig_obj
[1] ;
25757 if (!args
) SWIG_fail
;
25758 swig_obj
[0] = args
;
25759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25760 if (!SWIG_IsOK(res1
)) {
25761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_altDown_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25763 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25764 result
= (bool) ((arg1
)->m_altDown
);
25766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25774 SWIGINTERN PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25775 PyObject
*resultobj
= 0;
25776 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25782 PyObject
*swig_obj
[2] ;
25784 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_metaDown_set",2,2,swig_obj
)) SWIG_fail
;
25785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25786 if (!SWIG_IsOK(res1
)) {
25787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_metaDown_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25789 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25790 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
25791 if (!SWIG_IsOK(ecode2
)) {
25792 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_metaDown_set" "', expected argument " "2"" of type '" "bool""'");
25794 arg2
= static_cast< bool >(val2
);
25795 if (arg1
) (arg1
)->m_metaDown
= arg2
;
25797 resultobj
= SWIG_Py_Void();
25804 SWIGINTERN PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25805 PyObject
*resultobj
= 0;
25806 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25810 PyObject
*swig_obj
[1] ;
25812 if (!args
) SWIG_fail
;
25813 swig_obj
[0] = args
;
25814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25815 if (!SWIG_IsOK(res1
)) {
25816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_metaDown_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25818 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25819 result
= (bool) ((arg1
)->m_metaDown
);
25821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25829 SWIGINTERN PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25830 PyObject
*resultobj
= 0;
25831 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25837 PyObject
*swig_obj
[2] ;
25839 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_scanCode_set",2,2,swig_obj
)) SWIG_fail
;
25840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25841 if (!SWIG_IsOK(res1
)) {
25842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_scanCode_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25844 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25845 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
25846 if (!SWIG_IsOK(ecode2
)) {
25847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_scanCode_set" "', expected argument " "2"" of type '" "bool""'");
25849 arg2
= static_cast< bool >(val2
);
25850 if (arg1
) (arg1
)->m_scanCode
= arg2
;
25852 resultobj
= SWIG_Py_Void();
25859 SWIGINTERN PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25860 PyObject
*resultobj
= 0;
25861 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25865 PyObject
*swig_obj
[1] ;
25867 if (!args
) SWIG_fail
;
25868 swig_obj
[0] = args
;
25869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25870 if (!SWIG_IsOK(res1
)) {
25871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_scanCode_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25873 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25874 result
= (bool) ((arg1
)->m_scanCode
);
25876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25884 SWIGINTERN PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25885 PyObject
*resultobj
= 0;
25886 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25887 unsigned int arg2
;
25890 unsigned int val2
;
25892 PyObject
*swig_obj
[2] ;
25894 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_rawCode_set",2,2,swig_obj
)) SWIG_fail
;
25895 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25896 if (!SWIG_IsOK(res1
)) {
25897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_rawCode_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25899 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25900 ecode2
= SWIG_AsVal_unsigned_SS_int(swig_obj
[1], &val2
);
25901 if (!SWIG_IsOK(ecode2
)) {
25902 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_rawCode_set" "', expected argument " "2"" of type '" "unsigned int""'");
25904 arg2
= static_cast< unsigned int >(val2
);
25905 if (arg1
) (arg1
)->m_rawCode
= arg2
;
25907 resultobj
= SWIG_Py_Void();
25914 SWIGINTERN PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25915 PyObject
*resultobj
= 0;
25916 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25917 unsigned int result
;
25920 PyObject
*swig_obj
[1] ;
25922 if (!args
) SWIG_fail
;
25923 swig_obj
[0] = args
;
25924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25925 if (!SWIG_IsOK(res1
)) {
25926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_rawCode_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25928 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25929 result
= (unsigned int) ((arg1
)->m_rawCode
);
25930 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
25937 SWIGINTERN PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25938 PyObject
*resultobj
= 0;
25939 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25940 unsigned int arg2
;
25943 unsigned int val2
;
25945 PyObject
*swig_obj
[2] ;
25947 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_rawFlags_set",2,2,swig_obj
)) SWIG_fail
;
25948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25949 if (!SWIG_IsOK(res1
)) {
25950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_rawFlags_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25952 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25953 ecode2
= SWIG_AsVal_unsigned_SS_int(swig_obj
[1], &val2
);
25954 if (!SWIG_IsOK(ecode2
)) {
25955 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_rawFlags_set" "', expected argument " "2"" of type '" "unsigned int""'");
25957 arg2
= static_cast< unsigned int >(val2
);
25958 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
25960 resultobj
= SWIG_Py_Void();
25967 SWIGINTERN PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25968 PyObject
*resultobj
= 0;
25969 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25970 unsigned int result
;
25973 PyObject
*swig_obj
[1] ;
25975 if (!args
) SWIG_fail
;
25976 swig_obj
[0] = args
;
25977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25978 if (!SWIG_IsOK(res1
)) {
25979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_rawFlags_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25981 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25982 result
= (unsigned int) ((arg1
)->m_rawFlags
);
25983 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
25990 SWIGINTERN PyObject
*KeyEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25992 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25993 SWIG_TypeNewClientData(SWIGTYPE_p_wxKeyEvent
, SWIG_NewClientData(obj
));
25994 return SWIG_Py_Void();
25997 SWIGINTERN PyObject
*KeyEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25998 return SWIG_Python_InitShadowInstance(args
);
26001 SWIGINTERN PyObject
*_wrap_new_SizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26002 PyObject
*resultobj
= 0;
26003 wxSize
const &arg1_defvalue
= wxDefaultSize
;
26004 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
26005 int arg2
= (int) 0 ;
26006 wxSizeEvent
*result
= 0 ;
26010 PyObject
* obj0
= 0 ;
26011 PyObject
* obj1
= 0 ;
26012 char * kwnames
[] = {
26013 (char *) "sz",(char *) "winid", NULL
26016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26020 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
26024 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26025 if (!SWIG_IsOK(ecode2
)) {
26026 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SizeEvent" "', expected argument " "2"" of type '" "int""'");
26028 arg2
= static_cast< int >(val2
);
26031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26032 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
26033 wxPyEndAllowThreads(__tstate
);
26034 if (PyErr_Occurred()) SWIG_fail
;
26036 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_NEW
| 0 );
26043 SWIGINTERN PyObject
*_wrap_SizeEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26044 PyObject
*resultobj
= 0;
26045 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
26049 PyObject
*swig_obj
[1] ;
26051 if (!args
) SWIG_fail
;
26052 swig_obj
[0] = args
;
26053 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
26054 if (!SWIG_IsOK(res1
)) {
26055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_GetSize" "', expected argument " "1"" of type '" "wxSizeEvent const *""'");
26057 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
26059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26060 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
26061 wxPyEndAllowThreads(__tstate
);
26062 if (PyErr_Occurred()) SWIG_fail
;
26064 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
26071 SWIGINTERN PyObject
*_wrap_SizeEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26072 PyObject
*resultobj
= 0;
26073 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
26077 PyObject
*swig_obj
[1] ;
26079 if (!args
) SWIG_fail
;
26080 swig_obj
[0] = args
;
26081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
26082 if (!SWIG_IsOK(res1
)) {
26083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_GetRect" "', expected argument " "1"" of type '" "wxSizeEvent const *""'");
26085 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
26087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26088 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
26089 wxPyEndAllowThreads(__tstate
);
26090 if (PyErr_Occurred()) SWIG_fail
;
26092 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
26099 SWIGINTERN PyObject
*_wrap_SizeEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26100 PyObject
*resultobj
= 0;
26101 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
26107 PyObject
* obj0
= 0 ;
26108 PyObject
* obj1
= 0 ;
26109 char * kwnames
[] = {
26110 (char *) "self",(char *) "rect", NULL
26113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
26115 if (!SWIG_IsOK(res1
)) {
26116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_SetRect" "', expected argument " "1"" of type '" "wxSizeEvent *""'");
26118 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
26120 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRect
, 0 | 0);
26121 if (!SWIG_IsOK(res2
)) {
26122 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SizeEvent_SetRect" "', expected argument " "2"" of type '" "wxRect""'");
26125 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SizeEvent_SetRect" "', expected argument " "2"" of type '" "wxRect""'");
26127 wxRect
* temp
= reinterpret_cast< wxRect
* >(argp2
);
26129 if (SWIG_IsNewObj(res2
)) delete temp
;
26133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26134 (arg1
)->SetRect(arg2
);
26135 wxPyEndAllowThreads(__tstate
);
26136 if (PyErr_Occurred()) SWIG_fail
;
26138 resultobj
= SWIG_Py_Void();
26145 SWIGINTERN PyObject
*_wrap_SizeEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26146 PyObject
*resultobj
= 0;
26147 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
26153 PyObject
* obj0
= 0 ;
26154 PyObject
* obj1
= 0 ;
26155 char * kwnames
[] = {
26156 (char *) "self",(char *) "size", NULL
26159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
26161 if (!SWIG_IsOK(res1
)) {
26162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_SetSize" "', expected argument " "1"" of type '" "wxSizeEvent *""'");
26164 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
26166 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxSize
, 0 | 0);
26167 if (!SWIG_IsOK(res2
)) {
26168 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SizeEvent_SetSize" "', expected argument " "2"" of type '" "wxSize""'");
26171 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SizeEvent_SetSize" "', expected argument " "2"" of type '" "wxSize""'");
26173 wxSize
* temp
= reinterpret_cast< wxSize
* >(argp2
);
26175 if (SWIG_IsNewObj(res2
)) delete temp
;
26179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26180 wxSizeEvent_SetSize(arg1
,arg2
);
26181 wxPyEndAllowThreads(__tstate
);
26182 if (PyErr_Occurred()) SWIG_fail
;
26184 resultobj
= SWIG_Py_Void();
26191 SWIGINTERN PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26192 PyObject
*resultobj
= 0;
26193 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
26194 wxSize
*arg2
= (wxSize
*) 0 ;
26199 PyObject
*swig_obj
[2] ;
26201 if (!SWIG_Python_UnpackTuple(args
,"SizeEvent_m_size_set",2,2,swig_obj
)) SWIG_fail
;
26202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
26203 if (!SWIG_IsOK(res1
)) {
26204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_m_size_set" "', expected argument " "1"" of type '" "wxSizeEvent *""'");
26206 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
26207 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxSize
, 0 | 0 );
26208 if (!SWIG_IsOK(res2
)) {
26209 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SizeEvent_m_size_set" "', expected argument " "2"" of type '" "wxSize *""'");
26211 arg2
= reinterpret_cast< wxSize
* >(argp2
);
26212 if (arg1
) (arg1
)->m_size
= *arg2
;
26214 resultobj
= SWIG_Py_Void();
26221 SWIGINTERN PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26222 PyObject
*resultobj
= 0;
26223 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
26224 wxSize
*result
= 0 ;
26227 PyObject
*swig_obj
[1] ;
26229 if (!args
) SWIG_fail
;
26230 swig_obj
[0] = args
;
26231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
26232 if (!SWIG_IsOK(res1
)) {
26233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_m_size_get" "', expected argument " "1"" of type '" "wxSizeEvent *""'");
26235 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
26236 result
= (wxSize
*)& ((arg1
)->m_size
);
26237 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
26244 SWIGINTERN PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26245 PyObject
*resultobj
= 0;
26246 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
26247 wxRect
*arg2
= (wxRect
*) 0 ;
26252 PyObject
*swig_obj
[2] ;
26254 if (!SWIG_Python_UnpackTuple(args
,"SizeEvent_m_rect_set",2,2,swig_obj
)) SWIG_fail
;
26255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
26256 if (!SWIG_IsOK(res1
)) {
26257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_m_rect_set" "', expected argument " "1"" of type '" "wxSizeEvent *""'");
26259 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
26260 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
26261 if (!SWIG_IsOK(res2
)) {
26262 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SizeEvent_m_rect_set" "', expected argument " "2"" of type '" "wxRect *""'");
26264 arg2
= reinterpret_cast< wxRect
* >(argp2
);
26265 if (arg1
) (arg1
)->m_rect
= *arg2
;
26267 resultobj
= SWIG_Py_Void();
26274 SWIGINTERN PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26275 PyObject
*resultobj
= 0;
26276 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
26277 wxRect
*result
= 0 ;
26280 PyObject
*swig_obj
[1] ;
26282 if (!args
) SWIG_fail
;
26283 swig_obj
[0] = args
;
26284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
26285 if (!SWIG_IsOK(res1
)) {
26286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_m_rect_get" "', expected argument " "1"" of type '" "wxSizeEvent *""'");
26288 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
26289 result
= (wxRect
*)& ((arg1
)->m_rect
);
26290 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, 0 | 0 );
26297 SWIGINTERN PyObject
*SizeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26299 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26300 SWIG_TypeNewClientData(SWIGTYPE_p_wxSizeEvent
, SWIG_NewClientData(obj
));
26301 return SWIG_Py_Void();
26304 SWIGINTERN PyObject
*SizeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26305 return SWIG_Python_InitShadowInstance(args
);
26308 SWIGINTERN PyObject
*_wrap_new_MoveEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26309 PyObject
*resultobj
= 0;
26310 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
26311 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
26312 int arg2
= (int) 0 ;
26313 wxMoveEvent
*result
= 0 ;
26317 PyObject
* obj0
= 0 ;
26318 PyObject
* obj1
= 0 ;
26319 char * kwnames
[] = {
26320 (char *) "pos",(char *) "winid", NULL
26323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26327 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
26331 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26332 if (!SWIG_IsOK(ecode2
)) {
26333 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MoveEvent" "', expected argument " "2"" of type '" "int""'");
26335 arg2
= static_cast< int >(val2
);
26338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26339 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
26340 wxPyEndAllowThreads(__tstate
);
26341 if (PyErr_Occurred()) SWIG_fail
;
26343 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_NEW
| 0 );
26350 SWIGINTERN PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26351 PyObject
*resultobj
= 0;
26352 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
26356 PyObject
*swig_obj
[1] ;
26358 if (!args
) SWIG_fail
;
26359 swig_obj
[0] = args
;
26360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMoveEvent
, 0 | 0 );
26361 if (!SWIG_IsOK(res1
)) {
26362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MoveEvent_GetPosition" "', expected argument " "1"" of type '" "wxMoveEvent const *""'");
26364 arg1
= reinterpret_cast< wxMoveEvent
* >(argp1
);
26366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26367 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
26368 wxPyEndAllowThreads(__tstate
);
26369 if (PyErr_Occurred()) SWIG_fail
;
26371 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
26378 SWIGINTERN PyObject
*_wrap_MoveEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26379 PyObject
*resultobj
= 0;
26380 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
26384 PyObject
*swig_obj
[1] ;
26386 if (!args
) SWIG_fail
;
26387 swig_obj
[0] = args
;
26388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMoveEvent
, 0 | 0 );
26389 if (!SWIG_IsOK(res1
)) {
26390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MoveEvent_GetRect" "', expected argument " "1"" of type '" "wxMoveEvent const *""'");
26392 arg1
= reinterpret_cast< wxMoveEvent
* >(argp1
);
26394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26395 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
26396 wxPyEndAllowThreads(__tstate
);
26397 if (PyErr_Occurred()) SWIG_fail
;
26399 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
26406 SWIGINTERN PyObject
*_wrap_MoveEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26407 PyObject
*resultobj
= 0;
26408 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
26413 PyObject
* obj0
= 0 ;
26414 PyObject
* obj1
= 0 ;
26415 char * kwnames
[] = {
26416 (char *) "self",(char *) "rect", NULL
26419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMoveEvent
, 0 | 0 );
26421 if (!SWIG_IsOK(res1
)) {
26422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MoveEvent_SetRect" "', expected argument " "1"" of type '" "wxMoveEvent *""'");
26424 arg1
= reinterpret_cast< wxMoveEvent
* >(argp1
);
26427 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26431 (arg1
)->SetRect((wxRect
const &)*arg2
);
26432 wxPyEndAllowThreads(__tstate
);
26433 if (PyErr_Occurred()) SWIG_fail
;
26435 resultobj
= SWIG_Py_Void();
26442 SWIGINTERN PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26443 PyObject
*resultobj
= 0;
26444 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
26445 wxPoint
*arg2
= 0 ;
26449 PyObject
* obj0
= 0 ;
26450 PyObject
* obj1
= 0 ;
26451 char * kwnames
[] = {
26452 (char *) "self",(char *) "pos", NULL
26455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMoveEvent
, 0 | 0 );
26457 if (!SWIG_IsOK(res1
)) {
26458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MoveEvent_SetPosition" "', expected argument " "1"" of type '" "wxMoveEvent *""'");
26460 arg1
= reinterpret_cast< wxMoveEvent
* >(argp1
);
26463 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26467 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
26468 wxPyEndAllowThreads(__tstate
);
26469 if (PyErr_Occurred()) SWIG_fail
;
26471 resultobj
= SWIG_Py_Void();
26478 SWIGINTERN PyObject
*MoveEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26480 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26481 SWIG_TypeNewClientData(SWIGTYPE_p_wxMoveEvent
, SWIG_NewClientData(obj
));
26482 return SWIG_Py_Void();
26485 SWIGINTERN PyObject
*MoveEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26486 return SWIG_Python_InitShadowInstance(args
);
26489 SWIGINTERN PyObject
*_wrap_new_PaintEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26490 PyObject
*resultobj
= 0;
26491 int arg1
= (int) 0 ;
26492 wxPaintEvent
*result
= 0 ;
26495 PyObject
* obj0
= 0 ;
26496 char * kwnames
[] = {
26497 (char *) "Id", NULL
26500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) SWIG_fail
;
26502 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26503 if (!SWIG_IsOK(ecode1
)) {
26504 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PaintEvent" "', expected argument " "1"" of type '" "int""'");
26506 arg1
= static_cast< int >(val1
);
26509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26510 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
26511 wxPyEndAllowThreads(__tstate
);
26512 if (PyErr_Occurred()) SWIG_fail
;
26514 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintEvent
, SWIG_POINTER_NEW
| 0 );
26521 SWIGINTERN PyObject
*PaintEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26523 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26524 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintEvent
, SWIG_NewClientData(obj
));
26525 return SWIG_Py_Void();
26528 SWIGINTERN PyObject
*PaintEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26529 return SWIG_Python_InitShadowInstance(args
);
26532 SWIGINTERN PyObject
*_wrap_new_NcPaintEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26533 PyObject
*resultobj
= 0;
26534 int arg1
= (int) 0 ;
26535 wxNcPaintEvent
*result
= 0 ;
26538 PyObject
* obj0
= 0 ;
26539 char * kwnames
[] = {
26540 (char *) "winid", NULL
26543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) SWIG_fail
;
26545 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26546 if (!SWIG_IsOK(ecode1
)) {
26547 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NcPaintEvent" "', expected argument " "1"" of type '" "int""'");
26549 arg1
= static_cast< int >(val1
);
26552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26553 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
26554 wxPyEndAllowThreads(__tstate
);
26555 if (PyErr_Occurred()) SWIG_fail
;
26557 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNcPaintEvent
, SWIG_POINTER_NEW
| 0 );
26564 SWIGINTERN PyObject
*NcPaintEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26566 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26567 SWIG_TypeNewClientData(SWIGTYPE_p_wxNcPaintEvent
, SWIG_NewClientData(obj
));
26568 return SWIG_Py_Void();
26571 SWIGINTERN PyObject
*NcPaintEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26572 return SWIG_Python_InitShadowInstance(args
);
26575 SWIGINTERN PyObject
*_wrap_new_EraseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26576 PyObject
*resultobj
= 0;
26577 int arg1
= (int) 0 ;
26578 wxDC
*arg2
= (wxDC
*) NULL
;
26579 wxEraseEvent
*result
= 0 ;
26584 PyObject
* obj0
= 0 ;
26585 PyObject
* obj1
= 0 ;
26586 char * kwnames
[] = {
26587 (char *) "Id",(char *) "dc", NULL
26590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26592 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26593 if (!SWIG_IsOK(ecode1
)) {
26594 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EraseEvent" "', expected argument " "1"" of type '" "int""'");
26596 arg1
= static_cast< int >(val1
);
26599 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
26600 if (!SWIG_IsOK(res2
)) {
26601 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_EraseEvent" "', expected argument " "2"" of type '" "wxDC *""'");
26603 arg2
= reinterpret_cast< wxDC
* >(argp2
);
26606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26607 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
26608 wxPyEndAllowThreads(__tstate
);
26609 if (PyErr_Occurred()) SWIG_fail
;
26611 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEraseEvent
, SWIG_POINTER_NEW
| 0 );
26618 SWIGINTERN PyObject
*_wrap_EraseEvent_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26619 PyObject
*resultobj
= 0;
26620 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
26624 PyObject
*swig_obj
[1] ;
26626 if (!args
) SWIG_fail
;
26627 swig_obj
[0] = args
;
26628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEraseEvent
, 0 | 0 );
26629 if (!SWIG_IsOK(res1
)) {
26630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EraseEvent_GetDC" "', expected argument " "1"" of type '" "wxEraseEvent const *""'");
26632 arg1
= reinterpret_cast< wxEraseEvent
* >(argp1
);
26634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26635 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
26636 wxPyEndAllowThreads(__tstate
);
26637 if (PyErr_Occurred()) SWIG_fail
;
26640 resultobj
= wxPyMake_wxObject(result
, (bool)0);
26648 SWIGINTERN PyObject
*EraseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26650 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26651 SWIG_TypeNewClientData(SWIGTYPE_p_wxEraseEvent
, SWIG_NewClientData(obj
));
26652 return SWIG_Py_Void();
26655 SWIGINTERN PyObject
*EraseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26656 return SWIG_Python_InitShadowInstance(args
);
26659 SWIGINTERN PyObject
*_wrap_new_FocusEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26660 PyObject
*resultobj
= 0;
26661 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
26662 int arg2
= (int) 0 ;
26663 wxFocusEvent
*result
= 0 ;
26668 PyObject
* obj0
= 0 ;
26669 PyObject
* obj1
= 0 ;
26670 char * kwnames
[] = {
26671 (char *) "type",(char *) "winid", NULL
26674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26676 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26677 if (!SWIG_IsOK(ecode1
)) {
26678 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FocusEvent" "', expected argument " "1"" of type '" "wxEventType""'");
26680 arg1
= static_cast< wxEventType
>(val1
);
26683 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26684 if (!SWIG_IsOK(ecode2
)) {
26685 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FocusEvent" "', expected argument " "2"" of type '" "int""'");
26687 arg2
= static_cast< int >(val2
);
26690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26691 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
26692 wxPyEndAllowThreads(__tstate
);
26693 if (PyErr_Occurred()) SWIG_fail
;
26695 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_NEW
| 0 );
26702 SWIGINTERN PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26703 PyObject
*resultobj
= 0;
26704 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
26705 wxWindow
*result
= 0 ;
26708 PyObject
*swig_obj
[1] ;
26710 if (!args
) SWIG_fail
;
26711 swig_obj
[0] = args
;
26712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFocusEvent
, 0 | 0 );
26713 if (!SWIG_IsOK(res1
)) {
26714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FocusEvent_GetWindow" "', expected argument " "1"" of type '" "wxFocusEvent const *""'");
26716 arg1
= reinterpret_cast< wxFocusEvent
* >(argp1
);
26718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26719 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
26720 wxPyEndAllowThreads(__tstate
);
26721 if (PyErr_Occurred()) SWIG_fail
;
26724 resultobj
= wxPyMake_wxObject(result
, (bool)0);
26732 SWIGINTERN PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26733 PyObject
*resultobj
= 0;
26734 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
26735 wxWindow
*arg2
= (wxWindow
*) 0 ;
26740 PyObject
* obj0
= 0 ;
26741 PyObject
* obj1
= 0 ;
26742 char * kwnames
[] = {
26743 (char *) "self",(char *) "win", NULL
26746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFocusEvent
, 0 | 0 );
26748 if (!SWIG_IsOK(res1
)) {
26749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FocusEvent_SetWindow" "', expected argument " "1"" of type '" "wxFocusEvent *""'");
26751 arg1
= reinterpret_cast< wxFocusEvent
* >(argp1
);
26752 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26753 if (!SWIG_IsOK(res2
)) {
26754 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FocusEvent_SetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
26756 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26759 (arg1
)->SetWindow(arg2
);
26760 wxPyEndAllowThreads(__tstate
);
26761 if (PyErr_Occurred()) SWIG_fail
;
26763 resultobj
= SWIG_Py_Void();
26770 SWIGINTERN PyObject
*FocusEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26772 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26773 SWIG_TypeNewClientData(SWIGTYPE_p_wxFocusEvent
, SWIG_NewClientData(obj
));
26774 return SWIG_Py_Void();
26777 SWIGINTERN PyObject
*FocusEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26778 return SWIG_Python_InitShadowInstance(args
);
26781 SWIGINTERN PyObject
*_wrap_new_ChildFocusEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26782 PyObject
*resultobj
= 0;
26783 wxWindow
*arg1
= (wxWindow
*) NULL
;
26784 wxChildFocusEvent
*result
= 0 ;
26787 PyObject
* obj0
= 0 ;
26788 char * kwnames
[] = {
26789 (char *) "win", NULL
26792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) SWIG_fail
;
26794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26795 if (!SWIG_IsOK(res1
)) {
26796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ChildFocusEvent" "', expected argument " "1"" of type '" "wxWindow *""'");
26798 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
26801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26802 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
26803 wxPyEndAllowThreads(__tstate
);
26804 if (PyErr_Occurred()) SWIG_fail
;
26806 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChildFocusEvent
, SWIG_POINTER_NEW
| 0 );
26813 SWIGINTERN PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26814 PyObject
*resultobj
= 0;
26815 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
26816 wxWindow
*result
= 0 ;
26819 PyObject
*swig_obj
[1] ;
26821 if (!args
) SWIG_fail
;
26822 swig_obj
[0] = args
;
26823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChildFocusEvent
, 0 | 0 );
26824 if (!SWIG_IsOK(res1
)) {
26825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ChildFocusEvent_GetWindow" "', expected argument " "1"" of type '" "wxChildFocusEvent const *""'");
26827 arg1
= reinterpret_cast< wxChildFocusEvent
* >(argp1
);
26829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26830 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
26831 wxPyEndAllowThreads(__tstate
);
26832 if (PyErr_Occurred()) SWIG_fail
;
26835 resultobj
= wxPyMake_wxObject(result
, (bool)0);
26843 SWIGINTERN PyObject
*ChildFocusEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26845 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26846 SWIG_TypeNewClientData(SWIGTYPE_p_wxChildFocusEvent
, SWIG_NewClientData(obj
));
26847 return SWIG_Py_Void();
26850 SWIGINTERN PyObject
*ChildFocusEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26851 return SWIG_Python_InitShadowInstance(args
);
26854 SWIGINTERN PyObject
*_wrap_new_ActivateEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26855 PyObject
*resultobj
= 0;
26856 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
26857 bool arg2
= (bool) true ;
26858 int arg3
= (int) 0 ;
26859 wxActivateEvent
*result
= 0 ;
26866 PyObject
* obj0
= 0 ;
26867 PyObject
* obj1
= 0 ;
26868 PyObject
* obj2
= 0 ;
26869 char * kwnames
[] = {
26870 (char *) "type",(char *) "active",(char *) "Id", NULL
26873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26875 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26876 if (!SWIG_IsOK(ecode1
)) {
26877 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ActivateEvent" "', expected argument " "1"" of type '" "wxEventType""'");
26879 arg1
= static_cast< wxEventType
>(val1
);
26882 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26883 if (!SWIG_IsOK(ecode2
)) {
26884 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ActivateEvent" "', expected argument " "2"" of type '" "bool""'");
26886 arg2
= static_cast< bool >(val2
);
26889 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26890 if (!SWIG_IsOK(ecode3
)) {
26891 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ActivateEvent" "', expected argument " "3"" of type '" "int""'");
26893 arg3
= static_cast< int >(val3
);
26896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26897 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
26898 wxPyEndAllowThreads(__tstate
);
26899 if (PyErr_Occurred()) SWIG_fail
;
26901 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxActivateEvent
, SWIG_POINTER_NEW
| 0 );
26908 SWIGINTERN PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26909 PyObject
*resultobj
= 0;
26910 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
26914 PyObject
*swig_obj
[1] ;
26916 if (!args
) SWIG_fail
;
26917 swig_obj
[0] = args
;
26918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxActivateEvent
, 0 | 0 );
26919 if (!SWIG_IsOK(res1
)) {
26920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ActivateEvent_GetActive" "', expected argument " "1"" of type '" "wxActivateEvent const *""'");
26922 arg1
= reinterpret_cast< wxActivateEvent
* >(argp1
);
26924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26925 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
26926 wxPyEndAllowThreads(__tstate
);
26927 if (PyErr_Occurred()) SWIG_fail
;
26930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26938 SWIGINTERN PyObject
*ActivateEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26940 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26941 SWIG_TypeNewClientData(SWIGTYPE_p_wxActivateEvent
, SWIG_NewClientData(obj
));
26942 return SWIG_Py_Void();
26945 SWIGINTERN PyObject
*ActivateEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26946 return SWIG_Python_InitShadowInstance(args
);
26949 SWIGINTERN PyObject
*_wrap_new_InitDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26950 PyObject
*resultobj
= 0;
26951 int arg1
= (int) 0 ;
26952 wxInitDialogEvent
*result
= 0 ;
26955 PyObject
* obj0
= 0 ;
26956 char * kwnames
[] = {
26957 (char *) "Id", NULL
26960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) SWIG_fail
;
26962 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26963 if (!SWIG_IsOK(ecode1
)) {
26964 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_InitDialogEvent" "', expected argument " "1"" of type '" "int""'");
26966 arg1
= static_cast< int >(val1
);
26969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26970 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
26971 wxPyEndAllowThreads(__tstate
);
26972 if (PyErr_Occurred()) SWIG_fail
;
26974 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxInitDialogEvent
, SWIG_POINTER_NEW
| 0 );
26981 SWIGINTERN PyObject
*InitDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26983 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26984 SWIG_TypeNewClientData(SWIGTYPE_p_wxInitDialogEvent
, SWIG_NewClientData(obj
));
26985 return SWIG_Py_Void();
26988 SWIGINTERN PyObject
*InitDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26989 return SWIG_Python_InitShadowInstance(args
);
26992 SWIGINTERN PyObject
*_wrap_new_MenuEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26993 PyObject
*resultobj
= 0;
26994 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
26995 int arg2
= (int) 0 ;
26996 wxMenu
*arg3
= (wxMenu
*) NULL
;
26997 wxMenuEvent
*result
= 0 ;
27004 PyObject
* obj0
= 0 ;
27005 PyObject
* obj1
= 0 ;
27006 PyObject
* obj2
= 0 ;
27007 char * kwnames
[] = {
27008 (char *) "type",(char *) "winid",(char *) "menu", NULL
27011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27013 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27014 if (!SWIG_IsOK(ecode1
)) {
27015 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_MenuEvent" "', expected argument " "1"" of type '" "wxEventType""'");
27017 arg1
= static_cast< wxEventType
>(val1
);
27020 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27021 if (!SWIG_IsOK(ecode2
)) {
27022 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MenuEvent" "', expected argument " "2"" of type '" "int""'");
27024 arg2
= static_cast< int >(val2
);
27027 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxMenu
, 0 | 0 );
27028 if (!SWIG_IsOK(res3
)) {
27029 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_MenuEvent" "', expected argument " "3"" of type '" "wxMenu *""'");
27031 arg3
= reinterpret_cast< wxMenu
* >(argp3
);
27034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27035 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
27036 wxPyEndAllowThreads(__tstate
);
27037 if (PyErr_Occurred()) SWIG_fail
;
27039 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_NEW
| 0 );
27046 SWIGINTERN PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27047 PyObject
*resultobj
= 0;
27048 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
27052 PyObject
*swig_obj
[1] ;
27054 if (!args
) SWIG_fail
;
27055 swig_obj
[0] = args
;
27056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuEvent
, 0 | 0 );
27057 if (!SWIG_IsOK(res1
)) {
27058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuEvent_GetMenuId" "', expected argument " "1"" of type '" "wxMenuEvent const *""'");
27060 arg1
= reinterpret_cast< wxMenuEvent
* >(argp1
);
27062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27063 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
27064 wxPyEndAllowThreads(__tstate
);
27065 if (PyErr_Occurred()) SWIG_fail
;
27067 resultobj
= SWIG_From_int(static_cast< int >(result
));
27074 SWIGINTERN PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27075 PyObject
*resultobj
= 0;
27076 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
27080 PyObject
*swig_obj
[1] ;
27082 if (!args
) SWIG_fail
;
27083 swig_obj
[0] = args
;
27084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuEvent
, 0 | 0 );
27085 if (!SWIG_IsOK(res1
)) {
27086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuEvent_IsPopup" "', expected argument " "1"" of type '" "wxMenuEvent const *""'");
27088 arg1
= reinterpret_cast< wxMenuEvent
* >(argp1
);
27090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27091 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
27092 wxPyEndAllowThreads(__tstate
);
27093 if (PyErr_Occurred()) SWIG_fail
;
27096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27104 SWIGINTERN PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27105 PyObject
*resultobj
= 0;
27106 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
27107 wxMenu
*result
= 0 ;
27110 PyObject
*swig_obj
[1] ;
27112 if (!args
) SWIG_fail
;
27113 swig_obj
[0] = args
;
27114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuEvent
, 0 | 0 );
27115 if (!SWIG_IsOK(res1
)) {
27116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuEvent_GetMenu" "', expected argument " "1"" of type '" "wxMenuEvent const *""'");
27118 arg1
= reinterpret_cast< wxMenuEvent
* >(argp1
);
27120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27121 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
27122 wxPyEndAllowThreads(__tstate
);
27123 if (PyErr_Occurred()) SWIG_fail
;
27126 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27134 SWIGINTERN PyObject
*MenuEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27136 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27137 SWIG_TypeNewClientData(SWIGTYPE_p_wxMenuEvent
, SWIG_NewClientData(obj
));
27138 return SWIG_Py_Void();
27141 SWIGINTERN PyObject
*MenuEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27142 return SWIG_Python_InitShadowInstance(args
);
27145 SWIGINTERN PyObject
*_wrap_new_CloseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27146 PyObject
*resultobj
= 0;
27147 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27148 int arg2
= (int) 0 ;
27149 wxCloseEvent
*result
= 0 ;
27154 PyObject
* obj0
= 0 ;
27155 PyObject
* obj1
= 0 ;
27156 char * kwnames
[] = {
27157 (char *) "type",(char *) "winid", NULL
27160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27162 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27163 if (!SWIG_IsOK(ecode1
)) {
27164 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CloseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
27166 arg1
= static_cast< wxEventType
>(val1
);
27169 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27170 if (!SWIG_IsOK(ecode2
)) {
27171 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CloseEvent" "', expected argument " "2"" of type '" "int""'");
27173 arg2
= static_cast< int >(val2
);
27176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27177 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
27178 wxPyEndAllowThreads(__tstate
);
27179 if (PyErr_Occurred()) SWIG_fail
;
27181 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_NEW
| 0 );
27188 SWIGINTERN PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27189 PyObject
*resultobj
= 0;
27190 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
27196 PyObject
* obj0
= 0 ;
27197 PyObject
* obj1
= 0 ;
27198 char * kwnames
[] = {
27199 (char *) "self",(char *) "logOff", NULL
27202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCloseEvent
, 0 | 0 );
27204 if (!SWIG_IsOK(res1
)) {
27205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CloseEvent_SetLoggingOff" "', expected argument " "1"" of type '" "wxCloseEvent *""'");
27207 arg1
= reinterpret_cast< wxCloseEvent
* >(argp1
);
27208 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27209 if (!SWIG_IsOK(ecode2
)) {
27210 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CloseEvent_SetLoggingOff" "', expected argument " "2"" of type '" "bool""'");
27212 arg2
= static_cast< bool >(val2
);
27214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27215 (arg1
)->SetLoggingOff(arg2
);
27216 wxPyEndAllowThreads(__tstate
);
27217 if (PyErr_Occurred()) SWIG_fail
;
27219 resultobj
= SWIG_Py_Void();
27226 SWIGINTERN PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27227 PyObject
*resultobj
= 0;
27228 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
27232 PyObject
*swig_obj
[1] ;
27234 if (!args
) SWIG_fail
;
27235 swig_obj
[0] = args
;
27236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCloseEvent
, 0 | 0 );
27237 if (!SWIG_IsOK(res1
)) {
27238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CloseEvent_GetLoggingOff" "', expected argument " "1"" of type '" "wxCloseEvent const *""'");
27240 arg1
= reinterpret_cast< wxCloseEvent
* >(argp1
);
27242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27243 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
27244 wxPyEndAllowThreads(__tstate
);
27245 if (PyErr_Occurred()) SWIG_fail
;
27248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27256 SWIGINTERN PyObject
*_wrap_CloseEvent_Veto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27257 PyObject
*resultobj
= 0;
27258 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
27259 bool arg2
= (bool) true ;
27264 PyObject
* obj0
= 0 ;
27265 PyObject
* obj1
= 0 ;
27266 char * kwnames
[] = {
27267 (char *) "self",(char *) "veto", NULL
27270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCloseEvent
, 0 | 0 );
27272 if (!SWIG_IsOK(res1
)) {
27273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CloseEvent_Veto" "', expected argument " "1"" of type '" "wxCloseEvent *""'");
27275 arg1
= reinterpret_cast< wxCloseEvent
* >(argp1
);
27277 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27278 if (!SWIG_IsOK(ecode2
)) {
27279 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CloseEvent_Veto" "', expected argument " "2"" of type '" "bool""'");
27281 arg2
= static_cast< bool >(val2
);
27284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27285 (arg1
)->Veto(arg2
);
27286 wxPyEndAllowThreads(__tstate
);
27287 if (PyErr_Occurred()) SWIG_fail
;
27289 resultobj
= SWIG_Py_Void();
27296 SWIGINTERN PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27297 PyObject
*resultobj
= 0;
27298 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
27302 PyObject
*swig_obj
[1] ;
27304 if (!args
) SWIG_fail
;
27305 swig_obj
[0] = args
;
27306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCloseEvent
, 0 | 0 );
27307 if (!SWIG_IsOK(res1
)) {
27308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CloseEvent_GetVeto" "', expected argument " "1"" of type '" "wxCloseEvent const *""'");
27310 arg1
= reinterpret_cast< wxCloseEvent
* >(argp1
);
27312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27313 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
27314 wxPyEndAllowThreads(__tstate
);
27315 if (PyErr_Occurred()) SWIG_fail
;
27318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27326 SWIGINTERN PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27327 PyObject
*resultobj
= 0;
27328 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
27334 PyObject
* obj0
= 0 ;
27335 PyObject
* obj1
= 0 ;
27336 char * kwnames
[] = {
27337 (char *) "self",(char *) "canVeto", NULL
27340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCloseEvent
, 0 | 0 );
27342 if (!SWIG_IsOK(res1
)) {
27343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CloseEvent_SetCanVeto" "', expected argument " "1"" of type '" "wxCloseEvent *""'");
27345 arg1
= reinterpret_cast< wxCloseEvent
* >(argp1
);
27346 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27347 if (!SWIG_IsOK(ecode2
)) {
27348 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CloseEvent_SetCanVeto" "', expected argument " "2"" of type '" "bool""'");
27350 arg2
= static_cast< bool >(val2
);
27352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27353 (arg1
)->SetCanVeto(arg2
);
27354 wxPyEndAllowThreads(__tstate
);
27355 if (PyErr_Occurred()) SWIG_fail
;
27357 resultobj
= SWIG_Py_Void();
27364 SWIGINTERN PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27365 PyObject
*resultobj
= 0;
27366 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
27370 PyObject
*swig_obj
[1] ;
27372 if (!args
) SWIG_fail
;
27373 swig_obj
[0] = args
;
27374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCloseEvent
, 0 | 0 );
27375 if (!SWIG_IsOK(res1
)) {
27376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CloseEvent_CanVeto" "', expected argument " "1"" of type '" "wxCloseEvent const *""'");
27378 arg1
= reinterpret_cast< wxCloseEvent
* >(argp1
);
27380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27381 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
27382 wxPyEndAllowThreads(__tstate
);
27383 if (PyErr_Occurred()) SWIG_fail
;
27386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27394 SWIGINTERN PyObject
*CloseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27396 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27397 SWIG_TypeNewClientData(SWIGTYPE_p_wxCloseEvent
, SWIG_NewClientData(obj
));
27398 return SWIG_Py_Void();
27401 SWIGINTERN PyObject
*CloseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27402 return SWIG_Python_InitShadowInstance(args
);
27405 SWIGINTERN PyObject
*_wrap_new_ShowEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27406 PyObject
*resultobj
= 0;
27407 int arg1
= (int) 0 ;
27408 bool arg2
= (bool) false ;
27409 wxShowEvent
*result
= 0 ;
27414 PyObject
* obj0
= 0 ;
27415 PyObject
* obj1
= 0 ;
27416 char * kwnames
[] = {
27417 (char *) "winid",(char *) "show", NULL
27420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27422 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27423 if (!SWIG_IsOK(ecode1
)) {
27424 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ShowEvent" "', expected argument " "1"" of type '" "int""'");
27426 arg1
= static_cast< int >(val1
);
27429 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27430 if (!SWIG_IsOK(ecode2
)) {
27431 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ShowEvent" "', expected argument " "2"" of type '" "bool""'");
27433 arg2
= static_cast< bool >(val2
);
27436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27437 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
27438 wxPyEndAllowThreads(__tstate
);
27439 if (PyErr_Occurred()) SWIG_fail
;
27441 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_NEW
| 0 );
27448 SWIGINTERN PyObject
*_wrap_ShowEvent_SetShow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27449 PyObject
*resultobj
= 0;
27450 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
27456 PyObject
* obj0
= 0 ;
27457 PyObject
* obj1
= 0 ;
27458 char * kwnames
[] = {
27459 (char *) "self",(char *) "show", NULL
27462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxShowEvent
, 0 | 0 );
27464 if (!SWIG_IsOK(res1
)) {
27465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ShowEvent_SetShow" "', expected argument " "1"" of type '" "wxShowEvent *""'");
27467 arg1
= reinterpret_cast< wxShowEvent
* >(argp1
);
27468 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27469 if (!SWIG_IsOK(ecode2
)) {
27470 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ShowEvent_SetShow" "', expected argument " "2"" of type '" "bool""'");
27472 arg2
= static_cast< bool >(val2
);
27474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27475 (arg1
)->SetShow(arg2
);
27476 wxPyEndAllowThreads(__tstate
);
27477 if (PyErr_Occurred()) SWIG_fail
;
27479 resultobj
= SWIG_Py_Void();
27486 SWIGINTERN PyObject
*_wrap_ShowEvent_GetShow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27487 PyObject
*resultobj
= 0;
27488 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
27492 PyObject
*swig_obj
[1] ;
27494 if (!args
) SWIG_fail
;
27495 swig_obj
[0] = args
;
27496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxShowEvent
, 0 | 0 );
27497 if (!SWIG_IsOK(res1
)) {
27498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ShowEvent_GetShow" "', expected argument " "1"" of type '" "wxShowEvent const *""'");
27500 arg1
= reinterpret_cast< wxShowEvent
* >(argp1
);
27502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27503 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
27504 wxPyEndAllowThreads(__tstate
);
27505 if (PyErr_Occurred()) SWIG_fail
;
27508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27516 SWIGINTERN PyObject
*ShowEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27518 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27519 SWIG_TypeNewClientData(SWIGTYPE_p_wxShowEvent
, SWIG_NewClientData(obj
));
27520 return SWIG_Py_Void();
27523 SWIGINTERN PyObject
*ShowEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27524 return SWIG_Python_InitShadowInstance(args
);
27527 SWIGINTERN PyObject
*_wrap_new_IconizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27528 PyObject
*resultobj
= 0;
27529 int arg1
= (int) 0 ;
27530 bool arg2
= (bool) true ;
27531 wxIconizeEvent
*result
= 0 ;
27536 PyObject
* obj0
= 0 ;
27537 PyObject
* obj1
= 0 ;
27538 char * kwnames
[] = {
27539 (char *) "id",(char *) "iconized", NULL
27542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27544 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27545 if (!SWIG_IsOK(ecode1
)) {
27546 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_IconizeEvent" "', expected argument " "1"" of type '" "int""'");
27548 arg1
= static_cast< int >(val1
);
27551 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27552 if (!SWIG_IsOK(ecode2
)) {
27553 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconizeEvent" "', expected argument " "2"" of type '" "bool""'");
27555 arg2
= static_cast< bool >(val2
);
27558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27559 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
27560 wxPyEndAllowThreads(__tstate
);
27561 if (PyErr_Occurred()) SWIG_fail
;
27563 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconizeEvent
, SWIG_POINTER_NEW
| 0 );
27570 SWIGINTERN PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27571 PyObject
*resultobj
= 0;
27572 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
27576 PyObject
*swig_obj
[1] ;
27578 if (!args
) SWIG_fail
;
27579 swig_obj
[0] = args
;
27580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconizeEvent
, 0 | 0 );
27581 if (!SWIG_IsOK(res1
)) {
27582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconizeEvent_Iconized" "', expected argument " "1"" of type '" "wxIconizeEvent *""'");
27584 arg1
= reinterpret_cast< wxIconizeEvent
* >(argp1
);
27586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27587 result
= (bool)(arg1
)->Iconized();
27588 wxPyEndAllowThreads(__tstate
);
27589 if (PyErr_Occurred()) SWIG_fail
;
27592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27600 SWIGINTERN PyObject
*IconizeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27602 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27603 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconizeEvent
, SWIG_NewClientData(obj
));
27604 return SWIG_Py_Void();
27607 SWIGINTERN PyObject
*IconizeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27608 return SWIG_Python_InitShadowInstance(args
);
27611 SWIGINTERN PyObject
*_wrap_new_MaximizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27612 PyObject
*resultobj
= 0;
27613 int arg1
= (int) 0 ;
27614 wxMaximizeEvent
*result
= 0 ;
27617 PyObject
* obj0
= 0 ;
27618 char * kwnames
[] = {
27619 (char *) "id", NULL
27622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) SWIG_fail
;
27624 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27625 if (!SWIG_IsOK(ecode1
)) {
27626 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_MaximizeEvent" "', expected argument " "1"" of type '" "int""'");
27628 arg1
= static_cast< int >(val1
);
27631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27632 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
27633 wxPyEndAllowThreads(__tstate
);
27634 if (PyErr_Occurred()) SWIG_fail
;
27636 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMaximizeEvent
, SWIG_POINTER_NEW
| 0 );
27643 SWIGINTERN PyObject
*MaximizeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27645 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27646 SWIG_TypeNewClientData(SWIGTYPE_p_wxMaximizeEvent
, SWIG_NewClientData(obj
));
27647 return SWIG_Py_Void();
27650 SWIGINTERN PyObject
*MaximizeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27651 return SWIG_Python_InitShadowInstance(args
);
27654 SWIGINTERN PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27655 PyObject
*resultobj
= 0;
27656 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
27660 PyObject
*swig_obj
[1] ;
27662 if (!args
) SWIG_fail
;
27663 swig_obj
[0] = args
;
27664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDropFilesEvent
, 0 | 0 );
27665 if (!SWIG_IsOK(res1
)) {
27666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropFilesEvent_GetPosition" "', expected argument " "1"" of type '" "wxDropFilesEvent *""'");
27668 arg1
= reinterpret_cast< wxDropFilesEvent
* >(argp1
);
27670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27671 result
= (arg1
)->GetPosition();
27672 wxPyEndAllowThreads(__tstate
);
27673 if (PyErr_Occurred()) SWIG_fail
;
27675 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
27682 SWIGINTERN PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27683 PyObject
*resultobj
= 0;
27684 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
27688 PyObject
*swig_obj
[1] ;
27690 if (!args
) SWIG_fail
;
27691 swig_obj
[0] = args
;
27692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDropFilesEvent
, 0 | 0 );
27693 if (!SWIG_IsOK(res1
)) {
27694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropFilesEvent_GetNumberOfFiles" "', expected argument " "1"" of type '" "wxDropFilesEvent *""'");
27696 arg1
= reinterpret_cast< wxDropFilesEvent
* >(argp1
);
27698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27699 result
= (int)(arg1
)->GetNumberOfFiles();
27700 wxPyEndAllowThreads(__tstate
);
27701 if (PyErr_Occurred()) SWIG_fail
;
27703 resultobj
= SWIG_From_int(static_cast< int >(result
));
27710 SWIGINTERN PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27711 PyObject
*resultobj
= 0;
27712 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
27713 PyObject
*result
= 0 ;
27716 PyObject
*swig_obj
[1] ;
27718 if (!args
) SWIG_fail
;
27719 swig_obj
[0] = args
;
27720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDropFilesEvent
, 0 | 0 );
27721 if (!SWIG_IsOK(res1
)) {
27722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropFilesEvent_GetFiles" "', expected argument " "1"" of type '" "wxDropFilesEvent *""'");
27724 arg1
= reinterpret_cast< wxDropFilesEvent
* >(argp1
);
27726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27727 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
27728 wxPyEndAllowThreads(__tstate
);
27729 if (PyErr_Occurred()) SWIG_fail
;
27731 resultobj
= result
;
27738 SWIGINTERN PyObject
*DropFilesEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27740 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27741 SWIG_TypeNewClientData(SWIGTYPE_p_wxDropFilesEvent
, SWIG_NewClientData(obj
));
27742 return SWIG_Py_Void();
27745 SWIGINTERN PyObject
*_wrap_new_UpdateUIEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27746 PyObject
*resultobj
= 0;
27747 int arg1
= (int) 0 ;
27748 wxUpdateUIEvent
*result
= 0 ;
27751 PyObject
* obj0
= 0 ;
27752 char * kwnames
[] = {
27753 (char *) "commandId", NULL
27756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) SWIG_fail
;
27758 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27759 if (!SWIG_IsOK(ecode1
)) {
27760 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_UpdateUIEvent" "', expected argument " "1"" of type '" "int""'");
27762 arg1
= static_cast< int >(val1
);
27765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27766 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
27767 wxPyEndAllowThreads(__tstate
);
27768 if (PyErr_Occurred()) SWIG_fail
;
27770 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_NEW
| 0 );
27777 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27778 PyObject
*resultobj
= 0;
27779 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
27783 PyObject
*swig_obj
[1] ;
27785 if (!args
) SWIG_fail
;
27786 swig_obj
[0] = args
;
27787 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
27788 if (!SWIG_IsOK(res1
)) {
27789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetChecked" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
27791 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
27793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27794 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
27795 wxPyEndAllowThreads(__tstate
);
27796 if (PyErr_Occurred()) SWIG_fail
;
27799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27807 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27808 PyObject
*resultobj
= 0;
27809 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
27813 PyObject
*swig_obj
[1] ;
27815 if (!args
) SWIG_fail
;
27816 swig_obj
[0] = args
;
27817 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
27818 if (!SWIG_IsOK(res1
)) {
27819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetEnabled" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
27821 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
27823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27824 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
27825 wxPyEndAllowThreads(__tstate
);
27826 if (PyErr_Occurred()) SWIG_fail
;
27829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27837 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27838 PyObject
*resultobj
= 0;
27839 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
27843 PyObject
*swig_obj
[1] ;
27845 if (!args
) SWIG_fail
;
27846 swig_obj
[0] = args
;
27847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
27848 if (!SWIG_IsOK(res1
)) {
27849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetShown" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
27851 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
27853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27854 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetShown();
27855 wxPyEndAllowThreads(__tstate
);
27856 if (PyErr_Occurred()) SWIG_fail
;
27859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27867 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27868 PyObject
*resultobj
= 0;
27869 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
27873 PyObject
*swig_obj
[1] ;
27875 if (!args
) SWIG_fail
;
27876 swig_obj
[0] = args
;
27877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
27878 if (!SWIG_IsOK(res1
)) {
27879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetText" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
27881 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
27883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27884 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
27885 wxPyEndAllowThreads(__tstate
);
27886 if (PyErr_Occurred()) SWIG_fail
;
27890 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27892 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27901 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27902 PyObject
*resultobj
= 0;
27903 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
27907 PyObject
*swig_obj
[1] ;
27909 if (!args
) SWIG_fail
;
27910 swig_obj
[0] = args
;
27911 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
27912 if (!SWIG_IsOK(res1
)) {
27913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetSetText" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
27915 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
27917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27918 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
27919 wxPyEndAllowThreads(__tstate
);
27920 if (PyErr_Occurred()) SWIG_fail
;
27923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27931 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27932 PyObject
*resultobj
= 0;
27933 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
27937 PyObject
*swig_obj
[1] ;
27939 if (!args
) SWIG_fail
;
27940 swig_obj
[0] = args
;
27941 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
27942 if (!SWIG_IsOK(res1
)) {
27943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetSetChecked" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
27945 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
27947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27948 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
27949 wxPyEndAllowThreads(__tstate
);
27950 if (PyErr_Occurred()) SWIG_fail
;
27953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27961 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27962 PyObject
*resultobj
= 0;
27963 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
27967 PyObject
*swig_obj
[1] ;
27969 if (!args
) SWIG_fail
;
27970 swig_obj
[0] = args
;
27971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
27972 if (!SWIG_IsOK(res1
)) {
27973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetSetEnabled" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
27975 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
27977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27978 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
27979 wxPyEndAllowThreads(__tstate
);
27980 if (PyErr_Occurred()) SWIG_fail
;
27983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27991 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetSetShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27992 PyObject
*resultobj
= 0;
27993 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
27997 PyObject
*swig_obj
[1] ;
27999 if (!args
) SWIG_fail
;
28000 swig_obj
[0] = args
;
28001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
28002 if (!SWIG_IsOK(res1
)) {
28003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetSetShown" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
28005 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
28007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28008 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetShown();
28009 wxPyEndAllowThreads(__tstate
);
28010 if (PyErr_Occurred()) SWIG_fail
;
28013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28021 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28022 PyObject
*resultobj
= 0;
28023 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
28029 PyObject
* obj0
= 0 ;
28030 PyObject
* obj1
= 0 ;
28031 char * kwnames
[] = {
28032 (char *) "self",(char *) "check", NULL
28035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
28037 if (!SWIG_IsOK(res1
)) {
28038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_Check" "', expected argument " "1"" of type '" "wxUpdateUIEvent *""'");
28040 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
28041 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28042 if (!SWIG_IsOK(ecode2
)) {
28043 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "UpdateUIEvent_Check" "', expected argument " "2"" of type '" "bool""'");
28045 arg2
= static_cast< bool >(val2
);
28047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28048 (arg1
)->Check(arg2
);
28049 wxPyEndAllowThreads(__tstate
);
28050 if (PyErr_Occurred()) SWIG_fail
;
28052 resultobj
= SWIG_Py_Void();
28059 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28060 PyObject
*resultobj
= 0;
28061 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
28067 PyObject
* obj0
= 0 ;
28068 PyObject
* obj1
= 0 ;
28069 char * kwnames
[] = {
28070 (char *) "self",(char *) "enable", NULL
28073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
28075 if (!SWIG_IsOK(res1
)) {
28076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_Enable" "', expected argument " "1"" of type '" "wxUpdateUIEvent *""'");
28078 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
28079 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28080 if (!SWIG_IsOK(ecode2
)) {
28081 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "UpdateUIEvent_Enable" "', expected argument " "2"" of type '" "bool""'");
28083 arg2
= static_cast< bool >(val2
);
28085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28086 (arg1
)->Enable(arg2
);
28087 wxPyEndAllowThreads(__tstate
);
28088 if (PyErr_Occurred()) SWIG_fail
;
28090 resultobj
= SWIG_Py_Void();
28097 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28098 PyObject
*resultobj
= 0;
28099 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
28105 PyObject
* obj0
= 0 ;
28106 PyObject
* obj1
= 0 ;
28107 char * kwnames
[] = {
28108 (char *) "self",(char *) "show", NULL
28111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
28113 if (!SWIG_IsOK(res1
)) {
28114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_Show" "', expected argument " "1"" of type '" "wxUpdateUIEvent *""'");
28116 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
28117 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28118 if (!SWIG_IsOK(ecode2
)) {
28119 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "UpdateUIEvent_Show" "', expected argument " "2"" of type '" "bool""'");
28121 arg2
= static_cast< bool >(val2
);
28123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28124 (arg1
)->Show(arg2
);
28125 wxPyEndAllowThreads(__tstate
);
28126 if (PyErr_Occurred()) SWIG_fail
;
28128 resultobj
= SWIG_Py_Void();
28135 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28136 PyObject
*resultobj
= 0;
28137 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
28138 wxString
*arg2
= 0 ;
28141 bool temp2
= false ;
28142 PyObject
* obj0
= 0 ;
28143 PyObject
* obj1
= 0 ;
28144 char * kwnames
[] = {
28145 (char *) "self",(char *) "text", NULL
28148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
28150 if (!SWIG_IsOK(res1
)) {
28151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_SetText" "', expected argument " "1"" of type '" "wxUpdateUIEvent *""'");
28153 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
28155 arg2
= wxString_in_helper(obj1
);
28156 if (arg2
== NULL
) SWIG_fail
;
28160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28161 (arg1
)->SetText((wxString
const &)*arg2
);
28162 wxPyEndAllowThreads(__tstate
);
28163 if (PyErr_Occurred()) SWIG_fail
;
28165 resultobj
= SWIG_Py_Void();
28180 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28181 PyObject
*resultobj
= 0;
28185 PyObject
* obj0
= 0 ;
28186 char * kwnames
[] = {
28187 (char *) "updateInterval", NULL
28190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) SWIG_fail
;
28191 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28192 if (!SWIG_IsOK(ecode1
)) {
28193 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "UpdateUIEvent_SetUpdateInterval" "', expected argument " "1"" of type '" "long""'");
28195 arg1
= static_cast< long >(val1
);
28197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28198 wxUpdateUIEvent::SetUpdateInterval(arg1
);
28199 wxPyEndAllowThreads(__tstate
);
28200 if (PyErr_Occurred()) SWIG_fail
;
28202 resultobj
= SWIG_Py_Void();
28209 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28210 PyObject
*resultobj
= 0;
28213 if (!SWIG_Python_UnpackTuple(args
,"UpdateUIEvent_GetUpdateInterval",0,0,0)) SWIG_fail
;
28215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28216 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
28217 wxPyEndAllowThreads(__tstate
);
28218 if (PyErr_Occurred()) SWIG_fail
;
28220 resultobj
= SWIG_From_long(static_cast< long >(result
));
28227 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28228 PyObject
*resultobj
= 0;
28229 wxWindow
*arg1
= (wxWindow
*) 0 ;
28233 PyObject
* obj0
= 0 ;
28234 char * kwnames
[] = {
28235 (char *) "win", NULL
28238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) SWIG_fail
;
28239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28240 if (!SWIG_IsOK(res1
)) {
28241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_CanUpdate" "', expected argument " "1"" of type '" "wxWindow *""'");
28243 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28246 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
28247 wxPyEndAllowThreads(__tstate
);
28248 if (PyErr_Occurred()) SWIG_fail
;
28251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28259 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28260 PyObject
*resultobj
= 0;
28262 if (!SWIG_Python_UnpackTuple(args
,"UpdateUIEvent_ResetUpdateTime",0,0,0)) SWIG_fail
;
28264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28265 wxUpdateUIEvent::ResetUpdateTime();
28266 wxPyEndAllowThreads(__tstate
);
28267 if (PyErr_Occurred()) SWIG_fail
;
28269 resultobj
= SWIG_Py_Void();
28276 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28277 PyObject
*resultobj
= 0;
28278 wxUpdateUIMode arg1
;
28281 PyObject
* obj0
= 0 ;
28282 char * kwnames
[] = {
28283 (char *) "mode", NULL
28286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) SWIG_fail
;
28287 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28288 if (!SWIG_IsOK(ecode1
)) {
28289 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "UpdateUIEvent_SetMode" "', expected argument " "1"" of type '" "wxUpdateUIMode""'");
28291 arg1
= static_cast< wxUpdateUIMode
>(val1
);
28293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28294 wxUpdateUIEvent::SetMode(arg1
);
28295 wxPyEndAllowThreads(__tstate
);
28296 if (PyErr_Occurred()) SWIG_fail
;
28298 resultobj
= SWIG_Py_Void();
28305 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28306 PyObject
*resultobj
= 0;
28307 wxUpdateUIMode result
;
28309 if (!SWIG_Python_UnpackTuple(args
,"UpdateUIEvent_GetMode",0,0,0)) SWIG_fail
;
28311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28312 result
= (wxUpdateUIMode
)wxUpdateUIEvent::GetMode();
28313 wxPyEndAllowThreads(__tstate
);
28314 if (PyErr_Occurred()) SWIG_fail
;
28316 resultobj
= SWIG_From_int(static_cast< int >(result
));
28323 SWIGINTERN PyObject
*UpdateUIEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28325 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28326 SWIG_TypeNewClientData(SWIGTYPE_p_wxUpdateUIEvent
, SWIG_NewClientData(obj
));
28327 return SWIG_Py_Void();
28330 SWIGINTERN PyObject
*UpdateUIEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28331 return SWIG_Python_InitShadowInstance(args
);
28334 SWIGINTERN PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28335 PyObject
*resultobj
= 0;
28336 wxSysColourChangedEvent
*result
= 0 ;
28338 if (!SWIG_Python_UnpackTuple(args
,"new_SysColourChangedEvent",0,0,0)) SWIG_fail
;
28340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28341 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
28342 wxPyEndAllowThreads(__tstate
);
28343 if (PyErr_Occurred()) SWIG_fail
;
28345 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSysColourChangedEvent
, SWIG_POINTER_NEW
| 0 );
28352 SWIGINTERN PyObject
*SysColourChangedEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28354 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28355 SWIG_TypeNewClientData(SWIGTYPE_p_wxSysColourChangedEvent
, SWIG_NewClientData(obj
));
28356 return SWIG_Py_Void();
28359 SWIGINTERN PyObject
*SysColourChangedEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28360 return SWIG_Python_InitShadowInstance(args
);
28363 SWIGINTERN PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28364 PyObject
*resultobj
= 0;
28365 int arg1
= (int) 0 ;
28366 wxWindow
*arg2
= (wxWindow
*) NULL
;
28367 wxMouseCaptureChangedEvent
*result
= 0 ;
28372 PyObject
* obj0
= 0 ;
28373 PyObject
* obj1
= 0 ;
28374 char * kwnames
[] = {
28375 (char *) "winid",(char *) "gainedCapture", NULL
28378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28380 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28381 if (!SWIG_IsOK(ecode1
)) {
28382 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_MouseCaptureChangedEvent" "', expected argument " "1"" of type '" "int""'");
28384 arg1
= static_cast< int >(val1
);
28387 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28388 if (!SWIG_IsOK(res2
)) {
28389 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_MouseCaptureChangedEvent" "', expected argument " "2"" of type '" "wxWindow *""'");
28391 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28395 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
28396 wxPyEndAllowThreads(__tstate
);
28397 if (PyErr_Occurred()) SWIG_fail
;
28399 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, SWIG_POINTER_NEW
| 0 );
28406 SWIGINTERN PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28407 PyObject
*resultobj
= 0;
28408 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
28409 wxWindow
*result
= 0 ;
28412 PyObject
*swig_obj
[1] ;
28414 if (!args
) SWIG_fail
;
28415 swig_obj
[0] = args
;
28416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseCaptureChangedEvent
, 0 | 0 );
28417 if (!SWIG_IsOK(res1
)) {
28418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseCaptureChangedEvent_GetCapturedWindow" "', expected argument " "1"" of type '" "wxMouseCaptureChangedEvent const *""'");
28420 arg1
= reinterpret_cast< wxMouseCaptureChangedEvent
* >(argp1
);
28422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28423 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
28424 wxPyEndAllowThreads(__tstate
);
28425 if (PyErr_Occurred()) SWIG_fail
;
28428 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28436 SWIGINTERN PyObject
*MouseCaptureChangedEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28438 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28439 SWIG_TypeNewClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, SWIG_NewClientData(obj
));
28440 return SWIG_Py_Void();
28443 SWIGINTERN PyObject
*MouseCaptureChangedEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28444 return SWIG_Python_InitShadowInstance(args
);
28447 SWIGINTERN PyObject
*_wrap_new_MouseCaptureLostEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28448 PyObject
*resultobj
= 0;
28449 int arg1
= (int) 0 ;
28450 wxMouseCaptureLostEvent
*result
= 0 ;
28453 PyObject
* obj0
= 0 ;
28454 char * kwnames
[] = {
28455 (char *) "winid", NULL
28458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseCaptureLostEvent",kwnames
,&obj0
)) SWIG_fail
;
28460 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28461 if (!SWIG_IsOK(ecode1
)) {
28462 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_MouseCaptureLostEvent" "', expected argument " "1"" of type '" "int""'");
28464 arg1
= static_cast< int >(val1
);
28467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28468 result
= (wxMouseCaptureLostEvent
*)new wxMouseCaptureLostEvent(arg1
);
28469 wxPyEndAllowThreads(__tstate
);
28470 if (PyErr_Occurred()) SWIG_fail
;
28472 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseCaptureLostEvent
, SWIG_POINTER_NEW
| 0 );
28479 SWIGINTERN PyObject
*MouseCaptureLostEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28481 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28482 SWIG_TypeNewClientData(SWIGTYPE_p_wxMouseCaptureLostEvent
, SWIG_NewClientData(obj
));
28483 return SWIG_Py_Void();
28486 SWIGINTERN PyObject
*MouseCaptureLostEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28487 return SWIG_Python_InitShadowInstance(args
);
28490 SWIGINTERN PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28491 PyObject
*resultobj
= 0;
28492 wxDisplayChangedEvent
*result
= 0 ;
28494 if (!SWIG_Python_UnpackTuple(args
,"new_DisplayChangedEvent",0,0,0)) SWIG_fail
;
28496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28497 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
28498 wxPyEndAllowThreads(__tstate
);
28499 if (PyErr_Occurred()) SWIG_fail
;
28501 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDisplayChangedEvent
, SWIG_POINTER_NEW
| 0 );
28508 SWIGINTERN PyObject
*DisplayChangedEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28510 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28511 SWIG_TypeNewClientData(SWIGTYPE_p_wxDisplayChangedEvent
, SWIG_NewClientData(obj
));
28512 return SWIG_Py_Void();
28515 SWIGINTERN PyObject
*DisplayChangedEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28516 return SWIG_Python_InitShadowInstance(args
);
28519 SWIGINTERN PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28520 PyObject
*resultobj
= 0;
28521 int arg1
= (int) 0 ;
28522 wxPaletteChangedEvent
*result
= 0 ;
28525 PyObject
* obj0
= 0 ;
28526 char * kwnames
[] = {
28527 (char *) "id", NULL
28530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) SWIG_fail
;
28532 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28533 if (!SWIG_IsOK(ecode1
)) {
28534 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PaletteChangedEvent" "', expected argument " "1"" of type '" "int""'");
28536 arg1
= static_cast< int >(val1
);
28539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28540 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
28541 wxPyEndAllowThreads(__tstate
);
28542 if (PyErr_Occurred()) SWIG_fail
;
28544 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_NEW
| 0 );
28551 SWIGINTERN PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28552 PyObject
*resultobj
= 0;
28553 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
28554 wxWindow
*arg2
= (wxWindow
*) 0 ;
28559 PyObject
* obj0
= 0 ;
28560 PyObject
* obj1
= 0 ;
28561 char * kwnames
[] = {
28562 (char *) "self",(char *) "win", NULL
28565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPaletteChangedEvent
, 0 | 0 );
28567 if (!SWIG_IsOK(res1
)) {
28568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PaletteChangedEvent_SetChangedWindow" "', expected argument " "1"" of type '" "wxPaletteChangedEvent *""'");
28570 arg1
= reinterpret_cast< wxPaletteChangedEvent
* >(argp1
);
28571 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28572 if (!SWIG_IsOK(res2
)) {
28573 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PaletteChangedEvent_SetChangedWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
28575 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28578 (arg1
)->SetChangedWindow(arg2
);
28579 wxPyEndAllowThreads(__tstate
);
28580 if (PyErr_Occurred()) SWIG_fail
;
28582 resultobj
= SWIG_Py_Void();
28589 SWIGINTERN PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28590 PyObject
*resultobj
= 0;
28591 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
28592 wxWindow
*result
= 0 ;
28595 PyObject
*swig_obj
[1] ;
28597 if (!args
) SWIG_fail
;
28598 swig_obj
[0] = args
;
28599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPaletteChangedEvent
, 0 | 0 );
28600 if (!SWIG_IsOK(res1
)) {
28601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PaletteChangedEvent_GetChangedWindow" "', expected argument " "1"" of type '" "wxPaletteChangedEvent *""'");
28603 arg1
= reinterpret_cast< wxPaletteChangedEvent
* >(argp1
);
28605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28606 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
28607 wxPyEndAllowThreads(__tstate
);
28608 if (PyErr_Occurred()) SWIG_fail
;
28611 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28619 SWIGINTERN PyObject
*PaletteChangedEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28621 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28622 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_NewClientData(obj
));
28623 return SWIG_Py_Void();
28626 SWIGINTERN PyObject
*PaletteChangedEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28627 return SWIG_Python_InitShadowInstance(args
);
28630 SWIGINTERN PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28631 PyObject
*resultobj
= 0;
28632 int arg1
= (int) 0 ;
28633 wxQueryNewPaletteEvent
*result
= 0 ;
28636 PyObject
* obj0
= 0 ;
28637 char * kwnames
[] = {
28638 (char *) "winid", NULL
28641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) SWIG_fail
;
28643 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28644 if (!SWIG_IsOK(ecode1
)) {
28645 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryNewPaletteEvent" "', expected argument " "1"" of type '" "int""'");
28647 arg1
= static_cast< int >(val1
);
28650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28651 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
28652 wxPyEndAllowThreads(__tstate
);
28653 if (PyErr_Occurred()) SWIG_fail
;
28655 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_NEW
| 0 );
28662 SWIGINTERN PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28663 PyObject
*resultobj
= 0;
28664 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
28670 PyObject
* obj0
= 0 ;
28671 PyObject
* obj1
= 0 ;
28672 char * kwnames
[] = {
28673 (char *) "self",(char *) "realized", NULL
28676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryNewPaletteEvent
, 0 | 0 );
28678 if (!SWIG_IsOK(res1
)) {
28679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryNewPaletteEvent_SetPaletteRealized" "', expected argument " "1"" of type '" "wxQueryNewPaletteEvent *""'");
28681 arg1
= reinterpret_cast< wxQueryNewPaletteEvent
* >(argp1
);
28682 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28683 if (!SWIG_IsOK(ecode2
)) {
28684 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryNewPaletteEvent_SetPaletteRealized" "', expected argument " "2"" of type '" "bool""'");
28686 arg2
= static_cast< bool >(val2
);
28688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28689 (arg1
)->SetPaletteRealized(arg2
);
28690 wxPyEndAllowThreads(__tstate
);
28691 if (PyErr_Occurred()) SWIG_fail
;
28693 resultobj
= SWIG_Py_Void();
28700 SWIGINTERN PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28701 PyObject
*resultobj
= 0;
28702 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
28706 PyObject
*swig_obj
[1] ;
28708 if (!args
) SWIG_fail
;
28709 swig_obj
[0] = args
;
28710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryNewPaletteEvent
, 0 | 0 );
28711 if (!SWIG_IsOK(res1
)) {
28712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryNewPaletteEvent_GetPaletteRealized" "', expected argument " "1"" of type '" "wxQueryNewPaletteEvent const *""'");
28714 arg1
= reinterpret_cast< wxQueryNewPaletteEvent
* >(argp1
);
28716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28717 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
28718 wxPyEndAllowThreads(__tstate
);
28719 if (PyErr_Occurred()) SWIG_fail
;
28722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28730 SWIGINTERN PyObject
*QueryNewPaletteEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28732 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28733 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_NewClientData(obj
));
28734 return SWIG_Py_Void();
28737 SWIGINTERN PyObject
*QueryNewPaletteEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28738 return SWIG_Python_InitShadowInstance(args
);
28741 SWIGINTERN PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28742 PyObject
*resultobj
= 0;
28743 wxNavigationKeyEvent
*result
= 0 ;
28745 if (!SWIG_Python_UnpackTuple(args
,"new_NavigationKeyEvent",0,0,0)) SWIG_fail
;
28747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28748 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
28749 wxPyEndAllowThreads(__tstate
);
28750 if (PyErr_Occurred()) SWIG_fail
;
28752 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_NEW
| 0 );
28759 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28760 PyObject
*resultobj
= 0;
28761 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
28765 PyObject
*swig_obj
[1] ;
28767 if (!args
) SWIG_fail
;
28768 swig_obj
[0] = args
;
28769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
28770 if (!SWIG_IsOK(res1
)) {
28771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_GetDirection" "', expected argument " "1"" of type '" "wxNavigationKeyEvent const *""'");
28773 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
28775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28776 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
28777 wxPyEndAllowThreads(__tstate
);
28778 if (PyErr_Occurred()) SWIG_fail
;
28781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28789 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28790 PyObject
*resultobj
= 0;
28791 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
28797 PyObject
* obj0
= 0 ;
28798 PyObject
* obj1
= 0 ;
28799 char * kwnames
[] = {
28800 (char *) "self",(char *) "forward", NULL
28803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
28805 if (!SWIG_IsOK(res1
)) {
28806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_SetDirection" "', expected argument " "1"" of type '" "wxNavigationKeyEvent *""'");
28808 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
28809 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28810 if (!SWIG_IsOK(ecode2
)) {
28811 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NavigationKeyEvent_SetDirection" "', expected argument " "2"" of type '" "bool""'");
28813 arg2
= static_cast< bool >(val2
);
28815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28816 (arg1
)->SetDirection(arg2
);
28817 wxPyEndAllowThreads(__tstate
);
28818 if (PyErr_Occurred()) SWIG_fail
;
28820 resultobj
= SWIG_Py_Void();
28827 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28828 PyObject
*resultobj
= 0;
28829 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
28833 PyObject
*swig_obj
[1] ;
28835 if (!args
) SWIG_fail
;
28836 swig_obj
[0] = args
;
28837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
28838 if (!SWIG_IsOK(res1
)) {
28839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_IsWindowChange" "', expected argument " "1"" of type '" "wxNavigationKeyEvent const *""'");
28841 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
28843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28844 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
28845 wxPyEndAllowThreads(__tstate
);
28846 if (PyErr_Occurred()) SWIG_fail
;
28849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28857 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28858 PyObject
*resultobj
= 0;
28859 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
28865 PyObject
* obj0
= 0 ;
28866 PyObject
* obj1
= 0 ;
28867 char * kwnames
[] = {
28868 (char *) "self",(char *) "ischange", NULL
28871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
28873 if (!SWIG_IsOK(res1
)) {
28874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_SetWindowChange" "', expected argument " "1"" of type '" "wxNavigationKeyEvent *""'");
28876 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
28877 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28878 if (!SWIG_IsOK(ecode2
)) {
28879 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NavigationKeyEvent_SetWindowChange" "', expected argument " "2"" of type '" "bool""'");
28881 arg2
= static_cast< bool >(val2
);
28883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28884 (arg1
)->SetWindowChange(arg2
);
28885 wxPyEndAllowThreads(__tstate
);
28886 if (PyErr_Occurred()) SWIG_fail
;
28888 resultobj
= SWIG_Py_Void();
28895 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_IsFromTab(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28896 PyObject
*resultobj
= 0;
28897 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
28901 PyObject
*swig_obj
[1] ;
28903 if (!args
) SWIG_fail
;
28904 swig_obj
[0] = args
;
28905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
28906 if (!SWIG_IsOK(res1
)) {
28907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_IsFromTab" "', expected argument " "1"" of type '" "wxNavigationKeyEvent const *""'");
28909 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
28911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28912 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsFromTab();
28913 wxPyEndAllowThreads(__tstate
);
28914 if (PyErr_Occurred()) SWIG_fail
;
28917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28925 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_SetFromTab(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28926 PyObject
*resultobj
= 0;
28927 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
28933 PyObject
* obj0
= 0 ;
28934 PyObject
* obj1
= 0 ;
28935 char * kwnames
[] = {
28936 (char *) "self",(char *) "bIs", NULL
28939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFromTab",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
28941 if (!SWIG_IsOK(res1
)) {
28942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_SetFromTab" "', expected argument " "1"" of type '" "wxNavigationKeyEvent *""'");
28944 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
28945 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28946 if (!SWIG_IsOK(ecode2
)) {
28947 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NavigationKeyEvent_SetFromTab" "', expected argument " "2"" of type '" "bool""'");
28949 arg2
= static_cast< bool >(val2
);
28951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28952 (arg1
)->SetFromTab(arg2
);
28953 wxPyEndAllowThreads(__tstate
);
28954 if (PyErr_Occurred()) SWIG_fail
;
28956 resultobj
= SWIG_Py_Void();
28963 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28964 PyObject
*resultobj
= 0;
28965 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
28971 PyObject
* obj0
= 0 ;
28972 PyObject
* obj1
= 0 ;
28973 char * kwnames
[] = {
28974 (char *) "self",(char *) "flags", NULL
28977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
28979 if (!SWIG_IsOK(res1
)) {
28980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_SetFlags" "', expected argument " "1"" of type '" "wxNavigationKeyEvent *""'");
28982 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
28983 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28984 if (!SWIG_IsOK(ecode2
)) {
28985 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NavigationKeyEvent_SetFlags" "', expected argument " "2"" of type '" "long""'");
28987 arg2
= static_cast< long >(val2
);
28989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28990 (arg1
)->SetFlags(arg2
);
28991 wxPyEndAllowThreads(__tstate
);
28992 if (PyErr_Occurred()) SWIG_fail
;
28994 resultobj
= SWIG_Py_Void();
29001 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29002 PyObject
*resultobj
= 0;
29003 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
29004 wxWindow
*result
= 0 ;
29007 PyObject
*swig_obj
[1] ;
29009 if (!args
) SWIG_fail
;
29010 swig_obj
[0] = args
;
29011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
29012 if (!SWIG_IsOK(res1
)) {
29013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_GetCurrentFocus" "', expected argument " "1"" of type '" "wxNavigationKeyEvent const *""'");
29015 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
29017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29018 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
29019 wxPyEndAllowThreads(__tstate
);
29020 if (PyErr_Occurred()) SWIG_fail
;
29023 resultobj
= wxPyMake_wxObject(result
, (bool)0);
29031 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29032 PyObject
*resultobj
= 0;
29033 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
29034 wxWindow
*arg2
= (wxWindow
*) 0 ;
29039 PyObject
* obj0
= 0 ;
29040 PyObject
* obj1
= 0 ;
29041 char * kwnames
[] = {
29042 (char *) "self",(char *) "win", NULL
29045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
29047 if (!SWIG_IsOK(res1
)) {
29048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_SetCurrentFocus" "', expected argument " "1"" of type '" "wxNavigationKeyEvent *""'");
29050 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
29051 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29052 if (!SWIG_IsOK(res2
)) {
29053 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NavigationKeyEvent_SetCurrentFocus" "', expected argument " "2"" of type '" "wxWindow *""'");
29055 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29058 (arg1
)->SetCurrentFocus(arg2
);
29059 wxPyEndAllowThreads(__tstate
);
29060 if (PyErr_Occurred()) SWIG_fail
;
29062 resultobj
= SWIG_Py_Void();
29069 SWIGINTERN PyObject
*NavigationKeyEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29071 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29072 SWIG_TypeNewClientData(SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_NewClientData(obj
));
29073 return SWIG_Py_Void();
29076 SWIGINTERN PyObject
*NavigationKeyEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29077 return SWIG_Python_InitShadowInstance(args
);
29080 SWIGINTERN PyObject
*_wrap_new_WindowCreateEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29081 PyObject
*resultobj
= 0;
29082 wxWindow
*arg1
= (wxWindow
*) NULL
;
29083 wxWindowCreateEvent
*result
= 0 ;
29086 PyObject
* obj0
= 0 ;
29087 char * kwnames
[] = {
29088 (char *) "win", NULL
29091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) SWIG_fail
;
29093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29094 if (!SWIG_IsOK(res1
)) {
29095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowCreateEvent" "', expected argument " "1"" of type '" "wxWindow *""'");
29097 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29101 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
29102 wxPyEndAllowThreads(__tstate
);
29103 if (PyErr_Occurred()) SWIG_fail
;
29105 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowCreateEvent
, SWIG_POINTER_NEW
| 0 );
29112 SWIGINTERN PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29113 PyObject
*resultobj
= 0;
29114 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
29115 wxWindow
*result
= 0 ;
29118 PyObject
*swig_obj
[1] ;
29120 if (!args
) SWIG_fail
;
29121 swig_obj
[0] = args
;
29122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindowCreateEvent
, 0 | 0 );
29123 if (!SWIG_IsOK(res1
)) {
29124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "WindowCreateEvent_GetWindow" "', expected argument " "1"" of type '" "wxWindowCreateEvent const *""'");
29126 arg1
= reinterpret_cast< wxWindowCreateEvent
* >(argp1
);
29128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29129 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
29130 wxPyEndAllowThreads(__tstate
);
29131 if (PyErr_Occurred()) SWIG_fail
;
29134 resultobj
= wxPyMake_wxObject(result
, (bool)0);
29142 SWIGINTERN PyObject
*WindowCreateEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29144 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29145 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowCreateEvent
, SWIG_NewClientData(obj
));
29146 return SWIG_Py_Void();
29149 SWIGINTERN PyObject
*WindowCreateEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29150 return SWIG_Python_InitShadowInstance(args
);
29153 SWIGINTERN PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29154 PyObject
*resultobj
= 0;
29155 wxWindow
*arg1
= (wxWindow
*) NULL
;
29156 wxWindowDestroyEvent
*result
= 0 ;
29159 PyObject
* obj0
= 0 ;
29160 char * kwnames
[] = {
29161 (char *) "win", NULL
29164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) SWIG_fail
;
29166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29167 if (!SWIG_IsOK(res1
)) {
29168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDestroyEvent" "', expected argument " "1"" of type '" "wxWindow *""'");
29170 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29174 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
29175 wxPyEndAllowThreads(__tstate
);
29176 if (PyErr_Occurred()) SWIG_fail
;
29178 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDestroyEvent
, SWIG_POINTER_NEW
| 0 );
29185 SWIGINTERN PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29186 PyObject
*resultobj
= 0;
29187 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
29188 wxWindow
*result
= 0 ;
29191 PyObject
*swig_obj
[1] ;
29193 if (!args
) SWIG_fail
;
29194 swig_obj
[0] = args
;
29195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindowDestroyEvent
, 0 | 0 );
29196 if (!SWIG_IsOK(res1
)) {
29197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "WindowDestroyEvent_GetWindow" "', expected argument " "1"" of type '" "wxWindowDestroyEvent const *""'");
29199 arg1
= reinterpret_cast< wxWindowDestroyEvent
* >(argp1
);
29201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29202 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
29203 wxPyEndAllowThreads(__tstate
);
29204 if (PyErr_Occurred()) SWIG_fail
;
29207 resultobj
= wxPyMake_wxObject(result
, (bool)0);
29215 SWIGINTERN PyObject
*WindowDestroyEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29217 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29218 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDestroyEvent
, SWIG_NewClientData(obj
));
29219 return SWIG_Py_Void();
29222 SWIGINTERN PyObject
*WindowDestroyEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29223 return SWIG_Python_InitShadowInstance(args
);
29226 SWIGINTERN PyObject
*_wrap_new_ContextMenuEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29227 PyObject
*resultobj
= 0;
29228 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
29229 int arg2
= (int) 0 ;
29230 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29231 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29232 wxContextMenuEvent
*result
= 0 ;
29238 PyObject
* obj0
= 0 ;
29239 PyObject
* obj1
= 0 ;
29240 PyObject
* obj2
= 0 ;
29241 char * kwnames
[] = {
29242 (char *) "type",(char *) "winid",(char *) "pt", NULL
29245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29247 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29248 if (!SWIG_IsOK(ecode1
)) {
29249 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ContextMenuEvent" "', expected argument " "1"" of type '" "wxEventType""'");
29251 arg1
= static_cast< wxEventType
>(val1
);
29254 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29255 if (!SWIG_IsOK(ecode2
)) {
29256 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextMenuEvent" "', expected argument " "2"" of type '" "int""'");
29258 arg2
= static_cast< int >(val2
);
29263 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29268 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
29269 wxPyEndAllowThreads(__tstate
);
29270 if (PyErr_Occurred()) SWIG_fail
;
29272 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_NEW
| 0 );
29279 SWIGINTERN PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29280 PyObject
*resultobj
= 0;
29281 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
29282 wxPoint
*result
= 0 ;
29285 PyObject
*swig_obj
[1] ;
29287 if (!args
) SWIG_fail
;
29288 swig_obj
[0] = args
;
29289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextMenuEvent
, 0 | 0 );
29290 if (!SWIG_IsOK(res1
)) {
29291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextMenuEvent_GetPosition" "', expected argument " "1"" of type '" "wxContextMenuEvent const *""'");
29293 arg1
= reinterpret_cast< wxContextMenuEvent
* >(argp1
);
29295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29297 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
29298 result
= (wxPoint
*) &_result_ref
;
29300 wxPyEndAllowThreads(__tstate
);
29301 if (PyErr_Occurred()) SWIG_fail
;
29303 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
29310 SWIGINTERN PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29311 PyObject
*resultobj
= 0;
29312 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
29313 wxPoint
*arg2
= 0 ;
29317 PyObject
* obj0
= 0 ;
29318 PyObject
* obj1
= 0 ;
29319 char * kwnames
[] = {
29320 (char *) "self",(char *) "pos", NULL
29323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextMenuEvent
, 0 | 0 );
29325 if (!SWIG_IsOK(res1
)) {
29326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextMenuEvent_SetPosition" "', expected argument " "1"" of type '" "wxContextMenuEvent *""'");
29328 arg1
= reinterpret_cast< wxContextMenuEvent
* >(argp1
);
29331 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29335 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
29336 wxPyEndAllowThreads(__tstate
);
29337 if (PyErr_Occurred()) SWIG_fail
;
29339 resultobj
= SWIG_Py_Void();
29346 SWIGINTERN PyObject
*ContextMenuEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29348 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29349 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextMenuEvent
, SWIG_NewClientData(obj
));
29350 return SWIG_Py_Void();
29353 SWIGINTERN PyObject
*ContextMenuEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29354 return SWIG_Python_InitShadowInstance(args
);
29357 SWIGINTERN PyObject
*_wrap_new_IdleEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29358 PyObject
*resultobj
= 0;
29359 wxIdleEvent
*result
= 0 ;
29361 if (!SWIG_Python_UnpackTuple(args
,"new_IdleEvent",0,0,0)) SWIG_fail
;
29363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29364 result
= (wxIdleEvent
*)new wxIdleEvent();
29365 wxPyEndAllowThreads(__tstate
);
29366 if (PyErr_Occurred()) SWIG_fail
;
29368 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_NEW
| 0 );
29375 SWIGINTERN PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29376 PyObject
*resultobj
= 0;
29377 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
29378 bool arg2
= (bool) true ;
29383 PyObject
* obj0
= 0 ;
29384 PyObject
* obj1
= 0 ;
29385 char * kwnames
[] = {
29386 (char *) "self",(char *) "needMore", NULL
29389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIdleEvent
, 0 | 0 );
29391 if (!SWIG_IsOK(res1
)) {
29392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IdleEvent_RequestMore" "', expected argument " "1"" of type '" "wxIdleEvent *""'");
29394 arg1
= reinterpret_cast< wxIdleEvent
* >(argp1
);
29396 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29397 if (!SWIG_IsOK(ecode2
)) {
29398 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IdleEvent_RequestMore" "', expected argument " "2"" of type '" "bool""'");
29400 arg2
= static_cast< bool >(val2
);
29403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29404 (arg1
)->RequestMore(arg2
);
29405 wxPyEndAllowThreads(__tstate
);
29406 if (PyErr_Occurred()) SWIG_fail
;
29408 resultobj
= SWIG_Py_Void();
29415 SWIGINTERN PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29416 PyObject
*resultobj
= 0;
29417 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
29421 PyObject
*swig_obj
[1] ;
29423 if (!args
) SWIG_fail
;
29424 swig_obj
[0] = args
;
29425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIdleEvent
, 0 | 0 );
29426 if (!SWIG_IsOK(res1
)) {
29427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IdleEvent_MoreRequested" "', expected argument " "1"" of type '" "wxIdleEvent const *""'");
29429 arg1
= reinterpret_cast< wxIdleEvent
* >(argp1
);
29431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29432 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
29433 wxPyEndAllowThreads(__tstate
);
29434 if (PyErr_Occurred()) SWIG_fail
;
29437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29445 SWIGINTERN PyObject
*_wrap_IdleEvent_SetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29446 PyObject
*resultobj
= 0;
29450 PyObject
* obj0
= 0 ;
29451 char * kwnames
[] = {
29452 (char *) "mode", NULL
29455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) SWIG_fail
;
29456 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29457 if (!SWIG_IsOK(ecode1
)) {
29458 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IdleEvent_SetMode" "', expected argument " "1"" of type '" "wxIdleMode""'");
29460 arg1
= static_cast< wxIdleMode
>(val1
);
29462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29463 wxIdleEvent::SetMode(arg1
);
29464 wxPyEndAllowThreads(__tstate
);
29465 if (PyErr_Occurred()) SWIG_fail
;
29467 resultobj
= SWIG_Py_Void();
29474 SWIGINTERN PyObject
*_wrap_IdleEvent_GetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29475 PyObject
*resultobj
= 0;
29478 if (!SWIG_Python_UnpackTuple(args
,"IdleEvent_GetMode",0,0,0)) SWIG_fail
;
29480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29481 result
= (wxIdleMode
)wxIdleEvent::GetMode();
29482 wxPyEndAllowThreads(__tstate
);
29483 if (PyErr_Occurred()) SWIG_fail
;
29485 resultobj
= SWIG_From_int(static_cast< int >(result
));
29492 SWIGINTERN PyObject
*_wrap_IdleEvent_CanSend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29493 PyObject
*resultobj
= 0;
29494 wxWindow
*arg1
= (wxWindow
*) 0 ;
29498 PyObject
* obj0
= 0 ;
29499 char * kwnames
[] = {
29500 (char *) "win", NULL
29503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) SWIG_fail
;
29504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29505 if (!SWIG_IsOK(res1
)) {
29506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IdleEvent_CanSend" "', expected argument " "1"" of type '" "wxWindow *""'");
29508 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29511 result
= (bool)wxIdleEvent::CanSend(arg1
);
29512 wxPyEndAllowThreads(__tstate
);
29513 if (PyErr_Occurred()) SWIG_fail
;
29516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29524 SWIGINTERN PyObject
*IdleEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29526 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29527 SWIG_TypeNewClientData(SWIGTYPE_p_wxIdleEvent
, SWIG_NewClientData(obj
));
29528 return SWIG_Py_Void();
29531 SWIGINTERN PyObject
*IdleEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29532 return SWIG_Python_InitShadowInstance(args
);
29535 SWIGINTERN PyObject
*_wrap_new_ClipboardTextEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29536 PyObject
*resultobj
= 0;
29537 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
29538 int arg2
= (int) 0 ;
29539 wxClipboardTextEvent
*result
= 0 ;
29544 PyObject
* obj0
= 0 ;
29545 PyObject
* obj1
= 0 ;
29546 char * kwnames
[] = {
29547 (char *) "type",(char *) "winid", NULL
29550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ClipboardTextEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29552 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29553 if (!SWIG_IsOK(ecode1
)) {
29554 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ClipboardTextEvent" "', expected argument " "1"" of type '" "wxEventType""'");
29556 arg1
= static_cast< wxEventType
>(val1
);
29559 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29560 if (!SWIG_IsOK(ecode2
)) {
29561 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ClipboardTextEvent" "', expected argument " "2"" of type '" "int""'");
29563 arg2
= static_cast< int >(val2
);
29566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29567 result
= (wxClipboardTextEvent
*)new wxClipboardTextEvent(arg1
,arg2
);
29568 wxPyEndAllowThreads(__tstate
);
29569 if (PyErr_Occurred()) SWIG_fail
;
29571 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboardTextEvent
, SWIG_POINTER_NEW
| 0 );
29578 SWIGINTERN PyObject
*ClipboardTextEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29580 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29581 SWIG_TypeNewClientData(SWIGTYPE_p_wxClipboardTextEvent
, SWIG_NewClientData(obj
));
29582 return SWIG_Py_Void();
29585 SWIGINTERN PyObject
*ClipboardTextEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29586 return SWIG_Python_InitShadowInstance(args
);
29589 SWIGINTERN PyObject
*_wrap_new_PyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29590 PyObject
*resultobj
= 0;
29591 int arg1
= (int) 0 ;
29592 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
29593 wxPyEvent
*result
= 0 ;
29598 PyObject
* obj0
= 0 ;
29599 PyObject
* obj1
= 0 ;
29600 char * kwnames
[] = {
29601 (char *) "winid",(char *) "eventType", NULL
29604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29606 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29607 if (!SWIG_IsOK(ecode1
)) {
29608 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyEvent" "', expected argument " "1"" of type '" "int""'");
29610 arg1
= static_cast< int >(val1
);
29613 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29614 if (!SWIG_IsOK(ecode2
)) {
29615 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyEvent" "', expected argument " "2"" of type '" "wxEventType""'");
29617 arg2
= static_cast< wxEventType
>(val2
);
29620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29621 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
29622 wxPyEndAllowThreads(__tstate
);
29623 if (PyErr_Occurred()) SWIG_fail
;
29625 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_NEW
| 0 );
29632 SWIGINTERN PyObject
*_wrap_delete_PyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29633 PyObject
*resultobj
= 0;
29634 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
29637 PyObject
*swig_obj
[1] ;
29639 if (!args
) SWIG_fail
;
29640 swig_obj
[0] = args
;
29641 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_DISOWN
| 0 );
29642 if (!SWIG_IsOK(res1
)) {
29643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyEvent" "', expected argument " "1"" of type '" "wxPyEvent *""'");
29645 arg1
= reinterpret_cast< wxPyEvent
* >(argp1
);
29647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29650 wxPyEndAllowThreads(__tstate
);
29651 if (PyErr_Occurred()) SWIG_fail
;
29653 resultobj
= SWIG_Py_Void();
29660 SWIGINTERN PyObject
*_wrap_PyEvent__SetSelf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29661 PyObject
*resultobj
= 0;
29662 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
29663 PyObject
*arg2
= (PyObject
*) 0 ;
29666 PyObject
* obj0
= 0 ;
29667 PyObject
* obj1
= 0 ;
29668 char * kwnames
[] = {
29669 (char *) "self",(char *) "self", NULL
29672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent__SetSelf",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyEvent
, 0 | 0 );
29674 if (!SWIG_IsOK(res1
)) {
29675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyEvent__SetSelf" "', expected argument " "1"" of type '" "wxPyEvent *""'");
29677 arg1
= reinterpret_cast< wxPyEvent
* >(argp1
);
29680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29681 (arg1
)->SetSelf(arg2
);
29682 wxPyEndAllowThreads(__tstate
);
29683 if (PyErr_Occurred()) SWIG_fail
;
29685 resultobj
= SWIG_Py_Void();
29692 SWIGINTERN PyObject
*_wrap_PyEvent__GetSelf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29693 PyObject
*resultobj
= 0;
29694 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
29695 PyObject
*result
= 0 ;
29698 PyObject
*swig_obj
[1] ;
29700 if (!args
) SWIG_fail
;
29701 swig_obj
[0] = args
;
29702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyEvent
, 0 | 0 );
29703 if (!SWIG_IsOK(res1
)) {
29704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyEvent__GetSelf" "', expected argument " "1"" of type '" "wxPyEvent *""'");
29706 arg1
= reinterpret_cast< wxPyEvent
* >(argp1
);
29708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29709 result
= (PyObject
*)(arg1
)->GetSelf();
29710 wxPyEndAllowThreads(__tstate
);
29711 if (PyErr_Occurred()) SWIG_fail
;
29713 resultobj
= result
;
29720 SWIGINTERN PyObject
*PyEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29722 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29723 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyEvent
, SWIG_NewClientData(obj
));
29724 return SWIG_Py_Void();
29727 SWIGINTERN PyObject
*PyEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29728 return SWIG_Python_InitShadowInstance(args
);
29731 SWIGINTERN PyObject
*_wrap_new_PyCommandEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29732 PyObject
*resultobj
= 0;
29733 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
29734 int arg2
= (int) 0 ;
29735 wxPyCommandEvent
*result
= 0 ;
29740 PyObject
* obj0
= 0 ;
29741 PyObject
* obj1
= 0 ;
29742 char * kwnames
[] = {
29743 (char *) "eventType",(char *) "id", NULL
29746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29748 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29749 if (!SWIG_IsOK(ecode1
)) {
29750 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyCommandEvent" "', expected argument " "1"" of type '" "wxEventType""'");
29752 arg1
= static_cast< wxEventType
>(val1
);
29755 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29756 if (!SWIG_IsOK(ecode2
)) {
29757 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyCommandEvent" "', expected argument " "2"" of type '" "int""'");
29759 arg2
= static_cast< int >(val2
);
29762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29763 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
29764 wxPyEndAllowThreads(__tstate
);
29765 if (PyErr_Occurred()) SWIG_fail
;
29767 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_NEW
| 0 );
29774 SWIGINTERN PyObject
*_wrap_delete_PyCommandEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29775 PyObject
*resultobj
= 0;
29776 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
29779 PyObject
*swig_obj
[1] ;
29781 if (!args
) SWIG_fail
;
29782 swig_obj
[0] = args
;
29783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_DISOWN
| 0 );
29784 if (!SWIG_IsOK(res1
)) {
29785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyCommandEvent" "', expected argument " "1"" of type '" "wxPyCommandEvent *""'");
29787 arg1
= reinterpret_cast< wxPyCommandEvent
* >(argp1
);
29789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29792 wxPyEndAllowThreads(__tstate
);
29793 if (PyErr_Occurred()) SWIG_fail
;
29795 resultobj
= SWIG_Py_Void();
29802 SWIGINTERN PyObject
*_wrap_PyCommandEvent__SetSelf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29803 PyObject
*resultobj
= 0;
29804 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
29805 PyObject
*arg2
= (PyObject
*) 0 ;
29808 PyObject
* obj0
= 0 ;
29809 PyObject
* obj1
= 0 ;
29810 char * kwnames
[] = {
29811 (char *) "self",(char *) "self", NULL
29814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent__SetSelf",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyCommandEvent
, 0 | 0 );
29816 if (!SWIG_IsOK(res1
)) {
29817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyCommandEvent__SetSelf" "', expected argument " "1"" of type '" "wxPyCommandEvent *""'");
29819 arg1
= reinterpret_cast< wxPyCommandEvent
* >(argp1
);
29822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29823 (arg1
)->SetSelf(arg2
);
29824 wxPyEndAllowThreads(__tstate
);
29825 if (PyErr_Occurred()) SWIG_fail
;
29827 resultobj
= SWIG_Py_Void();
29834 SWIGINTERN PyObject
*_wrap_PyCommandEvent__GetSelf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29835 PyObject
*resultobj
= 0;
29836 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
29837 PyObject
*result
= 0 ;
29840 PyObject
*swig_obj
[1] ;
29842 if (!args
) SWIG_fail
;
29843 swig_obj
[0] = args
;
29844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyCommandEvent
, 0 | 0 );
29845 if (!SWIG_IsOK(res1
)) {
29846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyCommandEvent__GetSelf" "', expected argument " "1"" of type '" "wxPyCommandEvent *""'");
29848 arg1
= reinterpret_cast< wxPyCommandEvent
* >(argp1
);
29850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29851 result
= (PyObject
*)(arg1
)->GetSelf();
29852 wxPyEndAllowThreads(__tstate
);
29853 if (PyErr_Occurred()) SWIG_fail
;
29855 resultobj
= result
;
29862 SWIGINTERN PyObject
*PyCommandEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29864 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29865 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyCommandEvent
, SWIG_NewClientData(obj
));
29866 return SWIG_Py_Void();
29869 SWIGINTERN PyObject
*PyCommandEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29870 return SWIG_Python_InitShadowInstance(args
);
29873 SWIGINTERN PyObject
*_wrap_new_DateEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29874 PyObject
*resultobj
= 0;
29875 wxWindow
*arg1
= (wxWindow
*) 0 ;
29876 wxDateTime
*arg2
= 0 ;
29878 wxDateEvent
*result
= 0 ;
29885 PyObject
* obj0
= 0 ;
29886 PyObject
* obj1
= 0 ;
29887 PyObject
* obj2
= 0 ;
29888 char * kwnames
[] = {
29889 (char *) "win",(char *) "dt",(char *) "type", NULL
29892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_DateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29894 if (!SWIG_IsOK(res1
)) {
29895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DateEvent" "', expected argument " "1"" of type '" "wxWindow *""'");
29897 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29898 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
29899 if (!SWIG_IsOK(res2
)) {
29900 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DateEvent" "', expected argument " "2"" of type '" "wxDateTime const &""'");
29903 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DateEvent" "', expected argument " "2"" of type '" "wxDateTime const &""'");
29905 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
29906 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29907 if (!SWIG_IsOK(ecode3
)) {
29908 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateEvent" "', expected argument " "3"" of type '" "wxEventType""'");
29910 arg3
= static_cast< wxEventType
>(val3
);
29912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29913 result
= (wxDateEvent
*)new wxDateEvent(arg1
,(wxDateTime
const &)*arg2
,arg3
);
29914 wxPyEndAllowThreads(__tstate
);
29915 if (PyErr_Occurred()) SWIG_fail
;
29917 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_NEW
| 0 );
29924 SWIGINTERN PyObject
*_wrap_DateEvent_GetDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29925 PyObject
*resultobj
= 0;
29926 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
29927 wxDateTime
*result
= 0 ;
29930 PyObject
*swig_obj
[1] ;
29932 if (!args
) SWIG_fail
;
29933 swig_obj
[0] = args
;
29934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateEvent
, 0 | 0 );
29935 if (!SWIG_IsOK(res1
)) {
29936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateEvent_GetDate" "', expected argument " "1"" of type '" "wxDateEvent const *""'");
29938 arg1
= reinterpret_cast< wxDateEvent
* >(argp1
);
29940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29942 wxDateTime
const &_result_ref
= ((wxDateEvent
const *)arg1
)->GetDate();
29943 result
= (wxDateTime
*) &_result_ref
;
29945 wxPyEndAllowThreads(__tstate
);
29946 if (PyErr_Occurred()) SWIG_fail
;
29948 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
29955 SWIGINTERN PyObject
*_wrap_DateEvent_SetDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29956 PyObject
*resultobj
= 0;
29957 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
29958 wxDateTime
*arg2
= 0 ;
29963 PyObject
* obj0
= 0 ;
29964 PyObject
* obj1
= 0 ;
29965 char * kwnames
[] = {
29966 (char *) "self",(char *) "date", NULL
29969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateEvent_SetDate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateEvent
, 0 | 0 );
29971 if (!SWIG_IsOK(res1
)) {
29972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateEvent_SetDate" "', expected argument " "1"" of type '" "wxDateEvent *""'");
29974 arg1
= reinterpret_cast< wxDateEvent
* >(argp1
);
29975 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
29976 if (!SWIG_IsOK(res2
)) {
29977 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateEvent_SetDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
29980 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateEvent_SetDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
29982 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
29984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29985 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
29986 wxPyEndAllowThreads(__tstate
);
29987 if (PyErr_Occurred()) SWIG_fail
;
29989 resultobj
= SWIG_Py_Void();
29996 SWIGINTERN PyObject
*DateEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29998 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29999 SWIG_TypeNewClientData(SWIGTYPE_p_wxDateEvent
, SWIG_NewClientData(obj
));
30000 return SWIG_Py_Void();
30003 SWIGINTERN PyObject
*DateEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30004 return SWIG_Python_InitShadowInstance(args
);
30007 SWIGINTERN PyObject
*_wrap_new_EventBlocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30008 PyObject
*resultobj
= 0;
30009 wxWindow
*arg1
= (wxWindow
*) 0 ;
30010 wxEventType arg2
= (wxEventType
) wxEVT_ANY
;
30011 wxEventBlocker
*result
= 0 ;
30016 PyObject
* obj0
= 0 ;
30017 PyObject
* obj1
= 0 ;
30018 char * kwnames
[] = {
30019 (char *) "win",(char *) "type", NULL
30022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_EventBlocker",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30024 if (!SWIG_IsOK(res1
)) {
30025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_EventBlocker" "', expected argument " "1"" of type '" "wxWindow *""'");
30027 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30029 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30030 if (!SWIG_IsOK(ecode2
)) {
30031 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EventBlocker" "', expected argument " "2"" of type '" "wxEventType""'");
30033 arg2
= static_cast< wxEventType
>(val2
);
30036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30037 result
= (wxEventBlocker
*)new wxEventBlocker(arg1
,arg2
);
30038 wxPyEndAllowThreads(__tstate
);
30039 if (PyErr_Occurred()) SWIG_fail
;
30041 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEventBlocker
, SWIG_POINTER_NEW
| 0 );
30048 SWIGINTERN PyObject
*_wrap_delete_EventBlocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30049 PyObject
*resultobj
= 0;
30050 wxEventBlocker
*arg1
= (wxEventBlocker
*) 0 ;
30053 PyObject
*swig_obj
[1] ;
30055 if (!args
) SWIG_fail
;
30056 swig_obj
[0] = args
;
30057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEventBlocker
, SWIG_POINTER_DISOWN
| 0 );
30058 if (!SWIG_IsOK(res1
)) {
30059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EventBlocker" "', expected argument " "1"" of type '" "wxEventBlocker *""'");
30061 arg1
= reinterpret_cast< wxEventBlocker
* >(argp1
);
30063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30066 wxPyEndAllowThreads(__tstate
);
30067 if (PyErr_Occurred()) SWIG_fail
;
30069 resultobj
= SWIG_Py_Void();
30076 SWIGINTERN PyObject
*_wrap_EventBlocker_Block(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30077 PyObject
*resultobj
= 0;
30078 wxEventBlocker
*arg1
= (wxEventBlocker
*) 0 ;
30084 PyObject
* obj0
= 0 ;
30085 PyObject
* obj1
= 0 ;
30086 char * kwnames
[] = {
30087 (char *) "self",(char *) "type", NULL
30090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EventBlocker_Block",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEventBlocker
, 0 | 0 );
30092 if (!SWIG_IsOK(res1
)) {
30093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EventBlocker_Block" "', expected argument " "1"" of type '" "wxEventBlocker *""'");
30095 arg1
= reinterpret_cast< wxEventBlocker
* >(argp1
);
30096 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30097 if (!SWIG_IsOK(ecode2
)) {
30098 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EventBlocker_Block" "', expected argument " "2"" of type '" "wxEventType""'");
30100 arg2
= static_cast< wxEventType
>(val2
);
30102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30103 (arg1
)->Block(arg2
);
30104 wxPyEndAllowThreads(__tstate
);
30105 if (PyErr_Occurred()) SWIG_fail
;
30107 resultobj
= SWIG_Py_Void();
30114 SWIGINTERN PyObject
*EventBlocker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30116 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30117 SWIG_TypeNewClientData(SWIGTYPE_p_wxEventBlocker
, SWIG_NewClientData(obj
));
30118 return SWIG_Py_Void();
30121 SWIGINTERN PyObject
*EventBlocker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30122 return SWIG_Python_InitShadowInstance(args
);
30125 SWIGINTERN PyObject
*_wrap_new_PyApp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30126 PyObject
*resultobj
= 0;
30127 wxPyApp
*result
= 0 ;
30129 if (!SWIG_Python_UnpackTuple(args
,"new_PyApp",0,0,0)) SWIG_fail
;
30131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30132 result
= (wxPyApp
*)new_wxPyApp();
30133 wxPyEndAllowThreads(__tstate
);
30134 if (PyErr_Occurred()) SWIG_fail
;
30136 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyApp
, SWIG_POINTER_NEW
| 0 );
30143 SWIGINTERN PyObject
*_wrap_delete_PyApp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30144 PyObject
*resultobj
= 0;
30145 wxPyApp
*arg1
= (wxPyApp
*) 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
, SWIG_POINTER_DISOWN
| 0 );
30153 if (!SWIG_IsOK(res1
)) {
30154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyApp" "', expected argument " "1"" of type '" "wxPyApp *""'");
30156 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30161 wxPyEndAllowThreads(__tstate
);
30162 if (PyErr_Occurred()) SWIG_fail
;
30164 resultobj
= SWIG_Py_Void();
30171 SWIGINTERN PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30172 PyObject
*resultobj
= 0;
30173 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30174 PyObject
*arg2
= (PyObject
*) 0 ;
30175 PyObject
*arg3
= (PyObject
*) 0 ;
30176 bool arg4
= (bool) false ;
30181 PyObject
* obj0
= 0 ;
30182 PyObject
* obj1
= 0 ;
30183 PyObject
* obj2
= 0 ;
30184 PyObject
* obj3
= 0 ;
30185 char * kwnames
[] = {
30186 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
30189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30191 if (!SWIG_IsOK(res1
)) {
30192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyApp *""'");
30194 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30198 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
30199 if (!SWIG_IsOK(ecode4
)) {
30200 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyApp__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
30202 arg4
= static_cast< bool >(val4
);
30205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30206 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
30207 wxPyEndAllowThreads(__tstate
);
30208 if (PyErr_Occurred()) SWIG_fail
;
30210 resultobj
= SWIG_Py_Void();
30217 SWIGINTERN PyObject
*_wrap_PyApp_GetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30218 PyObject
*resultobj
= 0;
30219 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30223 PyObject
*swig_obj
[1] ;
30225 if (!args
) SWIG_fail
;
30226 swig_obj
[0] = args
;
30227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30228 if (!SWIG_IsOK(res1
)) {
30229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetAppName" "', expected argument " "1"" of type '" "wxPyApp const *""'");
30231 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30234 result
= ((wxPyApp
const *)arg1
)->GetAppName();
30235 wxPyEndAllowThreads(__tstate
);
30236 if (PyErr_Occurred()) SWIG_fail
;
30240 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30242 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30251 SWIGINTERN PyObject
*_wrap_PyApp_SetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30252 PyObject
*resultobj
= 0;
30253 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30254 wxString
*arg2
= 0 ;
30257 bool temp2
= false ;
30258 PyObject
* obj0
= 0 ;
30259 PyObject
* obj1
= 0 ;
30260 char * kwnames
[] = {
30261 (char *) "self",(char *) "name", NULL
30264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30266 if (!SWIG_IsOK(res1
)) {
30267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetAppName" "', expected argument " "1"" of type '" "wxPyApp *""'");
30269 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30271 arg2
= wxString_in_helper(obj1
);
30272 if (arg2
== NULL
) SWIG_fail
;
30276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30277 (arg1
)->SetAppName((wxString
const &)*arg2
);
30278 wxPyEndAllowThreads(__tstate
);
30279 if (PyErr_Occurred()) SWIG_fail
;
30281 resultobj
= SWIG_Py_Void();
30296 SWIGINTERN PyObject
*_wrap_PyApp_GetClassName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30297 PyObject
*resultobj
= 0;
30298 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30302 PyObject
*swig_obj
[1] ;
30304 if (!args
) SWIG_fail
;
30305 swig_obj
[0] = args
;
30306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30307 if (!SWIG_IsOK(res1
)) {
30308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetClassName" "', expected argument " "1"" of type '" "wxPyApp const *""'");
30310 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30313 result
= ((wxPyApp
const *)arg1
)->GetClassName();
30314 wxPyEndAllowThreads(__tstate
);
30315 if (PyErr_Occurred()) SWIG_fail
;
30319 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30321 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30330 SWIGINTERN PyObject
*_wrap_PyApp_SetClassName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30331 PyObject
*resultobj
= 0;
30332 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30333 wxString
*arg2
= 0 ;
30336 bool temp2
= false ;
30337 PyObject
* obj0
= 0 ;
30338 PyObject
* obj1
= 0 ;
30339 char * kwnames
[] = {
30340 (char *) "self",(char *) "name", NULL
30343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30345 if (!SWIG_IsOK(res1
)) {
30346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetClassName" "', expected argument " "1"" of type '" "wxPyApp *""'");
30348 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30350 arg2
= wxString_in_helper(obj1
);
30351 if (arg2
== NULL
) SWIG_fail
;
30355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30356 (arg1
)->SetClassName((wxString
const &)*arg2
);
30357 wxPyEndAllowThreads(__tstate
);
30358 if (PyErr_Occurred()) SWIG_fail
;
30360 resultobj
= SWIG_Py_Void();
30375 SWIGINTERN PyObject
*_wrap_PyApp_GetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30376 PyObject
*resultobj
= 0;
30377 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30378 wxString
*result
= 0 ;
30381 PyObject
*swig_obj
[1] ;
30383 if (!args
) SWIG_fail
;
30384 swig_obj
[0] = args
;
30385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30386 if (!SWIG_IsOK(res1
)) {
30387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetVendorName" "', expected argument " "1"" of type '" "wxPyApp const *""'");
30389 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30393 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
30394 result
= (wxString
*) &_result_ref
;
30396 wxPyEndAllowThreads(__tstate
);
30397 if (PyErr_Occurred()) SWIG_fail
;
30401 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30403 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30412 SWIGINTERN PyObject
*_wrap_PyApp_SetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30413 PyObject
*resultobj
= 0;
30414 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30415 wxString
*arg2
= 0 ;
30418 bool temp2
= false ;
30419 PyObject
* obj0
= 0 ;
30420 PyObject
* obj1
= 0 ;
30421 char * kwnames
[] = {
30422 (char *) "self",(char *) "name", NULL
30425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30427 if (!SWIG_IsOK(res1
)) {
30428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetVendorName" "', expected argument " "1"" of type '" "wxPyApp *""'");
30430 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30432 arg2
= wxString_in_helper(obj1
);
30433 if (arg2
== NULL
) SWIG_fail
;
30437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30438 (arg1
)->SetVendorName((wxString
const &)*arg2
);
30439 wxPyEndAllowThreads(__tstate
);
30440 if (PyErr_Occurred()) SWIG_fail
;
30442 resultobj
= SWIG_Py_Void();
30457 SWIGINTERN PyObject
*_wrap_PyApp_GetTraits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30458 PyObject
*resultobj
= 0;
30459 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30460 wxAppTraits
*result
= 0 ;
30463 PyObject
*swig_obj
[1] ;
30465 if (!args
) SWIG_fail
;
30466 swig_obj
[0] = args
;
30467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30468 if (!SWIG_IsOK(res1
)) {
30469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetTraits" "', expected argument " "1"" of type '" "wxPyApp *""'");
30471 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30474 result
= (wxAppTraits
*)(arg1
)->GetTraits();
30475 wxPyEndAllowThreads(__tstate
);
30476 if (PyErr_Occurred()) SWIG_fail
;
30478 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAppTraits
, 0 | 0 );
30485 SWIGINTERN PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30486 PyObject
*resultobj
= 0;
30487 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30490 PyObject
*swig_obj
[1] ;
30492 if (!args
) SWIG_fail
;
30493 swig_obj
[0] = args
;
30494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30495 if (!SWIG_IsOK(res1
)) {
30496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_ProcessPendingEvents" "', expected argument " "1"" of type '" "wxPyApp *""'");
30498 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30501 (arg1
)->ProcessPendingEvents();
30502 wxPyEndAllowThreads(__tstate
);
30503 if (PyErr_Occurred()) SWIG_fail
;
30505 resultobj
= SWIG_Py_Void();
30512 SWIGINTERN PyObject
*_wrap_PyApp_Yield(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30513 PyObject
*resultobj
= 0;
30514 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30515 bool arg2
= (bool) false ;
30521 PyObject
* obj0
= 0 ;
30522 PyObject
* obj1
= 0 ;
30523 char * kwnames
[] = {
30524 (char *) "self",(char *) "onlyIfNeeded", NULL
30527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30529 if (!SWIG_IsOK(res1
)) {
30530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_Yield" "', expected argument " "1"" of type '" "wxPyApp *""'");
30532 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30534 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30535 if (!SWIG_IsOK(ecode2
)) {
30536 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyApp_Yield" "', expected argument " "2"" of type '" "bool""'");
30538 arg2
= static_cast< bool >(val2
);
30541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30542 result
= (bool)(arg1
)->Yield(arg2
);
30543 wxPyEndAllowThreads(__tstate
);
30544 if (PyErr_Occurred()) SWIG_fail
;
30547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30555 SWIGINTERN PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30556 PyObject
*resultobj
= 0;
30557 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30560 PyObject
*swig_obj
[1] ;
30562 if (!args
) SWIG_fail
;
30563 swig_obj
[0] = args
;
30564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30565 if (!SWIG_IsOK(res1
)) {
30566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_WakeUpIdle" "', expected argument " "1"" of type '" "wxPyApp *""'");
30568 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30571 (arg1
)->WakeUpIdle();
30572 wxPyEndAllowThreads(__tstate
);
30573 if (PyErr_Occurred()) SWIG_fail
;
30575 resultobj
= SWIG_Py_Void();
30582 SWIGINTERN PyObject
*_wrap_PyApp_IsMainLoopRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30583 PyObject
*resultobj
= 0;
30586 if (!SWIG_Python_UnpackTuple(args
,"PyApp_IsMainLoopRunning",0,0,0)) SWIG_fail
;
30588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30589 result
= (bool)wxPyApp::IsMainLoopRunning();
30590 wxPyEndAllowThreads(__tstate
);
30591 if (PyErr_Occurred()) SWIG_fail
;
30594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30602 SWIGINTERN PyObject
*_wrap_PyApp_MainLoop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30603 PyObject
*resultobj
= 0;
30604 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30608 PyObject
*swig_obj
[1] ;
30610 if (!args
) SWIG_fail
;
30611 swig_obj
[0] = args
;
30612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30613 if (!SWIG_IsOK(res1
)) {
30614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_MainLoop" "', expected argument " "1"" of type '" "wxPyApp *""'");
30616 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30619 result
= (int)(arg1
)->MainLoop();
30620 wxPyEndAllowThreads(__tstate
);
30621 if (PyErr_Occurred()) SWIG_fail
;
30623 resultobj
= SWIG_From_int(static_cast< int >(result
));
30630 SWIGINTERN PyObject
*_wrap_PyApp_Exit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30631 PyObject
*resultobj
= 0;
30632 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30635 PyObject
*swig_obj
[1] ;
30637 if (!args
) SWIG_fail
;
30638 swig_obj
[0] = args
;
30639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30640 if (!SWIG_IsOK(res1
)) {
30641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_Exit" "', expected argument " "1"" of type '" "wxPyApp *""'");
30643 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30647 wxPyEndAllowThreads(__tstate
);
30648 if (PyErr_Occurred()) SWIG_fail
;
30650 resultobj
= SWIG_Py_Void();
30657 SWIGINTERN PyObject
*_wrap_PyApp_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30658 PyObject
*resultobj
= 0;
30659 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30660 wxLayoutDirection result
;
30663 PyObject
*swig_obj
[1] ;
30665 if (!args
) SWIG_fail
;
30666 swig_obj
[0] = args
;
30667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30668 if (!SWIG_IsOK(res1
)) {
30669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetLayoutDirection" "', expected argument " "1"" of type '" "wxPyApp const *""'");
30671 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30674 result
= (wxLayoutDirection
)((wxPyApp
const *)arg1
)->GetLayoutDirection();
30675 wxPyEndAllowThreads(__tstate
);
30676 if (PyErr_Occurred()) SWIG_fail
;
30678 resultobj
= SWIG_From_int(static_cast< int >(result
));
30685 SWIGINTERN PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30686 PyObject
*resultobj
= 0;
30687 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30690 PyObject
*swig_obj
[1] ;
30692 if (!args
) SWIG_fail
;
30693 swig_obj
[0] = args
;
30694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30695 if (!SWIG_IsOK(res1
)) {
30696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_ExitMainLoop" "', expected argument " "1"" of type '" "wxPyApp *""'");
30698 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30701 (arg1
)->ExitMainLoop();
30702 wxPyEndAllowThreads(__tstate
);
30703 if (PyErr_Occurred()) SWIG_fail
;
30705 resultobj
= SWIG_Py_Void();
30712 SWIGINTERN PyObject
*_wrap_PyApp_Pending(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30713 PyObject
*resultobj
= 0;
30714 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30718 PyObject
*swig_obj
[1] ;
30720 if (!args
) SWIG_fail
;
30721 swig_obj
[0] = args
;
30722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30723 if (!SWIG_IsOK(res1
)) {
30724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_Pending" "', expected argument " "1"" of type '" "wxPyApp *""'");
30726 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30729 result
= (bool)(arg1
)->Pending();
30730 wxPyEndAllowThreads(__tstate
);
30731 if (PyErr_Occurred()) SWIG_fail
;
30734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30742 SWIGINTERN PyObject
*_wrap_PyApp_Dispatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30743 PyObject
*resultobj
= 0;
30744 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30748 PyObject
*swig_obj
[1] ;
30750 if (!args
) SWIG_fail
;
30751 swig_obj
[0] = args
;
30752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30753 if (!SWIG_IsOK(res1
)) {
30754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_Dispatch" "', expected argument " "1"" of type '" "wxPyApp *""'");
30756 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30759 result
= (bool)(arg1
)->Dispatch();
30760 wxPyEndAllowThreads(__tstate
);
30761 if (PyErr_Occurred()) SWIG_fail
;
30764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30772 SWIGINTERN PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30773 PyObject
*resultobj
= 0;
30774 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30778 PyObject
*swig_obj
[1] ;
30780 if (!args
) SWIG_fail
;
30781 swig_obj
[0] = args
;
30782 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30783 if (!SWIG_IsOK(res1
)) {
30784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_ProcessIdle" "', expected argument " "1"" of type '" "wxPyApp *""'");
30786 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30789 result
= (bool)(arg1
)->ProcessIdle();
30790 wxPyEndAllowThreads(__tstate
);
30791 if (PyErr_Occurred()) SWIG_fail
;
30794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30802 SWIGINTERN PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30803 PyObject
*resultobj
= 0;
30804 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30805 wxWindow
*arg2
= (wxWindow
*) 0 ;
30806 wxIdleEvent
*arg3
= 0 ;
30814 PyObject
* obj0
= 0 ;
30815 PyObject
* obj1
= 0 ;
30816 PyObject
* obj2
= 0 ;
30817 char * kwnames
[] = {
30818 (char *) "self",(char *) "win",(char *) "event", NULL
30821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30823 if (!SWIG_IsOK(res1
)) {
30824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SendIdleEvents" "', expected argument " "1"" of type '" "wxPyApp *""'");
30826 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30827 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30828 if (!SWIG_IsOK(res2
)) {
30829 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyApp_SendIdleEvents" "', expected argument " "2"" of type '" "wxWindow *""'");
30831 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30832 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxIdleEvent
, 0 );
30833 if (!SWIG_IsOK(res3
)) {
30834 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyApp_SendIdleEvents" "', expected argument " "3"" of type '" "wxIdleEvent &""'");
30837 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PyApp_SendIdleEvents" "', expected argument " "3"" of type '" "wxIdleEvent &""'");
30839 arg3
= reinterpret_cast< wxIdleEvent
* >(argp3
);
30841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30842 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
30843 wxPyEndAllowThreads(__tstate
);
30844 if (PyErr_Occurred()) SWIG_fail
;
30847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30855 SWIGINTERN PyObject
*_wrap_PyApp_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30856 PyObject
*resultobj
= 0;
30857 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30861 PyObject
*swig_obj
[1] ;
30863 if (!args
) SWIG_fail
;
30864 swig_obj
[0] = args
;
30865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30866 if (!SWIG_IsOK(res1
)) {
30867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_IsActive" "', expected argument " "1"" of type '" "wxPyApp const *""'");
30869 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30872 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
30873 wxPyEndAllowThreads(__tstate
);
30874 if (PyErr_Occurred()) SWIG_fail
;
30877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30885 SWIGINTERN PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30886 PyObject
*resultobj
= 0;
30887 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30888 wxWindow
*arg2
= (wxWindow
*) 0 ;
30893 PyObject
* obj0
= 0 ;
30894 PyObject
* obj1
= 0 ;
30895 char * kwnames
[] = {
30896 (char *) "self",(char *) "win", NULL
30899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30901 if (!SWIG_IsOK(res1
)) {
30902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetTopWindow" "', expected argument " "1"" of type '" "wxPyApp *""'");
30904 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30905 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30906 if (!SWIG_IsOK(res2
)) {
30907 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyApp_SetTopWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
30909 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30912 (arg1
)->SetTopWindow(arg2
);
30913 wxPyEndAllowThreads(__tstate
);
30914 if (PyErr_Occurred()) SWIG_fail
;
30916 resultobj
= SWIG_Py_Void();
30923 SWIGINTERN PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30924 PyObject
*resultobj
= 0;
30925 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30926 wxWindow
*result
= 0 ;
30929 PyObject
*swig_obj
[1] ;
30931 if (!args
) SWIG_fail
;
30932 swig_obj
[0] = args
;
30933 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30934 if (!SWIG_IsOK(res1
)) {
30935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetTopWindow" "', expected argument " "1"" of type '" "wxPyApp const *""'");
30937 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30940 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
30941 wxPyEndAllowThreads(__tstate
);
30942 if (PyErr_Occurred()) SWIG_fail
;
30945 resultobj
= wxPyMake_wxObject(result
, (bool)0);
30953 SWIGINTERN PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30954 PyObject
*resultobj
= 0;
30955 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30961 PyObject
* obj0
= 0 ;
30962 PyObject
* obj1
= 0 ;
30963 char * kwnames
[] = {
30964 (char *) "self",(char *) "flag", NULL
30967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30969 if (!SWIG_IsOK(res1
)) {
30970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetExitOnFrameDelete" "', expected argument " "1"" of type '" "wxPyApp *""'");
30972 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30973 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30974 if (!SWIG_IsOK(ecode2
)) {
30975 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyApp_SetExitOnFrameDelete" "', expected argument " "2"" of type '" "bool""'");
30977 arg2
= static_cast< bool >(val2
);
30979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30980 (arg1
)->SetExitOnFrameDelete(arg2
);
30981 wxPyEndAllowThreads(__tstate
);
30982 if (PyErr_Occurred()) SWIG_fail
;
30984 resultobj
= SWIG_Py_Void();
30991 SWIGINTERN PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30992 PyObject
*resultobj
= 0;
30993 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30997 PyObject
*swig_obj
[1] ;
30999 if (!args
) SWIG_fail
;
31000 swig_obj
[0] = args
;
31001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
31002 if (!SWIG_IsOK(res1
)) {
31003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetExitOnFrameDelete" "', expected argument " "1"" of type '" "wxPyApp const *""'");
31005 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
31007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31008 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
31009 wxPyEndAllowThreads(__tstate
);
31010 if (PyErr_Occurred()) SWIG_fail
;
31013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31021 SWIGINTERN PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31022 PyObject
*resultobj
= 0;
31023 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
31025 bool arg3
= (bool) false ;
31032 PyObject
* obj0
= 0 ;
31033 PyObject
* obj1
= 0 ;
31034 PyObject
* obj2
= 0 ;
31035 char * kwnames
[] = {
31036 (char *) "self",(char *) "flag",(char *) "forceTrueColour", NULL
31039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
31041 if (!SWIG_IsOK(res1
)) {
31042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetUseBestVisual" "', expected argument " "1"" of type '" "wxPyApp *""'");
31044 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
31045 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
31046 if (!SWIG_IsOK(ecode2
)) {
31047 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyApp_SetUseBestVisual" "', expected argument " "2"" of type '" "bool""'");
31049 arg2
= static_cast< bool >(val2
);
31051 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
31052 if (!SWIG_IsOK(ecode3
)) {
31053 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyApp_SetUseBestVisual" "', expected argument " "3"" of type '" "bool""'");
31055 arg3
= static_cast< bool >(val3
);
31058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31059 (arg1
)->SetUseBestVisual(arg2
,arg3
);
31060 wxPyEndAllowThreads(__tstate
);
31061 if (PyErr_Occurred()) SWIG_fail
;
31063 resultobj
= SWIG_Py_Void();
31070 SWIGINTERN PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31071 PyObject
*resultobj
= 0;
31072 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
31076 PyObject
*swig_obj
[1] ;
31078 if (!args
) SWIG_fail
;
31079 swig_obj
[0] = args
;
31080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
31081 if (!SWIG_IsOK(res1
)) {
31082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetUseBestVisual" "', expected argument " "1"" of type '" "wxPyApp const *""'");
31084 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
31086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31087 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
31088 wxPyEndAllowThreads(__tstate
);
31089 if (PyErr_Occurred()) SWIG_fail
;
31092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31100 SWIGINTERN PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31101 PyObject
*resultobj
= 0;
31102 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
31108 PyObject
* obj0
= 0 ;
31109 PyObject
* obj1
= 0 ;
31110 char * kwnames
[] = {
31111 (char *) "self",(char *) "mode", NULL
31114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
31116 if (!SWIG_IsOK(res1
)) {
31117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetPrintMode" "', expected argument " "1"" of type '" "wxPyApp *""'");
31119 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
31120 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31121 if (!SWIG_IsOK(ecode2
)) {
31122 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyApp_SetPrintMode" "', expected argument " "2"" of type '" "int""'");
31124 arg2
= static_cast< int >(val2
);
31126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31127 (arg1
)->SetPrintMode(arg2
);
31128 wxPyEndAllowThreads(__tstate
);
31129 if (PyErr_Occurred()) SWIG_fail
;
31131 resultobj
= SWIG_Py_Void();
31138 SWIGINTERN PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31139 PyObject
*resultobj
= 0;
31140 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
31144 PyObject
*swig_obj
[1] ;
31146 if (!args
) SWIG_fail
;
31147 swig_obj
[0] = args
;
31148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
31149 if (!SWIG_IsOK(res1
)) {
31150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetPrintMode" "', expected argument " "1"" of type '" "wxPyApp const *""'");
31152 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
31154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31155 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
31156 wxPyEndAllowThreads(__tstate
);
31157 if (PyErr_Occurred()) SWIG_fail
;
31159 resultobj
= SWIG_From_int(static_cast< int >(result
));
31166 SWIGINTERN PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31167 PyObject
*resultobj
= 0;
31168 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
31174 PyObject
* obj0
= 0 ;
31175 PyObject
* obj1
= 0 ;
31176 char * kwnames
[] = {
31177 (char *) "self",(char *) "mode", NULL
31180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
31182 if (!SWIG_IsOK(res1
)) {
31183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetAssertMode" "', expected argument " "1"" of type '" "wxPyApp *""'");
31185 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
31186 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31187 if (!SWIG_IsOK(ecode2
)) {
31188 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyApp_SetAssertMode" "', expected argument " "2"" of type '" "int""'");
31190 arg2
= static_cast< int >(val2
);
31192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31193 (arg1
)->SetAssertMode(arg2
);
31194 wxPyEndAllowThreads(__tstate
);
31195 if (PyErr_Occurred()) SWIG_fail
;
31197 resultobj
= SWIG_Py_Void();
31204 SWIGINTERN PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31205 PyObject
*resultobj
= 0;
31206 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
31210 PyObject
*swig_obj
[1] ;
31212 if (!args
) SWIG_fail
;
31213 swig_obj
[0] = args
;
31214 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
31215 if (!SWIG_IsOK(res1
)) {
31216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetAssertMode" "', expected argument " "1"" of type '" "wxPyApp *""'");
31218 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
31220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31221 result
= (int)(arg1
)->GetAssertMode();
31222 wxPyEndAllowThreads(__tstate
);
31223 if (PyErr_Occurred()) SWIG_fail
;
31225 resultobj
= SWIG_From_int(static_cast< int >(result
));
31232 SWIGINTERN PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31233 PyObject
*resultobj
= 0;
31236 if (!SWIG_Python_UnpackTuple(args
,"PyApp_GetMacSupportPCMenuShortcuts",0,0,0)) SWIG_fail
;
31238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31239 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
31240 wxPyEndAllowThreads(__tstate
);
31241 if (PyErr_Occurred()) SWIG_fail
;
31244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31252 SWIGINTERN PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31253 PyObject
*resultobj
= 0;
31256 if (!SWIG_Python_UnpackTuple(args
,"PyApp_GetMacAboutMenuItemId",0,0,0)) SWIG_fail
;
31258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31259 result
= (long)wxPyApp::GetMacAboutMenuItemId();
31260 wxPyEndAllowThreads(__tstate
);
31261 if (PyErr_Occurred()) SWIG_fail
;
31263 resultobj
= SWIG_From_long(static_cast< long >(result
));
31270 SWIGINTERN PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31271 PyObject
*resultobj
= 0;
31274 if (!SWIG_Python_UnpackTuple(args
,"PyApp_GetMacPreferencesMenuItemId",0,0,0)) SWIG_fail
;
31276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31277 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
31278 wxPyEndAllowThreads(__tstate
);
31279 if (PyErr_Occurred()) SWIG_fail
;
31281 resultobj
= SWIG_From_long(static_cast< long >(result
));
31288 SWIGINTERN PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31289 PyObject
*resultobj
= 0;
31292 if (!SWIG_Python_UnpackTuple(args
,"PyApp_GetMacExitMenuItemId",0,0,0)) SWIG_fail
;
31294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31295 result
= (long)wxPyApp::GetMacExitMenuItemId();
31296 wxPyEndAllowThreads(__tstate
);
31297 if (PyErr_Occurred()) SWIG_fail
;
31299 resultobj
= SWIG_From_long(static_cast< long >(result
));
31306 SWIGINTERN PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31307 PyObject
*resultobj
= 0;
31310 if (!SWIG_Python_UnpackTuple(args
,"PyApp_GetMacHelpMenuTitleName",0,0,0)) SWIG_fail
;
31312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31313 result
= wxPyApp::GetMacHelpMenuTitleName();
31314 wxPyEndAllowThreads(__tstate
);
31315 if (PyErr_Occurred()) SWIG_fail
;
31319 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31321 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31330 SWIGINTERN PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31331 PyObject
*resultobj
= 0;
31335 PyObject
* obj0
= 0 ;
31336 char * kwnames
[] = {
31337 (char *) "val", NULL
31340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) SWIG_fail
;
31341 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
31342 if (!SWIG_IsOK(ecode1
)) {
31343 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PyApp_SetMacSupportPCMenuShortcuts" "', expected argument " "1"" of type '" "bool""'");
31345 arg1
= static_cast< bool >(val1
);
31347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31348 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
31349 wxPyEndAllowThreads(__tstate
);
31350 if (PyErr_Occurred()) SWIG_fail
;
31352 resultobj
= SWIG_Py_Void();
31359 SWIGINTERN PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31360 PyObject
*resultobj
= 0;
31364 PyObject
* obj0
= 0 ;
31365 char * kwnames
[] = {
31366 (char *) "val", NULL
31369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) SWIG_fail
;
31370 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
31371 if (!SWIG_IsOK(ecode1
)) {
31372 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PyApp_SetMacAboutMenuItemId" "', expected argument " "1"" of type '" "long""'");
31374 arg1
= static_cast< long >(val1
);
31376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31377 wxPyApp::SetMacAboutMenuItemId(arg1
);
31378 wxPyEndAllowThreads(__tstate
);
31379 if (PyErr_Occurred()) SWIG_fail
;
31381 resultobj
= SWIG_Py_Void();
31388 SWIGINTERN PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31389 PyObject
*resultobj
= 0;
31393 PyObject
* obj0
= 0 ;
31394 char * kwnames
[] = {
31395 (char *) "val", NULL
31398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) SWIG_fail
;
31399 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
31400 if (!SWIG_IsOK(ecode1
)) {
31401 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PyApp_SetMacPreferencesMenuItemId" "', expected argument " "1"" of type '" "long""'");
31403 arg1
= static_cast< long >(val1
);
31405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31406 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
31407 wxPyEndAllowThreads(__tstate
);
31408 if (PyErr_Occurred()) SWIG_fail
;
31410 resultobj
= SWIG_Py_Void();
31417 SWIGINTERN PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31418 PyObject
*resultobj
= 0;
31422 PyObject
* obj0
= 0 ;
31423 char * kwnames
[] = {
31424 (char *) "val", NULL
31427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) SWIG_fail
;
31428 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
31429 if (!SWIG_IsOK(ecode1
)) {
31430 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PyApp_SetMacExitMenuItemId" "', expected argument " "1"" of type '" "long""'");
31432 arg1
= static_cast< long >(val1
);
31434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31435 wxPyApp::SetMacExitMenuItemId(arg1
);
31436 wxPyEndAllowThreads(__tstate
);
31437 if (PyErr_Occurred()) SWIG_fail
;
31439 resultobj
= SWIG_Py_Void();
31446 SWIGINTERN PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31447 PyObject
*resultobj
= 0;
31448 wxString
*arg1
= 0 ;
31449 bool temp1
= false ;
31450 PyObject
* obj0
= 0 ;
31451 char * kwnames
[] = {
31452 (char *) "val", NULL
31455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) SWIG_fail
;
31457 arg1
= wxString_in_helper(obj0
);
31458 if (arg1
== NULL
) SWIG_fail
;
31462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31463 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
31464 wxPyEndAllowThreads(__tstate
);
31465 if (PyErr_Occurred()) SWIG_fail
;
31467 resultobj
= SWIG_Py_Void();
31482 SWIGINTERN PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31483 PyObject
*resultobj
= 0;
31484 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
31487 PyObject
*swig_obj
[1] ;
31489 if (!args
) SWIG_fail
;
31490 swig_obj
[0] = args
;
31491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
31492 if (!SWIG_IsOK(res1
)) {
31493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp__BootstrapApp" "', expected argument " "1"" of type '" "wxPyApp *""'");
31495 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
31497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31498 (arg1
)->_BootstrapApp();
31499 wxPyEndAllowThreads(__tstate
);
31500 if (PyErr_Occurred()) SWIG_fail
;
31502 resultobj
= SWIG_Py_Void();
31509 SWIGINTERN PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31510 PyObject
*resultobj
= 0;
31513 if (!SWIG_Python_UnpackTuple(args
,"PyApp_GetComCtl32Version",0,0,0)) SWIG_fail
;
31515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31516 result
= (int)wxPyApp_GetComCtl32Version();
31517 wxPyEndAllowThreads(__tstate
);
31518 if (PyErr_Occurred()) SWIG_fail
;
31520 resultobj
= SWIG_From_int(static_cast< int >(result
));
31527 SWIGINTERN PyObject
*_wrap_PyApp_IsDisplayAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31528 PyObject
*resultobj
= 0;
31531 if (!SWIG_Python_UnpackTuple(args
,"PyApp_IsDisplayAvailable",0,0,0)) SWIG_fail
;
31533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31534 result
= (bool)wxPyApp_IsDisplayAvailable();
31535 wxPyEndAllowThreads(__tstate
);
31536 if (PyErr_Occurred()) SWIG_fail
;
31539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31547 SWIGINTERN PyObject
*PyApp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31549 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31550 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyApp
, SWIG_NewClientData(obj
));
31551 return SWIG_Py_Void();
31554 SWIGINTERN PyObject
*PyApp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31555 return SWIG_Python_InitShadowInstance(args
);
31558 SWIGINTERN PyObject
*_wrap_Exit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31559 PyObject
*resultobj
= 0;
31561 if (!SWIG_Python_UnpackTuple(args
,"Exit",0,0,0)) SWIG_fail
;
31563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31565 wxPyEndAllowThreads(__tstate
);
31566 if (PyErr_Occurred()) SWIG_fail
;
31568 resultobj
= SWIG_Py_Void();
31575 SWIGINTERN PyObject
*_wrap_Yield(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31576 PyObject
*resultobj
= 0;
31579 if (!SWIG_Python_UnpackTuple(args
,"Yield",0,0,0)) SWIG_fail
;
31581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31582 result
= (bool)wxYield();
31583 wxPyEndAllowThreads(__tstate
);
31584 if (PyErr_Occurred()) SWIG_fail
;
31587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31595 SWIGINTERN PyObject
*_wrap_YieldIfNeeded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31596 PyObject
*resultobj
= 0;
31599 if (!SWIG_Python_UnpackTuple(args
,"YieldIfNeeded",0,0,0)) SWIG_fail
;
31601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31602 result
= (bool)wxYieldIfNeeded();
31603 wxPyEndAllowThreads(__tstate
);
31604 if (PyErr_Occurred()) SWIG_fail
;
31607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31615 SWIGINTERN PyObject
*_wrap_SafeYield(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31616 PyObject
*resultobj
= 0;
31617 wxWindow
*arg1
= (wxWindow
*) NULL
;
31618 bool arg2
= (bool) false ;
31624 PyObject
* obj0
= 0 ;
31625 PyObject
* obj1
= 0 ;
31626 char * kwnames
[] = {
31627 (char *) "win",(char *) "onlyIfNeeded", NULL
31630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31633 if (!SWIG_IsOK(res1
)) {
31634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SafeYield" "', expected argument " "1"" of type '" "wxWindow *""'");
31636 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31639 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
31640 if (!SWIG_IsOK(ecode2
)) {
31641 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SafeYield" "', expected argument " "2"" of type '" "bool""'");
31643 arg2
= static_cast< bool >(val2
);
31646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31647 result
= (bool)wxSafeYield(arg1
,arg2
);
31648 wxPyEndAllowThreads(__tstate
);
31649 if (PyErr_Occurred()) SWIG_fail
;
31652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31660 SWIGINTERN PyObject
*_wrap_WakeUpIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31661 PyObject
*resultobj
= 0;
31663 if (!SWIG_Python_UnpackTuple(args
,"WakeUpIdle",0,0,0)) SWIG_fail
;
31665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31667 wxPyEndAllowThreads(__tstate
);
31668 if (PyErr_Occurred()) SWIG_fail
;
31670 resultobj
= SWIG_Py_Void();
31677 SWIGINTERN PyObject
*_wrap_PostEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31678 PyObject
*resultobj
= 0;
31679 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
31680 wxEvent
*arg2
= 0 ;
31685 PyObject
* obj0
= 0 ;
31686 PyObject
* obj1
= 0 ;
31687 char * kwnames
[] = {
31688 (char *) "dest",(char *) "event", NULL
31691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
31693 if (!SWIG_IsOK(res1
)) {
31694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostEvent" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
31696 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
31697 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxEvent
, 0 );
31698 if (!SWIG_IsOK(res2
)) {
31699 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
31702 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
31704 arg2
= reinterpret_cast< wxEvent
* >(argp2
);
31706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31707 wxPostEvent(arg1
,*arg2
);
31708 wxPyEndAllowThreads(__tstate
);
31709 if (PyErr_Occurred()) SWIG_fail
;
31711 resultobj
= SWIG_Py_Void();
31718 SWIGINTERN PyObject
*_wrap_App_CleanUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31719 PyObject
*resultobj
= 0;
31721 if (!SWIG_Python_UnpackTuple(args
,"App_CleanUp",0,0,0)) SWIG_fail
;
31723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31725 wxPyEndAllowThreads(__tstate
);
31726 if (PyErr_Occurred()) SWIG_fail
;
31728 resultobj
= SWIG_Py_Void();
31735 SWIGINTERN PyObject
*_wrap_GetApp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31736 PyObject
*resultobj
= 0;
31737 wxPyApp
*result
= 0 ;
31739 if (!SWIG_Python_UnpackTuple(args
,"GetApp",0,0,0)) SWIG_fail
;
31741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31742 result
= (wxPyApp
*)wxPyGetApp();
31743 wxPyEndAllowThreads(__tstate
);
31744 if (PyErr_Occurred()) SWIG_fail
;
31747 resultobj
= wxPyMake_wxObject(result
, 0);
31755 SWIGINTERN PyObject
*_wrap_SetDefaultPyEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31756 PyObject
*resultobj
= 0;
31757 char *arg1
= (char *) 0 ;
31761 PyObject
* obj0
= 0 ;
31762 char * kwnames
[] = {
31763 (char *) "encoding", NULL
31766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetDefaultPyEncoding",kwnames
,&obj0
)) SWIG_fail
;
31767 res1
= SWIG_AsCharPtrAndSize(obj0
, &buf1
, NULL
, &alloc1
);
31768 if (!SWIG_IsOK(res1
)) {
31769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetDefaultPyEncoding" "', expected argument " "1"" of type '" "char const *""'");
31773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31774 wxSetDefaultPyEncoding((char const *)arg1
);
31775 wxPyEndAllowThreads(__tstate
);
31776 if (PyErr_Occurred()) SWIG_fail
;
31778 resultobj
= SWIG_Py_Void();
31779 if (alloc1
== SWIG_NEWOBJ
) delete[] buf1
;
31782 if (alloc1
== SWIG_NEWOBJ
) delete[] buf1
;
31787 SWIGINTERN PyObject
*_wrap_GetDefaultPyEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31788 PyObject
*resultobj
= 0;
31791 if (!SWIG_Python_UnpackTuple(args
,"GetDefaultPyEncoding",0,0,0)) SWIG_fail
;
31793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31794 result
= (char *)wxGetDefaultPyEncoding();
31795 wxPyEndAllowThreads(__tstate
);
31796 if (PyErr_Occurred()) SWIG_fail
;
31798 resultobj
= SWIG_FromCharPtr(result
);
31805 SWIGINTERN PyObject
*_wrap_new_EventLoop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31806 PyObject
*resultobj
= 0;
31807 wxEventLoop
*result
= 0 ;
31809 if (!SWIG_Python_UnpackTuple(args
,"new_EventLoop",0,0,0)) SWIG_fail
;
31811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31812 result
= (wxEventLoop
*)new wxEventLoop();
31813 wxPyEndAllowThreads(__tstate
);
31814 if (PyErr_Occurred()) SWIG_fail
;
31816 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_NEW
| 0 );
31823 SWIGINTERN PyObject
*_wrap_delete_EventLoop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31824 PyObject
*resultobj
= 0;
31825 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
31828 PyObject
*swig_obj
[1] ;
31830 if (!args
) SWIG_fail
;
31831 swig_obj
[0] = args
;
31832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_DISOWN
| 0 );
31833 if (!SWIG_IsOK(res1
)) {
31834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EventLoop" "', expected argument " "1"" of type '" "wxEventLoop *""'");
31836 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
31838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31841 wxPyEndAllowThreads(__tstate
);
31842 if (PyErr_Occurred()) SWIG_fail
;
31844 resultobj
= SWIG_Py_Void();
31851 SWIGINTERN PyObject
*_wrap_EventLoop_Run(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31852 PyObject
*resultobj
= 0;
31853 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
31857 PyObject
*swig_obj
[1] ;
31859 if (!args
) SWIG_fail
;
31860 swig_obj
[0] = args
;
31861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
31862 if (!SWIG_IsOK(res1
)) {
31863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EventLoop_Run" "', expected argument " "1"" of type '" "wxEventLoop *""'");
31865 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
31867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31868 result
= (int)(arg1
)->Run();
31869 wxPyEndAllowThreads(__tstate
);
31870 if (PyErr_Occurred()) SWIG_fail
;
31872 resultobj
= SWIG_From_int(static_cast< int >(result
));
31879 SWIGINTERN PyObject
*_wrap_EventLoop_Exit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31880 PyObject
*resultobj
= 0;
31881 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
31882 int arg2
= (int) 0 ;
31887 PyObject
* obj0
= 0 ;
31888 PyObject
* obj1
= 0 ;
31889 char * kwnames
[] = {
31890 (char *) "self",(char *) "rc", NULL
31893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EventLoop_Exit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
31895 if (!SWIG_IsOK(res1
)) {
31896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EventLoop_Exit" "', expected argument " "1"" of type '" "wxEventLoop *""'");
31898 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
31900 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31901 if (!SWIG_IsOK(ecode2
)) {
31902 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EventLoop_Exit" "', expected argument " "2"" of type '" "int""'");
31904 arg2
= static_cast< int >(val2
);
31907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31908 (arg1
)->Exit(arg2
);
31909 wxPyEndAllowThreads(__tstate
);
31910 if (PyErr_Occurred()) SWIG_fail
;
31912 resultobj
= SWIG_Py_Void();
31919 SWIGINTERN PyObject
*_wrap_EventLoop_Pending(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31920 PyObject
*resultobj
= 0;
31921 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
31925 PyObject
*swig_obj
[1] ;
31927 if (!args
) SWIG_fail
;
31928 swig_obj
[0] = args
;
31929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
31930 if (!SWIG_IsOK(res1
)) {
31931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EventLoop_Pending" "', expected argument " "1"" of type '" "wxEventLoop const *""'");
31933 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
31935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31936 result
= (bool)((wxEventLoop
const *)arg1
)->Pending();
31937 wxPyEndAllowThreads(__tstate
);
31938 if (PyErr_Occurred()) SWIG_fail
;
31941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31949 SWIGINTERN PyObject
*_wrap_EventLoop_Dispatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31950 PyObject
*resultobj
= 0;
31951 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
31955 PyObject
*swig_obj
[1] ;
31957 if (!args
) SWIG_fail
;
31958 swig_obj
[0] = args
;
31959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
31960 if (!SWIG_IsOK(res1
)) {
31961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EventLoop_Dispatch" "', expected argument " "1"" of type '" "wxEventLoop *""'");
31963 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
31965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31966 result
= (bool)(arg1
)->Dispatch();
31967 wxPyEndAllowThreads(__tstate
);
31968 if (PyErr_Occurred()) SWIG_fail
;
31971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31979 SWIGINTERN PyObject
*_wrap_EventLoop_IsRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31980 PyObject
*resultobj
= 0;
31981 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
31985 PyObject
*swig_obj
[1] ;
31987 if (!args
) SWIG_fail
;
31988 swig_obj
[0] = args
;
31989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
31990 if (!SWIG_IsOK(res1
)) {
31991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EventLoop_IsRunning" "', expected argument " "1"" of type '" "wxEventLoop const *""'");
31993 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
31995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31996 result
= (bool)((wxEventLoop
const *)arg1
)->IsRunning();
31997 wxPyEndAllowThreads(__tstate
);
31998 if (PyErr_Occurred()) SWIG_fail
;
32001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32009 SWIGINTERN PyObject
*_wrap_EventLoop_GetActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32010 PyObject
*resultobj
= 0;
32011 wxEventLoop
*result
= 0 ;
32013 if (!SWIG_Python_UnpackTuple(args
,"EventLoop_GetActive",0,0,0)) SWIG_fail
;
32015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32016 result
= (wxEventLoop
*)wxEventLoop::GetActive();
32017 wxPyEndAllowThreads(__tstate
);
32018 if (PyErr_Occurred()) SWIG_fail
;
32020 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEventLoop
, 0 | 0 );
32027 SWIGINTERN PyObject
*_wrap_EventLoop_SetActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32028 PyObject
*resultobj
= 0;
32029 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
32032 PyObject
* obj0
= 0 ;
32033 char * kwnames
[] = {
32034 (char *) "loop", NULL
32037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_SetActive",kwnames
,&obj0
)) SWIG_fail
;
32038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
32039 if (!SWIG_IsOK(res1
)) {
32040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EventLoop_SetActive" "', expected argument " "1"" of type '" "wxEventLoop *""'");
32042 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
32044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32045 wxEventLoop::SetActive(arg1
);
32046 wxPyEndAllowThreads(__tstate
);
32047 if (PyErr_Occurred()) SWIG_fail
;
32049 resultobj
= SWIG_Py_Void();
32056 SWIGINTERN PyObject
*EventLoop_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32058 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32059 SWIG_TypeNewClientData(SWIGTYPE_p_wxEventLoop
, SWIG_NewClientData(obj
));
32060 return SWIG_Py_Void();
32063 SWIGINTERN PyObject
*EventLoop_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32064 return SWIG_Python_InitShadowInstance(args
);
32067 SWIGINTERN PyObject
*_wrap_new_EventLoopActivator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32068 PyObject
*resultobj
= 0;
32069 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
32070 wxEventLoopActivator
*result
= 0 ;
32073 PyObject
* obj0
= 0 ;
32074 char * kwnames
[] = {
32075 (char *) "evtLoop", NULL
32078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_EventLoopActivator",kwnames
,&obj0
)) SWIG_fail
;
32079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
32080 if (!SWIG_IsOK(res1
)) {
32081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_EventLoopActivator" "', expected argument " "1"" of type '" "wxEventLoop *""'");
32083 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
32085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32086 result
= (wxEventLoopActivator
*)new wxEventLoopActivator(arg1
);
32087 wxPyEndAllowThreads(__tstate
);
32088 if (PyErr_Occurred()) SWIG_fail
;
32090 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEventLoopActivator
, SWIG_POINTER_NEW
| 0 );
32097 SWIGINTERN PyObject
*_wrap_delete_EventLoopActivator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32098 PyObject
*resultobj
= 0;
32099 wxEventLoopActivator
*arg1
= (wxEventLoopActivator
*) 0 ;
32102 PyObject
*swig_obj
[1] ;
32104 if (!args
) SWIG_fail
;
32105 swig_obj
[0] = args
;
32106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEventLoopActivator
, SWIG_POINTER_DISOWN
| 0 );
32107 if (!SWIG_IsOK(res1
)) {
32108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EventLoopActivator" "', expected argument " "1"" of type '" "wxEventLoopActivator *""'");
32110 arg1
= reinterpret_cast< wxEventLoopActivator
* >(argp1
);
32112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32115 wxPyEndAllowThreads(__tstate
);
32116 if (PyErr_Occurred()) SWIG_fail
;
32118 resultobj
= SWIG_Py_Void();
32125 SWIGINTERN PyObject
*EventLoopActivator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32127 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32128 SWIG_TypeNewClientData(SWIGTYPE_p_wxEventLoopActivator
, SWIG_NewClientData(obj
));
32129 return SWIG_Py_Void();
32132 SWIGINTERN PyObject
*EventLoopActivator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32133 return SWIG_Python_InitShadowInstance(args
);
32136 SWIGINTERN PyObject
*_wrap_new_AcceleratorEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32137 PyObject
*resultobj
= 0;
32138 int arg1
= (int) 0 ;
32139 int arg2
= (int) 0 ;
32140 int arg3
= (int) 0 ;
32141 wxAcceleratorEntry
*result
= 0 ;
32148 PyObject
* obj0
= 0 ;
32149 PyObject
* obj1
= 0 ;
32150 PyObject
* obj2
= 0 ;
32151 char * kwnames
[] = {
32152 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
32155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32157 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32158 if (!SWIG_IsOK(ecode1
)) {
32159 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_AcceleratorEntry" "', expected argument " "1"" of type '" "int""'");
32161 arg1
= static_cast< int >(val1
);
32164 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32165 if (!SWIG_IsOK(ecode2
)) {
32166 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_AcceleratorEntry" "', expected argument " "2"" of type '" "int""'");
32168 arg2
= static_cast< int >(val2
);
32171 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32172 if (!SWIG_IsOK(ecode3
)) {
32173 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_AcceleratorEntry" "', expected argument " "3"" of type '" "int""'");
32175 arg3
= static_cast< int >(val3
);
32178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32179 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
32180 wxPyEndAllowThreads(__tstate
);
32181 if (PyErr_Occurred()) SWIG_fail
;
32183 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_NEW
| 0 );
32190 SWIGINTERN PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32191 PyObject
*resultobj
= 0;
32192 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
32195 PyObject
*swig_obj
[1] ;
32197 if (!args
) SWIG_fail
;
32198 swig_obj
[0] = args
;
32199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_DISOWN
| 0 );
32200 if (!SWIG_IsOK(res1
)) {
32201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AcceleratorEntry" "', expected argument " "1"" of type '" "wxAcceleratorEntry *""'");
32203 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
32205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32208 wxPyEndAllowThreads(__tstate
);
32209 if (PyErr_Occurred()) SWIG_fail
;
32211 resultobj
= SWIG_Py_Void();
32218 SWIGINTERN PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32219 PyObject
*resultobj
= 0;
32220 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
32232 PyObject
* obj0
= 0 ;
32233 PyObject
* obj1
= 0 ;
32234 PyObject
* obj2
= 0 ;
32235 PyObject
* obj3
= 0 ;
32236 char * kwnames
[] = {
32237 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
32240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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_Set" "', expected argument " "1"" of type '" "wxAcceleratorEntry *""'");
32245 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
32246 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32247 if (!SWIG_IsOK(ecode2
)) {
32248 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AcceleratorEntry_Set" "', expected argument " "2"" of type '" "int""'");
32250 arg2
= static_cast< int >(val2
);
32251 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32252 if (!SWIG_IsOK(ecode3
)) {
32253 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AcceleratorEntry_Set" "', expected argument " "3"" of type '" "int""'");
32255 arg3
= static_cast< int >(val3
);
32256 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32257 if (!SWIG_IsOK(ecode4
)) {
32258 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AcceleratorEntry_Set" "', expected argument " "4"" of type '" "int""'");
32260 arg4
= static_cast< int >(val4
);
32262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32263 (arg1
)->Set(arg2
,arg3
,arg4
);
32264 wxPyEndAllowThreads(__tstate
);
32265 if (PyErr_Occurred()) SWIG_fail
;
32267 resultobj
= SWIG_Py_Void();
32274 SWIGINTERN PyObject
*_wrap_AcceleratorEntry_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32275 PyObject
*resultobj
= 0;
32276 wxString
*arg1
= 0 ;
32277 wxAcceleratorEntry
*result
= 0 ;
32278 bool temp1
= false ;
32279 PyObject
* obj0
= 0 ;
32280 char * kwnames
[] = {
32281 (char *) "str", NULL
32284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_Create",kwnames
,&obj0
)) SWIG_fail
;
32286 arg1
= wxString_in_helper(obj0
);
32287 if (arg1
== NULL
) SWIG_fail
;
32291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32292 result
= (wxAcceleratorEntry
*)wxAcceleratorEntry::Create((wxString
const &)*arg1
);
32293 wxPyEndAllowThreads(__tstate
);
32294 if (PyErr_Occurred()) SWIG_fail
;
32296 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_OWN
| 0 );
32311 SWIGINTERN PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32312 PyObject
*resultobj
= 0;
32313 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
32317 PyObject
*swig_obj
[1] ;
32319 if (!args
) SWIG_fail
;
32320 swig_obj
[0] = args
;
32321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
32322 if (!SWIG_IsOK(res1
)) {
32323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AcceleratorEntry_GetFlags" "', expected argument " "1"" of type '" "wxAcceleratorEntry *""'");
32325 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
32327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32328 result
= (int)(arg1
)->GetFlags();
32329 wxPyEndAllowThreads(__tstate
);
32330 if (PyErr_Occurred()) SWIG_fail
;
32332 resultobj
= SWIG_From_int(static_cast< int >(result
));
32339 SWIGINTERN PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32340 PyObject
*resultobj
= 0;
32341 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
32345 PyObject
*swig_obj
[1] ;
32347 if (!args
) SWIG_fail
;
32348 swig_obj
[0] = args
;
32349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
32350 if (!SWIG_IsOK(res1
)) {
32351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AcceleratorEntry_GetKeyCode" "', expected argument " "1"" of type '" "wxAcceleratorEntry *""'");
32353 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
32355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32356 result
= (int)(arg1
)->GetKeyCode();
32357 wxPyEndAllowThreads(__tstate
);
32358 if (PyErr_Occurred()) SWIG_fail
;
32360 resultobj
= SWIG_From_int(static_cast< int >(result
));
32367 SWIGINTERN PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32368 PyObject
*resultobj
= 0;
32369 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
32373 PyObject
*swig_obj
[1] ;
32375 if (!args
) SWIG_fail
;
32376 swig_obj
[0] = args
;
32377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
32378 if (!SWIG_IsOK(res1
)) {
32379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AcceleratorEntry_GetCommand" "', expected argument " "1"" of type '" "wxAcceleratorEntry *""'");
32381 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
32383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32384 result
= (int)(arg1
)->GetCommand();
32385 wxPyEndAllowThreads(__tstate
);
32386 if (PyErr_Occurred()) SWIG_fail
;
32388 resultobj
= SWIG_From_int(static_cast< int >(result
));
32395 SWIGINTERN PyObject
*_wrap_AcceleratorEntry_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32396 PyObject
*resultobj
= 0;
32397 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
32401 PyObject
*swig_obj
[1] ;
32403 if (!args
) SWIG_fail
;
32404 swig_obj
[0] = args
;
32405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
32406 if (!SWIG_IsOK(res1
)) {
32407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AcceleratorEntry_IsOk" "', expected argument " "1"" of type '" "wxAcceleratorEntry const *""'");
32409 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
32411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32412 result
= (bool)((wxAcceleratorEntry
const *)arg1
)->IsOk();
32413 wxPyEndAllowThreads(__tstate
);
32414 if (PyErr_Occurred()) SWIG_fail
;
32417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32425 SWIGINTERN PyObject
*_wrap_AcceleratorEntry_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32426 PyObject
*resultobj
= 0;
32427 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
32431 PyObject
*swig_obj
[1] ;
32433 if (!args
) SWIG_fail
;
32434 swig_obj
[0] = args
;
32435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
32436 if (!SWIG_IsOK(res1
)) {
32437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AcceleratorEntry_ToString" "', expected argument " "1"" of type '" "wxAcceleratorEntry const *""'");
32439 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
32441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32442 result
= ((wxAcceleratorEntry
const *)arg1
)->ToString();
32443 wxPyEndAllowThreads(__tstate
);
32444 if (PyErr_Occurred()) SWIG_fail
;
32448 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32450 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32459 SWIGINTERN PyObject
*_wrap_AcceleratorEntry_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32460 PyObject
*resultobj
= 0;
32461 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
32462 wxString
*arg2
= 0 ;
32466 bool temp2
= false ;
32467 PyObject
* obj0
= 0 ;
32468 PyObject
* obj1
= 0 ;
32469 char * kwnames
[] = {
32470 (char *) "self",(char *) "str", NULL
32473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AcceleratorEntry_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
32475 if (!SWIG_IsOK(res1
)) {
32476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AcceleratorEntry_FromString" "', expected argument " "1"" of type '" "wxAcceleratorEntry *""'");
32478 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
32480 arg2
= wxString_in_helper(obj1
);
32481 if (arg2
== NULL
) SWIG_fail
;
32485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32486 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
32487 wxPyEndAllowThreads(__tstate
);
32488 if (PyErr_Occurred()) SWIG_fail
;
32491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32507 SWIGINTERN PyObject
*AcceleratorEntry_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32509 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32510 SWIG_TypeNewClientData(SWIGTYPE_p_wxAcceleratorEntry
, SWIG_NewClientData(obj
));
32511 return SWIG_Py_Void();
32514 SWIGINTERN PyObject
*AcceleratorEntry_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32515 return SWIG_Python_InitShadowInstance(args
);
32518 SWIGINTERN PyObject
*_wrap_new_AcceleratorTable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32519 PyObject
*resultobj
= 0;
32521 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
32522 wxAcceleratorTable
*result
= 0 ;
32523 PyObject
* obj0
= 0 ;
32524 char * kwnames
[] = {
32528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) SWIG_fail
;
32530 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
32531 if (arg2
) arg1
= PyList_Size(obj0
);
32535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32536 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
32537 wxPyEndAllowThreads(__tstate
);
32538 if (PyErr_Occurred()) SWIG_fail
;
32540 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_NEW
| 0 );
32547 SWIGINTERN PyObject
*_wrap_delete_AcceleratorTable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32548 PyObject
*resultobj
= 0;
32549 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
32552 PyObject
*swig_obj
[1] ;
32554 if (!args
) SWIG_fail
;
32555 swig_obj
[0] = args
;
32556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_DISOWN
| 0 );
32557 if (!SWIG_IsOK(res1
)) {
32558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AcceleratorTable" "', expected argument " "1"" of type '" "wxAcceleratorTable *""'");
32560 arg1
= reinterpret_cast< wxAcceleratorTable
* >(argp1
);
32562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32565 wxPyEndAllowThreads(__tstate
);
32566 if (PyErr_Occurred()) SWIG_fail
;
32568 resultobj
= SWIG_Py_Void();
32575 SWIGINTERN PyObject
*_wrap_AcceleratorTable_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32576 PyObject
*resultobj
= 0;
32577 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
32581 PyObject
*swig_obj
[1] ;
32583 if (!args
) SWIG_fail
;
32584 swig_obj
[0] = args
;
32585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorTable
, 0 | 0 );
32586 if (!SWIG_IsOK(res1
)) {
32587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AcceleratorTable_IsOk" "', expected argument " "1"" of type '" "wxAcceleratorTable const *""'");
32589 arg1
= reinterpret_cast< wxAcceleratorTable
* >(argp1
);
32591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32592 result
= (bool)((wxAcceleratorTable
const *)arg1
)->IsOk();
32593 wxPyEndAllowThreads(__tstate
);
32594 if (PyErr_Occurred()) SWIG_fail
;
32597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32605 SWIGINTERN PyObject
*AcceleratorTable_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32607 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32608 SWIG_TypeNewClientData(SWIGTYPE_p_wxAcceleratorTable
, SWIG_NewClientData(obj
));
32609 return SWIG_Py_Void();
32612 SWIGINTERN PyObject
*AcceleratorTable_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32613 return SWIG_Python_InitShadowInstance(args
);
32616 SWIGINTERN
int NullAcceleratorTable_set(PyObject
*) {
32617 SWIG_Error(SWIG_AttributeError
,"Variable NullAcceleratorTable is read-only.");
32622 SWIGINTERN PyObject
*NullAcceleratorTable_get(void) {
32623 PyObject
*pyobj
= 0;
32625 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0 );
32630 SWIGINTERN
int PanelNameStr_set(PyObject
*) {
32631 SWIG_Error(SWIG_AttributeError
,"Variable PanelNameStr is read-only.");
32636 SWIGINTERN PyObject
*PanelNameStr_get(void) {
32637 PyObject
*pyobj
= 0;
32641 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
32643 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
32650 SWIGINTERN PyObject
*_wrap_new_VisualAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32651 PyObject
*resultobj
= 0;
32652 wxVisualAttributes
*result
= 0 ;
32654 if (!SWIG_Python_UnpackTuple(args
,"new_VisualAttributes",0,0,0)) SWIG_fail
;
32656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32657 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
32658 wxPyEndAllowThreads(__tstate
);
32659 if (PyErr_Occurred()) SWIG_fail
;
32661 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_NEW
| 0 );
32668 SWIGINTERN PyObject
*_wrap_delete_VisualAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32669 PyObject
*resultobj
= 0;
32670 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
32673 PyObject
*swig_obj
[1] ;
32675 if (!args
) SWIG_fail
;
32676 swig_obj
[0] = args
;
32677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_DISOWN
| 0 );
32678 if (!SWIG_IsOK(res1
)) {
32679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_VisualAttributes" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
32681 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
32683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32684 delete_wxVisualAttributes(arg1
);
32686 wxPyEndAllowThreads(__tstate
);
32687 if (PyErr_Occurred()) SWIG_fail
;
32689 resultobj
= SWIG_Py_Void();
32696 SWIGINTERN PyObject
*_wrap_VisualAttributes_font_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32697 PyObject
*resultobj
= 0;
32698 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
32699 wxFont
*arg2
= (wxFont
*) 0 ;
32704 PyObject
*swig_obj
[2] ;
32706 if (!SWIG_Python_UnpackTuple(args
,"VisualAttributes_font_set",2,2,swig_obj
)) SWIG_fail
;
32707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, 0 | 0 );
32708 if (!SWIG_IsOK(res1
)) {
32709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VisualAttributes_font_set" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
32711 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
32712 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
32713 if (!SWIG_IsOK(res2
)) {
32714 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VisualAttributes_font_set" "', expected argument " "2"" of type '" "wxFont *""'");
32716 arg2
= reinterpret_cast< wxFont
* >(argp2
);
32717 if (arg1
) (arg1
)->font
= *arg2
;
32719 resultobj
= SWIG_Py_Void();
32726 SWIGINTERN PyObject
*_wrap_VisualAttributes_font_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32727 PyObject
*resultobj
= 0;
32728 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
32729 wxFont
*result
= 0 ;
32732 PyObject
*swig_obj
[1] ;
32734 if (!args
) SWIG_fail
;
32735 swig_obj
[0] = args
;
32736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, 0 | 0 );
32737 if (!SWIG_IsOK(res1
)) {
32738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VisualAttributes_font_get" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
32740 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
32741 result
= (wxFont
*)& ((arg1
)->font
);
32742 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
32749 SWIGINTERN PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32750 PyObject
*resultobj
= 0;
32751 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
32752 wxColour
*arg2
= (wxColour
*) 0 ;
32757 PyObject
*swig_obj
[2] ;
32759 if (!SWIG_Python_UnpackTuple(args
,"VisualAttributes_colFg_set",2,2,swig_obj
)) SWIG_fail
;
32760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, 0 | 0 );
32761 if (!SWIG_IsOK(res1
)) {
32762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VisualAttributes_colFg_set" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
32764 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
32765 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxColour
, 0 | 0 );
32766 if (!SWIG_IsOK(res2
)) {
32767 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VisualAttributes_colFg_set" "', expected argument " "2"" of type '" "wxColour *""'");
32769 arg2
= reinterpret_cast< wxColour
* >(argp2
);
32770 if (arg1
) (arg1
)->colFg
= *arg2
;
32772 resultobj
= SWIG_Py_Void();
32779 SWIGINTERN PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32780 PyObject
*resultobj
= 0;
32781 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
32782 wxColour
*result
= 0 ;
32785 PyObject
*swig_obj
[1] ;
32787 if (!args
) SWIG_fail
;
32788 swig_obj
[0] = args
;
32789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, 0 | 0 );
32790 if (!SWIG_IsOK(res1
)) {
32791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VisualAttributes_colFg_get" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
32793 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
32794 result
= (wxColour
*)& ((arg1
)->colFg
);
32795 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
32802 SWIGINTERN PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32803 PyObject
*resultobj
= 0;
32804 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
32805 wxColour
*arg2
= (wxColour
*) 0 ;
32810 PyObject
*swig_obj
[2] ;
32812 if (!SWIG_Python_UnpackTuple(args
,"VisualAttributes_colBg_set",2,2,swig_obj
)) SWIG_fail
;
32813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, 0 | 0 );
32814 if (!SWIG_IsOK(res1
)) {
32815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VisualAttributes_colBg_set" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
32817 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
32818 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxColour
, 0 | 0 );
32819 if (!SWIG_IsOK(res2
)) {
32820 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VisualAttributes_colBg_set" "', expected argument " "2"" of type '" "wxColour *""'");
32822 arg2
= reinterpret_cast< wxColour
* >(argp2
);
32823 if (arg1
) (arg1
)->colBg
= *arg2
;
32825 resultobj
= SWIG_Py_Void();
32832 SWIGINTERN PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32833 PyObject
*resultobj
= 0;
32834 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
32835 wxColour
*result
= 0 ;
32838 PyObject
*swig_obj
[1] ;
32840 if (!args
) SWIG_fail
;
32841 swig_obj
[0] = args
;
32842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, 0 | 0 );
32843 if (!SWIG_IsOK(res1
)) {
32844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VisualAttributes_colBg_get" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
32846 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
32847 result
= (wxColour
*)& ((arg1
)->colBg
);
32848 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
32855 SWIGINTERN PyObject
*VisualAttributes_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32857 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32858 SWIG_TypeNewClientData(SWIGTYPE_p_wxVisualAttributes
, SWIG_NewClientData(obj
));
32859 return SWIG_Py_Void();
32862 SWIGINTERN PyObject
*VisualAttributes_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32863 return SWIG_Python_InitShadowInstance(args
);
32866 SWIGINTERN PyObject
*_wrap_new_Window(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32867 PyObject
*resultobj
= 0;
32868 wxWindow
*arg1
= (wxWindow
*) 0 ;
32869 int arg2
= (int) (int)-1 ;
32870 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32871 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32872 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32873 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32874 long arg5
= (long) 0 ;
32875 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
32876 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
32877 wxWindow
*result
= 0 ;
32886 bool temp6
= false ;
32887 PyObject
* obj0
= 0 ;
32888 PyObject
* obj1
= 0 ;
32889 PyObject
* obj2
= 0 ;
32890 PyObject
* obj3
= 0 ;
32891 PyObject
* obj4
= 0 ;
32892 PyObject
* obj5
= 0 ;
32893 char * kwnames
[] = {
32894 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
32897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
32898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32899 if (!SWIG_IsOK(res1
)) {
32900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Window" "', expected argument " "1"" of type '" "wxWindow *""'");
32902 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32904 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32905 if (!SWIG_IsOK(ecode2
)) {
32906 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Window" "', expected argument " "2"" of type '" "int""'");
32908 arg2
= static_cast< int >(val2
);
32913 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32919 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32923 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
32924 if (!SWIG_IsOK(ecode5
)) {
32925 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Window" "', expected argument " "5"" of type '" "long""'");
32927 arg5
= static_cast< long >(val5
);
32931 arg6
= wxString_in_helper(obj5
);
32932 if (arg6
== NULL
) SWIG_fail
;
32937 if (!wxPyCheckForApp()) SWIG_fail
;
32938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32939 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
32940 wxPyEndAllowThreads(__tstate
);
32941 if (PyErr_Occurred()) SWIG_fail
;
32943 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindow
, SWIG_POINTER_NEW
| 0 );
32958 SWIGINTERN PyObject
*_wrap_new_PreWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32959 PyObject
*resultobj
= 0;
32960 wxWindow
*result
= 0 ;
32962 if (!SWIG_Python_UnpackTuple(args
,"new_PreWindow",0,0,0)) SWIG_fail
;
32964 if (!wxPyCheckForApp()) SWIG_fail
;
32965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32966 result
= (wxWindow
*)new wxWindow();
32967 wxPyEndAllowThreads(__tstate
);
32968 if (PyErr_Occurred()) SWIG_fail
;
32970 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindow
, SWIG_POINTER_OWN
| 0 );
32977 SWIGINTERN PyObject
*_wrap_Window_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32978 PyObject
*resultobj
= 0;
32979 wxWindow
*arg1
= (wxWindow
*) 0 ;
32980 wxWindow
*arg2
= (wxWindow
*) 0 ;
32981 int arg3
= (int) (int)-1 ;
32982 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32983 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32984 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32985 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32986 long arg6
= (long) 0 ;
32987 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
32988 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33000 bool temp7
= false ;
33001 PyObject
* obj0
= 0 ;
33002 PyObject
* obj1
= 0 ;
33003 PyObject
* obj2
= 0 ;
33004 PyObject
* obj3
= 0 ;
33005 PyObject
* obj4
= 0 ;
33006 PyObject
* obj5
= 0 ;
33007 PyObject
* obj6
= 0 ;
33008 char * kwnames
[] = {
33009 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
33012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33014 if (!SWIG_IsOK(res1
)) {
33015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
33017 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33018 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33019 if (!SWIG_IsOK(res2
)) {
33020 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
33022 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33024 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33025 if (!SWIG_IsOK(ecode3
)) {
33026 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_Create" "', expected argument " "3"" of type '" "int""'");
33028 arg3
= static_cast< int >(val3
);
33033 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33039 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33043 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
33044 if (!SWIG_IsOK(ecode6
)) {
33045 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Window_Create" "', expected argument " "6"" of type '" "long""'");
33047 arg6
= static_cast< long >(val6
);
33051 arg7
= wxString_in_helper(obj6
);
33052 if (arg7
== NULL
) SWIG_fail
;
33057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33058 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
33059 wxPyEndAllowThreads(__tstate
);
33060 if (PyErr_Occurred()) SWIG_fail
;
33063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33079 SWIGINTERN PyObject
*_wrap_Window_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33080 PyObject
*resultobj
= 0;
33081 wxWindow
*arg1
= (wxWindow
*) 0 ;
33082 bool arg2
= (bool) false ;
33088 PyObject
* obj0
= 0 ;
33089 PyObject
* obj1
= 0 ;
33090 char * kwnames
[] = {
33091 (char *) "self",(char *) "force", NULL
33094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33096 if (!SWIG_IsOK(res1
)) {
33097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Close" "', expected argument " "1"" of type '" "wxWindow *""'");
33099 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33101 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33102 if (!SWIG_IsOK(ecode2
)) {
33103 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_Close" "', expected argument " "2"" of type '" "bool""'");
33105 arg2
= static_cast< bool >(val2
);
33108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33109 result
= (bool)(arg1
)->Close(arg2
);
33110 wxPyEndAllowThreads(__tstate
);
33111 if (PyErr_Occurred()) SWIG_fail
;
33114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33122 SWIGINTERN PyObject
*_wrap_Window_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33123 PyObject
*resultobj
= 0;
33124 wxWindow
*arg1
= (wxWindow
*) 0 ;
33128 PyObject
*swig_obj
[1] ;
33130 if (!args
) SWIG_fail
;
33131 swig_obj
[0] = args
;
33132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33133 if (!SWIG_IsOK(res1
)) {
33134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Destroy" "', expected argument " "1"" of type '" "wxWindow *""'");
33136 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33139 result
= (bool)(arg1
)->Destroy();
33140 wxPyEndAllowThreads(__tstate
);
33141 if (PyErr_Occurred()) SWIG_fail
;
33144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33152 SWIGINTERN PyObject
*_wrap_Window_DestroyChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33153 PyObject
*resultobj
= 0;
33154 wxWindow
*arg1
= (wxWindow
*) 0 ;
33158 PyObject
*swig_obj
[1] ;
33160 if (!args
) SWIG_fail
;
33161 swig_obj
[0] = args
;
33162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33163 if (!SWIG_IsOK(res1
)) {
33164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_DestroyChildren" "', expected argument " "1"" of type '" "wxWindow *""'");
33166 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33169 result
= (bool)(arg1
)->DestroyChildren();
33170 wxPyEndAllowThreads(__tstate
);
33171 if (PyErr_Occurred()) SWIG_fail
;
33174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33182 SWIGINTERN PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33183 PyObject
*resultobj
= 0;
33184 wxWindow
*arg1
= (wxWindow
*) 0 ;
33188 PyObject
*swig_obj
[1] ;
33190 if (!args
) SWIG_fail
;
33191 swig_obj
[0] = args
;
33192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33193 if (!SWIG_IsOK(res1
)) {
33194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsBeingDeleted" "', expected argument " "1"" of type '" "wxWindow const *""'");
33196 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33199 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
33200 wxPyEndAllowThreads(__tstate
);
33201 if (PyErr_Occurred()) SWIG_fail
;
33204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33212 SWIGINTERN PyObject
*_wrap_Window_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33213 PyObject
*resultobj
= 0;
33214 wxWindow
*arg1
= (wxWindow
*) 0 ;
33215 wxString
*arg2
= 0 ;
33218 bool temp2
= false ;
33219 PyObject
* obj0
= 0 ;
33220 PyObject
* obj1
= 0 ;
33221 char * kwnames
[] = {
33222 (char *) "self",(char *) "label", NULL
33225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33227 if (!SWIG_IsOK(res1
)) {
33228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetLabel" "', expected argument " "1"" of type '" "wxWindow *""'");
33230 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33232 arg2
= wxString_in_helper(obj1
);
33233 if (arg2
== NULL
) SWIG_fail
;
33237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33238 (arg1
)->SetLabel((wxString
const &)*arg2
);
33239 wxPyEndAllowThreads(__tstate
);
33240 if (PyErr_Occurred()) SWIG_fail
;
33242 resultobj
= SWIG_Py_Void();
33257 SWIGINTERN PyObject
*_wrap_Window_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33258 PyObject
*resultobj
= 0;
33259 wxWindow
*arg1
= (wxWindow
*) 0 ;
33263 PyObject
*swig_obj
[1] ;
33265 if (!args
) SWIG_fail
;
33266 swig_obj
[0] = args
;
33267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33268 if (!SWIG_IsOK(res1
)) {
33269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetLabel" "', expected argument " "1"" of type '" "wxWindow const *""'");
33271 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33274 result
= ((wxWindow
const *)arg1
)->GetLabel();
33275 wxPyEndAllowThreads(__tstate
);
33276 if (PyErr_Occurred()) SWIG_fail
;
33280 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33282 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33291 SWIGINTERN PyObject
*_wrap_Window_SetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33292 PyObject
*resultobj
= 0;
33293 wxWindow
*arg1
= (wxWindow
*) 0 ;
33294 wxString
*arg2
= 0 ;
33297 bool temp2
= false ;
33298 PyObject
* obj0
= 0 ;
33299 PyObject
* obj1
= 0 ;
33300 char * kwnames
[] = {
33301 (char *) "self",(char *) "name", NULL
33304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33306 if (!SWIG_IsOK(res1
)) {
33307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetName" "', expected argument " "1"" of type '" "wxWindow *""'");
33309 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33311 arg2
= wxString_in_helper(obj1
);
33312 if (arg2
== NULL
) SWIG_fail
;
33316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33317 (arg1
)->SetName((wxString
const &)*arg2
);
33318 wxPyEndAllowThreads(__tstate
);
33319 if (PyErr_Occurred()) SWIG_fail
;
33321 resultobj
= SWIG_Py_Void();
33336 SWIGINTERN PyObject
*_wrap_Window_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33337 PyObject
*resultobj
= 0;
33338 wxWindow
*arg1
= (wxWindow
*) 0 ;
33342 PyObject
*swig_obj
[1] ;
33344 if (!args
) SWIG_fail
;
33345 swig_obj
[0] = args
;
33346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33347 if (!SWIG_IsOK(res1
)) {
33348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetName" "', expected argument " "1"" of type '" "wxWindow const *""'");
33350 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33353 result
= ((wxWindow
const *)arg1
)->GetName();
33354 wxPyEndAllowThreads(__tstate
);
33355 if (PyErr_Occurred()) SWIG_fail
;
33359 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33361 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33370 SWIGINTERN PyObject
*_wrap_Window_SetWindowVariant(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33371 PyObject
*resultobj
= 0;
33372 wxWindow
*arg1
= (wxWindow
*) 0 ;
33373 wxWindowVariant arg2
;
33378 PyObject
* obj0
= 0 ;
33379 PyObject
* obj1
= 0 ;
33380 char * kwnames
[] = {
33381 (char *) "self",(char *) "variant", NULL
33384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33386 if (!SWIG_IsOK(res1
)) {
33387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetWindowVariant" "', expected argument " "1"" of type '" "wxWindow *""'");
33389 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33390 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33391 if (!SWIG_IsOK(ecode2
)) {
33392 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetWindowVariant" "', expected argument " "2"" of type '" "wxWindowVariant""'");
33394 arg2
= static_cast< wxWindowVariant
>(val2
);
33396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33397 (arg1
)->SetWindowVariant(arg2
);
33398 wxPyEndAllowThreads(__tstate
);
33399 if (PyErr_Occurred()) SWIG_fail
;
33401 resultobj
= SWIG_Py_Void();
33408 SWIGINTERN PyObject
*_wrap_Window_GetWindowVariant(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33409 PyObject
*resultobj
= 0;
33410 wxWindow
*arg1
= (wxWindow
*) 0 ;
33411 wxWindowVariant result
;
33414 PyObject
*swig_obj
[1] ;
33416 if (!args
) SWIG_fail
;
33417 swig_obj
[0] = args
;
33418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33419 if (!SWIG_IsOK(res1
)) {
33420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetWindowVariant" "', expected argument " "1"" of type '" "wxWindow const *""'");
33422 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33425 result
= (wxWindowVariant
)((wxWindow
const *)arg1
)->GetWindowVariant();
33426 wxPyEndAllowThreads(__tstate
);
33427 if (PyErr_Occurred()) SWIG_fail
;
33429 resultobj
= SWIG_From_int(static_cast< int >(result
));
33436 SWIGINTERN PyObject
*_wrap_Window_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33437 PyObject
*resultobj
= 0;
33438 wxWindow
*arg1
= (wxWindow
*) 0 ;
33444 PyObject
* obj0
= 0 ;
33445 PyObject
* obj1
= 0 ;
33446 char * kwnames
[] = {
33447 (char *) "self",(char *) "winid", NULL
33450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33452 if (!SWIG_IsOK(res1
)) {
33453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetId" "', expected argument " "1"" of type '" "wxWindow *""'");
33455 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33456 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33457 if (!SWIG_IsOK(ecode2
)) {
33458 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetId" "', expected argument " "2"" of type '" "int""'");
33460 arg2
= static_cast< int >(val2
);
33462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33463 (arg1
)->SetId(arg2
);
33464 wxPyEndAllowThreads(__tstate
);
33465 if (PyErr_Occurred()) SWIG_fail
;
33467 resultobj
= SWIG_Py_Void();
33474 SWIGINTERN PyObject
*_wrap_Window_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33475 PyObject
*resultobj
= 0;
33476 wxWindow
*arg1
= (wxWindow
*) 0 ;
33480 PyObject
*swig_obj
[1] ;
33482 if (!args
) SWIG_fail
;
33483 swig_obj
[0] = args
;
33484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33485 if (!SWIG_IsOK(res1
)) {
33486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetId" "', expected argument " "1"" of type '" "wxWindow const *""'");
33488 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33491 result
= (int)((wxWindow
const *)arg1
)->GetId();
33492 wxPyEndAllowThreads(__tstate
);
33493 if (PyErr_Occurred()) SWIG_fail
;
33495 resultobj
= SWIG_From_int(static_cast< int >(result
));
33502 SWIGINTERN PyObject
*_wrap_Window_NewControlId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33503 PyObject
*resultobj
= 0;
33506 if (!SWIG_Python_UnpackTuple(args
,"Window_NewControlId",0,0,0)) SWIG_fail
;
33508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33509 result
= (int)wxWindow::NewControlId();
33510 wxPyEndAllowThreads(__tstate
);
33511 if (PyErr_Occurred()) SWIG_fail
;
33513 resultobj
= SWIG_From_int(static_cast< int >(result
));
33520 SWIGINTERN PyObject
*_wrap_Window_NextControlId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33521 PyObject
*resultobj
= 0;
33526 PyObject
* obj0
= 0 ;
33527 char * kwnames
[] = {
33528 (char *) "winid", NULL
33531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) SWIG_fail
;
33532 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33533 if (!SWIG_IsOK(ecode1
)) {
33534 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Window_NextControlId" "', expected argument " "1"" of type '" "int""'");
33536 arg1
= static_cast< int >(val1
);
33538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33539 result
= (int)wxWindow::NextControlId(arg1
);
33540 wxPyEndAllowThreads(__tstate
);
33541 if (PyErr_Occurred()) SWIG_fail
;
33543 resultobj
= SWIG_From_int(static_cast< int >(result
));
33550 SWIGINTERN PyObject
*_wrap_Window_PrevControlId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33551 PyObject
*resultobj
= 0;
33556 PyObject
* obj0
= 0 ;
33557 char * kwnames
[] = {
33558 (char *) "winid", NULL
33561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) SWIG_fail
;
33562 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33563 if (!SWIG_IsOK(ecode1
)) {
33564 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Window_PrevControlId" "', expected argument " "1"" of type '" "int""'");
33566 arg1
= static_cast< int >(val1
);
33568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33569 result
= (int)wxWindow::PrevControlId(arg1
);
33570 wxPyEndAllowThreads(__tstate
);
33571 if (PyErr_Occurred()) SWIG_fail
;
33573 resultobj
= SWIG_From_int(static_cast< int >(result
));
33580 SWIGINTERN PyObject
*_wrap_Window_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33581 PyObject
*resultobj
= 0;
33582 wxWindow
*arg1
= (wxWindow
*) 0 ;
33583 wxLayoutDirection result
;
33586 PyObject
*swig_obj
[1] ;
33588 if (!args
) SWIG_fail
;
33589 swig_obj
[0] = args
;
33590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33591 if (!SWIG_IsOK(res1
)) {
33592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetLayoutDirection" "', expected argument " "1"" of type '" "wxWindow const *""'");
33594 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33597 result
= (wxLayoutDirection
)((wxWindow
const *)arg1
)->GetLayoutDirection();
33598 wxPyEndAllowThreads(__tstate
);
33599 if (PyErr_Occurred()) SWIG_fail
;
33601 resultobj
= SWIG_From_int(static_cast< int >(result
));
33608 SWIGINTERN PyObject
*_wrap_Window_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33609 PyObject
*resultobj
= 0;
33610 wxWindow
*arg1
= (wxWindow
*) 0 ;
33611 wxLayoutDirection arg2
;
33616 PyObject
* obj0
= 0 ;
33617 PyObject
* obj1
= 0 ;
33618 char * kwnames
[] = {
33619 (char *) "self",(char *) "dir", NULL
33622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33624 if (!SWIG_IsOK(res1
)) {
33625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetLayoutDirection" "', expected argument " "1"" of type '" "wxWindow *""'");
33627 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33628 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33629 if (!SWIG_IsOK(ecode2
)) {
33630 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
33632 arg2
= static_cast< wxLayoutDirection
>(val2
);
33634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33635 (arg1
)->SetLayoutDirection(arg2
);
33636 wxPyEndAllowThreads(__tstate
);
33637 if (PyErr_Occurred()) SWIG_fail
;
33639 resultobj
= SWIG_Py_Void();
33646 SWIGINTERN PyObject
*_wrap_Window_AdjustForLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33647 PyObject
*resultobj
= 0;
33648 wxWindow
*arg1
= (wxWindow
*) 0 ;
33661 PyObject
* obj0
= 0 ;
33662 PyObject
* obj1
= 0 ;
33663 PyObject
* obj2
= 0 ;
33664 PyObject
* obj3
= 0 ;
33665 char * kwnames
[] = {
33666 (char *) "self",(char *) "x",(char *) "width",(char *) "widthTotal", NULL
33669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_AdjustForLayoutDirection",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33671 if (!SWIG_IsOK(res1
)) {
33672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_AdjustForLayoutDirection" "', expected argument " "1"" of type '" "wxWindow const *""'");
33674 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33675 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33676 if (!SWIG_IsOK(ecode2
)) {
33677 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_AdjustForLayoutDirection" "', expected argument " "2"" of type '" "int""'");
33679 arg2
= static_cast< int >(val2
);
33680 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33681 if (!SWIG_IsOK(ecode3
)) {
33682 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_AdjustForLayoutDirection" "', expected argument " "3"" of type '" "int""'");
33684 arg3
= static_cast< int >(val3
);
33685 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33686 if (!SWIG_IsOK(ecode4
)) {
33687 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_AdjustForLayoutDirection" "', expected argument " "4"" of type '" "int""'");
33689 arg4
= static_cast< int >(val4
);
33691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33692 result
= (int)((wxWindow
const *)arg1
)->AdjustForLayoutDirection(arg2
,arg3
,arg4
);
33693 wxPyEndAllowThreads(__tstate
);
33694 if (PyErr_Occurred()) SWIG_fail
;
33696 resultobj
= SWIG_From_int(static_cast< int >(result
));
33703 SWIGINTERN PyObject
*_wrap_Window_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33704 PyObject
*resultobj
= 0;
33705 wxWindow
*arg1
= (wxWindow
*) 0 ;
33710 PyObject
* obj0
= 0 ;
33711 PyObject
* obj1
= 0 ;
33712 char * kwnames
[] = {
33713 (char *) "self",(char *) "size", NULL
33716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33718 if (!SWIG_IsOK(res1
)) {
33719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetSize" "', expected argument " "1"" of type '" "wxWindow *""'");
33721 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33724 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
33727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33728 (arg1
)->SetSize((wxSize
const &)*arg2
);
33729 wxPyEndAllowThreads(__tstate
);
33730 if (PyErr_Occurred()) SWIG_fail
;
33732 resultobj
= SWIG_Py_Void();
33739 SWIGINTERN PyObject
*_wrap_Window_SetDimensions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33740 PyObject
*resultobj
= 0;
33741 wxWindow
*arg1
= (wxWindow
*) 0 ;
33746 int arg6
= (int) wxSIZE_AUTO
;
33759 PyObject
* obj0
= 0 ;
33760 PyObject
* obj1
= 0 ;
33761 PyObject
* obj2
= 0 ;
33762 PyObject
* obj3
= 0 ;
33763 PyObject
* obj4
= 0 ;
33764 PyObject
* obj5
= 0 ;
33765 char * kwnames
[] = {
33766 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
33769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
33770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33771 if (!SWIG_IsOK(res1
)) {
33772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetDimensions" "', expected argument " "1"" of type '" "wxWindow *""'");
33774 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33775 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33776 if (!SWIG_IsOK(ecode2
)) {
33777 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetDimensions" "', expected argument " "2"" of type '" "int""'");
33779 arg2
= static_cast< int >(val2
);
33780 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33781 if (!SWIG_IsOK(ecode3
)) {
33782 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetDimensions" "', expected argument " "3"" of type '" "int""'");
33784 arg3
= static_cast< int >(val3
);
33785 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33786 if (!SWIG_IsOK(ecode4
)) {
33787 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_SetDimensions" "', expected argument " "4"" of type '" "int""'");
33789 arg4
= static_cast< int >(val4
);
33790 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33791 if (!SWIG_IsOK(ecode5
)) {
33792 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Window_SetDimensions" "', expected argument " "5"" of type '" "int""'");
33794 arg5
= static_cast< int >(val5
);
33796 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
33797 if (!SWIG_IsOK(ecode6
)) {
33798 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Window_SetDimensions" "', expected argument " "6"" of type '" "int""'");
33800 arg6
= static_cast< int >(val6
);
33803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33804 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
33805 wxPyEndAllowThreads(__tstate
);
33806 if (PyErr_Occurred()) SWIG_fail
;
33808 resultobj
= SWIG_Py_Void();
33815 SWIGINTERN PyObject
*_wrap_Window_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33816 PyObject
*resultobj
= 0;
33817 wxWindow
*arg1
= (wxWindow
*) 0 ;
33819 int arg3
= (int) wxSIZE_AUTO
;
33825 PyObject
* obj0
= 0 ;
33826 PyObject
* obj1
= 0 ;
33827 PyObject
* obj2
= 0 ;
33828 char * kwnames
[] = {
33829 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
33832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) 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_SetRect" "', expected argument " "1"" of type '" "wxWindow *""'");
33837 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33840 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33843 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33844 if (!SWIG_IsOK(ecode3
)) {
33845 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetRect" "', expected argument " "3"" of type '" "int""'");
33847 arg3
= static_cast< int >(val3
);
33850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33851 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
33852 wxPyEndAllowThreads(__tstate
);
33853 if (PyErr_Occurred()) SWIG_fail
;
33855 resultobj
= SWIG_Py_Void();
33862 SWIGINTERN PyObject
*_wrap_Window_SetSizeWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33863 PyObject
*resultobj
= 0;
33864 wxWindow
*arg1
= (wxWindow
*) 0 ;
33873 PyObject
* obj0
= 0 ;
33874 PyObject
* obj1
= 0 ;
33875 PyObject
* obj2
= 0 ;
33876 char * kwnames
[] = {
33877 (char *) "self",(char *) "width",(char *) "height", NULL
33880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33882 if (!SWIG_IsOK(res1
)) {
33883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetSizeWH" "', expected argument " "1"" of type '" "wxWindow *""'");
33885 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33886 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33887 if (!SWIG_IsOK(ecode2
)) {
33888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetSizeWH" "', expected argument " "2"" of type '" "int""'");
33890 arg2
= static_cast< int >(val2
);
33891 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33892 if (!SWIG_IsOK(ecode3
)) {
33893 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetSizeWH" "', expected argument " "3"" of type '" "int""'");
33895 arg3
= static_cast< int >(val3
);
33897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33898 (arg1
)->SetSize(arg2
,arg3
);
33899 wxPyEndAllowThreads(__tstate
);
33900 if (PyErr_Occurred()) SWIG_fail
;
33902 resultobj
= SWIG_Py_Void();
33909 SWIGINTERN PyObject
*_wrap_Window_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33910 PyObject
*resultobj
= 0;
33911 wxWindow
*arg1
= (wxWindow
*) 0 ;
33912 wxPoint
*arg2
= 0 ;
33913 int arg3
= (int) wxSIZE_USE_EXISTING
;
33919 PyObject
* obj0
= 0 ;
33920 PyObject
* obj1
= 0 ;
33921 PyObject
* obj2
= 0 ;
33922 char * kwnames
[] = {
33923 (char *) "self",(char *) "pt",(char *) "flags", NULL
33926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33928 if (!SWIG_IsOK(res1
)) {
33929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Move" "', expected argument " "1"" of type '" "wxWindow *""'");
33931 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33934 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33937 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33938 if (!SWIG_IsOK(ecode3
)) {
33939 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_Move" "', expected argument " "3"" of type '" "int""'");
33941 arg3
= static_cast< int >(val3
);
33944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33945 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
33946 wxPyEndAllowThreads(__tstate
);
33947 if (PyErr_Occurred()) SWIG_fail
;
33949 resultobj
= SWIG_Py_Void();
33956 SWIGINTERN PyObject
*_wrap_Window_MoveXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33957 PyObject
*resultobj
= 0;
33958 wxWindow
*arg1
= (wxWindow
*) 0 ;
33961 int arg4
= (int) wxSIZE_USE_EXISTING
;
33970 PyObject
* obj0
= 0 ;
33971 PyObject
* obj1
= 0 ;
33972 PyObject
* obj2
= 0 ;
33973 PyObject
* obj3
= 0 ;
33974 char * kwnames
[] = {
33975 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
33978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33980 if (!SWIG_IsOK(res1
)) {
33981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_MoveXY" "', expected argument " "1"" of type '" "wxWindow *""'");
33983 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33984 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33985 if (!SWIG_IsOK(ecode2
)) {
33986 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_MoveXY" "', expected argument " "2"" of type '" "int""'");
33988 arg2
= static_cast< int >(val2
);
33989 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33990 if (!SWIG_IsOK(ecode3
)) {
33991 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_MoveXY" "', expected argument " "3"" of type '" "int""'");
33993 arg3
= static_cast< int >(val3
);
33995 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33996 if (!SWIG_IsOK(ecode4
)) {
33997 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_MoveXY" "', expected argument " "4"" of type '" "int""'");
33999 arg4
= static_cast< int >(val4
);
34002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34003 (arg1
)->Move(arg2
,arg3
,arg4
);
34004 wxPyEndAllowThreads(__tstate
);
34005 if (PyErr_Occurred()) SWIG_fail
;
34007 resultobj
= SWIG_Py_Void();
34014 SWIGINTERN PyObject
*_wrap_Window_SetInitialSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34015 PyObject
*resultobj
= 0;
34016 wxWindow
*arg1
= (wxWindow
*) 0 ;
34017 wxSize
const &arg2_defvalue
= wxDefaultSize
;
34018 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
34022 PyObject
* obj0
= 0 ;
34023 PyObject
* obj1
= 0 ;
34024 char * kwnames
[] = {
34025 (char *) "self",(char *) "size", NULL
34028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetInitialSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34030 if (!SWIG_IsOK(res1
)) {
34031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetInitialSize" "', expected argument " "1"" of type '" "wxWindow *""'");
34033 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34037 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
34041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34042 (arg1
)->SetInitialSize((wxSize
const &)*arg2
);
34043 wxPyEndAllowThreads(__tstate
);
34044 if (PyErr_Occurred()) SWIG_fail
;
34046 resultobj
= SWIG_Py_Void();
34053 SWIGINTERN PyObject
*_wrap_Window_Raise(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34054 PyObject
*resultobj
= 0;
34055 wxWindow
*arg1
= (wxWindow
*) 0 ;
34058 PyObject
*swig_obj
[1] ;
34060 if (!args
) SWIG_fail
;
34061 swig_obj
[0] = args
;
34062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34063 if (!SWIG_IsOK(res1
)) {
34064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Raise" "', expected argument " "1"" of type '" "wxWindow *""'");
34066 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34070 wxPyEndAllowThreads(__tstate
);
34071 if (PyErr_Occurred()) SWIG_fail
;
34073 resultobj
= SWIG_Py_Void();
34080 SWIGINTERN PyObject
*_wrap_Window_Lower(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34081 PyObject
*resultobj
= 0;
34082 wxWindow
*arg1
= (wxWindow
*) 0 ;
34085 PyObject
*swig_obj
[1] ;
34087 if (!args
) SWIG_fail
;
34088 swig_obj
[0] = args
;
34089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34090 if (!SWIG_IsOK(res1
)) {
34091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Lower" "', expected argument " "1"" of type '" "wxWindow *""'");
34093 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34097 wxPyEndAllowThreads(__tstate
);
34098 if (PyErr_Occurred()) SWIG_fail
;
34100 resultobj
= SWIG_Py_Void();
34107 SWIGINTERN PyObject
*_wrap_Window_SetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34108 PyObject
*resultobj
= 0;
34109 wxWindow
*arg1
= (wxWindow
*) 0 ;
34114 PyObject
* obj0
= 0 ;
34115 PyObject
* obj1
= 0 ;
34116 char * kwnames
[] = {
34117 (char *) "self",(char *) "size", NULL
34120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34122 if (!SWIG_IsOK(res1
)) {
34123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetClientSize" "', expected argument " "1"" of type '" "wxWindow *""'");
34125 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34128 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
34131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34132 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
34133 wxPyEndAllowThreads(__tstate
);
34134 if (PyErr_Occurred()) SWIG_fail
;
34136 resultobj
= SWIG_Py_Void();
34143 SWIGINTERN PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34144 PyObject
*resultobj
= 0;
34145 wxWindow
*arg1
= (wxWindow
*) 0 ;
34154 PyObject
* obj0
= 0 ;
34155 PyObject
* obj1
= 0 ;
34156 PyObject
* obj2
= 0 ;
34157 char * kwnames
[] = {
34158 (char *) "self",(char *) "width",(char *) "height", NULL
34161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34163 if (!SWIG_IsOK(res1
)) {
34164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetClientSizeWH" "', expected argument " "1"" of type '" "wxWindow *""'");
34166 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34167 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34168 if (!SWIG_IsOK(ecode2
)) {
34169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetClientSizeWH" "', expected argument " "2"" of type '" "int""'");
34171 arg2
= static_cast< int >(val2
);
34172 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34173 if (!SWIG_IsOK(ecode3
)) {
34174 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetClientSizeWH" "', expected argument " "3"" of type '" "int""'");
34176 arg3
= static_cast< int >(val3
);
34178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34179 (arg1
)->SetClientSize(arg2
,arg3
);
34180 wxPyEndAllowThreads(__tstate
);
34181 if (PyErr_Occurred()) SWIG_fail
;
34183 resultobj
= SWIG_Py_Void();
34190 SWIGINTERN PyObject
*_wrap_Window_SetClientRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34191 PyObject
*resultobj
= 0;
34192 wxWindow
*arg1
= (wxWindow
*) 0 ;
34197 PyObject
* obj0
= 0 ;
34198 PyObject
* obj1
= 0 ;
34199 char * kwnames
[] = {
34200 (char *) "self",(char *) "rect", NULL
34203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34205 if (!SWIG_IsOK(res1
)) {
34206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetClientRect" "', expected argument " "1"" of type '" "wxWindow *""'");
34208 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34211 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
34214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34215 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
34216 wxPyEndAllowThreads(__tstate
);
34217 if (PyErr_Occurred()) SWIG_fail
;
34219 resultobj
= SWIG_Py_Void();
34226 SWIGINTERN PyObject
*_wrap_Window_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34227 PyObject
*resultobj
= 0;
34228 wxWindow
*arg1
= (wxWindow
*) 0 ;
34232 PyObject
*swig_obj
[1] ;
34234 if (!args
) SWIG_fail
;
34235 swig_obj
[0] = args
;
34236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34237 if (!SWIG_IsOK(res1
)) {
34238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetPosition" "', expected argument " "1"" of type '" "wxWindow const *""'");
34240 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34243 result
= ((wxWindow
const *)arg1
)->GetPosition();
34244 wxPyEndAllowThreads(__tstate
);
34245 if (PyErr_Occurred()) SWIG_fail
;
34247 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
34254 SWIGINTERN PyObject
*_wrap_Window_GetPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34255 PyObject
*resultobj
= 0;
34256 wxWindow
*arg1
= (wxWindow
*) 0 ;
34257 int *arg2
= (int *) 0 ;
34258 int *arg3
= (int *) 0 ;
34262 int res2
= SWIG_TMPOBJ
;
34264 int res3
= SWIG_TMPOBJ
;
34265 PyObject
*swig_obj
[1] ;
34269 if (!args
) SWIG_fail
;
34270 swig_obj
[0] = args
;
34271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34272 if (!SWIG_IsOK(res1
)) {
34273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetPositionTuple" "', expected argument " "1"" of type '" "wxWindow const *""'");
34275 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34278 ((wxWindow
const *)arg1
)->GetPosition(arg2
,arg3
);
34279 wxPyEndAllowThreads(__tstate
);
34280 if (PyErr_Occurred()) SWIG_fail
;
34282 resultobj
= SWIG_Py_Void();
34283 if (SWIG_IsTmpObj(res2
)) {
34284 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
34286 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
34287 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
34289 if (SWIG_IsTmpObj(res3
)) {
34290 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
34292 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
34293 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
34301 SWIGINTERN PyObject
*_wrap_Window_GetScreenPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34302 PyObject
*resultobj
= 0;
34303 wxWindow
*arg1
= (wxWindow
*) 0 ;
34307 PyObject
*swig_obj
[1] ;
34309 if (!args
) SWIG_fail
;
34310 swig_obj
[0] = args
;
34311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34312 if (!SWIG_IsOK(res1
)) {
34313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetScreenPosition" "', expected argument " "1"" of type '" "wxWindow const *""'");
34315 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34318 result
= ((wxWindow
const *)arg1
)->GetScreenPosition();
34319 wxPyEndAllowThreads(__tstate
);
34320 if (PyErr_Occurred()) SWIG_fail
;
34322 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
34329 SWIGINTERN PyObject
*_wrap_Window_GetScreenPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34330 PyObject
*resultobj
= 0;
34331 wxWindow
*arg1
= (wxWindow
*) 0 ;
34332 int *arg2
= (int *) 0 ;
34333 int *arg3
= (int *) 0 ;
34337 int res2
= SWIG_TMPOBJ
;
34339 int res3
= SWIG_TMPOBJ
;
34340 PyObject
*swig_obj
[1] ;
34344 if (!args
) SWIG_fail
;
34345 swig_obj
[0] = args
;
34346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34347 if (!SWIG_IsOK(res1
)) {
34348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetScreenPositionTuple" "', expected argument " "1"" of type '" "wxWindow const *""'");
34350 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34353 ((wxWindow
const *)arg1
)->GetScreenPosition(arg2
,arg3
);
34354 wxPyEndAllowThreads(__tstate
);
34355 if (PyErr_Occurred()) SWIG_fail
;
34357 resultobj
= SWIG_Py_Void();
34358 if (SWIG_IsTmpObj(res2
)) {
34359 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
34361 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
34362 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
34364 if (SWIG_IsTmpObj(res3
)) {
34365 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
34367 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
34368 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
34376 SWIGINTERN PyObject
*_wrap_Window_GetScreenRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34377 PyObject
*resultobj
= 0;
34378 wxWindow
*arg1
= (wxWindow
*) 0 ;
34382 PyObject
*swig_obj
[1] ;
34384 if (!args
) SWIG_fail
;
34385 swig_obj
[0] = args
;
34386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34387 if (!SWIG_IsOK(res1
)) {
34388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetScreenRect" "', expected argument " "1"" of type '" "wxWindow const *""'");
34390 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34393 result
= ((wxWindow
const *)arg1
)->GetScreenRect();
34394 wxPyEndAllowThreads(__tstate
);
34395 if (PyErr_Occurred()) SWIG_fail
;
34397 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
34404 SWIGINTERN PyObject
*_wrap_Window_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34405 PyObject
*resultobj
= 0;
34406 wxWindow
*arg1
= (wxWindow
*) 0 ;
34410 PyObject
*swig_obj
[1] ;
34412 if (!args
) SWIG_fail
;
34413 swig_obj
[0] = args
;
34414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34415 if (!SWIG_IsOK(res1
)) {
34416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
34418 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34421 result
= ((wxWindow
const *)arg1
)->GetSize();
34422 wxPyEndAllowThreads(__tstate
);
34423 if (PyErr_Occurred()) SWIG_fail
;
34425 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
34432 SWIGINTERN PyObject
*_wrap_Window_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34433 PyObject
*resultobj
= 0;
34434 wxWindow
*arg1
= (wxWindow
*) 0 ;
34435 int *arg2
= (int *) 0 ;
34436 int *arg3
= (int *) 0 ;
34440 int res2
= SWIG_TMPOBJ
;
34442 int res3
= SWIG_TMPOBJ
;
34443 PyObject
*swig_obj
[1] ;
34447 if (!args
) SWIG_fail
;
34448 swig_obj
[0] = args
;
34449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34450 if (!SWIG_IsOK(res1
)) {
34451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetSizeTuple" "', expected argument " "1"" of type '" "wxWindow const *""'");
34453 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34456 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
34457 wxPyEndAllowThreads(__tstate
);
34458 if (PyErr_Occurred()) SWIG_fail
;
34460 resultobj
= SWIG_Py_Void();
34461 if (SWIG_IsTmpObj(res2
)) {
34462 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
34464 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
34465 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
34467 if (SWIG_IsTmpObj(res3
)) {
34468 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
34470 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
34471 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
34479 SWIGINTERN PyObject
*_wrap_Window_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34480 PyObject
*resultobj
= 0;
34481 wxWindow
*arg1
= (wxWindow
*) 0 ;
34485 PyObject
*swig_obj
[1] ;
34487 if (!args
) SWIG_fail
;
34488 swig_obj
[0] = args
;
34489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34490 if (!SWIG_IsOK(res1
)) {
34491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetRect" "', expected argument " "1"" of type '" "wxWindow const *""'");
34493 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34496 result
= ((wxWindow
const *)arg1
)->GetRect();
34497 wxPyEndAllowThreads(__tstate
);
34498 if (PyErr_Occurred()) SWIG_fail
;
34500 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
34507 SWIGINTERN PyObject
*_wrap_Window_GetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34508 PyObject
*resultobj
= 0;
34509 wxWindow
*arg1
= (wxWindow
*) 0 ;
34513 PyObject
*swig_obj
[1] ;
34515 if (!args
) SWIG_fail
;
34516 swig_obj
[0] = args
;
34517 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34518 if (!SWIG_IsOK(res1
)) {
34519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetClientSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
34521 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34524 result
= ((wxWindow
const *)arg1
)->GetClientSize();
34525 wxPyEndAllowThreads(__tstate
);
34526 if (PyErr_Occurred()) SWIG_fail
;
34528 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
34535 SWIGINTERN PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34536 PyObject
*resultobj
= 0;
34537 wxWindow
*arg1
= (wxWindow
*) 0 ;
34538 int *arg2
= (int *) 0 ;
34539 int *arg3
= (int *) 0 ;
34543 int res2
= SWIG_TMPOBJ
;
34545 int res3
= SWIG_TMPOBJ
;
34546 PyObject
*swig_obj
[1] ;
34550 if (!args
) SWIG_fail
;
34551 swig_obj
[0] = args
;
34552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34553 if (!SWIG_IsOK(res1
)) {
34554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetClientSizeTuple" "', expected argument " "1"" of type '" "wxWindow const *""'");
34556 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34559 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
34560 wxPyEndAllowThreads(__tstate
);
34561 if (PyErr_Occurred()) SWIG_fail
;
34563 resultobj
= SWIG_Py_Void();
34564 if (SWIG_IsTmpObj(res2
)) {
34565 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
34567 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
34568 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
34570 if (SWIG_IsTmpObj(res3
)) {
34571 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
34573 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
34574 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
34582 SWIGINTERN PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34583 PyObject
*resultobj
= 0;
34584 wxWindow
*arg1
= (wxWindow
*) 0 ;
34588 PyObject
*swig_obj
[1] ;
34590 if (!args
) SWIG_fail
;
34591 swig_obj
[0] = args
;
34592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34593 if (!SWIG_IsOK(res1
)) {
34594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetClientAreaOrigin" "', expected argument " "1"" of type '" "wxWindow const *""'");
34596 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34599 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
34600 wxPyEndAllowThreads(__tstate
);
34601 if (PyErr_Occurred()) SWIG_fail
;
34603 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
34610 SWIGINTERN PyObject
*_wrap_Window_GetClientRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34611 PyObject
*resultobj
= 0;
34612 wxWindow
*arg1
= (wxWindow
*) 0 ;
34616 PyObject
*swig_obj
[1] ;
34618 if (!args
) SWIG_fail
;
34619 swig_obj
[0] = args
;
34620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34621 if (!SWIG_IsOK(res1
)) {
34622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetClientRect" "', expected argument " "1"" of type '" "wxWindow const *""'");
34624 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34627 result
= ((wxWindow
const *)arg1
)->GetClientRect();
34628 wxPyEndAllowThreads(__tstate
);
34629 if (PyErr_Occurred()) SWIG_fail
;
34631 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
34638 SWIGINTERN PyObject
*_wrap_Window_GetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34639 PyObject
*resultobj
= 0;
34640 wxWindow
*arg1
= (wxWindow
*) 0 ;
34644 PyObject
*swig_obj
[1] ;
34646 if (!args
) SWIG_fail
;
34647 swig_obj
[0] = args
;
34648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34649 if (!SWIG_IsOK(res1
)) {
34650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBestSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
34652 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34655 result
= ((wxWindow
const *)arg1
)->GetBestSize();
34656 wxPyEndAllowThreads(__tstate
);
34657 if (PyErr_Occurred()) SWIG_fail
;
34659 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
34666 SWIGINTERN PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34667 PyObject
*resultobj
= 0;
34668 wxWindow
*arg1
= (wxWindow
*) 0 ;
34669 int *arg2
= (int *) 0 ;
34670 int *arg3
= (int *) 0 ;
34674 int res2
= SWIG_TMPOBJ
;
34676 int res3
= SWIG_TMPOBJ
;
34677 PyObject
*swig_obj
[1] ;
34681 if (!args
) SWIG_fail
;
34682 swig_obj
[0] = args
;
34683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34684 if (!SWIG_IsOK(res1
)) {
34685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBestSizeTuple" "', expected argument " "1"" of type '" "wxWindow const *""'");
34687 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34690 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
34691 wxPyEndAllowThreads(__tstate
);
34692 if (PyErr_Occurred()) SWIG_fail
;
34694 resultobj
= SWIG_Py_Void();
34695 if (SWIG_IsTmpObj(res2
)) {
34696 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
34698 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
34699 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
34701 if (SWIG_IsTmpObj(res3
)) {
34702 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
34704 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
34705 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
34713 SWIGINTERN PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34714 PyObject
*resultobj
= 0;
34715 wxWindow
*arg1
= (wxWindow
*) 0 ;
34718 PyObject
*swig_obj
[1] ;
34720 if (!args
) SWIG_fail
;
34721 swig_obj
[0] = args
;
34722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34723 if (!SWIG_IsOK(res1
)) {
34724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_InvalidateBestSize" "', expected argument " "1"" of type '" "wxWindow *""'");
34726 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34729 (arg1
)->InvalidateBestSize();
34730 wxPyEndAllowThreads(__tstate
);
34731 if (PyErr_Occurred()) SWIG_fail
;
34733 resultobj
= SWIG_Py_Void();
34740 SWIGINTERN PyObject
*_wrap_Window_CacheBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34741 PyObject
*resultobj
= 0;
34742 wxWindow
*arg1
= (wxWindow
*) 0 ;
34747 PyObject
* obj0
= 0 ;
34748 PyObject
* obj1
= 0 ;
34749 char * kwnames
[] = {
34750 (char *) "self",(char *) "size", NULL
34753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_CacheBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34755 if (!SWIG_IsOK(res1
)) {
34756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_CacheBestSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
34758 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34761 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
34764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34765 ((wxWindow
const *)arg1
)->CacheBestSize((wxSize
const &)*arg2
);
34766 wxPyEndAllowThreads(__tstate
);
34767 if (PyErr_Occurred()) SWIG_fail
;
34769 resultobj
= SWIG_Py_Void();
34776 SWIGINTERN PyObject
*_wrap_Window_GetEffectiveMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34777 PyObject
*resultobj
= 0;
34778 wxWindow
*arg1
= (wxWindow
*) 0 ;
34782 PyObject
*swig_obj
[1] ;
34784 if (!args
) SWIG_fail
;
34785 swig_obj
[0] = args
;
34786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34787 if (!SWIG_IsOK(res1
)) {
34788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetEffectiveMinSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
34790 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34793 result
= ((wxWindow
const *)arg1
)->GetEffectiveMinSize();
34794 wxPyEndAllowThreads(__tstate
);
34795 if (PyErr_Occurred()) SWIG_fail
;
34797 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
34804 SWIGINTERN PyObject
*_wrap_Window_Center(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34805 PyObject
*resultobj
= 0;
34806 wxWindow
*arg1
= (wxWindow
*) 0 ;
34807 int arg2
= (int) wxBOTH
;
34812 PyObject
* obj0
= 0 ;
34813 PyObject
* obj1
= 0 ;
34814 char * kwnames
[] = {
34815 (char *) "self",(char *) "direction", NULL
34818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34820 if (!SWIG_IsOK(res1
)) {
34821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Center" "', expected argument " "1"" of type '" "wxWindow *""'");
34823 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34825 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34826 if (!SWIG_IsOK(ecode2
)) {
34827 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_Center" "', expected argument " "2"" of type '" "int""'");
34829 arg2
= static_cast< int >(val2
);
34832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34833 (arg1
)->Center(arg2
);
34834 wxPyEndAllowThreads(__tstate
);
34835 if (PyErr_Occurred()) SWIG_fail
;
34837 resultobj
= SWIG_Py_Void();
34844 SWIGINTERN PyObject
*_wrap_Window_CenterOnParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34845 PyObject
*resultobj
= 0;
34846 wxWindow
*arg1
= (wxWindow
*) 0 ;
34847 int arg2
= (int) wxBOTH
;
34852 PyObject
* obj0
= 0 ;
34853 PyObject
* obj1
= 0 ;
34854 char * kwnames
[] = {
34855 (char *) "self",(char *) "dir", NULL
34858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34860 if (!SWIG_IsOK(res1
)) {
34861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_CenterOnParent" "', expected argument " "1"" of type '" "wxWindow *""'");
34863 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34865 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34866 if (!SWIG_IsOK(ecode2
)) {
34867 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_CenterOnParent" "', expected argument " "2"" of type '" "int""'");
34869 arg2
= static_cast< int >(val2
);
34872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34873 (arg1
)->CenterOnParent(arg2
);
34874 wxPyEndAllowThreads(__tstate
);
34875 if (PyErr_Occurred()) SWIG_fail
;
34877 resultobj
= SWIG_Py_Void();
34884 SWIGINTERN PyObject
*_wrap_Window_Fit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34885 PyObject
*resultobj
= 0;
34886 wxWindow
*arg1
= (wxWindow
*) 0 ;
34889 PyObject
*swig_obj
[1] ;
34891 if (!args
) SWIG_fail
;
34892 swig_obj
[0] = args
;
34893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34894 if (!SWIG_IsOK(res1
)) {
34895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Fit" "', expected argument " "1"" of type '" "wxWindow *""'");
34897 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34901 wxPyEndAllowThreads(__tstate
);
34902 if (PyErr_Occurred()) SWIG_fail
;
34904 resultobj
= SWIG_Py_Void();
34911 SWIGINTERN PyObject
*_wrap_Window_FitInside(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34912 PyObject
*resultobj
= 0;
34913 wxWindow
*arg1
= (wxWindow
*) 0 ;
34916 PyObject
*swig_obj
[1] ;
34918 if (!args
) SWIG_fail
;
34919 swig_obj
[0] = args
;
34920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34921 if (!SWIG_IsOK(res1
)) {
34922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_FitInside" "', expected argument " "1"" of type '" "wxWindow *""'");
34924 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34927 (arg1
)->FitInside();
34928 wxPyEndAllowThreads(__tstate
);
34929 if (PyErr_Occurred()) SWIG_fail
;
34931 resultobj
= SWIG_Py_Void();
34938 SWIGINTERN PyObject
*_wrap_Window_SetSizeHints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34939 PyObject
*resultobj
= 0;
34940 wxWindow
*arg1
= (wxWindow
*) 0 ;
34943 int arg4
= (int) -1 ;
34944 int arg5
= (int) -1 ;
34945 int arg6
= (int) -1 ;
34946 int arg7
= (int) -1 ;
34961 PyObject
* obj0
= 0 ;
34962 PyObject
* obj1
= 0 ;
34963 PyObject
* obj2
= 0 ;
34964 PyObject
* obj3
= 0 ;
34965 PyObject
* obj4
= 0 ;
34966 PyObject
* obj5
= 0 ;
34967 PyObject
* obj6
= 0 ;
34968 char * kwnames
[] = {
34969 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
34972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34974 if (!SWIG_IsOK(res1
)) {
34975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetSizeHints" "', expected argument " "1"" of type '" "wxWindow *""'");
34977 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34978 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34979 if (!SWIG_IsOK(ecode2
)) {
34980 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetSizeHints" "', expected argument " "2"" of type '" "int""'");
34982 arg2
= static_cast< int >(val2
);
34983 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34984 if (!SWIG_IsOK(ecode3
)) {
34985 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetSizeHints" "', expected argument " "3"" of type '" "int""'");
34987 arg3
= static_cast< int >(val3
);
34989 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34990 if (!SWIG_IsOK(ecode4
)) {
34991 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_SetSizeHints" "', expected argument " "4"" of type '" "int""'");
34993 arg4
= static_cast< int >(val4
);
34996 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34997 if (!SWIG_IsOK(ecode5
)) {
34998 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Window_SetSizeHints" "', expected argument " "5"" of type '" "int""'");
35000 arg5
= static_cast< int >(val5
);
35003 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35004 if (!SWIG_IsOK(ecode6
)) {
35005 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Window_SetSizeHints" "', expected argument " "6"" of type '" "int""'");
35007 arg6
= static_cast< int >(val6
);
35010 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
35011 if (!SWIG_IsOK(ecode7
)) {
35012 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Window_SetSizeHints" "', expected argument " "7"" of type '" "int""'");
35014 arg7
= static_cast< int >(val7
);
35017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35018 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
35019 wxPyEndAllowThreads(__tstate
);
35020 if (PyErr_Occurred()) SWIG_fail
;
35022 resultobj
= SWIG_Py_Void();
35029 SWIGINTERN PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35030 PyObject
*resultobj
= 0;
35031 wxWindow
*arg1
= (wxWindow
*) 0 ;
35033 wxSize
const &arg3_defvalue
= wxDefaultSize
;
35034 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
35035 wxSize
const &arg4_defvalue
= wxDefaultSize
;
35036 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
35042 PyObject
* obj0
= 0 ;
35043 PyObject
* obj1
= 0 ;
35044 PyObject
* obj2
= 0 ;
35045 PyObject
* obj3
= 0 ;
35046 char * kwnames
[] = {
35047 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
35050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35052 if (!SWIG_IsOK(res1
)) {
35053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetSizeHintsSz" "', expected argument " "1"" of type '" "wxWindow *""'");
35055 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35058 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
35063 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
35069 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
35073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35074 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
35075 wxPyEndAllowThreads(__tstate
);
35076 if (PyErr_Occurred()) SWIG_fail
;
35078 resultobj
= SWIG_Py_Void();
35085 SWIGINTERN PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35086 PyObject
*resultobj
= 0;
35087 wxWindow
*arg1
= (wxWindow
*) 0 ;
35090 int arg4
= (int) -1 ;
35091 int arg5
= (int) -1 ;
35102 PyObject
* obj0
= 0 ;
35103 PyObject
* obj1
= 0 ;
35104 PyObject
* obj2
= 0 ;
35105 PyObject
* obj3
= 0 ;
35106 PyObject
* obj4
= 0 ;
35107 char * kwnames
[] = {
35108 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
35111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35113 if (!SWIG_IsOK(res1
)) {
35114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetVirtualSizeHints" "', expected argument " "1"" of type '" "wxWindow *""'");
35116 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35117 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35118 if (!SWIG_IsOK(ecode2
)) {
35119 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetVirtualSizeHints" "', expected argument " "2"" of type '" "int""'");
35121 arg2
= static_cast< int >(val2
);
35122 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35123 if (!SWIG_IsOK(ecode3
)) {
35124 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetVirtualSizeHints" "', expected argument " "3"" of type '" "int""'");
35126 arg3
= static_cast< int >(val3
);
35128 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35129 if (!SWIG_IsOK(ecode4
)) {
35130 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_SetVirtualSizeHints" "', expected argument " "4"" of type '" "int""'");
35132 arg4
= static_cast< int >(val4
);
35135 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35136 if (!SWIG_IsOK(ecode5
)) {
35137 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Window_SetVirtualSizeHints" "', expected argument " "5"" of type '" "int""'");
35139 arg5
= static_cast< int >(val5
);
35142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35143 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
35144 wxPyEndAllowThreads(__tstate
);
35145 if (PyErr_Occurred()) SWIG_fail
;
35147 resultobj
= SWIG_Py_Void();
35154 SWIGINTERN PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35155 PyObject
*resultobj
= 0;
35156 wxWindow
*arg1
= (wxWindow
*) 0 ;
35158 wxSize
const &arg3_defvalue
= wxDefaultSize
;
35159 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
35164 PyObject
* obj0
= 0 ;
35165 PyObject
* obj1
= 0 ;
35166 PyObject
* obj2
= 0 ;
35167 char * kwnames
[] = {
35168 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
35171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35173 if (!SWIG_IsOK(res1
)) {
35174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetVirtualSizeHintsSz" "', expected argument " "1"" of type '" "wxWindow *""'");
35176 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35179 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
35184 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
35188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35189 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
35190 wxPyEndAllowThreads(__tstate
);
35191 if (PyErr_Occurred()) SWIG_fail
;
35193 resultobj
= SWIG_Py_Void();
35200 SWIGINTERN PyObject
*_wrap_Window_GetMaxSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35201 PyObject
*resultobj
= 0;
35202 wxWindow
*arg1
= (wxWindow
*) 0 ;
35206 PyObject
*swig_obj
[1] ;
35208 if (!args
) SWIG_fail
;
35209 swig_obj
[0] = args
;
35210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35211 if (!SWIG_IsOK(res1
)) {
35212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetMaxSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
35214 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35217 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
35218 wxPyEndAllowThreads(__tstate
);
35219 if (PyErr_Occurred()) SWIG_fail
;
35221 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
35228 SWIGINTERN PyObject
*_wrap_Window_GetMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35229 PyObject
*resultobj
= 0;
35230 wxWindow
*arg1
= (wxWindow
*) 0 ;
35234 PyObject
*swig_obj
[1] ;
35236 if (!args
) SWIG_fail
;
35237 swig_obj
[0] = args
;
35238 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35239 if (!SWIG_IsOK(res1
)) {
35240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetMinSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
35242 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35245 result
= ((wxWindow
const *)arg1
)->GetMinSize();
35246 wxPyEndAllowThreads(__tstate
);
35247 if (PyErr_Occurred()) SWIG_fail
;
35249 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
35256 SWIGINTERN PyObject
*_wrap_Window_SetMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35257 PyObject
*resultobj
= 0;
35258 wxWindow
*arg1
= (wxWindow
*) 0 ;
35263 PyObject
* obj0
= 0 ;
35264 PyObject
* obj1
= 0 ;
35265 char * kwnames
[] = {
35266 (char *) "self",(char *) "minSize", NULL
35269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35271 if (!SWIG_IsOK(res1
)) {
35272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetMinSize" "', expected argument " "1"" of type '" "wxWindow *""'");
35274 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35277 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
35280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35281 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
35282 wxPyEndAllowThreads(__tstate
);
35283 if (PyErr_Occurred()) SWIG_fail
;
35285 resultobj
= SWIG_Py_Void();
35292 SWIGINTERN PyObject
*_wrap_Window_SetMaxSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35293 PyObject
*resultobj
= 0;
35294 wxWindow
*arg1
= (wxWindow
*) 0 ;
35299 PyObject
* obj0
= 0 ;
35300 PyObject
* obj1
= 0 ;
35301 char * kwnames
[] = {
35302 (char *) "self",(char *) "maxSize", NULL
35305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35307 if (!SWIG_IsOK(res1
)) {
35308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetMaxSize" "', expected argument " "1"" of type '" "wxWindow *""'");
35310 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35313 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
35316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35317 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
35318 wxPyEndAllowThreads(__tstate
);
35319 if (PyErr_Occurred()) SWIG_fail
;
35321 resultobj
= SWIG_Py_Void();
35328 SWIGINTERN PyObject
*_wrap_Window_GetMinWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35329 PyObject
*resultobj
= 0;
35330 wxWindow
*arg1
= (wxWindow
*) 0 ;
35334 PyObject
*swig_obj
[1] ;
35336 if (!args
) SWIG_fail
;
35337 swig_obj
[0] = args
;
35338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35339 if (!SWIG_IsOK(res1
)) {
35340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetMinWidth" "', expected argument " "1"" of type '" "wxWindow const *""'");
35342 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35345 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
35346 wxPyEndAllowThreads(__tstate
);
35347 if (PyErr_Occurred()) SWIG_fail
;
35349 resultobj
= SWIG_From_int(static_cast< int >(result
));
35356 SWIGINTERN PyObject
*_wrap_Window_GetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35357 PyObject
*resultobj
= 0;
35358 wxWindow
*arg1
= (wxWindow
*) 0 ;
35362 PyObject
*swig_obj
[1] ;
35364 if (!args
) SWIG_fail
;
35365 swig_obj
[0] = args
;
35366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35367 if (!SWIG_IsOK(res1
)) {
35368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetMinHeight" "', expected argument " "1"" of type '" "wxWindow const *""'");
35370 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35373 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
35374 wxPyEndAllowThreads(__tstate
);
35375 if (PyErr_Occurred()) SWIG_fail
;
35377 resultobj
= SWIG_From_int(static_cast< int >(result
));
35384 SWIGINTERN PyObject
*_wrap_Window_GetMaxWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35385 PyObject
*resultobj
= 0;
35386 wxWindow
*arg1
= (wxWindow
*) 0 ;
35390 PyObject
*swig_obj
[1] ;
35392 if (!args
) SWIG_fail
;
35393 swig_obj
[0] = args
;
35394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35395 if (!SWIG_IsOK(res1
)) {
35396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetMaxWidth" "', expected argument " "1"" of type '" "wxWindow const *""'");
35398 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35401 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
35402 wxPyEndAllowThreads(__tstate
);
35403 if (PyErr_Occurred()) SWIG_fail
;
35405 resultobj
= SWIG_From_int(static_cast< int >(result
));
35412 SWIGINTERN PyObject
*_wrap_Window_GetMaxHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35413 PyObject
*resultobj
= 0;
35414 wxWindow
*arg1
= (wxWindow
*) 0 ;
35418 PyObject
*swig_obj
[1] ;
35420 if (!args
) SWIG_fail
;
35421 swig_obj
[0] = args
;
35422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35423 if (!SWIG_IsOK(res1
)) {
35424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetMaxHeight" "', expected argument " "1"" of type '" "wxWindow const *""'");
35426 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35429 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
35430 wxPyEndAllowThreads(__tstate
);
35431 if (PyErr_Occurred()) SWIG_fail
;
35433 resultobj
= SWIG_From_int(static_cast< int >(result
));
35440 SWIGINTERN PyObject
*_wrap_Window_SetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35441 PyObject
*resultobj
= 0;
35442 wxWindow
*arg1
= (wxWindow
*) 0 ;
35447 PyObject
* obj0
= 0 ;
35448 PyObject
* obj1
= 0 ;
35449 char * kwnames
[] = {
35450 (char *) "self",(char *) "size", NULL
35453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35455 if (!SWIG_IsOK(res1
)) {
35456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetVirtualSize" "', expected argument " "1"" of type '" "wxWindow *""'");
35458 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35461 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
35464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35465 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
35466 wxPyEndAllowThreads(__tstate
);
35467 if (PyErr_Occurred()) SWIG_fail
;
35469 resultobj
= SWIG_Py_Void();
35476 SWIGINTERN PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35477 PyObject
*resultobj
= 0;
35478 wxWindow
*arg1
= (wxWindow
*) 0 ;
35487 PyObject
* obj0
= 0 ;
35488 PyObject
* obj1
= 0 ;
35489 PyObject
* obj2
= 0 ;
35490 char * kwnames
[] = {
35491 (char *) "self",(char *) "w",(char *) "h", NULL
35494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35496 if (!SWIG_IsOK(res1
)) {
35497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetVirtualSizeWH" "', expected argument " "1"" of type '" "wxWindow *""'");
35499 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35500 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35501 if (!SWIG_IsOK(ecode2
)) {
35502 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetVirtualSizeWH" "', expected argument " "2"" of type '" "int""'");
35504 arg2
= static_cast< int >(val2
);
35505 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35506 if (!SWIG_IsOK(ecode3
)) {
35507 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetVirtualSizeWH" "', expected argument " "3"" of type '" "int""'");
35509 arg3
= static_cast< int >(val3
);
35511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35512 (arg1
)->SetVirtualSize(arg2
,arg3
);
35513 wxPyEndAllowThreads(__tstate
);
35514 if (PyErr_Occurred()) SWIG_fail
;
35516 resultobj
= SWIG_Py_Void();
35523 SWIGINTERN PyObject
*_wrap_Window_GetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35524 PyObject
*resultobj
= 0;
35525 wxWindow
*arg1
= (wxWindow
*) 0 ;
35529 PyObject
*swig_obj
[1] ;
35531 if (!args
) SWIG_fail
;
35532 swig_obj
[0] = args
;
35533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35534 if (!SWIG_IsOK(res1
)) {
35535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetVirtualSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
35537 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35540 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
35541 wxPyEndAllowThreads(__tstate
);
35542 if (PyErr_Occurred()) SWIG_fail
;
35544 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
35551 SWIGINTERN PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35552 PyObject
*resultobj
= 0;
35553 wxWindow
*arg1
= (wxWindow
*) 0 ;
35554 int *arg2
= (int *) 0 ;
35555 int *arg3
= (int *) 0 ;
35559 int res2
= SWIG_TMPOBJ
;
35561 int res3
= SWIG_TMPOBJ
;
35562 PyObject
*swig_obj
[1] ;
35566 if (!args
) SWIG_fail
;
35567 swig_obj
[0] = args
;
35568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35569 if (!SWIG_IsOK(res1
)) {
35570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetVirtualSizeTuple" "', expected argument " "1"" of type '" "wxWindow const *""'");
35572 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35575 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
35576 wxPyEndAllowThreads(__tstate
);
35577 if (PyErr_Occurred()) SWIG_fail
;
35579 resultobj
= SWIG_Py_Void();
35580 if (SWIG_IsTmpObj(res2
)) {
35581 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
35583 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
35584 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
35586 if (SWIG_IsTmpObj(res3
)) {
35587 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
35589 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
35590 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
35598 SWIGINTERN PyObject
*_wrap_Window_GetWindowBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35599 PyObject
*resultobj
= 0;
35600 wxWindow
*arg1
= (wxWindow
*) 0 ;
35604 PyObject
*swig_obj
[1] ;
35606 if (!args
) SWIG_fail
;
35607 swig_obj
[0] = args
;
35608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35609 if (!SWIG_IsOK(res1
)) {
35610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetWindowBorderSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
35612 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35615 result
= ((wxWindow
const *)arg1
)->GetWindowBorderSize();
35616 wxPyEndAllowThreads(__tstate
);
35617 if (PyErr_Occurred()) SWIG_fail
;
35619 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
35626 SWIGINTERN PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35627 PyObject
*resultobj
= 0;
35628 wxWindow
*arg1
= (wxWindow
*) 0 ;
35632 PyObject
*swig_obj
[1] ;
35634 if (!args
) SWIG_fail
;
35635 swig_obj
[0] = args
;
35636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35637 if (!SWIG_IsOK(res1
)) {
35638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBestVirtualSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
35640 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35643 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
35644 wxPyEndAllowThreads(__tstate
);
35645 if (PyErr_Occurred()) SWIG_fail
;
35647 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
35654 SWIGINTERN PyObject
*_wrap_Window_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35655 PyObject
*resultobj
= 0;
35656 wxWindow
*arg1
= (wxWindow
*) 0 ;
35657 bool arg2
= (bool) true ;
35663 PyObject
* obj0
= 0 ;
35664 PyObject
* obj1
= 0 ;
35665 char * kwnames
[] = {
35666 (char *) "self",(char *) "show", NULL
35669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35671 if (!SWIG_IsOK(res1
)) {
35672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Show" "', expected argument " "1"" of type '" "wxWindow *""'");
35674 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35676 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
35677 if (!SWIG_IsOK(ecode2
)) {
35678 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_Show" "', expected argument " "2"" of type '" "bool""'");
35680 arg2
= static_cast< bool >(val2
);
35683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35684 result
= (bool)(arg1
)->Show(arg2
);
35685 wxPyEndAllowThreads(__tstate
);
35686 if (PyErr_Occurred()) SWIG_fail
;
35689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35697 SWIGINTERN PyObject
*_wrap_Window_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35698 PyObject
*resultobj
= 0;
35699 wxWindow
*arg1
= (wxWindow
*) 0 ;
35703 PyObject
*swig_obj
[1] ;
35705 if (!args
) SWIG_fail
;
35706 swig_obj
[0] = args
;
35707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35708 if (!SWIG_IsOK(res1
)) {
35709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Hide" "', expected argument " "1"" of type '" "wxWindow *""'");
35711 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35714 result
= (bool)(arg1
)->Hide();
35715 wxPyEndAllowThreads(__tstate
);
35716 if (PyErr_Occurred()) SWIG_fail
;
35719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35727 SWIGINTERN PyObject
*_wrap_Window_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35728 PyObject
*resultobj
= 0;
35729 wxWindow
*arg1
= (wxWindow
*) 0 ;
35730 bool arg2
= (bool) true ;
35736 PyObject
* obj0
= 0 ;
35737 PyObject
* obj1
= 0 ;
35738 char * kwnames
[] = {
35739 (char *) "self",(char *) "enable", NULL
35742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35744 if (!SWIG_IsOK(res1
)) {
35745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Enable" "', expected argument " "1"" of type '" "wxWindow *""'");
35747 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35749 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
35750 if (!SWIG_IsOK(ecode2
)) {
35751 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_Enable" "', expected argument " "2"" of type '" "bool""'");
35753 arg2
= static_cast< bool >(val2
);
35756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35757 result
= (bool)(arg1
)->Enable(arg2
);
35758 wxPyEndAllowThreads(__tstate
);
35759 if (PyErr_Occurred()) SWIG_fail
;
35762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35770 SWIGINTERN PyObject
*_wrap_Window_Disable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35771 PyObject
*resultobj
= 0;
35772 wxWindow
*arg1
= (wxWindow
*) 0 ;
35776 PyObject
*swig_obj
[1] ;
35778 if (!args
) SWIG_fail
;
35779 swig_obj
[0] = args
;
35780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35781 if (!SWIG_IsOK(res1
)) {
35782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Disable" "', expected argument " "1"" of type '" "wxWindow *""'");
35784 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35787 result
= (bool)(arg1
)->Disable();
35788 wxPyEndAllowThreads(__tstate
);
35789 if (PyErr_Occurred()) SWIG_fail
;
35792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35800 SWIGINTERN PyObject
*_wrap_Window_IsShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35801 PyObject
*resultobj
= 0;
35802 wxWindow
*arg1
= (wxWindow
*) 0 ;
35806 PyObject
*swig_obj
[1] ;
35808 if (!args
) SWIG_fail
;
35809 swig_obj
[0] = args
;
35810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35811 if (!SWIG_IsOK(res1
)) {
35812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsShown" "', expected argument " "1"" of type '" "wxWindow const *""'");
35814 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35817 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
35818 wxPyEndAllowThreads(__tstate
);
35819 if (PyErr_Occurred()) SWIG_fail
;
35822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35830 SWIGINTERN PyObject
*_wrap_Window_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35831 PyObject
*resultobj
= 0;
35832 wxWindow
*arg1
= (wxWindow
*) 0 ;
35836 PyObject
*swig_obj
[1] ;
35838 if (!args
) SWIG_fail
;
35839 swig_obj
[0] = args
;
35840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35841 if (!SWIG_IsOK(res1
)) {
35842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsEnabled" "', expected argument " "1"" of type '" "wxWindow const *""'");
35844 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35847 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
35848 wxPyEndAllowThreads(__tstate
);
35849 if (PyErr_Occurred()) SWIG_fail
;
35852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35860 SWIGINTERN PyObject
*_wrap_Window_IsThisEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35861 PyObject
*resultobj
= 0;
35862 wxWindow
*arg1
= (wxWindow
*) 0 ;
35866 PyObject
*swig_obj
[1] ;
35868 if (!args
) SWIG_fail
;
35869 swig_obj
[0] = args
;
35870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35871 if (!SWIG_IsOK(res1
)) {
35872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsThisEnabled" "', expected argument " "1"" of type '" "wxWindow const *""'");
35874 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35877 result
= (bool)((wxWindow
const *)arg1
)->IsThisEnabled();
35878 wxPyEndAllowThreads(__tstate
);
35879 if (PyErr_Occurred()) SWIG_fail
;
35882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35890 SWIGINTERN PyObject
*_wrap_Window_IsShownOnScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35891 PyObject
*resultobj
= 0;
35892 wxWindow
*arg1
= (wxWindow
*) 0 ;
35896 PyObject
*swig_obj
[1] ;
35898 if (!args
) SWIG_fail
;
35899 swig_obj
[0] = args
;
35900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35901 if (!SWIG_IsOK(res1
)) {
35902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsShownOnScreen" "', expected argument " "1"" of type '" "wxWindow const *""'");
35904 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35907 result
= (bool)((wxWindow
const *)arg1
)->IsShownOnScreen();
35908 wxPyEndAllowThreads(__tstate
);
35909 if (PyErr_Occurred()) SWIG_fail
;
35912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35920 SWIGINTERN PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35921 PyObject
*resultobj
= 0;
35922 wxWindow
*arg1
= (wxWindow
*) 0 ;
35928 PyObject
* obj0
= 0 ;
35929 PyObject
* obj1
= 0 ;
35930 char * kwnames
[] = {
35931 (char *) "self",(char *) "style", NULL
35934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35936 if (!SWIG_IsOK(res1
)) {
35937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetWindowStyleFlag" "', expected argument " "1"" of type '" "wxWindow *""'");
35939 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35940 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
35941 if (!SWIG_IsOK(ecode2
)) {
35942 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetWindowStyleFlag" "', expected argument " "2"" of type '" "long""'");
35944 arg2
= static_cast< long >(val2
);
35946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35947 (arg1
)->SetWindowStyleFlag(arg2
);
35948 wxPyEndAllowThreads(__tstate
);
35949 if (PyErr_Occurred()) SWIG_fail
;
35951 resultobj
= SWIG_Py_Void();
35958 SWIGINTERN PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35959 PyObject
*resultobj
= 0;
35960 wxWindow
*arg1
= (wxWindow
*) 0 ;
35964 PyObject
*swig_obj
[1] ;
35966 if (!args
) SWIG_fail
;
35967 swig_obj
[0] = args
;
35968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35969 if (!SWIG_IsOK(res1
)) {
35970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetWindowStyleFlag" "', expected argument " "1"" of type '" "wxWindow const *""'");
35972 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35975 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
35976 wxPyEndAllowThreads(__tstate
);
35977 if (PyErr_Occurred()) SWIG_fail
;
35979 resultobj
= SWIG_From_long(static_cast< long >(result
));
35986 SWIGINTERN PyObject
*_wrap_Window_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35987 PyObject
*resultobj
= 0;
35988 wxWindow
*arg1
= (wxWindow
*) 0 ;
35995 PyObject
* obj0
= 0 ;
35996 PyObject
* obj1
= 0 ;
35997 char * kwnames
[] = {
35998 (char *) "self",(char *) "flag", NULL
36001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36003 if (!SWIG_IsOK(res1
)) {
36004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_HasFlag" "', expected argument " "1"" of type '" "wxWindow const *""'");
36006 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36007 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36008 if (!SWIG_IsOK(ecode2
)) {
36009 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_HasFlag" "', expected argument " "2"" of type '" "int""'");
36011 arg2
= static_cast< int >(val2
);
36013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36014 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
36015 wxPyEndAllowThreads(__tstate
);
36016 if (PyErr_Occurred()) SWIG_fail
;
36019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36027 SWIGINTERN PyObject
*_wrap_Window_IsRetained(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36028 PyObject
*resultobj
= 0;
36029 wxWindow
*arg1
= (wxWindow
*) 0 ;
36033 PyObject
*swig_obj
[1] ;
36035 if (!args
) SWIG_fail
;
36036 swig_obj
[0] = args
;
36037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36038 if (!SWIG_IsOK(res1
)) {
36039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsRetained" "', expected argument " "1"" of type '" "wxWindow const *""'");
36041 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36044 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
36045 wxPyEndAllowThreads(__tstate
);
36046 if (PyErr_Occurred()) SWIG_fail
;
36049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36057 SWIGINTERN PyObject
*_wrap_Window_ToggleWindowStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36058 PyObject
*resultobj
= 0;
36059 wxWindow
*arg1
= (wxWindow
*) 0 ;
36066 PyObject
* obj0
= 0 ;
36067 PyObject
* obj1
= 0 ;
36068 char * kwnames
[] = {
36069 (char *) "self",(char *) "flag", NULL
36072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ToggleWindowStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36074 if (!SWIG_IsOK(res1
)) {
36075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ToggleWindowStyle" "', expected argument " "1"" of type '" "wxWindow *""'");
36077 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36078 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36079 if (!SWIG_IsOK(ecode2
)) {
36080 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_ToggleWindowStyle" "', expected argument " "2"" of type '" "int""'");
36082 arg2
= static_cast< int >(val2
);
36084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36085 result
= (bool)(arg1
)->ToggleWindowStyle(arg2
);
36086 wxPyEndAllowThreads(__tstate
);
36087 if (PyErr_Occurred()) SWIG_fail
;
36090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36098 SWIGINTERN PyObject
*_wrap_Window_SetExtraStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36099 PyObject
*resultobj
= 0;
36100 wxWindow
*arg1
= (wxWindow
*) 0 ;
36106 PyObject
* obj0
= 0 ;
36107 PyObject
* obj1
= 0 ;
36108 char * kwnames
[] = {
36109 (char *) "self",(char *) "exStyle", NULL
36112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36114 if (!SWIG_IsOK(res1
)) {
36115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetExtraStyle" "', expected argument " "1"" of type '" "wxWindow *""'");
36117 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36118 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
36119 if (!SWIG_IsOK(ecode2
)) {
36120 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetExtraStyle" "', expected argument " "2"" of type '" "long""'");
36122 arg2
= static_cast< long >(val2
);
36124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36125 (arg1
)->SetExtraStyle(arg2
);
36126 wxPyEndAllowThreads(__tstate
);
36127 if (PyErr_Occurred()) SWIG_fail
;
36129 resultobj
= SWIG_Py_Void();
36136 SWIGINTERN PyObject
*_wrap_Window_GetExtraStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36137 PyObject
*resultobj
= 0;
36138 wxWindow
*arg1
= (wxWindow
*) 0 ;
36142 PyObject
*swig_obj
[1] ;
36144 if (!args
) SWIG_fail
;
36145 swig_obj
[0] = args
;
36146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36147 if (!SWIG_IsOK(res1
)) {
36148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetExtraStyle" "', expected argument " "1"" of type '" "wxWindow const *""'");
36150 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36153 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
36154 wxPyEndAllowThreads(__tstate
);
36155 if (PyErr_Occurred()) SWIG_fail
;
36157 resultobj
= SWIG_From_long(static_cast< long >(result
));
36164 SWIGINTERN PyObject
*_wrap_Window_MakeModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36165 PyObject
*resultobj
= 0;
36166 wxWindow
*arg1
= (wxWindow
*) 0 ;
36167 bool arg2
= (bool) true ;
36172 PyObject
* obj0
= 0 ;
36173 PyObject
* obj1
= 0 ;
36174 char * kwnames
[] = {
36175 (char *) "self",(char *) "modal", NULL
36178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36180 if (!SWIG_IsOK(res1
)) {
36181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_MakeModal" "', expected argument " "1"" of type '" "wxWindow *""'");
36183 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36185 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
36186 if (!SWIG_IsOK(ecode2
)) {
36187 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_MakeModal" "', expected argument " "2"" of type '" "bool""'");
36189 arg2
= static_cast< bool >(val2
);
36192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36193 (arg1
)->MakeModal(arg2
);
36194 wxPyEndAllowThreads(__tstate
);
36195 if (PyErr_Occurred()) SWIG_fail
;
36197 resultobj
= SWIG_Py_Void();
36204 SWIGINTERN PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36205 PyObject
*resultobj
= 0;
36206 wxWindow
*arg1
= (wxWindow
*) 0 ;
36212 PyObject
* obj0
= 0 ;
36213 PyObject
* obj1
= 0 ;
36214 char * kwnames
[] = {
36215 (char *) "self",(char *) "enableTheme", NULL
36218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36220 if (!SWIG_IsOK(res1
)) {
36221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetThemeEnabled" "', expected argument " "1"" of type '" "wxWindow *""'");
36223 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36224 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
36225 if (!SWIG_IsOK(ecode2
)) {
36226 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetThemeEnabled" "', expected argument " "2"" of type '" "bool""'");
36228 arg2
= static_cast< bool >(val2
);
36230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36231 (arg1
)->SetThemeEnabled(arg2
);
36232 wxPyEndAllowThreads(__tstate
);
36233 if (PyErr_Occurred()) SWIG_fail
;
36235 resultobj
= SWIG_Py_Void();
36242 SWIGINTERN PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36243 PyObject
*resultobj
= 0;
36244 wxWindow
*arg1
= (wxWindow
*) 0 ;
36248 PyObject
*swig_obj
[1] ;
36250 if (!args
) SWIG_fail
;
36251 swig_obj
[0] = args
;
36252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36253 if (!SWIG_IsOK(res1
)) {
36254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetThemeEnabled" "', expected argument " "1"" of type '" "wxWindow const *""'");
36256 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36259 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
36260 wxPyEndAllowThreads(__tstate
);
36261 if (PyErr_Occurred()) SWIG_fail
;
36264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36272 SWIGINTERN PyObject
*_wrap_Window_SetFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36273 PyObject
*resultobj
= 0;
36274 wxWindow
*arg1
= (wxWindow
*) 0 ;
36277 PyObject
*swig_obj
[1] ;
36279 if (!args
) SWIG_fail
;
36280 swig_obj
[0] = args
;
36281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36282 if (!SWIG_IsOK(res1
)) {
36283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetFocus" "', expected argument " "1"" of type '" "wxWindow *""'");
36285 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36288 (arg1
)->SetFocus();
36289 wxPyEndAllowThreads(__tstate
);
36290 if (PyErr_Occurred()) SWIG_fail
;
36292 resultobj
= SWIG_Py_Void();
36299 SWIGINTERN PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36300 PyObject
*resultobj
= 0;
36301 wxWindow
*arg1
= (wxWindow
*) 0 ;
36304 PyObject
*swig_obj
[1] ;
36306 if (!args
) SWIG_fail
;
36307 swig_obj
[0] = args
;
36308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36309 if (!SWIG_IsOK(res1
)) {
36310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetFocusFromKbd" "', expected argument " "1"" of type '" "wxWindow *""'");
36312 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36315 (arg1
)->SetFocusFromKbd();
36316 wxPyEndAllowThreads(__tstate
);
36317 if (PyErr_Occurred()) SWIG_fail
;
36319 resultobj
= SWIG_Py_Void();
36326 SWIGINTERN PyObject
*_wrap_Window_FindFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36327 PyObject
*resultobj
= 0;
36328 wxWindow
*result
= 0 ;
36330 if (!SWIG_Python_UnpackTuple(args
,"Window_FindFocus",0,0,0)) SWIG_fail
;
36332 if (!wxPyCheckForApp()) SWIG_fail
;
36333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36334 result
= (wxWindow
*)wxWindow::FindFocus();
36335 wxPyEndAllowThreads(__tstate
);
36336 if (PyErr_Occurred()) SWIG_fail
;
36339 resultobj
= wxPyMake_wxObject(result
, 0);
36347 SWIGINTERN PyObject
*_wrap_Window_AcceptsFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36348 PyObject
*resultobj
= 0;
36349 wxWindow
*arg1
= (wxWindow
*) 0 ;
36353 PyObject
*swig_obj
[1] ;
36355 if (!args
) SWIG_fail
;
36356 swig_obj
[0] = args
;
36357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36358 if (!SWIG_IsOK(res1
)) {
36359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_AcceptsFocus" "', expected argument " "1"" of type '" "wxWindow const *""'");
36361 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36364 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
36365 wxPyEndAllowThreads(__tstate
);
36366 if (PyErr_Occurred()) SWIG_fail
;
36369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36377 SWIGINTERN PyObject
*_wrap_Window_CanAcceptFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36378 PyObject
*resultobj
= 0;
36379 wxWindow
*arg1
= (wxWindow
*) 0 ;
36383 PyObject
*swig_obj
[1] ;
36385 if (!args
) SWIG_fail
;
36386 swig_obj
[0] = args
;
36387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36388 if (!SWIG_IsOK(res1
)) {
36389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_CanAcceptFocus" "', expected argument " "1"" of type '" "wxWindow const *""'");
36391 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36394 result
= (bool)((wxWindow
const *)arg1
)->CanAcceptFocus();
36395 wxPyEndAllowThreads(__tstate
);
36396 if (PyErr_Occurred()) SWIG_fail
;
36399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36407 SWIGINTERN PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36408 PyObject
*resultobj
= 0;
36409 wxWindow
*arg1
= (wxWindow
*) 0 ;
36413 PyObject
*swig_obj
[1] ;
36415 if (!args
) SWIG_fail
;
36416 swig_obj
[0] = args
;
36417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36418 if (!SWIG_IsOK(res1
)) {
36419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_AcceptsFocusFromKeyboard" "', expected argument " "1"" of type '" "wxWindow const *""'");
36421 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36424 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
36425 wxPyEndAllowThreads(__tstate
);
36426 if (PyErr_Occurred()) SWIG_fail
;
36429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36437 SWIGINTERN PyObject
*_wrap_Window_CanAcceptFocusFromKeyboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36438 PyObject
*resultobj
= 0;
36439 wxWindow
*arg1
= (wxWindow
*) 0 ;
36443 PyObject
*swig_obj
[1] ;
36445 if (!args
) SWIG_fail
;
36446 swig_obj
[0] = args
;
36447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36448 if (!SWIG_IsOK(res1
)) {
36449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_CanAcceptFocusFromKeyboard" "', expected argument " "1"" of type '" "wxWindow const *""'");
36451 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36454 result
= (bool)((wxWindow
const *)arg1
)->CanAcceptFocusFromKeyboard();
36455 wxPyEndAllowThreads(__tstate
);
36456 if (PyErr_Occurred()) SWIG_fail
;
36459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36467 SWIGINTERN PyObject
*_wrap_Window_NavigateIn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36468 PyObject
*resultobj
= 0;
36469 wxWindow
*arg1
= (wxWindow
*) 0 ;
36470 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
36476 PyObject
* obj0
= 0 ;
36477 PyObject
* obj1
= 0 ;
36478 char * kwnames
[] = {
36479 (char *) "self",(char *) "flags", NULL
36482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_NavigateIn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36484 if (!SWIG_IsOK(res1
)) {
36485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_NavigateIn" "', expected argument " "1"" of type '" "wxWindow *""'");
36487 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36489 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36490 if (!SWIG_IsOK(ecode2
)) {
36491 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_NavigateIn" "', expected argument " "2"" of type '" "int""'");
36493 arg2
= static_cast< int >(val2
);
36496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36497 result
= (bool)(arg1
)->NavigateIn(arg2
);
36498 wxPyEndAllowThreads(__tstate
);
36499 if (PyErr_Occurred()) SWIG_fail
;
36502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36510 SWIGINTERN PyObject
*_wrap_Window_Navigate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36511 PyObject
*resultobj
= 0;
36512 wxWindow
*arg1
= (wxWindow
*) 0 ;
36513 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
36519 PyObject
* obj0
= 0 ;
36520 PyObject
* obj1
= 0 ;
36521 char * kwnames
[] = {
36522 (char *) "self",(char *) "flags", NULL
36525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36527 if (!SWIG_IsOK(res1
)) {
36528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Navigate" "', expected argument " "1"" of type '" "wxWindow *""'");
36530 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36532 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36533 if (!SWIG_IsOK(ecode2
)) {
36534 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_Navigate" "', expected argument " "2"" of type '" "int""'");
36536 arg2
= static_cast< int >(val2
);
36539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36540 result
= (bool)(arg1
)->Navigate(arg2
);
36541 wxPyEndAllowThreads(__tstate
);
36542 if (PyErr_Occurred()) SWIG_fail
;
36545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36553 SWIGINTERN PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36554 PyObject
*resultobj
= 0;
36555 wxWindow
*arg1
= (wxWindow
*) 0 ;
36556 wxWindow
*arg2
= (wxWindow
*) 0 ;
36561 PyObject
* obj0
= 0 ;
36562 PyObject
* obj1
= 0 ;
36563 char * kwnames
[] = {
36564 (char *) "self",(char *) "win", NULL
36567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36569 if (!SWIG_IsOK(res1
)) {
36570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_MoveAfterInTabOrder" "', expected argument " "1"" of type '" "wxWindow *""'");
36572 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36573 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36574 if (!SWIG_IsOK(res2
)) {
36575 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_MoveAfterInTabOrder" "', expected argument " "2"" of type '" "wxWindow *""'");
36577 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
36579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36580 (arg1
)->MoveAfterInTabOrder(arg2
);
36581 wxPyEndAllowThreads(__tstate
);
36582 if (PyErr_Occurred()) SWIG_fail
;
36584 resultobj
= SWIG_Py_Void();
36591 SWIGINTERN PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36592 PyObject
*resultobj
= 0;
36593 wxWindow
*arg1
= (wxWindow
*) 0 ;
36594 wxWindow
*arg2
= (wxWindow
*) 0 ;
36599 PyObject
* obj0
= 0 ;
36600 PyObject
* obj1
= 0 ;
36601 char * kwnames
[] = {
36602 (char *) "self",(char *) "win", NULL
36605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36607 if (!SWIG_IsOK(res1
)) {
36608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_MoveBeforeInTabOrder" "', expected argument " "1"" of type '" "wxWindow *""'");
36610 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36611 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36612 if (!SWIG_IsOK(res2
)) {
36613 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_MoveBeforeInTabOrder" "', expected argument " "2"" of type '" "wxWindow *""'");
36615 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
36617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36618 (arg1
)->MoveBeforeInTabOrder(arg2
);
36619 wxPyEndAllowThreads(__tstate
);
36620 if (PyErr_Occurred()) SWIG_fail
;
36622 resultobj
= SWIG_Py_Void();
36629 SWIGINTERN PyObject
*_wrap_Window_GetChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36630 PyObject
*resultobj
= 0;
36631 wxWindow
*arg1
= (wxWindow
*) 0 ;
36632 PyObject
*result
= 0 ;
36635 PyObject
*swig_obj
[1] ;
36637 if (!args
) SWIG_fail
;
36638 swig_obj
[0] = args
;
36639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36640 if (!SWIG_IsOK(res1
)) {
36641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetChildren" "', expected argument " "1"" of type '" "wxWindow *""'");
36643 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36646 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
36647 wxPyEndAllowThreads(__tstate
);
36648 if (PyErr_Occurred()) SWIG_fail
;
36650 resultobj
= result
;
36657 SWIGINTERN PyObject
*_wrap_Window_GetParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36658 PyObject
*resultobj
= 0;
36659 wxWindow
*arg1
= (wxWindow
*) 0 ;
36660 wxWindow
*result
= 0 ;
36663 PyObject
*swig_obj
[1] ;
36665 if (!args
) SWIG_fail
;
36666 swig_obj
[0] = args
;
36667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36668 if (!SWIG_IsOK(res1
)) {
36669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetParent" "', expected argument " "1"" of type '" "wxWindow const *""'");
36671 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36674 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
36675 wxPyEndAllowThreads(__tstate
);
36676 if (PyErr_Occurred()) SWIG_fail
;
36679 resultobj
= wxPyMake_wxObject(result
, 0);
36687 SWIGINTERN PyObject
*_wrap_Window_GetGrandParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36688 PyObject
*resultobj
= 0;
36689 wxWindow
*arg1
= (wxWindow
*) 0 ;
36690 wxWindow
*result
= 0 ;
36693 PyObject
*swig_obj
[1] ;
36695 if (!args
) SWIG_fail
;
36696 swig_obj
[0] = args
;
36697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36698 if (!SWIG_IsOK(res1
)) {
36699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetGrandParent" "', expected argument " "1"" of type '" "wxWindow const *""'");
36701 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36704 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
36705 wxPyEndAllowThreads(__tstate
);
36706 if (PyErr_Occurred()) SWIG_fail
;
36709 resultobj
= wxPyMake_wxObject(result
, 0);
36717 SWIGINTERN PyObject
*_wrap_Window_GetTopLevelParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36718 PyObject
*resultobj
= 0;
36719 wxWindow
*arg1
= (wxWindow
*) 0 ;
36720 wxWindow
*result
= 0 ;
36723 PyObject
*swig_obj
[1] ;
36725 if (!args
) SWIG_fail
;
36726 swig_obj
[0] = args
;
36727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36728 if (!SWIG_IsOK(res1
)) {
36729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetTopLevelParent" "', expected argument " "1"" of type '" "wxWindow *""'");
36731 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36734 result
= (wxWindow
*)wxWindow_GetTopLevelParent(arg1
);
36735 wxPyEndAllowThreads(__tstate
);
36736 if (PyErr_Occurred()) SWIG_fail
;
36739 resultobj
= wxPyMake_wxObject(result
, 0);
36747 SWIGINTERN PyObject
*_wrap_Window_IsTopLevel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36748 PyObject
*resultobj
= 0;
36749 wxWindow
*arg1
= (wxWindow
*) 0 ;
36753 PyObject
*swig_obj
[1] ;
36755 if (!args
) SWIG_fail
;
36756 swig_obj
[0] = args
;
36757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36758 if (!SWIG_IsOK(res1
)) {
36759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsTopLevel" "', expected argument " "1"" of type '" "wxWindow const *""'");
36761 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36764 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
36765 wxPyEndAllowThreads(__tstate
);
36766 if (PyErr_Occurred()) SWIG_fail
;
36769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36777 SWIGINTERN PyObject
*_wrap_Window_Reparent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36778 PyObject
*resultobj
= 0;
36779 wxWindow
*arg1
= (wxWindow
*) 0 ;
36780 wxWindow
*arg2
= (wxWindow
*) 0 ;
36786 PyObject
* obj0
= 0 ;
36787 PyObject
* obj1
= 0 ;
36788 char * kwnames
[] = {
36789 (char *) "self",(char *) "newParent", NULL
36792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36794 if (!SWIG_IsOK(res1
)) {
36795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Reparent" "', expected argument " "1"" of type '" "wxWindow *""'");
36797 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36798 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36799 if (!SWIG_IsOK(res2
)) {
36800 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_Reparent" "', expected argument " "2"" of type '" "wxWindow *""'");
36802 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
36804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36805 result
= (bool)(arg1
)->Reparent(arg2
);
36806 wxPyEndAllowThreads(__tstate
);
36807 if (PyErr_Occurred()) SWIG_fail
;
36810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36818 SWIGINTERN PyObject
*_wrap_Window_AddChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36819 PyObject
*resultobj
= 0;
36820 wxWindow
*arg1
= (wxWindow
*) 0 ;
36821 wxWindow
*arg2
= (wxWindow
*) 0 ;
36826 PyObject
* obj0
= 0 ;
36827 PyObject
* obj1
= 0 ;
36828 char * kwnames
[] = {
36829 (char *) "self",(char *) "child", NULL
36832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36834 if (!SWIG_IsOK(res1
)) {
36835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_AddChild" "', expected argument " "1"" of type '" "wxWindow *""'");
36837 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36838 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36839 if (!SWIG_IsOK(res2
)) {
36840 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_AddChild" "', expected argument " "2"" of type '" "wxWindow *""'");
36842 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
36844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36845 (arg1
)->AddChild(arg2
);
36846 wxPyEndAllowThreads(__tstate
);
36847 if (PyErr_Occurred()) SWIG_fail
;
36849 resultobj
= SWIG_Py_Void();
36856 SWIGINTERN PyObject
*_wrap_Window_RemoveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36857 PyObject
*resultobj
= 0;
36858 wxWindow
*arg1
= (wxWindow
*) 0 ;
36859 wxWindow
*arg2
= (wxWindow
*) 0 ;
36864 PyObject
* obj0
= 0 ;
36865 PyObject
* obj1
= 0 ;
36866 char * kwnames
[] = {
36867 (char *) "self",(char *) "child", NULL
36870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36872 if (!SWIG_IsOK(res1
)) {
36873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_RemoveChild" "', expected argument " "1"" of type '" "wxWindow *""'");
36875 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36876 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36877 if (!SWIG_IsOK(res2
)) {
36878 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_RemoveChild" "', expected argument " "2"" of type '" "wxWindow *""'");
36880 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
36882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36883 (arg1
)->RemoveChild(arg2
);
36884 wxPyEndAllowThreads(__tstate
);
36885 if (PyErr_Occurred()) SWIG_fail
;
36887 resultobj
= SWIG_Py_Void();
36894 SWIGINTERN PyObject
*_wrap_Window_SetDoubleBuffered(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36895 PyObject
*resultobj
= 0;
36896 wxWindow
*arg1
= (wxWindow
*) 0 ;
36902 PyObject
* obj0
= 0 ;
36903 PyObject
* obj1
= 0 ;
36904 char * kwnames
[] = {
36905 (char *) "self",(char *) "on", NULL
36908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDoubleBuffered",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36910 if (!SWIG_IsOK(res1
)) {
36911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetDoubleBuffered" "', expected argument " "1"" of type '" "wxWindow *""'");
36913 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36914 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
36915 if (!SWIG_IsOK(ecode2
)) {
36916 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetDoubleBuffered" "', expected argument " "2"" of type '" "bool""'");
36918 arg2
= static_cast< bool >(val2
);
36920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36921 (arg1
)->SetDoubleBuffered(arg2
);
36922 wxPyEndAllowThreads(__tstate
);
36923 if (PyErr_Occurred()) SWIG_fail
;
36925 resultobj
= SWIG_Py_Void();
36932 SWIGINTERN PyObject
*_wrap_Window_FindWindowById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36933 PyObject
*resultobj
= 0;
36934 wxWindow
*arg1
= (wxWindow
*) 0 ;
36936 wxWindow
*result
= 0 ;
36941 PyObject
* obj0
= 0 ;
36942 PyObject
* obj1
= 0 ;
36943 char * kwnames
[] = {
36944 (char *) "self",(char *) "winid", NULL
36947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36949 if (!SWIG_IsOK(res1
)) {
36950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_FindWindowById" "', expected argument " "1"" of type '" "wxWindow *""'");
36952 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36953 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
36954 if (!SWIG_IsOK(ecode2
)) {
36955 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_FindWindowById" "', expected argument " "2"" of type '" "long""'");
36957 arg2
= static_cast< long >(val2
);
36959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36960 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
36961 wxPyEndAllowThreads(__tstate
);
36962 if (PyErr_Occurred()) SWIG_fail
;
36965 resultobj
= wxPyMake_wxObject(result
, 0);
36973 SWIGINTERN PyObject
*_wrap_Window_FindWindowByName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36974 PyObject
*resultobj
= 0;
36975 wxWindow
*arg1
= (wxWindow
*) 0 ;
36976 wxString
*arg2
= 0 ;
36977 wxWindow
*result
= 0 ;
36980 bool temp2
= false ;
36981 PyObject
* obj0
= 0 ;
36982 PyObject
* obj1
= 0 ;
36983 char * kwnames
[] = {
36984 (char *) "self",(char *) "name", NULL
36987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36989 if (!SWIG_IsOK(res1
)) {
36990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_FindWindowByName" "', expected argument " "1"" of type '" "wxWindow *""'");
36992 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36994 arg2
= wxString_in_helper(obj1
);
36995 if (arg2
== NULL
) SWIG_fail
;
36999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37000 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
37001 wxPyEndAllowThreads(__tstate
);
37002 if (PyErr_Occurred()) SWIG_fail
;
37005 resultobj
= wxPyMake_wxObject(result
, 0);
37021 SWIGINTERN PyObject
*_wrap_Window_GetEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37022 PyObject
*resultobj
= 0;
37023 wxWindow
*arg1
= (wxWindow
*) 0 ;
37024 wxEvtHandler
*result
= 0 ;
37027 PyObject
*swig_obj
[1] ;
37029 if (!args
) SWIG_fail
;
37030 swig_obj
[0] = args
;
37031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37032 if (!SWIG_IsOK(res1
)) {
37033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetEventHandler" "', expected argument " "1"" of type '" "wxWindow const *""'");
37035 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37038 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
37039 wxPyEndAllowThreads(__tstate
);
37040 if (PyErr_Occurred()) SWIG_fail
;
37043 resultobj
= wxPyMake_wxObject(result
, 0);
37051 SWIGINTERN PyObject
*_wrap_Window_SetEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37052 PyObject
*resultobj
= 0;
37053 wxWindow
*arg1
= (wxWindow
*) 0 ;
37054 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
37059 PyObject
* obj0
= 0 ;
37060 PyObject
* obj1
= 0 ;
37061 char * kwnames
[] = {
37062 (char *) "self",(char *) "handler", NULL
37065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37067 if (!SWIG_IsOK(res1
)) {
37068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetEventHandler" "', expected argument " "1"" of type '" "wxWindow *""'");
37070 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37071 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
37072 if (!SWIG_IsOK(res2
)) {
37073 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetEventHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
37075 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
37077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37078 (arg1
)->SetEventHandler(arg2
);
37079 wxPyEndAllowThreads(__tstate
);
37080 if (PyErr_Occurred()) SWIG_fail
;
37082 resultobj
= SWIG_Py_Void();
37089 SWIGINTERN PyObject
*_wrap_Window_PushEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37090 PyObject
*resultobj
= 0;
37091 wxWindow
*arg1
= (wxWindow
*) 0 ;
37092 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
37097 PyObject
* obj0
= 0 ;
37098 PyObject
* obj1
= 0 ;
37099 char * kwnames
[] = {
37100 (char *) "self",(char *) "handler", NULL
37103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37105 if (!SWIG_IsOK(res1
)) {
37106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PushEventHandler" "', expected argument " "1"" of type '" "wxWindow *""'");
37108 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37109 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
37110 if (!SWIG_IsOK(res2
)) {
37111 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_PushEventHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
37113 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
37115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37116 (arg1
)->PushEventHandler(arg2
);
37117 wxPyEndAllowThreads(__tstate
);
37118 if (PyErr_Occurred()) SWIG_fail
;
37120 resultobj
= SWIG_Py_Void();
37127 SWIGINTERN PyObject
*_wrap_Window_PopEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37128 PyObject
*resultobj
= 0;
37129 wxWindow
*arg1
= (wxWindow
*) 0 ;
37130 bool arg2
= (bool) false ;
37131 wxEvtHandler
*result
= 0 ;
37136 PyObject
* obj0
= 0 ;
37137 PyObject
* obj1
= 0 ;
37138 char * kwnames
[] = {
37139 (char *) "self",(char *) "deleteHandler", NULL
37142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37144 if (!SWIG_IsOK(res1
)) {
37145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PopEventHandler" "', expected argument " "1"" of type '" "wxWindow *""'");
37147 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37149 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37150 if (!SWIG_IsOK(ecode2
)) {
37151 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_PopEventHandler" "', expected argument " "2"" of type '" "bool""'");
37153 arg2
= static_cast< bool >(val2
);
37156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37157 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
37158 wxPyEndAllowThreads(__tstate
);
37159 if (PyErr_Occurred()) SWIG_fail
;
37162 resultobj
= wxPyMake_wxObject(result
, 0);
37170 SWIGINTERN PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37171 PyObject
*resultobj
= 0;
37172 wxWindow
*arg1
= (wxWindow
*) 0 ;
37173 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
37179 PyObject
* obj0
= 0 ;
37180 PyObject
* obj1
= 0 ;
37181 char * kwnames
[] = {
37182 (char *) "self",(char *) "handler", NULL
37185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37187 if (!SWIG_IsOK(res1
)) {
37188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_RemoveEventHandler" "', expected argument " "1"" of type '" "wxWindow *""'");
37190 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37191 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
37192 if (!SWIG_IsOK(res2
)) {
37193 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_RemoveEventHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
37195 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
37197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37198 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
37199 wxPyEndAllowThreads(__tstate
);
37200 if (PyErr_Occurred()) SWIG_fail
;
37203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37211 SWIGINTERN PyObject
*_wrap_Window_SetValidator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37212 PyObject
*resultobj
= 0;
37213 wxWindow
*arg1
= (wxWindow
*) 0 ;
37214 wxValidator
*arg2
= 0 ;
37219 PyObject
* obj0
= 0 ;
37220 PyObject
* obj1
= 0 ;
37221 char * kwnames
[] = {
37222 (char *) "self",(char *) "validator", NULL
37225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37227 if (!SWIG_IsOK(res1
)) {
37228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetValidator" "', expected argument " "1"" of type '" "wxWindow *""'");
37230 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37231 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxValidator
, 0 | 0);
37232 if (!SWIG_IsOK(res2
)) {
37233 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetValidator" "', expected argument " "2"" of type '" "wxValidator const &""'");
37236 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_SetValidator" "', expected argument " "2"" of type '" "wxValidator const &""'");
37238 arg2
= reinterpret_cast< wxValidator
* >(argp2
);
37240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37241 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
37242 wxPyEndAllowThreads(__tstate
);
37243 if (PyErr_Occurred()) SWIG_fail
;
37245 resultobj
= SWIG_Py_Void();
37252 SWIGINTERN PyObject
*_wrap_Window_GetValidator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37253 PyObject
*resultobj
= 0;
37254 wxWindow
*arg1
= (wxWindow
*) 0 ;
37255 wxValidator
*result
= 0 ;
37258 PyObject
*swig_obj
[1] ;
37260 if (!args
) SWIG_fail
;
37261 swig_obj
[0] = args
;
37262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37263 if (!SWIG_IsOK(res1
)) {
37264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetValidator" "', expected argument " "1"" of type '" "wxWindow *""'");
37266 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37269 result
= (wxValidator
*)(arg1
)->GetValidator();
37270 wxPyEndAllowThreads(__tstate
);
37271 if (PyErr_Occurred()) SWIG_fail
;
37274 resultobj
= wxPyMake_wxObject(result
, (bool)0);
37282 SWIGINTERN PyObject
*_wrap_Window_Validate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37283 PyObject
*resultobj
= 0;
37284 wxWindow
*arg1
= (wxWindow
*) 0 ;
37288 PyObject
*swig_obj
[1] ;
37290 if (!args
) SWIG_fail
;
37291 swig_obj
[0] = args
;
37292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37293 if (!SWIG_IsOK(res1
)) {
37294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Validate" "', expected argument " "1"" of type '" "wxWindow *""'");
37296 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37299 result
= (bool)(arg1
)->Validate();
37300 wxPyEndAllowThreads(__tstate
);
37301 if (PyErr_Occurred()) SWIG_fail
;
37304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37312 SWIGINTERN PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37313 PyObject
*resultobj
= 0;
37314 wxWindow
*arg1
= (wxWindow
*) 0 ;
37318 PyObject
*swig_obj
[1] ;
37320 if (!args
) SWIG_fail
;
37321 swig_obj
[0] = args
;
37322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37323 if (!SWIG_IsOK(res1
)) {
37324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_TransferDataToWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
37326 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37329 result
= (bool)(arg1
)->TransferDataToWindow();
37330 wxPyEndAllowThreads(__tstate
);
37331 if (PyErr_Occurred()) SWIG_fail
;
37334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37342 SWIGINTERN PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37343 PyObject
*resultobj
= 0;
37344 wxWindow
*arg1
= (wxWindow
*) 0 ;
37348 PyObject
*swig_obj
[1] ;
37350 if (!args
) SWIG_fail
;
37351 swig_obj
[0] = args
;
37352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37353 if (!SWIG_IsOK(res1
)) {
37354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_TransferDataFromWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
37356 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37359 result
= (bool)(arg1
)->TransferDataFromWindow();
37360 wxPyEndAllowThreads(__tstate
);
37361 if (PyErr_Occurred()) SWIG_fail
;
37364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37372 SWIGINTERN PyObject
*_wrap_Window_InitDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37373 PyObject
*resultobj
= 0;
37374 wxWindow
*arg1
= (wxWindow
*) 0 ;
37377 PyObject
*swig_obj
[1] ;
37379 if (!args
) SWIG_fail
;
37380 swig_obj
[0] = args
;
37381 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37382 if (!SWIG_IsOK(res1
)) {
37383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_InitDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
37385 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37388 (arg1
)->InitDialog();
37389 wxPyEndAllowThreads(__tstate
);
37390 if (PyErr_Occurred()) SWIG_fail
;
37392 resultobj
= SWIG_Py_Void();
37399 SWIGINTERN PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37400 PyObject
*resultobj
= 0;
37401 wxWindow
*arg1
= (wxWindow
*) 0 ;
37402 wxAcceleratorTable
*arg2
= 0 ;
37407 PyObject
* obj0
= 0 ;
37408 PyObject
* obj1
= 0 ;
37409 char * kwnames
[] = {
37410 (char *) "self",(char *) "accel", NULL
37413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37415 if (!SWIG_IsOK(res1
)) {
37416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetAcceleratorTable" "', expected argument " "1"" of type '" "wxWindow *""'");
37418 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37419 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAcceleratorTable
, 0 | 0);
37420 if (!SWIG_IsOK(res2
)) {
37421 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetAcceleratorTable" "', expected argument " "2"" of type '" "wxAcceleratorTable const &""'");
37424 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_SetAcceleratorTable" "', expected argument " "2"" of type '" "wxAcceleratorTable const &""'");
37426 arg2
= reinterpret_cast< wxAcceleratorTable
* >(argp2
);
37428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37429 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
37430 wxPyEndAllowThreads(__tstate
);
37431 if (PyErr_Occurred()) SWIG_fail
;
37433 resultobj
= SWIG_Py_Void();
37440 SWIGINTERN PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37441 PyObject
*resultobj
= 0;
37442 wxWindow
*arg1
= (wxWindow
*) 0 ;
37443 wxAcceleratorTable
*result
= 0 ;
37446 PyObject
*swig_obj
[1] ;
37448 if (!args
) SWIG_fail
;
37449 swig_obj
[0] = args
;
37450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37451 if (!SWIG_IsOK(res1
)) {
37452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetAcceleratorTable" "', expected argument " "1"" of type '" "wxWindow *""'");
37454 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37457 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
37458 wxPyEndAllowThreads(__tstate
);
37459 if (PyErr_Occurred()) SWIG_fail
;
37461 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAcceleratorTable
, 0 | 0 );
37468 SWIGINTERN PyObject
*_wrap_Window_RegisterHotKey(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37469 PyObject
*resultobj
= 0;
37470 wxWindow
*arg1
= (wxWindow
*) 0 ;
37483 PyObject
* obj0
= 0 ;
37484 PyObject
* obj1
= 0 ;
37485 PyObject
* obj2
= 0 ;
37486 PyObject
* obj3
= 0 ;
37487 char * kwnames
[] = {
37488 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
37491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37493 if (!SWIG_IsOK(res1
)) {
37494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_RegisterHotKey" "', expected argument " "1"" of type '" "wxWindow *""'");
37496 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37497 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37498 if (!SWIG_IsOK(ecode2
)) {
37499 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_RegisterHotKey" "', expected argument " "2"" of type '" "int""'");
37501 arg2
= static_cast< int >(val2
);
37502 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37503 if (!SWIG_IsOK(ecode3
)) {
37504 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_RegisterHotKey" "', expected argument " "3"" of type '" "int""'");
37506 arg3
= static_cast< int >(val3
);
37507 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37508 if (!SWIG_IsOK(ecode4
)) {
37509 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_RegisterHotKey" "', expected argument " "4"" of type '" "int""'");
37511 arg4
= static_cast< int >(val4
);
37513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37514 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
37515 wxPyEndAllowThreads(__tstate
);
37516 if (PyErr_Occurred()) SWIG_fail
;
37519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37527 SWIGINTERN PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37528 PyObject
*resultobj
= 0;
37529 wxWindow
*arg1
= (wxWindow
*) 0 ;
37536 PyObject
* obj0
= 0 ;
37537 PyObject
* obj1
= 0 ;
37538 char * kwnames
[] = {
37539 (char *) "self",(char *) "hotkeyId", NULL
37542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37544 if (!SWIG_IsOK(res1
)) {
37545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_UnregisterHotKey" "', expected argument " "1"" of type '" "wxWindow *""'");
37547 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37548 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37549 if (!SWIG_IsOK(ecode2
)) {
37550 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_UnregisterHotKey" "', expected argument " "2"" of type '" "int""'");
37552 arg2
= static_cast< int >(val2
);
37554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37555 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
37556 wxPyEndAllowThreads(__tstate
);
37557 if (PyErr_Occurred()) SWIG_fail
;
37560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37568 SWIGINTERN PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37569 PyObject
*resultobj
= 0;
37570 wxWindow
*arg1
= (wxWindow
*) 0 ;
37571 wxPoint
*arg2
= 0 ;
37576 PyObject
* obj0
= 0 ;
37577 PyObject
* obj1
= 0 ;
37578 char * kwnames
[] = {
37579 (char *) "self",(char *) "pt", NULL
37582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) 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_ConvertDialogPointToPixels" "', expected argument " "1"" of type '" "wxWindow *""'");
37587 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37590 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37594 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
37595 wxPyEndAllowThreads(__tstate
);
37596 if (PyErr_Occurred()) SWIG_fail
;
37598 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
37605 SWIGINTERN PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37606 PyObject
*resultobj
= 0;
37607 wxWindow
*arg1
= (wxWindow
*) 0 ;
37613 PyObject
* obj0
= 0 ;
37614 PyObject
* obj1
= 0 ;
37615 char * kwnames
[] = {
37616 (char *) "self",(char *) "sz", NULL
37619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37621 if (!SWIG_IsOK(res1
)) {
37622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ConvertDialogSizeToPixels" "', expected argument " "1"" of type '" "wxWindow *""'");
37624 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37627 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
37630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37631 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
37632 wxPyEndAllowThreads(__tstate
);
37633 if (PyErr_Occurred()) SWIG_fail
;
37635 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
37642 SWIGINTERN PyObject
*_wrap_Window_DLG_PNT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37643 PyObject
*resultobj
= 0;
37644 wxWindow
*arg1
= (wxWindow
*) 0 ;
37645 wxPoint
*arg2
= 0 ;
37650 PyObject
* obj0
= 0 ;
37651 PyObject
* obj1
= 0 ;
37652 char * kwnames
[] = {
37653 (char *) "self",(char *) "pt", NULL
37656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37658 if (!SWIG_IsOK(res1
)) {
37659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_DLG_PNT" "', expected argument " "1"" of type '" "wxWindow *""'");
37661 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37664 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37668 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
37669 wxPyEndAllowThreads(__tstate
);
37670 if (PyErr_Occurred()) SWIG_fail
;
37672 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
37679 SWIGINTERN PyObject
*_wrap_Window_DLG_SZE(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37680 PyObject
*resultobj
= 0;
37681 wxWindow
*arg1
= (wxWindow
*) 0 ;
37687 PyObject
* obj0
= 0 ;
37688 PyObject
* obj1
= 0 ;
37689 char * kwnames
[] = {
37690 (char *) "self",(char *) "sz", NULL
37693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37695 if (!SWIG_IsOK(res1
)) {
37696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_DLG_SZE" "', expected argument " "1"" of type '" "wxWindow *""'");
37698 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37701 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
37704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37705 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
37706 wxPyEndAllowThreads(__tstate
);
37707 if (PyErr_Occurred()) SWIG_fail
;
37709 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
37716 SWIGINTERN PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37717 PyObject
*resultobj
= 0;
37718 wxWindow
*arg1
= (wxWindow
*) 0 ;
37719 wxPoint
*arg2
= 0 ;
37724 PyObject
* obj0
= 0 ;
37725 PyObject
* obj1
= 0 ;
37726 char * kwnames
[] = {
37727 (char *) "self",(char *) "pt", NULL
37730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37732 if (!SWIG_IsOK(res1
)) {
37733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ConvertPixelPointToDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
37735 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37738 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37742 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
37743 wxPyEndAllowThreads(__tstate
);
37744 if (PyErr_Occurred()) SWIG_fail
;
37746 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
37753 SWIGINTERN PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37754 PyObject
*resultobj
= 0;
37755 wxWindow
*arg1
= (wxWindow
*) 0 ;
37761 PyObject
* obj0
= 0 ;
37762 PyObject
* obj1
= 0 ;
37763 char * kwnames
[] = {
37764 (char *) "self",(char *) "sz", NULL
37767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37769 if (!SWIG_IsOK(res1
)) {
37770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ConvertPixelSizeToDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
37772 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37775 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
37778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37779 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
37780 wxPyEndAllowThreads(__tstate
);
37781 if (PyErr_Occurred()) SWIG_fail
;
37783 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
37790 SWIGINTERN PyObject
*_wrap_Window_WarpPointer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37791 PyObject
*resultobj
= 0;
37792 wxWindow
*arg1
= (wxWindow
*) 0 ;
37801 PyObject
* obj0
= 0 ;
37802 PyObject
* obj1
= 0 ;
37803 PyObject
* obj2
= 0 ;
37804 char * kwnames
[] = {
37805 (char *) "self",(char *) "x",(char *) "y", NULL
37808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37810 if (!SWIG_IsOK(res1
)) {
37811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_WarpPointer" "', expected argument " "1"" of type '" "wxWindow *""'");
37813 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37814 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37815 if (!SWIG_IsOK(ecode2
)) {
37816 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_WarpPointer" "', expected argument " "2"" of type '" "int""'");
37818 arg2
= static_cast< int >(val2
);
37819 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37820 if (!SWIG_IsOK(ecode3
)) {
37821 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_WarpPointer" "', expected argument " "3"" of type '" "int""'");
37823 arg3
= static_cast< int >(val3
);
37825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37826 (arg1
)->WarpPointer(arg2
,arg3
);
37827 wxPyEndAllowThreads(__tstate
);
37828 if (PyErr_Occurred()) SWIG_fail
;
37830 resultobj
= SWIG_Py_Void();
37837 SWIGINTERN PyObject
*_wrap_Window_CaptureMouse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37838 PyObject
*resultobj
= 0;
37839 wxWindow
*arg1
= (wxWindow
*) 0 ;
37842 PyObject
*swig_obj
[1] ;
37844 if (!args
) SWIG_fail
;
37845 swig_obj
[0] = args
;
37846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37847 if (!SWIG_IsOK(res1
)) {
37848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_CaptureMouse" "', expected argument " "1"" of type '" "wxWindow *""'");
37850 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37853 (arg1
)->CaptureMouse();
37854 wxPyEndAllowThreads(__tstate
);
37855 if (PyErr_Occurred()) SWIG_fail
;
37857 resultobj
= SWIG_Py_Void();
37864 SWIGINTERN PyObject
*_wrap_Window_ReleaseMouse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37865 PyObject
*resultobj
= 0;
37866 wxWindow
*arg1
= (wxWindow
*) 0 ;
37869 PyObject
*swig_obj
[1] ;
37871 if (!args
) SWIG_fail
;
37872 swig_obj
[0] = args
;
37873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37874 if (!SWIG_IsOK(res1
)) {
37875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ReleaseMouse" "', expected argument " "1"" of type '" "wxWindow *""'");
37877 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37880 (arg1
)->ReleaseMouse();
37881 wxPyEndAllowThreads(__tstate
);
37882 if (PyErr_Occurred()) SWIG_fail
;
37884 resultobj
= SWIG_Py_Void();
37891 SWIGINTERN PyObject
*_wrap_Window_GetCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37892 PyObject
*resultobj
= 0;
37893 wxWindow
*result
= 0 ;
37895 if (!SWIG_Python_UnpackTuple(args
,"Window_GetCapture",0,0,0)) SWIG_fail
;
37897 if (!wxPyCheckForApp()) SWIG_fail
;
37898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37899 result
= (wxWindow
*)wxWindow::GetCapture();
37900 wxPyEndAllowThreads(__tstate
);
37901 if (PyErr_Occurred()) SWIG_fail
;
37904 resultobj
= wxPyMake_wxObject(result
, 0);
37912 SWIGINTERN PyObject
*_wrap_Window_HasCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37913 PyObject
*resultobj
= 0;
37914 wxWindow
*arg1
= (wxWindow
*) 0 ;
37918 PyObject
*swig_obj
[1] ;
37920 if (!args
) SWIG_fail
;
37921 swig_obj
[0] = args
;
37922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37923 if (!SWIG_IsOK(res1
)) {
37924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_HasCapture" "', expected argument " "1"" of type '" "wxWindow const *""'");
37926 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37929 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
37930 wxPyEndAllowThreads(__tstate
);
37931 if (PyErr_Occurred()) SWIG_fail
;
37934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37942 SWIGINTERN PyObject
*_wrap_Window_Refresh(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37943 PyObject
*resultobj
= 0;
37944 wxWindow
*arg1
= (wxWindow
*) 0 ;
37945 bool arg2
= (bool) true ;
37946 wxRect
*arg3
= (wxRect
*) NULL
;
37953 PyObject
* obj0
= 0 ;
37954 PyObject
* obj1
= 0 ;
37955 PyObject
* obj2
= 0 ;
37956 char * kwnames
[] = {
37957 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
37960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37962 if (!SWIG_IsOK(res1
)) {
37963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Refresh" "', expected argument " "1"" of type '" "wxWindow *""'");
37965 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37967 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37968 if (!SWIG_IsOK(ecode2
)) {
37969 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_Refresh" "', expected argument " "2"" of type '" "bool""'");
37971 arg2
= static_cast< bool >(val2
);
37974 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
37975 if (!SWIG_IsOK(res3
)) {
37976 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Window_Refresh" "', expected argument " "3"" of type '" "wxRect const *""'");
37978 arg3
= reinterpret_cast< wxRect
* >(argp3
);
37981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37982 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
37983 wxPyEndAllowThreads(__tstate
);
37984 if (PyErr_Occurred()) SWIG_fail
;
37986 resultobj
= SWIG_Py_Void();
37993 SWIGINTERN PyObject
*_wrap_Window_RefreshRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37994 PyObject
*resultobj
= 0;
37995 wxWindow
*arg1
= (wxWindow
*) 0 ;
37997 bool arg3
= (bool) true ;
38003 PyObject
* obj0
= 0 ;
38004 PyObject
* obj1
= 0 ;
38005 PyObject
* obj2
= 0 ;
38006 char * kwnames
[] = {
38007 (char *) "self",(char *) "rect",(char *) "eraseBackground", NULL
38010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_RefreshRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38012 if (!SWIG_IsOK(res1
)) {
38013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_RefreshRect" "', expected argument " "1"" of type '" "wxWindow *""'");
38015 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38018 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
38021 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
38022 if (!SWIG_IsOK(ecode3
)) {
38023 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_RefreshRect" "', expected argument " "3"" of type '" "bool""'");
38025 arg3
= static_cast< bool >(val3
);
38028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38029 (arg1
)->RefreshRect((wxRect
const &)*arg2
,arg3
);
38030 wxPyEndAllowThreads(__tstate
);
38031 if (PyErr_Occurred()) SWIG_fail
;
38033 resultobj
= SWIG_Py_Void();
38040 SWIGINTERN PyObject
*_wrap_Window_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38041 PyObject
*resultobj
= 0;
38042 wxWindow
*arg1
= (wxWindow
*) 0 ;
38045 PyObject
*swig_obj
[1] ;
38047 if (!args
) SWIG_fail
;
38048 swig_obj
[0] = args
;
38049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38050 if (!SWIG_IsOK(res1
)) {
38051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Update" "', expected argument " "1"" of type '" "wxWindow *""'");
38053 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38057 wxPyEndAllowThreads(__tstate
);
38058 if (PyErr_Occurred()) SWIG_fail
;
38060 resultobj
= SWIG_Py_Void();
38067 SWIGINTERN PyObject
*_wrap_Window_ClearBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38068 PyObject
*resultobj
= 0;
38069 wxWindow
*arg1
= (wxWindow
*) 0 ;
38072 PyObject
*swig_obj
[1] ;
38074 if (!args
) SWIG_fail
;
38075 swig_obj
[0] = args
;
38076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38077 if (!SWIG_IsOK(res1
)) {
38078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ClearBackground" "', expected argument " "1"" of type '" "wxWindow *""'");
38080 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38083 (arg1
)->ClearBackground();
38084 wxPyEndAllowThreads(__tstate
);
38085 if (PyErr_Occurred()) SWIG_fail
;
38087 resultobj
= SWIG_Py_Void();
38094 SWIGINTERN PyObject
*_wrap_Window_Freeze(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38095 PyObject
*resultobj
= 0;
38096 wxWindow
*arg1
= (wxWindow
*) 0 ;
38099 PyObject
*swig_obj
[1] ;
38101 if (!args
) SWIG_fail
;
38102 swig_obj
[0] = args
;
38103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38104 if (!SWIG_IsOK(res1
)) {
38105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Freeze" "', expected argument " "1"" of type '" "wxWindow *""'");
38107 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38111 wxPyEndAllowThreads(__tstate
);
38112 if (PyErr_Occurred()) SWIG_fail
;
38114 resultobj
= SWIG_Py_Void();
38121 SWIGINTERN PyObject
*_wrap_Window_IsFrozen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38122 PyObject
*resultobj
= 0;
38123 wxWindow
*arg1
= (wxWindow
*) 0 ;
38127 PyObject
*swig_obj
[1] ;
38129 if (!args
) SWIG_fail
;
38130 swig_obj
[0] = args
;
38131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38132 if (!SWIG_IsOK(res1
)) {
38133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsFrozen" "', expected argument " "1"" of type '" "wxWindow const *""'");
38135 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38138 result
= (bool)((wxWindow
const *)arg1
)->IsFrozen();
38139 wxPyEndAllowThreads(__tstate
);
38140 if (PyErr_Occurred()) SWIG_fail
;
38143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38151 SWIGINTERN PyObject
*_wrap_Window_Thaw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38152 PyObject
*resultobj
= 0;
38153 wxWindow
*arg1
= (wxWindow
*) 0 ;
38156 PyObject
*swig_obj
[1] ;
38158 if (!args
) SWIG_fail
;
38159 swig_obj
[0] = args
;
38160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38161 if (!SWIG_IsOK(res1
)) {
38162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Thaw" "', expected argument " "1"" of type '" "wxWindow *""'");
38164 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38168 wxPyEndAllowThreads(__tstate
);
38169 if (PyErr_Occurred()) SWIG_fail
;
38171 resultobj
= SWIG_Py_Void();
38178 SWIGINTERN PyObject
*_wrap_Window_PrepareDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38179 PyObject
*resultobj
= 0;
38180 wxWindow
*arg1
= (wxWindow
*) 0 ;
38186 PyObject
* obj0
= 0 ;
38187 PyObject
* obj1
= 0 ;
38188 char * kwnames
[] = {
38189 (char *) "self",(char *) "dc", NULL
38192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38194 if (!SWIG_IsOK(res1
)) {
38195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PrepareDC" "', expected argument " "1"" of type '" "wxWindow *""'");
38197 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38198 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
38199 if (!SWIG_IsOK(res2
)) {
38200 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_PrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
38203 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_PrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
38205 arg2
= reinterpret_cast< wxDC
* >(argp2
);
38207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38208 (arg1
)->PrepareDC(*arg2
);
38209 wxPyEndAllowThreads(__tstate
);
38210 if (PyErr_Occurred()) SWIG_fail
;
38212 resultobj
= SWIG_Py_Void();
38219 SWIGINTERN PyObject
*_wrap_Window_IsDoubleBuffered(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38220 PyObject
*resultobj
= 0;
38221 wxWindow
*arg1
= (wxWindow
*) 0 ;
38225 PyObject
*swig_obj
[1] ;
38227 if (!args
) SWIG_fail
;
38228 swig_obj
[0] = args
;
38229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38230 if (!SWIG_IsOK(res1
)) {
38231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsDoubleBuffered" "', expected argument " "1"" of type '" "wxWindow const *""'");
38233 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38236 result
= (bool)((wxWindow
const *)arg1
)->IsDoubleBuffered();
38237 wxPyEndAllowThreads(__tstate
);
38238 if (PyErr_Occurred()) SWIG_fail
;
38241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38249 SWIGINTERN PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38250 PyObject
*resultobj
= 0;
38251 wxWindow
*arg1
= (wxWindow
*) 0 ;
38252 wxRegion
*result
= 0 ;
38255 PyObject
*swig_obj
[1] ;
38257 if (!args
) SWIG_fail
;
38258 swig_obj
[0] = args
;
38259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38260 if (!SWIG_IsOK(res1
)) {
38261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetUpdateRegion" "', expected argument " "1"" of type '" "wxWindow *""'");
38263 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38267 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
38268 result
= (wxRegion
*) &_result_ref
;
38270 wxPyEndAllowThreads(__tstate
);
38271 if (PyErr_Occurred()) SWIG_fail
;
38273 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, 0 | 0 );
38280 SWIGINTERN PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38281 PyObject
*resultobj
= 0;
38282 wxWindow
*arg1
= (wxWindow
*) 0 ;
38286 PyObject
*swig_obj
[1] ;
38288 if (!args
) SWIG_fail
;
38289 swig_obj
[0] = args
;
38290 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38291 if (!SWIG_IsOK(res1
)) {
38292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetUpdateClientRect" "', expected argument " "1"" of type '" "wxWindow const *""'");
38294 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38297 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
38298 wxPyEndAllowThreads(__tstate
);
38299 if (PyErr_Occurred()) SWIG_fail
;
38301 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
38308 SWIGINTERN PyObject
*_wrap_Window_IsExposed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38309 PyObject
*resultobj
= 0;
38310 wxWindow
*arg1
= (wxWindow
*) 0 ;
38313 int arg4
= (int) 1 ;
38314 int arg5
= (int) 1 ;
38326 PyObject
* obj0
= 0 ;
38327 PyObject
* obj1
= 0 ;
38328 PyObject
* obj2
= 0 ;
38329 PyObject
* obj3
= 0 ;
38330 PyObject
* obj4
= 0 ;
38331 char * kwnames
[] = {
38332 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
38335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38337 if (!SWIG_IsOK(res1
)) {
38338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsExposed" "', expected argument " "1"" of type '" "wxWindow const *""'");
38340 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38341 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38342 if (!SWIG_IsOK(ecode2
)) {
38343 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_IsExposed" "', expected argument " "2"" of type '" "int""'");
38345 arg2
= static_cast< int >(val2
);
38346 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38347 if (!SWIG_IsOK(ecode3
)) {
38348 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_IsExposed" "', expected argument " "3"" of type '" "int""'");
38350 arg3
= static_cast< int >(val3
);
38352 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38353 if (!SWIG_IsOK(ecode4
)) {
38354 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_IsExposed" "', expected argument " "4"" of type '" "int""'");
38356 arg4
= static_cast< int >(val4
);
38359 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38360 if (!SWIG_IsOK(ecode5
)) {
38361 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Window_IsExposed" "', expected argument " "5"" of type '" "int""'");
38363 arg5
= static_cast< int >(val5
);
38366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38367 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
38368 wxPyEndAllowThreads(__tstate
);
38369 if (PyErr_Occurred()) SWIG_fail
;
38372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38380 SWIGINTERN PyObject
*_wrap_Window_IsExposedPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38381 PyObject
*resultobj
= 0;
38382 wxWindow
*arg1
= (wxWindow
*) 0 ;
38383 wxPoint
*arg2
= 0 ;
38388 PyObject
* obj0
= 0 ;
38389 PyObject
* obj1
= 0 ;
38390 char * kwnames
[] = {
38391 (char *) "self",(char *) "pt", NULL
38394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38396 if (!SWIG_IsOK(res1
)) {
38397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsExposedPoint" "', expected argument " "1"" of type '" "wxWindow const *""'");
38399 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38402 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
38405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38406 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
38407 wxPyEndAllowThreads(__tstate
);
38408 if (PyErr_Occurred()) SWIG_fail
;
38411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38419 SWIGINTERN PyObject
*_wrap_Window_IsExposedRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38420 PyObject
*resultobj
= 0;
38421 wxWindow
*arg1
= (wxWindow
*) 0 ;
38427 PyObject
* obj0
= 0 ;
38428 PyObject
* obj1
= 0 ;
38429 char * kwnames
[] = {
38430 (char *) "self",(char *) "rect", NULL
38433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38435 if (!SWIG_IsOK(res1
)) {
38436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsExposedRect" "', expected argument " "1"" of type '" "wxWindow const *""'");
38438 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38441 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
38444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38445 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
38446 wxPyEndAllowThreads(__tstate
);
38447 if (PyErr_Occurred()) SWIG_fail
;
38450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38458 SWIGINTERN PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38459 PyObject
*resultobj
= 0;
38460 wxWindow
*arg1
= (wxWindow
*) 0 ;
38461 SwigValueWrapper
<wxVisualAttributes
> result
;
38464 PyObject
*swig_obj
[1] ;
38466 if (!args
) SWIG_fail
;
38467 swig_obj
[0] = args
;
38468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38469 if (!SWIG_IsOK(res1
)) {
38470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxWindow const *""'");
38472 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38475 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
38476 wxPyEndAllowThreads(__tstate
);
38477 if (PyErr_Occurred()) SWIG_fail
;
38479 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
38486 SWIGINTERN PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38487 PyObject
*resultobj
= 0;
38488 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
38489 SwigValueWrapper
<wxVisualAttributes
> result
;
38492 PyObject
* obj0
= 0 ;
38493 char * kwnames
[] = {
38494 (char *) "variant", NULL
38497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
38499 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
38500 if (!SWIG_IsOK(ecode1
)) {
38501 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Window_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
38503 arg1
= static_cast< wxWindowVariant
>(val1
);
38506 if (!wxPyCheckForApp()) SWIG_fail
;
38507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38508 result
= wxWindow::GetClassDefaultAttributes(arg1
);
38509 wxPyEndAllowThreads(__tstate
);
38510 if (PyErr_Occurred()) SWIG_fail
;
38512 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
38519 SWIGINTERN PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38520 PyObject
*resultobj
= 0;
38521 wxWindow
*arg1
= (wxWindow
*) 0 ;
38522 wxColour
*arg2
= 0 ;
38527 PyObject
* obj0
= 0 ;
38528 PyObject
* obj1
= 0 ;
38529 char * kwnames
[] = {
38530 (char *) "self",(char *) "colour", NULL
38533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38535 if (!SWIG_IsOK(res1
)) {
38536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetBackgroundColour" "', expected argument " "1"" of type '" "wxWindow *""'");
38538 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38541 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38545 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
38546 wxPyEndAllowThreads(__tstate
);
38547 if (PyErr_Occurred()) SWIG_fail
;
38550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38558 SWIGINTERN PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38559 PyObject
*resultobj
= 0;
38560 wxWindow
*arg1
= (wxWindow
*) 0 ;
38561 wxColour
*arg2
= 0 ;
38565 PyObject
* obj0
= 0 ;
38566 PyObject
* obj1
= 0 ;
38567 char * kwnames
[] = {
38568 (char *) "self",(char *) "colour", NULL
38571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38573 if (!SWIG_IsOK(res1
)) {
38574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetOwnBackgroundColour" "', expected argument " "1"" of type '" "wxWindow *""'");
38576 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38579 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38583 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
38584 wxPyEndAllowThreads(__tstate
);
38585 if (PyErr_Occurred()) SWIG_fail
;
38587 resultobj
= SWIG_Py_Void();
38594 SWIGINTERN PyObject
*_wrap_Window_SetForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38595 PyObject
*resultobj
= 0;
38596 wxWindow
*arg1
= (wxWindow
*) 0 ;
38597 wxColour
*arg2
= 0 ;
38602 PyObject
* obj0
= 0 ;
38603 PyObject
* obj1
= 0 ;
38604 char * kwnames
[] = {
38605 (char *) "self",(char *) "colour", NULL
38608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38610 if (!SWIG_IsOK(res1
)) {
38611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetForegroundColour" "', expected argument " "1"" of type '" "wxWindow *""'");
38613 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38616 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38620 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
38621 wxPyEndAllowThreads(__tstate
);
38622 if (PyErr_Occurred()) SWIG_fail
;
38625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38633 SWIGINTERN PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38634 PyObject
*resultobj
= 0;
38635 wxWindow
*arg1
= (wxWindow
*) 0 ;
38636 wxColour
*arg2
= 0 ;
38640 PyObject
* obj0
= 0 ;
38641 PyObject
* obj1
= 0 ;
38642 char * kwnames
[] = {
38643 (char *) "self",(char *) "colour", NULL
38646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38648 if (!SWIG_IsOK(res1
)) {
38649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetOwnForegroundColour" "', expected argument " "1"" of type '" "wxWindow *""'");
38651 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38654 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38658 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
38659 wxPyEndAllowThreads(__tstate
);
38660 if (PyErr_Occurred()) SWIG_fail
;
38662 resultobj
= SWIG_Py_Void();
38669 SWIGINTERN PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38670 PyObject
*resultobj
= 0;
38671 wxWindow
*arg1
= (wxWindow
*) 0 ;
38675 PyObject
*swig_obj
[1] ;
38677 if (!args
) SWIG_fail
;
38678 swig_obj
[0] = args
;
38679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38680 if (!SWIG_IsOK(res1
)) {
38681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBackgroundColour" "', expected argument " "1"" of type '" "wxWindow const *""'");
38683 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38686 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
38687 wxPyEndAllowThreads(__tstate
);
38688 if (PyErr_Occurred()) SWIG_fail
;
38690 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
38697 SWIGINTERN PyObject
*_wrap_Window_GetForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38698 PyObject
*resultobj
= 0;
38699 wxWindow
*arg1
= (wxWindow
*) 0 ;
38703 PyObject
*swig_obj
[1] ;
38705 if (!args
) SWIG_fail
;
38706 swig_obj
[0] = args
;
38707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38708 if (!SWIG_IsOK(res1
)) {
38709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetForegroundColour" "', expected argument " "1"" of type '" "wxWindow const *""'");
38711 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38714 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
38715 wxPyEndAllowThreads(__tstate
);
38716 if (PyErr_Occurred()) SWIG_fail
;
38718 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
38725 SWIGINTERN PyObject
*_wrap_Window_InheritsBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38726 PyObject
*resultobj
= 0;
38727 wxWindow
*arg1
= (wxWindow
*) 0 ;
38731 PyObject
*swig_obj
[1] ;
38733 if (!args
) SWIG_fail
;
38734 swig_obj
[0] = args
;
38735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38736 if (!SWIG_IsOK(res1
)) {
38737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_InheritsBackgroundColour" "', expected argument " "1"" of type '" "wxWindow const *""'");
38739 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38742 result
= (bool)((wxWindow
const *)arg1
)->InheritsBackgroundColour();
38743 wxPyEndAllowThreads(__tstate
);
38744 if (PyErr_Occurred()) SWIG_fail
;
38747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38755 SWIGINTERN PyObject
*_wrap_Window_UseBgCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38756 PyObject
*resultobj
= 0;
38757 wxWindow
*arg1
= (wxWindow
*) 0 ;
38761 PyObject
*swig_obj
[1] ;
38763 if (!args
) SWIG_fail
;
38764 swig_obj
[0] = args
;
38765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38766 if (!SWIG_IsOK(res1
)) {
38767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_UseBgCol" "', expected argument " "1"" of type '" "wxWindow const *""'");
38769 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38772 result
= (bool)((wxWindow
const *)arg1
)->UseBgCol();
38773 wxPyEndAllowThreads(__tstate
);
38774 if (PyErr_Occurred()) SWIG_fail
;
38777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38785 SWIGINTERN PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38786 PyObject
*resultobj
= 0;
38787 wxWindow
*arg1
= (wxWindow
*) 0 ;
38788 wxBackgroundStyle arg2
;
38794 PyObject
* obj0
= 0 ;
38795 PyObject
* obj1
= 0 ;
38796 char * kwnames
[] = {
38797 (char *) "self",(char *) "style", NULL
38800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38802 if (!SWIG_IsOK(res1
)) {
38803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetBackgroundStyle" "', expected argument " "1"" of type '" "wxWindow *""'");
38805 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38806 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38807 if (!SWIG_IsOK(ecode2
)) {
38808 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetBackgroundStyle" "', expected argument " "2"" of type '" "wxBackgroundStyle""'");
38810 arg2
= static_cast< wxBackgroundStyle
>(val2
);
38812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38813 result
= (bool)(arg1
)->SetBackgroundStyle(arg2
);
38814 wxPyEndAllowThreads(__tstate
);
38815 if (PyErr_Occurred()) SWIG_fail
;
38818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38826 SWIGINTERN PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38827 PyObject
*resultobj
= 0;
38828 wxWindow
*arg1
= (wxWindow
*) 0 ;
38829 wxBackgroundStyle result
;
38832 PyObject
*swig_obj
[1] ;
38834 if (!args
) SWIG_fail
;
38835 swig_obj
[0] = args
;
38836 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38837 if (!SWIG_IsOK(res1
)) {
38838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBackgroundStyle" "', expected argument " "1"" of type '" "wxWindow const *""'");
38840 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38843 result
= (wxBackgroundStyle
)((wxWindow
const *)arg1
)->GetBackgroundStyle();
38844 wxPyEndAllowThreads(__tstate
);
38845 if (PyErr_Occurred()) SWIG_fail
;
38847 resultobj
= SWIG_From_int(static_cast< int >(result
));
38854 SWIGINTERN PyObject
*_wrap_Window_HasTransparentBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38855 PyObject
*resultobj
= 0;
38856 wxWindow
*arg1
= (wxWindow
*) 0 ;
38860 PyObject
*swig_obj
[1] ;
38862 if (!args
) SWIG_fail
;
38863 swig_obj
[0] = args
;
38864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38865 if (!SWIG_IsOK(res1
)) {
38866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_HasTransparentBackground" "', expected argument " "1"" of type '" "wxWindow *""'");
38868 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38871 result
= (bool)(arg1
)->HasTransparentBackground();
38872 wxPyEndAllowThreads(__tstate
);
38873 if (PyErr_Occurred()) SWIG_fail
;
38876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38884 SWIGINTERN PyObject
*_wrap_Window_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38885 PyObject
*resultobj
= 0;
38886 wxWindow
*arg1
= (wxWindow
*) 0 ;
38887 wxCursor
*arg2
= 0 ;
38893 PyObject
* obj0
= 0 ;
38894 PyObject
* obj1
= 0 ;
38895 char * kwnames
[] = {
38896 (char *) "self",(char *) "cursor", NULL
38899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38901 if (!SWIG_IsOK(res1
)) {
38902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetCursor" "', expected argument " "1"" of type '" "wxWindow *""'");
38904 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38905 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
38906 if (!SWIG_IsOK(res2
)) {
38907 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
38910 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_SetCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
38912 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
38914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38915 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
38916 wxPyEndAllowThreads(__tstate
);
38917 if (PyErr_Occurred()) SWIG_fail
;
38920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38928 SWIGINTERN PyObject
*_wrap_Window_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38929 PyObject
*resultobj
= 0;
38930 wxWindow
*arg1
= (wxWindow
*) 0 ;
38934 PyObject
*swig_obj
[1] ;
38936 if (!args
) SWIG_fail
;
38937 swig_obj
[0] = args
;
38938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38939 if (!SWIG_IsOK(res1
)) {
38940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetCursor" "', expected argument " "1"" of type '" "wxWindow *""'");
38942 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38945 result
= (arg1
)->GetCursor();
38946 wxPyEndAllowThreads(__tstate
);
38947 if (PyErr_Occurred()) SWIG_fail
;
38949 resultobj
= SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor
& >(result
))), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
38956 SWIGINTERN PyObject
*_wrap_Window_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38957 PyObject
*resultobj
= 0;
38958 wxWindow
*arg1
= (wxWindow
*) 0 ;
38965 PyObject
* obj0
= 0 ;
38966 PyObject
* obj1
= 0 ;
38967 char * kwnames
[] = {
38968 (char *) "self",(char *) "font", NULL
38971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38973 if (!SWIG_IsOK(res1
)) {
38974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetFont" "', expected argument " "1"" of type '" "wxWindow *""'");
38976 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38977 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
38978 if (!SWIG_IsOK(res2
)) {
38979 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38982 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38984 arg2
= reinterpret_cast< wxFont
* >(argp2
);
38986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38987 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
38988 wxPyEndAllowThreads(__tstate
);
38989 if (PyErr_Occurred()) SWIG_fail
;
38992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39000 SWIGINTERN PyObject
*_wrap_Window_SetOwnFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39001 PyObject
*resultobj
= 0;
39002 wxWindow
*arg1
= (wxWindow
*) 0 ;
39008 PyObject
* obj0
= 0 ;
39009 PyObject
* obj1
= 0 ;
39010 char * kwnames
[] = {
39011 (char *) "self",(char *) "font", NULL
39014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39016 if (!SWIG_IsOK(res1
)) {
39017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetOwnFont" "', expected argument " "1"" of type '" "wxWindow *""'");
39019 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39020 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
39021 if (!SWIG_IsOK(res2
)) {
39022 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetOwnFont" "', expected argument " "2"" of type '" "wxFont const &""'");
39025 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_SetOwnFont" "', expected argument " "2"" of type '" "wxFont const &""'");
39027 arg2
= reinterpret_cast< wxFont
* >(argp2
);
39029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39030 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
39031 wxPyEndAllowThreads(__tstate
);
39032 if (PyErr_Occurred()) SWIG_fail
;
39034 resultobj
= SWIG_Py_Void();
39041 SWIGINTERN PyObject
*_wrap_Window_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39042 PyObject
*resultobj
= 0;
39043 wxWindow
*arg1
= (wxWindow
*) 0 ;
39047 PyObject
*swig_obj
[1] ;
39049 if (!args
) SWIG_fail
;
39050 swig_obj
[0] = args
;
39051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39052 if (!SWIG_IsOK(res1
)) {
39053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetFont" "', expected argument " "1"" of type '" "wxWindow *""'");
39055 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39058 result
= (arg1
)->GetFont();
39059 wxPyEndAllowThreads(__tstate
);
39060 if (PyErr_Occurred()) SWIG_fail
;
39062 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
39069 SWIGINTERN PyObject
*_wrap_Window_SetCaret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39070 PyObject
*resultobj
= 0;
39071 wxWindow
*arg1
= (wxWindow
*) 0 ;
39072 wxCaret
*arg2
= (wxCaret
*) 0 ;
39076 PyObject
* obj0
= 0 ;
39077 PyObject
* obj1
= 0 ;
39078 char * kwnames
[] = {
39079 (char *) "self",(char *) "caret", NULL
39082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39084 if (!SWIG_IsOK(res1
)) {
39085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetCaret" "', expected argument " "1"" of type '" "wxWindow *""'");
39087 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39088 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxCaret
, SWIG_POINTER_DISOWN
| 0 );
39089 if (!SWIG_IsOK(res2
)) {
39090 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetCaret" "', expected argument " "2"" of type '" "wxCaret *""'");
39093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39094 (arg1
)->SetCaret(arg2
);
39095 wxPyEndAllowThreads(__tstate
);
39096 if (PyErr_Occurred()) SWIG_fail
;
39098 resultobj
= SWIG_Py_Void();
39105 SWIGINTERN PyObject
*_wrap_Window_GetCaret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39106 PyObject
*resultobj
= 0;
39107 wxWindow
*arg1
= (wxWindow
*) 0 ;
39108 wxCaret
*result
= 0 ;
39111 PyObject
*swig_obj
[1] ;
39113 if (!args
) SWIG_fail
;
39114 swig_obj
[0] = args
;
39115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39116 if (!SWIG_IsOK(res1
)) {
39117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetCaret" "', expected argument " "1"" of type '" "wxWindow const *""'");
39119 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39122 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
39123 wxPyEndAllowThreads(__tstate
);
39124 if (PyErr_Occurred()) SWIG_fail
;
39126 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCaret
, 0 | 0 );
39133 SWIGINTERN PyObject
*_wrap_Window_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39134 PyObject
*resultobj
= 0;
39135 wxWindow
*arg1
= (wxWindow
*) 0 ;
39139 PyObject
*swig_obj
[1] ;
39141 if (!args
) SWIG_fail
;
39142 swig_obj
[0] = args
;
39143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39144 if (!SWIG_IsOK(res1
)) {
39145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetCharHeight" "', expected argument " "1"" of type '" "wxWindow const *""'");
39147 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39150 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
39151 wxPyEndAllowThreads(__tstate
);
39152 if (PyErr_Occurred()) SWIG_fail
;
39154 resultobj
= SWIG_From_int(static_cast< int >(result
));
39161 SWIGINTERN PyObject
*_wrap_Window_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39162 PyObject
*resultobj
= 0;
39163 wxWindow
*arg1
= (wxWindow
*) 0 ;
39167 PyObject
*swig_obj
[1] ;
39169 if (!args
) SWIG_fail
;
39170 swig_obj
[0] = args
;
39171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39172 if (!SWIG_IsOK(res1
)) {
39173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetCharWidth" "', expected argument " "1"" of type '" "wxWindow const *""'");
39175 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39178 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
39179 wxPyEndAllowThreads(__tstate
);
39180 if (PyErr_Occurred()) SWIG_fail
;
39182 resultobj
= SWIG_From_int(static_cast< int >(result
));
39189 SWIGINTERN PyObject
*_wrap_Window_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39190 PyObject
*resultobj
= 0;
39191 wxWindow
*arg1
= (wxWindow
*) 0 ;
39192 wxString
*arg2
= 0 ;
39193 int *arg3
= (int *) 0 ;
39194 int *arg4
= (int *) 0 ;
39197 bool temp2
= false ;
39199 int res3
= SWIG_TMPOBJ
;
39201 int res4
= SWIG_TMPOBJ
;
39202 PyObject
* obj0
= 0 ;
39203 PyObject
* obj1
= 0 ;
39204 char * kwnames
[] = {
39205 (char *) "self",(char *) "string", NULL
39210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39212 if (!SWIG_IsOK(res1
)) {
39213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetTextExtent" "', expected argument " "1"" of type '" "wxWindow *""'");
39215 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39217 arg2
= wxString_in_helper(obj1
);
39218 if (arg2
== NULL
) SWIG_fail
;
39222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39223 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
39224 wxPyEndAllowThreads(__tstate
);
39225 if (PyErr_Occurred()) SWIG_fail
;
39227 resultobj
= SWIG_Py_Void();
39228 if (SWIG_IsTmpObj(res3
)) {
39229 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39231 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39232 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39234 if (SWIG_IsTmpObj(res4
)) {
39235 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
39237 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39238 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
39254 SWIGINTERN PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39255 PyObject
*resultobj
= 0;
39256 wxWindow
*arg1
= (wxWindow
*) 0 ;
39257 wxString
*arg2
= 0 ;
39258 int *arg3
= (int *) 0 ;
39259 int *arg4
= (int *) 0 ;
39260 int *arg5
= (int *) 0 ;
39261 int *arg6
= (int *) 0 ;
39262 wxFont
*arg7
= (wxFont
*) NULL
;
39265 bool temp2
= false ;
39267 int res3
= SWIG_TMPOBJ
;
39269 int res4
= SWIG_TMPOBJ
;
39271 int res5
= SWIG_TMPOBJ
;
39273 int res6
= SWIG_TMPOBJ
;
39276 PyObject
* obj0
= 0 ;
39277 PyObject
* obj1
= 0 ;
39278 PyObject
* obj2
= 0 ;
39279 char * kwnames
[] = {
39280 (char *) "self",(char *) "string",(char *) "font", NULL
39287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39289 if (!SWIG_IsOK(res1
)) {
39290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetFullTextExtent" "', expected argument " "1"" of type '" "wxWindow *""'");
39292 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39294 arg2
= wxString_in_helper(obj1
);
39295 if (arg2
== NULL
) SWIG_fail
;
39299 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
39300 if (!SWIG_IsOK(res7
)) {
39301 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "Window_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont const *""'");
39303 arg7
= reinterpret_cast< wxFont
* >(argp7
);
39306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39307 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
39308 wxPyEndAllowThreads(__tstate
);
39309 if (PyErr_Occurred()) SWIG_fail
;
39311 resultobj
= SWIG_Py_Void();
39312 if (SWIG_IsTmpObj(res3
)) {
39313 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39315 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39316 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39318 if (SWIG_IsTmpObj(res4
)) {
39319 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
39321 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39322 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
39324 if (SWIG_IsTmpObj(res5
)) {
39325 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
39327 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39328 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
39330 if (SWIG_IsTmpObj(res6
)) {
39331 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
39333 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39334 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
39350 SWIGINTERN PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39351 PyObject
*resultobj
= 0;
39352 wxWindow
*arg1
= (wxWindow
*) 0 ;
39353 int *arg2
= (int *) 0 ;
39354 int *arg3
= (int *) 0 ;
39361 PyObject
* obj0
= 0 ;
39362 PyObject
* obj1
= 0 ;
39363 PyObject
* obj2
= 0 ;
39364 char * kwnames
[] = {
39365 (char *) "self",(char *) "x",(char *) "y", NULL
39368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39370 if (!SWIG_IsOK(res1
)) {
39371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ClientToScreenXY" "', expected argument " "1"" of type '" "wxWindow const *""'");
39373 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39374 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_int
,0))))) {
39376 int ecode
= SWIG_AsVal_int(obj1
, &val
);
39377 if (!SWIG_IsOK(ecode
)) {
39378 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "Window_ClientToScreenXY" "', expected argument " "2"" of type '" "int""'");
39380 temp2
= static_cast< int >(val
);
39382 res2
= SWIG_AddTmpMask(ecode
);
39384 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_int
,0))))) {
39386 int ecode
= SWIG_AsVal_int(obj2
, &val
);
39387 if (!SWIG_IsOK(ecode
)) {
39388 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "Window_ClientToScreenXY" "', expected argument " "3"" of type '" "int""'");
39390 temp3
= static_cast< int >(val
);
39392 res3
= SWIG_AddTmpMask(ecode
);
39395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39396 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
39397 wxPyEndAllowThreads(__tstate
);
39398 if (PyErr_Occurred()) SWIG_fail
;
39400 resultobj
= SWIG_Py_Void();
39401 if (SWIG_IsTmpObj(res2
)) {
39402 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39404 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39405 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39407 if (SWIG_IsTmpObj(res3
)) {
39408 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39410 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39411 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39419 SWIGINTERN PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39420 PyObject
*resultobj
= 0;
39421 wxWindow
*arg1
= (wxWindow
*) 0 ;
39422 int *arg2
= (int *) 0 ;
39423 int *arg3
= (int *) 0 ;
39430 PyObject
* obj0
= 0 ;
39431 PyObject
* obj1
= 0 ;
39432 PyObject
* obj2
= 0 ;
39433 char * kwnames
[] = {
39434 (char *) "self",(char *) "x",(char *) "y", NULL
39437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39439 if (!SWIG_IsOK(res1
)) {
39440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ScreenToClientXY" "', expected argument " "1"" of type '" "wxWindow const *""'");
39442 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39443 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_int
,0))))) {
39445 int ecode
= SWIG_AsVal_int(obj1
, &val
);
39446 if (!SWIG_IsOK(ecode
)) {
39447 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "Window_ScreenToClientXY" "', expected argument " "2"" of type '" "int""'");
39449 temp2
= static_cast< int >(val
);
39451 res2
= SWIG_AddTmpMask(ecode
);
39453 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_int
,0))))) {
39455 int ecode
= SWIG_AsVal_int(obj2
, &val
);
39456 if (!SWIG_IsOK(ecode
)) {
39457 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "Window_ScreenToClientXY" "', expected argument " "3"" of type '" "int""'");
39459 temp3
= static_cast< int >(val
);
39461 res3
= SWIG_AddTmpMask(ecode
);
39464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39465 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
39466 wxPyEndAllowThreads(__tstate
);
39467 if (PyErr_Occurred()) SWIG_fail
;
39469 resultobj
= SWIG_Py_Void();
39470 if (SWIG_IsTmpObj(res2
)) {
39471 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39473 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39474 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39476 if (SWIG_IsTmpObj(res3
)) {
39477 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39479 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39480 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39488 SWIGINTERN PyObject
*_wrap_Window_ClientToScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39489 PyObject
*resultobj
= 0;
39490 wxWindow
*arg1
= (wxWindow
*) 0 ;
39491 wxPoint
*arg2
= 0 ;
39496 PyObject
* obj0
= 0 ;
39497 PyObject
* obj1
= 0 ;
39498 char * kwnames
[] = {
39499 (char *) "self",(char *) "pt", NULL
39502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39504 if (!SWIG_IsOK(res1
)) {
39505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ClientToScreen" "', expected argument " "1"" of type '" "wxWindow const *""'");
39507 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39510 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39514 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
39515 wxPyEndAllowThreads(__tstate
);
39516 if (PyErr_Occurred()) SWIG_fail
;
39518 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
39525 SWIGINTERN PyObject
*_wrap_Window_ScreenToClient(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39526 PyObject
*resultobj
= 0;
39527 wxWindow
*arg1
= (wxWindow
*) 0 ;
39528 wxPoint
*arg2
= 0 ;
39533 PyObject
* obj0
= 0 ;
39534 PyObject
* obj1
= 0 ;
39535 char * kwnames
[] = {
39536 (char *) "self",(char *) "pt", NULL
39539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39541 if (!SWIG_IsOK(res1
)) {
39542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ScreenToClient" "', expected argument " "1"" of type '" "wxWindow const *""'");
39544 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39547 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39551 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
39552 wxPyEndAllowThreads(__tstate
);
39553 if (PyErr_Occurred()) SWIG_fail
;
39555 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
39562 SWIGINTERN PyObject
*_wrap_Window_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39563 PyObject
*resultobj
= 0;
39564 wxWindow
*arg1
= (wxWindow
*) 0 ;
39574 PyObject
* obj0
= 0 ;
39575 PyObject
* obj1
= 0 ;
39576 PyObject
* obj2
= 0 ;
39577 char * kwnames
[] = {
39578 (char *) "self",(char *) "x",(char *) "y", NULL
39581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39583 if (!SWIG_IsOK(res1
)) {
39584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_HitTestXY" "', expected argument " "1"" of type '" "wxWindow const *""'");
39586 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39587 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39588 if (!SWIG_IsOK(ecode2
)) {
39589 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_HitTestXY" "', expected argument " "2"" of type '" "int""'");
39591 arg2
= static_cast< int >(val2
);
39592 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39593 if (!SWIG_IsOK(ecode3
)) {
39594 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_HitTestXY" "', expected argument " "3"" of type '" "int""'");
39596 arg3
= static_cast< int >(val3
);
39598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39599 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
39600 wxPyEndAllowThreads(__tstate
);
39601 if (PyErr_Occurred()) SWIG_fail
;
39603 resultobj
= SWIG_From_int(static_cast< int >(result
));
39610 SWIGINTERN PyObject
*_wrap_Window_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39611 PyObject
*resultobj
= 0;
39612 wxWindow
*arg1
= (wxWindow
*) 0 ;
39613 wxPoint
*arg2
= 0 ;
39618 PyObject
* obj0
= 0 ;
39619 PyObject
* obj1
= 0 ;
39620 char * kwnames
[] = {
39621 (char *) "self",(char *) "pt", NULL
39624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39626 if (!SWIG_IsOK(res1
)) {
39627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_HitTest" "', expected argument " "1"" of type '" "wxWindow const *""'");
39629 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39632 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39636 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
39637 wxPyEndAllowThreads(__tstate
);
39638 if (PyErr_Occurred()) SWIG_fail
;
39640 resultobj
= SWIG_From_int(static_cast< int >(result
));
39647 SWIGINTERN PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
39648 PyObject
*resultobj
= 0;
39649 wxWindow
*arg1
= (wxWindow
*) 0 ;
39657 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
39658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39659 if (!SWIG_IsOK(res1
)) {
39660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBorder" "', expected argument " "1"" of type '" "wxWindow const *""'");
39662 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39663 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
39664 if (!SWIG_IsOK(ecode2
)) {
39665 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_GetBorder" "', expected argument " "2"" of type '" "long""'");
39667 arg2
= static_cast< long >(val2
);
39669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39670 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder(arg2
);
39671 wxPyEndAllowThreads(__tstate
);
39672 if (PyErr_Occurred()) SWIG_fail
;
39674 resultobj
= SWIG_From_int(static_cast< int >(result
));
39681 SWIGINTERN PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
39682 PyObject
*resultobj
= 0;
39683 wxWindow
*arg1
= (wxWindow
*) 0 ;
39688 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
39689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39690 if (!SWIG_IsOK(res1
)) {
39691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBorder" "', expected argument " "1"" of type '" "wxWindow const *""'");
39693 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39696 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder();
39697 wxPyEndAllowThreads(__tstate
);
39698 if (PyErr_Occurred()) SWIG_fail
;
39700 resultobj
= SWIG_From_int(static_cast< int >(result
));
39707 SWIGINTERN PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
39711 if (!(argc
= SWIG_Python_UnpackTuple(args
,"Window_GetBorder",0,2,argv
))) SWIG_fail
;
39714 return _wrap_Window_GetBorder__SWIG_1(self
, argc
, argv
);
39717 return _wrap_Window_GetBorder__SWIG_0(self
, argc
, argv
);
39721 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'Window_GetBorder'");
39726 SWIGINTERN PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39727 PyObject
*resultobj
= 0;
39728 wxWindow
*arg1
= (wxWindow
*) 0 ;
39729 long arg2
= (long) wxUPDATE_UI_NONE
;
39734 PyObject
* obj0
= 0 ;
39735 PyObject
* obj1
= 0 ;
39736 char * kwnames
[] = {
39737 (char *) "self",(char *) "flags", NULL
39740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39742 if (!SWIG_IsOK(res1
)) {
39743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_UpdateWindowUI" "', expected argument " "1"" of type '" "wxWindow *""'");
39745 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39747 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
39748 if (!SWIG_IsOK(ecode2
)) {
39749 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_UpdateWindowUI" "', expected argument " "2"" of type '" "long""'");
39751 arg2
= static_cast< long >(val2
);
39754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39755 (arg1
)->UpdateWindowUI(arg2
);
39756 wxPyEndAllowThreads(__tstate
);
39757 if (PyErr_Occurred()) SWIG_fail
;
39759 resultobj
= SWIG_Py_Void();
39766 SWIGINTERN PyObject
*_wrap_Window_PopupMenuXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39767 PyObject
*resultobj
= 0;
39768 wxWindow
*arg1
= (wxWindow
*) 0 ;
39769 wxMenu
*arg2
= (wxMenu
*) 0 ;
39770 int arg3
= (int) -1 ;
39771 int arg4
= (int) -1 ;
39781 PyObject
* obj0
= 0 ;
39782 PyObject
* obj1
= 0 ;
39783 PyObject
* obj2
= 0 ;
39784 PyObject
* obj3
= 0 ;
39785 char * kwnames
[] = {
39786 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
39789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39791 if (!SWIG_IsOK(res1
)) {
39792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PopupMenuXY" "', expected argument " "1"" of type '" "wxWindow *""'");
39794 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39795 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39796 if (!SWIG_IsOK(res2
)) {
39797 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_PopupMenuXY" "', expected argument " "2"" of type '" "wxMenu *""'");
39799 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
39801 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39802 if (!SWIG_IsOK(ecode3
)) {
39803 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_PopupMenuXY" "', expected argument " "3"" of type '" "int""'");
39805 arg3
= static_cast< int >(val3
);
39808 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39809 if (!SWIG_IsOK(ecode4
)) {
39810 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_PopupMenuXY" "', expected argument " "4"" of type '" "int""'");
39812 arg4
= static_cast< int >(val4
);
39815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39816 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
39817 wxPyEndAllowThreads(__tstate
);
39818 if (PyErr_Occurred()) SWIG_fail
;
39821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39829 SWIGINTERN PyObject
*_wrap_Window_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39830 PyObject
*resultobj
= 0;
39831 wxWindow
*arg1
= (wxWindow
*) 0 ;
39832 wxMenu
*arg2
= (wxMenu
*) 0 ;
39833 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39834 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39841 PyObject
* obj0
= 0 ;
39842 PyObject
* obj1
= 0 ;
39843 PyObject
* obj2
= 0 ;
39844 char * kwnames
[] = {
39845 (char *) "self",(char *) "menu",(char *) "pos", NULL
39848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39850 if (!SWIG_IsOK(res1
)) {
39851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PopupMenu" "', expected argument " "1"" of type '" "wxWindow *""'");
39853 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39854 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39855 if (!SWIG_IsOK(res2
)) {
39856 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
39858 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
39862 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39867 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
39868 wxPyEndAllowThreads(__tstate
);
39869 if (PyErr_Occurred()) SWIG_fail
;
39872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39880 SWIGINTERN PyObject
*_wrap_Window_HasMultiplePages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39881 PyObject
*resultobj
= 0;
39882 wxWindow
*arg1
= (wxWindow
*) 0 ;
39886 PyObject
*swig_obj
[1] ;
39888 if (!args
) SWIG_fail
;
39889 swig_obj
[0] = args
;
39890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39891 if (!SWIG_IsOK(res1
)) {
39892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_HasMultiplePages" "', expected argument " "1"" of type '" "wxWindow const *""'");
39894 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39897 result
= (bool)((wxWindow
const *)arg1
)->HasMultiplePages();
39898 wxPyEndAllowThreads(__tstate
);
39899 if (PyErr_Occurred()) SWIG_fail
;
39902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39910 SWIGINTERN PyObject
*_wrap_Window_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39911 PyObject
*resultobj
= 0;
39912 wxWindow
*arg1
= (wxWindow
*) 0 ;
39916 PyObject
*swig_obj
[1] ;
39918 if (!args
) SWIG_fail
;
39919 swig_obj
[0] = args
;
39920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39921 if (!SWIG_IsOK(res1
)) {
39922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetHandle" "', expected argument " "1"" of type '" "wxWindow *""'");
39924 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39927 result
= (long)wxWindow_GetHandle(arg1
);
39928 wxPyEndAllowThreads(__tstate
);
39929 if (PyErr_Occurred()) SWIG_fail
;
39931 resultobj
= SWIG_From_long(static_cast< long >(result
));
39938 SWIGINTERN PyObject
*_wrap_Window_AssociateHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39939 PyObject
*resultobj
= 0;
39940 wxWindow
*arg1
= (wxWindow
*) 0 ;
39946 PyObject
* obj0
= 0 ;
39947 PyObject
* obj1
= 0 ;
39948 char * kwnames
[] = {
39949 (char *) "self",(char *) "handle", NULL
39952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AssociateHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39954 if (!SWIG_IsOK(res1
)) {
39955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_AssociateHandle" "', expected argument " "1"" of type '" "wxWindow *""'");
39957 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39958 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
39959 if (!SWIG_IsOK(ecode2
)) {
39960 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_AssociateHandle" "', expected argument " "2"" of type '" "long""'");
39962 arg2
= static_cast< long >(val2
);
39964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39965 wxWindow_AssociateHandle(arg1
,arg2
);
39966 wxPyEndAllowThreads(__tstate
);
39967 if (PyErr_Occurred()) SWIG_fail
;
39969 resultobj
= SWIG_Py_Void();
39976 SWIGINTERN PyObject
*_wrap_Window_DissociateHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39977 PyObject
*resultobj
= 0;
39978 wxWindow
*arg1
= (wxWindow
*) 0 ;
39981 PyObject
*swig_obj
[1] ;
39983 if (!args
) SWIG_fail
;
39984 swig_obj
[0] = args
;
39985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39986 if (!SWIG_IsOK(res1
)) {
39987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_DissociateHandle" "', expected argument " "1"" of type '" "wxWindow *""'");
39989 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39992 (arg1
)->DissociateHandle();
39993 wxPyEndAllowThreads(__tstate
);
39994 if (PyErr_Occurred()) SWIG_fail
;
39996 resultobj
= SWIG_Py_Void();
40003 SWIGINTERN PyObject
*_wrap_Window_HasScrollbar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40004 PyObject
*resultobj
= 0;
40005 wxWindow
*arg1
= (wxWindow
*) 0 ;
40012 PyObject
* obj0
= 0 ;
40013 PyObject
* obj1
= 0 ;
40014 char * kwnames
[] = {
40015 (char *) "self",(char *) "orient", NULL
40018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40020 if (!SWIG_IsOK(res1
)) {
40021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_HasScrollbar" "', expected argument " "1"" of type '" "wxWindow const *""'");
40023 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40024 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40025 if (!SWIG_IsOK(ecode2
)) {
40026 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_HasScrollbar" "', expected argument " "2"" of type '" "int""'");
40028 arg2
= static_cast< int >(val2
);
40030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40031 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
40032 wxPyEndAllowThreads(__tstate
);
40033 if (PyErr_Occurred()) SWIG_fail
;
40036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40044 SWIGINTERN PyObject
*_wrap_Window_SetScrollbar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40045 PyObject
*resultobj
= 0;
40046 wxWindow
*arg1
= (wxWindow
*) 0 ;
40051 bool arg6
= (bool) true ;
40064 PyObject
* obj0
= 0 ;
40065 PyObject
* obj1
= 0 ;
40066 PyObject
* obj2
= 0 ;
40067 PyObject
* obj3
= 0 ;
40068 PyObject
* obj4
= 0 ;
40069 PyObject
* obj5
= 0 ;
40070 char * kwnames
[] = {
40071 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
40074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
40075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40076 if (!SWIG_IsOK(res1
)) {
40077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetScrollbar" "', expected argument " "1"" of type '" "wxWindow *""'");
40079 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40080 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40081 if (!SWIG_IsOK(ecode2
)) {
40082 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetScrollbar" "', expected argument " "2"" of type '" "int""'");
40084 arg2
= static_cast< int >(val2
);
40085 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
40086 if (!SWIG_IsOK(ecode3
)) {
40087 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetScrollbar" "', expected argument " "3"" of type '" "int""'");
40089 arg3
= static_cast< int >(val3
);
40090 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
40091 if (!SWIG_IsOK(ecode4
)) {
40092 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_SetScrollbar" "', expected argument " "4"" of type '" "int""'");
40094 arg4
= static_cast< int >(val4
);
40095 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
40096 if (!SWIG_IsOK(ecode5
)) {
40097 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Window_SetScrollbar" "', expected argument " "5"" of type '" "int""'");
40099 arg5
= static_cast< int >(val5
);
40101 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
40102 if (!SWIG_IsOK(ecode6
)) {
40103 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Window_SetScrollbar" "', expected argument " "6"" of type '" "bool""'");
40105 arg6
= static_cast< bool >(val6
);
40108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40109 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
40110 wxPyEndAllowThreads(__tstate
);
40111 if (PyErr_Occurred()) SWIG_fail
;
40113 resultobj
= SWIG_Py_Void();
40120 SWIGINTERN PyObject
*_wrap_Window_SetScrollPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40121 PyObject
*resultobj
= 0;
40122 wxWindow
*arg1
= (wxWindow
*) 0 ;
40125 bool arg4
= (bool) true ;
40134 PyObject
* obj0
= 0 ;
40135 PyObject
* obj1
= 0 ;
40136 PyObject
* obj2
= 0 ;
40137 PyObject
* obj3
= 0 ;
40138 char * kwnames
[] = {
40139 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
40142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40144 if (!SWIG_IsOK(res1
)) {
40145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetScrollPos" "', expected argument " "1"" of type '" "wxWindow *""'");
40147 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40148 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40149 if (!SWIG_IsOK(ecode2
)) {
40150 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetScrollPos" "', expected argument " "2"" of type '" "int""'");
40152 arg2
= static_cast< int >(val2
);
40153 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
40154 if (!SWIG_IsOK(ecode3
)) {
40155 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetScrollPos" "', expected argument " "3"" of type '" "int""'");
40157 arg3
= static_cast< int >(val3
);
40159 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40160 if (!SWIG_IsOK(ecode4
)) {
40161 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_SetScrollPos" "', expected argument " "4"" of type '" "bool""'");
40163 arg4
= static_cast< bool >(val4
);
40166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40167 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
40168 wxPyEndAllowThreads(__tstate
);
40169 if (PyErr_Occurred()) SWIG_fail
;
40171 resultobj
= SWIG_Py_Void();
40178 SWIGINTERN PyObject
*_wrap_Window_GetScrollPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40179 PyObject
*resultobj
= 0;
40180 wxWindow
*arg1
= (wxWindow
*) 0 ;
40187 PyObject
* obj0
= 0 ;
40188 PyObject
* obj1
= 0 ;
40189 char * kwnames
[] = {
40190 (char *) "self",(char *) "orientation", NULL
40193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40195 if (!SWIG_IsOK(res1
)) {
40196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetScrollPos" "', expected argument " "1"" of type '" "wxWindow const *""'");
40198 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40199 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40200 if (!SWIG_IsOK(ecode2
)) {
40201 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_GetScrollPos" "', expected argument " "2"" of type '" "int""'");
40203 arg2
= static_cast< int >(val2
);
40205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40206 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
40207 wxPyEndAllowThreads(__tstate
);
40208 if (PyErr_Occurred()) SWIG_fail
;
40210 resultobj
= SWIG_From_int(static_cast< int >(result
));
40217 SWIGINTERN PyObject
*_wrap_Window_GetScrollThumb(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40218 PyObject
*resultobj
= 0;
40219 wxWindow
*arg1
= (wxWindow
*) 0 ;
40226 PyObject
* obj0
= 0 ;
40227 PyObject
* obj1
= 0 ;
40228 char * kwnames
[] = {
40229 (char *) "self",(char *) "orientation", NULL
40232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40234 if (!SWIG_IsOK(res1
)) {
40235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetScrollThumb" "', expected argument " "1"" of type '" "wxWindow const *""'");
40237 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40238 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40239 if (!SWIG_IsOK(ecode2
)) {
40240 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_GetScrollThumb" "', expected argument " "2"" of type '" "int""'");
40242 arg2
= static_cast< int >(val2
);
40244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40245 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
40246 wxPyEndAllowThreads(__tstate
);
40247 if (PyErr_Occurred()) SWIG_fail
;
40249 resultobj
= SWIG_From_int(static_cast< int >(result
));
40256 SWIGINTERN PyObject
*_wrap_Window_GetScrollRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40257 PyObject
*resultobj
= 0;
40258 wxWindow
*arg1
= (wxWindow
*) 0 ;
40265 PyObject
* obj0
= 0 ;
40266 PyObject
* obj1
= 0 ;
40267 char * kwnames
[] = {
40268 (char *) "self",(char *) "orientation", NULL
40271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40273 if (!SWIG_IsOK(res1
)) {
40274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetScrollRange" "', expected argument " "1"" of type '" "wxWindow const *""'");
40276 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40277 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40278 if (!SWIG_IsOK(ecode2
)) {
40279 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_GetScrollRange" "', expected argument " "2"" of type '" "int""'");
40281 arg2
= static_cast< int >(val2
);
40283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40284 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
40285 wxPyEndAllowThreads(__tstate
);
40286 if (PyErr_Occurred()) SWIG_fail
;
40288 resultobj
= SWIG_From_int(static_cast< int >(result
));
40295 SWIGINTERN PyObject
*_wrap_Window_ScrollWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40296 PyObject
*resultobj
= 0;
40297 wxWindow
*arg1
= (wxWindow
*) 0 ;
40300 wxRect
*arg4
= (wxRect
*) NULL
;
40309 PyObject
* obj0
= 0 ;
40310 PyObject
* obj1
= 0 ;
40311 PyObject
* obj2
= 0 ;
40312 PyObject
* obj3
= 0 ;
40313 char * kwnames
[] = {
40314 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
40317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40319 if (!SWIG_IsOK(res1
)) {
40320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ScrollWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
40322 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40323 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40324 if (!SWIG_IsOK(ecode2
)) {
40325 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_ScrollWindow" "', expected argument " "2"" of type '" "int""'");
40327 arg2
= static_cast< int >(val2
);
40328 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
40329 if (!SWIG_IsOK(ecode3
)) {
40330 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_ScrollWindow" "', expected argument " "3"" of type '" "int""'");
40332 arg3
= static_cast< int >(val3
);
40334 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
40335 if (!SWIG_IsOK(res4
)) {
40336 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Window_ScrollWindow" "', expected argument " "4"" of type '" "wxRect const *""'");
40338 arg4
= reinterpret_cast< wxRect
* >(argp4
);
40341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40342 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
40343 wxPyEndAllowThreads(__tstate
);
40344 if (PyErr_Occurred()) SWIG_fail
;
40346 resultobj
= SWIG_Py_Void();
40353 SWIGINTERN PyObject
*_wrap_Window_ScrollLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40354 PyObject
*resultobj
= 0;
40355 wxWindow
*arg1
= (wxWindow
*) 0 ;
40362 PyObject
* obj0
= 0 ;
40363 PyObject
* obj1
= 0 ;
40364 char * kwnames
[] = {
40365 (char *) "self",(char *) "lines", NULL
40368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40370 if (!SWIG_IsOK(res1
)) {
40371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ScrollLines" "', expected argument " "1"" of type '" "wxWindow *""'");
40373 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40374 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40375 if (!SWIG_IsOK(ecode2
)) {
40376 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_ScrollLines" "', expected argument " "2"" of type '" "int""'");
40378 arg2
= static_cast< int >(val2
);
40380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40381 result
= (bool)(arg1
)->ScrollLines(arg2
);
40382 wxPyEndAllowThreads(__tstate
);
40383 if (PyErr_Occurred()) SWIG_fail
;
40386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40394 SWIGINTERN PyObject
*_wrap_Window_ScrollPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40395 PyObject
*resultobj
= 0;
40396 wxWindow
*arg1
= (wxWindow
*) 0 ;
40403 PyObject
* obj0
= 0 ;
40404 PyObject
* obj1
= 0 ;
40405 char * kwnames
[] = {
40406 (char *) "self",(char *) "pages", NULL
40409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40411 if (!SWIG_IsOK(res1
)) {
40412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ScrollPages" "', expected argument " "1"" of type '" "wxWindow *""'");
40414 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40415 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40416 if (!SWIG_IsOK(ecode2
)) {
40417 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_ScrollPages" "', expected argument " "2"" of type '" "int""'");
40419 arg2
= static_cast< int >(val2
);
40421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40422 result
= (bool)(arg1
)->ScrollPages(arg2
);
40423 wxPyEndAllowThreads(__tstate
);
40424 if (PyErr_Occurred()) SWIG_fail
;
40427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40435 SWIGINTERN PyObject
*_wrap_Window_LineUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40436 PyObject
*resultobj
= 0;
40437 wxWindow
*arg1
= (wxWindow
*) 0 ;
40441 PyObject
*swig_obj
[1] ;
40443 if (!args
) SWIG_fail
;
40444 swig_obj
[0] = args
;
40445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40446 if (!SWIG_IsOK(res1
)) {
40447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_LineUp" "', expected argument " "1"" of type '" "wxWindow *""'");
40449 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40452 result
= (bool)(arg1
)->LineUp();
40453 wxPyEndAllowThreads(__tstate
);
40454 if (PyErr_Occurred()) SWIG_fail
;
40457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40465 SWIGINTERN PyObject
*_wrap_Window_LineDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40466 PyObject
*resultobj
= 0;
40467 wxWindow
*arg1
= (wxWindow
*) 0 ;
40471 PyObject
*swig_obj
[1] ;
40473 if (!args
) SWIG_fail
;
40474 swig_obj
[0] = args
;
40475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40476 if (!SWIG_IsOK(res1
)) {
40477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_LineDown" "', expected argument " "1"" of type '" "wxWindow *""'");
40479 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40482 result
= (bool)(arg1
)->LineDown();
40483 wxPyEndAllowThreads(__tstate
);
40484 if (PyErr_Occurred()) SWIG_fail
;
40487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40495 SWIGINTERN PyObject
*_wrap_Window_PageUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40496 PyObject
*resultobj
= 0;
40497 wxWindow
*arg1
= (wxWindow
*) 0 ;
40501 PyObject
*swig_obj
[1] ;
40503 if (!args
) SWIG_fail
;
40504 swig_obj
[0] = args
;
40505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40506 if (!SWIG_IsOK(res1
)) {
40507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PageUp" "', expected argument " "1"" of type '" "wxWindow *""'");
40509 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40512 result
= (bool)(arg1
)->PageUp();
40513 wxPyEndAllowThreads(__tstate
);
40514 if (PyErr_Occurred()) SWIG_fail
;
40517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40525 SWIGINTERN PyObject
*_wrap_Window_PageDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40526 PyObject
*resultobj
= 0;
40527 wxWindow
*arg1
= (wxWindow
*) 0 ;
40531 PyObject
*swig_obj
[1] ;
40533 if (!args
) SWIG_fail
;
40534 swig_obj
[0] = args
;
40535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40536 if (!SWIG_IsOK(res1
)) {
40537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PageDown" "', expected argument " "1"" of type '" "wxWindow *""'");
40539 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40542 result
= (bool)(arg1
)->PageDown();
40543 wxPyEndAllowThreads(__tstate
);
40544 if (PyErr_Occurred()) SWIG_fail
;
40547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40555 SWIGINTERN PyObject
*_wrap_Window_SetHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40556 PyObject
*resultobj
= 0;
40557 wxWindow
*arg1
= (wxWindow
*) 0 ;
40558 wxString
*arg2
= 0 ;
40561 bool temp2
= false ;
40562 PyObject
* obj0
= 0 ;
40563 PyObject
* obj1
= 0 ;
40564 char * kwnames
[] = {
40565 (char *) "self",(char *) "text", NULL
40568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40570 if (!SWIG_IsOK(res1
)) {
40571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetHelpText" "', expected argument " "1"" of type '" "wxWindow *""'");
40573 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40575 arg2
= wxString_in_helper(obj1
);
40576 if (arg2
== NULL
) SWIG_fail
;
40580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40581 (arg1
)->SetHelpText((wxString
const &)*arg2
);
40582 wxPyEndAllowThreads(__tstate
);
40583 if (PyErr_Occurred()) SWIG_fail
;
40585 resultobj
= SWIG_Py_Void();
40600 SWIGINTERN PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40601 PyObject
*resultobj
= 0;
40602 wxWindow
*arg1
= (wxWindow
*) 0 ;
40603 wxString
*arg2
= 0 ;
40606 bool temp2
= false ;
40607 PyObject
* obj0
= 0 ;
40608 PyObject
* obj1
= 0 ;
40609 char * kwnames
[] = {
40610 (char *) "self",(char *) "text", NULL
40613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40615 if (!SWIG_IsOK(res1
)) {
40616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetHelpTextForId" "', expected argument " "1"" of type '" "wxWindow *""'");
40618 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40620 arg2
= wxString_in_helper(obj1
);
40621 if (arg2
== NULL
) SWIG_fail
;
40625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40626 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
40627 wxPyEndAllowThreads(__tstate
);
40628 if (PyErr_Occurred()) SWIG_fail
;
40630 resultobj
= SWIG_Py_Void();
40645 SWIGINTERN PyObject
*_wrap_Window_GetHelpTextAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40646 PyObject
*resultobj
= 0;
40647 wxWindow
*arg1
= (wxWindow
*) 0 ;
40648 wxPoint
*arg2
= 0 ;
40649 wxHelpEvent::Origin arg3
;
40656 PyObject
* obj0
= 0 ;
40657 PyObject
* obj1
= 0 ;
40658 PyObject
* obj2
= 0 ;
40659 char * kwnames
[] = {
40660 (char *) "self",(char *) "pt",(char *) "origin", NULL
40663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_GetHelpTextAtPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40665 if (!SWIG_IsOK(res1
)) {
40666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetHelpTextAtPoint" "', expected argument " "1"" of type '" "wxWindow const *""'");
40668 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40671 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40674 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHelpEvent__Origin
, 0 | 0);
40675 if (!SWIG_IsOK(res3
)) {
40676 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Window_GetHelpTextAtPoint" "', expected argument " "3"" of type '" "wxHelpEvent::Origin""'");
40679 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_GetHelpTextAtPoint" "', expected argument " "3"" of type '" "wxHelpEvent::Origin""'");
40681 wxHelpEvent::Origin
* temp
= reinterpret_cast< wxHelpEvent::Origin
* >(argp3
);
40683 if (SWIG_IsNewObj(res3
)) delete temp
;
40687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40688 result
= ((wxWindow
const *)arg1
)->GetHelpTextAtPoint((wxPoint
const &)*arg2
,arg3
);
40689 wxPyEndAllowThreads(__tstate
);
40690 if (PyErr_Occurred()) SWIG_fail
;
40694 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
40696 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
40705 SWIGINTERN PyObject
*_wrap_Window_GetHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40706 PyObject
*resultobj
= 0;
40707 wxWindow
*arg1
= (wxWindow
*) 0 ;
40711 PyObject
*swig_obj
[1] ;
40713 if (!args
) SWIG_fail
;
40714 swig_obj
[0] = args
;
40715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40716 if (!SWIG_IsOK(res1
)) {
40717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetHelpText" "', expected argument " "1"" of type '" "wxWindow const *""'");
40719 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40722 result
= ((wxWindow
const *)arg1
)->GetHelpText();
40723 wxPyEndAllowThreads(__tstate
);
40724 if (PyErr_Occurred()) SWIG_fail
;
40728 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
40730 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
40739 SWIGINTERN PyObject
*_wrap_Window_SetToolTipString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40740 PyObject
*resultobj
= 0;
40741 wxWindow
*arg1
= (wxWindow
*) 0 ;
40742 wxString
*arg2
= 0 ;
40745 bool temp2
= false ;
40746 PyObject
* obj0
= 0 ;
40747 PyObject
* obj1
= 0 ;
40748 char * kwnames
[] = {
40749 (char *) "self",(char *) "tip", NULL
40752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40754 if (!SWIG_IsOK(res1
)) {
40755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetToolTipString" "', expected argument " "1"" of type '" "wxWindow *""'");
40757 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40759 arg2
= wxString_in_helper(obj1
);
40760 if (arg2
== NULL
) SWIG_fail
;
40764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40765 (arg1
)->SetToolTip((wxString
const &)*arg2
);
40766 wxPyEndAllowThreads(__tstate
);
40767 if (PyErr_Occurred()) SWIG_fail
;
40769 resultobj
= SWIG_Py_Void();
40784 SWIGINTERN PyObject
*_wrap_Window_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40785 PyObject
*resultobj
= 0;
40786 wxWindow
*arg1
= (wxWindow
*) 0 ;
40787 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
40791 PyObject
* obj0
= 0 ;
40792 PyObject
* obj1
= 0 ;
40793 char * kwnames
[] = {
40794 (char *) "self",(char *) "tip", NULL
40797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40799 if (!SWIG_IsOK(res1
)) {
40800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetToolTip" "', expected argument " "1"" of type '" "wxWindow *""'");
40802 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40803 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxToolTip
, SWIG_POINTER_DISOWN
| 0 );
40804 if (!SWIG_IsOK(res2
)) {
40805 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetToolTip" "', expected argument " "2"" of type '" "wxToolTip *""'");
40808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40809 (arg1
)->SetToolTip(arg2
);
40810 wxPyEndAllowThreads(__tstate
);
40811 if (PyErr_Occurred()) SWIG_fail
;
40813 resultobj
= SWIG_Py_Void();
40820 SWIGINTERN PyObject
*_wrap_Window_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40821 PyObject
*resultobj
= 0;
40822 wxWindow
*arg1
= (wxWindow
*) 0 ;
40823 wxToolTip
*result
= 0 ;
40826 PyObject
*swig_obj
[1] ;
40828 if (!args
) SWIG_fail
;
40829 swig_obj
[0] = args
;
40830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40831 if (!SWIG_IsOK(res1
)) {
40832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetToolTip" "', expected argument " "1"" of type '" "wxWindow const *""'");
40834 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40837 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
40838 wxPyEndAllowThreads(__tstate
);
40839 if (PyErr_Occurred()) SWIG_fail
;
40842 resultobj
= wxPyMake_wxObject(result
, (bool)0);
40850 SWIGINTERN PyObject
*_wrap_Window_SetDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40851 PyObject
*resultobj
= 0;
40852 wxWindow
*arg1
= (wxWindow
*) 0 ;
40853 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
40857 PyObject
* obj0
= 0 ;
40858 PyObject
* obj1
= 0 ;
40859 char * kwnames
[] = {
40860 (char *) "self",(char *) "dropTarget", NULL
40863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40865 if (!SWIG_IsOK(res1
)) {
40866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetDropTarget" "', expected argument " "1"" of type '" "wxWindow *""'");
40868 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40869 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_DISOWN
| 0 );
40870 if (!SWIG_IsOK(res2
)) {
40871 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetDropTarget" "', expected argument " "2"" of type '" "wxPyDropTarget *""'");
40874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40875 (arg1
)->SetDropTarget(arg2
);
40876 wxPyEndAllowThreads(__tstate
);
40877 if (PyErr_Occurred()) SWIG_fail
;
40879 resultobj
= SWIG_Py_Void();
40886 SWIGINTERN PyObject
*_wrap_Window_GetDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40887 PyObject
*resultobj
= 0;
40888 wxWindow
*arg1
= (wxWindow
*) 0 ;
40889 wxPyDropTarget
*result
= 0 ;
40892 PyObject
*swig_obj
[1] ;
40894 if (!args
) SWIG_fail
;
40895 swig_obj
[0] = args
;
40896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40897 if (!SWIG_IsOK(res1
)) {
40898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetDropTarget" "', expected argument " "1"" of type '" "wxWindow const *""'");
40900 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40903 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
40904 wxPyEndAllowThreads(__tstate
);
40905 if (PyErr_Occurred()) SWIG_fail
;
40907 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
40914 SWIGINTERN PyObject
*_wrap_Window_DragAcceptFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40915 PyObject
*resultobj
= 0;
40916 wxWindow
*arg1
= (wxWindow
*) 0 ;
40922 PyObject
* obj0
= 0 ;
40923 PyObject
* obj1
= 0 ;
40924 char * kwnames
[] = {
40925 (char *) "self",(char *) "accept", NULL
40928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DragAcceptFiles",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40930 if (!SWIG_IsOK(res1
)) {
40931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_DragAcceptFiles" "', expected argument " "1"" of type '" "wxWindow *""'");
40933 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40934 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
40935 if (!SWIG_IsOK(ecode2
)) {
40936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_DragAcceptFiles" "', expected argument " "2"" of type '" "bool""'");
40938 arg2
= static_cast< bool >(val2
);
40940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40941 wxWindow_DragAcceptFiles(arg1
,arg2
);
40942 wxPyEndAllowThreads(__tstate
);
40943 if (PyErr_Occurred()) SWIG_fail
;
40945 resultobj
= SWIG_Py_Void();
40952 SWIGINTERN PyObject
*_wrap_Window_SetConstraints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40953 PyObject
*resultobj
= 0;
40954 wxWindow
*arg1
= (wxWindow
*) 0 ;
40955 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
40959 PyObject
* obj0
= 0 ;
40960 PyObject
* obj1
= 0 ;
40961 char * kwnames
[] = {
40962 (char *) "self",(char *) "constraints", NULL
40965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40967 if (!SWIG_IsOK(res1
)) {
40968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetConstraints" "', expected argument " "1"" of type '" "wxWindow *""'");
40970 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40971 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_DISOWN
| 0 );
40972 if (!SWIG_IsOK(res2
)) {
40973 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetConstraints" "', expected argument " "2"" of type '" "wxLayoutConstraints *""'");
40976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40977 (arg1
)->SetConstraints(arg2
);
40978 wxPyEndAllowThreads(__tstate
);
40979 if (PyErr_Occurred()) SWIG_fail
;
40981 resultobj
= SWIG_Py_Void();
40988 SWIGINTERN PyObject
*_wrap_Window_GetConstraints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40989 PyObject
*resultobj
= 0;
40990 wxWindow
*arg1
= (wxWindow
*) 0 ;
40991 wxLayoutConstraints
*result
= 0 ;
40994 PyObject
*swig_obj
[1] ;
40996 if (!args
) SWIG_fail
;
40997 swig_obj
[0] = args
;
40998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40999 if (!SWIG_IsOK(res1
)) {
41000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetConstraints" "', expected argument " "1"" of type '" "wxWindow const *""'");
41002 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41005 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
41006 wxPyEndAllowThreads(__tstate
);
41007 if (PyErr_Occurred()) SWIG_fail
;
41009 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
41016 SWIGINTERN PyObject
*_wrap_Window_SetAutoLayout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41017 PyObject
*resultobj
= 0;
41018 wxWindow
*arg1
= (wxWindow
*) 0 ;
41024 PyObject
* obj0
= 0 ;
41025 PyObject
* obj1
= 0 ;
41026 char * kwnames
[] = {
41027 (char *) "self",(char *) "autoLayout", NULL
41030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41032 if (!SWIG_IsOK(res1
)) {
41033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetAutoLayout" "', expected argument " "1"" of type '" "wxWindow *""'");
41035 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41036 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
41037 if (!SWIG_IsOK(ecode2
)) {
41038 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetAutoLayout" "', expected argument " "2"" of type '" "bool""'");
41040 arg2
= static_cast< bool >(val2
);
41042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41043 (arg1
)->SetAutoLayout(arg2
);
41044 wxPyEndAllowThreads(__tstate
);
41045 if (PyErr_Occurred()) SWIG_fail
;
41047 resultobj
= SWIG_Py_Void();
41054 SWIGINTERN PyObject
*_wrap_Window_GetAutoLayout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41055 PyObject
*resultobj
= 0;
41056 wxWindow
*arg1
= (wxWindow
*) 0 ;
41060 PyObject
*swig_obj
[1] ;
41062 if (!args
) SWIG_fail
;
41063 swig_obj
[0] = args
;
41064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41065 if (!SWIG_IsOK(res1
)) {
41066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetAutoLayout" "', expected argument " "1"" of type '" "wxWindow const *""'");
41068 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41071 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
41072 wxPyEndAllowThreads(__tstate
);
41073 if (PyErr_Occurred()) SWIG_fail
;
41076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41084 SWIGINTERN PyObject
*_wrap_Window_Layout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41085 PyObject
*resultobj
= 0;
41086 wxWindow
*arg1
= (wxWindow
*) 0 ;
41090 PyObject
*swig_obj
[1] ;
41092 if (!args
) SWIG_fail
;
41093 swig_obj
[0] = args
;
41094 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41095 if (!SWIG_IsOK(res1
)) {
41096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Layout" "', expected argument " "1"" of type '" "wxWindow *""'");
41098 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41101 result
= (bool)(arg1
)->Layout();
41102 wxPyEndAllowThreads(__tstate
);
41103 if (PyErr_Occurred()) SWIG_fail
;
41106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41114 SWIGINTERN PyObject
*_wrap_Window_SetSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41115 PyObject
*resultobj
= 0;
41116 wxWindow
*arg1
= (wxWindow
*) 0 ;
41117 wxSizer
*arg2
= (wxSizer
*) 0 ;
41118 bool arg3
= (bool) true ;
41124 PyObject
* obj0
= 0 ;
41125 PyObject
* obj1
= 0 ;
41126 PyObject
* obj2
= 0 ;
41127 char * kwnames
[] = {
41128 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
41131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41133 if (!SWIG_IsOK(res1
)) {
41134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetSizer" "', expected argument " "1"" of type '" "wxWindow *""'");
41136 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41137 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxSizer
, SWIG_POINTER_DISOWN
| 0 );
41138 if (!SWIG_IsOK(res2
)) {
41139 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetSizer" "', expected argument " "2"" of type '" "wxSizer *""'");
41142 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
41143 if (!SWIG_IsOK(ecode3
)) {
41144 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetSizer" "', expected argument " "3"" of type '" "bool""'");
41146 arg3
= static_cast< bool >(val3
);
41149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41150 (arg1
)->SetSizer(arg2
,arg3
);
41151 wxPyEndAllowThreads(__tstate
);
41152 if (PyErr_Occurred()) SWIG_fail
;
41154 resultobj
= SWIG_Py_Void();
41161 SWIGINTERN PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41162 PyObject
*resultobj
= 0;
41163 wxWindow
*arg1
= (wxWindow
*) 0 ;
41164 wxSizer
*arg2
= (wxSizer
*) 0 ;
41165 bool arg3
= (bool) true ;
41171 PyObject
* obj0
= 0 ;
41172 PyObject
* obj1
= 0 ;
41173 PyObject
* obj2
= 0 ;
41174 char * kwnames
[] = {
41175 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
41178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41180 if (!SWIG_IsOK(res1
)) {
41181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetSizerAndFit" "', expected argument " "1"" of type '" "wxWindow *""'");
41183 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41184 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxSizer
, SWIG_POINTER_DISOWN
| 0 );
41185 if (!SWIG_IsOK(res2
)) {
41186 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetSizerAndFit" "', expected argument " "2"" of type '" "wxSizer *""'");
41189 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
41190 if (!SWIG_IsOK(ecode3
)) {
41191 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetSizerAndFit" "', expected argument " "3"" of type '" "bool""'");
41193 arg3
= static_cast< bool >(val3
);
41196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41197 (arg1
)->SetSizerAndFit(arg2
,arg3
);
41198 wxPyEndAllowThreads(__tstate
);
41199 if (PyErr_Occurred()) SWIG_fail
;
41201 resultobj
= SWIG_Py_Void();
41208 SWIGINTERN PyObject
*_wrap_Window_GetSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41209 PyObject
*resultobj
= 0;
41210 wxWindow
*arg1
= (wxWindow
*) 0 ;
41211 wxSizer
*result
= 0 ;
41214 PyObject
*swig_obj
[1] ;
41216 if (!args
) SWIG_fail
;
41217 swig_obj
[0] = args
;
41218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41219 if (!SWIG_IsOK(res1
)) {
41220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetSizer" "', expected argument " "1"" of type '" "wxWindow const *""'");
41222 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41225 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
41226 wxPyEndAllowThreads(__tstate
);
41227 if (PyErr_Occurred()) SWIG_fail
;
41230 resultobj
= wxPyMake_wxObject(result
, (bool)0);
41238 SWIGINTERN PyObject
*_wrap_Window_SetContainingSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41239 PyObject
*resultobj
= 0;
41240 wxWindow
*arg1
= (wxWindow
*) 0 ;
41241 wxSizer
*arg2
= (wxSizer
*) 0 ;
41246 PyObject
* obj0
= 0 ;
41247 PyObject
* obj1
= 0 ;
41248 char * kwnames
[] = {
41249 (char *) "self",(char *) "sizer", NULL
41252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41254 if (!SWIG_IsOK(res1
)) {
41255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetContainingSizer" "', expected argument " "1"" of type '" "wxWindow *""'");
41257 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41258 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
41259 if (!SWIG_IsOK(res2
)) {
41260 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetContainingSizer" "', expected argument " "2"" of type '" "wxSizer *""'");
41262 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
41264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41265 (arg1
)->SetContainingSizer(arg2
);
41266 wxPyEndAllowThreads(__tstate
);
41267 if (PyErr_Occurred()) SWIG_fail
;
41269 resultobj
= SWIG_Py_Void();
41276 SWIGINTERN PyObject
*_wrap_Window_GetContainingSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41277 PyObject
*resultobj
= 0;
41278 wxWindow
*arg1
= (wxWindow
*) 0 ;
41279 wxSizer
*result
= 0 ;
41282 PyObject
*swig_obj
[1] ;
41284 if (!args
) SWIG_fail
;
41285 swig_obj
[0] = args
;
41286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41287 if (!SWIG_IsOK(res1
)) {
41288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetContainingSizer" "', expected argument " "1"" of type '" "wxWindow const *""'");
41290 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41293 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
41294 wxPyEndAllowThreads(__tstate
);
41295 if (PyErr_Occurred()) SWIG_fail
;
41298 resultobj
= wxPyMake_wxObject(result
, (bool)0);
41306 SWIGINTERN PyObject
*_wrap_Window_InheritAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41307 PyObject
*resultobj
= 0;
41308 wxWindow
*arg1
= (wxWindow
*) 0 ;
41311 PyObject
*swig_obj
[1] ;
41313 if (!args
) SWIG_fail
;
41314 swig_obj
[0] = args
;
41315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41316 if (!SWIG_IsOK(res1
)) {
41317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_InheritAttributes" "', expected argument " "1"" of type '" "wxWindow *""'");
41319 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41322 (arg1
)->InheritAttributes();
41323 wxPyEndAllowThreads(__tstate
);
41324 if (PyErr_Occurred()) SWIG_fail
;
41326 resultobj
= SWIG_Py_Void();
41333 SWIGINTERN PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41334 PyObject
*resultobj
= 0;
41335 wxWindow
*arg1
= (wxWindow
*) 0 ;
41339 PyObject
*swig_obj
[1] ;
41341 if (!args
) SWIG_fail
;
41342 swig_obj
[0] = args
;
41343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41344 if (!SWIG_IsOK(res1
)) {
41345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ShouldInheritColours" "', expected argument " "1"" of type '" "wxWindow const *""'");
41347 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41350 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
41351 wxPyEndAllowThreads(__tstate
);
41352 if (PyErr_Occurred()) SWIG_fail
;
41355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41363 SWIGINTERN PyObject
*_wrap_Window_CanSetTransparent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41364 PyObject
*resultobj
= 0;
41365 wxWindow
*arg1
= (wxWindow
*) 0 ;
41369 PyObject
*swig_obj
[1] ;
41371 if (!args
) SWIG_fail
;
41372 swig_obj
[0] = args
;
41373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41374 if (!SWIG_IsOK(res1
)) {
41375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_CanSetTransparent" "', expected argument " "1"" of type '" "wxWindow *""'");
41377 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41380 result
= (bool)(arg1
)->CanSetTransparent();
41381 wxPyEndAllowThreads(__tstate
);
41382 if (PyErr_Occurred()) SWIG_fail
;
41385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41393 SWIGINTERN PyObject
*_wrap_Window_SetTransparent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41394 PyObject
*resultobj
= 0;
41395 wxWindow
*arg1
= (wxWindow
*) 0 ;
41400 unsigned char val2
;
41402 PyObject
* obj0
= 0 ;
41403 PyObject
* obj1
= 0 ;
41404 char * kwnames
[] = {
41405 (char *) "self",(char *) "alpha", NULL
41408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTransparent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41410 if (!SWIG_IsOK(res1
)) {
41411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetTransparent" "', expected argument " "1"" of type '" "wxWindow *""'");
41413 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41414 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
41415 if (!SWIG_IsOK(ecode2
)) {
41416 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetTransparent" "', expected argument " "2"" of type '" "byte""'");
41418 arg2
= static_cast< byte
>(val2
);
41420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41421 result
= (bool)(arg1
)->SetTransparent(arg2
);
41422 wxPyEndAllowThreads(__tstate
);
41423 if (PyErr_Occurred()) SWIG_fail
;
41426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41434 SWIGINTERN PyObject
*Window_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41436 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41437 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindow
, SWIG_NewClientData(obj
));
41438 return SWIG_Py_Void();
41441 SWIGINTERN PyObject
*Window_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41442 return SWIG_Python_InitShadowInstance(args
);
41445 SWIGINTERN PyObject
*_wrap_FindWindowById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41446 PyObject
*resultobj
= 0;
41448 wxWindow
*arg2
= (wxWindow
*) NULL
;
41449 wxWindow
*result
= 0 ;
41454 PyObject
* obj0
= 0 ;
41455 PyObject
* obj1
= 0 ;
41456 char * kwnames
[] = {
41457 (char *) "id",(char *) "parent", NULL
41460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41461 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
41462 if (!SWIG_IsOK(ecode1
)) {
41463 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FindWindowById" "', expected argument " "1"" of type '" "long""'");
41465 arg1
= static_cast< long >(val1
);
41467 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41468 if (!SWIG_IsOK(res2
)) {
41469 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindWindowById" "', expected argument " "2"" of type '" "wxWindow const *""'");
41471 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41474 if (!wxPyCheckForApp()) SWIG_fail
;
41475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41476 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
41477 wxPyEndAllowThreads(__tstate
);
41478 if (PyErr_Occurred()) SWIG_fail
;
41481 resultobj
= wxPyMake_wxObject(result
, 0);
41489 SWIGINTERN PyObject
*_wrap_FindWindowByName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41490 PyObject
*resultobj
= 0;
41491 wxString
*arg1
= 0 ;
41492 wxWindow
*arg2
= (wxWindow
*) NULL
;
41493 wxWindow
*result
= 0 ;
41494 bool temp1
= false ;
41497 PyObject
* obj0
= 0 ;
41498 PyObject
* obj1
= 0 ;
41499 char * kwnames
[] = {
41500 (char *) "name",(char *) "parent", NULL
41503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41505 arg1
= wxString_in_helper(obj0
);
41506 if (arg1
== NULL
) SWIG_fail
;
41510 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41511 if (!SWIG_IsOK(res2
)) {
41512 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindWindowByName" "', expected argument " "2"" of type '" "wxWindow const *""'");
41514 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41517 if (!wxPyCheckForApp()) SWIG_fail
;
41518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41519 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
41520 wxPyEndAllowThreads(__tstate
);
41521 if (PyErr_Occurred()) SWIG_fail
;
41524 resultobj
= wxPyMake_wxObject(result
, 0);
41540 SWIGINTERN PyObject
*_wrap_FindWindowByLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41541 PyObject
*resultobj
= 0;
41542 wxString
*arg1
= 0 ;
41543 wxWindow
*arg2
= (wxWindow
*) NULL
;
41544 wxWindow
*result
= 0 ;
41545 bool temp1
= false ;
41548 PyObject
* obj0
= 0 ;
41549 PyObject
* obj1
= 0 ;
41550 char * kwnames
[] = {
41551 (char *) "label",(char *) "parent", NULL
41554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41556 arg1
= wxString_in_helper(obj0
);
41557 if (arg1
== NULL
) SWIG_fail
;
41561 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41562 if (!SWIG_IsOK(res2
)) {
41563 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindWindowByLabel" "', expected argument " "2"" of type '" "wxWindow const *""'");
41565 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41568 if (!wxPyCheckForApp()) SWIG_fail
;
41569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41570 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
41571 wxPyEndAllowThreads(__tstate
);
41572 if (PyErr_Occurred()) SWIG_fail
;
41575 resultobj
= wxPyMake_wxObject(result
, 0);
41591 SWIGINTERN PyObject
*_wrap_Window_FromHWND(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41592 PyObject
*resultobj
= 0;
41593 wxWindow
*arg1
= (wxWindow
*) 0 ;
41594 unsigned long arg2
;
41595 wxWindow
*result
= 0 ;
41598 unsigned long val2
;
41600 PyObject
* obj0
= 0 ;
41601 PyObject
* obj1
= 0 ;
41602 char * kwnames
[] = {
41603 (char *) "parent",(char *) "_hWnd", NULL
41606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41608 if (!SWIG_IsOK(res1
)) {
41609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_FromHWND" "', expected argument " "1"" of type '" "wxWindow *""'");
41611 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41612 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
41613 if (!SWIG_IsOK(ecode2
)) {
41614 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_FromHWND" "', expected argument " "2"" of type '" "unsigned long""'");
41616 arg2
= static_cast< unsigned long >(val2
);
41618 if (!wxPyCheckForApp()) SWIG_fail
;
41619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41620 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
41621 wxPyEndAllowThreads(__tstate
);
41622 if (PyErr_Occurred()) SWIG_fail
;
41625 resultobj
= wxPyMake_wxObject(result
, 0);
41633 SWIGINTERN PyObject
*_wrap_GetTopLevelWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41634 PyObject
*resultobj
= 0;
41635 PyObject
*result
= 0 ;
41637 if (!SWIG_Python_UnpackTuple(args
,"GetTopLevelWindows",0,0,0)) SWIG_fail
;
41639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41640 result
= (PyObject
*)GetTopLevelWindows();
41641 wxPyEndAllowThreads(__tstate
);
41642 if (PyErr_Occurred()) SWIG_fail
;
41644 resultobj
= result
;
41651 SWIGINTERN PyObject
*_wrap_new_Validator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41652 PyObject
*resultobj
= 0;
41653 wxValidator
*result
= 0 ;
41655 if (!SWIG_Python_UnpackTuple(args
,"new_Validator",0,0,0)) SWIG_fail
;
41657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41658 result
= (wxValidator
*)new wxValidator();
41659 wxPyEndAllowThreads(__tstate
);
41660 if (PyErr_Occurred()) SWIG_fail
;
41662 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxValidator
, SWIG_POINTER_NEW
| 0 );
41669 SWIGINTERN PyObject
*_wrap_Validator_Clone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41670 PyObject
*resultobj
= 0;
41671 wxValidator
*arg1
= (wxValidator
*) 0 ;
41672 wxValidator
*result
= 0 ;
41675 PyObject
*swig_obj
[1] ;
41677 if (!args
) SWIG_fail
;
41678 swig_obj
[0] = args
;
41679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxValidator
, 0 | 0 );
41680 if (!SWIG_IsOK(res1
)) {
41681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Validator_Clone" "', expected argument " "1"" of type '" "wxValidator *""'");
41683 arg1
= reinterpret_cast< wxValidator
* >(argp1
);
41685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41686 result
= (wxValidator
*)(arg1
)->Clone();
41687 wxPyEndAllowThreads(__tstate
);
41688 if (PyErr_Occurred()) SWIG_fail
;
41691 resultobj
= wxPyMake_wxObject(result
, 0);
41699 SWIGINTERN PyObject
*_wrap_Validator_Validate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41700 PyObject
*resultobj
= 0;
41701 wxValidator
*arg1
= (wxValidator
*) 0 ;
41702 wxWindow
*arg2
= (wxWindow
*) 0 ;
41708 PyObject
* obj0
= 0 ;
41709 PyObject
* obj1
= 0 ;
41710 char * kwnames
[] = {
41711 (char *) "self",(char *) "parent", NULL
41714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxValidator
, 0 | 0 );
41716 if (!SWIG_IsOK(res1
)) {
41717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Validator_Validate" "', expected argument " "1"" of type '" "wxValidator *""'");
41719 arg1
= reinterpret_cast< wxValidator
* >(argp1
);
41720 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41721 if (!SWIG_IsOK(res2
)) {
41722 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Validator_Validate" "', expected argument " "2"" of type '" "wxWindow *""'");
41724 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41727 result
= (bool)(arg1
)->Validate(arg2
);
41728 wxPyEndAllowThreads(__tstate
);
41729 if (PyErr_Occurred()) SWIG_fail
;
41732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41740 SWIGINTERN PyObject
*_wrap_Validator_TransferToWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41741 PyObject
*resultobj
= 0;
41742 wxValidator
*arg1
= (wxValidator
*) 0 ;
41746 PyObject
*swig_obj
[1] ;
41748 if (!args
) SWIG_fail
;
41749 swig_obj
[0] = args
;
41750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxValidator
, 0 | 0 );
41751 if (!SWIG_IsOK(res1
)) {
41752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Validator_TransferToWindow" "', expected argument " "1"" of type '" "wxValidator *""'");
41754 arg1
= reinterpret_cast< wxValidator
* >(argp1
);
41756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41757 result
= (bool)(arg1
)->TransferToWindow();
41758 wxPyEndAllowThreads(__tstate
);
41759 if (PyErr_Occurred()) SWIG_fail
;
41762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41770 SWIGINTERN PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41771 PyObject
*resultobj
= 0;
41772 wxValidator
*arg1
= (wxValidator
*) 0 ;
41776 PyObject
*swig_obj
[1] ;
41778 if (!args
) SWIG_fail
;
41779 swig_obj
[0] = args
;
41780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxValidator
, 0 | 0 );
41781 if (!SWIG_IsOK(res1
)) {
41782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Validator_TransferFromWindow" "', expected argument " "1"" of type '" "wxValidator *""'");
41784 arg1
= reinterpret_cast< wxValidator
* >(argp1
);
41786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41787 result
= (bool)(arg1
)->TransferFromWindow();
41788 wxPyEndAllowThreads(__tstate
);
41789 if (PyErr_Occurred()) SWIG_fail
;
41792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41800 SWIGINTERN PyObject
*_wrap_Validator_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41801 PyObject
*resultobj
= 0;
41802 wxValidator
*arg1
= (wxValidator
*) 0 ;
41803 wxWindow
*result
= 0 ;
41806 PyObject
*swig_obj
[1] ;
41808 if (!args
) SWIG_fail
;
41809 swig_obj
[0] = args
;
41810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxValidator
, 0 | 0 );
41811 if (!SWIG_IsOK(res1
)) {
41812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Validator_GetWindow" "', expected argument " "1"" of type '" "wxValidator *""'");
41814 arg1
= reinterpret_cast< wxValidator
* >(argp1
);
41816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41817 result
= (wxWindow
*)(arg1
)->GetWindow();
41818 wxPyEndAllowThreads(__tstate
);
41819 if (PyErr_Occurred()) SWIG_fail
;
41822 resultobj
= wxPyMake_wxObject(result
, 0);
41830 SWIGINTERN PyObject
*_wrap_Validator_SetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41831 PyObject
*resultobj
= 0;
41832 wxValidator
*arg1
= (wxValidator
*) 0 ;
41833 wxWindow
*arg2
= (wxWindow
*) 0 ;
41838 PyObject
* obj0
= 0 ;
41839 PyObject
* obj1
= 0 ;
41840 char * kwnames
[] = {
41841 (char *) "self",(char *) "window", NULL
41844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxValidator
, 0 | 0 );
41846 if (!SWIG_IsOK(res1
)) {
41847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Validator_SetWindow" "', expected argument " "1"" of type '" "wxValidator *""'");
41849 arg1
= reinterpret_cast< wxValidator
* >(argp1
);
41850 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41851 if (!SWIG_IsOK(res2
)) {
41852 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Validator_SetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
41854 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41857 (arg1
)->SetWindow(arg2
);
41858 wxPyEndAllowThreads(__tstate
);
41859 if (PyErr_Occurred()) SWIG_fail
;
41861 resultobj
= SWIG_Py_Void();
41868 SWIGINTERN PyObject
*_wrap_Validator_IsSilent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41869 PyObject
*resultobj
= 0;
41872 if (!SWIG_Python_UnpackTuple(args
,"Validator_IsSilent",0,0,0)) SWIG_fail
;
41874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41875 result
= (bool)wxValidator::IsSilent();
41876 wxPyEndAllowThreads(__tstate
);
41877 if (PyErr_Occurred()) SWIG_fail
;
41880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41888 SWIGINTERN PyObject
*_wrap_Validator_SetBellOnError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41889 PyObject
*resultobj
= 0;
41890 int arg1
= (int) true ;
41893 PyObject
* obj0
= 0 ;
41894 char * kwnames
[] = {
41895 (char *) "doIt", NULL
41898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) SWIG_fail
;
41900 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
41901 if (!SWIG_IsOK(ecode1
)) {
41902 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Validator_SetBellOnError" "', expected argument " "1"" of type '" "int""'");
41904 arg1
= static_cast< int >(val1
);
41907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41908 wxValidator::SetBellOnError(arg1
);
41909 wxPyEndAllowThreads(__tstate
);
41910 if (PyErr_Occurred()) SWIG_fail
;
41912 resultobj
= SWIG_Py_Void();
41919 SWIGINTERN PyObject
*Validator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41921 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41922 SWIG_TypeNewClientData(SWIGTYPE_p_wxValidator
, SWIG_NewClientData(obj
));
41923 return SWIG_Py_Void();
41926 SWIGINTERN PyObject
*Validator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41927 return SWIG_Python_InitShadowInstance(args
);
41930 SWIGINTERN PyObject
*_wrap_new_PyValidator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41931 PyObject
*resultobj
= 0;
41932 wxPyValidator
*result
= 0 ;
41934 if (!SWIG_Python_UnpackTuple(args
,"new_PyValidator",0,0,0)) SWIG_fail
;
41936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41937 result
= (wxPyValidator
*)new wxPyValidator();
41938 wxPyEndAllowThreads(__tstate
);
41939 if (PyErr_Occurred()) SWIG_fail
;
41941 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyValidator
, SWIG_POINTER_NEW
| 0 );
41948 SWIGINTERN PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41949 PyObject
*resultobj
= 0;
41950 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
41951 PyObject
*arg2
= (PyObject
*) 0 ;
41952 PyObject
*arg3
= (PyObject
*) 0 ;
41953 int arg4
= (int) 1 ;
41958 PyObject
* obj0
= 0 ;
41959 PyObject
* obj1
= 0 ;
41960 PyObject
* obj2
= 0 ;
41961 PyObject
* obj3
= 0 ;
41962 char * kwnames
[] = {
41963 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
41966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
41967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyValidator
, 0 | 0 );
41968 if (!SWIG_IsOK(res1
)) {
41969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyValidator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyValidator *""'");
41971 arg1
= reinterpret_cast< wxPyValidator
* >(argp1
);
41975 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
41976 if (!SWIG_IsOK(ecode4
)) {
41977 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyValidator__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
41979 arg4
= static_cast< int >(val4
);
41982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41983 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
41984 wxPyEndAllowThreads(__tstate
);
41985 if (PyErr_Occurred()) SWIG_fail
;
41987 resultobj
= SWIG_Py_Void();
41994 SWIGINTERN PyObject
*PyValidator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41996 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41997 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyValidator
, SWIG_NewClientData(obj
));
41998 return SWIG_Py_Void();
42001 SWIGINTERN PyObject
*PyValidator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42002 return SWIG_Python_InitShadowInstance(args
);
42005 SWIGINTERN
int DefaultValidator_set(PyObject
*) {
42006 SWIG_Error(SWIG_AttributeError
,"Variable DefaultValidator is read-only.");
42011 SWIGINTERN PyObject
*DefaultValidator_get(void) {
42012 PyObject
*pyobj
= 0;
42014 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0 );
42019 SWIGINTERN PyObject
*_wrap_new_Menu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42020 PyObject
*resultobj
= 0;
42021 wxString
const &arg1_defvalue
= wxPyEmptyString
;
42022 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
42023 long arg2
= (long) 0 ;
42024 wxMenu
*result
= 0 ;
42025 bool temp1
= false ;
42028 PyObject
* obj0
= 0 ;
42029 PyObject
* obj1
= 0 ;
42030 char * kwnames
[] = {
42031 (char *) "title",(char *) "style", NULL
42034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42037 arg1
= wxString_in_helper(obj0
);
42038 if (arg1
== NULL
) SWIG_fail
;
42043 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
42044 if (!SWIG_IsOK(ecode2
)) {
42045 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Menu" "', expected argument " "2"" of type '" "long""'");
42047 arg2
= static_cast< long >(val2
);
42050 if (!wxPyCheckForApp()) SWIG_fail
;
42051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42052 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
42053 wxPyEndAllowThreads(__tstate
);
42054 if (PyErr_Occurred()) SWIG_fail
;
42056 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMenu
, SWIG_POINTER_NEW
| 0 );
42071 SWIGINTERN PyObject
*_wrap_Menu_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42072 PyObject
*resultobj
= 0;
42073 wxMenu
*arg1
= (wxMenu
*) 0 ;
42075 wxString
const &arg3_defvalue
= wxPyEmptyString
;
42076 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
42077 wxString
const &arg4_defvalue
= wxPyEmptyString
;
42078 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
42079 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
42080 wxMenuItem
*result
= 0 ;
42085 bool temp3
= false ;
42086 bool temp4
= false ;
42089 PyObject
* obj0
= 0 ;
42090 PyObject
* obj1
= 0 ;
42091 PyObject
* obj2
= 0 ;
42092 PyObject
* obj3
= 0 ;
42093 PyObject
* obj4
= 0 ;
42094 char * kwnames
[] = {
42095 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
42098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
42099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42100 if (!SWIG_IsOK(res1
)) {
42101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Append" "', expected argument " "1"" of type '" "wxMenu *""'");
42103 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
42104 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42105 if (!SWIG_IsOK(ecode2
)) {
42106 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Append" "', expected argument " "2"" of type '" "int""'");
42108 arg2
= static_cast< int >(val2
);
42111 arg3
= wxString_in_helper(obj2
);
42112 if (arg3
== NULL
) SWIG_fail
;
42118 arg4
= wxString_in_helper(obj3
);
42119 if (arg4
== NULL
) SWIG_fail
;
42124 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
42125 if (!SWIG_IsOK(ecode5
)) {
42126 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Menu_Append" "', expected argument " "5"" of type '" "wxItemKind""'");
42128 arg5
= static_cast< wxItemKind
>(val5
);
42131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42132 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
42133 wxPyEndAllowThreads(__tstate
);
42134 if (PyErr_Occurred()) SWIG_fail
;
42137 resultobj
= wxPyMake_wxObject(result
, (bool)0);
42161 SWIGINTERN PyObject
*_wrap_Menu_AppendSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42162 PyObject
*resultobj
= 0;
42163 wxMenu
*arg1
= (wxMenu
*) 0 ;
42164 wxMenuItem
*result
= 0 ;
42167 PyObject
*swig_obj
[1] ;
42169 if (!args
) SWIG_fail
;
42170 swig_obj
[0] = args
;
42171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42172 if (!SWIG_IsOK(res1
)) {
42173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_AppendSeparator" "', expected argument " "1"" of type '" "wxMenu *""'");
42175 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
42177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42178 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
42179 wxPyEndAllowThreads(__tstate
);
42180 if (PyErr_Occurred()) SWIG_fail
;
42183 resultobj
= wxPyMake_wxObject(result
, (bool)0);
42191 SWIGINTERN PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42192 PyObject
*resultobj
= 0;
42193 wxMenu
*arg1
= (wxMenu
*) 0 ;
42195 wxString
*arg3
= 0 ;
42196 wxString
const &arg4_defvalue
= wxPyEmptyString
;
42197 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
42198 wxMenuItem
*result
= 0 ;
42203 bool temp3
= false ;
42204 bool temp4
= false ;
42205 PyObject
* obj0
= 0 ;
42206 PyObject
* obj1
= 0 ;
42207 PyObject
* obj2
= 0 ;
42208 PyObject
* obj3
= 0 ;
42209 char * kwnames
[] = {
42210 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
42213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
42214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42215 if (!SWIG_IsOK(res1
)) {
42216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_AppendCheckItem" "', expected argument " "1"" of type '" "wxMenu *""'");
42218 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
42219 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42220 if (!SWIG_IsOK(ecode2
)) {
42221 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_AppendCheckItem" "', expected argument " "2"" of type '" "int""'");
42223 arg2
= static_cast< int >(val2
);
42225 arg3
= wxString_in_helper(obj2
);
42226 if (arg3
== NULL
) SWIG_fail
;
42231 arg4
= wxString_in_helper(obj3
);
42232 if (arg4
== NULL
) SWIG_fail
;
42237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42238 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
42239 wxPyEndAllowThreads(__tstate
);
42240 if (PyErr_Occurred()) SWIG_fail
;
42243 resultobj
= wxPyMake_wxObject(result
, (bool)0);
42267 SWIGINTERN PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42268 PyObject
*resultobj
= 0;
42269 wxMenu
*arg1
= (wxMenu
*) 0 ;
42271 wxString
*arg3
= 0 ;
42272 wxString
const &arg4_defvalue
= wxPyEmptyString
;
42273 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
42274 wxMenuItem
*result
= 0 ;
42279 bool temp3
= false ;
42280 bool temp4
= false ;
42281 PyObject
* obj0
= 0 ;
42282 PyObject
* obj1
= 0 ;
42283 PyObject
* obj2
= 0 ;
42284 PyObject
* obj3
= 0 ;
42285 char * kwnames
[] = {
42286 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
42289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
42290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42291 if (!SWIG_IsOK(res1
)) {
42292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_AppendRadioItem" "', expected argument " "1"" of type '" "wxMenu *""'");
42294 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
42295 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42296 if (!SWIG_IsOK(ecode2
)) {
42297 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_AppendRadioItem" "', expected argument " "2"" of type '" "int""'");
42299 arg2
= static_cast< int >(val2
);
42301 arg3
= wxString_in_helper(obj2
);
42302 if (arg3
== NULL
) SWIG_fail
;
42307 arg4
= wxString_in_helper(obj3
);
42308 if (arg4
== NULL
) SWIG_fail
;
42313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42314 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
42315 wxPyEndAllowThreads(__tstate
);
42316 if (PyErr_Occurred()) SWIG_fail
;
42319 resultobj
= wxPyMake_wxObject(result
, (bool)0);
42343 SWIGINTERN PyObject
*_wrap_Menu_AppendMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42344 PyObject
*resultobj
= 0;
42345 wxMenu
*arg1
= (wxMenu
*) 0 ;
42347 wxString
*arg3
= 0 ;
42348 wxMenu
*arg4
= (wxMenu
*) 0 ;
42349 wxString
const &arg5_defvalue
= wxPyEmptyString
;
42350 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
42351 wxMenuItem
*result
= 0 ;
42356 bool temp3
= false ;
42359 bool temp5
= false ;
42360 PyObject
* obj0
= 0 ;
42361 PyObject
* obj1
= 0 ;
42362 PyObject
* obj2
= 0 ;
42363 PyObject
* obj3
= 0 ;
42364 PyObject
* obj4
= 0 ;
42365 char * kwnames
[] = {
42366 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
42369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
42370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42371 if (!SWIG_IsOK(res1
)) {
42372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_AppendMenu" "', expected argument " "1"" of type '" "wxMenu *""'");
42374 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
42375 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42376 if (!SWIG_IsOK(ecode2
)) {
42377 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_AppendMenu" "', expected argument " "2"" of type '" "int""'");
42379 arg2
= static_cast< int >(val2
);
42381 arg3
= wxString_in_helper(obj2
);
42382 if (arg3
== NULL
) SWIG_fail
;
42385 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42386 if (!SWIG_IsOK(res4
)) {
42387 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Menu_AppendMenu" "', expected argument " "4"" of type '" "wxMenu *""'");
42389 arg4
= reinterpret_cast< wxMenu
* >(argp4
);
42392 arg5
= wxString_in_helper(obj4
);
42393 if (arg5
== NULL
) SWIG_fail
;
42398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42399 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
42400 wxPyEndAllowThreads(__tstate
);
42401 if (PyErr_Occurred()) SWIG_fail
;
42404 resultobj
= wxPyMake_wxObject(result
, (bool)0);
42428 SWIGINTERN PyObject
*_wrap_Menu_AppendSubMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42429 PyObject
*resultobj
= 0;
42430 wxMenu
*arg1
= (wxMenu
*) 0 ;
42431 wxMenu
*arg2
= (wxMenu
*) 0 ;
42432 wxString
*arg3
= 0 ;
42433 wxString
const &arg4_defvalue
= wxPyEmptyString
;
42434 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
42435 wxMenuItem
*result
= 0 ;
42440 bool temp3
= false ;
42441 bool temp4
= false ;
42442 PyObject
* obj0
= 0 ;
42443 PyObject
* obj1
= 0 ;
42444 PyObject
* obj2
= 0 ;
42445 PyObject
* obj3
= 0 ;
42446 char * kwnames
[] = {
42447 (char *) "self",(char *) "submenu",(char *) "text",(char *) "help", NULL
42450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendSubMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
42451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42452 if (!SWIG_IsOK(res1
)) {
42453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_AppendSubMenu" "', expected argument " "1"" of type '" "wxMenu *""'");
42455 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
42456 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42457 if (!SWIG_IsOK(res2
)) {
42458 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_AppendSubMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
42460 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
42462 arg3
= wxString_in_helper(obj2
);
42463 if (arg3
== NULL
) SWIG_fail
;
42468 arg4
= wxString_in_helper(obj3
);
42469 if (arg4
== NULL
) SWIG_fail
;
42474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42475 result
= (wxMenuItem
*)(arg1
)->AppendSubMenu(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
42476 wxPyEndAllowThreads(__tstate
);
42477 if (PyErr_Occurred()) SWIG_fail
;
42480 resultobj
= wxPyMake_wxObject(result
, (bool)0);
42504 SWIGINTERN PyObject
*_wrap_Menu_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42505 PyObject
*resultobj
= 0;
42506 wxMenu
*arg1
= (wxMenu
*) 0 ;
42507 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
42508 wxMenuItem
*result
= 0 ;
42512 PyObject
* obj0
= 0 ;
42513 PyObject
* obj1
= 0 ;
42514 char * kwnames
[] = {
42515 (char *) "self",(char *) "item", NULL
42518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42520 if (!SWIG_IsOK(res1
)) {
42521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_AppendItem" "', expected argument " "1"" of type '" "wxMenu *""'");
42523 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
42524 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_DISOWN
| 0 );
42525 if (!SWIG_IsOK(res2
)) {
42526 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_AppendItem" "', expected argument " "2"" of type '" "wxMenuItem *""'");
42529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42530 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
42531 wxPyEndAllowThreads(__tstate
);
42532 if (PyErr_Occurred()) SWIG_fail
;
42535 resultobj
= wxPyMake_wxObject(result
, (bool)0);
42543 SWIGINTERN PyObject
*_wrap_Menu_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42544 PyObject
*resultobj
= 0;
42545 wxMenu
*arg1
= (wxMenu
*) 0 ;
42547 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
42548 wxMenuItem
*result
= 0 ;
42554 PyObject
* obj0
= 0 ;
42555 PyObject
* obj1
= 0 ;
42556 PyObject
* obj2
= 0 ;
42557 char * kwnames
[] = {
42558 (char *) "self",(char *) "pos",(char *) "item", NULL
42561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
42562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42563 if (!SWIG_IsOK(res1
)) {
42564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_InsertItem" "', expected argument " "1"" of type '" "wxMenu *""'");
42566 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
42567 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
42568 if (!SWIG_IsOK(ecode2
)) {
42569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_InsertItem" "', expected argument " "2"" of type '" "size_t""'");
42571 arg2
= static_cast< size_t >(val2
);
42572 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_DISOWN
| 0 );
42573 if (!SWIG_IsOK(res3
)) {
42574 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Menu_InsertItem" "', expected argument " "3"" of type '" "wxMenuItem *""'");
42577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42578 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
42579 wxPyEndAllowThreads(__tstate
);
42580 if (PyErr_Occurred()) SWIG_fail
;
42583 resultobj
= wxPyMake_wxObject(result
, (bool)0);
42591 SWIGINTERN PyObject
*_wrap_Menu_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42592 PyObject
*resultobj
= 0;
42593 wxMenu
*arg1
= (wxMenu
*) 0 ;
42594 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
42595 wxMenuItem
*result
= 0 ;
42599 PyObject
* obj0
= 0 ;
42600 PyObject
* obj1
= 0 ;
42601 char * kwnames
[] = {
42602 (char *) "self",(char *) "item", NULL
42605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42607 if (!SWIG_IsOK(res1
)) {
42608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_PrependItem" "', expected argument " "1"" of type '" "wxMenu *""'");
42610 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
42611 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_DISOWN
| 0 );
42612 if (!SWIG_IsOK(res2
)) {
42613 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_PrependItem" "', expected argument " "2"" of type '" "wxMenuItem *""'");
42616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42617 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
42618 wxPyEndAllowThreads(__tstate
);
42619 if (PyErr_Occurred()) SWIG_fail
;
42622 resultobj
= wxPyMake_wxObject(result
, (bool)0);
42630 SWIGINTERN PyObject
*_wrap_Menu_Break(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42631 PyObject
*resultobj
= 0;
42632 wxMenu
*arg1
= (wxMenu
*) 0 ;
42635 PyObject
*swig_obj
[1] ;
42637 if (!args
) SWIG_fail
;
42638 swig_obj
[0] = args
;
42639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42640 if (!SWIG_IsOK(res1
)) {
42641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Break" "', expected argument " "1"" of type '" "wxMenu *""'");
42643 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
42645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42647 wxPyEndAllowThreads(__tstate
);
42648 if (PyErr_Occurred()) SWIG_fail
;
42650 resultobj
= SWIG_Py_Void();
42657 SWIGINTERN PyObject
*_wrap_Menu_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42658 PyObject
*resultobj
= 0;
42659 wxMenu
*arg1
= (wxMenu
*) 0 ;
42662 wxString
const &arg4_defvalue
= wxPyEmptyString
;
42663 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
42664 wxString
const &arg5_defvalue
= wxPyEmptyString
;
42665 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
42666 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
42667 wxMenuItem
*result
= 0 ;
42674 bool temp4
= false ;
42675 bool temp5
= false ;
42678 PyObject
* obj0
= 0 ;
42679 PyObject
* obj1
= 0 ;
42680 PyObject
* obj2
= 0 ;
42681 PyObject
* obj3
= 0 ;
42682 PyObject
* obj4
= 0 ;
42683 PyObject
* obj5
= 0 ;
42684 char * kwnames
[] = {
42685 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
42688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
42689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42690 if (!SWIG_IsOK(res1
)) {
42691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Insert" "', expected argument " "1"" of type '" "wxMenu *""'");
42693 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
42694 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
42695 if (!SWIG_IsOK(ecode2
)) {
42696 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Insert" "', expected argument " "2"" of type '" "size_t""'");
42698 arg2
= static_cast< size_t >(val2
);
42699 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42700 if (!SWIG_IsOK(ecode3
)) {
42701 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Menu_Insert" "', expected argument " "3"" of type '" "int""'");
42703 arg3
= static_cast< int >(val3
);
42706 arg4
= wxString_in_helper(obj3
);
42707 if (arg4
== NULL
) SWIG_fail
;
42713 arg5
= wxString_in_helper(obj4
);
42714 if (arg5
== NULL
) SWIG_fail
;
42719 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
42720 if (!SWIG_IsOK(ecode6
)) {
42721 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Menu_Insert" "', expected argument " "6"" of type '" "wxItemKind""'");
42723 arg6
= static_cast< wxItemKind
>(val6
);
42726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42727 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
);
42728 wxPyEndAllowThreads(__tstate
);
42729 if (PyErr_Occurred()) SWIG_fail
;
42732 resultobj
= wxPyMake_wxObject(result
, (bool)0);
42756 SWIGINTERN PyObject
*_wrap_Menu_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42757 PyObject
*resultobj
= 0;
42758 wxMenu
*arg1
= (wxMenu
*) 0 ;
42760 wxMenuItem
*result
= 0 ;
42765 PyObject
* obj0
= 0 ;
42766 PyObject
* obj1
= 0 ;
42767 char * kwnames
[] = {
42768 (char *) "self",(char *) "pos", NULL
42771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42773 if (!SWIG_IsOK(res1
)) {
42774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_InsertSeparator" "', expected argument " "1"" of type '" "wxMenu *""'");
42776 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
42777 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
42778 if (!SWIG_IsOK(ecode2
)) {
42779 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
42781 arg2
= static_cast< size_t >(val2
);
42783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42784 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
42785 wxPyEndAllowThreads(__tstate
);
42786 if (PyErr_Occurred()) SWIG_fail
;
42789 resultobj
= wxPyMake_wxObject(result
, (bool)0);
42797 SWIGINTERN PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42798 PyObject
*resultobj
= 0;
42799 wxMenu
*arg1
= (wxMenu
*) 0 ;
42802 wxString
*arg4
= 0 ;
42803 wxString
const &arg5_defvalue
= wxPyEmptyString
;
42804 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
42805 wxMenuItem
*result
= 0 ;
42812 bool temp4
= false ;
42813 bool temp5
= false ;
42814 PyObject
* obj0
= 0 ;
42815 PyObject
* obj1
= 0 ;
42816 PyObject
* obj2
= 0 ;
42817 PyObject
* obj3
= 0 ;
42818 PyObject
* obj4
= 0 ;
42819 char * kwnames
[] = {
42820 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
42823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
42824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42825 if (!SWIG_IsOK(res1
)) {
42826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_InsertCheckItem" "', expected argument " "1"" of type '" "wxMenu *""'");
42828 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
42829 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
42830 if (!SWIG_IsOK(ecode2
)) {
42831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_InsertCheckItem" "', expected argument " "2"" of type '" "size_t""'");
42833 arg2
= static_cast< size_t >(val2
);
42834 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42835 if (!SWIG_IsOK(ecode3
)) {
42836 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Menu_InsertCheckItem" "', expected argument " "3"" of type '" "int""'");
42838 arg3
= static_cast< int >(val3
);
42840 arg4
= wxString_in_helper(obj3
);
42841 if (arg4
== NULL
) SWIG_fail
;
42846 arg5
= wxString_in_helper(obj4
);
42847 if (arg5
== NULL
) SWIG_fail
;
42852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42853 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
42854 wxPyEndAllowThreads(__tstate
);
42855 if (PyErr_Occurred()) SWIG_fail
;
42858 resultobj
= wxPyMake_wxObject(result
, (bool)0);
42882 SWIGINTERN PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42883 PyObject
*resultobj
= 0;
42884 wxMenu
*arg1
= (wxMenu
*) 0 ;
42887 wxString
*arg4
= 0 ;
42888 wxString
const &arg5_defvalue
= wxPyEmptyString
;
42889 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
42890 wxMenuItem
*result
= 0 ;
42897 bool temp4
= false ;
42898 bool temp5
= false ;
42899 PyObject
* obj0
= 0 ;
42900 PyObject
* obj1
= 0 ;
42901 PyObject
* obj2
= 0 ;
42902 PyObject
* obj3
= 0 ;
42903 PyObject
* obj4
= 0 ;
42904 char * kwnames
[] = {
42905 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
42908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
42909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42910 if (!SWIG_IsOK(res1
)) {
42911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_InsertRadioItem" "', expected argument " "1"" of type '" "wxMenu *""'");
42913 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
42914 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
42915 if (!SWIG_IsOK(ecode2
)) {
42916 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_InsertRadioItem" "', expected argument " "2"" of type '" "size_t""'");
42918 arg2
= static_cast< size_t >(val2
);
42919 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42920 if (!SWIG_IsOK(ecode3
)) {
42921 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Menu_InsertRadioItem" "', expected argument " "3"" of type '" "int""'");
42923 arg3
= static_cast< int >(val3
);
42925 arg4
= wxString_in_helper(obj3
);
42926 if (arg4
== NULL
) SWIG_fail
;
42931 arg5
= wxString_in_helper(obj4
);
42932 if (arg5
== NULL
) SWIG_fail
;
42937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42938 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
42939 wxPyEndAllowThreads(__tstate
);
42940 if (PyErr_Occurred()) SWIG_fail
;
42943 resultobj
= wxPyMake_wxObject(result
, (bool)0);
42967 SWIGINTERN PyObject
*_wrap_Menu_InsertMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42968 PyObject
*resultobj
= 0;
42969 wxMenu
*arg1
= (wxMenu
*) 0 ;
42972 wxString
*arg4
= 0 ;
42973 wxMenu
*arg5
= (wxMenu
*) 0 ;
42974 wxString
const &arg6_defvalue
= wxPyEmptyString
;
42975 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
42976 wxMenuItem
*result
= 0 ;
42983 bool temp4
= false ;
42986 bool temp6
= false ;
42987 PyObject
* obj0
= 0 ;
42988 PyObject
* obj1
= 0 ;
42989 PyObject
* obj2
= 0 ;
42990 PyObject
* obj3
= 0 ;
42991 PyObject
* obj4
= 0 ;
42992 PyObject
* obj5
= 0 ;
42993 char * kwnames
[] = {
42994 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
42997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
42998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42999 if (!SWIG_IsOK(res1
)) {
43000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_InsertMenu" "', expected argument " "1"" of type '" "wxMenu *""'");
43002 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
43003 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
43004 if (!SWIG_IsOK(ecode2
)) {
43005 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_InsertMenu" "', expected argument " "2"" of type '" "size_t""'");
43007 arg2
= static_cast< size_t >(val2
);
43008 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43009 if (!SWIG_IsOK(ecode3
)) {
43010 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Menu_InsertMenu" "', expected argument " "3"" of type '" "int""'");
43012 arg3
= static_cast< int >(val3
);
43014 arg4
= wxString_in_helper(obj3
);
43015 if (arg4
== NULL
) SWIG_fail
;
43018 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43019 if (!SWIG_IsOK(res5
)) {
43020 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "Menu_InsertMenu" "', expected argument " "5"" of type '" "wxMenu *""'");
43022 arg5
= reinterpret_cast< wxMenu
* >(argp5
);
43025 arg6
= wxString_in_helper(obj5
);
43026 if (arg6
== NULL
) SWIG_fail
;
43031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43032 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
43033 wxPyEndAllowThreads(__tstate
);
43034 if (PyErr_Occurred()) SWIG_fail
;
43037 resultobj
= wxPyMake_wxObject(result
, (bool)0);
43061 SWIGINTERN PyObject
*_wrap_Menu_Prepend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43062 PyObject
*resultobj
= 0;
43063 wxMenu
*arg1
= (wxMenu
*) 0 ;
43065 wxString
const &arg3_defvalue
= wxPyEmptyString
;
43066 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
43067 wxString
const &arg4_defvalue
= wxPyEmptyString
;
43068 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43069 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
43070 wxMenuItem
*result
= 0 ;
43075 bool temp3
= false ;
43076 bool temp4
= false ;
43079 PyObject
* obj0
= 0 ;
43080 PyObject
* obj1
= 0 ;
43081 PyObject
* obj2
= 0 ;
43082 PyObject
* obj3
= 0 ;
43083 PyObject
* obj4
= 0 ;
43084 char * kwnames
[] = {
43085 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
43088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
43089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43090 if (!SWIG_IsOK(res1
)) {
43091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Prepend" "', expected argument " "1"" of type '" "wxMenu *""'");
43093 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
43094 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43095 if (!SWIG_IsOK(ecode2
)) {
43096 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Prepend" "', expected argument " "2"" of type '" "int""'");
43098 arg2
= static_cast< int >(val2
);
43101 arg3
= wxString_in_helper(obj2
);
43102 if (arg3
== NULL
) SWIG_fail
;
43108 arg4
= wxString_in_helper(obj3
);
43109 if (arg4
== NULL
) SWIG_fail
;
43114 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
43115 if (!SWIG_IsOK(ecode5
)) {
43116 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Menu_Prepend" "', expected argument " "5"" of type '" "wxItemKind""'");
43118 arg5
= static_cast< wxItemKind
>(val5
);
43121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43122 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
43123 wxPyEndAllowThreads(__tstate
);
43124 if (PyErr_Occurred()) SWIG_fail
;
43127 resultobj
= wxPyMake_wxObject(result
, (bool)0);
43151 SWIGINTERN PyObject
*_wrap_Menu_PrependSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43152 PyObject
*resultobj
= 0;
43153 wxMenu
*arg1
= (wxMenu
*) 0 ;
43154 wxMenuItem
*result
= 0 ;
43157 PyObject
*swig_obj
[1] ;
43159 if (!args
) SWIG_fail
;
43160 swig_obj
[0] = args
;
43161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43162 if (!SWIG_IsOK(res1
)) {
43163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_PrependSeparator" "', expected argument " "1"" of type '" "wxMenu *""'");
43165 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
43167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43168 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
43169 wxPyEndAllowThreads(__tstate
);
43170 if (PyErr_Occurred()) SWIG_fail
;
43173 resultobj
= wxPyMake_wxObject(result
, (bool)0);
43181 SWIGINTERN PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43182 PyObject
*resultobj
= 0;
43183 wxMenu
*arg1
= (wxMenu
*) 0 ;
43185 wxString
*arg3
= 0 ;
43186 wxString
const &arg4_defvalue
= wxPyEmptyString
;
43187 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43188 wxMenuItem
*result
= 0 ;
43193 bool temp3
= false ;
43194 bool temp4
= false ;
43195 PyObject
* obj0
= 0 ;
43196 PyObject
* obj1
= 0 ;
43197 PyObject
* obj2
= 0 ;
43198 PyObject
* obj3
= 0 ;
43199 char * kwnames
[] = {
43200 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
43203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
43204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43205 if (!SWIG_IsOK(res1
)) {
43206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_PrependCheckItem" "', expected argument " "1"" of type '" "wxMenu *""'");
43208 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
43209 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43210 if (!SWIG_IsOK(ecode2
)) {
43211 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_PrependCheckItem" "', expected argument " "2"" of type '" "int""'");
43213 arg2
= static_cast< int >(val2
);
43215 arg3
= wxString_in_helper(obj2
);
43216 if (arg3
== NULL
) SWIG_fail
;
43221 arg4
= wxString_in_helper(obj3
);
43222 if (arg4
== NULL
) SWIG_fail
;
43227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43228 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
43229 wxPyEndAllowThreads(__tstate
);
43230 if (PyErr_Occurred()) SWIG_fail
;
43233 resultobj
= wxPyMake_wxObject(result
, (bool)0);
43257 SWIGINTERN PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43258 PyObject
*resultobj
= 0;
43259 wxMenu
*arg1
= (wxMenu
*) 0 ;
43261 wxString
*arg3
= 0 ;
43262 wxString
const &arg4_defvalue
= wxPyEmptyString
;
43263 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43264 wxMenuItem
*result
= 0 ;
43269 bool temp3
= false ;
43270 bool temp4
= false ;
43271 PyObject
* obj0
= 0 ;
43272 PyObject
* obj1
= 0 ;
43273 PyObject
* obj2
= 0 ;
43274 PyObject
* obj3
= 0 ;
43275 char * kwnames
[] = {
43276 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
43279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
43280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43281 if (!SWIG_IsOK(res1
)) {
43282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_PrependRadioItem" "', expected argument " "1"" of type '" "wxMenu *""'");
43284 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
43285 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43286 if (!SWIG_IsOK(ecode2
)) {
43287 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_PrependRadioItem" "', expected argument " "2"" of type '" "int""'");
43289 arg2
= static_cast< int >(val2
);
43291 arg3
= wxString_in_helper(obj2
);
43292 if (arg3
== NULL
) SWIG_fail
;
43297 arg4
= wxString_in_helper(obj3
);
43298 if (arg4
== NULL
) SWIG_fail
;
43303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43304 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
43305 wxPyEndAllowThreads(__tstate
);
43306 if (PyErr_Occurred()) SWIG_fail
;
43309 resultobj
= wxPyMake_wxObject(result
, (bool)0);
43333 SWIGINTERN PyObject
*_wrap_Menu_PrependMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43334 PyObject
*resultobj
= 0;
43335 wxMenu
*arg1
= (wxMenu
*) 0 ;
43337 wxString
*arg3
= 0 ;
43338 wxMenu
*arg4
= (wxMenu
*) 0 ;
43339 wxString
const &arg5_defvalue
= wxPyEmptyString
;
43340 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43341 wxMenuItem
*result
= 0 ;
43346 bool temp3
= false ;
43349 bool temp5
= false ;
43350 PyObject
* obj0
= 0 ;
43351 PyObject
* obj1
= 0 ;
43352 PyObject
* obj2
= 0 ;
43353 PyObject
* obj3
= 0 ;
43354 PyObject
* obj4
= 0 ;
43355 char * kwnames
[] = {
43356 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
43359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
43360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43361 if (!SWIG_IsOK(res1
)) {
43362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_PrependMenu" "', expected argument " "1"" of type '" "wxMenu *""'");
43364 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
43365 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43366 if (!SWIG_IsOK(ecode2
)) {
43367 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_PrependMenu" "', expected argument " "2"" of type '" "int""'");
43369 arg2
= static_cast< int >(val2
);
43371 arg3
= wxString_in_helper(obj2
);
43372 if (arg3
== NULL
) SWIG_fail
;
43375 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43376 if (!SWIG_IsOK(res4
)) {
43377 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Menu_PrependMenu" "', expected argument " "4"" of type '" "wxMenu *""'");
43379 arg4
= reinterpret_cast< wxMenu
* >(argp4
);
43382 arg5
= wxString_in_helper(obj4
);
43383 if (arg5
== NULL
) SWIG_fail
;
43388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43389 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
43390 wxPyEndAllowThreads(__tstate
);
43391 if (PyErr_Occurred()) SWIG_fail
;
43394 resultobj
= wxPyMake_wxObject(result
, (bool)0);
43418 SWIGINTERN PyObject
*_wrap_Menu_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43419 PyObject
*resultobj
= 0;
43420 wxMenu
*arg1
= (wxMenu
*) 0 ;
43422 wxMenuItem
*result
= 0 ;
43427 PyObject
* obj0
= 0 ;
43428 PyObject
* obj1
= 0 ;
43429 char * kwnames
[] = {
43430 (char *) "self",(char *) "id", NULL
43433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43435 if (!SWIG_IsOK(res1
)) {
43436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Remove" "', expected argument " "1"" of type '" "wxMenu *""'");
43438 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
43439 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43440 if (!SWIG_IsOK(ecode2
)) {
43441 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Remove" "', expected argument " "2"" of type '" "int""'");
43443 arg2
= static_cast< int >(val2
);
43445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43446 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
43447 wxPyEndAllowThreads(__tstate
);
43448 if (PyErr_Occurred()) SWIG_fail
;
43451 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
43459 SWIGINTERN PyObject
*_wrap_Menu_RemoveItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43460 PyObject
*resultobj
= 0;
43461 wxMenu
*arg1
= (wxMenu
*) 0 ;
43462 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
43463 wxMenuItem
*result
= 0 ;
43468 PyObject
* obj0
= 0 ;
43469 PyObject
* obj1
= 0 ;
43470 char * kwnames
[] = {
43471 (char *) "self",(char *) "item", NULL
43474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43476 if (!SWIG_IsOK(res1
)) {
43477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_RemoveItem" "', expected argument " "1"" of type '" "wxMenu *""'");
43479 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
43480 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43481 if (!SWIG_IsOK(res2
)) {
43482 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_RemoveItem" "', expected argument " "2"" of type '" "wxMenuItem *""'");
43484 arg2
= reinterpret_cast< wxMenuItem
* >(argp2
);
43486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43487 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
43488 wxPyEndAllowThreads(__tstate
);
43489 if (PyErr_Occurred()) SWIG_fail
;
43492 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
43500 SWIGINTERN PyObject
*_wrap_Menu_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43501 PyObject
*resultobj
= 0;
43502 wxMenu
*arg1
= (wxMenu
*) 0 ;
43509 PyObject
* obj0
= 0 ;
43510 PyObject
* obj1
= 0 ;
43511 char * kwnames
[] = {
43512 (char *) "self",(char *) "id", NULL
43515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43517 if (!SWIG_IsOK(res1
)) {
43518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Delete" "', expected argument " "1"" of type '" "wxMenu *""'");
43520 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
43521 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43522 if (!SWIG_IsOK(ecode2
)) {
43523 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Delete" "', expected argument " "2"" of type '" "int""'");
43525 arg2
= static_cast< int >(val2
);
43527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43528 result
= (bool)(arg1
)->Delete(arg2
);
43529 wxPyEndAllowThreads(__tstate
);
43530 if (PyErr_Occurred()) SWIG_fail
;
43533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43541 SWIGINTERN PyObject
*_wrap_Menu_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43542 PyObject
*resultobj
= 0;
43543 wxMenu
*arg1
= (wxMenu
*) 0 ;
43544 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
43550 PyObject
* obj0
= 0 ;
43551 PyObject
* obj1
= 0 ;
43552 char * kwnames
[] = {
43553 (char *) "self",(char *) "item", NULL
43556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43558 if (!SWIG_IsOK(res1
)) {
43559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_DeleteItem" "', expected argument " "1"" of type '" "wxMenu *""'");
43561 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
43562 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43563 if (!SWIG_IsOK(res2
)) {
43564 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_DeleteItem" "', expected argument " "2"" of type '" "wxMenuItem *""'");
43566 arg2
= reinterpret_cast< wxMenuItem
* >(argp2
);
43568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43569 result
= (bool)(arg1
)->Delete(arg2
);
43570 wxPyEndAllowThreads(__tstate
);
43571 if (PyErr_Occurred()) SWIG_fail
;
43574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43582 SWIGINTERN PyObject
*_wrap_Menu_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43583 PyObject
*resultobj
= 0;
43584 wxMenu
*arg1
= (wxMenu
*) 0 ;
43587 PyObject
*swig_obj
[1] ;
43589 if (!args
) SWIG_fail
;
43590 swig_obj
[0] = args
;
43591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43592 if (!SWIG_IsOK(res1
)) {
43593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Destroy" "', expected argument " "1"" of type '" "wxMenu *""'");
43595 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
43597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43598 wxMenu_Destroy(arg1
);
43599 wxPyEndAllowThreads(__tstate
);
43600 if (PyErr_Occurred()) SWIG_fail
;
43602 resultobj
= SWIG_Py_Void();
43609 SWIGINTERN PyObject
*_wrap_Menu_DestroyId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43610 PyObject
*resultobj
= 0;
43611 wxMenu
*arg1
= (wxMenu
*) 0 ;
43618 PyObject
* obj0
= 0 ;
43619 PyObject
* obj1
= 0 ;
43620 char * kwnames
[] = {
43621 (char *) "self",(char *) "id", NULL
43624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43626 if (!SWIG_IsOK(res1
)) {
43627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_DestroyId" "', expected argument " "1"" of type '" "wxMenu *""'");
43629 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
43630 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43631 if (!SWIG_IsOK(ecode2
)) {
43632 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_DestroyId" "', expected argument " "2"" of type '" "int""'");
43634 arg2
= static_cast< int >(val2
);
43636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43637 result
= (bool)(arg1
)->Destroy(arg2
);
43638 wxPyEndAllowThreads(__tstate
);
43639 if (PyErr_Occurred()) SWIG_fail
;
43642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43650 SWIGINTERN PyObject
*_wrap_Menu_DestroyItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43651 PyObject
*resultobj
= 0;
43652 wxMenu
*arg1
= (wxMenu
*) 0 ;
43653 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
43659 PyObject
* obj0
= 0 ;
43660 PyObject
* obj1
= 0 ;
43661 char * kwnames
[] = {
43662 (char *) "self",(char *) "item", NULL
43665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43667 if (!SWIG_IsOK(res1
)) {
43668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_DestroyItem" "', expected argument " "1"" of type '" "wxMenu *""'");
43670 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
43671 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43672 if (!SWIG_IsOK(res2
)) {
43673 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_DestroyItem" "', expected argument " "2"" of type '" "wxMenuItem *""'");
43675 arg2
= reinterpret_cast< wxMenuItem
* >(argp2
);
43677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43678 result
= (bool)(arg1
)->Destroy(arg2
);
43679 wxPyEndAllowThreads(__tstate
);
43680 if (PyErr_Occurred()) SWIG_fail
;
43683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43691 SWIGINTERN PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43692 PyObject
*resultobj
= 0;
43693 wxMenu
*arg1
= (wxMenu
*) 0 ;
43697 PyObject
*swig_obj
[1] ;
43699 if (!args
) SWIG_fail
;
43700 swig_obj
[0] = args
;
43701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43702 if (!SWIG_IsOK(res1
)) {
43703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetMenuItemCount" "', expected argument " "1"" of type '" "wxMenu const *""'");
43705 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
43707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43708 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
43709 wxPyEndAllowThreads(__tstate
);
43710 if (PyErr_Occurred()) SWIG_fail
;
43712 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
43719 SWIGINTERN PyObject
*_wrap_Menu_GetMenuItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43720 PyObject
*resultobj
= 0;
43721 wxMenu
*arg1
= (wxMenu
*) 0 ;
43722 PyObject
*result
= 0 ;
43725 PyObject
*swig_obj
[1] ;
43727 if (!args
) SWIG_fail
;
43728 swig_obj
[0] = args
;
43729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43730 if (!SWIG_IsOK(res1
)) {
43731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetMenuItems" "', expected argument " "1"" of type '" "wxMenu *""'");
43733 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
43735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43736 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
43737 wxPyEndAllowThreads(__tstate
);
43738 if (PyErr_Occurred()) SWIG_fail
;
43740 resultobj
= result
;
43747 SWIGINTERN PyObject
*_wrap_Menu_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43748 PyObject
*resultobj
= 0;
43749 wxMenu
*arg1
= (wxMenu
*) 0 ;
43750 wxString
*arg2
= 0 ;
43754 bool temp2
= false ;
43755 PyObject
* obj0
= 0 ;
43756 PyObject
* obj1
= 0 ;
43757 char * kwnames
[] = {
43758 (char *) "self",(char *) "item", NULL
43761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43763 if (!SWIG_IsOK(res1
)) {
43764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_FindItem" "', expected argument " "1"" of type '" "wxMenu const *""'");
43766 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
43768 arg2
= wxString_in_helper(obj1
);
43769 if (arg2
== NULL
) SWIG_fail
;
43773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43774 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
43775 wxPyEndAllowThreads(__tstate
);
43776 if (PyErr_Occurred()) SWIG_fail
;
43778 resultobj
= SWIG_From_int(static_cast< int >(result
));
43793 SWIGINTERN PyObject
*_wrap_Menu_FindItemById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43794 PyObject
*resultobj
= 0;
43795 wxMenu
*arg1
= (wxMenu
*) 0 ;
43797 wxMenuItem
*result
= 0 ;
43802 PyObject
* obj0
= 0 ;
43803 PyObject
* obj1
= 0 ;
43804 char * kwnames
[] = {
43805 (char *) "self",(char *) "id", NULL
43808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43810 if (!SWIG_IsOK(res1
)) {
43811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_FindItemById" "', expected argument " "1"" of type '" "wxMenu const *""'");
43813 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
43814 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43815 if (!SWIG_IsOK(ecode2
)) {
43816 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_FindItemById" "', expected argument " "2"" of type '" "int""'");
43818 arg2
= static_cast< int >(val2
);
43820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43821 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
43822 wxPyEndAllowThreads(__tstate
);
43823 if (PyErr_Occurred()) SWIG_fail
;
43826 resultobj
= wxPyMake_wxObject(result
, (bool)0);
43834 SWIGINTERN PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43835 PyObject
*resultobj
= 0;
43836 wxMenu
*arg1
= (wxMenu
*) 0 ;
43838 wxMenuItem
*result
= 0 ;
43843 PyObject
* obj0
= 0 ;
43844 PyObject
* obj1
= 0 ;
43845 char * kwnames
[] = {
43846 (char *) "self",(char *) "position", NULL
43849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43851 if (!SWIG_IsOK(res1
)) {
43852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_FindItemByPosition" "', expected argument " "1"" of type '" "wxMenu const *""'");
43854 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
43855 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
43856 if (!SWIG_IsOK(ecode2
)) {
43857 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_FindItemByPosition" "', expected argument " "2"" of type '" "size_t""'");
43859 arg2
= static_cast< size_t >(val2
);
43861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43862 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
43863 wxPyEndAllowThreads(__tstate
);
43864 if (PyErr_Occurred()) SWIG_fail
;
43867 resultobj
= wxPyMake_wxObject(result
, (bool)0);
43875 SWIGINTERN PyObject
*_wrap_Menu_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43876 PyObject
*resultobj
= 0;
43877 wxMenu
*arg1
= (wxMenu
*) 0 ;
43886 PyObject
* obj0
= 0 ;
43887 PyObject
* obj1
= 0 ;
43888 PyObject
* obj2
= 0 ;
43889 char * kwnames
[] = {
43890 (char *) "self",(char *) "id",(char *) "enable", NULL
43893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43895 if (!SWIG_IsOK(res1
)) {
43896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Enable" "', expected argument " "1"" of type '" "wxMenu *""'");
43898 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
43899 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43900 if (!SWIG_IsOK(ecode2
)) {
43901 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Enable" "', expected argument " "2"" of type '" "int""'");
43903 arg2
= static_cast< int >(val2
);
43904 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
43905 if (!SWIG_IsOK(ecode3
)) {
43906 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Menu_Enable" "', expected argument " "3"" of type '" "bool""'");
43908 arg3
= static_cast< bool >(val3
);
43910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43911 (arg1
)->Enable(arg2
,arg3
);
43912 wxPyEndAllowThreads(__tstate
);
43913 if (PyErr_Occurred()) SWIG_fail
;
43915 resultobj
= SWIG_Py_Void();
43922 SWIGINTERN PyObject
*_wrap_Menu_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43923 PyObject
*resultobj
= 0;
43924 wxMenu
*arg1
= (wxMenu
*) 0 ;
43931 PyObject
* obj0
= 0 ;
43932 PyObject
* obj1
= 0 ;
43933 char * kwnames
[] = {
43934 (char *) "self",(char *) "id", NULL
43937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43939 if (!SWIG_IsOK(res1
)) {
43940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_IsEnabled" "', expected argument " "1"" of type '" "wxMenu const *""'");
43942 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
43943 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43944 if (!SWIG_IsOK(ecode2
)) {
43945 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_IsEnabled" "', expected argument " "2"" of type '" "int""'");
43947 arg2
= static_cast< int >(val2
);
43949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43950 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
43951 wxPyEndAllowThreads(__tstate
);
43952 if (PyErr_Occurred()) SWIG_fail
;
43955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43963 SWIGINTERN PyObject
*_wrap_Menu_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43964 PyObject
*resultobj
= 0;
43965 wxMenu
*arg1
= (wxMenu
*) 0 ;
43974 PyObject
* obj0
= 0 ;
43975 PyObject
* obj1
= 0 ;
43976 PyObject
* obj2
= 0 ;
43977 char * kwnames
[] = {
43978 (char *) "self",(char *) "id",(char *) "check", NULL
43981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43983 if (!SWIG_IsOK(res1
)) {
43984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Check" "', expected argument " "1"" of type '" "wxMenu *""'");
43986 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
43987 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43988 if (!SWIG_IsOK(ecode2
)) {
43989 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Check" "', expected argument " "2"" of type '" "int""'");
43991 arg2
= static_cast< int >(val2
);
43992 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
43993 if (!SWIG_IsOK(ecode3
)) {
43994 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Menu_Check" "', expected argument " "3"" of type '" "bool""'");
43996 arg3
= static_cast< bool >(val3
);
43998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43999 (arg1
)->Check(arg2
,arg3
);
44000 wxPyEndAllowThreads(__tstate
);
44001 if (PyErr_Occurred()) SWIG_fail
;
44003 resultobj
= SWIG_Py_Void();
44010 SWIGINTERN PyObject
*_wrap_Menu_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44011 PyObject
*resultobj
= 0;
44012 wxMenu
*arg1
= (wxMenu
*) 0 ;
44019 PyObject
* obj0
= 0 ;
44020 PyObject
* obj1
= 0 ;
44021 char * kwnames
[] = {
44022 (char *) "self",(char *) "id", NULL
44025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
44027 if (!SWIG_IsOK(res1
)) {
44028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_IsChecked" "', expected argument " "1"" of type '" "wxMenu const *""'");
44030 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
44031 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44032 if (!SWIG_IsOK(ecode2
)) {
44033 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_IsChecked" "', expected argument " "2"" of type '" "int""'");
44035 arg2
= static_cast< int >(val2
);
44037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44038 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
44039 wxPyEndAllowThreads(__tstate
);
44040 if (PyErr_Occurred()) SWIG_fail
;
44043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44051 SWIGINTERN PyObject
*_wrap_Menu_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44052 PyObject
*resultobj
= 0;
44053 wxMenu
*arg1
= (wxMenu
*) 0 ;
44055 wxString
*arg3
= 0 ;
44060 bool temp3
= false ;
44061 PyObject
* obj0
= 0 ;
44062 PyObject
* obj1
= 0 ;
44063 PyObject
* obj2
= 0 ;
44064 char * kwnames
[] = {
44065 (char *) "self",(char *) "id",(char *) "label", NULL
44068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
44069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
44070 if (!SWIG_IsOK(res1
)) {
44071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_SetLabel" "', expected argument " "1"" of type '" "wxMenu *""'");
44073 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
44074 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44075 if (!SWIG_IsOK(ecode2
)) {
44076 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_SetLabel" "', expected argument " "2"" of type '" "int""'");
44078 arg2
= static_cast< int >(val2
);
44080 arg3
= wxString_in_helper(obj2
);
44081 if (arg3
== NULL
) SWIG_fail
;
44085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44086 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
44087 wxPyEndAllowThreads(__tstate
);
44088 if (PyErr_Occurred()) SWIG_fail
;
44090 resultobj
= SWIG_Py_Void();
44105 SWIGINTERN PyObject
*_wrap_Menu_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44106 PyObject
*resultobj
= 0;
44107 wxMenu
*arg1
= (wxMenu
*) 0 ;
44114 PyObject
* obj0
= 0 ;
44115 PyObject
* obj1
= 0 ;
44116 char * kwnames
[] = {
44117 (char *) "self",(char *) "id", NULL
44120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
44122 if (!SWIG_IsOK(res1
)) {
44123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetLabel" "', expected argument " "1"" of type '" "wxMenu const *""'");
44125 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
44126 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44127 if (!SWIG_IsOK(ecode2
)) {
44128 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_GetLabel" "', expected argument " "2"" of type '" "int""'");
44130 arg2
= static_cast< int >(val2
);
44132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44133 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
44134 wxPyEndAllowThreads(__tstate
);
44135 if (PyErr_Occurred()) SWIG_fail
;
44139 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44141 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44150 SWIGINTERN PyObject
*_wrap_Menu_SetHelpString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44151 PyObject
*resultobj
= 0;
44152 wxMenu
*arg1
= (wxMenu
*) 0 ;
44154 wxString
*arg3
= 0 ;
44159 bool temp3
= false ;
44160 PyObject
* obj0
= 0 ;
44161 PyObject
* obj1
= 0 ;
44162 PyObject
* obj2
= 0 ;
44163 char * kwnames
[] = {
44164 (char *) "self",(char *) "id",(char *) "helpString", NULL
44167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
44168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
44169 if (!SWIG_IsOK(res1
)) {
44170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_SetHelpString" "', expected argument " "1"" of type '" "wxMenu *""'");
44172 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
44173 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44174 if (!SWIG_IsOK(ecode2
)) {
44175 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_SetHelpString" "', expected argument " "2"" of type '" "int""'");
44177 arg2
= static_cast< int >(val2
);
44179 arg3
= wxString_in_helper(obj2
);
44180 if (arg3
== NULL
) SWIG_fail
;
44184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44185 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
44186 wxPyEndAllowThreads(__tstate
);
44187 if (PyErr_Occurred()) SWIG_fail
;
44189 resultobj
= SWIG_Py_Void();
44204 SWIGINTERN PyObject
*_wrap_Menu_GetHelpString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44205 PyObject
*resultobj
= 0;
44206 wxMenu
*arg1
= (wxMenu
*) 0 ;
44213 PyObject
* obj0
= 0 ;
44214 PyObject
* obj1
= 0 ;
44215 char * kwnames
[] = {
44216 (char *) "self",(char *) "id", NULL
44219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
44221 if (!SWIG_IsOK(res1
)) {
44222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetHelpString" "', expected argument " "1"" of type '" "wxMenu const *""'");
44224 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
44225 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44226 if (!SWIG_IsOK(ecode2
)) {
44227 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_GetHelpString" "', expected argument " "2"" of type '" "int""'");
44229 arg2
= static_cast< int >(val2
);
44231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44232 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
44233 wxPyEndAllowThreads(__tstate
);
44234 if (PyErr_Occurred()) SWIG_fail
;
44238 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44240 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44249 SWIGINTERN PyObject
*_wrap_Menu_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44250 PyObject
*resultobj
= 0;
44251 wxMenu
*arg1
= (wxMenu
*) 0 ;
44252 wxString
*arg2
= 0 ;
44255 bool temp2
= false ;
44256 PyObject
* obj0
= 0 ;
44257 PyObject
* obj1
= 0 ;
44258 char * kwnames
[] = {
44259 (char *) "self",(char *) "title", NULL
44262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
44264 if (!SWIG_IsOK(res1
)) {
44265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_SetTitle" "', expected argument " "1"" of type '" "wxMenu *""'");
44267 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
44269 arg2
= wxString_in_helper(obj1
);
44270 if (arg2
== NULL
) SWIG_fail
;
44274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44275 (arg1
)->SetTitle((wxString
const &)*arg2
);
44276 wxPyEndAllowThreads(__tstate
);
44277 if (PyErr_Occurred()) SWIG_fail
;
44279 resultobj
= SWIG_Py_Void();
44294 SWIGINTERN PyObject
*_wrap_Menu_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44295 PyObject
*resultobj
= 0;
44296 wxMenu
*arg1
= (wxMenu
*) 0 ;
44300 PyObject
*swig_obj
[1] ;
44302 if (!args
) SWIG_fail
;
44303 swig_obj
[0] = args
;
44304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
44305 if (!SWIG_IsOK(res1
)) {
44306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetTitle" "', expected argument " "1"" of type '" "wxMenu const *""'");
44308 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
44310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44311 result
= ((wxMenu
const *)arg1
)->GetTitle();
44312 wxPyEndAllowThreads(__tstate
);
44313 if (PyErr_Occurred()) SWIG_fail
;
44317 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44319 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44328 SWIGINTERN PyObject
*_wrap_Menu_SetEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44329 PyObject
*resultobj
= 0;
44330 wxMenu
*arg1
= (wxMenu
*) 0 ;
44331 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
44336 PyObject
* obj0
= 0 ;
44337 PyObject
* obj1
= 0 ;
44338 char * kwnames
[] = {
44339 (char *) "self",(char *) "handler", NULL
44342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
44344 if (!SWIG_IsOK(res1
)) {
44345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_SetEventHandler" "', expected argument " "1"" of type '" "wxMenu *""'");
44347 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
44348 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
44349 if (!SWIG_IsOK(res2
)) {
44350 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_SetEventHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
44352 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
44354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44355 (arg1
)->SetEventHandler(arg2
);
44356 wxPyEndAllowThreads(__tstate
);
44357 if (PyErr_Occurred()) SWIG_fail
;
44359 resultobj
= SWIG_Py_Void();
44366 SWIGINTERN PyObject
*_wrap_Menu_GetEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44367 PyObject
*resultobj
= 0;
44368 wxMenu
*arg1
= (wxMenu
*) 0 ;
44369 wxEvtHandler
*result
= 0 ;
44372 PyObject
*swig_obj
[1] ;
44374 if (!args
) SWIG_fail
;
44375 swig_obj
[0] = args
;
44376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
44377 if (!SWIG_IsOK(res1
)) {
44378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetEventHandler" "', expected argument " "1"" of type '" "wxMenu const *""'");
44380 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
44382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44383 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
44384 wxPyEndAllowThreads(__tstate
);
44385 if (PyErr_Occurred()) SWIG_fail
;
44388 resultobj
= wxPyMake_wxObject(result
, 0);
44396 SWIGINTERN PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44397 PyObject
*resultobj
= 0;
44398 wxMenu
*arg1
= (wxMenu
*) 0 ;
44399 wxWindow
*arg2
= (wxWindow
*) 0 ;
44404 PyObject
* obj0
= 0 ;
44405 PyObject
* obj1
= 0 ;
44406 char * kwnames
[] = {
44407 (char *) "self",(char *) "win", NULL
44410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
44412 if (!SWIG_IsOK(res1
)) {
44413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_SetInvokingWindow" "', expected argument " "1"" of type '" "wxMenu *""'");
44415 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
44416 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44417 if (!SWIG_IsOK(res2
)) {
44418 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_SetInvokingWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
44420 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44423 (arg1
)->SetInvokingWindow(arg2
);
44424 wxPyEndAllowThreads(__tstate
);
44425 if (PyErr_Occurred()) SWIG_fail
;
44427 resultobj
= SWIG_Py_Void();
44434 SWIGINTERN PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44435 PyObject
*resultobj
= 0;
44436 wxMenu
*arg1
= (wxMenu
*) 0 ;
44437 wxWindow
*result
= 0 ;
44440 PyObject
*swig_obj
[1] ;
44442 if (!args
) SWIG_fail
;
44443 swig_obj
[0] = args
;
44444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
44445 if (!SWIG_IsOK(res1
)) {
44446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetInvokingWindow" "', expected argument " "1"" of type '" "wxMenu const *""'");
44448 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
44450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44451 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
44452 wxPyEndAllowThreads(__tstate
);
44453 if (PyErr_Occurred()) SWIG_fail
;
44456 resultobj
= wxPyMake_wxObject(result
, 0);
44464 SWIGINTERN PyObject
*_wrap_Menu_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44465 PyObject
*resultobj
= 0;
44466 wxMenu
*arg1
= (wxMenu
*) 0 ;
44470 PyObject
*swig_obj
[1] ;
44472 if (!args
) SWIG_fail
;
44473 swig_obj
[0] = args
;
44474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
44475 if (!SWIG_IsOK(res1
)) {
44476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetStyle" "', expected argument " "1"" of type '" "wxMenu const *""'");
44478 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
44480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44481 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
44482 wxPyEndAllowThreads(__tstate
);
44483 if (PyErr_Occurred()) SWIG_fail
;
44485 resultobj
= SWIG_From_long(static_cast< long >(result
));
44492 SWIGINTERN PyObject
*_wrap_Menu_UpdateUI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44493 PyObject
*resultobj
= 0;
44494 wxMenu
*arg1
= (wxMenu
*) 0 ;
44495 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
44500 PyObject
* obj0
= 0 ;
44501 PyObject
* obj1
= 0 ;
44502 char * kwnames
[] = {
44503 (char *) "self",(char *) "source", NULL
44506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
44508 if (!SWIG_IsOK(res1
)) {
44509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_UpdateUI" "', expected argument " "1"" of type '" "wxMenu *""'");
44511 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
44513 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
44514 if (!SWIG_IsOK(res2
)) {
44515 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_UpdateUI" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
44517 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
44520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44521 (arg1
)->UpdateUI(arg2
);
44522 wxPyEndAllowThreads(__tstate
);
44523 if (PyErr_Occurred()) SWIG_fail
;
44525 resultobj
= SWIG_Py_Void();
44532 SWIGINTERN PyObject
*_wrap_Menu_GetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44533 PyObject
*resultobj
= 0;
44534 wxMenu
*arg1
= (wxMenu
*) 0 ;
44535 wxMenuBar
*result
= 0 ;
44538 PyObject
*swig_obj
[1] ;
44540 if (!args
) SWIG_fail
;
44541 swig_obj
[0] = args
;
44542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
44543 if (!SWIG_IsOK(res1
)) {
44544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetMenuBar" "', expected argument " "1"" of type '" "wxMenu const *""'");
44546 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
44548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44549 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
44550 wxPyEndAllowThreads(__tstate
);
44551 if (PyErr_Occurred()) SWIG_fail
;
44554 resultobj
= wxPyMake_wxObject(result
, (bool)0);
44562 SWIGINTERN PyObject
*_wrap_Menu_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44563 PyObject
*resultobj
= 0;
44564 wxMenu
*arg1
= (wxMenu
*) 0 ;
44565 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
44570 PyObject
* obj0
= 0 ;
44571 PyObject
* obj1
= 0 ;
44572 char * kwnames
[] = {
44573 (char *) "self",(char *) "menubar", NULL
44576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
44578 if (!SWIG_IsOK(res1
)) {
44579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Attach" "', expected argument " "1"" of type '" "wxMenu *""'");
44581 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
44582 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBarBase
, 0 | 0 );
44583 if (!SWIG_IsOK(res2
)) {
44584 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_Attach" "', expected argument " "2"" of type '" "wxMenuBarBase *""'");
44586 arg2
= reinterpret_cast< wxMenuBarBase
* >(argp2
);
44588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44589 (arg1
)->Attach(arg2
);
44590 wxPyEndAllowThreads(__tstate
);
44591 if (PyErr_Occurred()) SWIG_fail
;
44593 resultobj
= SWIG_Py_Void();
44600 SWIGINTERN PyObject
*_wrap_Menu_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44601 PyObject
*resultobj
= 0;
44602 wxMenu
*arg1
= (wxMenu
*) 0 ;
44605 PyObject
*swig_obj
[1] ;
44607 if (!args
) SWIG_fail
;
44608 swig_obj
[0] = args
;
44609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
44610 if (!SWIG_IsOK(res1
)) {
44611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Detach" "', expected argument " "1"" of type '" "wxMenu *""'");
44613 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
44615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44617 wxPyEndAllowThreads(__tstate
);
44618 if (PyErr_Occurred()) SWIG_fail
;
44620 resultobj
= SWIG_Py_Void();
44627 SWIGINTERN PyObject
*_wrap_Menu_IsAttached(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44628 PyObject
*resultobj
= 0;
44629 wxMenu
*arg1
= (wxMenu
*) 0 ;
44633 PyObject
*swig_obj
[1] ;
44635 if (!args
) SWIG_fail
;
44636 swig_obj
[0] = args
;
44637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
44638 if (!SWIG_IsOK(res1
)) {
44639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_IsAttached" "', expected argument " "1"" of type '" "wxMenu const *""'");
44641 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
44643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44644 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
44645 wxPyEndAllowThreads(__tstate
);
44646 if (PyErr_Occurred()) SWIG_fail
;
44649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44657 SWIGINTERN PyObject
*_wrap_Menu_SetParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44658 PyObject
*resultobj
= 0;
44659 wxMenu
*arg1
= (wxMenu
*) 0 ;
44660 wxMenu
*arg2
= (wxMenu
*) 0 ;
44665 PyObject
* obj0
= 0 ;
44666 PyObject
* obj1
= 0 ;
44667 char * kwnames
[] = {
44668 (char *) "self",(char *) "parent", NULL
44671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
44673 if (!SWIG_IsOK(res1
)) {
44674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_SetParent" "', expected argument " "1"" of type '" "wxMenu *""'");
44676 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
44677 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
44678 if (!SWIG_IsOK(res2
)) {
44679 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_SetParent" "', expected argument " "2"" of type '" "wxMenu *""'");
44681 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
44683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44684 (arg1
)->SetParent(arg2
);
44685 wxPyEndAllowThreads(__tstate
);
44686 if (PyErr_Occurred()) SWIG_fail
;
44688 resultobj
= SWIG_Py_Void();
44695 SWIGINTERN PyObject
*_wrap_Menu_GetParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44696 PyObject
*resultobj
= 0;
44697 wxMenu
*arg1
= (wxMenu
*) 0 ;
44698 wxMenu
*result
= 0 ;
44701 PyObject
*swig_obj
[1] ;
44703 if (!args
) SWIG_fail
;
44704 swig_obj
[0] = args
;
44705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
44706 if (!SWIG_IsOK(res1
)) {
44707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetParent" "', expected argument " "1"" of type '" "wxMenu const *""'");
44709 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
44711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44712 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
44713 wxPyEndAllowThreads(__tstate
);
44714 if (PyErr_Occurred()) SWIG_fail
;
44717 resultobj
= wxPyMake_wxObject(result
, 0);
44725 SWIGINTERN PyObject
*Menu_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44727 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44728 SWIG_TypeNewClientData(SWIGTYPE_p_wxMenu
, SWIG_NewClientData(obj
));
44729 return SWIG_Py_Void();
44732 SWIGINTERN PyObject
*Menu_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44733 return SWIG_Python_InitShadowInstance(args
);
44736 SWIGINTERN PyObject
*_wrap_new_MenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44737 PyObject
*resultobj
= 0;
44738 long arg1
= (long) 0 ;
44739 wxMenuBar
*result
= 0 ;
44742 PyObject
* obj0
= 0 ;
44743 char * kwnames
[] = {
44744 (char *) "style", NULL
44747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) SWIG_fail
;
44749 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
44750 if (!SWIG_IsOK(ecode1
)) {
44751 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_MenuBar" "', expected argument " "1"" of type '" "long""'");
44753 arg1
= static_cast< long >(val1
);
44756 if (!wxPyCheckForApp()) SWIG_fail
;
44757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44758 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
44759 wxPyEndAllowThreads(__tstate
);
44760 if (PyErr_Occurred()) SWIG_fail
;
44762 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_NEW
| 0 );
44769 SWIGINTERN PyObject
*_wrap_MenuBar_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44770 PyObject
*resultobj
= 0;
44771 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
44772 wxMenu
*arg2
= (wxMenu
*) 0 ;
44773 wxString
*arg3
= 0 ;
44779 bool temp3
= false ;
44780 PyObject
* obj0
= 0 ;
44781 PyObject
* obj1
= 0 ;
44782 PyObject
* obj2
= 0 ;
44783 char * kwnames
[] = {
44784 (char *) "self",(char *) "menu",(char *) "title", NULL
44787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
44788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
44789 if (!SWIG_IsOK(res1
)) {
44790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Append" "', expected argument " "1"" of type '" "wxMenuBar *""'");
44792 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
44793 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
44794 if (!SWIG_IsOK(res2
)) {
44795 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuBar_Append" "', expected argument " "2"" of type '" "wxMenu *""'");
44797 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
44799 arg3
= wxString_in_helper(obj2
);
44800 if (arg3
== NULL
) SWIG_fail
;
44804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44805 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
44806 wxPyEndAllowThreads(__tstate
);
44807 if (PyErr_Occurred()) SWIG_fail
;
44810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44826 SWIGINTERN PyObject
*_wrap_MenuBar_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44827 PyObject
*resultobj
= 0;
44828 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
44830 wxMenu
*arg3
= (wxMenu
*) 0 ;
44831 wxString
*arg4
= 0 ;
44839 bool temp4
= false ;
44840 PyObject
* obj0
= 0 ;
44841 PyObject
* obj1
= 0 ;
44842 PyObject
* obj2
= 0 ;
44843 PyObject
* obj3
= 0 ;
44844 char * kwnames
[] = {
44845 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
44848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
44849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
44850 if (!SWIG_IsOK(res1
)) {
44851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Insert" "', expected argument " "1"" of type '" "wxMenuBar *""'");
44853 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
44854 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
44855 if (!SWIG_IsOK(ecode2
)) {
44856 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_Insert" "', expected argument " "2"" of type '" "size_t""'");
44858 arg2
= static_cast< size_t >(val2
);
44859 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxMenu
, 0 | 0 );
44860 if (!SWIG_IsOK(res3
)) {
44861 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "MenuBar_Insert" "', expected argument " "3"" of type '" "wxMenu *""'");
44863 arg3
= reinterpret_cast< wxMenu
* >(argp3
);
44865 arg4
= wxString_in_helper(obj3
);
44866 if (arg4
== NULL
) SWIG_fail
;
44870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44871 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
44872 wxPyEndAllowThreads(__tstate
);
44873 if (PyErr_Occurred()) SWIG_fail
;
44876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44892 SWIGINTERN PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44893 PyObject
*resultobj
= 0;
44894 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
44898 PyObject
*swig_obj
[1] ;
44900 if (!args
) SWIG_fail
;
44901 swig_obj
[0] = args
;
44902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
44903 if (!SWIG_IsOK(res1
)) {
44904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_GetMenuCount" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
44906 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
44908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44909 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
44910 wxPyEndAllowThreads(__tstate
);
44911 if (PyErr_Occurred()) SWIG_fail
;
44913 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
44920 SWIGINTERN PyObject
*_wrap_MenuBar_GetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44921 PyObject
*resultobj
= 0;
44922 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
44924 wxMenu
*result
= 0 ;
44929 PyObject
* obj0
= 0 ;
44930 PyObject
* obj1
= 0 ;
44931 char * kwnames
[] = {
44932 (char *) "self",(char *) "pos", NULL
44935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
44937 if (!SWIG_IsOK(res1
)) {
44938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_GetMenu" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
44940 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
44941 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
44942 if (!SWIG_IsOK(ecode2
)) {
44943 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_GetMenu" "', expected argument " "2"" of type '" "size_t""'");
44945 arg2
= static_cast< size_t >(val2
);
44947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44948 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
44949 wxPyEndAllowThreads(__tstate
);
44950 if (PyErr_Occurred()) SWIG_fail
;
44953 resultobj
= wxPyMake_wxObject(result
, 0);
44961 SWIGINTERN PyObject
*_wrap_MenuBar_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44962 PyObject
*resultobj
= 0;
44963 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
44965 wxMenu
*arg3
= (wxMenu
*) 0 ;
44966 wxString
*arg4
= 0 ;
44967 wxMenu
*result
= 0 ;
44974 bool temp4
= false ;
44975 PyObject
* obj0
= 0 ;
44976 PyObject
* obj1
= 0 ;
44977 PyObject
* obj2
= 0 ;
44978 PyObject
* obj3
= 0 ;
44979 char * kwnames
[] = {
44980 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
44983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
44984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
44985 if (!SWIG_IsOK(res1
)) {
44986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Replace" "', expected argument " "1"" of type '" "wxMenuBar *""'");
44988 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
44989 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
44990 if (!SWIG_IsOK(ecode2
)) {
44991 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_Replace" "', expected argument " "2"" of type '" "size_t""'");
44993 arg2
= static_cast< size_t >(val2
);
44994 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxMenu
, 0 | 0 );
44995 if (!SWIG_IsOK(res3
)) {
44996 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "MenuBar_Replace" "', expected argument " "3"" of type '" "wxMenu *""'");
44998 arg3
= reinterpret_cast< wxMenu
* >(argp3
);
45000 arg4
= wxString_in_helper(obj3
);
45001 if (arg4
== NULL
) SWIG_fail
;
45005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45006 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
45007 wxPyEndAllowThreads(__tstate
);
45008 if (PyErr_Occurred()) SWIG_fail
;
45011 resultobj
= wxPyMake_wxObject(result
, 0);
45027 SWIGINTERN PyObject
*_wrap_MenuBar_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45028 PyObject
*resultobj
= 0;
45029 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
45031 wxMenu
*result
= 0 ;
45036 PyObject
* obj0
= 0 ;
45037 PyObject
* obj1
= 0 ;
45038 char * kwnames
[] = {
45039 (char *) "self",(char *) "pos", NULL
45042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
45044 if (!SWIG_IsOK(res1
)) {
45045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Remove" "', expected argument " "1"" of type '" "wxMenuBar *""'");
45047 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
45048 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
45049 if (!SWIG_IsOK(ecode2
)) {
45050 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_Remove" "', expected argument " "2"" of type '" "size_t""'");
45052 arg2
= static_cast< size_t >(val2
);
45054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45055 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
45056 wxPyEndAllowThreads(__tstate
);
45057 if (PyErr_Occurred()) SWIG_fail
;
45060 resultobj
= wxPyMake_wxObject(result
, 0);
45068 SWIGINTERN PyObject
*_wrap_MenuBar_EnableTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45069 PyObject
*resultobj
= 0;
45070 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
45079 PyObject
* obj0
= 0 ;
45080 PyObject
* obj1
= 0 ;
45081 PyObject
* obj2
= 0 ;
45082 char * kwnames
[] = {
45083 (char *) "self",(char *) "pos",(char *) "enable", NULL
45086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
45088 if (!SWIG_IsOK(res1
)) {
45089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_EnableTop" "', expected argument " "1"" of type '" "wxMenuBar *""'");
45091 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
45092 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
45093 if (!SWIG_IsOK(ecode2
)) {
45094 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_EnableTop" "', expected argument " "2"" of type '" "size_t""'");
45096 arg2
= static_cast< size_t >(val2
);
45097 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
45098 if (!SWIG_IsOK(ecode3
)) {
45099 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MenuBar_EnableTop" "', expected argument " "3"" of type '" "bool""'");
45101 arg3
= static_cast< bool >(val3
);
45103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45104 (arg1
)->EnableTop(arg2
,arg3
);
45105 wxPyEndAllowThreads(__tstate
);
45106 if (PyErr_Occurred()) SWIG_fail
;
45108 resultobj
= SWIG_Py_Void();
45115 SWIGINTERN PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45116 PyObject
*resultobj
= 0;
45117 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
45124 PyObject
* obj0
= 0 ;
45125 PyObject
* obj1
= 0 ;
45126 char * kwnames
[] = {
45127 (char *) "self",(char *) "pos", NULL
45130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
45132 if (!SWIG_IsOK(res1
)) {
45133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_IsEnabledTop" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
45135 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
45136 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
45137 if (!SWIG_IsOK(ecode2
)) {
45138 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_IsEnabledTop" "', expected argument " "2"" of type '" "size_t""'");
45140 arg2
= static_cast< size_t >(val2
);
45142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45143 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
45144 wxPyEndAllowThreads(__tstate
);
45145 if (PyErr_Occurred()) SWIG_fail
;
45148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45156 SWIGINTERN PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45157 PyObject
*resultobj
= 0;
45158 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
45160 wxString
*arg3
= 0 ;
45165 bool temp3
= false ;
45166 PyObject
* obj0
= 0 ;
45167 PyObject
* obj1
= 0 ;
45168 PyObject
* obj2
= 0 ;
45169 char * kwnames
[] = {
45170 (char *) "self",(char *) "pos",(char *) "label", NULL
45173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
45175 if (!SWIG_IsOK(res1
)) {
45176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_SetLabelTop" "', expected argument " "1"" of type '" "wxMenuBar *""'");
45178 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
45179 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
45180 if (!SWIG_IsOK(ecode2
)) {
45181 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_SetLabelTop" "', expected argument " "2"" of type '" "size_t""'");
45183 arg2
= static_cast< size_t >(val2
);
45185 arg3
= wxString_in_helper(obj2
);
45186 if (arg3
== NULL
) SWIG_fail
;
45190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45191 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
45192 wxPyEndAllowThreads(__tstate
);
45193 if (PyErr_Occurred()) SWIG_fail
;
45195 resultobj
= SWIG_Py_Void();
45210 SWIGINTERN PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45211 PyObject
*resultobj
= 0;
45212 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
45219 PyObject
* obj0
= 0 ;
45220 PyObject
* obj1
= 0 ;
45221 char * kwnames
[] = {
45222 (char *) "self",(char *) "pos", NULL
45225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
45227 if (!SWIG_IsOK(res1
)) {
45228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_GetLabelTop" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
45230 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
45231 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
45232 if (!SWIG_IsOK(ecode2
)) {
45233 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_GetLabelTop" "', expected argument " "2"" of type '" "size_t""'");
45235 arg2
= static_cast< size_t >(val2
);
45237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45238 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
45239 wxPyEndAllowThreads(__tstate
);
45240 if (PyErr_Occurred()) SWIG_fail
;
45244 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
45246 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
45255 SWIGINTERN PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45256 PyObject
*resultobj
= 0;
45257 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
45258 wxString
*arg2
= 0 ;
45259 wxString
*arg3
= 0 ;
45263 bool temp2
= false ;
45264 bool temp3
= false ;
45265 PyObject
* obj0
= 0 ;
45266 PyObject
* obj1
= 0 ;
45267 PyObject
* obj2
= 0 ;
45268 char * kwnames
[] = {
45269 (char *) "self",(char *) "menu",(char *) "item", NULL
45272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
45274 if (!SWIG_IsOK(res1
)) {
45275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_FindMenuItem" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
45277 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
45279 arg2
= wxString_in_helper(obj1
);
45280 if (arg2
== NULL
) SWIG_fail
;
45284 arg3
= wxString_in_helper(obj2
);
45285 if (arg3
== NULL
) SWIG_fail
;
45289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45290 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
45291 wxPyEndAllowThreads(__tstate
);
45292 if (PyErr_Occurred()) SWIG_fail
;
45294 resultobj
= SWIG_From_int(static_cast< int >(result
));
45317 SWIGINTERN PyObject
*_wrap_MenuBar_FindItemById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45318 PyObject
*resultobj
= 0;
45319 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
45321 wxMenuItem
*result
= 0 ;
45326 PyObject
* obj0
= 0 ;
45327 PyObject
* obj1
= 0 ;
45328 char * kwnames
[] = {
45329 (char *) "self",(char *) "id", NULL
45332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
45334 if (!SWIG_IsOK(res1
)) {
45335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_FindItemById" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
45337 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
45338 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45339 if (!SWIG_IsOK(ecode2
)) {
45340 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_FindItemById" "', expected argument " "2"" of type '" "int""'");
45342 arg2
= static_cast< int >(val2
);
45344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45345 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
45346 wxPyEndAllowThreads(__tstate
);
45347 if (PyErr_Occurred()) SWIG_fail
;
45350 resultobj
= wxPyMake_wxObject(result
, (bool)0);
45358 SWIGINTERN PyObject
*_wrap_MenuBar_FindMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45359 PyObject
*resultobj
= 0;
45360 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
45361 wxString
*arg2
= 0 ;
45365 bool temp2
= false ;
45366 PyObject
* obj0
= 0 ;
45367 PyObject
* obj1
= 0 ;
45368 char * kwnames
[] = {
45369 (char *) "self",(char *) "title", NULL
45372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
45374 if (!SWIG_IsOK(res1
)) {
45375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_FindMenu" "', expected argument " "1"" of type '" "wxMenuBar *""'");
45377 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
45379 arg2
= wxString_in_helper(obj1
);
45380 if (arg2
== NULL
) SWIG_fail
;
45384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45385 result
= (int)(arg1
)->FindMenu((wxString
const &)*arg2
);
45386 wxPyEndAllowThreads(__tstate
);
45387 if (PyErr_Occurred()) SWIG_fail
;
45389 resultobj
= SWIG_From_int(static_cast< int >(result
));
45404 SWIGINTERN PyObject
*_wrap_MenuBar_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45405 PyObject
*resultobj
= 0;
45406 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
45415 PyObject
* obj0
= 0 ;
45416 PyObject
* obj1
= 0 ;
45417 PyObject
* obj2
= 0 ;
45418 char * kwnames
[] = {
45419 (char *) "self",(char *) "id",(char *) "enable", NULL
45422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
45424 if (!SWIG_IsOK(res1
)) {
45425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Enable" "', expected argument " "1"" of type '" "wxMenuBar *""'");
45427 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
45428 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45429 if (!SWIG_IsOK(ecode2
)) {
45430 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_Enable" "', expected argument " "2"" of type '" "int""'");
45432 arg2
= static_cast< int >(val2
);
45433 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
45434 if (!SWIG_IsOK(ecode3
)) {
45435 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MenuBar_Enable" "', expected argument " "3"" of type '" "bool""'");
45437 arg3
= static_cast< bool >(val3
);
45439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45440 (arg1
)->Enable(arg2
,arg3
);
45441 wxPyEndAllowThreads(__tstate
);
45442 if (PyErr_Occurred()) SWIG_fail
;
45444 resultobj
= SWIG_Py_Void();
45451 SWIGINTERN PyObject
*_wrap_MenuBar_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45452 PyObject
*resultobj
= 0;
45453 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
45462 PyObject
* obj0
= 0 ;
45463 PyObject
* obj1
= 0 ;
45464 PyObject
* obj2
= 0 ;
45465 char * kwnames
[] = {
45466 (char *) "self",(char *) "id",(char *) "check", NULL
45469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
45471 if (!SWIG_IsOK(res1
)) {
45472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Check" "', expected argument " "1"" of type '" "wxMenuBar *""'");
45474 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
45475 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45476 if (!SWIG_IsOK(ecode2
)) {
45477 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_Check" "', expected argument " "2"" of type '" "int""'");
45479 arg2
= static_cast< int >(val2
);
45480 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
45481 if (!SWIG_IsOK(ecode3
)) {
45482 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MenuBar_Check" "', expected argument " "3"" of type '" "bool""'");
45484 arg3
= static_cast< bool >(val3
);
45486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45487 (arg1
)->Check(arg2
,arg3
);
45488 wxPyEndAllowThreads(__tstate
);
45489 if (PyErr_Occurred()) SWIG_fail
;
45491 resultobj
= SWIG_Py_Void();
45498 SWIGINTERN PyObject
*_wrap_MenuBar_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45499 PyObject
*resultobj
= 0;
45500 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
45507 PyObject
* obj0
= 0 ;
45508 PyObject
* obj1
= 0 ;
45509 char * kwnames
[] = {
45510 (char *) "self",(char *) "id", NULL
45513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
45515 if (!SWIG_IsOK(res1
)) {
45516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_IsChecked" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
45518 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
45519 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45520 if (!SWIG_IsOK(ecode2
)) {
45521 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_IsChecked" "', expected argument " "2"" of type '" "int""'");
45523 arg2
= static_cast< int >(val2
);
45525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45526 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
45527 wxPyEndAllowThreads(__tstate
);
45528 if (PyErr_Occurred()) SWIG_fail
;
45531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45539 SWIGINTERN PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45540 PyObject
*resultobj
= 0;
45541 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
45548 PyObject
* obj0
= 0 ;
45549 PyObject
* obj1
= 0 ;
45550 char * kwnames
[] = {
45551 (char *) "self",(char *) "id", NULL
45554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
45556 if (!SWIG_IsOK(res1
)) {
45557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_IsEnabled" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
45559 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
45560 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45561 if (!SWIG_IsOK(ecode2
)) {
45562 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_IsEnabled" "', expected argument " "2"" of type '" "int""'");
45564 arg2
= static_cast< int >(val2
);
45566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45567 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
45568 wxPyEndAllowThreads(__tstate
);
45569 if (PyErr_Occurred()) SWIG_fail
;
45572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45580 SWIGINTERN PyObject
*_wrap_MenuBar_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45581 PyObject
*resultobj
= 0;
45582 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
45584 wxString
*arg3
= 0 ;
45589 bool temp3
= false ;
45590 PyObject
* obj0
= 0 ;
45591 PyObject
* obj1
= 0 ;
45592 PyObject
* obj2
= 0 ;
45593 char * kwnames
[] = {
45594 (char *) "self",(char *) "id",(char *) "label", NULL
45597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
45599 if (!SWIG_IsOK(res1
)) {
45600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_SetLabel" "', expected argument " "1"" of type '" "wxMenuBar *""'");
45602 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
45603 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45604 if (!SWIG_IsOK(ecode2
)) {
45605 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_SetLabel" "', expected argument " "2"" of type '" "int""'");
45607 arg2
= static_cast< int >(val2
);
45609 arg3
= wxString_in_helper(obj2
);
45610 if (arg3
== NULL
) SWIG_fail
;
45614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45615 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
45616 wxPyEndAllowThreads(__tstate
);
45617 if (PyErr_Occurred()) SWIG_fail
;
45619 resultobj
= SWIG_Py_Void();
45634 SWIGINTERN PyObject
*_wrap_MenuBar_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45635 PyObject
*resultobj
= 0;
45636 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
45643 PyObject
* obj0
= 0 ;
45644 PyObject
* obj1
= 0 ;
45645 char * kwnames
[] = {
45646 (char *) "self",(char *) "id", NULL
45649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
45651 if (!SWIG_IsOK(res1
)) {
45652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_GetLabel" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
45654 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
45655 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45656 if (!SWIG_IsOK(ecode2
)) {
45657 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_GetLabel" "', expected argument " "2"" of type '" "int""'");
45659 arg2
= static_cast< int >(val2
);
45661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45662 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
45663 wxPyEndAllowThreads(__tstate
);
45664 if (PyErr_Occurred()) SWIG_fail
;
45668 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
45670 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
45679 SWIGINTERN PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45680 PyObject
*resultobj
= 0;
45681 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
45683 wxString
*arg3
= 0 ;
45688 bool temp3
= false ;
45689 PyObject
* obj0
= 0 ;
45690 PyObject
* obj1
= 0 ;
45691 PyObject
* obj2
= 0 ;
45692 char * kwnames
[] = {
45693 (char *) "self",(char *) "id",(char *) "helpString", NULL
45696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
45698 if (!SWIG_IsOK(res1
)) {
45699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_SetHelpString" "', expected argument " "1"" of type '" "wxMenuBar *""'");
45701 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
45702 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45703 if (!SWIG_IsOK(ecode2
)) {
45704 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_SetHelpString" "', expected argument " "2"" of type '" "int""'");
45706 arg2
= static_cast< int >(val2
);
45708 arg3
= wxString_in_helper(obj2
);
45709 if (arg3
== NULL
) SWIG_fail
;
45713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45714 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
45715 wxPyEndAllowThreads(__tstate
);
45716 if (PyErr_Occurred()) SWIG_fail
;
45718 resultobj
= SWIG_Py_Void();
45733 SWIGINTERN PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45734 PyObject
*resultobj
= 0;
45735 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
45742 PyObject
* obj0
= 0 ;
45743 PyObject
* obj1
= 0 ;
45744 char * kwnames
[] = {
45745 (char *) "self",(char *) "id", NULL
45748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
45750 if (!SWIG_IsOK(res1
)) {
45751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_GetHelpString" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
45753 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
45754 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45755 if (!SWIG_IsOK(ecode2
)) {
45756 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_GetHelpString" "', expected argument " "2"" of type '" "int""'");
45758 arg2
= static_cast< int >(val2
);
45760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45761 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
45762 wxPyEndAllowThreads(__tstate
);
45763 if (PyErr_Occurred()) SWIG_fail
;
45767 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
45769 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
45778 SWIGINTERN PyObject
*_wrap_MenuBar_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45779 PyObject
*resultobj
= 0;
45780 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
45781 wxFrame
*result
= 0 ;
45784 PyObject
*swig_obj
[1] ;
45786 if (!args
) SWIG_fail
;
45787 swig_obj
[0] = args
;
45788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
45789 if (!SWIG_IsOK(res1
)) {
45790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_GetFrame" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
45792 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
45794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45795 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
45796 wxPyEndAllowThreads(__tstate
);
45797 if (PyErr_Occurred()) SWIG_fail
;
45800 resultobj
= wxPyMake_wxObject(result
, (bool)0);
45808 SWIGINTERN PyObject
*_wrap_MenuBar_IsAttached(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45809 PyObject
*resultobj
= 0;
45810 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
45814 PyObject
*swig_obj
[1] ;
45816 if (!args
) SWIG_fail
;
45817 swig_obj
[0] = args
;
45818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
45819 if (!SWIG_IsOK(res1
)) {
45820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_IsAttached" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
45822 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
45824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45825 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
45826 wxPyEndAllowThreads(__tstate
);
45827 if (PyErr_Occurred()) SWIG_fail
;
45830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45838 SWIGINTERN PyObject
*_wrap_MenuBar_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45839 PyObject
*resultobj
= 0;
45840 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
45841 wxFrame
*arg2
= (wxFrame
*) 0 ;
45846 PyObject
* obj0
= 0 ;
45847 PyObject
* obj1
= 0 ;
45848 char * kwnames
[] = {
45849 (char *) "self",(char *) "frame", NULL
45852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
45854 if (!SWIG_IsOK(res1
)) {
45855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Attach" "', expected argument " "1"" of type '" "wxMenuBar *""'");
45857 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
45858 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
45859 if (!SWIG_IsOK(res2
)) {
45860 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuBar_Attach" "', expected argument " "2"" of type '" "wxFrame *""'");
45862 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
45864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45865 (arg1
)->Attach(arg2
);
45866 wxPyEndAllowThreads(__tstate
);
45867 if (PyErr_Occurred()) SWIG_fail
;
45869 resultobj
= SWIG_Py_Void();
45876 SWIGINTERN PyObject
*_wrap_MenuBar_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45877 PyObject
*resultobj
= 0;
45878 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
45881 PyObject
*swig_obj
[1] ;
45883 if (!args
) SWIG_fail
;
45884 swig_obj
[0] = args
;
45885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
45886 if (!SWIG_IsOK(res1
)) {
45887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Detach" "', expected argument " "1"" of type '" "wxMenuBar *""'");
45889 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
45891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45893 wxPyEndAllowThreads(__tstate
);
45894 if (PyErr_Occurred()) SWIG_fail
;
45896 resultobj
= SWIG_Py_Void();
45903 SWIGINTERN PyObject
*_wrap_MenuBar_UpdateMenus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45904 PyObject
*resultobj
= 0;
45905 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
45908 PyObject
*swig_obj
[1] ;
45910 if (!args
) SWIG_fail
;
45911 swig_obj
[0] = args
;
45912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
45913 if (!SWIG_IsOK(res1
)) {
45914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_UpdateMenus" "', expected argument " "1"" of type '" "wxMenuBar *""'");
45916 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
45918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45919 (arg1
)->UpdateMenus();
45920 wxPyEndAllowThreads(__tstate
);
45921 if (PyErr_Occurred()) SWIG_fail
;
45923 resultobj
= SWIG_Py_Void();
45930 SWIGINTERN PyObject
*_wrap_MenuBar_SetAutoWindowMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45931 PyObject
*resultobj
= 0;
45935 PyObject
* obj0
= 0 ;
45936 char * kwnames
[] = {
45937 (char *) "enable", NULL
45940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_SetAutoWindowMenu",kwnames
,&obj0
)) SWIG_fail
;
45941 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
45942 if (!SWIG_IsOK(ecode1
)) {
45943 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "MenuBar_SetAutoWindowMenu" "', expected argument " "1"" of type '" "bool""'");
45945 arg1
= static_cast< bool >(val1
);
45947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45948 wxMenuBar_SetAutoWindowMenu(arg1
);
45949 wxPyEndAllowThreads(__tstate
);
45950 if (PyErr_Occurred()) SWIG_fail
;
45952 resultobj
= SWIG_Py_Void();
45959 SWIGINTERN PyObject
*_wrap_MenuBar_GetAutoWindowMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45960 PyObject
*resultobj
= 0;
45963 if (!SWIG_Python_UnpackTuple(args
,"MenuBar_GetAutoWindowMenu",0,0,0)) SWIG_fail
;
45965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45966 result
= (bool)wxMenuBar_GetAutoWindowMenu();
45967 wxPyEndAllowThreads(__tstate
);
45968 if (PyErr_Occurred()) SWIG_fail
;
45971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45979 SWIGINTERN PyObject
*MenuBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45981 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45982 SWIG_TypeNewClientData(SWIGTYPE_p_wxMenuBar
, SWIG_NewClientData(obj
));
45983 return SWIG_Py_Void();
45986 SWIGINTERN PyObject
*MenuBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45987 return SWIG_Python_InitShadowInstance(args
);
45990 SWIGINTERN PyObject
*_wrap_new_MenuItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45991 PyObject
*resultobj
= 0;
45992 wxMenu
*arg1
= (wxMenu
*) NULL
;
45993 int arg2
= (int) wxID_SEPARATOR
;
45994 wxString
const &arg3_defvalue
= wxPyEmptyString
;
45995 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
45996 wxString
const &arg4_defvalue
= wxPyEmptyString
;
45997 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
45998 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
45999 wxMenu
*arg6
= (wxMenu
*) NULL
;
46000 wxMenuItem
*result
= 0 ;
46005 bool temp3
= false ;
46006 bool temp4
= false ;
46011 PyObject
* obj0
= 0 ;
46012 PyObject
* obj1
= 0 ;
46013 PyObject
* obj2
= 0 ;
46014 PyObject
* obj3
= 0 ;
46015 PyObject
* obj4
= 0 ;
46016 PyObject
* obj5
= 0 ;
46017 char * kwnames
[] = {
46018 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
46021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
46023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
46024 if (!SWIG_IsOK(res1
)) {
46025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MenuItem" "', expected argument " "1"" of type '" "wxMenu *""'");
46027 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
46030 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
46031 if (!SWIG_IsOK(ecode2
)) {
46032 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MenuItem" "', expected argument " "2"" of type '" "int""'");
46034 arg2
= static_cast< int >(val2
);
46038 arg3
= wxString_in_helper(obj2
);
46039 if (arg3
== NULL
) SWIG_fail
;
46045 arg4
= wxString_in_helper(obj3
);
46046 if (arg4
== NULL
) SWIG_fail
;
46051 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
46052 if (!SWIG_IsOK(ecode5
)) {
46053 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_MenuItem" "', expected argument " "5"" of type '" "wxItemKind""'");
46055 arg5
= static_cast< wxItemKind
>(val5
);
46058 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxMenu
, 0 | 0 );
46059 if (!SWIG_IsOK(res6
)) {
46060 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_MenuItem" "', expected argument " "6"" of type '" "wxMenu *""'");
46062 arg6
= reinterpret_cast< wxMenu
* >(argp6
);
46065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46066 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
46067 wxPyEndAllowThreads(__tstate
);
46068 if (PyErr_Occurred()) SWIG_fail
;
46070 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_NEW
| 0 );
46093 SWIGINTERN PyObject
*_wrap_delete_MenuItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46094 PyObject
*resultobj
= 0;
46095 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46098 PyObject
*swig_obj
[1] ;
46100 if (!args
) SWIG_fail
;
46101 swig_obj
[0] = args
;
46102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_DISOWN
| 0 );
46103 if (!SWIG_IsOK(res1
)) {
46104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MenuItem" "', expected argument " "1"" of type '" "wxMenuItem *""'");
46106 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46111 wxPyEndAllowThreads(__tstate
);
46112 if (PyErr_Occurred()) SWIG_fail
;
46114 resultobj
= SWIG_Py_Void();
46121 SWIGINTERN PyObject
*_wrap_MenuItem_GetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46122 PyObject
*resultobj
= 0;
46123 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46124 wxMenu
*result
= 0 ;
46127 PyObject
*swig_obj
[1] ;
46129 if (!args
) SWIG_fail
;
46130 swig_obj
[0] = args
;
46131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46132 if (!SWIG_IsOK(res1
)) {
46133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetMenu" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
46135 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46138 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
46139 wxPyEndAllowThreads(__tstate
);
46140 if (PyErr_Occurred()) SWIG_fail
;
46143 resultobj
= wxPyMake_wxObject(result
, 0);
46151 SWIGINTERN PyObject
*_wrap_MenuItem_SetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46152 PyObject
*resultobj
= 0;
46153 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46154 wxMenu
*arg2
= (wxMenu
*) 0 ;
46159 PyObject
* obj0
= 0 ;
46160 PyObject
* obj1
= 0 ;
46161 char * kwnames
[] = {
46162 (char *) "self",(char *) "menu", NULL
46165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46167 if (!SWIG_IsOK(res1
)) {
46168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetMenu" "', expected argument " "1"" of type '" "wxMenuItem *""'");
46170 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46171 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
46172 if (!SWIG_IsOK(res2
)) {
46173 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
46175 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
46177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46178 (arg1
)->SetMenu(arg2
);
46179 wxPyEndAllowThreads(__tstate
);
46180 if (PyErr_Occurred()) SWIG_fail
;
46182 resultobj
= SWIG_Py_Void();
46189 SWIGINTERN PyObject
*_wrap_MenuItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46190 PyObject
*resultobj
= 0;
46191 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46197 PyObject
* obj0
= 0 ;
46198 PyObject
* obj1
= 0 ;
46199 char * kwnames
[] = {
46200 (char *) "self",(char *) "id", NULL
46203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46205 if (!SWIG_IsOK(res1
)) {
46206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetId" "', expected argument " "1"" of type '" "wxMenuItem *""'");
46208 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46209 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
46210 if (!SWIG_IsOK(ecode2
)) {
46211 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_SetId" "', expected argument " "2"" of type '" "int""'");
46213 arg2
= static_cast< int >(val2
);
46215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46216 (arg1
)->SetId(arg2
);
46217 wxPyEndAllowThreads(__tstate
);
46218 if (PyErr_Occurred()) SWIG_fail
;
46220 resultobj
= SWIG_Py_Void();
46227 SWIGINTERN PyObject
*_wrap_MenuItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46228 PyObject
*resultobj
= 0;
46229 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46233 PyObject
*swig_obj
[1] ;
46235 if (!args
) SWIG_fail
;
46236 swig_obj
[0] = args
;
46237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46238 if (!SWIG_IsOK(res1
)) {
46239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetId" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
46241 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46244 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
46245 wxPyEndAllowThreads(__tstate
);
46246 if (PyErr_Occurred()) SWIG_fail
;
46248 resultobj
= SWIG_From_int(static_cast< int >(result
));
46255 SWIGINTERN PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46256 PyObject
*resultobj
= 0;
46257 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46261 PyObject
*swig_obj
[1] ;
46263 if (!args
) SWIG_fail
;
46264 swig_obj
[0] = args
;
46265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46266 if (!SWIG_IsOK(res1
)) {
46267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_IsSeparator" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
46269 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46272 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
46273 wxPyEndAllowThreads(__tstate
);
46274 if (PyErr_Occurred()) SWIG_fail
;
46277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46285 SWIGINTERN PyObject
*_wrap_MenuItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46286 PyObject
*resultobj
= 0;
46287 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46288 wxString
*arg2
= 0 ;
46291 bool temp2
= false ;
46292 PyObject
* obj0
= 0 ;
46293 PyObject
* obj1
= 0 ;
46294 char * kwnames
[] = {
46295 (char *) "self",(char *) "str", NULL
46298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46300 if (!SWIG_IsOK(res1
)) {
46301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetText" "', expected argument " "1"" of type '" "wxMenuItem *""'");
46303 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46305 arg2
= wxString_in_helper(obj1
);
46306 if (arg2
== NULL
) SWIG_fail
;
46310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46311 (arg1
)->SetText((wxString
const &)*arg2
);
46312 wxPyEndAllowThreads(__tstate
);
46313 if (PyErr_Occurred()) SWIG_fail
;
46315 resultobj
= SWIG_Py_Void();
46330 SWIGINTERN PyObject
*_wrap_MenuItem_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46331 PyObject
*resultobj
= 0;
46332 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46336 PyObject
*swig_obj
[1] ;
46338 if (!args
) SWIG_fail
;
46339 swig_obj
[0] = args
;
46340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46341 if (!SWIG_IsOK(res1
)) {
46342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetLabel" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
46344 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46347 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
46348 wxPyEndAllowThreads(__tstate
);
46349 if (PyErr_Occurred()) SWIG_fail
;
46353 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
46355 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
46364 SWIGINTERN PyObject
*_wrap_MenuItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46365 PyObject
*resultobj
= 0;
46366 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46367 wxString
*result
= 0 ;
46370 PyObject
*swig_obj
[1] ;
46372 if (!args
) SWIG_fail
;
46373 swig_obj
[0] = args
;
46374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46375 if (!SWIG_IsOK(res1
)) {
46376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetText" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
46378 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46382 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
46383 result
= (wxString
*) &_result_ref
;
46385 wxPyEndAllowThreads(__tstate
);
46386 if (PyErr_Occurred()) SWIG_fail
;
46390 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
46392 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
46401 SWIGINTERN PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46402 PyObject
*resultobj
= 0;
46403 wxString
*arg1
= 0 ;
46405 bool temp1
= false ;
46406 PyObject
* obj0
= 0 ;
46407 char * kwnames
[] = {
46408 (char *) "text", NULL
46411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) SWIG_fail
;
46413 arg1
= wxString_in_helper(obj0
);
46414 if (arg1
== NULL
) SWIG_fail
;
46418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46419 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
46420 wxPyEndAllowThreads(__tstate
);
46421 if (PyErr_Occurred()) SWIG_fail
;
46425 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
46427 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
46444 SWIGINTERN PyObject
*_wrap_MenuItem_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46445 PyObject
*resultobj
= 0;
46446 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46450 PyObject
*swig_obj
[1] ;
46452 if (!args
) SWIG_fail
;
46453 swig_obj
[0] = args
;
46454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46455 if (!SWIG_IsOK(res1
)) {
46456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetKind" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
46458 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46461 result
= (wxItemKind
)((wxMenuItem
const *)arg1
)->GetKind();
46462 wxPyEndAllowThreads(__tstate
);
46463 if (PyErr_Occurred()) SWIG_fail
;
46465 resultobj
= SWIG_From_int(static_cast< int >(result
));
46472 SWIGINTERN PyObject
*_wrap_MenuItem_SetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46473 PyObject
*resultobj
= 0;
46474 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46480 PyObject
* obj0
= 0 ;
46481 PyObject
* obj1
= 0 ;
46482 char * kwnames
[] = {
46483 (char *) "self",(char *) "kind", NULL
46486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46488 if (!SWIG_IsOK(res1
)) {
46489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetKind" "', expected argument " "1"" of type '" "wxMenuItem *""'");
46491 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46492 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
46493 if (!SWIG_IsOK(ecode2
)) {
46494 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_SetKind" "', expected argument " "2"" of type '" "wxItemKind""'");
46496 arg2
= static_cast< wxItemKind
>(val2
);
46498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46499 (arg1
)->SetKind(arg2
);
46500 wxPyEndAllowThreads(__tstate
);
46501 if (PyErr_Occurred()) SWIG_fail
;
46503 resultobj
= SWIG_Py_Void();
46510 SWIGINTERN PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46511 PyObject
*resultobj
= 0;
46512 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46518 PyObject
* obj0
= 0 ;
46519 PyObject
* obj1
= 0 ;
46520 char * kwnames
[] = {
46521 (char *) "self",(char *) "checkable", NULL
46524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46526 if (!SWIG_IsOK(res1
)) {
46527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetCheckable" "', expected argument " "1"" of type '" "wxMenuItem *""'");
46529 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46530 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46531 if (!SWIG_IsOK(ecode2
)) {
46532 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_SetCheckable" "', expected argument " "2"" of type '" "bool""'");
46534 arg2
= static_cast< bool >(val2
);
46536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46537 (arg1
)->SetCheckable(arg2
);
46538 wxPyEndAllowThreads(__tstate
);
46539 if (PyErr_Occurred()) SWIG_fail
;
46541 resultobj
= SWIG_Py_Void();
46548 SWIGINTERN PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46549 PyObject
*resultobj
= 0;
46550 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46554 PyObject
*swig_obj
[1] ;
46556 if (!args
) SWIG_fail
;
46557 swig_obj
[0] = args
;
46558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46559 if (!SWIG_IsOK(res1
)) {
46560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_IsCheckable" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
46562 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46565 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
46566 wxPyEndAllowThreads(__tstate
);
46567 if (PyErr_Occurred()) SWIG_fail
;
46570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46578 SWIGINTERN PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46579 PyObject
*resultobj
= 0;
46580 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46584 PyObject
*swig_obj
[1] ;
46586 if (!args
) SWIG_fail
;
46587 swig_obj
[0] = args
;
46588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46589 if (!SWIG_IsOK(res1
)) {
46590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_IsSubMenu" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
46592 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46595 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
46596 wxPyEndAllowThreads(__tstate
);
46597 if (PyErr_Occurred()) SWIG_fail
;
46600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46608 SWIGINTERN PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46609 PyObject
*resultobj
= 0;
46610 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46611 wxMenu
*arg2
= (wxMenu
*) 0 ;
46616 PyObject
* obj0
= 0 ;
46617 PyObject
* obj1
= 0 ;
46618 char * kwnames
[] = {
46619 (char *) "self",(char *) "menu", NULL
46622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46624 if (!SWIG_IsOK(res1
)) {
46625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetSubMenu" "', expected argument " "1"" of type '" "wxMenuItem *""'");
46627 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46628 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
46629 if (!SWIG_IsOK(res2
)) {
46630 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetSubMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
46632 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
46634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46635 (arg1
)->SetSubMenu(arg2
);
46636 wxPyEndAllowThreads(__tstate
);
46637 if (PyErr_Occurred()) SWIG_fail
;
46639 resultobj
= SWIG_Py_Void();
46646 SWIGINTERN PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46647 PyObject
*resultobj
= 0;
46648 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46649 wxMenu
*result
= 0 ;
46652 PyObject
*swig_obj
[1] ;
46654 if (!args
) SWIG_fail
;
46655 swig_obj
[0] = args
;
46656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46657 if (!SWIG_IsOK(res1
)) {
46658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetSubMenu" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
46660 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46663 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
46664 wxPyEndAllowThreads(__tstate
);
46665 if (PyErr_Occurred()) SWIG_fail
;
46668 resultobj
= wxPyMake_wxObject(result
, 0);
46676 SWIGINTERN PyObject
*_wrap_MenuItem_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46677 PyObject
*resultobj
= 0;
46678 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46679 bool arg2
= (bool) true ;
46684 PyObject
* obj0
= 0 ;
46685 PyObject
* obj1
= 0 ;
46686 char * kwnames
[] = {
46687 (char *) "self",(char *) "enable", NULL
46690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46692 if (!SWIG_IsOK(res1
)) {
46693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_Enable" "', expected argument " "1"" of type '" "wxMenuItem *""'");
46695 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46697 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46698 if (!SWIG_IsOK(ecode2
)) {
46699 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_Enable" "', expected argument " "2"" of type '" "bool""'");
46701 arg2
= static_cast< bool >(val2
);
46704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46705 (arg1
)->Enable(arg2
);
46706 wxPyEndAllowThreads(__tstate
);
46707 if (PyErr_Occurred()) SWIG_fail
;
46709 resultobj
= SWIG_Py_Void();
46716 SWIGINTERN PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46717 PyObject
*resultobj
= 0;
46718 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46722 PyObject
*swig_obj
[1] ;
46724 if (!args
) SWIG_fail
;
46725 swig_obj
[0] = args
;
46726 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46727 if (!SWIG_IsOK(res1
)) {
46728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_IsEnabled" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
46730 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46733 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
46734 wxPyEndAllowThreads(__tstate
);
46735 if (PyErr_Occurred()) SWIG_fail
;
46738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46746 SWIGINTERN PyObject
*_wrap_MenuItem_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46747 PyObject
*resultobj
= 0;
46748 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46749 bool arg2
= (bool) true ;
46754 PyObject
* obj0
= 0 ;
46755 PyObject
* obj1
= 0 ;
46756 char * kwnames
[] = {
46757 (char *) "self",(char *) "check", NULL
46760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",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_Check" "', expected argument " "1"" of type '" "wxMenuItem *""'");
46765 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46767 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46768 if (!SWIG_IsOK(ecode2
)) {
46769 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_Check" "', expected argument " "2"" of type '" "bool""'");
46771 arg2
= static_cast< bool >(val2
);
46774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46775 (arg1
)->Check(arg2
);
46776 wxPyEndAllowThreads(__tstate
);
46777 if (PyErr_Occurred()) SWIG_fail
;
46779 resultobj
= SWIG_Py_Void();
46786 SWIGINTERN PyObject
*_wrap_MenuItem_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46787 PyObject
*resultobj
= 0;
46788 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46792 PyObject
*swig_obj
[1] ;
46794 if (!args
) SWIG_fail
;
46795 swig_obj
[0] = args
;
46796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46797 if (!SWIG_IsOK(res1
)) {
46798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_IsChecked" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
46800 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46803 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
46804 wxPyEndAllowThreads(__tstate
);
46805 if (PyErr_Occurred()) SWIG_fail
;
46808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46816 SWIGINTERN PyObject
*_wrap_MenuItem_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46817 PyObject
*resultobj
= 0;
46818 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46821 PyObject
*swig_obj
[1] ;
46823 if (!args
) SWIG_fail
;
46824 swig_obj
[0] = args
;
46825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46826 if (!SWIG_IsOK(res1
)) {
46827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_Toggle" "', expected argument " "1"" of type '" "wxMenuItem *""'");
46829 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46833 wxPyEndAllowThreads(__tstate
);
46834 if (PyErr_Occurred()) SWIG_fail
;
46836 resultobj
= SWIG_Py_Void();
46843 SWIGINTERN PyObject
*_wrap_MenuItem_SetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46844 PyObject
*resultobj
= 0;
46845 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46846 wxString
*arg2
= 0 ;
46849 bool temp2
= false ;
46850 PyObject
* obj0
= 0 ;
46851 PyObject
* obj1
= 0 ;
46852 char * kwnames
[] = {
46853 (char *) "self",(char *) "str", NULL
46856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46858 if (!SWIG_IsOK(res1
)) {
46859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetHelp" "', expected argument " "1"" of type '" "wxMenuItem *""'");
46861 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46863 arg2
= wxString_in_helper(obj1
);
46864 if (arg2
== NULL
) SWIG_fail
;
46868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46869 (arg1
)->SetHelp((wxString
const &)*arg2
);
46870 wxPyEndAllowThreads(__tstate
);
46871 if (PyErr_Occurred()) SWIG_fail
;
46873 resultobj
= SWIG_Py_Void();
46888 SWIGINTERN PyObject
*_wrap_MenuItem_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46889 PyObject
*resultobj
= 0;
46890 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46891 wxString
*result
= 0 ;
46894 PyObject
*swig_obj
[1] ;
46896 if (!args
) SWIG_fail
;
46897 swig_obj
[0] = args
;
46898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46899 if (!SWIG_IsOK(res1
)) {
46900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetHelp" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
46902 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46906 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
46907 result
= (wxString
*) &_result_ref
;
46909 wxPyEndAllowThreads(__tstate
);
46910 if (PyErr_Occurred()) SWIG_fail
;
46914 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
46916 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
46925 SWIGINTERN PyObject
*_wrap_MenuItem_GetAccel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46926 PyObject
*resultobj
= 0;
46927 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46928 wxAcceleratorEntry
*result
= 0 ;
46931 PyObject
*swig_obj
[1] ;
46933 if (!args
) SWIG_fail
;
46934 swig_obj
[0] = args
;
46935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46936 if (!SWIG_IsOK(res1
)) {
46937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetAccel" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
46939 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46942 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
46943 wxPyEndAllowThreads(__tstate
);
46944 if (PyErr_Occurred()) SWIG_fail
;
46946 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
46953 SWIGINTERN PyObject
*_wrap_MenuItem_SetAccel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46954 PyObject
*resultobj
= 0;
46955 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46956 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
46961 PyObject
* obj0
= 0 ;
46962 PyObject
* obj1
= 0 ;
46963 char * kwnames
[] = {
46964 (char *) "self",(char *) "accel", NULL
46967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46969 if (!SWIG_IsOK(res1
)) {
46970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetAccel" "', expected argument " "1"" of type '" "wxMenuItem *""'");
46972 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46973 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
46974 if (!SWIG_IsOK(res2
)) {
46975 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetAccel" "', expected argument " "2"" of type '" "wxAcceleratorEntry *""'");
46977 arg2
= reinterpret_cast< wxAcceleratorEntry
* >(argp2
);
46979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46980 (arg1
)->SetAccel(arg2
);
46981 wxPyEndAllowThreads(__tstate
);
46982 if (PyErr_Occurred()) SWIG_fail
;
46984 resultobj
= SWIG_Py_Void();
46991 SWIGINTERN PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46992 PyObject
*resultobj
= 0;
46993 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46994 wxBitmap
*arg2
= 0 ;
46999 PyObject
* obj0
= 0 ;
47000 PyObject
* obj1
= 0 ;
47001 char * kwnames
[] = {
47002 (char *) "self",(char *) "bitmap", NULL
47005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
47007 if (!SWIG_IsOK(res1
)) {
47008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetBitmap" "', expected argument " "1"" of type '" "wxMenuItem *""'");
47010 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
47011 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
47012 if (!SWIG_IsOK(res2
)) {
47013 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
47016 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MenuItem_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
47018 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
47020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47021 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
47022 wxPyEndAllowThreads(__tstate
);
47023 if (PyErr_Occurred()) SWIG_fail
;
47025 resultobj
= SWIG_Py_Void();
47032 SWIGINTERN PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47033 PyObject
*resultobj
= 0;
47034 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
47035 wxBitmap
*result
= 0 ;
47038 PyObject
*swig_obj
[1] ;
47040 if (!args
) SWIG_fail
;
47041 swig_obj
[0] = args
;
47042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
47043 if (!SWIG_IsOK(res1
)) {
47044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetBitmap" "', expected argument " "1"" of type '" "wxMenuItem *""'");
47046 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
47048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47050 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
47051 result
= (wxBitmap
*) &_result_ref
;
47053 wxPyEndAllowThreads(__tstate
);
47054 if (PyErr_Occurred()) SWIG_fail
;
47057 wxBitmap
* resultptr
= new wxBitmap(*result
);
47058 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
47066 SWIGINTERN PyObject
*_wrap_MenuItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47067 PyObject
*resultobj
= 0;
47068 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
47074 PyObject
* obj0
= 0 ;
47075 PyObject
* obj1
= 0 ;
47076 char * kwnames
[] = {
47077 (char *) "self",(char *) "font", NULL
47080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
47082 if (!SWIG_IsOK(res1
)) {
47083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetFont" "', expected argument " "1"" of type '" "wxMenuItem *""'");
47085 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
47086 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
47087 if (!SWIG_IsOK(res2
)) {
47088 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
47091 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MenuItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
47093 arg2
= reinterpret_cast< wxFont
* >(argp2
);
47095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47096 wxMenuItem_SetFont(arg1
,(wxFont
const &)*arg2
);
47097 wxPyEndAllowThreads(__tstate
);
47098 if (PyErr_Occurred()) SWIG_fail
;
47100 resultobj
= SWIG_Py_Void();
47107 SWIGINTERN PyObject
*_wrap_MenuItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47108 PyObject
*resultobj
= 0;
47109 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
47113 PyObject
*swig_obj
[1] ;
47115 if (!args
) SWIG_fail
;
47116 swig_obj
[0] = args
;
47117 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
47118 if (!SWIG_IsOK(res1
)) {
47119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetFont" "', expected argument " "1"" of type '" "wxMenuItem *""'");
47121 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
47123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47124 result
= wxMenuItem_GetFont(arg1
);
47125 wxPyEndAllowThreads(__tstate
);
47126 if (PyErr_Occurred()) SWIG_fail
;
47128 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
47135 SWIGINTERN PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47136 PyObject
*resultobj
= 0;
47137 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
47138 wxColour
*arg2
= 0 ;
47142 PyObject
* obj0
= 0 ;
47143 PyObject
* obj1
= 0 ;
47144 char * kwnames
[] = {
47145 (char *) "self",(char *) "colText", NULL
47148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
47150 if (!SWIG_IsOK(res1
)) {
47151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetTextColour" "', expected argument " "1"" of type '" "wxMenuItem *""'");
47153 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
47156 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
47159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47160 wxMenuItem_SetTextColour(arg1
,(wxColour
const &)*arg2
);
47161 wxPyEndAllowThreads(__tstate
);
47162 if (PyErr_Occurred()) SWIG_fail
;
47164 resultobj
= SWIG_Py_Void();
47171 SWIGINTERN PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47172 PyObject
*resultobj
= 0;
47173 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
47177 PyObject
*swig_obj
[1] ;
47179 if (!args
) SWIG_fail
;
47180 swig_obj
[0] = args
;
47181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
47182 if (!SWIG_IsOK(res1
)) {
47183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetTextColour" "', expected argument " "1"" of type '" "wxMenuItem *""'");
47185 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
47187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47188 result
= wxMenuItem_GetTextColour(arg1
);
47189 wxPyEndAllowThreads(__tstate
);
47190 if (PyErr_Occurred()) SWIG_fail
;
47192 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
47199 SWIGINTERN PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47200 PyObject
*resultobj
= 0;
47201 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
47202 wxColour
*arg2
= 0 ;
47206 PyObject
* obj0
= 0 ;
47207 PyObject
* obj1
= 0 ;
47208 char * kwnames
[] = {
47209 (char *) "self",(char *) "colBack", NULL
47212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
47214 if (!SWIG_IsOK(res1
)) {
47215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxMenuItem *""'");
47217 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
47220 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
47223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47224 wxMenuItem_SetBackgroundColour(arg1
,(wxColour
const &)*arg2
);
47225 wxPyEndAllowThreads(__tstate
);
47226 if (PyErr_Occurred()) SWIG_fail
;
47228 resultobj
= SWIG_Py_Void();
47235 SWIGINTERN PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47236 PyObject
*resultobj
= 0;
47237 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
47241 PyObject
*swig_obj
[1] ;
47243 if (!args
) SWIG_fail
;
47244 swig_obj
[0] = args
;
47245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
47246 if (!SWIG_IsOK(res1
)) {
47247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxMenuItem *""'");
47249 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
47251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47252 result
= wxMenuItem_GetBackgroundColour(arg1
);
47253 wxPyEndAllowThreads(__tstate
);
47254 if (PyErr_Occurred()) SWIG_fail
;
47256 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
47263 SWIGINTERN PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47264 PyObject
*resultobj
= 0;
47265 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
47266 wxBitmap
*arg2
= 0 ;
47267 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
47268 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
47275 PyObject
* obj0
= 0 ;
47276 PyObject
* obj1
= 0 ;
47277 PyObject
* obj2
= 0 ;
47278 char * kwnames
[] = {
47279 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
47282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
47283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
47284 if (!SWIG_IsOK(res1
)) {
47285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetBitmaps" "', expected argument " "1"" of type '" "wxMenuItem *""'");
47287 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
47288 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
47289 if (!SWIG_IsOK(res2
)) {
47290 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetBitmaps" "', expected argument " "2"" of type '" "wxBitmap const &""'");
47293 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MenuItem_SetBitmaps" "', expected argument " "2"" of type '" "wxBitmap const &""'");
47295 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
47297 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
47298 if (!SWIG_IsOK(res3
)) {
47299 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "MenuItem_SetBitmaps" "', expected argument " "3"" of type '" "wxBitmap const &""'");
47302 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MenuItem_SetBitmaps" "', expected argument " "3"" of type '" "wxBitmap const &""'");
47304 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
47307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47308 wxMenuItem_SetBitmaps(arg1
,(wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
47309 wxPyEndAllowThreads(__tstate
);
47310 if (PyErr_Occurred()) SWIG_fail
;
47312 resultobj
= SWIG_Py_Void();
47319 SWIGINTERN PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47320 PyObject
*resultobj
= 0;
47321 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
47322 wxBitmap
*arg2
= 0 ;
47327 PyObject
* obj0
= 0 ;
47328 PyObject
* obj1
= 0 ;
47329 char * kwnames
[] = {
47330 (char *) "self",(char *) "bmpDisabled", NULL
47333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
47335 if (!SWIG_IsOK(res1
)) {
47336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxMenuItem *""'");
47338 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
47339 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
47340 if (!SWIG_IsOK(res2
)) {
47341 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
47344 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MenuItem_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
47346 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
47348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47349 wxMenuItem_SetDisabledBitmap(arg1
,(wxBitmap
const &)*arg2
);
47350 wxPyEndAllowThreads(__tstate
);
47351 if (PyErr_Occurred()) SWIG_fail
;
47353 resultobj
= SWIG_Py_Void();
47360 SWIGINTERN PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47361 PyObject
*resultobj
= 0;
47362 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
47363 wxBitmap
*result
= 0 ;
47366 PyObject
*swig_obj
[1] ;
47368 if (!args
) SWIG_fail
;
47369 swig_obj
[0] = args
;
47370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
47371 if (!SWIG_IsOK(res1
)) {
47372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
47374 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
47376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47378 wxBitmap
const &_result_ref
= wxMenuItem_GetDisabledBitmap((wxMenuItem
const *)arg1
);
47379 result
= (wxBitmap
*) &_result_ref
;
47381 wxPyEndAllowThreads(__tstate
);
47382 if (PyErr_Occurred()) SWIG_fail
;
47385 wxBitmap
* resultptr
= new wxBitmap(*result
);
47386 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
47394 SWIGINTERN PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47395 PyObject
*resultobj
= 0;
47396 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
47402 PyObject
* obj0
= 0 ;
47403 PyObject
* obj1
= 0 ;
47404 char * kwnames
[] = {
47405 (char *) "self",(char *) "nWidth", NULL
47408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
47410 if (!SWIG_IsOK(res1
)) {
47411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetMarginWidth" "', expected argument " "1"" of type '" "wxMenuItem *""'");
47413 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
47414 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47415 if (!SWIG_IsOK(ecode2
)) {
47416 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_SetMarginWidth" "', expected argument " "2"" of type '" "int""'");
47418 arg2
= static_cast< int >(val2
);
47420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47421 wxMenuItem_SetMarginWidth(arg1
,arg2
);
47422 wxPyEndAllowThreads(__tstate
);
47423 if (PyErr_Occurred()) SWIG_fail
;
47425 resultobj
= SWIG_Py_Void();
47432 SWIGINTERN PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47433 PyObject
*resultobj
= 0;
47434 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
47438 PyObject
*swig_obj
[1] ;
47440 if (!args
) SWIG_fail
;
47441 swig_obj
[0] = args
;
47442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
47443 if (!SWIG_IsOK(res1
)) {
47444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetMarginWidth" "', expected argument " "1"" of type '" "wxMenuItem *""'");
47446 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
47448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47449 result
= (int)wxMenuItem_GetMarginWidth(arg1
);
47450 wxPyEndAllowThreads(__tstate
);
47451 if (PyErr_Occurred()) SWIG_fail
;
47453 resultobj
= SWIG_From_int(static_cast< int >(result
));
47460 SWIGINTERN PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47461 PyObject
*resultobj
= 0;
47464 if (!SWIG_Python_UnpackTuple(args
,"MenuItem_GetDefaultMarginWidth",0,0,0)) SWIG_fail
;
47466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47467 result
= (int)wxMenuItem_GetDefaultMarginWidth();
47468 wxPyEndAllowThreads(__tstate
);
47469 if (PyErr_Occurred()) SWIG_fail
;
47471 resultobj
= SWIG_From_int(static_cast< int >(result
));
47478 SWIGINTERN PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47479 PyObject
*resultobj
= 0;
47480 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
47484 PyObject
*swig_obj
[1] ;
47486 if (!args
) SWIG_fail
;
47487 swig_obj
[0] = args
;
47488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
47489 if (!SWIG_IsOK(res1
)) {
47490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_IsOwnerDrawn" "', expected argument " "1"" of type '" "wxMenuItem *""'");
47492 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
47494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47495 result
= (bool)wxMenuItem_IsOwnerDrawn(arg1
);
47496 wxPyEndAllowThreads(__tstate
);
47497 if (PyErr_Occurred()) SWIG_fail
;
47500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
47508 SWIGINTERN PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47509 PyObject
*resultobj
= 0;
47510 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
47511 bool arg2
= (bool) true ;
47516 PyObject
* obj0
= 0 ;
47517 PyObject
* obj1
= 0 ;
47518 char * kwnames
[] = {
47519 (char *) "self",(char *) "ownerDrawn", NULL
47522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
47524 if (!SWIG_IsOK(res1
)) {
47525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetOwnerDrawn" "', expected argument " "1"" of type '" "wxMenuItem *""'");
47527 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
47529 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
47530 if (!SWIG_IsOK(ecode2
)) {
47531 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_SetOwnerDrawn" "', expected argument " "2"" of type '" "bool""'");
47533 arg2
= static_cast< bool >(val2
);
47536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47537 wxMenuItem_SetOwnerDrawn(arg1
,arg2
);
47538 wxPyEndAllowThreads(__tstate
);
47539 if (PyErr_Occurred()) SWIG_fail
;
47541 resultobj
= SWIG_Py_Void();
47548 SWIGINTERN PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47549 PyObject
*resultobj
= 0;
47550 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
47553 PyObject
*swig_obj
[1] ;
47555 if (!args
) SWIG_fail
;
47556 swig_obj
[0] = args
;
47557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
47558 if (!SWIG_IsOK(res1
)) {
47559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_ResetOwnerDrawn" "', expected argument " "1"" of type '" "wxMenuItem *""'");
47561 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
47563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47564 wxMenuItem_ResetOwnerDrawn(arg1
);
47565 wxPyEndAllowThreads(__tstate
);
47566 if (PyErr_Occurred()) SWIG_fail
;
47568 resultobj
= SWIG_Py_Void();
47575 SWIGINTERN PyObject
*MenuItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47577 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
47578 SWIG_TypeNewClientData(SWIGTYPE_p_wxMenuItem
, SWIG_NewClientData(obj
));
47579 return SWIG_Py_Void();
47582 SWIGINTERN PyObject
*MenuItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47583 return SWIG_Python_InitShadowInstance(args
);
47586 SWIGINTERN
int ControlNameStr_set(PyObject
*) {
47587 SWIG_Error(SWIG_AttributeError
,"Variable ControlNameStr is read-only.");
47592 SWIGINTERN PyObject
*ControlNameStr_get(void) {
47593 PyObject
*pyobj
= 0;
47597 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
47599 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
47606 SWIGINTERN PyObject
*_wrap_new_Control(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47607 PyObject
*resultobj
= 0;
47608 wxWindow
*arg1
= (wxWindow
*) 0 ;
47609 int arg2
= (int) -1 ;
47610 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
47611 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
47612 wxSize
const &arg4_defvalue
= wxDefaultSize
;
47613 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
47614 long arg5
= (long) 0 ;
47615 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
47616 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
47617 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
47618 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
47619 wxControl
*result
= 0 ;
47630 bool temp7
= false ;
47631 PyObject
* obj0
= 0 ;
47632 PyObject
* obj1
= 0 ;
47633 PyObject
* obj2
= 0 ;
47634 PyObject
* obj3
= 0 ;
47635 PyObject
* obj4
= 0 ;
47636 PyObject
* obj5
= 0 ;
47637 PyObject
* obj6
= 0 ;
47638 char * kwnames
[] = {
47639 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
47642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
47643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
47644 if (!SWIG_IsOK(res1
)) {
47645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Control" "', expected argument " "1"" of type '" "wxWindow *""'");
47647 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
47649 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47650 if (!SWIG_IsOK(ecode2
)) {
47651 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Control" "', expected argument " "2"" of type '" "int""'");
47653 arg2
= static_cast< int >(val2
);
47658 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
47664 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
47668 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
47669 if (!SWIG_IsOK(ecode5
)) {
47670 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Control" "', expected argument " "5"" of type '" "long""'");
47672 arg5
= static_cast< long >(val5
);
47675 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
47676 if (!SWIG_IsOK(res6
)) {
47677 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_Control" "', expected argument " "6"" of type '" "wxValidator const &""'");
47680 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Control" "', expected argument " "6"" of type '" "wxValidator const &""'");
47682 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
47686 arg7
= wxString_in_helper(obj6
);
47687 if (arg7
== NULL
) SWIG_fail
;
47692 if (!wxPyCheckForApp()) SWIG_fail
;
47693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47694 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
47695 wxPyEndAllowThreads(__tstate
);
47696 if (PyErr_Occurred()) SWIG_fail
;
47698 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxControl
, SWIG_POINTER_NEW
| 0 );
47713 SWIGINTERN PyObject
*_wrap_new_PreControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47714 PyObject
*resultobj
= 0;
47715 wxControl
*result
= 0 ;
47717 if (!SWIG_Python_UnpackTuple(args
,"new_PreControl",0,0,0)) SWIG_fail
;
47719 if (!wxPyCheckForApp()) SWIG_fail
;
47720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47721 result
= (wxControl
*)new wxControl();
47722 wxPyEndAllowThreads(__tstate
);
47723 if (PyErr_Occurred()) SWIG_fail
;
47725 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxControl
, SWIG_POINTER_OWN
| 0 );
47732 SWIGINTERN PyObject
*_wrap_Control_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47733 PyObject
*resultobj
= 0;
47734 wxControl
*arg1
= (wxControl
*) 0 ;
47735 wxWindow
*arg2
= (wxWindow
*) 0 ;
47736 int arg3
= (int) -1 ;
47737 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
47738 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
47739 wxSize
const &arg5_defvalue
= wxDefaultSize
;
47740 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
47741 long arg6
= (long) 0 ;
47742 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
47743 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
47744 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
47745 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
47759 bool temp8
= false ;
47760 PyObject
* obj0
= 0 ;
47761 PyObject
* obj1
= 0 ;
47762 PyObject
* obj2
= 0 ;
47763 PyObject
* obj3
= 0 ;
47764 PyObject
* obj4
= 0 ;
47765 PyObject
* obj5
= 0 ;
47766 PyObject
* obj6
= 0 ;
47767 PyObject
* obj7
= 0 ;
47768 char * kwnames
[] = {
47769 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
47772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
47773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxControl
, 0 | 0 );
47774 if (!SWIG_IsOK(res1
)) {
47775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Control_Create" "', expected argument " "1"" of type '" "wxControl *""'");
47777 arg1
= reinterpret_cast< wxControl
* >(argp1
);
47778 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
47779 if (!SWIG_IsOK(res2
)) {
47780 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Control_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
47782 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
47784 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
47785 if (!SWIG_IsOK(ecode3
)) {
47786 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Control_Create" "', expected argument " "3"" of type '" "int""'");
47788 arg3
= static_cast< int >(val3
);
47793 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
47799 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
47803 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
47804 if (!SWIG_IsOK(ecode6
)) {
47805 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Control_Create" "', expected argument " "6"" of type '" "long""'");
47807 arg6
= static_cast< long >(val6
);
47810 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
47811 if (!SWIG_IsOK(res7
)) {
47812 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "Control_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
47815 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Control_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
47817 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
47821 arg8
= wxString_in_helper(obj7
);
47822 if (arg8
== NULL
) SWIG_fail
;
47827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47828 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
47829 wxPyEndAllowThreads(__tstate
);
47830 if (PyErr_Occurred()) SWIG_fail
;
47833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
47849 SWIGINTERN PyObject
*_wrap_Control_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47850 PyObject
*resultobj
= 0;
47851 wxControl
*arg1
= (wxControl
*) 0 ;
47855 PyObject
*swig_obj
[1] ;
47857 if (!args
) SWIG_fail
;
47858 swig_obj
[0] = args
;
47859 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxControl
, 0 | 0 );
47860 if (!SWIG_IsOK(res1
)) {
47861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Control_GetAlignment" "', expected argument " "1"" of type '" "wxControl const *""'");
47863 arg1
= reinterpret_cast< wxControl
* >(argp1
);
47865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47866 result
= (int)((wxControl
const *)arg1
)->GetAlignment();
47867 wxPyEndAllowThreads(__tstate
);
47868 if (PyErr_Occurred()) SWIG_fail
;
47870 resultobj
= SWIG_From_int(static_cast< int >(result
));
47877 SWIGINTERN PyObject
*_wrap_Control_GetLabelText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47878 PyObject
*resultobj
= 0;
47879 wxControl
*arg1
= (wxControl
*) 0 ;
47883 PyObject
*swig_obj
[1] ;
47885 if (!args
) SWIG_fail
;
47886 swig_obj
[0] = args
;
47887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxControl
, 0 | 0 );
47888 if (!SWIG_IsOK(res1
)) {
47889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Control_GetLabelText" "', expected argument " "1"" of type '" "wxControl const *""'");
47891 arg1
= reinterpret_cast< wxControl
* >(argp1
);
47893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47894 result
= ((wxControl
const *)arg1
)->GetLabelText();
47895 wxPyEndAllowThreads(__tstate
);
47896 if (PyErr_Occurred()) SWIG_fail
;
47900 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
47902 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
47911 SWIGINTERN PyObject
*_wrap_Control_Command(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47912 PyObject
*resultobj
= 0;
47913 wxControl
*arg1
= (wxControl
*) 0 ;
47914 wxCommandEvent
*arg2
= 0 ;
47919 PyObject
* obj0
= 0 ;
47920 PyObject
* obj1
= 0 ;
47921 char * kwnames
[] = {
47922 (char *) "self",(char *) "event", NULL
47925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxControl
, 0 | 0 );
47927 if (!SWIG_IsOK(res1
)) {
47928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Control_Command" "', expected argument " "1"" of type '" "wxControl *""'");
47930 arg1
= reinterpret_cast< wxControl
* >(argp1
);
47931 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCommandEvent
, 0 );
47932 if (!SWIG_IsOK(res2
)) {
47933 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Control_Command" "', expected argument " "2"" of type '" "wxCommandEvent &""'");
47936 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Control_Command" "', expected argument " "2"" of type '" "wxCommandEvent &""'");
47938 arg2
= reinterpret_cast< wxCommandEvent
* >(argp2
);
47940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47941 (arg1
)->Command(*arg2
);
47942 wxPyEndAllowThreads(__tstate
);
47943 if (PyErr_Occurred()) SWIG_fail
;
47945 resultobj
= SWIG_Py_Void();
47952 SWIGINTERN PyObject
*_wrap_Control_RemoveMnemonics(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47953 PyObject
*resultobj
= 0;
47954 wxString
*arg1
= 0 ;
47956 bool temp1
= false ;
47957 PyObject
* obj0
= 0 ;
47958 char * kwnames
[] = {
47959 (char *) "str", NULL
47962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_RemoveMnemonics",kwnames
,&obj0
)) SWIG_fail
;
47964 arg1
= wxString_in_helper(obj0
);
47965 if (arg1
== NULL
) SWIG_fail
;
47969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47970 result
= wxControl::RemoveMnemonics((wxString
const &)*arg1
);
47971 wxPyEndAllowThreads(__tstate
);
47972 if (PyErr_Occurred()) SWIG_fail
;
47976 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
47978 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
47995 SWIGINTERN PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47996 PyObject
*resultobj
= 0;
47997 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
47998 SwigValueWrapper
<wxVisualAttributes
> result
;
48001 PyObject
* obj0
= 0 ;
48002 char * kwnames
[] = {
48003 (char *) "variant", NULL
48006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
48008 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
48009 if (!SWIG_IsOK(ecode1
)) {
48010 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Control_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
48012 arg1
= static_cast< wxWindowVariant
>(val1
);
48015 if (!wxPyCheckForApp()) SWIG_fail
;
48016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48017 result
= wxControl::GetClassDefaultAttributes(arg1
);
48018 wxPyEndAllowThreads(__tstate
);
48019 if (PyErr_Occurred()) SWIG_fail
;
48021 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
48028 SWIGINTERN PyObject
*Control_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48030 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
48031 SWIG_TypeNewClientData(SWIGTYPE_p_wxControl
, SWIG_NewClientData(obj
));
48032 return SWIG_Py_Void();
48035 SWIGINTERN PyObject
*Control_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48036 return SWIG_Python_InitShadowInstance(args
);
48039 SWIGINTERN PyObject
*_wrap_ItemContainer_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48040 PyObject
*resultobj
= 0;
48041 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
48042 wxString
*arg2
= 0 ;
48043 PyObject
*arg3
= (PyObject
*) NULL
;
48047 bool temp2
= false ;
48048 PyObject
* obj0
= 0 ;
48049 PyObject
* obj1
= 0 ;
48050 PyObject
* obj2
= 0 ;
48051 char * kwnames
[] = {
48052 (char *) "self",(char *) "item",(char *) "clientData", NULL
48055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
48056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
48057 if (!SWIG_IsOK(res1
)) {
48058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_Append" "', expected argument " "1"" of type '" "wxItemContainer *""'");
48060 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
48062 arg2
= wxString_in_helper(obj1
);
48063 if (arg2
== NULL
) SWIG_fail
;
48070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48071 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
48072 wxPyEndAllowThreads(__tstate
);
48073 if (PyErr_Occurred()) SWIG_fail
;
48075 resultobj
= SWIG_From_int(static_cast< int >(result
));
48090 SWIGINTERN PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48091 PyObject
*resultobj
= 0;
48092 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
48093 wxArrayString
*arg2
= 0 ;
48096 bool temp2
= false ;
48097 PyObject
* obj0
= 0 ;
48098 PyObject
* obj1
= 0 ;
48099 char * kwnames
[] = {
48100 (char *) "self",(char *) "strings", NULL
48103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
48105 if (!SWIG_IsOK(res1
)) {
48106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_AppendItems" "', expected argument " "1"" of type '" "wxItemContainer *""'");
48108 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
48110 if (! PySequence_Check(obj1
)) {
48111 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
48114 arg2
= new wxArrayString
;
48116 int i
, len
=PySequence_Length(obj1
);
48117 for (i
=0; i
<len
; i
++) {
48118 PyObject
* item
= PySequence_GetItem(obj1
, i
);
48119 wxString
* s
= wxString_in_helper(item
);
48120 if (PyErr_Occurred()) SWIG_fail
;
48127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48128 (arg1
)->Append((wxArrayString
const &)*arg2
);
48129 wxPyEndAllowThreads(__tstate
);
48130 if (PyErr_Occurred()) SWIG_fail
;
48132 resultobj
= SWIG_Py_Void();
48134 if (temp2
) delete arg2
;
48139 if (temp2
) delete arg2
;
48145 SWIGINTERN PyObject
*_wrap_ItemContainer_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48146 PyObject
*resultobj
= 0;
48147 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
48148 wxString
*arg2
= 0 ;
48150 PyObject
*arg4
= (PyObject
*) NULL
;
48154 bool temp2
= false ;
48157 PyObject
* obj0
= 0 ;
48158 PyObject
* obj1
= 0 ;
48159 PyObject
* obj2
= 0 ;
48160 PyObject
* obj3
= 0 ;
48161 char * kwnames
[] = {
48162 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
48165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
48166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
48167 if (!SWIG_IsOK(res1
)) {
48168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_Insert" "', expected argument " "1"" of type '" "wxItemContainer *""'");
48170 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
48172 arg2
= wxString_in_helper(obj1
);
48173 if (arg2
== NULL
) SWIG_fail
;
48176 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
48177 if (!SWIG_IsOK(ecode3
)) {
48178 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ItemContainer_Insert" "', expected argument " "3"" of type '" "int""'");
48180 arg3
= static_cast< int >(val3
);
48185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48186 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
48187 wxPyEndAllowThreads(__tstate
);
48188 if (PyErr_Occurred()) SWIG_fail
;
48190 resultobj
= SWIG_From_int(static_cast< int >(result
));
48205 SWIGINTERN PyObject
*_wrap_ItemContainer_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48206 PyObject
*resultobj
= 0;
48207 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
48210 PyObject
*swig_obj
[1] ;
48212 if (!args
) SWIG_fail
;
48213 swig_obj
[0] = args
;
48214 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
48215 if (!SWIG_IsOK(res1
)) {
48216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_Clear" "', expected argument " "1"" of type '" "wxItemContainer *""'");
48218 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
48220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48222 wxPyEndAllowThreads(__tstate
);
48223 if (PyErr_Occurred()) SWIG_fail
;
48225 resultobj
= SWIG_Py_Void();
48232 SWIGINTERN PyObject
*_wrap_ItemContainer_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48233 PyObject
*resultobj
= 0;
48234 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
48240 PyObject
* obj0
= 0 ;
48241 PyObject
* obj1
= 0 ;
48242 char * kwnames
[] = {
48243 (char *) "self",(char *) "n", NULL
48246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
48248 if (!SWIG_IsOK(res1
)) {
48249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_Delete" "', expected argument " "1"" of type '" "wxItemContainer *""'");
48251 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
48252 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
48253 if (!SWIG_IsOK(ecode2
)) {
48254 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_Delete" "', expected argument " "2"" of type '" "int""'");
48256 arg2
= static_cast< int >(val2
);
48258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48259 (arg1
)->Delete(arg2
);
48260 wxPyEndAllowThreads(__tstate
);
48261 if (PyErr_Occurred()) SWIG_fail
;
48263 resultobj
= SWIG_Py_Void();
48270 SWIGINTERN PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48271 PyObject
*resultobj
= 0;
48272 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
48274 PyObject
*result
= 0 ;
48279 PyObject
* obj0
= 0 ;
48280 PyObject
* obj1
= 0 ;
48281 char * kwnames
[] = {
48282 (char *) "self",(char *) "n", NULL
48285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
48287 if (!SWIG_IsOK(res1
)) {
48288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_GetClientData" "', expected argument " "1"" of type '" "wxItemContainer *""'");
48290 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
48291 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
48292 if (!SWIG_IsOK(ecode2
)) {
48293 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_GetClientData" "', expected argument " "2"" of type '" "int""'");
48295 arg2
= static_cast< int >(val2
);
48297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48298 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
48299 wxPyEndAllowThreads(__tstate
);
48300 if (PyErr_Occurred()) SWIG_fail
;
48302 resultobj
= result
;
48309 SWIGINTERN PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48310 PyObject
*resultobj
= 0;
48311 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
48313 PyObject
*arg3
= (PyObject
*) 0 ;
48318 PyObject
* obj0
= 0 ;
48319 PyObject
* obj1
= 0 ;
48320 PyObject
* obj2
= 0 ;
48321 char * kwnames
[] = {
48322 (char *) "self",(char *) "n",(char *) "clientData", NULL
48325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
48326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
48327 if (!SWIG_IsOK(res1
)) {
48328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_SetClientData" "', expected argument " "1"" of type '" "wxItemContainer *""'");
48330 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
48331 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
48332 if (!SWIG_IsOK(ecode2
)) {
48333 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_SetClientData" "', expected argument " "2"" of type '" "int""'");
48335 arg2
= static_cast< int >(val2
);
48338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48339 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
48340 wxPyEndAllowThreads(__tstate
);
48341 if (PyErr_Occurred()) SWIG_fail
;
48343 resultobj
= SWIG_Py_Void();
48350 SWIGINTERN PyObject
*_wrap_ItemContainer_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48351 PyObject
*resultobj
= 0;
48352 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
48356 PyObject
*swig_obj
[1] ;
48358 if (!args
) SWIG_fail
;
48359 swig_obj
[0] = args
;
48360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
48361 if (!SWIG_IsOK(res1
)) {
48362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_GetCount" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
48364 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
48366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48367 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
48368 wxPyEndAllowThreads(__tstate
);
48369 if (PyErr_Occurred()) SWIG_fail
;
48371 resultobj
= SWIG_From_int(static_cast< int >(result
));
48378 SWIGINTERN PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48379 PyObject
*resultobj
= 0;
48380 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
48384 PyObject
*swig_obj
[1] ;
48386 if (!args
) SWIG_fail
;
48387 swig_obj
[0] = args
;
48388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
48389 if (!SWIG_IsOK(res1
)) {
48390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_IsEmpty" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
48392 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
48394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48395 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
48396 wxPyEndAllowThreads(__tstate
);
48397 if (PyErr_Occurred()) SWIG_fail
;
48400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
48408 SWIGINTERN PyObject
*_wrap_ItemContainer_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48409 PyObject
*resultobj
= 0;
48410 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
48417 PyObject
* obj0
= 0 ;
48418 PyObject
* obj1
= 0 ;
48419 char * kwnames
[] = {
48420 (char *) "self",(char *) "n", NULL
48423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
48425 if (!SWIG_IsOK(res1
)) {
48426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_GetString" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
48428 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
48429 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
48430 if (!SWIG_IsOK(ecode2
)) {
48431 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_GetString" "', expected argument " "2"" of type '" "int""'");
48433 arg2
= static_cast< int >(val2
);
48435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48436 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
48437 wxPyEndAllowThreads(__tstate
);
48438 if (PyErr_Occurred()) SWIG_fail
;
48442 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
48444 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
48453 SWIGINTERN PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48454 PyObject
*resultobj
= 0;
48455 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
48456 wxArrayString result
;
48459 PyObject
*swig_obj
[1] ;
48461 if (!args
) SWIG_fail
;
48462 swig_obj
[0] = args
;
48463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
48464 if (!SWIG_IsOK(res1
)) {
48465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_GetStrings" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
48467 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
48469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48470 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
48471 wxPyEndAllowThreads(__tstate
);
48472 if (PyErr_Occurred()) SWIG_fail
;
48475 resultobj
= wxArrayString2PyList_helper(result
);
48483 SWIGINTERN PyObject
*_wrap_ItemContainer_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48484 PyObject
*resultobj
= 0;
48485 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
48487 wxString
*arg3
= 0 ;
48492 bool temp3
= false ;
48493 PyObject
* obj0
= 0 ;
48494 PyObject
* obj1
= 0 ;
48495 PyObject
* obj2
= 0 ;
48496 char * kwnames
[] = {
48497 (char *) "self",(char *) "n",(char *) "s", NULL
48500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
48501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
48502 if (!SWIG_IsOK(res1
)) {
48503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_SetString" "', expected argument " "1"" of type '" "wxItemContainer *""'");
48505 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
48506 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
48507 if (!SWIG_IsOK(ecode2
)) {
48508 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_SetString" "', expected argument " "2"" of type '" "int""'");
48510 arg2
= static_cast< int >(val2
);
48512 arg3
= wxString_in_helper(obj2
);
48513 if (arg3
== NULL
) SWIG_fail
;
48517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48518 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
48519 wxPyEndAllowThreads(__tstate
);
48520 if (PyErr_Occurred()) SWIG_fail
;
48522 resultobj
= SWIG_Py_Void();
48537 SWIGINTERN PyObject
*_wrap_ItemContainer_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48538 PyObject
*resultobj
= 0;
48539 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
48540 wxString
*arg2
= 0 ;
48544 bool temp2
= false ;
48545 PyObject
* obj0
= 0 ;
48546 PyObject
* obj1
= 0 ;
48547 char * kwnames
[] = {
48548 (char *) "self",(char *) "s", NULL
48551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
48553 if (!SWIG_IsOK(res1
)) {
48554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_FindString" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
48556 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
48558 arg2
= wxString_in_helper(obj1
);
48559 if (arg2
== NULL
) SWIG_fail
;
48563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48564 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
48565 wxPyEndAllowThreads(__tstate
);
48566 if (PyErr_Occurred()) SWIG_fail
;
48568 resultobj
= SWIG_From_int(static_cast< int >(result
));
48583 SWIGINTERN PyObject
*_wrap_ItemContainer_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48584 PyObject
*resultobj
= 0;
48585 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
48591 PyObject
* obj0
= 0 ;
48592 PyObject
* obj1
= 0 ;
48593 char * kwnames
[] = {
48594 (char *) "self",(char *) "n", NULL
48597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
48599 if (!SWIG_IsOK(res1
)) {
48600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_SetSelection" "', expected argument " "1"" of type '" "wxItemContainer *""'");
48602 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
48603 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
48604 if (!SWIG_IsOK(ecode2
)) {
48605 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_SetSelection" "', expected argument " "2"" of type '" "int""'");
48607 arg2
= static_cast< int >(val2
);
48609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48610 (arg1
)->SetSelection(arg2
);
48611 wxPyEndAllowThreads(__tstate
);
48612 if (PyErr_Occurred()) SWIG_fail
;
48614 resultobj
= SWIG_Py_Void();
48621 SWIGINTERN PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48622 PyObject
*resultobj
= 0;
48623 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
48627 PyObject
*swig_obj
[1] ;
48629 if (!args
) SWIG_fail
;
48630 swig_obj
[0] = args
;
48631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
48632 if (!SWIG_IsOK(res1
)) {
48633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_GetSelection" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
48635 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
48637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48638 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
48639 wxPyEndAllowThreads(__tstate
);
48640 if (PyErr_Occurred()) SWIG_fail
;
48642 resultobj
= SWIG_From_int(static_cast< int >(result
));
48649 SWIGINTERN PyObject
*_wrap_ItemContainer_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48650 PyObject
*resultobj
= 0;
48651 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
48652 wxString
*arg2
= 0 ;
48656 bool temp2
= false ;
48657 PyObject
* obj0
= 0 ;
48658 PyObject
* obj1
= 0 ;
48659 char * kwnames
[] = {
48660 (char *) "self",(char *) "s", NULL
48663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
48665 if (!SWIG_IsOK(res1
)) {
48666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_SetStringSelection" "', expected argument " "1"" of type '" "wxItemContainer *""'");
48668 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
48670 arg2
= wxString_in_helper(obj1
);
48671 if (arg2
== NULL
) SWIG_fail
;
48675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48676 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
48677 wxPyEndAllowThreads(__tstate
);
48678 if (PyErr_Occurred()) SWIG_fail
;
48681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
48697 SWIGINTERN PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48698 PyObject
*resultobj
= 0;
48699 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
48703 PyObject
*swig_obj
[1] ;
48705 if (!args
) SWIG_fail
;
48706 swig_obj
[0] = args
;
48707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
48708 if (!SWIG_IsOK(res1
)) {
48709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_GetStringSelection" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
48711 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
48713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48714 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
48715 wxPyEndAllowThreads(__tstate
);
48716 if (PyErr_Occurred()) SWIG_fail
;
48720 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
48722 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
48731 SWIGINTERN PyObject
*_wrap_ItemContainer_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48732 PyObject
*resultobj
= 0;
48733 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
48739 PyObject
* obj0
= 0 ;
48740 PyObject
* obj1
= 0 ;
48741 char * kwnames
[] = {
48742 (char *) "self",(char *) "n", NULL
48745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
48747 if (!SWIG_IsOK(res1
)) {
48748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_Select" "', expected argument " "1"" of type '" "wxItemContainer *""'");
48750 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
48751 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
48752 if (!SWIG_IsOK(ecode2
)) {
48753 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_Select" "', expected argument " "2"" of type '" "int""'");
48755 arg2
= static_cast< int >(val2
);
48757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48758 (arg1
)->Select(arg2
);
48759 wxPyEndAllowThreads(__tstate
);
48760 if (PyErr_Occurred()) SWIG_fail
;
48762 resultobj
= SWIG_Py_Void();
48769 SWIGINTERN PyObject
*ItemContainer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48771 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
48772 SWIG_TypeNewClientData(SWIGTYPE_p_wxItemContainer
, SWIG_NewClientData(obj
));
48773 return SWIG_Py_Void();
48776 SWIGINTERN PyObject
*ControlWithItems_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48778 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
48779 SWIG_TypeNewClientData(SWIGTYPE_p_wxControlWithItems
, SWIG_NewClientData(obj
));
48780 return SWIG_Py_Void();
48783 SWIGINTERN PyObject
*_wrap_new_SizerFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48784 PyObject
*resultobj
= 0;
48785 int arg1
= (int) 0 ;
48786 wxSizerFlags
*result
= 0 ;
48789 PyObject
* obj0
= 0 ;
48790 char * kwnames
[] = {
48791 (char *) "proportion", NULL
48794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_SizerFlags",kwnames
,&obj0
)) SWIG_fail
;
48796 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
48797 if (!SWIG_IsOK(ecode1
)) {
48798 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SizerFlags" "', expected argument " "1"" of type '" "int""'");
48800 arg1
= static_cast< int >(val1
);
48803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48804 result
= (wxSizerFlags
*)new wxSizerFlags(arg1
);
48805 wxPyEndAllowThreads(__tstate
);
48806 if (PyErr_Occurred()) SWIG_fail
;
48808 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerFlags
, SWIG_POINTER_NEW
| 0 );
48815 SWIGINTERN PyObject
*_wrap_delete_SizerFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48816 PyObject
*resultobj
= 0;
48817 wxSizerFlags
*arg1
= (wxSizerFlags
*) 0 ;
48820 PyObject
*swig_obj
[1] ;
48822 if (!args
) SWIG_fail
;
48823 swig_obj
[0] = args
;
48824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerFlags
, SWIG_POINTER_DISOWN
| 0 );
48825 if (!SWIG_IsOK(res1
)) {
48826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SizerFlags" "', expected argument " "1"" of type '" "wxSizerFlags *""'");
48828 arg1
= reinterpret_cast< wxSizerFlags
* >(argp1
);
48830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48833 wxPyEndAllowThreads(__tstate
);
48834 if (PyErr_Occurred()) SWIG_fail
;
48836 resultobj
= SWIG_Py_Void();
48843 SWIGINTERN PyObject
*_wrap_SizerFlags_Proportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48844 PyObject
*resultobj
= 0;
48845 wxSizerFlags
*arg1
= (wxSizerFlags
*) 0 ;
48847 wxSizerFlags
*result
= 0 ;
48852 PyObject
* obj0
= 0 ;
48853 PyObject
* obj1
= 0 ;
48854 char * kwnames
[] = {
48855 (char *) "self",(char *) "proportion", NULL
48858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerFlags_Proportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerFlags
, 0 | 0 );
48860 if (!SWIG_IsOK(res1
)) {
48861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerFlags_Proportion" "', expected argument " "1"" of type '" "wxSizerFlags *""'");
48863 arg1
= reinterpret_cast< wxSizerFlags
* >(argp1
);
48864 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
48865 if (!SWIG_IsOK(ecode2
)) {
48866 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerFlags_Proportion" "', expected argument " "2"" of type '" "int""'");
48868 arg2
= static_cast< int >(val2
);
48870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48872 wxSizerFlags
&_result_ref
= (arg1
)->Proportion(arg2
);
48873 result
= (wxSizerFlags
*) &_result_ref
;
48875 wxPyEndAllowThreads(__tstate
);
48876 if (PyErr_Occurred()) SWIG_fail
;
48879 resultobj
= obj0
; Py_INCREF(resultobj
);
48887 SWIGINTERN PyObject
*_wrap_SizerFlags_Align(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48888 PyObject
*resultobj
= 0;
48889 wxSizerFlags
*arg1
= (wxSizerFlags
*) 0 ;
48891 wxSizerFlags
*result
= 0 ;
48896 PyObject
* obj0
= 0 ;
48897 PyObject
* obj1
= 0 ;
48898 char * kwnames
[] = {
48899 (char *) "self",(char *) "alignment", NULL
48902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerFlags_Align",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerFlags
, 0 | 0 );
48904 if (!SWIG_IsOK(res1
)) {
48905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerFlags_Align" "', expected argument " "1"" of type '" "wxSizerFlags *""'");
48907 arg1
= reinterpret_cast< wxSizerFlags
* >(argp1
);
48908 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
48909 if (!SWIG_IsOK(ecode2
)) {
48910 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerFlags_Align" "', expected argument " "2"" of type '" "int""'");
48912 arg2
= static_cast< int >(val2
);
48914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48916 wxSizerFlags
&_result_ref
= (arg1
)->Align(arg2
);
48917 result
= (wxSizerFlags
*) &_result_ref
;
48919 wxPyEndAllowThreads(__tstate
);
48920 if (PyErr_Occurred()) SWIG_fail
;
48923 resultobj
= obj0
; Py_INCREF(resultobj
);
48931 SWIGINTERN PyObject
*_wrap_SizerFlags_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48932 PyObject
*resultobj
= 0;
48933 wxSizerFlags
*arg1
= (wxSizerFlags
*) 0 ;
48934 wxSizerFlags
*result
= 0 ;
48937 PyObject
*swig_obj
[1] ;
48939 if (!args
) SWIG_fail
;
48940 swig_obj
[0] = args
;
48941 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerFlags
, 0 | 0 );
48942 if (!SWIG_IsOK(res1
)) {
48943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerFlags_Expand" "', expected argument " "1"" of type '" "wxSizerFlags *""'");
48945 arg1
= reinterpret_cast< wxSizerFlags
* >(argp1
);
48947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48949 wxSizerFlags
&_result_ref
= (arg1
)->Expand();
48950 result
= (wxSizerFlags
*) &_result_ref
;
48952 wxPyEndAllowThreads(__tstate
);
48953 if (PyErr_Occurred()) SWIG_fail
;
48956 resultobj
= swig_obj
[0]; Py_INCREF(resultobj
);
48964 SWIGINTERN PyObject
*_wrap_SizerFlags_Centre(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48965 PyObject
*resultobj
= 0;
48966 wxSizerFlags
*arg1
= (wxSizerFlags
*) 0 ;
48967 wxSizerFlags
*result
= 0 ;
48970 PyObject
*swig_obj
[1] ;
48972 if (!args
) SWIG_fail
;
48973 swig_obj
[0] = args
;
48974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerFlags
, 0 | 0 );
48975 if (!SWIG_IsOK(res1
)) {
48976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerFlags_Centre" "', expected argument " "1"" of type '" "wxSizerFlags *""'");
48978 arg1
= reinterpret_cast< wxSizerFlags
* >(argp1
);
48980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48982 wxSizerFlags
&_result_ref
= (arg1
)->Centre();
48983 result
= (wxSizerFlags
*) &_result_ref
;
48985 wxPyEndAllowThreads(__tstate
);
48986 if (PyErr_Occurred()) SWIG_fail
;
48989 resultobj
= swig_obj
[0]; Py_INCREF(resultobj
);
48997 SWIGINTERN PyObject
*_wrap_SizerFlags_Center(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48998 PyObject
*resultobj
= 0;
48999 wxSizerFlags
*arg1
= (wxSizerFlags
*) 0 ;
49000 wxSizerFlags
*result
= 0 ;
49003 PyObject
*swig_obj
[1] ;
49005 if (!args
) SWIG_fail
;
49006 swig_obj
[0] = args
;
49007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerFlags
, 0 | 0 );
49008 if (!SWIG_IsOK(res1
)) {
49009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerFlags_Center" "', expected argument " "1"" of type '" "wxSizerFlags *""'");
49011 arg1
= reinterpret_cast< wxSizerFlags
* >(argp1
);
49013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49015 wxSizerFlags
&_result_ref
= (arg1
)->Center();
49016 result
= (wxSizerFlags
*) &_result_ref
;
49018 wxPyEndAllowThreads(__tstate
);
49019 if (PyErr_Occurred()) SWIG_fail
;
49022 resultobj
= swig_obj
[0]; Py_INCREF(resultobj
);
49030 SWIGINTERN PyObject
*_wrap_SizerFlags_Left(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49031 PyObject
*resultobj
= 0;
49032 wxSizerFlags
*arg1
= (wxSizerFlags
*) 0 ;
49033 wxSizerFlags
*result
= 0 ;
49036 PyObject
*swig_obj
[1] ;
49038 if (!args
) SWIG_fail
;
49039 swig_obj
[0] = args
;
49040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerFlags
, 0 | 0 );
49041 if (!SWIG_IsOK(res1
)) {
49042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerFlags_Left" "', expected argument " "1"" of type '" "wxSizerFlags *""'");
49044 arg1
= reinterpret_cast< wxSizerFlags
* >(argp1
);
49046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49048 wxSizerFlags
&_result_ref
= (arg1
)->Left();
49049 result
= (wxSizerFlags
*) &_result_ref
;
49051 wxPyEndAllowThreads(__tstate
);
49052 if (PyErr_Occurred()) SWIG_fail
;
49055 resultobj
= swig_obj
[0]; Py_INCREF(resultobj
);
49063 SWIGINTERN PyObject
*_wrap_SizerFlags_Right(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49064 PyObject
*resultobj
= 0;
49065 wxSizerFlags
*arg1
= (wxSizerFlags
*) 0 ;
49066 wxSizerFlags
*result
= 0 ;
49069 PyObject
*swig_obj
[1] ;
49071 if (!args
) SWIG_fail
;
49072 swig_obj
[0] = args
;
49073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerFlags
, 0 | 0 );
49074 if (!SWIG_IsOK(res1
)) {
49075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerFlags_Right" "', expected argument " "1"" of type '" "wxSizerFlags *""'");
49077 arg1
= reinterpret_cast< wxSizerFlags
* >(argp1
);
49079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49081 wxSizerFlags
&_result_ref
= (arg1
)->Right();
49082 result
= (wxSizerFlags
*) &_result_ref
;
49084 wxPyEndAllowThreads(__tstate
);
49085 if (PyErr_Occurred()) SWIG_fail
;
49088 resultobj
= swig_obj
[0]; Py_INCREF(resultobj
);
49096 SWIGINTERN PyObject
*_wrap_SizerFlags_Top(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49097 PyObject
*resultobj
= 0;
49098 wxSizerFlags
*arg1
= (wxSizerFlags
*) 0 ;
49099 wxSizerFlags
*result
= 0 ;
49102 PyObject
*swig_obj
[1] ;
49104 if (!args
) SWIG_fail
;
49105 swig_obj
[0] = args
;
49106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerFlags
, 0 | 0 );
49107 if (!SWIG_IsOK(res1
)) {
49108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerFlags_Top" "', expected argument " "1"" of type '" "wxSizerFlags *""'");
49110 arg1
= reinterpret_cast< wxSizerFlags
* >(argp1
);
49112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49114 wxSizerFlags
&_result_ref
= (arg1
)->Top();
49115 result
= (wxSizerFlags
*) &_result_ref
;
49117 wxPyEndAllowThreads(__tstate
);
49118 if (PyErr_Occurred()) SWIG_fail
;
49121 resultobj
= swig_obj
[0]; Py_INCREF(resultobj
);
49129 SWIGINTERN PyObject
*_wrap_SizerFlags_Bottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49130 PyObject
*resultobj
= 0;
49131 wxSizerFlags
*arg1
= (wxSizerFlags
*) 0 ;
49132 wxSizerFlags
*result
= 0 ;
49135 PyObject
*swig_obj
[1] ;
49137 if (!args
) SWIG_fail
;
49138 swig_obj
[0] = args
;
49139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerFlags
, 0 | 0 );
49140 if (!SWIG_IsOK(res1
)) {
49141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerFlags_Bottom" "', expected argument " "1"" of type '" "wxSizerFlags *""'");
49143 arg1
= reinterpret_cast< wxSizerFlags
* >(argp1
);
49145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49147 wxSizerFlags
&_result_ref
= (arg1
)->Bottom();
49148 result
= (wxSizerFlags
*) &_result_ref
;
49150 wxPyEndAllowThreads(__tstate
);
49151 if (PyErr_Occurred()) SWIG_fail
;
49154 resultobj
= swig_obj
[0]; Py_INCREF(resultobj
);
49162 SWIGINTERN PyObject
*_wrap_SizerFlags_Shaped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49163 PyObject
*resultobj
= 0;
49164 wxSizerFlags
*arg1
= (wxSizerFlags
*) 0 ;
49165 wxSizerFlags
*result
= 0 ;
49168 PyObject
*swig_obj
[1] ;
49170 if (!args
) SWIG_fail
;
49171 swig_obj
[0] = args
;
49172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerFlags
, 0 | 0 );
49173 if (!SWIG_IsOK(res1
)) {
49174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerFlags_Shaped" "', expected argument " "1"" of type '" "wxSizerFlags *""'");
49176 arg1
= reinterpret_cast< wxSizerFlags
* >(argp1
);
49178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49180 wxSizerFlags
&_result_ref
= (arg1
)->Shaped();
49181 result
= (wxSizerFlags
*) &_result_ref
;
49183 wxPyEndAllowThreads(__tstate
);
49184 if (PyErr_Occurred()) SWIG_fail
;
49187 resultobj
= swig_obj
[0]; Py_INCREF(resultobj
);
49195 SWIGINTERN PyObject
*_wrap_SizerFlags_FixedMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49196 PyObject
*resultobj
= 0;
49197 wxSizerFlags
*arg1
= (wxSizerFlags
*) 0 ;
49198 wxSizerFlags
*result
= 0 ;
49201 PyObject
*swig_obj
[1] ;
49203 if (!args
) SWIG_fail
;
49204 swig_obj
[0] = args
;
49205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerFlags
, 0 | 0 );
49206 if (!SWIG_IsOK(res1
)) {
49207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerFlags_FixedMinSize" "', expected argument " "1"" of type '" "wxSizerFlags *""'");
49209 arg1
= reinterpret_cast< wxSizerFlags
* >(argp1
);
49211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49213 wxSizerFlags
&_result_ref
= (arg1
)->FixedMinSize();
49214 result
= (wxSizerFlags
*) &_result_ref
;
49216 wxPyEndAllowThreads(__tstate
);
49217 if (PyErr_Occurred()) SWIG_fail
;
49220 resultobj
= swig_obj
[0]; Py_INCREF(resultobj
);
49228 SWIGINTERN PyObject
*_wrap_SizerFlags_Border(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49229 PyObject
*resultobj
= 0;
49230 wxSizerFlags
*arg1
= (wxSizerFlags
*) 0 ;
49231 int arg2
= (int) wxALL
;
49232 int arg3
= (int) -1 ;
49233 wxSizerFlags
*result
= 0 ;
49240 PyObject
* obj0
= 0 ;
49241 PyObject
* obj1
= 0 ;
49242 PyObject
* obj2
= 0 ;
49243 char * kwnames
[] = {
49244 (char *) "self",(char *) "direction",(char *) "borderInPixels", NULL
49247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:SizerFlags_Border",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
49248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerFlags
, 0 | 0 );
49249 if (!SWIG_IsOK(res1
)) {
49250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerFlags_Border" "', expected argument " "1"" of type '" "wxSizerFlags *""'");
49252 arg1
= reinterpret_cast< wxSizerFlags
* >(argp1
);
49254 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
49255 if (!SWIG_IsOK(ecode2
)) {
49256 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerFlags_Border" "', expected argument " "2"" of type '" "int""'");
49258 arg2
= static_cast< int >(val2
);
49261 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
49262 if (!SWIG_IsOK(ecode3
)) {
49263 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SizerFlags_Border" "', expected argument " "3"" of type '" "int""'");
49265 arg3
= static_cast< int >(val3
);
49268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49270 wxSizerFlags
&_result_ref
= wxSizerFlags_Border(arg1
,arg2
,arg3
);
49271 result
= (wxSizerFlags
*) &_result_ref
;
49273 wxPyEndAllowThreads(__tstate
);
49274 if (PyErr_Occurred()) SWIG_fail
;
49277 resultobj
= obj0
; Py_INCREF(resultobj
);
49285 SWIGINTERN PyObject
*_wrap_SizerFlags_DoubleBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49286 PyObject
*resultobj
= 0;
49287 wxSizerFlags
*arg1
= (wxSizerFlags
*) 0 ;
49288 int arg2
= (int) wxALL
;
49289 wxSizerFlags
*result
= 0 ;
49294 PyObject
* obj0
= 0 ;
49295 PyObject
* obj1
= 0 ;
49296 char * kwnames
[] = {
49297 (char *) "self",(char *) "direction", NULL
49300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SizerFlags_DoubleBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerFlags
, 0 | 0 );
49302 if (!SWIG_IsOK(res1
)) {
49303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerFlags_DoubleBorder" "', expected argument " "1"" of type '" "wxSizerFlags *""'");
49305 arg1
= reinterpret_cast< wxSizerFlags
* >(argp1
);
49307 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
49308 if (!SWIG_IsOK(ecode2
)) {
49309 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerFlags_DoubleBorder" "', expected argument " "2"" of type '" "int""'");
49311 arg2
= static_cast< int >(val2
);
49314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49316 wxSizerFlags
&_result_ref
= (arg1
)->DoubleBorder(arg2
);
49317 result
= (wxSizerFlags
*) &_result_ref
;
49319 wxPyEndAllowThreads(__tstate
);
49320 if (PyErr_Occurred()) SWIG_fail
;
49323 resultobj
= obj0
; Py_INCREF(resultobj
);
49331 SWIGINTERN PyObject
*_wrap_SizerFlags_TripleBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49332 PyObject
*resultobj
= 0;
49333 wxSizerFlags
*arg1
= (wxSizerFlags
*) 0 ;
49334 int arg2
= (int) wxALL
;
49335 wxSizerFlags
*result
= 0 ;
49340 PyObject
* obj0
= 0 ;
49341 PyObject
* obj1
= 0 ;
49342 char * kwnames
[] = {
49343 (char *) "self",(char *) "direction", NULL
49346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SizerFlags_TripleBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerFlags
, 0 | 0 );
49348 if (!SWIG_IsOK(res1
)) {
49349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerFlags_TripleBorder" "', expected argument " "1"" of type '" "wxSizerFlags *""'");
49351 arg1
= reinterpret_cast< wxSizerFlags
* >(argp1
);
49353 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
49354 if (!SWIG_IsOK(ecode2
)) {
49355 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerFlags_TripleBorder" "', expected argument " "2"" of type '" "int""'");
49357 arg2
= static_cast< int >(val2
);
49360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49362 wxSizerFlags
&_result_ref
= (arg1
)->TripleBorder(arg2
);
49363 result
= (wxSizerFlags
*) &_result_ref
;
49365 wxPyEndAllowThreads(__tstate
);
49366 if (PyErr_Occurred()) SWIG_fail
;
49369 resultobj
= obj0
; Py_INCREF(resultobj
);
49377 SWIGINTERN PyObject
*_wrap_SizerFlags_HorzBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49378 PyObject
*resultobj
= 0;
49379 wxSizerFlags
*arg1
= (wxSizerFlags
*) 0 ;
49380 wxSizerFlags
*result
= 0 ;
49383 PyObject
*swig_obj
[1] ;
49385 if (!args
) SWIG_fail
;
49386 swig_obj
[0] = args
;
49387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerFlags
, 0 | 0 );
49388 if (!SWIG_IsOK(res1
)) {
49389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerFlags_HorzBorder" "', expected argument " "1"" of type '" "wxSizerFlags *""'");
49391 arg1
= reinterpret_cast< wxSizerFlags
* >(argp1
);
49393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49395 wxSizerFlags
&_result_ref
= (arg1
)->HorzBorder();
49396 result
= (wxSizerFlags
*) &_result_ref
;
49398 wxPyEndAllowThreads(__tstate
);
49399 if (PyErr_Occurred()) SWIG_fail
;
49402 resultobj
= swig_obj
[0]; Py_INCREF(resultobj
);
49410 SWIGINTERN PyObject
*_wrap_SizerFlags_DoubleHorzBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49411 PyObject
*resultobj
= 0;
49412 wxSizerFlags
*arg1
= (wxSizerFlags
*) 0 ;
49413 wxSizerFlags
*result
= 0 ;
49416 PyObject
*swig_obj
[1] ;
49418 if (!args
) SWIG_fail
;
49419 swig_obj
[0] = args
;
49420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerFlags
, 0 | 0 );
49421 if (!SWIG_IsOK(res1
)) {
49422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerFlags_DoubleHorzBorder" "', expected argument " "1"" of type '" "wxSizerFlags *""'");
49424 arg1
= reinterpret_cast< wxSizerFlags
* >(argp1
);
49426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49428 wxSizerFlags
&_result_ref
= (arg1
)->DoubleHorzBorder();
49429 result
= (wxSizerFlags
*) &_result_ref
;
49431 wxPyEndAllowThreads(__tstate
);
49432 if (PyErr_Occurred()) SWIG_fail
;
49435 resultobj
= swig_obj
[0]; Py_INCREF(resultobj
);
49443 SWIGINTERN PyObject
*_wrap_SizerFlags_GetDefaultBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49444 PyObject
*resultobj
= 0;
49447 if (!SWIG_Python_UnpackTuple(args
,"SizerFlags_GetDefaultBorder",0,0,0)) SWIG_fail
;
49449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49450 result
= (int)wxSizerFlags::GetDefaultBorder();
49451 wxPyEndAllowThreads(__tstate
);
49452 if (PyErr_Occurred()) SWIG_fail
;
49454 resultobj
= SWIG_From_int(static_cast< int >(result
));
49461 SWIGINTERN PyObject
*_wrap_SizerFlags_GetProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49462 PyObject
*resultobj
= 0;
49463 wxSizerFlags
*arg1
= (wxSizerFlags
*) 0 ;
49467 PyObject
*swig_obj
[1] ;
49469 if (!args
) SWIG_fail
;
49470 swig_obj
[0] = args
;
49471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerFlags
, 0 | 0 );
49472 if (!SWIG_IsOK(res1
)) {
49473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerFlags_GetProportion" "', expected argument " "1"" of type '" "wxSizerFlags const *""'");
49475 arg1
= reinterpret_cast< wxSizerFlags
* >(argp1
);
49477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49478 result
= (int)((wxSizerFlags
const *)arg1
)->GetProportion();
49479 wxPyEndAllowThreads(__tstate
);
49480 if (PyErr_Occurred()) SWIG_fail
;
49482 resultobj
= SWIG_From_int(static_cast< int >(result
));
49489 SWIGINTERN PyObject
*_wrap_SizerFlags_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49490 PyObject
*resultobj
= 0;
49491 wxSizerFlags
*arg1
= (wxSizerFlags
*) 0 ;
49495 PyObject
*swig_obj
[1] ;
49497 if (!args
) SWIG_fail
;
49498 swig_obj
[0] = args
;
49499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerFlags
, 0 | 0 );
49500 if (!SWIG_IsOK(res1
)) {
49501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerFlags_GetFlags" "', expected argument " "1"" of type '" "wxSizerFlags const *""'");
49503 arg1
= reinterpret_cast< wxSizerFlags
* >(argp1
);
49505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49506 result
= (int)((wxSizerFlags
const *)arg1
)->GetFlags();
49507 wxPyEndAllowThreads(__tstate
);
49508 if (PyErr_Occurred()) SWIG_fail
;
49510 resultobj
= SWIG_From_int(static_cast< int >(result
));
49517 SWIGINTERN PyObject
*_wrap_SizerFlags_GetBorderInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49518 PyObject
*resultobj
= 0;
49519 wxSizerFlags
*arg1
= (wxSizerFlags
*) 0 ;
49523 PyObject
*swig_obj
[1] ;
49525 if (!args
) SWIG_fail
;
49526 swig_obj
[0] = args
;
49527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerFlags
, 0 | 0 );
49528 if (!SWIG_IsOK(res1
)) {
49529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerFlags_GetBorderInPixels" "', expected argument " "1"" of type '" "wxSizerFlags const *""'");
49531 arg1
= reinterpret_cast< wxSizerFlags
* >(argp1
);
49533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49534 result
= (int)((wxSizerFlags
const *)arg1
)->GetBorderInPixels();
49535 wxPyEndAllowThreads(__tstate
);
49536 if (PyErr_Occurred()) SWIG_fail
;
49538 resultobj
= SWIG_From_int(static_cast< int >(result
));
49545 SWIGINTERN PyObject
*SizerFlags_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49547 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
49548 SWIG_TypeNewClientData(SWIGTYPE_p_wxSizerFlags
, SWIG_NewClientData(obj
));
49549 return SWIG_Py_Void();
49552 SWIGINTERN PyObject
*SizerFlags_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49553 return SWIG_Python_InitShadowInstance(args
);
49556 SWIGINTERN PyObject
*_wrap_new_SizerItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49557 PyObject
*resultobj
= 0;
49558 wxSizerItem
*result
= 0 ;
49560 if (!SWIG_Python_UnpackTuple(args
,"new_SizerItem",0,0,0)) SWIG_fail
;
49562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49563 result
= (wxSizerItem
*)new wxSizerItem();
49564 wxPyEndAllowThreads(__tstate
);
49565 if (PyErr_Occurred()) SWIG_fail
;
49567 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_NEW
| 0 );
49574 SWIGINTERN PyObject
*_wrap_delete_SizerItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49575 PyObject
*resultobj
= 0;
49576 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
49579 PyObject
*swig_obj
[1] ;
49581 if (!args
) SWIG_fail
;
49582 swig_obj
[0] = args
;
49583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_DISOWN
| 0 );
49584 if (!SWIG_IsOK(res1
)) {
49585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SizerItem" "', expected argument " "1"" of type '" "wxSizerItem *""'");
49587 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
49589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49592 wxPyEndAllowThreads(__tstate
);
49593 if (PyErr_Occurred()) SWIG_fail
;
49595 resultobj
= SWIG_Py_Void();
49602 SWIGINTERN PyObject
*_wrap_new_SizerItemWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49603 PyObject
*resultobj
= 0;
49604 wxWindow
*arg1
= (wxWindow
*) 0 ;
49608 PyObject
*arg5
= (PyObject
*) NULL
;
49609 wxSizerItem
*result
= 0 ;
49618 PyObject
* obj0
= 0 ;
49619 PyObject
* obj1
= 0 ;
49620 PyObject
* obj2
= 0 ;
49621 PyObject
* obj3
= 0 ;
49622 PyObject
* obj4
= 0 ;
49623 char * kwnames
[] = {
49624 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
49627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
49628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
49629 if (!SWIG_IsOK(res1
)) {
49630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SizerItemWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
49632 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
49633 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
49634 if (!SWIG_IsOK(ecode2
)) {
49635 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SizerItemWindow" "', expected argument " "2"" of type '" "int""'");
49637 arg2
= static_cast< int >(val2
);
49638 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
49639 if (!SWIG_IsOK(ecode3
)) {
49640 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SizerItemWindow" "', expected argument " "3"" of type '" "int""'");
49642 arg3
= static_cast< int >(val3
);
49643 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
49644 if (!SWIG_IsOK(ecode4
)) {
49645 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_SizerItemWindow" "', expected argument " "4"" of type '" "int""'");
49647 arg4
= static_cast< int >(val4
);
49652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49653 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
49654 wxPyEndAllowThreads(__tstate
);
49655 if (PyErr_Occurred()) SWIG_fail
;
49657 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_OWN
| 0 );
49664 SWIGINTERN PyObject
*_wrap_new_SizerItemSpacer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49665 PyObject
*resultobj
= 0;
49671 PyObject
*arg6
= (PyObject
*) NULL
;
49672 wxSizerItem
*result
= 0 ;
49683 PyObject
* obj0
= 0 ;
49684 PyObject
* obj1
= 0 ;
49685 PyObject
* obj2
= 0 ;
49686 PyObject
* obj3
= 0 ;
49687 PyObject
* obj4
= 0 ;
49688 PyObject
* obj5
= 0 ;
49689 char * kwnames
[] = {
49690 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
49693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
49694 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
49695 if (!SWIG_IsOK(ecode1
)) {
49696 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SizerItemSpacer" "', expected argument " "1"" of type '" "int""'");
49698 arg1
= static_cast< int >(val1
);
49699 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
49700 if (!SWIG_IsOK(ecode2
)) {
49701 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SizerItemSpacer" "', expected argument " "2"" of type '" "int""'");
49703 arg2
= static_cast< int >(val2
);
49704 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
49705 if (!SWIG_IsOK(ecode3
)) {
49706 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SizerItemSpacer" "', expected argument " "3"" of type '" "int""'");
49708 arg3
= static_cast< int >(val3
);
49709 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
49710 if (!SWIG_IsOK(ecode4
)) {
49711 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_SizerItemSpacer" "', expected argument " "4"" of type '" "int""'");
49713 arg4
= static_cast< int >(val4
);
49714 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
49715 if (!SWIG_IsOK(ecode5
)) {
49716 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SizerItemSpacer" "', expected argument " "5"" of type '" "int""'");
49718 arg5
= static_cast< int >(val5
);
49723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49724 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
49725 wxPyEndAllowThreads(__tstate
);
49726 if (PyErr_Occurred()) SWIG_fail
;
49728 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_OWN
| 0 );
49735 SWIGINTERN PyObject
*_wrap_new_SizerItemSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49736 PyObject
*resultobj
= 0;
49737 wxSizer
*arg1
= (wxSizer
*) 0 ;
49741 PyObject
*arg5
= (PyObject
*) NULL
;
49742 wxSizerItem
*result
= 0 ;
49750 PyObject
* obj0
= 0 ;
49751 PyObject
* obj1
= 0 ;
49752 PyObject
* obj2
= 0 ;
49753 PyObject
* obj3
= 0 ;
49754 PyObject
* obj4
= 0 ;
49755 char * kwnames
[] = {
49756 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
49759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
49760 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxSizer
, SWIG_POINTER_DISOWN
| 0 );
49761 if (!SWIG_IsOK(res1
)) {
49762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SizerItemSizer" "', expected argument " "1"" of type '" "wxSizer *""'");
49764 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
49765 if (!SWIG_IsOK(ecode2
)) {
49766 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SizerItemSizer" "', expected argument " "2"" of type '" "int""'");
49768 arg2
= static_cast< int >(val2
);
49769 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
49770 if (!SWIG_IsOK(ecode3
)) {
49771 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SizerItemSizer" "', expected argument " "3"" of type '" "int""'");
49773 arg3
= static_cast< int >(val3
);
49774 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
49775 if (!SWIG_IsOK(ecode4
)) {
49776 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_SizerItemSizer" "', expected argument " "4"" of type '" "int""'");
49778 arg4
= static_cast< int >(val4
);
49783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49784 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
49785 wxPyEndAllowThreads(__tstate
);
49786 if (PyErr_Occurred()) SWIG_fail
;
49788 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_OWN
| 0 );
49795 SWIGINTERN PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49796 PyObject
*resultobj
= 0;
49797 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
49800 PyObject
*swig_obj
[1] ;
49802 if (!args
) SWIG_fail
;
49803 swig_obj
[0] = args
;
49804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
49805 if (!SWIG_IsOK(res1
)) {
49806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_DeleteWindows" "', expected argument " "1"" of type '" "wxSizerItem *""'");
49808 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
49810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49811 (arg1
)->DeleteWindows();
49812 wxPyEndAllowThreads(__tstate
);
49813 if (PyErr_Occurred()) SWIG_fail
;
49815 resultobj
= SWIG_Py_Void();
49822 SWIGINTERN PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49823 PyObject
*resultobj
= 0;
49824 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
49827 PyObject
*swig_obj
[1] ;
49829 if (!args
) SWIG_fail
;
49830 swig_obj
[0] = args
;
49831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
49832 if (!SWIG_IsOK(res1
)) {
49833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_DetachSizer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
49835 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
49837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49838 (arg1
)->DetachSizer();
49839 wxPyEndAllowThreads(__tstate
);
49840 if (PyErr_Occurred()) SWIG_fail
;
49842 resultobj
= SWIG_Py_Void();
49849 SWIGINTERN PyObject
*_wrap_SizerItem_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49850 PyObject
*resultobj
= 0;
49851 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
49855 PyObject
*swig_obj
[1] ;
49857 if (!args
) SWIG_fail
;
49858 swig_obj
[0] = args
;
49859 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
49860 if (!SWIG_IsOK(res1
)) {
49861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetSize" "', expected argument " "1"" of type '" "wxSizerItem *""'");
49863 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
49865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49866 result
= (arg1
)->GetSize();
49867 wxPyEndAllowThreads(__tstate
);
49868 if (PyErr_Occurred()) SWIG_fail
;
49870 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
49877 SWIGINTERN PyObject
*_wrap_SizerItem_CalcMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49878 PyObject
*resultobj
= 0;
49879 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
49883 PyObject
*swig_obj
[1] ;
49885 if (!args
) SWIG_fail
;
49886 swig_obj
[0] = args
;
49887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
49888 if (!SWIG_IsOK(res1
)) {
49889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_CalcMin" "', expected argument " "1"" of type '" "wxSizerItem *""'");
49891 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
49893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49894 result
= (arg1
)->CalcMin();
49895 wxPyEndAllowThreads(__tstate
);
49896 if (PyErr_Occurred()) SWIG_fail
;
49898 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
49905 SWIGINTERN PyObject
*_wrap_SizerItem_SetDimension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49906 PyObject
*resultobj
= 0;
49907 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
49908 wxPoint
*arg2
= 0 ;
49914 PyObject
* obj0
= 0 ;
49915 PyObject
* obj1
= 0 ;
49916 PyObject
* obj2
= 0 ;
49917 char * kwnames
[] = {
49918 (char *) "self",(char *) "pos",(char *) "size", NULL
49921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
49922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
49923 if (!SWIG_IsOK(res1
)) {
49924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetDimension" "', expected argument " "1"" of type '" "wxSizerItem *""'");
49926 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
49929 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
49933 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
49936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49937 (arg1
)->SetDimension((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
49938 wxPyEndAllowThreads(__tstate
);
49939 if (PyErr_Occurred()) SWIG_fail
;
49941 resultobj
= SWIG_Py_Void();
49948 SWIGINTERN PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49949 PyObject
*resultobj
= 0;
49950 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
49954 PyObject
*swig_obj
[1] ;
49956 if (!args
) SWIG_fail
;
49957 swig_obj
[0] = args
;
49958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
49959 if (!SWIG_IsOK(res1
)) {
49960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetMinSize" "', expected argument " "1"" of type '" "wxSizerItem *""'");
49962 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
49964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49965 result
= (arg1
)->GetMinSize();
49966 wxPyEndAllowThreads(__tstate
);
49967 if (PyErr_Occurred()) SWIG_fail
;
49969 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
49976 SWIGINTERN PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49977 PyObject
*resultobj
= 0;
49978 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
49982 PyObject
*swig_obj
[1] ;
49984 if (!args
) SWIG_fail
;
49985 swig_obj
[0] = args
;
49986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
49987 if (!SWIG_IsOK(res1
)) {
49988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetMinSizeWithBorder" "', expected argument " "1"" of type '" "wxSizerItem const *""'");
49990 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
49992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49993 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
49994 wxPyEndAllowThreads(__tstate
);
49995 if (PyErr_Occurred()) SWIG_fail
;
49997 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
50004 SWIGINTERN PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50005 PyObject
*resultobj
= 0;
50006 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
50015 PyObject
* obj0
= 0 ;
50016 PyObject
* obj1
= 0 ;
50017 PyObject
* obj2
= 0 ;
50018 char * kwnames
[] = {
50019 (char *) "self",(char *) "x",(char *) "y", NULL
50022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
50023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
50024 if (!SWIG_IsOK(res1
)) {
50025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetInitSize" "', expected argument " "1"" of type '" "wxSizerItem *""'");
50027 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
50028 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
50029 if (!SWIG_IsOK(ecode2
)) {
50030 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_SetInitSize" "', expected argument " "2"" of type '" "int""'");
50032 arg2
= static_cast< int >(val2
);
50033 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
50034 if (!SWIG_IsOK(ecode3
)) {
50035 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SizerItem_SetInitSize" "', expected argument " "3"" of type '" "int""'");
50037 arg3
= static_cast< int >(val3
);
50039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50040 (arg1
)->SetInitSize(arg2
,arg3
);
50041 wxPyEndAllowThreads(__tstate
);
50042 if (PyErr_Occurred()) SWIG_fail
;
50044 resultobj
= SWIG_Py_Void();
50051 SWIGINTERN PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50052 PyObject
*resultobj
= 0;
50053 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
50062 PyObject
* obj0
= 0 ;
50063 PyObject
* obj1
= 0 ;
50064 PyObject
* obj2
= 0 ;
50065 char * kwnames
[] = {
50066 (char *) "self",(char *) "width",(char *) "height", NULL
50069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
50070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
50071 if (!SWIG_IsOK(res1
)) {
50072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetRatioWH" "', expected argument " "1"" of type '" "wxSizerItem *""'");
50074 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
50075 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
50076 if (!SWIG_IsOK(ecode2
)) {
50077 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_SetRatioWH" "', expected argument " "2"" of type '" "int""'");
50079 arg2
= static_cast< int >(val2
);
50080 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
50081 if (!SWIG_IsOK(ecode3
)) {
50082 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SizerItem_SetRatioWH" "', expected argument " "3"" of type '" "int""'");
50084 arg3
= static_cast< int >(val3
);
50086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50087 (arg1
)->SetRatio(arg2
,arg3
);
50088 wxPyEndAllowThreads(__tstate
);
50089 if (PyErr_Occurred()) SWIG_fail
;
50091 resultobj
= SWIG_Py_Void();
50098 SWIGINTERN PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50099 PyObject
*resultobj
= 0;
50100 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
50105 PyObject
* obj0
= 0 ;
50106 PyObject
* obj1
= 0 ;
50107 char * kwnames
[] = {
50108 (char *) "self",(char *) "size", NULL
50111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
50113 if (!SWIG_IsOK(res1
)) {
50114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetRatioSize" "', expected argument " "1"" of type '" "wxSizerItem *""'");
50116 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
50119 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
50122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50123 (arg1
)->SetRatio((wxSize
const &)*arg2
);
50124 wxPyEndAllowThreads(__tstate
);
50125 if (PyErr_Occurred()) SWIG_fail
;
50127 resultobj
= SWIG_Py_Void();
50134 SWIGINTERN PyObject
*_wrap_SizerItem_SetRatio(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50135 PyObject
*resultobj
= 0;
50136 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
50142 PyObject
* obj0
= 0 ;
50143 PyObject
* obj1
= 0 ;
50144 char * kwnames
[] = {
50145 (char *) "self",(char *) "ratio", NULL
50148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
50150 if (!SWIG_IsOK(res1
)) {
50151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetRatio" "', expected argument " "1"" of type '" "wxSizerItem *""'");
50153 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
50154 ecode2
= SWIG_AsVal_float(obj1
, &val2
);
50155 if (!SWIG_IsOK(ecode2
)) {
50156 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_SetRatio" "', expected argument " "2"" of type '" "float""'");
50158 arg2
= static_cast< float >(val2
);
50160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50161 (arg1
)->SetRatio(arg2
);
50162 wxPyEndAllowThreads(__tstate
);
50163 if (PyErr_Occurred()) SWIG_fail
;
50165 resultobj
= SWIG_Py_Void();
50172 SWIGINTERN PyObject
*_wrap_SizerItem_GetRatio(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50173 PyObject
*resultobj
= 0;
50174 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
50178 PyObject
*swig_obj
[1] ;
50180 if (!args
) SWIG_fail
;
50181 swig_obj
[0] = args
;
50182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
50183 if (!SWIG_IsOK(res1
)) {
50184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetRatio" "', expected argument " "1"" of type '" "wxSizerItem *""'");
50186 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
50188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50189 result
= (float)(arg1
)->GetRatio();
50190 wxPyEndAllowThreads(__tstate
);
50191 if (PyErr_Occurred()) SWIG_fail
;
50193 resultobj
= SWIG_From_float(static_cast< float >(result
));
50200 SWIGINTERN PyObject
*_wrap_SizerItem_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50201 PyObject
*resultobj
= 0;
50202 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
50206 PyObject
*swig_obj
[1] ;
50208 if (!args
) SWIG_fail
;
50209 swig_obj
[0] = args
;
50210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
50211 if (!SWIG_IsOK(res1
)) {
50212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetRect" "', expected argument " "1"" of type '" "wxSizerItem *""'");
50214 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
50216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50217 result
= (arg1
)->GetRect();
50218 wxPyEndAllowThreads(__tstate
);
50219 if (PyErr_Occurred()) SWIG_fail
;
50221 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
50228 SWIGINTERN PyObject
*_wrap_SizerItem_IsWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50229 PyObject
*resultobj
= 0;
50230 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
50234 PyObject
*swig_obj
[1] ;
50236 if (!args
) SWIG_fail
;
50237 swig_obj
[0] = args
;
50238 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
50239 if (!SWIG_IsOK(res1
)) {
50240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_IsWindow" "', expected argument " "1"" of type '" "wxSizerItem *""'");
50242 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
50244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50245 result
= (bool)(arg1
)->IsWindow();
50246 wxPyEndAllowThreads(__tstate
);
50247 if (PyErr_Occurred()) SWIG_fail
;
50250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
50258 SWIGINTERN PyObject
*_wrap_SizerItem_IsSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50259 PyObject
*resultobj
= 0;
50260 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
50264 PyObject
*swig_obj
[1] ;
50266 if (!args
) SWIG_fail
;
50267 swig_obj
[0] = args
;
50268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
50269 if (!SWIG_IsOK(res1
)) {
50270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_IsSizer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
50272 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
50274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50275 result
= (bool)(arg1
)->IsSizer();
50276 wxPyEndAllowThreads(__tstate
);
50277 if (PyErr_Occurred()) SWIG_fail
;
50280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
50288 SWIGINTERN PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50289 PyObject
*resultobj
= 0;
50290 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
50294 PyObject
*swig_obj
[1] ;
50296 if (!args
) SWIG_fail
;
50297 swig_obj
[0] = args
;
50298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
50299 if (!SWIG_IsOK(res1
)) {
50300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_IsSpacer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
50302 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
50304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50305 result
= (bool)(arg1
)->IsSpacer();
50306 wxPyEndAllowThreads(__tstate
);
50307 if (PyErr_Occurred()) SWIG_fail
;
50310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
50318 SWIGINTERN PyObject
*_wrap_SizerItem_SetProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50319 PyObject
*resultobj
= 0;
50320 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
50326 PyObject
* obj0
= 0 ;
50327 PyObject
* obj1
= 0 ;
50328 char * kwnames
[] = {
50329 (char *) "self",(char *) "proportion", NULL
50332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
50334 if (!SWIG_IsOK(res1
)) {
50335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetProportion" "', expected argument " "1"" of type '" "wxSizerItem *""'");
50337 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
50338 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
50339 if (!SWIG_IsOK(ecode2
)) {
50340 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_SetProportion" "', expected argument " "2"" of type '" "int""'");
50342 arg2
= static_cast< int >(val2
);
50344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50345 (arg1
)->SetProportion(arg2
);
50346 wxPyEndAllowThreads(__tstate
);
50347 if (PyErr_Occurred()) SWIG_fail
;
50349 resultobj
= SWIG_Py_Void();
50356 SWIGINTERN PyObject
*_wrap_SizerItem_GetProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50357 PyObject
*resultobj
= 0;
50358 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
50362 PyObject
*swig_obj
[1] ;
50364 if (!args
) SWIG_fail
;
50365 swig_obj
[0] = args
;
50366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
50367 if (!SWIG_IsOK(res1
)) {
50368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetProportion" "', expected argument " "1"" of type '" "wxSizerItem *""'");
50370 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
50372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50373 result
= (int)(arg1
)->GetProportion();
50374 wxPyEndAllowThreads(__tstate
);
50375 if (PyErr_Occurred()) SWIG_fail
;
50377 resultobj
= SWIG_From_int(static_cast< int >(result
));
50384 SWIGINTERN PyObject
*_wrap_SizerItem_SetFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50385 PyObject
*resultobj
= 0;
50386 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
50392 PyObject
* obj0
= 0 ;
50393 PyObject
* obj1
= 0 ;
50394 char * kwnames
[] = {
50395 (char *) "self",(char *) "flag", NULL
50398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
50400 if (!SWIG_IsOK(res1
)) {
50401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetFlag" "', expected argument " "1"" of type '" "wxSizerItem *""'");
50403 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
50404 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
50405 if (!SWIG_IsOK(ecode2
)) {
50406 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_SetFlag" "', expected argument " "2"" of type '" "int""'");
50408 arg2
= static_cast< int >(val2
);
50410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50411 (arg1
)->SetFlag(arg2
);
50412 wxPyEndAllowThreads(__tstate
);
50413 if (PyErr_Occurred()) SWIG_fail
;
50415 resultobj
= SWIG_Py_Void();
50422 SWIGINTERN PyObject
*_wrap_SizerItem_GetFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50423 PyObject
*resultobj
= 0;
50424 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
50428 PyObject
*swig_obj
[1] ;
50430 if (!args
) SWIG_fail
;
50431 swig_obj
[0] = args
;
50432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
50433 if (!SWIG_IsOK(res1
)) {
50434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetFlag" "', expected argument " "1"" of type '" "wxSizerItem *""'");
50436 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
50438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50439 result
= (int)(arg1
)->GetFlag();
50440 wxPyEndAllowThreads(__tstate
);
50441 if (PyErr_Occurred()) SWIG_fail
;
50443 resultobj
= SWIG_From_int(static_cast< int >(result
));
50450 SWIGINTERN PyObject
*_wrap_SizerItem_SetBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50451 PyObject
*resultobj
= 0;
50452 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
50458 PyObject
* obj0
= 0 ;
50459 PyObject
* obj1
= 0 ;
50460 char * kwnames
[] = {
50461 (char *) "self",(char *) "border", NULL
50464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
50466 if (!SWIG_IsOK(res1
)) {
50467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetBorder" "', expected argument " "1"" of type '" "wxSizerItem *""'");
50469 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
50470 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
50471 if (!SWIG_IsOK(ecode2
)) {
50472 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_SetBorder" "', expected argument " "2"" of type '" "int""'");
50474 arg2
= static_cast< int >(val2
);
50476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50477 (arg1
)->SetBorder(arg2
);
50478 wxPyEndAllowThreads(__tstate
);
50479 if (PyErr_Occurred()) SWIG_fail
;
50481 resultobj
= SWIG_Py_Void();
50488 SWIGINTERN PyObject
*_wrap_SizerItem_GetBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50489 PyObject
*resultobj
= 0;
50490 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
50494 PyObject
*swig_obj
[1] ;
50496 if (!args
) SWIG_fail
;
50497 swig_obj
[0] = args
;
50498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
50499 if (!SWIG_IsOK(res1
)) {
50500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetBorder" "', expected argument " "1"" of type '" "wxSizerItem *""'");
50502 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
50504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50505 result
= (int)(arg1
)->GetBorder();
50506 wxPyEndAllowThreads(__tstate
);
50507 if (PyErr_Occurred()) SWIG_fail
;
50509 resultobj
= SWIG_From_int(static_cast< int >(result
));
50516 SWIGINTERN PyObject
*_wrap_SizerItem_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50517 PyObject
*resultobj
= 0;
50518 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
50519 wxWindow
*result
= 0 ;
50522 PyObject
*swig_obj
[1] ;
50524 if (!args
) SWIG_fail
;
50525 swig_obj
[0] = args
;
50526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
50527 if (!SWIG_IsOK(res1
)) {
50528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetWindow" "', expected argument " "1"" of type '" "wxSizerItem *""'");
50530 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
50532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50533 result
= (wxWindow
*)(arg1
)->GetWindow();
50534 wxPyEndAllowThreads(__tstate
);
50535 if (PyErr_Occurred()) SWIG_fail
;
50538 resultobj
= wxPyMake_wxObject(result
, 0);
50546 SWIGINTERN PyObject
*_wrap_SizerItem_GetSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50547 PyObject
*resultobj
= 0;
50548 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
50549 wxSizer
*result
= 0 ;
50552 PyObject
*swig_obj
[1] ;
50554 if (!args
) SWIG_fail
;
50555 swig_obj
[0] = args
;
50556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
50557 if (!SWIG_IsOK(res1
)) {
50558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetSizer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
50560 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
50562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50563 result
= (wxSizer
*)(arg1
)->GetSizer();
50564 wxPyEndAllowThreads(__tstate
);
50565 if (PyErr_Occurred()) SWIG_fail
;
50568 resultobj
= wxPyMake_wxObject(result
, (bool)0);
50576 SWIGINTERN PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50577 PyObject
*resultobj
= 0;
50578 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
50582 PyObject
*swig_obj
[1] ;
50584 if (!args
) SWIG_fail
;
50585 swig_obj
[0] = args
;
50586 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
50587 if (!SWIG_IsOK(res1
)) {
50588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetSpacer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
50590 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
50592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50593 result
= (arg1
)->GetSpacer();
50594 wxPyEndAllowThreads(__tstate
);
50595 if (PyErr_Occurred()) SWIG_fail
;
50597 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
50604 SWIGINTERN PyObject
*_wrap_SizerItem_SetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50605 PyObject
*resultobj
= 0;
50606 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
50607 wxWindow
*arg2
= (wxWindow
*) 0 ;
50612 PyObject
* obj0
= 0 ;
50613 PyObject
* obj1
= 0 ;
50614 char * kwnames
[] = {
50615 (char *) "self",(char *) "window", NULL
50618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
50620 if (!SWIG_IsOK(res1
)) {
50621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetWindow" "', expected argument " "1"" of type '" "wxSizerItem *""'");
50623 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
50624 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
50625 if (!SWIG_IsOK(res2
)) {
50626 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SizerItem_SetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
50628 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
50630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50631 (arg1
)->SetWindow(arg2
);
50632 wxPyEndAllowThreads(__tstate
);
50633 if (PyErr_Occurred()) SWIG_fail
;
50635 resultobj
= SWIG_Py_Void();
50642 SWIGINTERN PyObject
*_wrap_SizerItem_SetSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50643 PyObject
*resultobj
= 0;
50644 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
50645 wxSizer
*arg2
= (wxSizer
*) 0 ;
50649 PyObject
* obj0
= 0 ;
50650 PyObject
* obj1
= 0 ;
50651 char * kwnames
[] = {
50652 (char *) "self",(char *) "sizer", NULL
50655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
50657 if (!SWIG_IsOK(res1
)) {
50658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetSizer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
50660 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
50661 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxSizer
, SWIG_POINTER_DISOWN
| 0 );
50662 if (!SWIG_IsOK(res2
)) {
50663 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SizerItem_SetSizer" "', expected argument " "2"" of type '" "wxSizer *""'");
50666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50667 (arg1
)->SetSizer(arg2
);
50668 wxPyEndAllowThreads(__tstate
);
50669 if (PyErr_Occurred()) SWIG_fail
;
50671 resultobj
= SWIG_Py_Void();
50678 SWIGINTERN PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50679 PyObject
*resultobj
= 0;
50680 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
50685 PyObject
* obj0
= 0 ;
50686 PyObject
* obj1
= 0 ;
50687 char * kwnames
[] = {
50688 (char *) "self",(char *) "size", NULL
50691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
50693 if (!SWIG_IsOK(res1
)) {
50694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetSpacer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
50696 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
50699 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
50702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50703 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
50704 wxPyEndAllowThreads(__tstate
);
50705 if (PyErr_Occurred()) SWIG_fail
;
50707 resultobj
= SWIG_Py_Void();
50714 SWIGINTERN PyObject
*_wrap_SizerItem_AssignWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50715 PyObject
*resultobj
= 0;
50716 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
50717 wxWindow
*arg2
= (wxWindow
*) 0 ;
50722 PyObject
* obj0
= 0 ;
50723 PyObject
* obj1
= 0 ;
50724 char * kwnames
[] = {
50725 (char *) "self",(char *) "window", NULL
50728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_AssignWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
50730 if (!SWIG_IsOK(res1
)) {
50731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_AssignWindow" "', expected argument " "1"" of type '" "wxSizerItem *""'");
50733 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
50734 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
50735 if (!SWIG_IsOK(res2
)) {
50736 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SizerItem_AssignWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
50738 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
50740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50741 (arg1
)->AssignWindow(arg2
);
50742 wxPyEndAllowThreads(__tstate
);
50743 if (PyErr_Occurred()) SWIG_fail
;
50745 resultobj
= SWIG_Py_Void();
50752 SWIGINTERN PyObject
*_wrap_SizerItem_AssignSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50753 PyObject
*resultobj
= 0;
50754 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
50755 wxSizer
*arg2
= (wxSizer
*) 0 ;
50760 PyObject
* obj0
= 0 ;
50761 PyObject
* obj1
= 0 ;
50762 char * kwnames
[] = {
50763 (char *) "self",(char *) "sizer", NULL
50766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_AssignSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
50768 if (!SWIG_IsOK(res1
)) {
50769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_AssignSizer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
50771 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
50772 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50773 if (!SWIG_IsOK(res2
)) {
50774 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SizerItem_AssignSizer" "', expected argument " "2"" of type '" "wxSizer *""'");
50776 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
50778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50779 (arg1
)->AssignSizer(arg2
);
50780 wxPyEndAllowThreads(__tstate
);
50781 if (PyErr_Occurred()) SWIG_fail
;
50783 resultobj
= SWIG_Py_Void();
50790 SWIGINTERN PyObject
*_wrap_SizerItem_AssignSpacer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50791 PyObject
*resultobj
= 0;
50792 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
50797 PyObject
* obj0
= 0 ;
50798 PyObject
* obj1
= 0 ;
50799 char * kwnames
[] = {
50800 (char *) "self",(char *) "size", NULL
50803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_AssignSpacer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
50805 if (!SWIG_IsOK(res1
)) {
50806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_AssignSpacer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
50808 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
50811 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
50814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50815 (arg1
)->AssignSpacer((wxSize
const &)*arg2
);
50816 wxPyEndAllowThreads(__tstate
);
50817 if (PyErr_Occurred()) SWIG_fail
;
50819 resultobj
= SWIG_Py_Void();
50826 SWIGINTERN PyObject
*_wrap_SizerItem_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50827 PyObject
*resultobj
= 0;
50828 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
50834 PyObject
* obj0
= 0 ;
50835 PyObject
* obj1
= 0 ;
50836 char * kwnames
[] = {
50837 (char *) "self",(char *) "show", NULL
50840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
50842 if (!SWIG_IsOK(res1
)) {
50843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_Show" "', expected argument " "1"" of type '" "wxSizerItem *""'");
50845 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
50846 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
50847 if (!SWIG_IsOK(ecode2
)) {
50848 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_Show" "', expected argument " "2"" of type '" "bool""'");
50850 arg2
= static_cast< bool >(val2
);
50852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50853 (arg1
)->Show(arg2
);
50854 wxPyEndAllowThreads(__tstate
);
50855 if (PyErr_Occurred()) SWIG_fail
;
50857 resultobj
= SWIG_Py_Void();
50864 SWIGINTERN PyObject
*_wrap_SizerItem_IsShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50865 PyObject
*resultobj
= 0;
50866 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
50870 PyObject
*swig_obj
[1] ;
50872 if (!args
) SWIG_fail
;
50873 swig_obj
[0] = args
;
50874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
50875 if (!SWIG_IsOK(res1
)) {
50876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_IsShown" "', expected argument " "1"" of type '" "wxSizerItem *""'");
50878 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
50880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50881 result
= (bool)(arg1
)->IsShown();
50882 wxPyEndAllowThreads(__tstate
);
50883 if (PyErr_Occurred()) SWIG_fail
;
50886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
50894 SWIGINTERN PyObject
*_wrap_SizerItem_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50895 PyObject
*resultobj
= 0;
50896 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
50900 PyObject
*swig_obj
[1] ;
50902 if (!args
) SWIG_fail
;
50903 swig_obj
[0] = args
;
50904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
50905 if (!SWIG_IsOK(res1
)) {
50906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetPosition" "', expected argument " "1"" of type '" "wxSizerItem *""'");
50908 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
50910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50911 result
= (arg1
)->GetPosition();
50912 wxPyEndAllowThreads(__tstate
);
50913 if (PyErr_Occurred()) SWIG_fail
;
50915 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
50922 SWIGINTERN PyObject
*_wrap_SizerItem_GetUserData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50923 PyObject
*resultobj
= 0;
50924 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
50925 PyObject
*result
= 0 ;
50928 PyObject
*swig_obj
[1] ;
50930 if (!args
) SWIG_fail
;
50931 swig_obj
[0] = args
;
50932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
50933 if (!SWIG_IsOK(res1
)) {
50934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetUserData" "', expected argument " "1"" of type '" "wxSizerItem *""'");
50936 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
50938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50939 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
50940 wxPyEndAllowThreads(__tstate
);
50941 if (PyErr_Occurred()) SWIG_fail
;
50943 resultobj
= result
;
50950 SWIGINTERN PyObject
*_wrap_SizerItem_SetUserData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50951 PyObject
*resultobj
= 0;
50952 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
50953 PyObject
*arg2
= (PyObject
*) 0 ;
50956 PyObject
* obj0
= 0 ;
50957 PyObject
* obj1
= 0 ;
50958 char * kwnames
[] = {
50959 (char *) "self",(char *) "userData", NULL
50962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetUserData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
50964 if (!SWIG_IsOK(res1
)) {
50965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetUserData" "', expected argument " "1"" of type '" "wxSizerItem *""'");
50967 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
50970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50971 wxSizerItem_SetUserData(arg1
,arg2
);
50972 wxPyEndAllowThreads(__tstate
);
50973 if (PyErr_Occurred()) SWIG_fail
;
50975 resultobj
= SWIG_Py_Void();
50982 SWIGINTERN PyObject
*SizerItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50984 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
50985 SWIG_TypeNewClientData(SWIGTYPE_p_wxSizerItem
, SWIG_NewClientData(obj
));
50986 return SWIG_Py_Void();
50989 SWIGINTERN PyObject
*SizerItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50990 return SWIG_Python_InitShadowInstance(args
);
50993 SWIGINTERN PyObject
*_wrap_delete_Sizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50994 PyObject
*resultobj
= 0;
50995 wxSizer
*arg1
= (wxSizer
*) 0 ;
50998 PyObject
*swig_obj
[1] ;
51000 if (!args
) SWIG_fail
;
51001 swig_obj
[0] = args
;
51002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, SWIG_POINTER_DISOWN
| 0 );
51003 if (!SWIG_IsOK(res1
)) {
51004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Sizer" "', expected argument " "1"" of type '" "wxSizer *""'");
51006 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
51008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51011 wxPyEndAllowThreads(__tstate
);
51012 if (PyErr_Occurred()) SWIG_fail
;
51014 resultobj
= SWIG_Py_Void();
51021 SWIGINTERN PyObject
*_wrap_Sizer__setOORInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51022 PyObject
*resultobj
= 0;
51023 wxSizer
*arg1
= (wxSizer
*) 0 ;
51024 PyObject
*arg2
= (PyObject
*) 0 ;
51027 PyObject
* obj0
= 0 ;
51028 PyObject
* obj1
= 0 ;
51029 char * kwnames
[] = {
51030 (char *) "self",(char *) "_self", NULL
51033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
51035 if (!SWIG_IsOK(res1
)) {
51036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer__setOORInfo" "', expected argument " "1"" of type '" "wxSizer *""'");
51038 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
51041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51042 wxSizer__setOORInfo(arg1
,arg2
);
51043 wxPyEndAllowThreads(__tstate
);
51044 if (PyErr_Occurred()) SWIG_fail
;
51046 resultobj
= SWIG_Py_Void();
51053 SWIGINTERN PyObject
*_wrap_Sizer_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51054 PyObject
*resultobj
= 0;
51055 wxSizer
*arg1
= (wxSizer
*) 0 ;
51056 PyObject
*arg2
= (PyObject
*) 0 ;
51057 int arg3
= (int) 0 ;
51058 int arg4
= (int) 0 ;
51059 int arg5
= (int) 0 ;
51060 PyObject
*arg6
= (PyObject
*) NULL
;
51061 wxSizerItem
*result
= 0 ;
51070 PyObject
* obj0
= 0 ;
51071 PyObject
* obj1
= 0 ;
51072 PyObject
* obj2
= 0 ;
51073 PyObject
* obj3
= 0 ;
51074 PyObject
* obj4
= 0 ;
51075 PyObject
* obj5
= 0 ;
51076 char * kwnames
[] = {
51077 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
51080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
51081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
51082 if (!SWIG_IsOK(res1
)) {
51083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Add" "', expected argument " "1"" of type '" "wxSizer *""'");
51085 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
51088 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
51089 if (!SWIG_IsOK(ecode3
)) {
51090 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Sizer_Add" "', expected argument " "3"" of type '" "int""'");
51092 arg3
= static_cast< int >(val3
);
51095 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
51096 if (!SWIG_IsOK(ecode4
)) {
51097 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Sizer_Add" "', expected argument " "4"" of type '" "int""'");
51099 arg4
= static_cast< int >(val4
);
51102 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
51103 if (!SWIG_IsOK(ecode5
)) {
51104 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Sizer_Add" "', expected argument " "5"" of type '" "int""'");
51106 arg5
= static_cast< int >(val5
);
51112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51113 result
= (wxSizerItem
*)wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
51114 wxPyEndAllowThreads(__tstate
);
51115 if (PyErr_Occurred()) SWIG_fail
;
51117 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
51124 SWIGINTERN PyObject
*_wrap_Sizer_AddF(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51125 PyObject
*resultobj
= 0;
51126 wxSizer
*arg1
= (wxSizer
*) 0 ;
51127 PyObject
*arg2
= (PyObject
*) 0 ;
51128 wxSizerFlags
*arg3
= 0 ;
51129 wxSizerItem
*result
= 0 ;
51134 PyObject
* obj0
= 0 ;
51135 PyObject
* obj1
= 0 ;
51136 PyObject
* obj2
= 0 ;
51137 char * kwnames
[] = {
51138 (char *) "self",(char *) "item",(char *) "flags", NULL
51141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_AddF",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
51142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
51143 if (!SWIG_IsOK(res1
)) {
51144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_AddF" "', expected argument " "1"" of type '" "wxSizer *""'");
51146 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
51148 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxSizerFlags
, 0 );
51149 if (!SWIG_IsOK(res3
)) {
51150 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Sizer_AddF" "', expected argument " "3"" of type '" "wxSizerFlags &""'");
51153 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Sizer_AddF" "', expected argument " "3"" of type '" "wxSizerFlags &""'");
51155 arg3
= reinterpret_cast< wxSizerFlags
* >(argp3
);
51157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51158 result
= (wxSizerItem
*)wxSizer_AddF(arg1
,arg2
,*arg3
);
51159 wxPyEndAllowThreads(__tstate
);
51160 if (PyErr_Occurred()) SWIG_fail
;
51162 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
51169 SWIGINTERN PyObject
*_wrap_Sizer_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51170 PyObject
*resultobj
= 0;
51171 wxSizer
*arg1
= (wxSizer
*) 0 ;
51173 PyObject
*arg3
= (PyObject
*) 0 ;
51174 int arg4
= (int) 0 ;
51175 int arg5
= (int) 0 ;
51176 int arg6
= (int) 0 ;
51177 PyObject
*arg7
= (PyObject
*) NULL
;
51178 wxSizerItem
*result
= 0 ;
51189 PyObject
* obj0
= 0 ;
51190 PyObject
* obj1
= 0 ;
51191 PyObject
* obj2
= 0 ;
51192 PyObject
* obj3
= 0 ;
51193 PyObject
* obj4
= 0 ;
51194 PyObject
* obj5
= 0 ;
51195 PyObject
* obj6
= 0 ;
51196 char * kwnames
[] = {
51197 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
51200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
51201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
51202 if (!SWIG_IsOK(res1
)) {
51203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Insert" "', expected argument " "1"" of type '" "wxSizer *""'");
51205 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
51206 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
51207 if (!SWIG_IsOK(ecode2
)) {
51208 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sizer_Insert" "', expected argument " "2"" of type '" "int""'");
51210 arg2
= static_cast< int >(val2
);
51213 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
51214 if (!SWIG_IsOK(ecode4
)) {
51215 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Sizer_Insert" "', expected argument " "4"" of type '" "int""'");
51217 arg4
= static_cast< int >(val4
);
51220 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
51221 if (!SWIG_IsOK(ecode5
)) {
51222 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Sizer_Insert" "', expected argument " "5"" of type '" "int""'");
51224 arg5
= static_cast< int >(val5
);
51227 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
51228 if (!SWIG_IsOK(ecode6
)) {
51229 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Sizer_Insert" "', expected argument " "6"" of type '" "int""'");
51231 arg6
= static_cast< int >(val6
);
51237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51238 result
= (wxSizerItem
*)wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
51239 wxPyEndAllowThreads(__tstate
);
51240 if (PyErr_Occurred()) SWIG_fail
;
51242 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
51249 SWIGINTERN PyObject
*_wrap_Sizer_InsertF(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51250 PyObject
*resultobj
= 0;
51251 wxSizer
*arg1
= (wxSizer
*) 0 ;
51253 PyObject
*arg3
= (PyObject
*) 0 ;
51254 wxSizerFlags
*arg4
= 0 ;
51255 wxSizerItem
*result
= 0 ;
51262 PyObject
* obj0
= 0 ;
51263 PyObject
* obj1
= 0 ;
51264 PyObject
* obj2
= 0 ;
51265 PyObject
* obj3
= 0 ;
51266 char * kwnames
[] = {
51267 (char *) "self",(char *) "before",(char *) "item",(char *) "flags", NULL
51270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Sizer_InsertF",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
51271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
51272 if (!SWIG_IsOK(res1
)) {
51273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_InsertF" "', expected argument " "1"" of type '" "wxSizer *""'");
51275 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
51276 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
51277 if (!SWIG_IsOK(ecode2
)) {
51278 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sizer_InsertF" "', expected argument " "2"" of type '" "int""'");
51280 arg2
= static_cast< int >(val2
);
51282 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxSizerFlags
, 0 );
51283 if (!SWIG_IsOK(res4
)) {
51284 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Sizer_InsertF" "', expected argument " "4"" of type '" "wxSizerFlags &""'");
51287 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Sizer_InsertF" "', expected argument " "4"" of type '" "wxSizerFlags &""'");
51289 arg4
= reinterpret_cast< wxSizerFlags
* >(argp4
);
51291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51292 result
= (wxSizerItem
*)wxSizer_InsertF(arg1
,arg2
,arg3
,*arg4
);
51293 wxPyEndAllowThreads(__tstate
);
51294 if (PyErr_Occurred()) SWIG_fail
;
51296 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
51303 SWIGINTERN PyObject
*_wrap_Sizer_Prepend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51304 PyObject
*resultobj
= 0;
51305 wxSizer
*arg1
= (wxSizer
*) 0 ;
51306 PyObject
*arg2
= (PyObject
*) 0 ;
51307 int arg3
= (int) 0 ;
51308 int arg4
= (int) 0 ;
51309 int arg5
= (int) 0 ;
51310 PyObject
*arg6
= (PyObject
*) NULL
;
51311 wxSizerItem
*result
= 0 ;
51320 PyObject
* obj0
= 0 ;
51321 PyObject
* obj1
= 0 ;
51322 PyObject
* obj2
= 0 ;
51323 PyObject
* obj3
= 0 ;
51324 PyObject
* obj4
= 0 ;
51325 PyObject
* obj5
= 0 ;
51326 char * kwnames
[] = {
51327 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
51330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
51331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
51332 if (!SWIG_IsOK(res1
)) {
51333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Prepend" "', expected argument " "1"" of type '" "wxSizer *""'");
51335 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
51338 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
51339 if (!SWIG_IsOK(ecode3
)) {
51340 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Sizer_Prepend" "', expected argument " "3"" of type '" "int""'");
51342 arg3
= static_cast< int >(val3
);
51345 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
51346 if (!SWIG_IsOK(ecode4
)) {
51347 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Sizer_Prepend" "', expected argument " "4"" of type '" "int""'");
51349 arg4
= static_cast< int >(val4
);
51352 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
51353 if (!SWIG_IsOK(ecode5
)) {
51354 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Sizer_Prepend" "', expected argument " "5"" of type '" "int""'");
51356 arg5
= static_cast< int >(val5
);
51362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51363 result
= (wxSizerItem
*)wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
51364 wxPyEndAllowThreads(__tstate
);
51365 if (PyErr_Occurred()) SWIG_fail
;
51367 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
51374 SWIGINTERN PyObject
*_wrap_Sizer_PrependF(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51375 PyObject
*resultobj
= 0;
51376 wxSizer
*arg1
= (wxSizer
*) 0 ;
51377 PyObject
*arg2
= (PyObject
*) 0 ;
51378 wxSizerFlags
*arg3
= 0 ;
51379 wxSizerItem
*result
= 0 ;
51384 PyObject
* obj0
= 0 ;
51385 PyObject
* obj1
= 0 ;
51386 PyObject
* obj2
= 0 ;
51387 char * kwnames
[] = {
51388 (char *) "self",(char *) "item",(char *) "flags", NULL
51391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_PrependF",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
51392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
51393 if (!SWIG_IsOK(res1
)) {
51394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_PrependF" "', expected argument " "1"" of type '" "wxSizer *""'");
51396 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
51398 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxSizerFlags
, 0 );
51399 if (!SWIG_IsOK(res3
)) {
51400 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Sizer_PrependF" "', expected argument " "3"" of type '" "wxSizerFlags &""'");
51403 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Sizer_PrependF" "', expected argument " "3"" of type '" "wxSizerFlags &""'");
51405 arg3
= reinterpret_cast< wxSizerFlags
* >(argp3
);
51407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51408 result
= (wxSizerItem
*)wxSizer_PrependF(arg1
,arg2
,*arg3
);
51409 wxPyEndAllowThreads(__tstate
);
51410 if (PyErr_Occurred()) SWIG_fail
;
51412 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
51419 SWIGINTERN PyObject
*_wrap_Sizer_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51420 PyObject
*resultobj
= 0;
51421 wxSizer
*arg1
= (wxSizer
*) 0 ;
51422 PyObject
*arg2
= (PyObject
*) 0 ;
51426 PyObject
* obj0
= 0 ;
51427 PyObject
* obj1
= 0 ;
51428 char * kwnames
[] = {
51429 (char *) "self",(char *) "item", NULL
51432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
51434 if (!SWIG_IsOK(res1
)) {
51435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Remove" "', expected argument " "1"" of type '" "wxSizer *""'");
51437 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
51440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51441 result
= (bool)wxSizer_Remove(arg1
,arg2
);
51442 wxPyEndAllowThreads(__tstate
);
51443 if (PyErr_Occurred()) SWIG_fail
;
51446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
51454 SWIGINTERN PyObject
*_wrap_Sizer_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51455 PyObject
*resultobj
= 0;
51456 wxSizer
*arg1
= (wxSizer
*) 0 ;
51457 PyObject
*arg2
= (PyObject
*) 0 ;
51461 PyObject
* obj0
= 0 ;
51462 PyObject
* obj1
= 0 ;
51463 char * kwnames
[] = {
51464 (char *) "self",(char *) "item", NULL
51467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
51469 if (!SWIG_IsOK(res1
)) {
51470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Detach" "', expected argument " "1"" of type '" "wxSizer *""'");
51472 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
51475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51476 result
= (bool)wxSizer_Detach(arg1
,arg2
);
51477 wxPyEndAllowThreads(__tstate
);
51478 if (PyErr_Occurred()) SWIG_fail
;
51481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
51489 SWIGINTERN PyObject
*_wrap_Sizer_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51490 PyObject
*resultobj
= 0;
51491 wxSizer
*arg1
= (wxSizer
*) 0 ;
51492 PyObject
*arg2
= (PyObject
*) 0 ;
51493 bool arg3
= (bool) false ;
51494 wxSizerItem
*result
= 0 ;
51499 PyObject
* obj0
= 0 ;
51500 PyObject
* obj1
= 0 ;
51501 PyObject
* obj2
= 0 ;
51502 char * kwnames
[] = {
51503 (char *) "self",(char *) "item",(char *) "recursive", NULL
51506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Sizer_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
51507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
51508 if (!SWIG_IsOK(res1
)) {
51509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_GetItem" "', expected argument " "1"" of type '" "wxSizer *""'");
51511 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
51514 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
51515 if (!SWIG_IsOK(ecode3
)) {
51516 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Sizer_GetItem" "', expected argument " "3"" of type '" "bool""'");
51518 arg3
= static_cast< bool >(val3
);
51521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51522 result
= (wxSizerItem
*)wxSizer_GetItem(arg1
,arg2
,arg3
);
51523 wxPyEndAllowThreads(__tstate
);
51524 if (PyErr_Occurred()) SWIG_fail
;
51526 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
51533 SWIGINTERN PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51534 PyObject
*resultobj
= 0;
51535 wxSizer
*arg1
= (wxSizer
*) 0 ;
51536 PyObject
*arg2
= (PyObject
*) 0 ;
51541 PyObject
* obj0
= 0 ;
51542 PyObject
* obj1
= 0 ;
51543 PyObject
* obj2
= 0 ;
51544 char * kwnames
[] = {
51545 (char *) "self",(char *) "item",(char *) "size", NULL
51548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
51549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
51550 if (!SWIG_IsOK(res1
)) {
51551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer__SetItemMinSize" "', expected argument " "1"" of type '" "wxSizer *""'");
51553 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
51557 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
51560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51561 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
51562 wxPyEndAllowThreads(__tstate
);
51563 if (PyErr_Occurred()) SWIG_fail
;
51565 resultobj
= SWIG_Py_Void();
51572 SWIGINTERN PyObject
*_wrap_Sizer__ReplaceWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51573 PyObject
*resultobj
= 0;
51574 wxSizer
*arg1
= (wxSizer
*) 0 ;
51575 wxWindow
*arg2
= (wxWindow
*) 0 ;
51576 wxWindow
*arg3
= (wxWindow
*) 0 ;
51577 bool arg4
= (bool) false ;
51587 PyObject
* obj0
= 0 ;
51588 PyObject
* obj1
= 0 ;
51589 PyObject
* obj2
= 0 ;
51590 PyObject
* obj3
= 0 ;
51591 char * kwnames
[] = {
51592 (char *) "self",(char *) "oldwin",(char *) "newwin",(char *) "recursive", NULL
51595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Sizer__ReplaceWin",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
51596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
51597 if (!SWIG_IsOK(res1
)) {
51598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer__ReplaceWin" "', expected argument " "1"" of type '" "wxSizer *""'");
51600 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
51601 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
51602 if (!SWIG_IsOK(res2
)) {
51603 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer__ReplaceWin" "', expected argument " "2"" of type '" "wxWindow *""'");
51605 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
51606 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
51607 if (!SWIG_IsOK(res3
)) {
51608 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Sizer__ReplaceWin" "', expected argument " "3"" of type '" "wxWindow *""'");
51610 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
51612 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
51613 if (!SWIG_IsOK(ecode4
)) {
51614 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Sizer__ReplaceWin" "', expected argument " "4"" of type '" "bool""'");
51616 arg4
= static_cast< bool >(val4
);
51619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51620 result
= (bool)(arg1
)->Replace(arg2
,arg3
,arg4
);
51621 wxPyEndAllowThreads(__tstate
);
51622 if (PyErr_Occurred()) SWIG_fail
;
51625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
51633 SWIGINTERN PyObject
*_wrap_Sizer__ReplaceSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51634 PyObject
*resultobj
= 0;
51635 wxSizer
*arg1
= (wxSizer
*) 0 ;
51636 wxSizer
*arg2
= (wxSizer
*) 0 ;
51637 wxSizer
*arg3
= (wxSizer
*) 0 ;
51638 bool arg4
= (bool) false ;
51648 PyObject
* obj0
= 0 ;
51649 PyObject
* obj1
= 0 ;
51650 PyObject
* obj2
= 0 ;
51651 PyObject
* obj3
= 0 ;
51652 char * kwnames
[] = {
51653 (char *) "self",(char *) "oldsz",(char *) "newsz",(char *) "recursive", NULL
51656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Sizer__ReplaceSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
51657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
51658 if (!SWIG_IsOK(res1
)) {
51659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer__ReplaceSizer" "', expected argument " "1"" of type '" "wxSizer *""'");
51661 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
51662 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
51663 if (!SWIG_IsOK(res2
)) {
51664 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer__ReplaceSizer" "', expected argument " "2"" of type '" "wxSizer *""'");
51666 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
51667 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxSizer
, 0 | 0 );
51668 if (!SWIG_IsOK(res3
)) {
51669 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Sizer__ReplaceSizer" "', expected argument " "3"" of type '" "wxSizer *""'");
51671 arg3
= reinterpret_cast< wxSizer
* >(argp3
);
51673 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
51674 if (!SWIG_IsOK(ecode4
)) {
51675 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Sizer__ReplaceSizer" "', expected argument " "4"" of type '" "bool""'");
51677 arg4
= static_cast< bool >(val4
);
51680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51681 result
= (bool)(arg1
)->Replace(arg2
,arg3
,arg4
);
51682 wxPyEndAllowThreads(__tstate
);
51683 if (PyErr_Occurred()) SWIG_fail
;
51686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
51694 SWIGINTERN PyObject
*_wrap_Sizer__ReplaceItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51695 PyObject
*resultobj
= 0;
51696 wxSizer
*arg1
= (wxSizer
*) 0 ;
51698 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
51706 PyObject
* obj0
= 0 ;
51707 PyObject
* obj1
= 0 ;
51708 PyObject
* obj2
= 0 ;
51709 char * kwnames
[] = {
51710 (char *) "self",(char *) "index",(char *) "newitem", NULL
51713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__ReplaceItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
51714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
51715 if (!SWIG_IsOK(res1
)) {
51716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer__ReplaceItem" "', expected argument " "1"" of type '" "wxSizer *""'");
51718 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
51719 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
51720 if (!SWIG_IsOK(ecode2
)) {
51721 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sizer__ReplaceItem" "', expected argument " "2"" of type '" "size_t""'");
51723 arg2
= static_cast< size_t >(val2
);
51724 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
51725 if (!SWIG_IsOK(res3
)) {
51726 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Sizer__ReplaceItem" "', expected argument " "3"" of type '" "wxSizerItem *""'");
51728 arg3
= reinterpret_cast< wxSizerItem
* >(argp3
);
51730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51731 result
= (bool)(arg1
)->Replace(arg2
,arg3
);
51732 wxPyEndAllowThreads(__tstate
);
51733 if (PyErr_Occurred()) SWIG_fail
;
51736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
51744 SWIGINTERN PyObject
*_wrap_Sizer_SetContainingWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51745 PyObject
*resultobj
= 0;
51746 wxSizer
*arg1
= (wxSizer
*) 0 ;
51747 wxWindow
*arg2
= (wxWindow
*) 0 ;
51752 PyObject
* obj0
= 0 ;
51753 PyObject
* obj1
= 0 ;
51754 char * kwnames
[] = {
51755 (char *) "self",(char *) "window", NULL
51758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetContainingWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
51760 if (!SWIG_IsOK(res1
)) {
51761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_SetContainingWindow" "', expected argument " "1"" of type '" "wxSizer *""'");
51763 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
51764 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
51765 if (!SWIG_IsOK(res2
)) {
51766 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_SetContainingWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
51768 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
51770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51771 (arg1
)->SetContainingWindow(arg2
);
51772 wxPyEndAllowThreads(__tstate
);
51773 if (PyErr_Occurred()) SWIG_fail
;
51775 resultobj
= SWIG_Py_Void();
51782 SWIGINTERN PyObject
*_wrap_Sizer_GetContainingWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51783 PyObject
*resultobj
= 0;
51784 wxSizer
*arg1
= (wxSizer
*) 0 ;
51785 wxWindow
*result
= 0 ;
51788 PyObject
*swig_obj
[1] ;
51790 if (!args
) SWIG_fail
;
51791 swig_obj
[0] = args
;
51792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
51793 if (!SWIG_IsOK(res1
)) {
51794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_GetContainingWindow" "', expected argument " "1"" of type '" "wxSizer const *""'");
51796 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
51798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51799 result
= (wxWindow
*)((wxSizer
const *)arg1
)->GetContainingWindow();
51800 wxPyEndAllowThreads(__tstate
);
51801 if (PyErr_Occurred()) SWIG_fail
;
51804 resultobj
= wxPyMake_wxObject(result
, 0);
51812 SWIGINTERN PyObject
*_wrap_Sizer_AddItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51813 PyObject
*resultobj
= 0;
51814 wxSizer
*arg1
= (wxSizer
*) 0 ;
51815 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
51816 wxSizerItem
*result
= 0 ;
51820 PyObject
* obj0
= 0 ;
51821 PyObject
* obj1
= 0 ;
51822 char * kwnames
[] = {
51823 (char *) "self",(char *) "item", NULL
51826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
51828 if (!SWIG_IsOK(res1
)) {
51829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_AddItem" "', expected argument " "1"" of type '" "wxSizer *""'");
51831 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
51832 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_DISOWN
| 0 );
51833 if (!SWIG_IsOK(res2
)) {
51834 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_AddItem" "', expected argument " "2"" of type '" "wxSizerItem *""'");
51837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51838 result
= (wxSizerItem
*)(arg1
)->Add(arg2
);
51839 wxPyEndAllowThreads(__tstate
);
51840 if (PyErr_Occurred()) SWIG_fail
;
51842 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
51849 SWIGINTERN PyObject
*_wrap_Sizer_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51850 PyObject
*resultobj
= 0;
51851 wxSizer
*arg1
= (wxSizer
*) 0 ;
51853 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
51854 wxSizerItem
*result
= 0 ;
51860 PyObject
* obj0
= 0 ;
51861 PyObject
* obj1
= 0 ;
51862 PyObject
* obj2
= 0 ;
51863 char * kwnames
[] = {
51864 (char *) "self",(char *) "index",(char *) "item", NULL
51867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
51868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
51869 if (!SWIG_IsOK(res1
)) {
51870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_InsertItem" "', expected argument " "1"" of type '" "wxSizer *""'");
51872 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
51873 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
51874 if (!SWIG_IsOK(ecode2
)) {
51875 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sizer_InsertItem" "', expected argument " "2"" of type '" "size_t""'");
51877 arg2
= static_cast< size_t >(val2
);
51878 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_DISOWN
| 0 );
51879 if (!SWIG_IsOK(res3
)) {
51880 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Sizer_InsertItem" "', expected argument " "3"" of type '" "wxSizerItem *""'");
51883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51884 result
= (wxSizerItem
*)(arg1
)->Insert(arg2
,arg3
);
51885 wxPyEndAllowThreads(__tstate
);
51886 if (PyErr_Occurred()) SWIG_fail
;
51888 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
51895 SWIGINTERN PyObject
*_wrap_Sizer_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51896 PyObject
*resultobj
= 0;
51897 wxSizer
*arg1
= (wxSizer
*) 0 ;
51898 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
51899 wxSizerItem
*result
= 0 ;
51903 PyObject
* obj0
= 0 ;
51904 PyObject
* obj1
= 0 ;
51905 char * kwnames
[] = {
51906 (char *) "self",(char *) "item", NULL
51909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
51911 if (!SWIG_IsOK(res1
)) {
51912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_PrependItem" "', expected argument " "1"" of type '" "wxSizer *""'");
51914 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
51915 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_DISOWN
| 0 );
51916 if (!SWIG_IsOK(res2
)) {
51917 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_PrependItem" "', expected argument " "2"" of type '" "wxSizerItem *""'");
51920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51921 result
= (wxSizerItem
*)(arg1
)->Prepend(arg2
);
51922 wxPyEndAllowThreads(__tstate
);
51923 if (PyErr_Occurred()) SWIG_fail
;
51925 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
51932 SWIGINTERN PyObject
*_wrap_Sizer_SetDimension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51933 PyObject
*resultobj
= 0;
51934 wxSizer
*arg1
= (wxSizer
*) 0 ;
51949 PyObject
* obj0
= 0 ;
51950 PyObject
* obj1
= 0 ;
51951 PyObject
* obj2
= 0 ;
51952 PyObject
* obj3
= 0 ;
51953 PyObject
* obj4
= 0 ;
51954 char * kwnames
[] = {
51955 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
51958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
51959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
51960 if (!SWIG_IsOK(res1
)) {
51961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_SetDimension" "', expected argument " "1"" of type '" "wxSizer *""'");
51963 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
51964 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
51965 if (!SWIG_IsOK(ecode2
)) {
51966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sizer_SetDimension" "', expected argument " "2"" of type '" "int""'");
51968 arg2
= static_cast< int >(val2
);
51969 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
51970 if (!SWIG_IsOK(ecode3
)) {
51971 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Sizer_SetDimension" "', expected argument " "3"" of type '" "int""'");
51973 arg3
= static_cast< int >(val3
);
51974 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
51975 if (!SWIG_IsOK(ecode4
)) {
51976 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Sizer_SetDimension" "', expected argument " "4"" of type '" "int""'");
51978 arg4
= static_cast< int >(val4
);
51979 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
51980 if (!SWIG_IsOK(ecode5
)) {
51981 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Sizer_SetDimension" "', expected argument " "5"" of type '" "int""'");
51983 arg5
= static_cast< int >(val5
);
51985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51986 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
51987 wxPyEndAllowThreads(__tstate
);
51988 if (PyErr_Occurred()) SWIG_fail
;
51990 resultobj
= SWIG_Py_Void();
51997 SWIGINTERN PyObject
*_wrap_Sizer_SetMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51998 PyObject
*resultobj
= 0;
51999 wxSizer
*arg1
= (wxSizer
*) 0 ;
52004 PyObject
* obj0
= 0 ;
52005 PyObject
* obj1
= 0 ;
52006 char * kwnames
[] = {
52007 (char *) "self",(char *) "size", NULL
52010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
52011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
52012 if (!SWIG_IsOK(res1
)) {
52013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_SetMinSize" "', expected argument " "1"" of type '" "wxSizer *""'");
52015 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
52018 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
52021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52022 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
52023 wxPyEndAllowThreads(__tstate
);
52024 if (PyErr_Occurred()) SWIG_fail
;
52026 resultobj
= SWIG_Py_Void();
52033 SWIGINTERN PyObject
*_wrap_Sizer_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52034 PyObject
*resultobj
= 0;
52035 wxSizer
*arg1
= (wxSizer
*) 0 ;
52039 PyObject
*swig_obj
[1] ;
52041 if (!args
) SWIG_fail
;
52042 swig_obj
[0] = args
;
52043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
52044 if (!SWIG_IsOK(res1
)) {
52045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_GetSize" "', expected argument " "1"" of type '" "wxSizer *""'");
52047 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
52049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52050 result
= (arg1
)->GetSize();
52051 wxPyEndAllowThreads(__tstate
);
52052 if (PyErr_Occurred()) SWIG_fail
;
52054 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
52061 SWIGINTERN PyObject
*_wrap_Sizer_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52062 PyObject
*resultobj
= 0;
52063 wxSizer
*arg1
= (wxSizer
*) 0 ;
52067 PyObject
*swig_obj
[1] ;
52069 if (!args
) SWIG_fail
;
52070 swig_obj
[0] = args
;
52071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
52072 if (!SWIG_IsOK(res1
)) {
52073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_GetPosition" "', expected argument " "1"" of type '" "wxSizer *""'");
52075 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
52077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52078 result
= (arg1
)->GetPosition();
52079 wxPyEndAllowThreads(__tstate
);
52080 if (PyErr_Occurred()) SWIG_fail
;
52082 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
52089 SWIGINTERN PyObject
*_wrap_Sizer_GetMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52090 PyObject
*resultobj
= 0;
52091 wxSizer
*arg1
= (wxSizer
*) 0 ;
52095 PyObject
*swig_obj
[1] ;
52097 if (!args
) SWIG_fail
;
52098 swig_obj
[0] = args
;
52099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
52100 if (!SWIG_IsOK(res1
)) {
52101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_GetMinSize" "', expected argument " "1"" of type '" "wxSizer *""'");
52103 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
52105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52106 result
= (arg1
)->GetMinSize();
52107 wxPyEndAllowThreads(__tstate
);
52108 if (PyErr_Occurred()) SWIG_fail
;
52110 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
52117 SWIGINTERN PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52118 PyObject
*resultobj
= 0;
52119 wxSizer
*arg1
= (wxSizer
*) 0 ;
52122 PyObject
*swig_obj
[1] ;
52124 if (!args
) SWIG_fail
;
52125 swig_obj
[0] = args
;
52126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
52127 if (!SWIG_IsOK(res1
)) {
52128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_RecalcSizes" "', expected argument " "1"" of type '" "wxSizer *""'");
52130 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
52132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52133 (arg1
)->RecalcSizes();
52134 wxPyEndAllowThreads(__tstate
);
52135 if (PyErr_Occurred()) SWIG_fail
;
52137 resultobj
= SWIG_Py_Void();
52144 SWIGINTERN PyObject
*_wrap_Sizer_CalcMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52145 PyObject
*resultobj
= 0;
52146 wxSizer
*arg1
= (wxSizer
*) 0 ;
52150 PyObject
*swig_obj
[1] ;
52152 if (!args
) SWIG_fail
;
52153 swig_obj
[0] = args
;
52154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
52155 if (!SWIG_IsOK(res1
)) {
52156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_CalcMin" "', expected argument " "1"" of type '" "wxSizer *""'");
52158 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
52160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52161 result
= (arg1
)->CalcMin();
52162 wxPyEndAllowThreads(__tstate
);
52163 if (PyErr_Occurred()) SWIG_fail
;
52165 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
52172 SWIGINTERN PyObject
*_wrap_Sizer_Layout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52173 PyObject
*resultobj
= 0;
52174 wxSizer
*arg1
= (wxSizer
*) 0 ;
52177 PyObject
*swig_obj
[1] ;
52179 if (!args
) SWIG_fail
;
52180 swig_obj
[0] = args
;
52181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
52182 if (!SWIG_IsOK(res1
)) {
52183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Layout" "', expected argument " "1"" of type '" "wxSizer *""'");
52185 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
52187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52189 wxPyEndAllowThreads(__tstate
);
52190 if (PyErr_Occurred()) SWIG_fail
;
52192 resultobj
= SWIG_Py_Void();
52199 SWIGINTERN PyObject
*_wrap_Sizer_Fit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
52200 PyObject
*resultobj
= 0;
52201 wxSizer
*arg1
= (wxSizer
*) 0 ;
52202 wxWindow
*arg2
= (wxWindow
*) 0 ;
52208 PyObject
* obj0
= 0 ;
52209 PyObject
* obj1
= 0 ;
52210 char * kwnames
[] = {
52211 (char *) "self",(char *) "window", NULL
52214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
52215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
52216 if (!SWIG_IsOK(res1
)) {
52217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Fit" "', expected argument " "1"" of type '" "wxSizer *""'");
52219 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
52220 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
52221 if (!SWIG_IsOK(res2
)) {
52222 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_Fit" "', expected argument " "2"" of type '" "wxWindow *""'");
52224 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
52226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52227 result
= (arg1
)->Fit(arg2
);
52228 wxPyEndAllowThreads(__tstate
);
52229 if (PyErr_Occurred()) SWIG_fail
;
52231 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
52238 SWIGINTERN PyObject
*_wrap_Sizer_FitInside(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
52239 PyObject
*resultobj
= 0;
52240 wxSizer
*arg1
= (wxSizer
*) 0 ;
52241 wxWindow
*arg2
= (wxWindow
*) 0 ;
52246 PyObject
* obj0
= 0 ;
52247 PyObject
* obj1
= 0 ;
52248 char * kwnames
[] = {
52249 (char *) "self",(char *) "window", NULL
52252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
52253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
52254 if (!SWIG_IsOK(res1
)) {
52255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_FitInside" "', expected argument " "1"" of type '" "wxSizer *""'");
52257 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
52258 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
52259 if (!SWIG_IsOK(res2
)) {
52260 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_FitInside" "', expected argument " "2"" of type '" "wxWindow *""'");
52262 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
52264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52265 (arg1
)->FitInside(arg2
);
52266 wxPyEndAllowThreads(__tstate
);
52267 if (PyErr_Occurred()) SWIG_fail
;
52269 resultobj
= SWIG_Py_Void();
52276 SWIGINTERN PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
52277 PyObject
*resultobj
= 0;
52278 wxSizer
*arg1
= (wxSizer
*) 0 ;
52279 wxWindow
*arg2
= (wxWindow
*) 0 ;
52284 PyObject
* obj0
= 0 ;
52285 PyObject
* obj1
= 0 ;
52286 char * kwnames
[] = {
52287 (char *) "self",(char *) "window", NULL
52290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
52291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
52292 if (!SWIG_IsOK(res1
)) {
52293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_SetSizeHints" "', expected argument " "1"" of type '" "wxSizer *""'");
52295 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
52296 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
52297 if (!SWIG_IsOK(res2
)) {
52298 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_SetSizeHints" "', expected argument " "2"" of type '" "wxWindow *""'");
52300 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
52302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52303 (arg1
)->SetSizeHints(arg2
);
52304 wxPyEndAllowThreads(__tstate
);
52305 if (PyErr_Occurred()) SWIG_fail
;
52307 resultobj
= SWIG_Py_Void();
52314 SWIGINTERN PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
52315 PyObject
*resultobj
= 0;
52316 wxSizer
*arg1
= (wxSizer
*) 0 ;
52317 wxWindow
*arg2
= (wxWindow
*) 0 ;
52322 PyObject
* obj0
= 0 ;
52323 PyObject
* obj1
= 0 ;
52324 char * kwnames
[] = {
52325 (char *) "self",(char *) "window", NULL
52328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
52329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
52330 if (!SWIG_IsOK(res1
)) {
52331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_SetVirtualSizeHints" "', expected argument " "1"" of type '" "wxSizer *""'");
52333 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
52334 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
52335 if (!SWIG_IsOK(res2
)) {
52336 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_SetVirtualSizeHints" "', expected argument " "2"" of type '" "wxWindow *""'");
52338 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
52340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52341 (arg1
)->SetVirtualSizeHints(arg2
);
52342 wxPyEndAllowThreads(__tstate
);
52343 if (PyErr_Occurred()) SWIG_fail
;
52345 resultobj
= SWIG_Py_Void();
52352 SWIGINTERN PyObject
*_wrap_Sizer_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
52353 PyObject
*resultobj
= 0;
52354 wxSizer
*arg1
= (wxSizer
*) 0 ;
52355 bool arg2
= (bool) false ;
52360 PyObject
* obj0
= 0 ;
52361 PyObject
* obj1
= 0 ;
52362 char * kwnames
[] = {
52363 (char *) "self",(char *) "deleteWindows", NULL
52366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
52367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
52368 if (!SWIG_IsOK(res1
)) {
52369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Clear" "', expected argument " "1"" of type '" "wxSizer *""'");
52371 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
52373 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
52374 if (!SWIG_IsOK(ecode2
)) {
52375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sizer_Clear" "', expected argument " "2"" of type '" "bool""'");
52377 arg2
= static_cast< bool >(val2
);
52380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52381 (arg1
)->Clear(arg2
);
52382 wxPyEndAllowThreads(__tstate
);
52383 if (PyErr_Occurred()) SWIG_fail
;
52385 resultobj
= SWIG_Py_Void();
52392 SWIGINTERN PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52393 PyObject
*resultobj
= 0;
52394 wxSizer
*arg1
= (wxSizer
*) 0 ;
52397 PyObject
*swig_obj
[1] ;
52399 if (!args
) SWIG_fail
;
52400 swig_obj
[0] = args
;
52401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
52402 if (!SWIG_IsOK(res1
)) {
52403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_DeleteWindows" "', expected argument " "1"" of type '" "wxSizer *""'");
52405 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
52407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52408 (arg1
)->DeleteWindows();
52409 wxPyEndAllowThreads(__tstate
);
52410 if (PyErr_Occurred()) SWIG_fail
;
52412 resultobj
= SWIG_Py_Void();
52419 SWIGINTERN PyObject
*_wrap_Sizer_GetChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52420 PyObject
*resultobj
= 0;
52421 wxSizer
*arg1
= (wxSizer
*) 0 ;
52422 PyObject
*result
= 0 ;
52425 PyObject
*swig_obj
[1] ;
52427 if (!args
) SWIG_fail
;
52428 swig_obj
[0] = args
;
52429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
52430 if (!SWIG_IsOK(res1
)) {
52431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_GetChildren" "', expected argument " "1"" of type '" "wxSizer *""'");
52433 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
52435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52436 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
52437 wxPyEndAllowThreads(__tstate
);
52438 if (PyErr_Occurred()) SWIG_fail
;
52440 resultobj
= result
;
52447 SWIGINTERN PyObject
*_wrap_Sizer_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
52448 PyObject
*resultobj
= 0;
52449 wxSizer
*arg1
= (wxSizer
*) 0 ;
52450 PyObject
*arg2
= (PyObject
*) 0 ;
52451 bool arg3
= (bool) true ;
52452 bool arg4
= (bool) false ;
52460 PyObject
* obj0
= 0 ;
52461 PyObject
* obj1
= 0 ;
52462 PyObject
* obj2
= 0 ;
52463 PyObject
* obj3
= 0 ;
52464 char * kwnames
[] = {
52465 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
52468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
52469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
52470 if (!SWIG_IsOK(res1
)) {
52471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Show" "', expected argument " "1"" of type '" "wxSizer *""'");
52473 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
52476 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
52477 if (!SWIG_IsOK(ecode3
)) {
52478 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Sizer_Show" "', expected argument " "3"" of type '" "bool""'");
52480 arg3
= static_cast< bool >(val3
);
52483 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
52484 if (!SWIG_IsOK(ecode4
)) {
52485 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Sizer_Show" "', expected argument " "4"" of type '" "bool""'");
52487 arg4
= static_cast< bool >(val4
);
52490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52491 result
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
);
52492 wxPyEndAllowThreads(__tstate
);
52493 if (PyErr_Occurred()) SWIG_fail
;
52496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
52504 SWIGINTERN PyObject
*_wrap_Sizer_IsShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
52505 PyObject
*resultobj
= 0;
52506 wxSizer
*arg1
= (wxSizer
*) 0 ;
52507 PyObject
*arg2
= (PyObject
*) 0 ;
52511 PyObject
* obj0
= 0 ;
52512 PyObject
* obj1
= 0 ;
52513 char * kwnames
[] = {
52514 (char *) "self",(char *) "item", NULL
52517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
52518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
52519 if (!SWIG_IsOK(res1
)) {
52520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_IsShown" "', expected argument " "1"" of type '" "wxSizer *""'");
52522 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
52525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52526 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
52527 wxPyEndAllowThreads(__tstate
);
52528 if (PyErr_Occurred()) SWIG_fail
;
52531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
52539 SWIGINTERN PyObject
*_wrap_Sizer_ShowItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
52540 PyObject
*resultobj
= 0;
52541 wxSizer
*arg1
= (wxSizer
*) 0 ;
52547 PyObject
* obj0
= 0 ;
52548 PyObject
* obj1
= 0 ;
52549 char * kwnames
[] = {
52550 (char *) "self",(char *) "show", NULL
52553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
52554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
52555 if (!SWIG_IsOK(res1
)) {
52556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_ShowItems" "', expected argument " "1"" of type '" "wxSizer *""'");
52558 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
52559 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
52560 if (!SWIG_IsOK(ecode2
)) {
52561 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sizer_ShowItems" "', expected argument " "2"" of type '" "bool""'");
52563 arg2
= static_cast< bool >(val2
);
52565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52566 (arg1
)->ShowItems(arg2
);
52567 wxPyEndAllowThreads(__tstate
);
52568 if (PyErr_Occurred()) SWIG_fail
;
52570 resultobj
= SWIG_Py_Void();
52577 SWIGINTERN PyObject
*Sizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52579 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
52580 SWIG_TypeNewClientData(SWIGTYPE_p_wxSizer
, SWIG_NewClientData(obj
));
52581 return SWIG_Py_Void();
52584 SWIGINTERN PyObject
*_wrap_new_PySizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52585 PyObject
*resultobj
= 0;
52586 wxPySizer
*result
= 0 ;
52588 if (!SWIG_Python_UnpackTuple(args
,"new_PySizer",0,0,0)) SWIG_fail
;
52590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52591 result
= (wxPySizer
*)new wxPySizer();
52592 wxPyEndAllowThreads(__tstate
);
52593 if (PyErr_Occurred()) SWIG_fail
;
52595 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPySizer
, SWIG_POINTER_NEW
| 0 );
52602 SWIGINTERN PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
52603 PyObject
*resultobj
= 0;
52604 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
52605 PyObject
*arg2
= (PyObject
*) 0 ;
52606 PyObject
*arg3
= (PyObject
*) 0 ;
52609 PyObject
* obj0
= 0 ;
52610 PyObject
* obj1
= 0 ;
52611 PyObject
* obj2
= 0 ;
52612 char * kwnames
[] = {
52613 (char *) "self",(char *) "self",(char *) "_class", NULL
52616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
52617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPySizer
, 0 | 0 );
52618 if (!SWIG_IsOK(res1
)) {
52619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PySizer__setCallbackInfo" "', expected argument " "1"" of type '" "wxPySizer *""'");
52621 arg1
= reinterpret_cast< wxPySizer
* >(argp1
);
52625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52626 (arg1
)->_setCallbackInfo(arg2
,arg3
);
52627 wxPyEndAllowThreads(__tstate
);
52628 if (PyErr_Occurred()) SWIG_fail
;
52630 resultobj
= SWIG_Py_Void();
52637 SWIGINTERN PyObject
*PySizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52639 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
52640 SWIG_TypeNewClientData(SWIGTYPE_p_wxPySizer
, SWIG_NewClientData(obj
));
52641 return SWIG_Py_Void();
52644 SWIGINTERN PyObject
*PySizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52645 return SWIG_Python_InitShadowInstance(args
);
52648 SWIGINTERN PyObject
*_wrap_new_BoxSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
52649 PyObject
*resultobj
= 0;
52650 int arg1
= (int) wxHORIZONTAL
;
52651 wxBoxSizer
*result
= 0 ;
52654 PyObject
* obj0
= 0 ;
52655 char * kwnames
[] = {
52656 (char *) "orient", NULL
52659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) SWIG_fail
;
52661 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
52662 if (!SWIG_IsOK(ecode1
)) {
52663 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BoxSizer" "', expected argument " "1"" of type '" "int""'");
52665 arg1
= static_cast< int >(val1
);
52668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52669 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
52670 wxPyEndAllowThreads(__tstate
);
52671 if (PyErr_Occurred()) SWIG_fail
;
52673 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_NEW
| 0 );
52680 SWIGINTERN PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52681 PyObject
*resultobj
= 0;
52682 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
52686 PyObject
*swig_obj
[1] ;
52688 if (!args
) SWIG_fail
;
52689 swig_obj
[0] = args
;
52690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBoxSizer
, 0 | 0 );
52691 if (!SWIG_IsOK(res1
)) {
52692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BoxSizer_GetOrientation" "', expected argument " "1"" of type '" "wxBoxSizer *""'");
52694 arg1
= reinterpret_cast< wxBoxSizer
* >(argp1
);
52696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52697 result
= (int)(arg1
)->GetOrientation();
52698 wxPyEndAllowThreads(__tstate
);
52699 if (PyErr_Occurred()) SWIG_fail
;
52701 resultobj
= SWIG_From_int(static_cast< int >(result
));
52708 SWIGINTERN PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
52709 PyObject
*resultobj
= 0;
52710 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
52716 PyObject
* obj0
= 0 ;
52717 PyObject
* obj1
= 0 ;
52718 char * kwnames
[] = {
52719 (char *) "self",(char *) "orient", NULL
52722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
52723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBoxSizer
, 0 | 0 );
52724 if (!SWIG_IsOK(res1
)) {
52725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BoxSizer_SetOrientation" "', expected argument " "1"" of type '" "wxBoxSizer *""'");
52727 arg1
= reinterpret_cast< wxBoxSizer
* >(argp1
);
52728 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
52729 if (!SWIG_IsOK(ecode2
)) {
52730 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BoxSizer_SetOrientation" "', expected argument " "2"" of type '" "int""'");
52732 arg2
= static_cast< int >(val2
);
52734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52735 (arg1
)->SetOrientation(arg2
);
52736 wxPyEndAllowThreads(__tstate
);
52737 if (PyErr_Occurred()) SWIG_fail
;
52739 resultobj
= SWIG_Py_Void();
52746 SWIGINTERN PyObject
*BoxSizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52748 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
52749 SWIG_TypeNewClientData(SWIGTYPE_p_wxBoxSizer
, SWIG_NewClientData(obj
));
52750 return SWIG_Py_Void();
52753 SWIGINTERN PyObject
*BoxSizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52754 return SWIG_Python_InitShadowInstance(args
);
52757 SWIGINTERN PyObject
*_wrap_new_StaticBoxSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
52758 PyObject
*resultobj
= 0;
52759 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
52760 int arg2
= (int) wxHORIZONTAL
;
52761 wxStaticBoxSizer
*result
= 0 ;
52766 PyObject
* obj0
= 0 ;
52767 PyObject
* obj1
= 0 ;
52768 char * kwnames
[] = {
52769 (char *) "box",(char *) "orient", NULL
52772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
52773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
52774 if (!SWIG_IsOK(res1
)) {
52775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBoxSizer" "', expected argument " "1"" of type '" "wxStaticBox *""'");
52777 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
52779 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
52780 if (!SWIG_IsOK(ecode2
)) {
52781 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBoxSizer" "', expected argument " "2"" of type '" "int""'");
52783 arg2
= static_cast< int >(val2
);
52786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52787 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
52788 wxPyEndAllowThreads(__tstate
);
52789 if (PyErr_Occurred()) SWIG_fail
;
52791 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBoxSizer
, SWIG_POINTER_NEW
| 0 );
52798 SWIGINTERN PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52799 PyObject
*resultobj
= 0;
52800 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
52801 wxStaticBox
*result
= 0 ;
52804 PyObject
*swig_obj
[1] ;
52806 if (!args
) SWIG_fail
;
52807 swig_obj
[0] = args
;
52808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBoxSizer
, 0 | 0 );
52809 if (!SWIG_IsOK(res1
)) {
52810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBoxSizer_GetStaticBox" "', expected argument " "1"" of type '" "wxStaticBoxSizer *""'");
52812 arg1
= reinterpret_cast< wxStaticBoxSizer
* >(argp1
);
52814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52815 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
52816 wxPyEndAllowThreads(__tstate
);
52817 if (PyErr_Occurred()) SWIG_fail
;
52820 resultobj
= wxPyMake_wxObject(result
, (bool)0);
52828 SWIGINTERN PyObject
*StaticBoxSizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52830 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
52831 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBoxSizer
, SWIG_NewClientData(obj
));
52832 return SWIG_Py_Void();
52835 SWIGINTERN PyObject
*StaticBoxSizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52836 return SWIG_Python_InitShadowInstance(args
);
52839 SWIGINTERN PyObject
*_wrap_new_GridSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
52840 PyObject
*resultobj
= 0;
52841 int arg1
= (int) 1 ;
52842 int arg2
= (int) 0 ;
52843 int arg3
= (int) 0 ;
52844 int arg4
= (int) 0 ;
52845 wxGridSizer
*result
= 0 ;
52854 PyObject
* obj0
= 0 ;
52855 PyObject
* obj1
= 0 ;
52856 PyObject
* obj2
= 0 ;
52857 PyObject
* obj3
= 0 ;
52858 char * kwnames
[] = {
52859 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
52862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
52864 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
52865 if (!SWIG_IsOK(ecode1
)) {
52866 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridSizer" "', expected argument " "1"" of type '" "int""'");
52868 arg1
= static_cast< int >(val1
);
52871 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
52872 if (!SWIG_IsOK(ecode2
)) {
52873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridSizer" "', expected argument " "2"" of type '" "int""'");
52875 arg2
= static_cast< int >(val2
);
52878 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
52879 if (!SWIG_IsOK(ecode3
)) {
52880 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_GridSizer" "', expected argument " "3"" of type '" "int""'");
52882 arg3
= static_cast< int >(val3
);
52885 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
52886 if (!SWIG_IsOK(ecode4
)) {
52887 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_GridSizer" "', expected argument " "4"" of type '" "int""'");
52889 arg4
= static_cast< int >(val4
);
52892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52893 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
52894 wxPyEndAllowThreads(__tstate
);
52895 if (PyErr_Occurred()) SWIG_fail
;
52897 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_NEW
| 0 );
52904 SWIGINTERN PyObject
*_wrap_GridSizer_SetCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
52905 PyObject
*resultobj
= 0;
52906 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
52912 PyObject
* obj0
= 0 ;
52913 PyObject
* obj1
= 0 ;
52914 char * kwnames
[] = {
52915 (char *) "self",(char *) "cols", NULL
52918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
52919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
52920 if (!SWIG_IsOK(res1
)) {
52921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_SetCols" "', expected argument " "1"" of type '" "wxGridSizer *""'");
52923 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
52924 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
52925 if (!SWIG_IsOK(ecode2
)) {
52926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridSizer_SetCols" "', expected argument " "2"" of type '" "int""'");
52928 arg2
= static_cast< int >(val2
);
52930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52931 (arg1
)->SetCols(arg2
);
52932 wxPyEndAllowThreads(__tstate
);
52933 if (PyErr_Occurred()) SWIG_fail
;
52935 resultobj
= SWIG_Py_Void();
52942 SWIGINTERN PyObject
*_wrap_GridSizer_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
52943 PyObject
*resultobj
= 0;
52944 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
52950 PyObject
* obj0
= 0 ;
52951 PyObject
* obj1
= 0 ;
52952 char * kwnames
[] = {
52953 (char *) "self",(char *) "rows", NULL
52956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
52957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
52958 if (!SWIG_IsOK(res1
)) {
52959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_SetRows" "', expected argument " "1"" of type '" "wxGridSizer *""'");
52961 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
52962 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
52963 if (!SWIG_IsOK(ecode2
)) {
52964 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridSizer_SetRows" "', expected argument " "2"" of type '" "int""'");
52966 arg2
= static_cast< int >(val2
);
52968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52969 (arg1
)->SetRows(arg2
);
52970 wxPyEndAllowThreads(__tstate
);
52971 if (PyErr_Occurred()) SWIG_fail
;
52973 resultobj
= SWIG_Py_Void();
52980 SWIGINTERN PyObject
*_wrap_GridSizer_SetVGap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
52981 PyObject
*resultobj
= 0;
52982 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
52988 PyObject
* obj0
= 0 ;
52989 PyObject
* obj1
= 0 ;
52990 char * kwnames
[] = {
52991 (char *) "self",(char *) "gap", NULL
52994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
52995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
52996 if (!SWIG_IsOK(res1
)) {
52997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_SetVGap" "', expected argument " "1"" of type '" "wxGridSizer *""'");
52999 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
53000 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
53001 if (!SWIG_IsOK(ecode2
)) {
53002 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridSizer_SetVGap" "', expected argument " "2"" of type '" "int""'");
53004 arg2
= static_cast< int >(val2
);
53006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53007 (arg1
)->SetVGap(arg2
);
53008 wxPyEndAllowThreads(__tstate
);
53009 if (PyErr_Occurred()) SWIG_fail
;
53011 resultobj
= SWIG_Py_Void();
53018 SWIGINTERN PyObject
*_wrap_GridSizer_SetHGap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53019 PyObject
*resultobj
= 0;
53020 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
53026 PyObject
* obj0
= 0 ;
53027 PyObject
* obj1
= 0 ;
53028 char * kwnames
[] = {
53029 (char *) "self",(char *) "gap", NULL
53032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
53033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
53034 if (!SWIG_IsOK(res1
)) {
53035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_SetHGap" "', expected argument " "1"" of type '" "wxGridSizer *""'");
53037 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
53038 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
53039 if (!SWIG_IsOK(ecode2
)) {
53040 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridSizer_SetHGap" "', expected argument " "2"" of type '" "int""'");
53042 arg2
= static_cast< int >(val2
);
53044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53045 (arg1
)->SetHGap(arg2
);
53046 wxPyEndAllowThreads(__tstate
);
53047 if (PyErr_Occurred()) SWIG_fail
;
53049 resultobj
= SWIG_Py_Void();
53056 SWIGINTERN PyObject
*_wrap_GridSizer_GetCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53057 PyObject
*resultobj
= 0;
53058 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
53062 PyObject
*swig_obj
[1] ;
53064 if (!args
) SWIG_fail
;
53065 swig_obj
[0] = args
;
53066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
53067 if (!SWIG_IsOK(res1
)) {
53068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_GetCols" "', expected argument " "1"" of type '" "wxGridSizer *""'");
53070 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
53072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53073 result
= (int)(arg1
)->GetCols();
53074 wxPyEndAllowThreads(__tstate
);
53075 if (PyErr_Occurred()) SWIG_fail
;
53077 resultobj
= SWIG_From_int(static_cast< int >(result
));
53084 SWIGINTERN PyObject
*_wrap_GridSizer_GetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53085 PyObject
*resultobj
= 0;
53086 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
53090 PyObject
*swig_obj
[1] ;
53092 if (!args
) SWIG_fail
;
53093 swig_obj
[0] = args
;
53094 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
53095 if (!SWIG_IsOK(res1
)) {
53096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_GetRows" "', expected argument " "1"" of type '" "wxGridSizer *""'");
53098 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
53100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53101 result
= (int)(arg1
)->GetRows();
53102 wxPyEndAllowThreads(__tstate
);
53103 if (PyErr_Occurred()) SWIG_fail
;
53105 resultobj
= SWIG_From_int(static_cast< int >(result
));
53112 SWIGINTERN PyObject
*_wrap_GridSizer_GetVGap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53113 PyObject
*resultobj
= 0;
53114 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
53118 PyObject
*swig_obj
[1] ;
53120 if (!args
) SWIG_fail
;
53121 swig_obj
[0] = args
;
53122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
53123 if (!SWIG_IsOK(res1
)) {
53124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_GetVGap" "', expected argument " "1"" of type '" "wxGridSizer *""'");
53126 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
53128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53129 result
= (int)(arg1
)->GetVGap();
53130 wxPyEndAllowThreads(__tstate
);
53131 if (PyErr_Occurred()) SWIG_fail
;
53133 resultobj
= SWIG_From_int(static_cast< int >(result
));
53140 SWIGINTERN PyObject
*_wrap_GridSizer_GetHGap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53141 PyObject
*resultobj
= 0;
53142 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
53146 PyObject
*swig_obj
[1] ;
53148 if (!args
) SWIG_fail
;
53149 swig_obj
[0] = args
;
53150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
53151 if (!SWIG_IsOK(res1
)) {
53152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_GetHGap" "', expected argument " "1"" of type '" "wxGridSizer *""'");
53154 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
53156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53157 result
= (int)(arg1
)->GetHGap();
53158 wxPyEndAllowThreads(__tstate
);
53159 if (PyErr_Occurred()) SWIG_fail
;
53161 resultobj
= SWIG_From_int(static_cast< int >(result
));
53168 SWIGINTERN PyObject
*GridSizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53170 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
53171 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridSizer
, SWIG_NewClientData(obj
));
53172 return SWIG_Py_Void();
53175 SWIGINTERN PyObject
*GridSizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53176 return SWIG_Python_InitShadowInstance(args
);
53179 SWIGINTERN PyObject
*_wrap_new_FlexGridSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53180 PyObject
*resultobj
= 0;
53181 int arg1
= (int) 1 ;
53182 int arg2
= (int) 0 ;
53183 int arg3
= (int) 0 ;
53184 int arg4
= (int) 0 ;
53185 wxFlexGridSizer
*result
= 0 ;
53194 PyObject
* obj0
= 0 ;
53195 PyObject
* obj1
= 0 ;
53196 PyObject
* obj2
= 0 ;
53197 PyObject
* obj3
= 0 ;
53198 char * kwnames
[] = {
53199 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
53202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
53204 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
53205 if (!SWIG_IsOK(ecode1
)) {
53206 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FlexGridSizer" "', expected argument " "1"" of type '" "int""'");
53208 arg1
= static_cast< int >(val1
);
53211 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
53212 if (!SWIG_IsOK(ecode2
)) {
53213 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FlexGridSizer" "', expected argument " "2"" of type '" "int""'");
53215 arg2
= static_cast< int >(val2
);
53218 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
53219 if (!SWIG_IsOK(ecode3
)) {
53220 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FlexGridSizer" "', expected argument " "3"" of type '" "int""'");
53222 arg3
= static_cast< int >(val3
);
53225 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
53226 if (!SWIG_IsOK(ecode4
)) {
53227 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FlexGridSizer" "', expected argument " "4"" of type '" "int""'");
53229 arg4
= static_cast< int >(val4
);
53232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53233 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
53234 wxPyEndAllowThreads(__tstate
);
53235 if (PyErr_Occurred()) SWIG_fail
;
53237 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_NEW
| 0 );
53244 SWIGINTERN PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53245 PyObject
*resultobj
= 0;
53246 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
53248 int arg3
= (int) 0 ;
53255 PyObject
* obj0
= 0 ;
53256 PyObject
* obj1
= 0 ;
53257 PyObject
* obj2
= 0 ;
53258 char * kwnames
[] = {
53259 (char *) "self",(char *) "idx",(char *) "proportion", NULL
53262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
53263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
53264 if (!SWIG_IsOK(res1
)) {
53265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_AddGrowableRow" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
53267 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
53268 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
53269 if (!SWIG_IsOK(ecode2
)) {
53270 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FlexGridSizer_AddGrowableRow" "', expected argument " "2"" of type '" "size_t""'");
53272 arg2
= static_cast< size_t >(val2
);
53274 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
53275 if (!SWIG_IsOK(ecode3
)) {
53276 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FlexGridSizer_AddGrowableRow" "', expected argument " "3"" of type '" "int""'");
53278 arg3
= static_cast< int >(val3
);
53281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53282 (arg1
)->AddGrowableRow(arg2
,arg3
);
53283 wxPyEndAllowThreads(__tstate
);
53284 if (PyErr_Occurred()) SWIG_fail
;
53286 resultobj
= SWIG_Py_Void();
53293 SWIGINTERN PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53294 PyObject
*resultobj
= 0;
53295 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
53301 PyObject
* obj0
= 0 ;
53302 PyObject
* obj1
= 0 ;
53303 char * kwnames
[] = {
53304 (char *) "self",(char *) "idx", NULL
53307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
53308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
53309 if (!SWIG_IsOK(res1
)) {
53310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_RemoveGrowableRow" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
53312 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
53313 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
53314 if (!SWIG_IsOK(ecode2
)) {
53315 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FlexGridSizer_RemoveGrowableRow" "', expected argument " "2"" of type '" "size_t""'");
53317 arg2
= static_cast< size_t >(val2
);
53319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53320 (arg1
)->RemoveGrowableRow(arg2
);
53321 wxPyEndAllowThreads(__tstate
);
53322 if (PyErr_Occurred()) SWIG_fail
;
53324 resultobj
= SWIG_Py_Void();
53331 SWIGINTERN PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53332 PyObject
*resultobj
= 0;
53333 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
53335 int arg3
= (int) 0 ;
53342 PyObject
* obj0
= 0 ;
53343 PyObject
* obj1
= 0 ;
53344 PyObject
* obj2
= 0 ;
53345 char * kwnames
[] = {
53346 (char *) "self",(char *) "idx",(char *) "proportion", NULL
53349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
53350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
53351 if (!SWIG_IsOK(res1
)) {
53352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_AddGrowableCol" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
53354 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
53355 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
53356 if (!SWIG_IsOK(ecode2
)) {
53357 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FlexGridSizer_AddGrowableCol" "', expected argument " "2"" of type '" "size_t""'");
53359 arg2
= static_cast< size_t >(val2
);
53361 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
53362 if (!SWIG_IsOK(ecode3
)) {
53363 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FlexGridSizer_AddGrowableCol" "', expected argument " "3"" of type '" "int""'");
53365 arg3
= static_cast< int >(val3
);
53368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53369 (arg1
)->AddGrowableCol(arg2
,arg3
);
53370 wxPyEndAllowThreads(__tstate
);
53371 if (PyErr_Occurred()) SWIG_fail
;
53373 resultobj
= SWIG_Py_Void();
53380 SWIGINTERN PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53381 PyObject
*resultobj
= 0;
53382 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
53388 PyObject
* obj0
= 0 ;
53389 PyObject
* obj1
= 0 ;
53390 char * kwnames
[] = {
53391 (char *) "self",(char *) "idx", NULL
53394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
53395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
53396 if (!SWIG_IsOK(res1
)) {
53397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_RemoveGrowableCol" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
53399 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
53400 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
53401 if (!SWIG_IsOK(ecode2
)) {
53402 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FlexGridSizer_RemoveGrowableCol" "', expected argument " "2"" of type '" "size_t""'");
53404 arg2
= static_cast< size_t >(val2
);
53406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53407 (arg1
)->RemoveGrowableCol(arg2
);
53408 wxPyEndAllowThreads(__tstate
);
53409 if (PyErr_Occurred()) SWIG_fail
;
53411 resultobj
= SWIG_Py_Void();
53418 SWIGINTERN PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53419 PyObject
*resultobj
= 0;
53420 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
53426 PyObject
* obj0
= 0 ;
53427 PyObject
* obj1
= 0 ;
53428 char * kwnames
[] = {
53429 (char *) "self",(char *) "direction", NULL
53432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
53433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
53434 if (!SWIG_IsOK(res1
)) {
53435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_SetFlexibleDirection" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
53437 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
53438 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
53439 if (!SWIG_IsOK(ecode2
)) {
53440 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FlexGridSizer_SetFlexibleDirection" "', expected argument " "2"" of type '" "int""'");
53442 arg2
= static_cast< int >(val2
);
53444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53445 (arg1
)->SetFlexibleDirection(arg2
);
53446 wxPyEndAllowThreads(__tstate
);
53447 if (PyErr_Occurred()) SWIG_fail
;
53449 resultobj
= SWIG_Py_Void();
53456 SWIGINTERN PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53457 PyObject
*resultobj
= 0;
53458 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
53462 PyObject
*swig_obj
[1] ;
53464 if (!args
) SWIG_fail
;
53465 swig_obj
[0] = args
;
53466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
53467 if (!SWIG_IsOK(res1
)) {
53468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_GetFlexibleDirection" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
53470 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
53472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53473 result
= (int)(arg1
)->GetFlexibleDirection();
53474 wxPyEndAllowThreads(__tstate
);
53475 if (PyErr_Occurred()) SWIG_fail
;
53477 resultobj
= SWIG_From_int(static_cast< int >(result
));
53484 SWIGINTERN PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53485 PyObject
*resultobj
= 0;
53486 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
53487 wxFlexSizerGrowMode arg2
;
53492 PyObject
* obj0
= 0 ;
53493 PyObject
* obj1
= 0 ;
53494 char * kwnames
[] = {
53495 (char *) "self",(char *) "mode", NULL
53498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
53499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
53500 if (!SWIG_IsOK(res1
)) {
53501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_SetNonFlexibleGrowMode" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
53503 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
53504 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
53505 if (!SWIG_IsOK(ecode2
)) {
53506 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FlexGridSizer_SetNonFlexibleGrowMode" "', expected argument " "2"" of type '" "wxFlexSizerGrowMode""'");
53508 arg2
= static_cast< wxFlexSizerGrowMode
>(val2
);
53510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53511 (arg1
)->SetNonFlexibleGrowMode(arg2
);
53512 wxPyEndAllowThreads(__tstate
);
53513 if (PyErr_Occurred()) SWIG_fail
;
53515 resultobj
= SWIG_Py_Void();
53522 SWIGINTERN PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53523 PyObject
*resultobj
= 0;
53524 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
53525 wxFlexSizerGrowMode result
;
53528 PyObject
*swig_obj
[1] ;
53530 if (!args
) SWIG_fail
;
53531 swig_obj
[0] = args
;
53532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
53533 if (!SWIG_IsOK(res1
)) {
53534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_GetNonFlexibleGrowMode" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
53536 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
53538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53539 result
= (wxFlexSizerGrowMode
)(arg1
)->GetNonFlexibleGrowMode();
53540 wxPyEndAllowThreads(__tstate
);
53541 if (PyErr_Occurred()) SWIG_fail
;
53543 resultobj
= SWIG_From_int(static_cast< int >(result
));
53550 SWIGINTERN PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53551 PyObject
*resultobj
= 0;
53552 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
53553 wxArrayInt
*result
= 0 ;
53556 PyObject
*swig_obj
[1] ;
53558 if (!args
) SWIG_fail
;
53559 swig_obj
[0] = args
;
53560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
53561 if (!SWIG_IsOK(res1
)) {
53562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_GetRowHeights" "', expected argument " "1"" of type '" "wxFlexGridSizer const *""'");
53564 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
53566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53568 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
53569 result
= (wxArrayInt
*) &_result_ref
;
53571 wxPyEndAllowThreads(__tstate
);
53572 if (PyErr_Occurred()) SWIG_fail
;
53575 resultobj
= wxArrayInt2PyList_helper(*result
);
53583 SWIGINTERN PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53584 PyObject
*resultobj
= 0;
53585 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
53586 wxArrayInt
*result
= 0 ;
53589 PyObject
*swig_obj
[1] ;
53591 if (!args
) SWIG_fail
;
53592 swig_obj
[0] = args
;
53593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
53594 if (!SWIG_IsOK(res1
)) {
53595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_GetColWidths" "', expected argument " "1"" of type '" "wxFlexGridSizer const *""'");
53597 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
53599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53601 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
53602 result
= (wxArrayInt
*) &_result_ref
;
53604 wxPyEndAllowThreads(__tstate
);
53605 if (PyErr_Occurred()) SWIG_fail
;
53608 resultobj
= wxArrayInt2PyList_helper(*result
);
53616 SWIGINTERN PyObject
*FlexGridSizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53618 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
53619 SWIG_TypeNewClientData(SWIGTYPE_p_wxFlexGridSizer
, SWIG_NewClientData(obj
));
53620 return SWIG_Py_Void();
53623 SWIGINTERN PyObject
*FlexGridSizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53624 return SWIG_Python_InitShadowInstance(args
);
53627 SWIGINTERN PyObject
*_wrap_new_StdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53628 PyObject
*resultobj
= 0;
53629 wxStdDialogButtonSizer
*result
= 0 ;
53631 if (!SWIG_Python_UnpackTuple(args
,"new_StdDialogButtonSizer",0,0,0)) SWIG_fail
;
53633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53634 result
= (wxStdDialogButtonSizer
*)new wxStdDialogButtonSizer();
53635 wxPyEndAllowThreads(__tstate
);
53636 if (PyErr_Occurred()) SWIG_fail
;
53638 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_NEW
| 0 );
53645 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_AddButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53646 PyObject
*resultobj
= 0;
53647 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
53648 wxButton
*arg2
= (wxButton
*) 0 ;
53653 PyObject
* obj0
= 0 ;
53654 PyObject
* obj1
= 0 ;
53655 char * kwnames
[] = {
53656 (char *) "self",(char *) "button", NULL
53659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_AddButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
53660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
53661 if (!SWIG_IsOK(res1
)) {
53662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_AddButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer *""'");
53664 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
53665 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxButton
, 0 | 0 );
53666 if (!SWIG_IsOK(res2
)) {
53667 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StdDialogButtonSizer_AddButton" "', expected argument " "2"" of type '" "wxButton *""'");
53669 arg2
= reinterpret_cast< wxButton
* >(argp2
);
53671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53672 (arg1
)->AddButton(arg2
);
53673 wxPyEndAllowThreads(__tstate
);
53674 if (PyErr_Occurred()) SWIG_fail
;
53676 resultobj
= SWIG_Py_Void();
53683 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53684 PyObject
*resultobj
= 0;
53685 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
53688 PyObject
*swig_obj
[1] ;
53690 if (!args
) SWIG_fail
;
53691 swig_obj
[0] = args
;
53692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
53693 if (!SWIG_IsOK(res1
)) {
53694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_Realize" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer *""'");
53696 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
53698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53700 wxPyEndAllowThreads(__tstate
);
53701 if (PyErr_Occurred()) SWIG_fail
;
53703 resultobj
= SWIG_Py_Void();
53710 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_SetAffirmativeButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53711 PyObject
*resultobj
= 0;
53712 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
53713 wxButton
*arg2
= (wxButton
*) 0 ;
53718 PyObject
* obj0
= 0 ;
53719 PyObject
* obj1
= 0 ;
53720 char * kwnames
[] = {
53721 (char *) "self",(char *) "button", NULL
53724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetAffirmativeButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
53725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
53726 if (!SWIG_IsOK(res1
)) {
53727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_SetAffirmativeButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer *""'");
53729 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
53730 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxButton
, 0 | 0 );
53731 if (!SWIG_IsOK(res2
)) {
53732 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StdDialogButtonSizer_SetAffirmativeButton" "', expected argument " "2"" of type '" "wxButton *""'");
53734 arg2
= reinterpret_cast< wxButton
* >(argp2
);
53736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53737 (arg1
)->SetAffirmativeButton(arg2
);
53738 wxPyEndAllowThreads(__tstate
);
53739 if (PyErr_Occurred()) SWIG_fail
;
53741 resultobj
= SWIG_Py_Void();
53748 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_SetNegativeButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53749 PyObject
*resultobj
= 0;
53750 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
53751 wxButton
*arg2
= (wxButton
*) 0 ;
53756 PyObject
* obj0
= 0 ;
53757 PyObject
* obj1
= 0 ;
53758 char * kwnames
[] = {
53759 (char *) "self",(char *) "button", NULL
53762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetNegativeButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
53763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
53764 if (!SWIG_IsOK(res1
)) {
53765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_SetNegativeButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer *""'");
53767 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
53768 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxButton
, 0 | 0 );
53769 if (!SWIG_IsOK(res2
)) {
53770 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StdDialogButtonSizer_SetNegativeButton" "', expected argument " "2"" of type '" "wxButton *""'");
53772 arg2
= reinterpret_cast< wxButton
* >(argp2
);
53774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53775 (arg1
)->SetNegativeButton(arg2
);
53776 wxPyEndAllowThreads(__tstate
);
53777 if (PyErr_Occurred()) SWIG_fail
;
53779 resultobj
= SWIG_Py_Void();
53786 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_SetCancelButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53787 PyObject
*resultobj
= 0;
53788 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
53789 wxButton
*arg2
= (wxButton
*) 0 ;
53794 PyObject
* obj0
= 0 ;
53795 PyObject
* obj1
= 0 ;
53796 char * kwnames
[] = {
53797 (char *) "self",(char *) "button", NULL
53800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetCancelButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
53801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
53802 if (!SWIG_IsOK(res1
)) {
53803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_SetCancelButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer *""'");
53805 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
53806 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxButton
, 0 | 0 );
53807 if (!SWIG_IsOK(res2
)) {
53808 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StdDialogButtonSizer_SetCancelButton" "', expected argument " "2"" of type '" "wxButton *""'");
53810 arg2
= reinterpret_cast< wxButton
* >(argp2
);
53812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53813 (arg1
)->SetCancelButton(arg2
);
53814 wxPyEndAllowThreads(__tstate
);
53815 if (PyErr_Occurred()) SWIG_fail
;
53817 resultobj
= SWIG_Py_Void();
53824 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_GetAffirmativeButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53825 PyObject
*resultobj
= 0;
53826 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
53827 wxButton
*result
= 0 ;
53830 PyObject
*swig_obj
[1] ;
53832 if (!args
) SWIG_fail
;
53833 swig_obj
[0] = args
;
53834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
53835 if (!SWIG_IsOK(res1
)) {
53836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_GetAffirmativeButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer const *""'");
53838 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
53840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53841 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetAffirmativeButton();
53842 wxPyEndAllowThreads(__tstate
);
53843 if (PyErr_Occurred()) SWIG_fail
;
53846 resultobj
= wxPyMake_wxObject(result
, (bool)0);
53854 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_GetApplyButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53855 PyObject
*resultobj
= 0;
53856 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
53857 wxButton
*result
= 0 ;
53860 PyObject
*swig_obj
[1] ;
53862 if (!args
) SWIG_fail
;
53863 swig_obj
[0] = args
;
53864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
53865 if (!SWIG_IsOK(res1
)) {
53866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_GetApplyButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer const *""'");
53868 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
53870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53871 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetApplyButton();
53872 wxPyEndAllowThreads(__tstate
);
53873 if (PyErr_Occurred()) SWIG_fail
;
53876 resultobj
= wxPyMake_wxObject(result
, (bool)0);
53884 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_GetNegativeButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53885 PyObject
*resultobj
= 0;
53886 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
53887 wxButton
*result
= 0 ;
53890 PyObject
*swig_obj
[1] ;
53892 if (!args
) SWIG_fail
;
53893 swig_obj
[0] = args
;
53894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
53895 if (!SWIG_IsOK(res1
)) {
53896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_GetNegativeButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer const *""'");
53898 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
53900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53901 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetNegativeButton();
53902 wxPyEndAllowThreads(__tstate
);
53903 if (PyErr_Occurred()) SWIG_fail
;
53906 resultobj
= wxPyMake_wxObject(result
, (bool)0);
53914 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_GetCancelButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53915 PyObject
*resultobj
= 0;
53916 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
53917 wxButton
*result
= 0 ;
53920 PyObject
*swig_obj
[1] ;
53922 if (!args
) SWIG_fail
;
53923 swig_obj
[0] = args
;
53924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
53925 if (!SWIG_IsOK(res1
)) {
53926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_GetCancelButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer const *""'");
53928 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
53930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53931 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetCancelButton();
53932 wxPyEndAllowThreads(__tstate
);
53933 if (PyErr_Occurred()) SWIG_fail
;
53936 resultobj
= wxPyMake_wxObject(result
, (bool)0);
53944 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_GetHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53945 PyObject
*resultobj
= 0;
53946 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
53947 wxButton
*result
= 0 ;
53950 PyObject
*swig_obj
[1] ;
53952 if (!args
) SWIG_fail
;
53953 swig_obj
[0] = args
;
53954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
53955 if (!SWIG_IsOK(res1
)) {
53956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_GetHelpButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer const *""'");
53958 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
53960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53961 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetHelpButton();
53962 wxPyEndAllowThreads(__tstate
);
53963 if (PyErr_Occurred()) SWIG_fail
;
53966 resultobj
= wxPyMake_wxObject(result
, (bool)0);
53974 SWIGINTERN PyObject
*StdDialogButtonSizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53976 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
53977 SWIG_TypeNewClientData(SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_NewClientData(obj
));
53978 return SWIG_Py_Void();
53981 SWIGINTERN PyObject
*StdDialogButtonSizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53982 return SWIG_Python_InitShadowInstance(args
);
53985 SWIGINTERN PyObject
*_wrap_new_GBPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53986 PyObject
*resultobj
= 0;
53987 int arg1
= (int) 0 ;
53988 int arg2
= (int) 0 ;
53989 wxGBPosition
*result
= 0 ;
53994 PyObject
* obj0
= 0 ;
53995 PyObject
* obj1
= 0 ;
53996 char * kwnames
[] = {
53997 (char *) "row",(char *) "col", NULL
54000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
54002 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
54003 if (!SWIG_IsOK(ecode1
)) {
54004 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GBPosition" "', expected argument " "1"" of type '" "int""'");
54006 arg1
= static_cast< int >(val1
);
54009 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
54010 if (!SWIG_IsOK(ecode2
)) {
54011 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GBPosition" "', expected argument " "2"" of type '" "int""'");
54013 arg2
= static_cast< int >(val2
);
54016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54017 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
54018 wxPyEndAllowThreads(__tstate
);
54019 if (PyErr_Occurred()) SWIG_fail
;
54021 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_NEW
| 0 );
54028 SWIGINTERN PyObject
*_wrap_delete_GBPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
54029 PyObject
*resultobj
= 0;
54030 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
54033 PyObject
*swig_obj
[1] ;
54035 if (!args
) SWIG_fail
;
54036 swig_obj
[0] = args
;
54037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_DISOWN
| 0 );
54038 if (!SWIG_IsOK(res1
)) {
54039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GBPosition" "', expected argument " "1"" of type '" "wxGBPosition *""'");
54041 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
54043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54046 wxPyEndAllowThreads(__tstate
);
54047 if (PyErr_Occurred()) SWIG_fail
;
54049 resultobj
= SWIG_Py_Void();
54056 SWIGINTERN PyObject
*_wrap_GBPosition_GetRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
54057 PyObject
*resultobj
= 0;
54058 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
54062 PyObject
*swig_obj
[1] ;
54064 if (!args
) SWIG_fail
;
54065 swig_obj
[0] = args
;
54066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
54067 if (!SWIG_IsOK(res1
)) {
54068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition_GetRow" "', expected argument " "1"" of type '" "wxGBPosition const *""'");
54070 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
54072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54073 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
54074 wxPyEndAllowThreads(__tstate
);
54075 if (PyErr_Occurred()) SWIG_fail
;
54077 resultobj
= SWIG_From_int(static_cast< int >(result
));
54084 SWIGINTERN PyObject
*_wrap_GBPosition_GetCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
54085 PyObject
*resultobj
= 0;
54086 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
54090 PyObject
*swig_obj
[1] ;
54092 if (!args
) SWIG_fail
;
54093 swig_obj
[0] = args
;
54094 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
54095 if (!SWIG_IsOK(res1
)) {
54096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition_GetCol" "', expected argument " "1"" of type '" "wxGBPosition const *""'");
54098 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
54100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54101 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
54102 wxPyEndAllowThreads(__tstate
);
54103 if (PyErr_Occurred()) SWIG_fail
;
54105 resultobj
= SWIG_From_int(static_cast< int >(result
));
54112 SWIGINTERN PyObject
*_wrap_GBPosition_SetRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
54113 PyObject
*resultobj
= 0;
54114 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
54120 PyObject
* obj0
= 0 ;
54121 PyObject
* obj1
= 0 ;
54122 char * kwnames
[] = {
54123 (char *) "self",(char *) "row", NULL
54126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
54127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
54128 if (!SWIG_IsOK(res1
)) {
54129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition_SetRow" "', expected argument " "1"" of type '" "wxGBPosition *""'");
54131 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
54132 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
54133 if (!SWIG_IsOK(ecode2
)) {
54134 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GBPosition_SetRow" "', expected argument " "2"" of type '" "int""'");
54136 arg2
= static_cast< int >(val2
);
54138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54139 (arg1
)->SetRow(arg2
);
54140 wxPyEndAllowThreads(__tstate
);
54141 if (PyErr_Occurred()) SWIG_fail
;
54143 resultobj
= SWIG_Py_Void();
54150 SWIGINTERN PyObject
*_wrap_GBPosition_SetCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
54151 PyObject
*resultobj
= 0;
54152 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
54158 PyObject
* obj0
= 0 ;
54159 PyObject
* obj1
= 0 ;
54160 char * kwnames
[] = {
54161 (char *) "self",(char *) "col", NULL
54164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
54165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
54166 if (!SWIG_IsOK(res1
)) {
54167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition_SetCol" "', expected argument " "1"" of type '" "wxGBPosition *""'");
54169 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
54170 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
54171 if (!SWIG_IsOK(ecode2
)) {
54172 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GBPosition_SetCol" "', expected argument " "2"" of type '" "int""'");
54174 arg2
= static_cast< int >(val2
);
54176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54177 (arg1
)->SetCol(arg2
);
54178 wxPyEndAllowThreads(__tstate
);
54179 if (PyErr_Occurred()) SWIG_fail
;
54181 resultobj
= SWIG_Py_Void();
54188 SWIGINTERN PyObject
*_wrap_GBPosition___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
54189 PyObject
*resultobj
= 0;
54190 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
54191 PyObject
*arg2
= (PyObject
*) 0 ;
54195 PyObject
* obj0
= 0 ;
54196 PyObject
* obj1
= 0 ;
54197 char * kwnames
[] = {
54198 (char *) "self",(char *) "other", NULL
54201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
54202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
54203 if (!SWIG_IsOK(res1
)) {
54204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition___eq__" "', expected argument " "1"" of type '" "wxGBPosition *""'");
54206 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
54209 result
= (bool)wxGBPosition___eq__(arg1
,arg2
);
54210 if (PyErr_Occurred()) SWIG_fail
;
54213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
54221 SWIGINTERN PyObject
*_wrap_GBPosition___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
54222 PyObject
*resultobj
= 0;
54223 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
54224 PyObject
*arg2
= (PyObject
*) 0 ;
54228 PyObject
* obj0
= 0 ;
54229 PyObject
* obj1
= 0 ;
54230 char * kwnames
[] = {
54231 (char *) "self",(char *) "other", NULL
54234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
54235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
54236 if (!SWIG_IsOK(res1
)) {
54237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition___ne__" "', expected argument " "1"" of type '" "wxGBPosition *""'");
54239 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
54242 result
= (bool)wxGBPosition___ne__(arg1
,arg2
);
54243 if (PyErr_Occurred()) SWIG_fail
;
54246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
54254 SWIGINTERN PyObject
*_wrap_GBPosition_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
54255 PyObject
*resultobj
= 0;
54256 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
54257 int arg2
= (int) 0 ;
54258 int arg3
= (int) 0 ;
54265 PyObject
* obj0
= 0 ;
54266 PyObject
* obj1
= 0 ;
54267 PyObject
* obj2
= 0 ;
54268 char * kwnames
[] = {
54269 (char *) "self",(char *) "row",(char *) "col", NULL
54272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
54273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
54274 if (!SWIG_IsOK(res1
)) {
54275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition_Set" "', expected argument " "1"" of type '" "wxGBPosition *""'");
54277 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
54279 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
54280 if (!SWIG_IsOK(ecode2
)) {
54281 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GBPosition_Set" "', expected argument " "2"" of type '" "int""'");
54283 arg2
= static_cast< int >(val2
);
54286 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
54287 if (!SWIG_IsOK(ecode3
)) {
54288 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GBPosition_Set" "', expected argument " "3"" of type '" "int""'");
54290 arg3
= static_cast< int >(val3
);
54293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54294 wxGBPosition_Set(arg1
,arg2
,arg3
);
54295 wxPyEndAllowThreads(__tstate
);
54296 if (PyErr_Occurred()) SWIG_fail
;
54298 resultobj
= SWIG_Py_Void();
54305 SWIGINTERN PyObject
*_wrap_GBPosition_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
54306 PyObject
*resultobj
= 0;
54307 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
54308 PyObject
*result
= 0 ;
54311 PyObject
*swig_obj
[1] ;
54313 if (!args
) SWIG_fail
;
54314 swig_obj
[0] = args
;
54315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
54316 if (!SWIG_IsOK(res1
)) {
54317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition_Get" "', expected argument " "1"" of type '" "wxGBPosition *""'");
54319 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
54321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54322 result
= (PyObject
*)wxGBPosition_Get(arg1
);
54323 wxPyEndAllowThreads(__tstate
);
54324 if (PyErr_Occurred()) SWIG_fail
;
54326 resultobj
= result
;
54333 SWIGINTERN PyObject
*GBPosition_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
54335 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
54336 SWIG_TypeNewClientData(SWIGTYPE_p_wxGBPosition
, SWIG_NewClientData(obj
));
54337 return SWIG_Py_Void();
54340 SWIGINTERN PyObject
*GBPosition_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
54341 return SWIG_Python_InitShadowInstance(args
);
54344 SWIGINTERN PyObject
*_wrap_new_GBSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
54345 PyObject
*resultobj
= 0;
54346 int arg1
= (int) 1 ;
54347 int arg2
= (int) 1 ;
54348 wxGBSpan
*result
= 0 ;
54353 PyObject
* obj0
= 0 ;
54354 PyObject
* obj1
= 0 ;
54355 char * kwnames
[] = {
54356 (char *) "rowspan",(char *) "colspan", NULL
54359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
54361 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
54362 if (!SWIG_IsOK(ecode1
)) {
54363 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GBSpan" "', expected argument " "1"" of type '" "int""'");
54365 arg1
= static_cast< int >(val1
);
54368 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
54369 if (!SWIG_IsOK(ecode2
)) {
54370 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GBSpan" "', expected argument " "2"" of type '" "int""'");
54372 arg2
= static_cast< int >(val2
);
54375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54376 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
54377 wxPyEndAllowThreads(__tstate
);
54378 if (PyErr_Occurred()) SWIG_fail
;
54380 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_NEW
| 0 );
54387 SWIGINTERN PyObject
*_wrap_delete_GBSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
54388 PyObject
*resultobj
= 0;
54389 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
54392 PyObject
*swig_obj
[1] ;
54394 if (!args
) SWIG_fail
;
54395 swig_obj
[0] = args
;
54396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_DISOWN
| 0 );
54397 if (!SWIG_IsOK(res1
)) {
54398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GBSpan" "', expected argument " "1"" of type '" "wxGBSpan *""'");
54400 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
54402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54405 wxPyEndAllowThreads(__tstate
);
54406 if (PyErr_Occurred()) SWIG_fail
;
54408 resultobj
= SWIG_Py_Void();
54415 SWIGINTERN PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
54416 PyObject
*resultobj
= 0;
54417 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
54421 PyObject
*swig_obj
[1] ;
54423 if (!args
) SWIG_fail
;
54424 swig_obj
[0] = args
;
54425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
54426 if (!SWIG_IsOK(res1
)) {
54427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan_GetRowspan" "', expected argument " "1"" of type '" "wxGBSpan const *""'");
54429 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
54431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54432 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
54433 wxPyEndAllowThreads(__tstate
);
54434 if (PyErr_Occurred()) SWIG_fail
;
54436 resultobj
= SWIG_From_int(static_cast< int >(result
));
54443 SWIGINTERN PyObject
*_wrap_GBSpan_GetColspan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
54444 PyObject
*resultobj
= 0;
54445 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
54449 PyObject
*swig_obj
[1] ;
54451 if (!args
) SWIG_fail
;
54452 swig_obj
[0] = args
;
54453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
54454 if (!SWIG_IsOK(res1
)) {
54455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan_GetColspan" "', expected argument " "1"" of type '" "wxGBSpan const *""'");
54457 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
54459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54460 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
54461 wxPyEndAllowThreads(__tstate
);
54462 if (PyErr_Occurred()) SWIG_fail
;
54464 resultobj
= SWIG_From_int(static_cast< int >(result
));
54471 SWIGINTERN PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
54472 PyObject
*resultobj
= 0;
54473 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
54479 PyObject
* obj0
= 0 ;
54480 PyObject
* obj1
= 0 ;
54481 char * kwnames
[] = {
54482 (char *) "self",(char *) "rowspan", NULL
54485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
54486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
54487 if (!SWIG_IsOK(res1
)) {
54488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan_SetRowspan" "', expected argument " "1"" of type '" "wxGBSpan *""'");
54490 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
54491 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
54492 if (!SWIG_IsOK(ecode2
)) {
54493 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GBSpan_SetRowspan" "', expected argument " "2"" of type '" "int""'");
54495 arg2
= static_cast< int >(val2
);
54497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54498 (arg1
)->SetRowspan(arg2
);
54499 wxPyEndAllowThreads(__tstate
);
54500 if (PyErr_Occurred()) SWIG_fail
;
54502 resultobj
= SWIG_Py_Void();
54509 SWIGINTERN PyObject
*_wrap_GBSpan_SetColspan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
54510 PyObject
*resultobj
= 0;
54511 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
54517 PyObject
* obj0
= 0 ;
54518 PyObject
* obj1
= 0 ;
54519 char * kwnames
[] = {
54520 (char *) "self",(char *) "colspan", NULL
54523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
54524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
54525 if (!SWIG_IsOK(res1
)) {
54526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan_SetColspan" "', expected argument " "1"" of type '" "wxGBSpan *""'");
54528 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
54529 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
54530 if (!SWIG_IsOK(ecode2
)) {
54531 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GBSpan_SetColspan" "', expected argument " "2"" of type '" "int""'");
54533 arg2
= static_cast< int >(val2
);
54535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54536 (arg1
)->SetColspan(arg2
);
54537 wxPyEndAllowThreads(__tstate
);
54538 if (PyErr_Occurred()) SWIG_fail
;
54540 resultobj
= SWIG_Py_Void();
54547 SWIGINTERN PyObject
*_wrap_GBSpan___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
54548 PyObject
*resultobj
= 0;
54549 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
54550 PyObject
*arg2
= (PyObject
*) 0 ;
54554 PyObject
* obj0
= 0 ;
54555 PyObject
* obj1
= 0 ;
54556 char * kwnames
[] = {
54557 (char *) "self",(char *) "other", NULL
54560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
54561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
54562 if (!SWIG_IsOK(res1
)) {
54563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan___eq__" "', expected argument " "1"" of type '" "wxGBSpan *""'");
54565 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
54568 result
= (bool)wxGBSpan___eq__(arg1
,arg2
);
54569 if (PyErr_Occurred()) SWIG_fail
;
54572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
54580 SWIGINTERN PyObject
*_wrap_GBSpan___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
54581 PyObject
*resultobj
= 0;
54582 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
54583 PyObject
*arg2
= (PyObject
*) 0 ;
54587 PyObject
* obj0
= 0 ;
54588 PyObject
* obj1
= 0 ;
54589 char * kwnames
[] = {
54590 (char *) "self",(char *) "other", NULL
54593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
54594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
54595 if (!SWIG_IsOK(res1
)) {
54596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan___ne__" "', expected argument " "1"" of type '" "wxGBSpan *""'");
54598 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
54601 result
= (bool)wxGBSpan___ne__(arg1
,arg2
);
54602 if (PyErr_Occurred()) SWIG_fail
;
54605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
54613 SWIGINTERN PyObject
*_wrap_GBSpan_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
54614 PyObject
*resultobj
= 0;
54615 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
54616 int arg2
= (int) 1 ;
54617 int arg3
= (int) 1 ;
54624 PyObject
* obj0
= 0 ;
54625 PyObject
* obj1
= 0 ;
54626 PyObject
* obj2
= 0 ;
54627 char * kwnames
[] = {
54628 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
54631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
54632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
54633 if (!SWIG_IsOK(res1
)) {
54634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan_Set" "', expected argument " "1"" of type '" "wxGBSpan *""'");
54636 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
54638 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
54639 if (!SWIG_IsOK(ecode2
)) {
54640 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GBSpan_Set" "', expected argument " "2"" of type '" "int""'");
54642 arg2
= static_cast< int >(val2
);
54645 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
54646 if (!SWIG_IsOK(ecode3
)) {
54647 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GBSpan_Set" "', expected argument " "3"" of type '" "int""'");
54649 arg3
= static_cast< int >(val3
);
54652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54653 wxGBSpan_Set(arg1
,arg2
,arg3
);
54654 wxPyEndAllowThreads(__tstate
);
54655 if (PyErr_Occurred()) SWIG_fail
;
54657 resultobj
= SWIG_Py_Void();
54664 SWIGINTERN PyObject
*_wrap_GBSpan_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
54665 PyObject
*resultobj
= 0;
54666 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
54667 PyObject
*result
= 0 ;
54670 PyObject
*swig_obj
[1] ;
54672 if (!args
) SWIG_fail
;
54673 swig_obj
[0] = args
;
54674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
54675 if (!SWIG_IsOK(res1
)) {
54676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan_Get" "', expected argument " "1"" of type '" "wxGBSpan *""'");
54678 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
54680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54681 result
= (PyObject
*)wxGBSpan_Get(arg1
);
54682 wxPyEndAllowThreads(__tstate
);
54683 if (PyErr_Occurred()) SWIG_fail
;
54685 resultobj
= result
;
54692 SWIGINTERN PyObject
*GBSpan_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
54694 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
54695 SWIG_TypeNewClientData(SWIGTYPE_p_wxGBSpan
, SWIG_NewClientData(obj
));
54696 return SWIG_Py_Void();
54699 SWIGINTERN PyObject
*GBSpan_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
54700 return SWIG_Python_InitShadowInstance(args
);
54703 SWIGINTERN
int DefaultSpan_set(PyObject
*) {
54704 SWIG_Error(SWIG_AttributeError
,"Variable DefaultSpan is read-only.");
54709 SWIGINTERN PyObject
*DefaultSpan_get(void) {
54710 PyObject
*pyobj
= 0;
54712 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0 );
54717 SWIGINTERN PyObject
*_wrap_new_GBSizerItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
54718 PyObject
*resultobj
= 0;
54719 wxGBSizerItem
*result
= 0 ;
54721 if (!SWIG_Python_UnpackTuple(args
,"new_GBSizerItem",0,0,0)) SWIG_fail
;
54723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54724 result
= (wxGBSizerItem
*)new wxGBSizerItem();
54725 wxPyEndAllowThreads(__tstate
);
54726 if (PyErr_Occurred()) SWIG_fail
;
54728 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_NEW
| 0 );
54735 SWIGINTERN PyObject
*_wrap_delete_GBSizerItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
54736 PyObject
*resultobj
= 0;
54737 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
54740 PyObject
*swig_obj
[1] ;
54742 if (!args
) SWIG_fail
;
54743 swig_obj
[0] = args
;
54744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_DISOWN
| 0 );
54745 if (!SWIG_IsOK(res1
)) {
54746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GBSizerItem" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
54748 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
54750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54753 wxPyEndAllowThreads(__tstate
);
54754 if (PyErr_Occurred()) SWIG_fail
;
54756 resultobj
= SWIG_Py_Void();
54763 SWIGINTERN PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
54764 PyObject
*resultobj
= 0;
54765 wxWindow
*arg1
= (wxWindow
*) 0 ;
54766 wxGBPosition
*arg2
= 0 ;
54767 wxGBSpan
*arg3
= 0 ;
54770 PyObject
*arg6
= (PyObject
*) NULL
;
54771 wxGBSizerItem
*result
= 0 ;
54774 wxGBPosition temp2
;
54780 PyObject
* obj0
= 0 ;
54781 PyObject
* obj1
= 0 ;
54782 PyObject
* obj2
= 0 ;
54783 PyObject
* obj3
= 0 ;
54784 PyObject
* obj4
= 0 ;
54785 PyObject
* obj5
= 0 ;
54786 char * kwnames
[] = {
54787 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
54790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
54791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
54792 if (!SWIG_IsOK(res1
)) {
54793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GBSizerItemWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
54795 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
54798 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
54802 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
54804 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
54805 if (!SWIG_IsOK(ecode4
)) {
54806 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_GBSizerItemWindow" "', expected argument " "4"" of type '" "int""'");
54808 arg4
= static_cast< int >(val4
);
54809 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
54810 if (!SWIG_IsOK(ecode5
)) {
54811 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_GBSizerItemWindow" "', expected argument " "5"" of type '" "int""'");
54813 arg5
= static_cast< int >(val5
);
54818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54819 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
54820 wxPyEndAllowThreads(__tstate
);
54821 if (PyErr_Occurred()) SWIG_fail
;
54823 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_OWN
| 0 );
54830 SWIGINTERN PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
54831 PyObject
*resultobj
= 0;
54832 wxSizer
*arg1
= (wxSizer
*) 0 ;
54833 wxGBPosition
*arg2
= 0 ;
54834 wxGBSpan
*arg3
= 0 ;
54837 PyObject
*arg6
= (PyObject
*) NULL
;
54838 wxGBSizerItem
*result
= 0 ;
54840 wxGBPosition temp2
;
54846 PyObject
* obj0
= 0 ;
54847 PyObject
* obj1
= 0 ;
54848 PyObject
* obj2
= 0 ;
54849 PyObject
* obj3
= 0 ;
54850 PyObject
* obj4
= 0 ;
54851 PyObject
* obj5
= 0 ;
54852 char * kwnames
[] = {
54853 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
54856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
54857 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxSizer
, SWIG_POINTER_DISOWN
| 0 );
54858 if (!SWIG_IsOK(res1
)) {
54859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GBSizerItemSizer" "', expected argument " "1"" of type '" "wxSizer *""'");
54863 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
54867 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
54869 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
54870 if (!SWIG_IsOK(ecode4
)) {
54871 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_GBSizerItemSizer" "', expected argument " "4"" of type '" "int""'");
54873 arg4
= static_cast< int >(val4
);
54874 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
54875 if (!SWIG_IsOK(ecode5
)) {
54876 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_GBSizerItemSizer" "', expected argument " "5"" of type '" "int""'");
54878 arg5
= static_cast< int >(val5
);
54883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54884 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
54885 wxPyEndAllowThreads(__tstate
);
54886 if (PyErr_Occurred()) SWIG_fail
;
54888 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_OWN
| 0 );
54895 SWIGINTERN PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
54896 PyObject
*resultobj
= 0;
54899 wxGBPosition
*arg3
= 0 ;
54900 wxGBSpan
*arg4
= 0 ;
54903 PyObject
*arg7
= (PyObject
*) NULL
;
54904 wxGBSizerItem
*result
= 0 ;
54909 wxGBPosition temp3
;
54915 PyObject
* obj0
= 0 ;
54916 PyObject
* obj1
= 0 ;
54917 PyObject
* obj2
= 0 ;
54918 PyObject
* obj3
= 0 ;
54919 PyObject
* obj4
= 0 ;
54920 PyObject
* obj5
= 0 ;
54921 PyObject
* obj6
= 0 ;
54922 char * kwnames
[] = {
54923 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
54926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
54927 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
54928 if (!SWIG_IsOK(ecode1
)) {
54929 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GBSizerItemSpacer" "', expected argument " "1"" of type '" "int""'");
54931 arg1
= static_cast< int >(val1
);
54932 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
54933 if (!SWIG_IsOK(ecode2
)) {
54934 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GBSizerItemSpacer" "', expected argument " "2"" of type '" "int""'");
54936 arg2
= static_cast< int >(val2
);
54939 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
54943 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
54945 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
54946 if (!SWIG_IsOK(ecode5
)) {
54947 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_GBSizerItemSpacer" "', expected argument " "5"" of type '" "int""'");
54949 arg5
= static_cast< int >(val5
);
54950 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
54951 if (!SWIG_IsOK(ecode6
)) {
54952 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GBSizerItemSpacer" "', expected argument " "6"" of type '" "int""'");
54954 arg6
= static_cast< int >(val6
);
54959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54960 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
54961 wxPyEndAllowThreads(__tstate
);
54962 if (PyErr_Occurred()) SWIG_fail
;
54964 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_OWN
| 0 );
54971 SWIGINTERN PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
54972 PyObject
*resultobj
= 0;
54973 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
54974 wxGBPosition result
;
54977 PyObject
*swig_obj
[1] ;
54979 if (!args
) SWIG_fail
;
54980 swig_obj
[0] = args
;
54981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
54982 if (!SWIG_IsOK(res1
)) {
54983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_GetPos" "', expected argument " "1"" of type '" "wxGBSizerItem const *""'");
54985 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
54987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54988 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
54989 wxPyEndAllowThreads(__tstate
);
54990 if (PyErr_Occurred()) SWIG_fail
;
54992 resultobj
= SWIG_NewPointerObj((new wxGBPosition(static_cast< const wxGBPosition
& >(result
))), SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_OWN
| 0 );
54999 SWIGINTERN PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
55000 PyObject
*resultobj
= 0;
55001 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
55005 PyObject
*swig_obj
[1] ;
55007 if (!args
) SWIG_fail
;
55008 swig_obj
[0] = args
;
55009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
55010 if (!SWIG_IsOK(res1
)) {
55011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_GetSpan" "', expected argument " "1"" of type '" "wxGBSizerItem const *""'");
55013 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
55015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55016 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
55017 wxPyEndAllowThreads(__tstate
);
55018 if (PyErr_Occurred()) SWIG_fail
;
55020 resultobj
= SWIG_NewPointerObj((new wxGBSpan(static_cast< const wxGBSpan
& >(result
))), SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_OWN
| 0 );
55027 SWIGINTERN PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
55028 PyObject
*resultobj
= 0;
55029 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
55030 wxGBPosition
*arg2
= 0 ;
55034 wxGBPosition temp2
;
55035 PyObject
* obj0
= 0 ;
55036 PyObject
* obj1
= 0 ;
55037 char * kwnames
[] = {
55038 (char *) "self",(char *) "pos", NULL
55041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
55042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
55043 if (!SWIG_IsOK(res1
)) {
55044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_SetPos" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
55046 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
55049 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
55052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55053 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
55054 wxPyEndAllowThreads(__tstate
);
55055 if (PyErr_Occurred()) SWIG_fail
;
55058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
55066 SWIGINTERN PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
55067 PyObject
*resultobj
= 0;
55068 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
55069 wxGBSpan
*arg2
= 0 ;
55074 PyObject
* obj0
= 0 ;
55075 PyObject
* obj1
= 0 ;
55076 char * kwnames
[] = {
55077 (char *) "self",(char *) "span", NULL
55080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
55081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
55082 if (!SWIG_IsOK(res1
)) {
55083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_SetSpan" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
55085 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
55088 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
55091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55092 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
55093 wxPyEndAllowThreads(__tstate
);
55094 if (PyErr_Occurred()) SWIG_fail
;
55097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
55105 SWIGINTERN PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
55106 PyObject
*resultobj
= 0;
55107 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
55108 wxGBSizerItem
*arg2
= 0 ;
55114 PyObject
* obj0
= 0 ;
55115 PyObject
* obj1
= 0 ;
55116 char * kwnames
[] = {
55117 (char *) "self",(char *) "other", NULL
55120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
55121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
55122 if (!SWIG_IsOK(res1
)) {
55123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_Intersects" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
55125 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
55126 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGBSizerItem
, 0 | 0);
55127 if (!SWIG_IsOK(res2
)) {
55128 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GBSizerItem_Intersects" "', expected argument " "2"" of type '" "wxGBSizerItem const &""'");
55131 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GBSizerItem_Intersects" "', expected argument " "2"" of type '" "wxGBSizerItem const &""'");
55133 arg2
= reinterpret_cast< wxGBSizerItem
* >(argp2
);
55135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55136 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
55137 wxPyEndAllowThreads(__tstate
);
55138 if (PyErr_Occurred()) SWIG_fail
;
55141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
55149 SWIGINTERN PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
55150 PyObject
*resultobj
= 0;
55151 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
55152 wxGBPosition
*arg2
= 0 ;
55153 wxGBSpan
*arg3
= 0 ;
55157 wxGBPosition temp2
;
55159 PyObject
* obj0
= 0 ;
55160 PyObject
* obj1
= 0 ;
55161 PyObject
* obj2
= 0 ;
55162 char * kwnames
[] = {
55163 (char *) "self",(char *) "pos",(char *) "span", NULL
55166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
55167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
55168 if (!SWIG_IsOK(res1
)) {
55169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_IntersectsPos" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
55171 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
55174 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
55178 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
55181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55182 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
55183 wxPyEndAllowThreads(__tstate
);
55184 if (PyErr_Occurred()) SWIG_fail
;
55187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
55195 SWIGINTERN PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
55196 PyObject
*resultobj
= 0;
55197 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
55198 wxGBPosition result
;
55201 PyObject
*swig_obj
[1] ;
55203 if (!args
) SWIG_fail
;
55204 swig_obj
[0] = args
;
55205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
55206 if (!SWIG_IsOK(res1
)) {
55207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_GetEndPos" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
55209 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
55211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55212 result
= wxGBSizerItem_GetEndPos(arg1
);
55213 wxPyEndAllowThreads(__tstate
);
55214 if (PyErr_Occurred()) SWIG_fail
;
55216 resultobj
= SWIG_NewPointerObj((new wxGBPosition(static_cast< const wxGBPosition
& >(result
))), SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_OWN
| 0 );
55223 SWIGINTERN PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
55224 PyObject
*resultobj
= 0;
55225 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
55226 wxGridBagSizer
*result
= 0 ;
55229 PyObject
*swig_obj
[1] ;
55231 if (!args
) SWIG_fail
;
55232 swig_obj
[0] = args
;
55233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
55234 if (!SWIG_IsOK(res1
)) {
55235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_GetGBSizer" "', expected argument " "1"" of type '" "wxGBSizerItem const *""'");
55237 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
55239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55240 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
55241 wxPyEndAllowThreads(__tstate
);
55242 if (PyErr_Occurred()) SWIG_fail
;
55244 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
55251 SWIGINTERN PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
55252 PyObject
*resultobj
= 0;
55253 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
55254 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
55259 PyObject
* obj0
= 0 ;
55260 PyObject
* obj1
= 0 ;
55261 char * kwnames
[] = {
55262 (char *) "self",(char *) "sizer", NULL
55265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
55266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
55267 if (!SWIG_IsOK(res1
)) {
55268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_SetGBSizer" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
55270 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
55271 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
55272 if (!SWIG_IsOK(res2
)) {
55273 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GBSizerItem_SetGBSizer" "', expected argument " "2"" of type '" "wxGridBagSizer *""'");
55275 arg2
= reinterpret_cast< wxGridBagSizer
* >(argp2
);
55277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55278 (arg1
)->SetGBSizer(arg2
);
55279 wxPyEndAllowThreads(__tstate
);
55280 if (PyErr_Occurred()) SWIG_fail
;
55282 resultobj
= SWIG_Py_Void();
55289 SWIGINTERN PyObject
*GBSizerItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
55291 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
55292 SWIG_TypeNewClientData(SWIGTYPE_p_wxGBSizerItem
, SWIG_NewClientData(obj
));
55293 return SWIG_Py_Void();
55296 SWIGINTERN PyObject
*GBSizerItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
55297 return SWIG_Python_InitShadowInstance(args
);
55300 SWIGINTERN PyObject
*_wrap_new_GridBagSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
55301 PyObject
*resultobj
= 0;
55302 int arg1
= (int) 0 ;
55303 int arg2
= (int) 0 ;
55304 wxGridBagSizer
*result
= 0 ;
55309 PyObject
* obj0
= 0 ;
55310 PyObject
* obj1
= 0 ;
55311 char * kwnames
[] = {
55312 (char *) "vgap",(char *) "hgap", NULL
55315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
55317 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
55318 if (!SWIG_IsOK(ecode1
)) {
55319 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridBagSizer" "', expected argument " "1"" of type '" "int""'");
55321 arg1
= static_cast< int >(val1
);
55324 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
55325 if (!SWIG_IsOK(ecode2
)) {
55326 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridBagSizer" "', expected argument " "2"" of type '" "int""'");
55328 arg2
= static_cast< int >(val2
);
55331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55332 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
55333 wxPyEndAllowThreads(__tstate
);
55334 if (PyErr_Occurred()) SWIG_fail
;
55336 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_NEW
| 0 );
55343 SWIGINTERN PyObject
*_wrap_GridBagSizer_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
55344 PyObject
*resultobj
= 0;
55345 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
55346 PyObject
*arg2
= (PyObject
*) 0 ;
55347 wxGBPosition
*arg3
= 0 ;
55348 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
55349 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
55350 int arg5
= (int) 0 ;
55351 int arg6
= (int) 0 ;
55352 PyObject
*arg7
= (PyObject
*) NULL
;
55353 wxGBSizerItem
*result
= 0 ;
55356 wxGBPosition temp3
;
55362 PyObject
* obj0
= 0 ;
55363 PyObject
* obj1
= 0 ;
55364 PyObject
* obj2
= 0 ;
55365 PyObject
* obj3
= 0 ;
55366 PyObject
* obj4
= 0 ;
55367 PyObject
* obj5
= 0 ;
55368 PyObject
* obj6
= 0 ;
55369 char * kwnames
[] = {
55370 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
55373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
55374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
55375 if (!SWIG_IsOK(res1
)) {
55376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_Add" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
55378 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
55382 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
55387 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
55391 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
55392 if (!SWIG_IsOK(ecode5
)) {
55393 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GridBagSizer_Add" "', expected argument " "5"" of type '" "int""'");
55395 arg5
= static_cast< int >(val5
);
55398 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
55399 if (!SWIG_IsOK(ecode6
)) {
55400 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GridBagSizer_Add" "', expected argument " "6"" of type '" "int""'");
55402 arg6
= static_cast< int >(val6
);
55408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55409 result
= (wxGBSizerItem
*)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
55410 wxPyEndAllowThreads(__tstate
);
55411 if (PyErr_Occurred()) SWIG_fail
;
55413 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
55420 SWIGINTERN PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
55421 PyObject
*resultobj
= 0;
55422 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
55423 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
55424 wxGBSizerItem
*result
= 0 ;
55428 PyObject
* obj0
= 0 ;
55429 PyObject
* obj1
= 0 ;
55430 char * kwnames
[] = {
55431 (char *) "self",(char *) "item", NULL
55434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
55435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
55436 if (!SWIG_IsOK(res1
)) {
55437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_AddItem" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
55439 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
55440 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_DISOWN
| 0 );
55441 if (!SWIG_IsOK(res2
)) {
55442 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_AddItem" "', expected argument " "2"" of type '" "wxGBSizerItem *""'");
55445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55446 result
= (wxGBSizerItem
*)(arg1
)->Add(arg2
);
55447 wxPyEndAllowThreads(__tstate
);
55448 if (PyErr_Occurred()) SWIG_fail
;
55450 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
55457 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetCellSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
55458 PyObject
*resultobj
= 0;
55459 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
55469 PyObject
* obj0
= 0 ;
55470 PyObject
* obj1
= 0 ;
55471 PyObject
* obj2
= 0 ;
55472 char * kwnames
[] = {
55473 (char *) "self",(char *) "row",(char *) "col", NULL
55476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridBagSizer_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
55477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
55478 if (!SWIG_IsOK(res1
)) {
55479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetCellSize" "', expected argument " "1"" of type '" "wxGridBagSizer const *""'");
55481 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
55482 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
55483 if (!SWIG_IsOK(ecode2
)) {
55484 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridBagSizer_GetCellSize" "', expected argument " "2"" of type '" "int""'");
55486 arg2
= static_cast< int >(val2
);
55487 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
55488 if (!SWIG_IsOK(ecode3
)) {
55489 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridBagSizer_GetCellSize" "', expected argument " "3"" of type '" "int""'");
55491 arg3
= static_cast< int >(val3
);
55493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55494 result
= ((wxGridBagSizer
const *)arg1
)->GetCellSize(arg2
,arg3
);
55495 wxPyEndAllowThreads(__tstate
);
55496 if (PyErr_Occurred()) SWIG_fail
;
55498 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
55505 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
55506 PyObject
*resultobj
= 0;
55507 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
55511 PyObject
*swig_obj
[1] ;
55513 if (!args
) SWIG_fail
;
55514 swig_obj
[0] = args
;
55515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
55516 if (!SWIG_IsOK(res1
)) {
55517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetEmptyCellSize" "', expected argument " "1"" of type '" "wxGridBagSizer const *""'");
55519 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
55521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55522 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
55523 wxPyEndAllowThreads(__tstate
);
55524 if (PyErr_Occurred()) SWIG_fail
;
55526 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
55533 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
55534 PyObject
*resultobj
= 0;
55535 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
55540 PyObject
* obj0
= 0 ;
55541 PyObject
* obj1
= 0 ;
55542 char * kwnames
[] = {
55543 (char *) "self",(char *) "sz", NULL
55546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
55547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
55548 if (!SWIG_IsOK(res1
)) {
55549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetEmptyCellSize" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
55551 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
55554 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
55557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55558 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
55559 wxPyEndAllowThreads(__tstate
);
55560 if (PyErr_Occurred()) SWIG_fail
;
55562 resultobj
= SWIG_Py_Void();
55569 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
55570 PyObject
*resultobj
= 0;
55571 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
55572 wxWindow
*arg2
= (wxWindow
*) 0 ;
55573 wxGBPosition result
;
55579 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
55580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
55581 if (!SWIG_IsOK(res1
)) {
55582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetItemPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
55584 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
55585 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
55586 if (!SWIG_IsOK(res2
)) {
55587 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_GetItemPosition" "', expected argument " "2"" of type '" "wxWindow *""'");
55589 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
55591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55592 result
= (arg1
)->GetItemPosition(arg2
);
55593 wxPyEndAllowThreads(__tstate
);
55594 if (PyErr_Occurred()) SWIG_fail
;
55596 resultobj
= SWIG_NewPointerObj((new wxGBPosition(static_cast< const wxGBPosition
& >(result
))), SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_OWN
| 0 );
55603 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
55604 PyObject
*resultobj
= 0;
55605 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
55606 wxSizer
*arg2
= (wxSizer
*) 0 ;
55607 wxGBPosition result
;
55613 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
55614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
55615 if (!SWIG_IsOK(res1
)) {
55616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetItemPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
55618 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
55619 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
55620 if (!SWIG_IsOK(res2
)) {
55621 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_GetItemPosition" "', expected argument " "2"" of type '" "wxSizer *""'");
55623 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
55625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55626 result
= (arg1
)->GetItemPosition(arg2
);
55627 wxPyEndAllowThreads(__tstate
);
55628 if (PyErr_Occurred()) SWIG_fail
;
55630 resultobj
= SWIG_NewPointerObj((new wxGBPosition(static_cast< const wxGBPosition
& >(result
))), SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_OWN
| 0 );
55637 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
55638 PyObject
*resultobj
= 0;
55639 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
55641 wxGBPosition result
;
55647 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
55648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
55649 if (!SWIG_IsOK(res1
)) {
55650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetItemPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
55652 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
55653 ecode2
= SWIG_AsVal_size_t(swig_obj
[1], &val2
);
55654 if (!SWIG_IsOK(ecode2
)) {
55655 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridBagSizer_GetItemPosition" "', expected argument " "2"" of type '" "size_t""'");
55657 arg2
= static_cast< size_t >(val2
);
55659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55660 result
= (arg1
)->GetItemPosition(arg2
);
55661 wxPyEndAllowThreads(__tstate
);
55662 if (PyErr_Occurred()) SWIG_fail
;
55664 resultobj
= SWIG_NewPointerObj((new wxGBPosition(static_cast< const wxGBPosition
& >(result
))), SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_OWN
| 0 );
55671 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
55675 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GridBagSizer_GetItemPosition",0,2,argv
))) SWIG_fail
;
55681 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxWindow
, 0);
55682 _v
= SWIG_CheckState(res
);
55684 if (!_v
) goto check_1
;
55685 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
, argc
, argv
);
55693 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxSizer
, 0);
55694 _v
= SWIG_CheckState(res
);
55696 if (!_v
) goto check_2
;
55697 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
, argc
, argv
);
55702 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
, argc
, argv
);
55706 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
55711 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
55712 PyObject
*resultobj
= 0;
55713 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
55714 wxWindow
*arg2
= (wxWindow
*) 0 ;
55715 wxGBPosition
*arg3
= 0 ;
55721 wxGBPosition temp3
;
55723 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
55724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
55725 if (!SWIG_IsOK(res1
)) {
55726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetItemPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
55728 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
55729 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
55730 if (!SWIG_IsOK(res2
)) {
55731 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_SetItemPosition" "', expected argument " "2"" of type '" "wxWindow *""'");
55733 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
55736 if ( ! wxGBPosition_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
55739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55740 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
55741 wxPyEndAllowThreads(__tstate
);
55742 if (PyErr_Occurred()) SWIG_fail
;
55745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
55753 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
55754 PyObject
*resultobj
= 0;
55755 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
55756 wxSizer
*arg2
= (wxSizer
*) 0 ;
55757 wxGBPosition
*arg3
= 0 ;
55763 wxGBPosition temp3
;
55765 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
55766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
55767 if (!SWIG_IsOK(res1
)) {
55768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetItemPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
55770 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
55771 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
55772 if (!SWIG_IsOK(res2
)) {
55773 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_SetItemPosition" "', expected argument " "2"" of type '" "wxSizer *""'");
55775 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
55778 if ( ! wxGBPosition_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
55781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55782 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
55783 wxPyEndAllowThreads(__tstate
);
55784 if (PyErr_Occurred()) SWIG_fail
;
55787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
55795 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
55796 PyObject
*resultobj
= 0;
55797 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
55799 wxGBPosition
*arg3
= 0 ;
55805 wxGBPosition temp3
;
55807 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
55808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
55809 if (!SWIG_IsOK(res1
)) {
55810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetItemPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
55812 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
55813 ecode2
= SWIG_AsVal_size_t(swig_obj
[1], &val2
);
55814 if (!SWIG_IsOK(ecode2
)) {
55815 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridBagSizer_SetItemPosition" "', expected argument " "2"" of type '" "size_t""'");
55817 arg2
= static_cast< size_t >(val2
);
55820 if ( ! wxGBPosition_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
55823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55824 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
55825 wxPyEndAllowThreads(__tstate
);
55826 if (PyErr_Occurred()) SWIG_fail
;
55829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
55837 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
55841 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GridBagSizer_SetItemPosition",0,3,argv
))) SWIG_fail
;
55847 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxWindow
, 0);
55848 _v
= SWIG_CheckState(res
);
55850 if (!_v
) goto check_1
;
55851 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
, argc
, argv
);
55859 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxSizer
, 0);
55860 _v
= SWIG_CheckState(res
);
55862 if (!_v
) goto check_2
;
55863 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
, argc
, argv
);
55868 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
, argc
, argv
);
55872 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
55877 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
55878 PyObject
*resultobj
= 0;
55879 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
55880 wxWindow
*arg2
= (wxWindow
*) 0 ;
55887 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
55888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
55889 if (!SWIG_IsOK(res1
)) {
55890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetItemSpan" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
55892 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
55893 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
55894 if (!SWIG_IsOK(res2
)) {
55895 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_GetItemSpan" "', expected argument " "2"" of type '" "wxWindow *""'");
55897 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
55899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55900 result
= (arg1
)->GetItemSpan(arg2
);
55901 wxPyEndAllowThreads(__tstate
);
55902 if (PyErr_Occurred()) SWIG_fail
;
55904 resultobj
= SWIG_NewPointerObj((new wxGBSpan(static_cast< const wxGBSpan
& >(result
))), SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_OWN
| 0 );
55911 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
55912 PyObject
*resultobj
= 0;
55913 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
55914 wxSizer
*arg2
= (wxSizer
*) 0 ;
55921 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
55922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
55923 if (!SWIG_IsOK(res1
)) {
55924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetItemSpan" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
55926 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
55927 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
55928 if (!SWIG_IsOK(res2
)) {
55929 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_GetItemSpan" "', expected argument " "2"" of type '" "wxSizer *""'");
55931 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
55933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55934 result
= (arg1
)->GetItemSpan(arg2
);
55935 wxPyEndAllowThreads(__tstate
);
55936 if (PyErr_Occurred()) SWIG_fail
;
55938 resultobj
= SWIG_NewPointerObj((new wxGBSpan(static_cast< const wxGBSpan
& >(result
))), SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_OWN
| 0 );
55945 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
55946 PyObject
*resultobj
= 0;
55947 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
55955 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
55956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
55957 if (!SWIG_IsOK(res1
)) {
55958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetItemSpan" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
55960 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
55961 ecode2
= SWIG_AsVal_size_t(swig_obj
[1], &val2
);
55962 if (!SWIG_IsOK(ecode2
)) {
55963 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridBagSizer_GetItemSpan" "', expected argument " "2"" of type '" "size_t""'");
55965 arg2
= static_cast< size_t >(val2
);
55967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55968 result
= (arg1
)->GetItemSpan(arg2
);
55969 wxPyEndAllowThreads(__tstate
);
55970 if (PyErr_Occurred()) SWIG_fail
;
55972 resultobj
= SWIG_NewPointerObj((new wxGBSpan(static_cast< const wxGBSpan
& >(result
))), SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_OWN
| 0 );
55979 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
55983 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GridBagSizer_GetItemSpan",0,2,argv
))) SWIG_fail
;
55989 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxWindow
, 0);
55990 _v
= SWIG_CheckState(res
);
55992 if (!_v
) goto check_1
;
55993 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
, argc
, argv
);
56001 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxSizer
, 0);
56002 _v
= SWIG_CheckState(res
);
56004 if (!_v
) goto check_2
;
56005 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
, argc
, argv
);
56010 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
, argc
, argv
);
56014 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
56019 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
56020 PyObject
*resultobj
= 0;
56021 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
56022 wxWindow
*arg2
= (wxWindow
*) 0 ;
56023 wxGBSpan
*arg3
= 0 ;
56031 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
56032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
56033 if (!SWIG_IsOK(res1
)) {
56034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetItemSpan" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
56036 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
56037 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
56038 if (!SWIG_IsOK(res2
)) {
56039 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_SetItemSpan" "', expected argument " "2"" of type '" "wxWindow *""'");
56041 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
56044 if ( ! wxGBSpan_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
56047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
56048 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
56049 wxPyEndAllowThreads(__tstate
);
56050 if (PyErr_Occurred()) SWIG_fail
;
56053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
56061 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
56062 PyObject
*resultobj
= 0;
56063 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
56064 wxSizer
*arg2
= (wxSizer
*) 0 ;
56065 wxGBSpan
*arg3
= 0 ;
56073 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
56074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
56075 if (!SWIG_IsOK(res1
)) {
56076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetItemSpan" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
56078 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
56079 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
56080 if (!SWIG_IsOK(res2
)) {
56081 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_SetItemSpan" "', expected argument " "2"" of type '" "wxSizer *""'");
56083 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
56086 if ( ! wxGBSpan_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
56089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
56090 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
56091 wxPyEndAllowThreads(__tstate
);
56092 if (PyErr_Occurred()) SWIG_fail
;
56095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
56103 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
56104 PyObject
*resultobj
= 0;
56105 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
56107 wxGBSpan
*arg3
= 0 ;
56115 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
56116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
56117 if (!SWIG_IsOK(res1
)) {
56118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetItemSpan" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
56120 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
56121 ecode2
= SWIG_AsVal_size_t(swig_obj
[1], &val2
);
56122 if (!SWIG_IsOK(ecode2
)) {
56123 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridBagSizer_SetItemSpan" "', expected argument " "2"" of type '" "size_t""'");
56125 arg2
= static_cast< size_t >(val2
);
56128 if ( ! wxGBSpan_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
56131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
56132 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
56133 wxPyEndAllowThreads(__tstate
);
56134 if (PyErr_Occurred()) SWIG_fail
;
56137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
56145 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
56149 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GridBagSizer_SetItemSpan",0,3,argv
))) SWIG_fail
;
56155 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxWindow
, 0);
56156 _v
= SWIG_CheckState(res
);
56158 if (!_v
) goto check_1
;
56159 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
, argc
, argv
);
56167 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxSizer
, 0);
56168 _v
= SWIG_CheckState(res
);
56170 if (!_v
) goto check_2
;
56171 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
, argc
, argv
);
56176 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
, argc
, argv
);
56180 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
56185 SWIGINTERN PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
56186 PyObject
*resultobj
= 0;
56187 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
56188 wxWindow
*arg2
= (wxWindow
*) 0 ;
56189 wxGBSizerItem
*result
= 0 ;
56195 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
56196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
56197 if (!SWIG_IsOK(res1
)) {
56198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_FindItem" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
56200 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
56201 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
56202 if (!SWIG_IsOK(res2
)) {
56203 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_FindItem" "', expected argument " "2"" of type '" "wxWindow *""'");
56205 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
56207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
56208 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
56209 wxPyEndAllowThreads(__tstate
);
56210 if (PyErr_Occurred()) SWIG_fail
;
56212 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
56219 SWIGINTERN PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
56220 PyObject
*resultobj
= 0;
56221 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
56222 wxSizer
*arg2
= (wxSizer
*) 0 ;
56223 wxGBSizerItem
*result
= 0 ;
56229 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
56230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
56231 if (!SWIG_IsOK(res1
)) {
56232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_FindItem" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
56234 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
56235 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
56236 if (!SWIG_IsOK(res2
)) {
56237 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_FindItem" "', expected argument " "2"" of type '" "wxSizer *""'");
56239 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
56241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
56242 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
56243 wxPyEndAllowThreads(__tstate
);
56244 if (PyErr_Occurred()) SWIG_fail
;
56246 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
56253 SWIGINTERN PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
56257 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GridBagSizer_FindItem",0,2,argv
))) SWIG_fail
;
56263 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxWindow
, 0);
56264 _v
= SWIG_CheckState(res
);
56266 if (!_v
) goto check_1
;
56267 return _wrap_GridBagSizer_FindItem__SWIG_0(self
, argc
, argv
);
56272 return _wrap_GridBagSizer_FindItem__SWIG_1(self
, argc
, argv
);
56276 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
56281 SWIGINTERN PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
56282 PyObject
*resultobj
= 0;
56283 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
56284 wxGBPosition
*arg2
= 0 ;
56285 wxGBSizerItem
*result
= 0 ;
56288 wxGBPosition temp2
;
56289 PyObject
* obj0
= 0 ;
56290 PyObject
* obj1
= 0 ;
56291 char * kwnames
[] = {
56292 (char *) "self",(char *) "pos", NULL
56295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
56296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
56297 if (!SWIG_IsOK(res1
)) {
56298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_FindItemAtPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
56300 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
56303 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
56306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
56307 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
56308 wxPyEndAllowThreads(__tstate
);
56309 if (PyErr_Occurred()) SWIG_fail
;
56311 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
56318 SWIGINTERN PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
56319 PyObject
*resultobj
= 0;
56320 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
56321 wxPoint
*arg2
= 0 ;
56322 wxGBSizerItem
*result
= 0 ;
56326 PyObject
* obj0
= 0 ;
56327 PyObject
* obj1
= 0 ;
56328 char * kwnames
[] = {
56329 (char *) "self",(char *) "pt", NULL
56332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
56333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
56334 if (!SWIG_IsOK(res1
)) {
56335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_FindItemAtPoint" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
56337 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
56340 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
56343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
56344 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
56345 wxPyEndAllowThreads(__tstate
);
56346 if (PyErr_Occurred()) SWIG_fail
;
56348 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
56355 SWIGINTERN PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
56356 PyObject
*resultobj
= 0;
56357 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
56358 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
56359 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
56367 PyObject
* obj0
= 0 ;
56368 PyObject
* obj1
= 0 ;
56369 PyObject
* obj2
= 0 ;
56370 char * kwnames
[] = {
56371 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
56374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
56375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
56376 if (!SWIG_IsOK(res1
)) {
56377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_CheckForIntersection" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
56379 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
56380 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
56381 if (!SWIG_IsOK(res2
)) {
56382 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_CheckForIntersection" "', expected argument " "2"" of type '" "wxGBSizerItem *""'");
56384 arg2
= reinterpret_cast< wxGBSizerItem
* >(argp2
);
56386 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
56387 if (!SWIG_IsOK(res3
)) {
56388 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "GridBagSizer_CheckForIntersection" "', expected argument " "3"" of type '" "wxGBSizerItem *""'");
56390 arg3
= reinterpret_cast< wxGBSizerItem
* >(argp3
);
56393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
56394 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
56395 wxPyEndAllowThreads(__tstate
);
56396 if (PyErr_Occurred()) SWIG_fail
;
56399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
56407 SWIGINTERN PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
56408 PyObject
*resultobj
= 0;
56409 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
56410 wxGBPosition
*arg2
= 0 ;
56411 wxGBSpan
*arg3
= 0 ;
56412 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
56416 wxGBPosition temp2
;
56420 PyObject
* obj0
= 0 ;
56421 PyObject
* obj1
= 0 ;
56422 PyObject
* obj2
= 0 ;
56423 PyObject
* obj3
= 0 ;
56424 char * kwnames
[] = {
56425 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
56428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
56429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
56430 if (!SWIG_IsOK(res1
)) {
56431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_CheckForIntersectionPos" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
56433 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
56436 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
56440 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
56443 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
56444 if (!SWIG_IsOK(res4
)) {
56445 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GridBagSizer_CheckForIntersectionPos" "', expected argument " "4"" of type '" "wxGBSizerItem *""'");
56447 arg4
= reinterpret_cast< wxGBSizerItem
* >(argp4
);
56450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
56451 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
56452 wxPyEndAllowThreads(__tstate
);
56453 if (PyErr_Occurred()) SWIG_fail
;
56456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
56464 SWIGINTERN PyObject
*GridBagSizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
56466 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
56467 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridBagSizer
, SWIG_NewClientData(obj
));
56468 return SWIG_Py_Void();
56471 SWIGINTERN PyObject
*GridBagSizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
56472 return SWIG_Python_InitShadowInstance(args
);
56475 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
56476 PyObject
*resultobj
= 0;
56477 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
56478 wxRelationship arg2
;
56479 wxWindow
*arg3
= (wxWindow
*) 0 ;
56481 int arg5
= (int) 0 ;
56482 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
56495 PyObject
* obj0
= 0 ;
56496 PyObject
* obj1
= 0 ;
56497 PyObject
* obj2
= 0 ;
56498 PyObject
* obj3
= 0 ;
56499 PyObject
* obj4
= 0 ;
56500 PyObject
* obj5
= 0 ;
56501 char * kwnames
[] = {
56502 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
56505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
56506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
56507 if (!SWIG_IsOK(res1
)) {
56508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_Set" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
56510 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
56511 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
56512 if (!SWIG_IsOK(ecode2
)) {
56513 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_Set" "', expected argument " "2"" of type '" "wxRelationship""'");
56515 arg2
= static_cast< wxRelationship
>(val2
);
56516 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
56517 if (!SWIG_IsOK(res3
)) {
56518 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "IndividualLayoutConstraint_Set" "', expected argument " "3"" of type '" "wxWindow *""'");
56520 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
56521 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
56522 if (!SWIG_IsOK(ecode4
)) {
56523 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "IndividualLayoutConstraint_Set" "', expected argument " "4"" of type '" "wxEdge""'");
56525 arg4
= static_cast< wxEdge
>(val4
);
56527 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
56528 if (!SWIG_IsOK(ecode5
)) {
56529 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "IndividualLayoutConstraint_Set" "', expected argument " "5"" of type '" "int""'");
56531 arg5
= static_cast< int >(val5
);
56534 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
56535 if (!SWIG_IsOK(ecode6
)) {
56536 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "IndividualLayoutConstraint_Set" "', expected argument " "6"" of type '" "int""'");
56538 arg6
= static_cast< int >(val6
);
56541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
56542 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
);
56543 wxPyEndAllowThreads(__tstate
);
56544 if (PyErr_Occurred()) SWIG_fail
;
56546 resultobj
= SWIG_Py_Void();
56553 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
56554 PyObject
*resultobj
= 0;
56555 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
56556 wxWindow
*arg2
= (wxWindow
*) 0 ;
56557 int arg3
= (int) 0 ;
56564 PyObject
* obj0
= 0 ;
56565 PyObject
* obj1
= 0 ;
56566 PyObject
* obj2
= 0 ;
56567 char * kwnames
[] = {
56568 (char *) "self",(char *) "sibling",(char *) "marg", NULL
56571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
56572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
56573 if (!SWIG_IsOK(res1
)) {
56574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_LeftOf" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
56576 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
56577 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
56578 if (!SWIG_IsOK(res2
)) {
56579 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_LeftOf" "', expected argument " "2"" of type '" "wxWindow *""'");
56581 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
56583 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
56584 if (!SWIG_IsOK(ecode3
)) {
56585 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IndividualLayoutConstraint_LeftOf" "', expected argument " "3"" of type '" "int""'");
56587 arg3
= static_cast< int >(val3
);
56590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
56591 (arg1
)->LeftOf(arg2
,arg3
);
56592 wxPyEndAllowThreads(__tstate
);
56593 if (PyErr_Occurred()) SWIG_fail
;
56595 resultobj
= SWIG_Py_Void();
56602 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
56603 PyObject
*resultobj
= 0;
56604 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
56605 wxWindow
*arg2
= (wxWindow
*) 0 ;
56606 int arg3
= (int) 0 ;
56613 PyObject
* obj0
= 0 ;
56614 PyObject
* obj1
= 0 ;
56615 PyObject
* obj2
= 0 ;
56616 char * kwnames
[] = {
56617 (char *) "self",(char *) "sibling",(char *) "marg", NULL
56620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
56621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
56622 if (!SWIG_IsOK(res1
)) {
56623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_RightOf" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
56625 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
56626 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
56627 if (!SWIG_IsOK(res2
)) {
56628 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_RightOf" "', expected argument " "2"" of type '" "wxWindow *""'");
56630 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
56632 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
56633 if (!SWIG_IsOK(ecode3
)) {
56634 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IndividualLayoutConstraint_RightOf" "', expected argument " "3"" of type '" "int""'");
56636 arg3
= static_cast< int >(val3
);
56639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
56640 (arg1
)->RightOf(arg2
,arg3
);
56641 wxPyEndAllowThreads(__tstate
);
56642 if (PyErr_Occurred()) SWIG_fail
;
56644 resultobj
= SWIG_Py_Void();
56651 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
56652 PyObject
*resultobj
= 0;
56653 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
56654 wxWindow
*arg2
= (wxWindow
*) 0 ;
56655 int arg3
= (int) 0 ;
56662 PyObject
* obj0
= 0 ;
56663 PyObject
* obj1
= 0 ;
56664 PyObject
* obj2
= 0 ;
56665 char * kwnames
[] = {
56666 (char *) "self",(char *) "sibling",(char *) "marg", NULL
56669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
56670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
56671 if (!SWIG_IsOK(res1
)) {
56672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_Above" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
56674 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
56675 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
56676 if (!SWIG_IsOK(res2
)) {
56677 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_Above" "', expected argument " "2"" of type '" "wxWindow *""'");
56679 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
56681 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
56682 if (!SWIG_IsOK(ecode3
)) {
56683 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IndividualLayoutConstraint_Above" "', expected argument " "3"" of type '" "int""'");
56685 arg3
= static_cast< int >(val3
);
56688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
56689 (arg1
)->Above(arg2
,arg3
);
56690 wxPyEndAllowThreads(__tstate
);
56691 if (PyErr_Occurred()) SWIG_fail
;
56693 resultobj
= SWIG_Py_Void();
56700 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
56701 PyObject
*resultobj
= 0;
56702 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
56703 wxWindow
*arg2
= (wxWindow
*) 0 ;
56704 int arg3
= (int) 0 ;
56711 PyObject
* obj0
= 0 ;
56712 PyObject
* obj1
= 0 ;
56713 PyObject
* obj2
= 0 ;
56714 char * kwnames
[] = {
56715 (char *) "self",(char *) "sibling",(char *) "marg", NULL
56718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
56719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
56720 if (!SWIG_IsOK(res1
)) {
56721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_Below" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
56723 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
56724 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
56725 if (!SWIG_IsOK(res2
)) {
56726 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_Below" "', expected argument " "2"" of type '" "wxWindow *""'");
56728 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
56730 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
56731 if (!SWIG_IsOK(ecode3
)) {
56732 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IndividualLayoutConstraint_Below" "', expected argument " "3"" of type '" "int""'");
56734 arg3
= static_cast< int >(val3
);
56737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
56738 (arg1
)->Below(arg2
,arg3
);
56739 wxPyEndAllowThreads(__tstate
);
56740 if (PyErr_Occurred()) SWIG_fail
;
56742 resultobj
= SWIG_Py_Void();
56749 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
56750 PyObject
*resultobj
= 0;
56751 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
56752 wxWindow
*arg2
= (wxWindow
*) 0 ;
56754 int arg4
= (int) 0 ;
56763 PyObject
* obj0
= 0 ;
56764 PyObject
* obj1
= 0 ;
56765 PyObject
* obj2
= 0 ;
56766 PyObject
* obj3
= 0 ;
56767 char * kwnames
[] = {
56768 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
56771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
56772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
56773 if (!SWIG_IsOK(res1
)) {
56774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SameAs" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
56776 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
56777 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
56778 if (!SWIG_IsOK(res2
)) {
56779 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_SameAs" "', expected argument " "2"" of type '" "wxWindow *""'");
56781 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
56782 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
56783 if (!SWIG_IsOK(ecode3
)) {
56784 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IndividualLayoutConstraint_SameAs" "', expected argument " "3"" of type '" "wxEdge""'");
56786 arg3
= static_cast< wxEdge
>(val3
);
56788 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
56789 if (!SWIG_IsOK(ecode4
)) {
56790 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "IndividualLayoutConstraint_SameAs" "', expected argument " "4"" of type '" "int""'");
56792 arg4
= static_cast< int >(val4
);
56795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
56796 (arg1
)->SameAs(arg2
,arg3
,arg4
);
56797 wxPyEndAllowThreads(__tstate
);
56798 if (PyErr_Occurred()) SWIG_fail
;
56800 resultobj
= SWIG_Py_Void();
56807 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
56808 PyObject
*resultobj
= 0;
56809 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
56810 wxWindow
*arg2
= (wxWindow
*) 0 ;
56821 PyObject
* obj0
= 0 ;
56822 PyObject
* obj1
= 0 ;
56823 PyObject
* obj2
= 0 ;
56824 PyObject
* obj3
= 0 ;
56825 char * kwnames
[] = {
56826 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
56829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
56830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
56831 if (!SWIG_IsOK(res1
)) {
56832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_PercentOf" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
56834 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
56835 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
56836 if (!SWIG_IsOK(res2
)) {
56837 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_PercentOf" "', expected argument " "2"" of type '" "wxWindow *""'");
56839 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
56840 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
56841 if (!SWIG_IsOK(ecode3
)) {
56842 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IndividualLayoutConstraint_PercentOf" "', expected argument " "3"" of type '" "wxEdge""'");
56844 arg3
= static_cast< wxEdge
>(val3
);
56845 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
56846 if (!SWIG_IsOK(ecode4
)) {
56847 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "IndividualLayoutConstraint_PercentOf" "', expected argument " "4"" of type '" "int""'");
56849 arg4
= static_cast< int >(val4
);
56851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
56852 (arg1
)->PercentOf(arg2
,arg3
,arg4
);
56853 wxPyEndAllowThreads(__tstate
);
56854 if (PyErr_Occurred()) SWIG_fail
;
56856 resultobj
= SWIG_Py_Void();
56863 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
56864 PyObject
*resultobj
= 0;
56865 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
56871 PyObject
* obj0
= 0 ;
56872 PyObject
* obj1
= 0 ;
56873 char * kwnames
[] = {
56874 (char *) "self",(char *) "val", NULL
56877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
56878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
56879 if (!SWIG_IsOK(res1
)) {
56880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_Absolute" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
56882 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
56883 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
56884 if (!SWIG_IsOK(ecode2
)) {
56885 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_Absolute" "', expected argument " "2"" of type '" "int""'");
56887 arg2
= static_cast< int >(val2
);
56889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
56890 (arg1
)->Absolute(arg2
);
56891 wxPyEndAllowThreads(__tstate
);
56892 if (PyErr_Occurred()) SWIG_fail
;
56894 resultobj
= SWIG_Py_Void();
56901 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
56902 PyObject
*resultobj
= 0;
56903 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
56906 PyObject
*swig_obj
[1] ;
56908 if (!args
) SWIG_fail
;
56909 swig_obj
[0] = args
;
56910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
56911 if (!SWIG_IsOK(res1
)) {
56912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_Unconstrained" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
56914 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
56916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
56917 (arg1
)->Unconstrained();
56918 wxPyEndAllowThreads(__tstate
);
56919 if (PyErr_Occurred()) SWIG_fail
;
56921 resultobj
= SWIG_Py_Void();
56928 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
56929 PyObject
*resultobj
= 0;
56930 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
56933 PyObject
*swig_obj
[1] ;
56935 if (!args
) SWIG_fail
;
56936 swig_obj
[0] = args
;
56937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
56938 if (!SWIG_IsOK(res1
)) {
56939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_AsIs" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
56941 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
56943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
56945 wxPyEndAllowThreads(__tstate
);
56946 if (PyErr_Occurred()) SWIG_fail
;
56948 resultobj
= SWIG_Py_Void();
56955 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
56956 PyObject
*resultobj
= 0;
56957 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
56958 wxWindow
*result
= 0 ;
56961 PyObject
*swig_obj
[1] ;
56963 if (!args
) SWIG_fail
;
56964 swig_obj
[0] = args
;
56965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
56966 if (!SWIG_IsOK(res1
)) {
56967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetOtherWindow" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
56969 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
56971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
56972 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
56973 wxPyEndAllowThreads(__tstate
);
56974 if (PyErr_Occurred()) SWIG_fail
;
56977 resultobj
= wxPyMake_wxObject(result
, 0);
56985 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
56986 PyObject
*resultobj
= 0;
56987 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
56991 PyObject
*swig_obj
[1] ;
56993 if (!args
) SWIG_fail
;
56994 swig_obj
[0] = args
;
56995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
56996 if (!SWIG_IsOK(res1
)) {
56997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetMyEdge" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint const *""'");
56999 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
57001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
57002 result
= (wxEdge
)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
57003 wxPyEndAllowThreads(__tstate
);
57004 if (PyErr_Occurred()) SWIG_fail
;
57006 resultobj
= SWIG_From_int(static_cast< int >(result
));
57013 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
57014 PyObject
*resultobj
= 0;
57015 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
57021 PyObject
* obj0
= 0 ;
57022 PyObject
* obj1
= 0 ;
57023 char * kwnames
[] = {
57024 (char *) "self",(char *) "which", NULL
57027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
57028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
57029 if (!SWIG_IsOK(res1
)) {
57030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SetEdge" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
57032 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
57033 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
57034 if (!SWIG_IsOK(ecode2
)) {
57035 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_SetEdge" "', expected argument " "2"" of type '" "wxEdge""'");
57037 arg2
= static_cast< wxEdge
>(val2
);
57039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
57040 (arg1
)->SetEdge(arg2
);
57041 wxPyEndAllowThreads(__tstate
);
57042 if (PyErr_Occurred()) SWIG_fail
;
57044 resultobj
= SWIG_Py_Void();
57051 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
57052 PyObject
*resultobj
= 0;
57053 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
57059 PyObject
* obj0
= 0 ;
57060 PyObject
* obj1
= 0 ;
57061 char * kwnames
[] = {
57062 (char *) "self",(char *) "v", NULL
57065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
57066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
57067 if (!SWIG_IsOK(res1
)) {
57068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SetValue" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
57070 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
57071 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
57072 if (!SWIG_IsOK(ecode2
)) {
57073 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_SetValue" "', expected argument " "2"" of type '" "int""'");
57075 arg2
= static_cast< int >(val2
);
57077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
57078 (arg1
)->SetValue(arg2
);
57079 wxPyEndAllowThreads(__tstate
);
57080 if (PyErr_Occurred()) SWIG_fail
;
57082 resultobj
= SWIG_Py_Void();
57089 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
57090 PyObject
*resultobj
= 0;
57091 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
57095 PyObject
*swig_obj
[1] ;
57097 if (!args
) SWIG_fail
;
57098 swig_obj
[0] = args
;
57099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
57100 if (!SWIG_IsOK(res1
)) {
57101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetMargin" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
57103 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
57105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
57106 result
= (int)(arg1
)->GetMargin();
57107 wxPyEndAllowThreads(__tstate
);
57108 if (PyErr_Occurred()) SWIG_fail
;
57110 resultobj
= SWIG_From_int(static_cast< int >(result
));
57117 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
57118 PyObject
*resultobj
= 0;
57119 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
57125 PyObject
* obj0
= 0 ;
57126 PyObject
* obj1
= 0 ;
57127 char * kwnames
[] = {
57128 (char *) "self",(char *) "m", NULL
57131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
57132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
57133 if (!SWIG_IsOK(res1
)) {
57134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SetMargin" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
57136 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
57137 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
57138 if (!SWIG_IsOK(ecode2
)) {
57139 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_SetMargin" "', expected argument " "2"" of type '" "int""'");
57141 arg2
= static_cast< int >(val2
);
57143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
57144 (arg1
)->SetMargin(arg2
);
57145 wxPyEndAllowThreads(__tstate
);
57146 if (PyErr_Occurred()) SWIG_fail
;
57148 resultobj
= SWIG_Py_Void();
57155 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
57156 PyObject
*resultobj
= 0;
57157 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
57161 PyObject
*swig_obj
[1] ;
57163 if (!args
) SWIG_fail
;
57164 swig_obj
[0] = args
;
57165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
57166 if (!SWIG_IsOK(res1
)) {
57167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetValue" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint const *""'");
57169 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
57171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
57172 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
57173 wxPyEndAllowThreads(__tstate
);
57174 if (PyErr_Occurred()) SWIG_fail
;
57176 resultobj
= SWIG_From_int(static_cast< int >(result
));
57183 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
57184 PyObject
*resultobj
= 0;
57185 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
57189 PyObject
*swig_obj
[1] ;
57191 if (!args
) SWIG_fail
;
57192 swig_obj
[0] = args
;
57193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
57194 if (!SWIG_IsOK(res1
)) {
57195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetPercent" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint const *""'");
57197 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
57199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
57200 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
57201 wxPyEndAllowThreads(__tstate
);
57202 if (PyErr_Occurred()) SWIG_fail
;
57204 resultobj
= SWIG_From_int(static_cast< int >(result
));
57211 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
57212 PyObject
*resultobj
= 0;
57213 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
57217 PyObject
*swig_obj
[1] ;
57219 if (!args
) SWIG_fail
;
57220 swig_obj
[0] = args
;
57221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
57222 if (!SWIG_IsOK(res1
)) {
57223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetOtherEdge" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint const *""'");
57225 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
57227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
57228 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
57229 wxPyEndAllowThreads(__tstate
);
57230 if (PyErr_Occurred()) SWIG_fail
;
57232 resultobj
= SWIG_From_int(static_cast< int >(result
));
57239 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
57240 PyObject
*resultobj
= 0;
57241 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
57245 PyObject
*swig_obj
[1] ;
57247 if (!args
) SWIG_fail
;
57248 swig_obj
[0] = args
;
57249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
57250 if (!SWIG_IsOK(res1
)) {
57251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetDone" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint const *""'");
57253 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
57255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
57256 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
57257 wxPyEndAllowThreads(__tstate
);
57258 if (PyErr_Occurred()) SWIG_fail
;
57261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
57269 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
57270 PyObject
*resultobj
= 0;
57271 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
57277 PyObject
* obj0
= 0 ;
57278 PyObject
* obj1
= 0 ;
57279 char * kwnames
[] = {
57280 (char *) "self",(char *) "d", NULL
57283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
57284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
57285 if (!SWIG_IsOK(res1
)) {
57286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SetDone" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
57288 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
57289 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
57290 if (!SWIG_IsOK(ecode2
)) {
57291 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_SetDone" "', expected argument " "2"" of type '" "bool""'");
57293 arg2
= static_cast< bool >(val2
);
57295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
57296 (arg1
)->SetDone(arg2
);
57297 wxPyEndAllowThreads(__tstate
);
57298 if (PyErr_Occurred()) SWIG_fail
;
57300 resultobj
= SWIG_Py_Void();
57307 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
57308 PyObject
*resultobj
= 0;
57309 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
57310 wxRelationship result
;
57313 PyObject
*swig_obj
[1] ;
57315 if (!args
) SWIG_fail
;
57316 swig_obj
[0] = args
;
57317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
57318 if (!SWIG_IsOK(res1
)) {
57319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetRelationship" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
57321 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
57323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
57324 result
= (wxRelationship
)(arg1
)->GetRelationship();
57325 wxPyEndAllowThreads(__tstate
);
57326 if (PyErr_Occurred()) SWIG_fail
;
57328 resultobj
= SWIG_From_int(static_cast< int >(result
));
57335 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
57336 PyObject
*resultobj
= 0;
57337 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
57338 wxRelationship arg2
;
57343 PyObject
* obj0
= 0 ;
57344 PyObject
* obj1
= 0 ;
57345 char * kwnames
[] = {
57346 (char *) "self",(char *) "r", NULL
57349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
57350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
57351 if (!SWIG_IsOK(res1
)) {
57352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SetRelationship" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
57354 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
57355 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
57356 if (!SWIG_IsOK(ecode2
)) {
57357 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_SetRelationship" "', expected argument " "2"" of type '" "wxRelationship""'");
57359 arg2
= static_cast< wxRelationship
>(val2
);
57361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
57362 (arg1
)->SetRelationship(arg2
);
57363 wxPyEndAllowThreads(__tstate
);
57364 if (PyErr_Occurred()) SWIG_fail
;
57366 resultobj
= SWIG_Py_Void();
57373 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
57374 PyObject
*resultobj
= 0;
57375 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
57376 wxWindow
*arg2
= (wxWindow
*) 0 ;
57382 PyObject
* obj0
= 0 ;
57383 PyObject
* obj1
= 0 ;
57384 char * kwnames
[] = {
57385 (char *) "self",(char *) "otherW", NULL
57388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
57389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
57390 if (!SWIG_IsOK(res1
)) {
57391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_ResetIfWin" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
57393 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
57394 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
57395 if (!SWIG_IsOK(res2
)) {
57396 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_ResetIfWin" "', expected argument " "2"" of type '" "wxWindow *""'");
57398 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
57400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
57401 result
= (bool)(arg1
)->ResetIfWin(arg2
);
57402 wxPyEndAllowThreads(__tstate
);
57403 if (PyErr_Occurred()) SWIG_fail
;
57406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
57414 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
57415 PyObject
*resultobj
= 0;
57416 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
57417 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
57418 wxWindow
*arg3
= (wxWindow
*) 0 ;
57426 PyObject
* obj0
= 0 ;
57427 PyObject
* obj1
= 0 ;
57428 PyObject
* obj2
= 0 ;
57429 char * kwnames
[] = {
57430 (char *) "self",(char *) "constraints",(char *) "win", NULL
57433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
57434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
57435 if (!SWIG_IsOK(res1
)) {
57436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SatisfyConstraint" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
57438 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
57439 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
57440 if (!SWIG_IsOK(res2
)) {
57441 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_SatisfyConstraint" "', expected argument " "2"" of type '" "wxLayoutConstraints *""'");
57443 arg2
= reinterpret_cast< wxLayoutConstraints
* >(argp2
);
57444 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
57445 if (!SWIG_IsOK(res3
)) {
57446 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "IndividualLayoutConstraint_SatisfyConstraint" "', expected argument " "3"" of type '" "wxWindow *""'");
57448 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
57450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
57451 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
57452 wxPyEndAllowThreads(__tstate
);
57453 if (PyErr_Occurred()) SWIG_fail
;
57456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
57464 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
57465 PyObject
*resultobj
= 0;
57466 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
57468 wxWindow
*arg3
= (wxWindow
*) 0 ;
57469 wxWindow
*arg4
= (wxWindow
*) 0 ;
57479 PyObject
* obj0
= 0 ;
57480 PyObject
* obj1
= 0 ;
57481 PyObject
* obj2
= 0 ;
57482 PyObject
* obj3
= 0 ;
57483 char * kwnames
[] = {
57484 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
57487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
57488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
57489 if (!SWIG_IsOK(res1
)) {
57490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetEdge" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint const *""'");
57492 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
57493 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
57494 if (!SWIG_IsOK(ecode2
)) {
57495 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_GetEdge" "', expected argument " "2"" of type '" "wxEdge""'");
57497 arg2
= static_cast< wxEdge
>(val2
);
57498 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
57499 if (!SWIG_IsOK(res3
)) {
57500 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "IndividualLayoutConstraint_GetEdge" "', expected argument " "3"" of type '" "wxWindow *""'");
57502 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
57503 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
57504 if (!SWIG_IsOK(res4
)) {
57505 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "IndividualLayoutConstraint_GetEdge" "', expected argument " "4"" of type '" "wxWindow *""'");
57507 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
57509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
57510 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge(arg2
,arg3
,arg4
);
57511 wxPyEndAllowThreads(__tstate
);
57512 if (PyErr_Occurred()) SWIG_fail
;
57514 resultobj
= SWIG_From_int(static_cast< int >(result
));
57521 SWIGINTERN PyObject
*IndividualLayoutConstraint_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
57523 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
57524 SWIG_TypeNewClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_NewClientData(obj
));
57525 return SWIG_Py_Void();
57528 SWIGINTERN PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
57529 PyObject
*resultobj
= 0;
57530 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
57531 wxIndividualLayoutConstraint
*result
= 0 ;
57534 PyObject
*swig_obj
[1] ;
57536 if (!args
) SWIG_fail
;
57537 swig_obj
[0] = args
;
57538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
57539 if (!SWIG_IsOK(res1
)) {
57540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_left_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
57542 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
57543 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
57544 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
57551 SWIGINTERN PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
57552 PyObject
*resultobj
= 0;
57553 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
57554 wxIndividualLayoutConstraint
*result
= 0 ;
57557 PyObject
*swig_obj
[1] ;
57559 if (!args
) SWIG_fail
;
57560 swig_obj
[0] = args
;
57561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
57562 if (!SWIG_IsOK(res1
)) {
57563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_top_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
57565 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
57566 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
57567 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
57574 SWIGINTERN PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
57575 PyObject
*resultobj
= 0;
57576 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
57577 wxIndividualLayoutConstraint
*result
= 0 ;
57580 PyObject
*swig_obj
[1] ;
57582 if (!args
) SWIG_fail
;
57583 swig_obj
[0] = args
;
57584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
57585 if (!SWIG_IsOK(res1
)) {
57586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_right_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
57588 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
57589 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
57590 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
57597 SWIGINTERN PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
57598 PyObject
*resultobj
= 0;
57599 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
57600 wxIndividualLayoutConstraint
*result
= 0 ;
57603 PyObject
*swig_obj
[1] ;
57605 if (!args
) SWIG_fail
;
57606 swig_obj
[0] = args
;
57607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
57608 if (!SWIG_IsOK(res1
)) {
57609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_bottom_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
57611 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
57612 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
57613 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
57620 SWIGINTERN PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
57621 PyObject
*resultobj
= 0;
57622 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
57623 wxIndividualLayoutConstraint
*result
= 0 ;
57626 PyObject
*swig_obj
[1] ;
57628 if (!args
) SWIG_fail
;
57629 swig_obj
[0] = args
;
57630 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
57631 if (!SWIG_IsOK(res1
)) {
57632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_width_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
57634 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
57635 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
57636 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
57643 SWIGINTERN PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
57644 PyObject
*resultobj
= 0;
57645 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
57646 wxIndividualLayoutConstraint
*result
= 0 ;
57649 PyObject
*swig_obj
[1] ;
57651 if (!args
) SWIG_fail
;
57652 swig_obj
[0] = args
;
57653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
57654 if (!SWIG_IsOK(res1
)) {
57655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_height_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
57657 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
57658 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
57659 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
57666 SWIGINTERN PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
57667 PyObject
*resultobj
= 0;
57668 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
57669 wxIndividualLayoutConstraint
*result
= 0 ;
57672 PyObject
*swig_obj
[1] ;
57674 if (!args
) SWIG_fail
;
57675 swig_obj
[0] = args
;
57676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
57677 if (!SWIG_IsOK(res1
)) {
57678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_centreX_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
57680 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
57681 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
57682 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
57689 SWIGINTERN PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
57690 PyObject
*resultobj
= 0;
57691 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
57692 wxIndividualLayoutConstraint
*result
= 0 ;
57695 PyObject
*swig_obj
[1] ;
57697 if (!args
) SWIG_fail
;
57698 swig_obj
[0] = args
;
57699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
57700 if (!SWIG_IsOK(res1
)) {
57701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_centreY_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
57703 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
57704 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
57705 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
57712 SWIGINTERN PyObject
*_wrap_new_LayoutConstraints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
57713 PyObject
*resultobj
= 0;
57714 wxLayoutConstraints
*result
= 0 ;
57716 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutConstraints",0,0,0)) SWIG_fail
;
57718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
57719 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
57720 wxPyEndAllowThreads(__tstate
);
57721 if (PyErr_Occurred()) SWIG_fail
;
57723 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_NEW
| 0 );
57730 SWIGINTERN PyObject
*_wrap_delete_LayoutConstraints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
57731 PyObject
*resultobj
= 0;
57732 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
57735 PyObject
*swig_obj
[1] ;
57737 if (!args
) SWIG_fail
;
57738 swig_obj
[0] = args
;
57739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_DISOWN
| 0 );
57740 if (!SWIG_IsOK(res1
)) {
57741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutConstraints" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
57743 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
57745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
57748 wxPyEndAllowThreads(__tstate
);
57749 if (PyErr_Occurred()) SWIG_fail
;
57751 resultobj
= SWIG_Py_Void();
57758 SWIGINTERN PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
57759 PyObject
*resultobj
= 0;
57760 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
57761 wxWindow
*arg2
= (wxWindow
*) 0 ;
57762 int *arg3
= (int *) 0 ;
57769 int res3
= SWIG_TMPOBJ
;
57770 PyObject
* obj0
= 0 ;
57771 PyObject
* obj1
= 0 ;
57772 char * kwnames
[] = {
57773 (char *) "self",(char *) "win", NULL
57777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
57778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
57779 if (!SWIG_IsOK(res1
)) {
57780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_SatisfyConstraints" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
57782 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
57783 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
57784 if (!SWIG_IsOK(res2
)) {
57785 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutConstraints_SatisfyConstraints" "', expected argument " "2"" of type '" "wxWindow *""'");
57787 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
57789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
57790 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
57791 wxPyEndAllowThreads(__tstate
);
57792 if (PyErr_Occurred()) SWIG_fail
;
57795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
57797 if (SWIG_IsTmpObj(res3
)) {
57798 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
57800 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
57801 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
57809 SWIGINTERN PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
57810 PyObject
*resultobj
= 0;
57811 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
57815 PyObject
*swig_obj
[1] ;
57817 if (!args
) SWIG_fail
;
57818 swig_obj
[0] = args
;
57819 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
57820 if (!SWIG_IsOK(res1
)) {
57821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_AreSatisfied" "', expected argument " "1"" of type '" "wxLayoutConstraints const *""'");
57823 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
57825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
57826 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
57827 wxPyEndAllowThreads(__tstate
);
57828 if (PyErr_Occurred()) SWIG_fail
;
57831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
57839 SWIGINTERN PyObject
*LayoutConstraints_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
57841 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
57842 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutConstraints
, SWIG_NewClientData(obj
));
57843 return SWIG_Py_Void();
57846 SWIGINTERN PyObject
*LayoutConstraints_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
57847 return SWIG_Python_InitShadowInstance(args
);
57850 static PyMethodDef SwigMethods
[] = {
57851 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
57852 { (char *)"Object_GetClassName", (PyCFunction
)_wrap_Object_GetClassName
, METH_O
, NULL
},
57853 { (char *)"Object_Destroy", (PyCFunction
)_wrap_Object_Destroy
, METH_O
, NULL
},
57854 { (char *)"Object_IsSameAs", (PyCFunction
) _wrap_Object_IsSameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57855 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
57856 { (char *)"Size_width_set", _wrap_Size_width_set
, METH_VARARGS
, NULL
},
57857 { (char *)"Size_width_get", (PyCFunction
)_wrap_Size_width_get
, METH_O
, NULL
},
57858 { (char *)"Size_height_set", _wrap_Size_height_set
, METH_VARARGS
, NULL
},
57859 { (char *)"Size_height_get", (PyCFunction
)_wrap_Size_height_get
, METH_O
, NULL
},
57860 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57861 { (char *)"delete_Size", (PyCFunction
)_wrap_delete_Size
, METH_O
, NULL
},
57862 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57863 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57864 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57865 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57866 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57867 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57868 { (char *)"Size_IncBy", (PyCFunction
) _wrap_Size_IncBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57869 { (char *)"Size_DecBy", (PyCFunction
) _wrap_Size_DecBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57870 { (char *)"Size_Scale", (PyCFunction
) _wrap_Size_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57871 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57872 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57873 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57874 { (char *)"Size_GetWidth", (PyCFunction
)_wrap_Size_GetWidth
, METH_O
, NULL
},
57875 { (char *)"Size_GetHeight", (PyCFunction
)_wrap_Size_GetHeight
, METH_O
, NULL
},
57876 { (char *)"Size_IsFullySpecified", (PyCFunction
)_wrap_Size_IsFullySpecified
, METH_O
, NULL
},
57877 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57878 { (char *)"Size_Get", (PyCFunction
)_wrap_Size_Get
, METH_O
, NULL
},
57879 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
57880 { (char *)"Size_swiginit", Size_swiginit
, METH_VARARGS
, NULL
},
57881 { (char *)"RealPoint_x_set", _wrap_RealPoint_x_set
, METH_VARARGS
, NULL
},
57882 { (char *)"RealPoint_x_get", (PyCFunction
)_wrap_RealPoint_x_get
, METH_O
, NULL
},
57883 { (char *)"RealPoint_y_set", _wrap_RealPoint_y_set
, METH_VARARGS
, NULL
},
57884 { (char *)"RealPoint_y_get", (PyCFunction
)_wrap_RealPoint_y_get
, METH_O
, NULL
},
57885 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57886 { (char *)"delete_RealPoint", (PyCFunction
)_wrap_delete_RealPoint
, METH_O
, NULL
},
57887 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57888 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57889 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57890 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57891 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57892 { (char *)"RealPoint_Get", (PyCFunction
)_wrap_RealPoint_Get
, METH_O
, NULL
},
57893 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
57894 { (char *)"RealPoint_swiginit", RealPoint_swiginit
, METH_VARARGS
, NULL
},
57895 { (char *)"Point_x_set", _wrap_Point_x_set
, METH_VARARGS
, NULL
},
57896 { (char *)"Point_x_get", (PyCFunction
)_wrap_Point_x_get
, METH_O
, NULL
},
57897 { (char *)"Point_y_set", _wrap_Point_y_set
, METH_VARARGS
, NULL
},
57898 { (char *)"Point_y_get", (PyCFunction
)_wrap_Point_y_get
, METH_O
, NULL
},
57899 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57900 { (char *)"delete_Point", (PyCFunction
)_wrap_delete_Point
, METH_O
, NULL
},
57901 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57902 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57903 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57904 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57905 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57906 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57907 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57908 { (char *)"Point_Get", (PyCFunction
)_wrap_Point_Get
, METH_O
, NULL
},
57909 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
57910 { (char *)"Point_swiginit", Point_swiginit
, METH_VARARGS
, NULL
},
57911 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57912 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57913 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57914 { (char *)"new_RectS", (PyCFunction
) _wrap_new_RectS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57915 { (char *)"delete_Rect", (PyCFunction
)_wrap_delete_Rect
, METH_O
, NULL
},
57916 { (char *)"Rect_GetX", (PyCFunction
)_wrap_Rect_GetX
, METH_O
, NULL
},
57917 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57918 { (char *)"Rect_GetY", (PyCFunction
)_wrap_Rect_GetY
, METH_O
, NULL
},
57919 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57920 { (char *)"Rect_GetWidth", (PyCFunction
)_wrap_Rect_GetWidth
, METH_O
, NULL
},
57921 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57922 { (char *)"Rect_GetHeight", (PyCFunction
)_wrap_Rect_GetHeight
, METH_O
, NULL
},
57923 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57924 { (char *)"Rect_GetPosition", (PyCFunction
)_wrap_Rect_GetPosition
, METH_O
, NULL
},
57925 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57926 { (char *)"Rect_GetSize", (PyCFunction
)_wrap_Rect_GetSize
, METH_O
, NULL
},
57927 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57928 { (char *)"Rect_IsEmpty", (PyCFunction
)_wrap_Rect_IsEmpty
, METH_O
, NULL
},
57929 { (char *)"Rect_GetTopLeft", (PyCFunction
)_wrap_Rect_GetTopLeft
, METH_O
, NULL
},
57930 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57931 { (char *)"Rect_GetBottomRight", (PyCFunction
)_wrap_Rect_GetBottomRight
, METH_O
, NULL
},
57932 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57933 { (char *)"Rect_GetTopRight", (PyCFunction
)_wrap_Rect_GetTopRight
, METH_O
, NULL
},
57934 { (char *)"Rect_SetTopRight", (PyCFunction
) _wrap_Rect_SetTopRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57935 { (char *)"Rect_GetBottomLeft", (PyCFunction
)_wrap_Rect_GetBottomLeft
, METH_O
, NULL
},
57936 { (char *)"Rect_SetBottomLeft", (PyCFunction
) _wrap_Rect_SetBottomLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57937 { (char *)"Rect_GetLeft", (PyCFunction
)_wrap_Rect_GetLeft
, METH_O
, NULL
},
57938 { (char *)"Rect_GetTop", (PyCFunction
)_wrap_Rect_GetTop
, METH_O
, NULL
},
57939 { (char *)"Rect_GetBottom", (PyCFunction
)_wrap_Rect_GetBottom
, METH_O
, NULL
},
57940 { (char *)"Rect_GetRight", (PyCFunction
)_wrap_Rect_GetRight
, METH_O
, NULL
},
57941 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57942 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57943 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57944 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57945 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57946 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57947 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57948 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57949 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57950 { (char *)"Rect_Union", (PyCFunction
) _wrap_Rect_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57951 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57952 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57953 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57954 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57955 { (char *)"Rect_ContainsXY", (PyCFunction
) _wrap_Rect_ContainsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57956 { (char *)"Rect_Contains", (PyCFunction
) _wrap_Rect_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57957 { (char *)"Rect_ContainsRect", (PyCFunction
) _wrap_Rect_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57958 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57959 { (char *)"Rect_CenterIn", (PyCFunction
) _wrap_Rect_CenterIn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57960 { (char *)"Rect_x_set", _wrap_Rect_x_set
, METH_VARARGS
, NULL
},
57961 { (char *)"Rect_x_get", (PyCFunction
)_wrap_Rect_x_get
, METH_O
, NULL
},
57962 { (char *)"Rect_y_set", _wrap_Rect_y_set
, METH_VARARGS
, NULL
},
57963 { (char *)"Rect_y_get", (PyCFunction
)_wrap_Rect_y_get
, METH_O
, NULL
},
57964 { (char *)"Rect_width_set", _wrap_Rect_width_set
, METH_VARARGS
, NULL
},
57965 { (char *)"Rect_width_get", (PyCFunction
)_wrap_Rect_width_get
, METH_O
, NULL
},
57966 { (char *)"Rect_height_set", _wrap_Rect_height_set
, METH_VARARGS
, NULL
},
57967 { (char *)"Rect_height_get", (PyCFunction
)_wrap_Rect_height_get
, METH_O
, NULL
},
57968 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57969 { (char *)"Rect_Get", (PyCFunction
)_wrap_Rect_Get
, METH_O
, NULL
},
57970 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
57971 { (char *)"Rect_swiginit", Rect_swiginit
, METH_VARARGS
, NULL
},
57972 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57973 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57974 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57975 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57976 { (char *)"delete_Point2D", (PyCFunction
)_wrap_delete_Point2D
, METH_O
, NULL
},
57977 { (char *)"Point2D_GetFloor", (PyCFunction
)_wrap_Point2D_GetFloor
, METH_O
, NULL
},
57978 { (char *)"Point2D_GetRounded", (PyCFunction
)_wrap_Point2D_GetRounded
, METH_O
, NULL
},
57979 { (char *)"Point2D_GetVectorLength", (PyCFunction
)_wrap_Point2D_GetVectorLength
, METH_O
, NULL
},
57980 { (char *)"Point2D_GetVectorAngle", (PyCFunction
)_wrap_Point2D_GetVectorAngle
, METH_O
, NULL
},
57981 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57982 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57983 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57984 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57985 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57986 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57987 { (char *)"Point2D___neg__", (PyCFunction
)_wrap_Point2D___neg__
, METH_O
, NULL
},
57988 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57989 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57990 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57991 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57992 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57993 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57994 { (char *)"Point2D_x_set", _wrap_Point2D_x_set
, METH_VARARGS
, NULL
},
57995 { (char *)"Point2D_x_get", (PyCFunction
)_wrap_Point2D_x_get
, METH_O
, NULL
},
57996 { (char *)"Point2D_y_set", _wrap_Point2D_y_set
, METH_VARARGS
, NULL
},
57997 { (char *)"Point2D_y_get", (PyCFunction
)_wrap_Point2D_y_get
, METH_O
, NULL
},
57998 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57999 { (char *)"Point2D_Get", (PyCFunction
)_wrap_Point2D_Get
, METH_O
, NULL
},
58000 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
58001 { (char *)"Point2D_swiginit", Point2D_swiginit
, METH_VARARGS
, NULL
},
58002 { (char *)"new_Rect2D", (PyCFunction
) _wrap_new_Rect2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58003 { (char *)"delete_Rect2D", (PyCFunction
)_wrap_delete_Rect2D
, METH_O
, NULL
},
58004 { (char *)"Rect2D_GetPosition", (PyCFunction
)_wrap_Rect2D_GetPosition
, METH_O
, NULL
},
58005 { (char *)"Rect2D_GetSize", (PyCFunction
)_wrap_Rect2D_GetSize
, METH_O
, NULL
},
58006 { (char *)"Rect2D_GetLeft", (PyCFunction
)_wrap_Rect2D_GetLeft
, METH_O
, NULL
},
58007 { (char *)"Rect2D_SetLeft", (PyCFunction
) _wrap_Rect2D_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58008 { (char *)"Rect2D_MoveLeftTo", (PyCFunction
) _wrap_Rect2D_MoveLeftTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58009 { (char *)"Rect2D_GetTop", (PyCFunction
)_wrap_Rect2D_GetTop
, METH_O
, NULL
},
58010 { (char *)"Rect2D_SetTop", (PyCFunction
) _wrap_Rect2D_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58011 { (char *)"Rect2D_MoveTopTo", (PyCFunction
) _wrap_Rect2D_MoveTopTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58012 { (char *)"Rect2D_GetBottom", (PyCFunction
)_wrap_Rect2D_GetBottom
, METH_O
, NULL
},
58013 { (char *)"Rect2D_SetBottom", (PyCFunction
) _wrap_Rect2D_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58014 { (char *)"Rect2D_MoveBottomTo", (PyCFunction
) _wrap_Rect2D_MoveBottomTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58015 { (char *)"Rect2D_GetRight", (PyCFunction
)_wrap_Rect2D_GetRight
, METH_O
, NULL
},
58016 { (char *)"Rect2D_SetRight", (PyCFunction
) _wrap_Rect2D_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58017 { (char *)"Rect2D_MoveRightTo", (PyCFunction
) _wrap_Rect2D_MoveRightTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58018 { (char *)"Rect2D_GetLeftTop", (PyCFunction
)_wrap_Rect2D_GetLeftTop
, METH_O
, NULL
},
58019 { (char *)"Rect2D_SetLeftTop", (PyCFunction
) _wrap_Rect2D_SetLeftTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58020 { (char *)"Rect2D_MoveLeftTopTo", (PyCFunction
) _wrap_Rect2D_MoveLeftTopTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58021 { (char *)"Rect2D_GetLeftBottom", (PyCFunction
)_wrap_Rect2D_GetLeftBottom
, METH_O
, NULL
},
58022 { (char *)"Rect2D_SetLeftBottom", (PyCFunction
) _wrap_Rect2D_SetLeftBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58023 { (char *)"Rect2D_MoveLeftBottomTo", (PyCFunction
) _wrap_Rect2D_MoveLeftBottomTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58024 { (char *)"Rect2D_GetRightTop", (PyCFunction
)_wrap_Rect2D_GetRightTop
, METH_O
, NULL
},
58025 { (char *)"Rect2D_SetRightTop", (PyCFunction
) _wrap_Rect2D_SetRightTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58026 { (char *)"Rect2D_MoveRightTopTo", (PyCFunction
) _wrap_Rect2D_MoveRightTopTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58027 { (char *)"Rect2D_GetRightBottom", (PyCFunction
)_wrap_Rect2D_GetRightBottom
, METH_O
, NULL
},
58028 { (char *)"Rect2D_SetRightBottom", (PyCFunction
) _wrap_Rect2D_SetRightBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58029 { (char *)"Rect2D_MoveRightBottomTo", (PyCFunction
) _wrap_Rect2D_MoveRightBottomTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58030 { (char *)"Rect2D_GetCentre", (PyCFunction
)_wrap_Rect2D_GetCentre
, METH_O
, NULL
},
58031 { (char *)"Rect2D_SetCentre", (PyCFunction
) _wrap_Rect2D_SetCentre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58032 { (char *)"Rect2D_MoveCentreTo", (PyCFunction
) _wrap_Rect2D_MoveCentreTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58033 { (char *)"Rect2D_GetOutcode", (PyCFunction
) _wrap_Rect2D_GetOutcode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58034 { (char *)"Rect2D_Contains", (PyCFunction
) _wrap_Rect2D_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58035 { (char *)"Rect2D_ContainsRect", (PyCFunction
) _wrap_Rect2D_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58036 { (char *)"Rect2D_IsEmpty", (PyCFunction
)_wrap_Rect2D_IsEmpty
, METH_O
, NULL
},
58037 { (char *)"Rect2D_HaveEqualSize", (PyCFunction
) _wrap_Rect2D_HaveEqualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58038 { (char *)"Rect2D_Inset", _wrap_Rect2D_Inset
, METH_VARARGS
, NULL
},
58039 { (char *)"Rect2D_Offset", (PyCFunction
) _wrap_Rect2D_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58040 { (char *)"Rect2D_ConstrainTo", (PyCFunction
) _wrap_Rect2D_ConstrainTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58041 { (char *)"Rect2D_Interpolate", (PyCFunction
) _wrap_Rect2D_Interpolate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58042 { (char *)"Rect2D_Intersect", (PyCFunction
) _wrap_Rect2D_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58043 { (char *)"Rect2D_CreateIntersection", (PyCFunction
) _wrap_Rect2D_CreateIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58044 { (char *)"Rect2D_Intersects", (PyCFunction
) _wrap_Rect2D_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58045 { (char *)"Rect2D_Union", (PyCFunction
) _wrap_Rect2D_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58046 { (char *)"Rect2D_CreateUnion", (PyCFunction
) _wrap_Rect2D_CreateUnion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58047 { (char *)"Rect2D_Scale", _wrap_Rect2D_Scale
, METH_VARARGS
, NULL
},
58048 { (char *)"Rect2D___eq__", (PyCFunction
) _wrap_Rect2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58049 { (char *)"Rect2D___ne__", (PyCFunction
) _wrap_Rect2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58050 { (char *)"Rect2D_x_set", _wrap_Rect2D_x_set
, METH_VARARGS
, NULL
},
58051 { (char *)"Rect2D_x_get", (PyCFunction
)_wrap_Rect2D_x_get
, METH_O
, NULL
},
58052 { (char *)"Rect2D_y_set", _wrap_Rect2D_y_set
, METH_VARARGS
, NULL
},
58053 { (char *)"Rect2D_y_get", (PyCFunction
)_wrap_Rect2D_y_get
, METH_O
, NULL
},
58054 { (char *)"Rect2D_width_set", _wrap_Rect2D_width_set
, METH_VARARGS
, NULL
},
58055 { (char *)"Rect2D_width_get", (PyCFunction
)_wrap_Rect2D_width_get
, METH_O
, NULL
},
58056 { (char *)"Rect2D_height_set", _wrap_Rect2D_height_set
, METH_VARARGS
, NULL
},
58057 { (char *)"Rect2D_height_get", (PyCFunction
)_wrap_Rect2D_height_get
, METH_O
, NULL
},
58058 { (char *)"Rect2D_Set", (PyCFunction
) _wrap_Rect2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58059 { (char *)"Rect2D_Get", (PyCFunction
)_wrap_Rect2D_Get
, METH_O
, NULL
},
58060 { (char *)"Rect2D_swigregister", Rect2D_swigregister
, METH_VARARGS
, NULL
},
58061 { (char *)"Rect2D_swiginit", Rect2D_swiginit
, METH_VARARGS
, NULL
},
58062 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58063 { (char *)"delete_InputStream", (PyCFunction
)_wrap_delete_InputStream
, METH_O
, NULL
},
58064 { (char *)"InputStream_close", (PyCFunction
)_wrap_InputStream_close
, METH_O
, NULL
},
58065 { (char *)"InputStream_flush", (PyCFunction
)_wrap_InputStream_flush
, METH_O
, NULL
},
58066 { (char *)"InputStream_eof", (PyCFunction
)_wrap_InputStream_eof
, METH_O
, NULL
},
58067 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58068 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58069 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58070 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58071 { (char *)"InputStream_tell", (PyCFunction
)_wrap_InputStream_tell
, METH_O
, NULL
},
58072 { (char *)"InputStream_Peek", (PyCFunction
)_wrap_InputStream_Peek
, METH_O
, NULL
},
58073 { (char *)"InputStream_GetC", (PyCFunction
)_wrap_InputStream_GetC
, METH_O
, NULL
},
58074 { (char *)"InputStream_LastRead", (PyCFunction
)_wrap_InputStream_LastRead
, METH_O
, NULL
},
58075 { (char *)"InputStream_CanRead", (PyCFunction
)_wrap_InputStream_CanRead
, METH_O
, NULL
},
58076 { (char *)"InputStream_Eof", (PyCFunction
)_wrap_InputStream_Eof
, METH_O
, NULL
},
58077 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58078 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58079 { (char *)"InputStream_TellI", (PyCFunction
)_wrap_InputStream_TellI
, METH_O
, NULL
},
58080 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
58081 { (char *)"InputStream_swiginit", InputStream_swiginit
, METH_VARARGS
, NULL
},
58082 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58083 { (char *)"OutputStream_LastWrite", (PyCFunction
)_wrap_OutputStream_LastWrite
, METH_O
, NULL
},
58084 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
58085 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58086 { (char *)"delete_FSFile", (PyCFunction
)_wrap_delete_FSFile
, METH_O
, NULL
},
58087 { (char *)"FSFile_GetStream", (PyCFunction
)_wrap_FSFile_GetStream
, METH_O
, NULL
},
58088 { (char *)"FSFile_DetachStream", (PyCFunction
)_wrap_FSFile_DetachStream
, METH_O
, NULL
},
58089 { (char *)"FSFile_GetMimeType", (PyCFunction
)_wrap_FSFile_GetMimeType
, METH_O
, NULL
},
58090 { (char *)"FSFile_GetLocation", (PyCFunction
)_wrap_FSFile_GetLocation
, METH_O
, NULL
},
58091 { (char *)"FSFile_GetAnchor", (PyCFunction
)_wrap_FSFile_GetAnchor
, METH_O
, NULL
},
58092 { (char *)"FSFile_GetModificationTime", (PyCFunction
)_wrap_FSFile_GetModificationTime
, METH_O
, NULL
},
58093 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
58094 { (char *)"FSFile_swiginit", FSFile_swiginit
, METH_VARARGS
, NULL
},
58095 { (char *)"delete_CPPFileSystemHandler", (PyCFunction
)_wrap_delete_CPPFileSystemHandler
, METH_O
, NULL
},
58096 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
58097 { (char *)"new_FileSystemHandler", (PyCFunction
)_wrap_new_FileSystemHandler
, METH_NOARGS
, NULL
},
58098 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58099 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58100 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58101 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58102 { (char *)"FileSystemHandler_FindNext", (PyCFunction
)_wrap_FileSystemHandler_FindNext
, METH_O
, NULL
},
58103 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58104 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58105 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58106 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58107 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58108 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
58109 { (char *)"FileSystemHandler_swiginit", FileSystemHandler_swiginit
, METH_VARARGS
, NULL
},
58110 { (char *)"new_FileSystem", (PyCFunction
)_wrap_new_FileSystem
, METH_NOARGS
, NULL
},
58111 { (char *)"delete_FileSystem", (PyCFunction
)_wrap_delete_FileSystem
, METH_O
, NULL
},
58112 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58113 { (char *)"FileSystem_GetPath", (PyCFunction
)_wrap_FileSystem_GetPath
, METH_O
, NULL
},
58114 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58115 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58116 { (char *)"FileSystem_FindNext", (PyCFunction
)_wrap_FileSystem_FindNext
, METH_O
, NULL
},
58117 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58118 { (char *)"FileSystem_RemoveHandler", (PyCFunction
) _wrap_FileSystem_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58119 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
)_wrap_FileSystem_CleanUpHandlers
, METH_NOARGS
, NULL
},
58120 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58121 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58122 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
58123 { (char *)"FileSystem_swiginit", FileSystem_swiginit
, METH_VARARGS
, NULL
},
58124 { (char *)"new_InternetFSHandler", (PyCFunction
)_wrap_new_InternetFSHandler
, METH_NOARGS
, NULL
},
58125 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58126 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58127 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
58128 { (char *)"InternetFSHandler_swiginit", InternetFSHandler_swiginit
, METH_VARARGS
, NULL
},
58129 { (char *)"new_ZipFSHandler", (PyCFunction
)_wrap_new_ZipFSHandler
, METH_NOARGS
, NULL
},
58130 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58131 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58132 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58133 { (char *)"ZipFSHandler_FindNext", (PyCFunction
)_wrap_ZipFSHandler_FindNext
, METH_O
, NULL
},
58134 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
58135 { (char *)"ZipFSHandler_swiginit", ZipFSHandler_swiginit
, METH_VARARGS
, NULL
},
58136 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58137 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58138 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58139 { (char *)"new_MemoryFSHandler", (PyCFunction
)_wrap_new_MemoryFSHandler
, METH_NOARGS
, NULL
},
58140 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58141 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58142 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58143 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58144 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
)_wrap_MemoryFSHandler_FindNext
, METH_O
, NULL
},
58145 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
58146 { (char *)"MemoryFSHandler_swiginit", MemoryFSHandler_swiginit
, METH_VARARGS
, NULL
},
58147 { (char *)"ImageHandler_GetName", (PyCFunction
)_wrap_ImageHandler_GetName
, METH_O
, NULL
},
58148 { (char *)"ImageHandler_GetExtension", (PyCFunction
)_wrap_ImageHandler_GetExtension
, METH_O
, NULL
},
58149 { (char *)"ImageHandler_GetType", (PyCFunction
)_wrap_ImageHandler_GetType
, METH_O
, NULL
},
58150 { (char *)"ImageHandler_GetMimeType", (PyCFunction
)_wrap_ImageHandler_GetMimeType
, METH_O
, NULL
},
58151 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58152 { (char *)"ImageHandler_CanReadStream", (PyCFunction
) _wrap_ImageHandler_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58153 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58154 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58155 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58156 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58157 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
58158 { (char *)"new_PyImageHandler", (PyCFunction
)_wrap_new_PyImageHandler
, METH_NOARGS
, NULL
},
58159 { (char *)"PyImageHandler__SetSelf", (PyCFunction
) _wrap_PyImageHandler__SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58160 { (char *)"PyImageHandler_swigregister", PyImageHandler_swigregister
, METH_VARARGS
, NULL
},
58161 { (char *)"PyImageHandler_swiginit", PyImageHandler_swiginit
, METH_VARARGS
, NULL
},
58162 { (char *)"new_ImageHistogram", (PyCFunction
)_wrap_new_ImageHistogram
, METH_NOARGS
, NULL
},
58163 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58164 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58165 { (char *)"ImageHistogram_GetCount", (PyCFunction
) _wrap_ImageHistogram_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58166 { (char *)"ImageHistogram_GetCountRGB", (PyCFunction
) _wrap_ImageHistogram_GetCountRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58167 { (char *)"ImageHistogram_GetCountColour", (PyCFunction
) _wrap_ImageHistogram_GetCountColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58168 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
58169 { (char *)"ImageHistogram_swiginit", ImageHistogram_swiginit
, METH_VARARGS
, NULL
},
58170 { (char *)"new_Image_RGBValue", (PyCFunction
) _wrap_new_Image_RGBValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58171 { (char *)"Image_RGBValue_red_set", _wrap_Image_RGBValue_red_set
, METH_VARARGS
, NULL
},
58172 { (char *)"Image_RGBValue_red_get", (PyCFunction
)_wrap_Image_RGBValue_red_get
, METH_O
, NULL
},
58173 { (char *)"Image_RGBValue_green_set", _wrap_Image_RGBValue_green_set
, METH_VARARGS
, NULL
},
58174 { (char *)"Image_RGBValue_green_get", (PyCFunction
)_wrap_Image_RGBValue_green_get
, METH_O
, NULL
},
58175 { (char *)"Image_RGBValue_blue_set", _wrap_Image_RGBValue_blue_set
, METH_VARARGS
, NULL
},
58176 { (char *)"Image_RGBValue_blue_get", (PyCFunction
)_wrap_Image_RGBValue_blue_get
, METH_O
, NULL
},
58177 { (char *)"Image_RGBValue_swigregister", Image_RGBValue_swigregister
, METH_VARARGS
, NULL
},
58178 { (char *)"Image_RGBValue_swiginit", Image_RGBValue_swiginit
, METH_VARARGS
, NULL
},
58179 { (char *)"new_Image_HSVValue", (PyCFunction
) _wrap_new_Image_HSVValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58180 { (char *)"Image_HSVValue_hue_set", _wrap_Image_HSVValue_hue_set
, METH_VARARGS
, NULL
},
58181 { (char *)"Image_HSVValue_hue_get", (PyCFunction
)_wrap_Image_HSVValue_hue_get
, METH_O
, NULL
},
58182 { (char *)"Image_HSVValue_saturation_set", _wrap_Image_HSVValue_saturation_set
, METH_VARARGS
, NULL
},
58183 { (char *)"Image_HSVValue_saturation_get", (PyCFunction
)_wrap_Image_HSVValue_saturation_get
, METH_O
, NULL
},
58184 { (char *)"Image_HSVValue_value_set", _wrap_Image_HSVValue_value_set
, METH_VARARGS
, NULL
},
58185 { (char *)"Image_HSVValue_value_get", (PyCFunction
)_wrap_Image_HSVValue_value_get
, METH_O
, NULL
},
58186 { (char *)"Image_HSVValue_swigregister", Image_HSVValue_swigregister
, METH_VARARGS
, NULL
},
58187 { (char *)"Image_HSVValue_swiginit", Image_HSVValue_swiginit
, METH_VARARGS
, NULL
},
58188 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58189 { (char *)"delete_Image", (PyCFunction
)_wrap_delete_Image
, METH_O
, NULL
},
58190 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58191 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58192 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58193 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58194 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58195 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58196 { (char *)"new_ImageFromDataWithAlpha", (PyCFunction
) _wrap_new_ImageFromDataWithAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58197 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58198 { (char *)"Image_Destroy", (PyCFunction
)_wrap_Image_Destroy
, METH_O
, NULL
},
58199 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58200 { (char *)"Image_ResampleBox", (PyCFunction
) _wrap_Image_ResampleBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58201 { (char *)"Image_ResampleBicubic", (PyCFunction
) _wrap_Image_ResampleBicubic
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58202 { (char *)"Image_Blur", (PyCFunction
) _wrap_Image_Blur
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58203 { (char *)"Image_BlurHorizontal", (PyCFunction
) _wrap_Image_BlurHorizontal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58204 { (char *)"Image_BlurVertical", (PyCFunction
) _wrap_Image_BlurVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58205 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58206 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58207 { (char *)"Image_Resize", (PyCFunction
) _wrap_Image_Resize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58208 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58209 { (char *)"Image_SetRGBRect", (PyCFunction
) _wrap_Image_SetRGBRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58210 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58211 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58212 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58213 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58214 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58215 { (char *)"Image_HasAlpha", (PyCFunction
)_wrap_Image_HasAlpha
, METH_O
, NULL
},
58216 { (char *)"Image_InitAlpha", (PyCFunction
)_wrap_Image_InitAlpha
, METH_O
, NULL
},
58217 { (char *)"Image_IsTransparent", (PyCFunction
) _wrap_Image_IsTransparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58218 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58219 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58220 { (char *)"Image_ConvertColourToAlpha", (PyCFunction
) _wrap_Image_ConvertColourToAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58221 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58222 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58223 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58224 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58225 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58226 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58227 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58228 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58229 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58230 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58231 { (char *)"Image_IsOk", (PyCFunction
)_wrap_Image_IsOk
, METH_O
, NULL
},
58232 { (char *)"Image_GetWidth", (PyCFunction
)_wrap_Image_GetWidth
, METH_O
, NULL
},
58233 { (char *)"Image_GetHeight", (PyCFunction
)_wrap_Image_GetHeight
, METH_O
, NULL
},
58234 { (char *)"Image_GetSize", (PyCFunction
)_wrap_Image_GetSize
, METH_O
, NULL
},
58235 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58236 { (char *)"Image_Size", (PyCFunction
) _wrap_Image_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58237 { (char *)"Image_Copy", (PyCFunction
)_wrap_Image_Copy
, METH_O
, NULL
},
58238 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58239 { (char *)"Image_GetData", (PyCFunction
)_wrap_Image_GetData
, METH_O
, NULL
},
58240 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58241 { (char *)"Image_GetDataBuffer", (PyCFunction
)_wrap_Image_GetDataBuffer
, METH_O
, NULL
},
58242 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58243 { (char *)"Image_GetAlphaData", (PyCFunction
)_wrap_Image_GetAlphaData
, METH_O
, NULL
},
58244 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58245 { (char *)"Image_GetAlphaBuffer", (PyCFunction
)_wrap_Image_GetAlphaBuffer
, METH_O
, NULL
},
58246 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58247 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58248 { (char *)"Image_GetOrFindMaskColour", (PyCFunction
)_wrap_Image_GetOrFindMaskColour
, METH_O
, NULL
},
58249 { (char *)"Image_GetMaskRed", (PyCFunction
)_wrap_Image_GetMaskRed
, METH_O
, NULL
},
58250 { (char *)"Image_GetMaskGreen", (PyCFunction
)_wrap_Image_GetMaskGreen
, METH_O
, NULL
},
58251 { (char *)"Image_GetMaskBlue", (PyCFunction
)_wrap_Image_GetMaskBlue
, METH_O
, NULL
},
58252 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58253 { (char *)"Image_HasMask", (PyCFunction
)_wrap_Image_HasMask
, METH_O
, NULL
},
58254 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58255 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58256 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58257 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58258 { (char *)"Image_ConvertToGreyscale", (PyCFunction
) _wrap_Image_ConvertToGreyscale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58259 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58260 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58261 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58262 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58263 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58264 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58265 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58266 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58267 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58268 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58269 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58270 { (char *)"Image_GetHandlers", (PyCFunction
)_wrap_Image_GetHandlers
, METH_NOARGS
, NULL
},
58271 { (char *)"Image_GetImageExtWildcard", (PyCFunction
)_wrap_Image_GetImageExtWildcard
, METH_NOARGS
, NULL
},
58272 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58273 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58274 { (char *)"Image_RotateHue", (PyCFunction
) _wrap_Image_RotateHue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58275 { (char *)"Image_RGBtoHSV", (PyCFunction
) _wrap_Image_RGBtoHSV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58276 { (char *)"Image_HSVtoRGB", (PyCFunction
) _wrap_Image_HSVtoRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58277 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
58278 { (char *)"Image_swiginit", Image_swiginit
, METH_VARARGS
, NULL
},
58279 { (char *)"_ImageFromBuffer", (PyCFunction
) _wrap__ImageFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58280 { (char *)"new_BMPHandler", (PyCFunction
)_wrap_new_BMPHandler
, METH_NOARGS
, NULL
},
58281 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
58282 { (char *)"BMPHandler_swiginit", BMPHandler_swiginit
, METH_VARARGS
, NULL
},
58283 { (char *)"new_ICOHandler", (PyCFunction
)_wrap_new_ICOHandler
, METH_NOARGS
, NULL
},
58284 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
58285 { (char *)"ICOHandler_swiginit", ICOHandler_swiginit
, METH_VARARGS
, NULL
},
58286 { (char *)"new_CURHandler", (PyCFunction
)_wrap_new_CURHandler
, METH_NOARGS
, NULL
},
58287 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
58288 { (char *)"CURHandler_swiginit", CURHandler_swiginit
, METH_VARARGS
, NULL
},
58289 { (char *)"new_ANIHandler", (PyCFunction
)_wrap_new_ANIHandler
, METH_NOARGS
, NULL
},
58290 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
58291 { (char *)"ANIHandler_swiginit", ANIHandler_swiginit
, METH_VARARGS
, NULL
},
58292 { (char *)"new_PNGHandler", (PyCFunction
)_wrap_new_PNGHandler
, METH_NOARGS
, NULL
},
58293 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
58294 { (char *)"PNGHandler_swiginit", PNGHandler_swiginit
, METH_VARARGS
, NULL
},
58295 { (char *)"new_GIFHandler", (PyCFunction
)_wrap_new_GIFHandler
, METH_NOARGS
, NULL
},
58296 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
58297 { (char *)"GIFHandler_swiginit", GIFHandler_swiginit
, METH_VARARGS
, NULL
},
58298 { (char *)"new_PCXHandler", (PyCFunction
)_wrap_new_PCXHandler
, METH_NOARGS
, NULL
},
58299 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
58300 { (char *)"PCXHandler_swiginit", PCXHandler_swiginit
, METH_VARARGS
, NULL
},
58301 { (char *)"new_JPEGHandler", (PyCFunction
)_wrap_new_JPEGHandler
, METH_NOARGS
, NULL
},
58302 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
58303 { (char *)"JPEGHandler_swiginit", JPEGHandler_swiginit
, METH_VARARGS
, NULL
},
58304 { (char *)"new_PNMHandler", (PyCFunction
)_wrap_new_PNMHandler
, METH_NOARGS
, NULL
},
58305 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
58306 { (char *)"PNMHandler_swiginit", PNMHandler_swiginit
, METH_VARARGS
, NULL
},
58307 { (char *)"new_XPMHandler", (PyCFunction
)_wrap_new_XPMHandler
, METH_NOARGS
, NULL
},
58308 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
58309 { (char *)"XPMHandler_swiginit", XPMHandler_swiginit
, METH_VARARGS
, NULL
},
58310 { (char *)"new_TIFFHandler", (PyCFunction
)_wrap_new_TIFFHandler
, METH_NOARGS
, NULL
},
58311 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
58312 { (char *)"TIFFHandler_swiginit", TIFFHandler_swiginit
, METH_VARARGS
, NULL
},
58313 { (char *)"new_TGAHandler", (PyCFunction
)_wrap_new_TGAHandler
, METH_NOARGS
, NULL
},
58314 { (char *)"TGAHandler_swigregister", TGAHandler_swigregister
, METH_VARARGS
, NULL
},
58315 { (char *)"TGAHandler_swiginit", TGAHandler_swiginit
, METH_VARARGS
, NULL
},
58316 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58317 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
58318 { (char *)"new_EvtHandler", (PyCFunction
)_wrap_new_EvtHandler
, METH_NOARGS
, NULL
},
58319 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
)_wrap_EvtHandler_GetNextHandler
, METH_O
, NULL
},
58320 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
)_wrap_EvtHandler_GetPreviousHandler
, METH_O
, NULL
},
58321 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58322 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58323 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
)_wrap_EvtHandler_GetEvtHandlerEnabled
, METH_O
, NULL
},
58324 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58325 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58326 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58327 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
)_wrap_EvtHandler_ProcessPendingEvents
, METH_O
, NULL
},
58328 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58329 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58330 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58331 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
58332 { (char *)"EvtHandler_swiginit", EvtHandler_swiginit
, METH_VARARGS
, NULL
},
58333 { (char *)"NewEventType", (PyCFunction
)_wrap_NewEventType
, METH_NOARGS
, NULL
},
58334 { (char *)"delete_Event", (PyCFunction
)_wrap_delete_Event
, METH_O
, NULL
},
58335 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58336 { (char *)"Event_GetEventType", (PyCFunction
)_wrap_Event_GetEventType
, METH_O
, NULL
},
58337 { (char *)"Event_GetEventObject", (PyCFunction
)_wrap_Event_GetEventObject
, METH_O
, NULL
},
58338 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58339 { (char *)"Event_GetTimestamp", (PyCFunction
)_wrap_Event_GetTimestamp
, METH_O
, NULL
},
58340 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58341 { (char *)"Event_GetId", (PyCFunction
)_wrap_Event_GetId
, METH_O
, NULL
},
58342 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58343 { (char *)"Event_IsCommandEvent", (PyCFunction
)_wrap_Event_IsCommandEvent
, METH_O
, NULL
},
58344 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58345 { (char *)"Event_GetSkipped", (PyCFunction
)_wrap_Event_GetSkipped
, METH_O
, NULL
},
58346 { (char *)"Event_ShouldPropagate", (PyCFunction
)_wrap_Event_ShouldPropagate
, METH_O
, NULL
},
58347 { (char *)"Event_StopPropagation", (PyCFunction
)_wrap_Event_StopPropagation
, METH_O
, NULL
},
58348 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58349 { (char *)"Event_Clone", (PyCFunction
)_wrap_Event_Clone
, METH_O
, NULL
},
58350 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
58351 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58352 { (char *)"delete_PropagationDisabler", (PyCFunction
)_wrap_delete_PropagationDisabler
, METH_O
, NULL
},
58353 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
58354 { (char *)"PropagationDisabler_swiginit", PropagationDisabler_swiginit
, METH_VARARGS
, NULL
},
58355 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58356 { (char *)"delete_PropagateOnce", (PyCFunction
)_wrap_delete_PropagateOnce
, METH_O
, NULL
},
58357 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
58358 { (char *)"PropagateOnce_swiginit", PropagateOnce_swiginit
, METH_VARARGS
, NULL
},
58359 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58360 { (char *)"CommandEvent_GetSelection", (PyCFunction
)_wrap_CommandEvent_GetSelection
, METH_O
, NULL
},
58361 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58362 { (char *)"CommandEvent_GetString", (PyCFunction
)_wrap_CommandEvent_GetString
, METH_O
, NULL
},
58363 { (char *)"CommandEvent_IsChecked", (PyCFunction
)_wrap_CommandEvent_IsChecked
, METH_O
, NULL
},
58364 { (char *)"CommandEvent_IsSelection", (PyCFunction
)_wrap_CommandEvent_IsSelection
, METH_O
, NULL
},
58365 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58366 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
)_wrap_CommandEvent_GetExtraLong
, METH_O
, NULL
},
58367 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58368 { (char *)"CommandEvent_GetInt", (PyCFunction
)_wrap_CommandEvent_GetInt
, METH_O
, NULL
},
58369 { (char *)"CommandEvent_GetClientData", (PyCFunction
)_wrap_CommandEvent_GetClientData
, METH_O
, NULL
},
58370 { (char *)"CommandEvent_SetClientData", (PyCFunction
) _wrap_CommandEvent_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58371 { (char *)"CommandEvent_Clone", (PyCFunction
)_wrap_CommandEvent_Clone
, METH_O
, NULL
},
58372 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
58373 { (char *)"CommandEvent_swiginit", CommandEvent_swiginit
, METH_VARARGS
, NULL
},
58374 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58375 { (char *)"NotifyEvent_Veto", (PyCFunction
)_wrap_NotifyEvent_Veto
, METH_O
, NULL
},
58376 { (char *)"NotifyEvent_Allow", (PyCFunction
)_wrap_NotifyEvent_Allow
, METH_O
, NULL
},
58377 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
)_wrap_NotifyEvent_IsAllowed
, METH_O
, NULL
},
58378 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
58379 { (char *)"NotifyEvent_swiginit", NotifyEvent_swiginit
, METH_VARARGS
, NULL
},
58380 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58381 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
)_wrap_ScrollEvent_GetOrientation
, METH_O
, NULL
},
58382 { (char *)"ScrollEvent_GetPosition", (PyCFunction
)_wrap_ScrollEvent_GetPosition
, METH_O
, NULL
},
58383 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58384 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58385 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
58386 { (char *)"ScrollEvent_swiginit", ScrollEvent_swiginit
, METH_VARARGS
, NULL
},
58387 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58388 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
)_wrap_ScrollWinEvent_GetOrientation
, METH_O
, NULL
},
58389 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
)_wrap_ScrollWinEvent_GetPosition
, METH_O
, NULL
},
58390 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58391 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58392 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
58393 { (char *)"ScrollWinEvent_swiginit", ScrollWinEvent_swiginit
, METH_VARARGS
, NULL
},
58394 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58395 { (char *)"MouseEvent_IsButton", (PyCFunction
)_wrap_MouseEvent_IsButton
, METH_O
, NULL
},
58396 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58397 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58398 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58399 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58400 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58401 { (char *)"MouseEvent_GetButton", (PyCFunction
)_wrap_MouseEvent_GetButton
, METH_O
, NULL
},
58402 { (char *)"MouseEvent_ControlDown", (PyCFunction
)_wrap_MouseEvent_ControlDown
, METH_O
, NULL
},
58403 { (char *)"MouseEvent_MetaDown", (PyCFunction
)_wrap_MouseEvent_MetaDown
, METH_O
, NULL
},
58404 { (char *)"MouseEvent_AltDown", (PyCFunction
)_wrap_MouseEvent_AltDown
, METH_O
, NULL
},
58405 { (char *)"MouseEvent_ShiftDown", (PyCFunction
)_wrap_MouseEvent_ShiftDown
, METH_O
, NULL
},
58406 { (char *)"MouseEvent_CmdDown", (PyCFunction
)_wrap_MouseEvent_CmdDown
, METH_O
, NULL
},
58407 { (char *)"MouseEvent_LeftDown", (PyCFunction
)_wrap_MouseEvent_LeftDown
, METH_O
, NULL
},
58408 { (char *)"MouseEvent_MiddleDown", (PyCFunction
)_wrap_MouseEvent_MiddleDown
, METH_O
, NULL
},
58409 { (char *)"MouseEvent_RightDown", (PyCFunction
)_wrap_MouseEvent_RightDown
, METH_O
, NULL
},
58410 { (char *)"MouseEvent_LeftUp", (PyCFunction
)_wrap_MouseEvent_LeftUp
, METH_O
, NULL
},
58411 { (char *)"MouseEvent_MiddleUp", (PyCFunction
)_wrap_MouseEvent_MiddleUp
, METH_O
, NULL
},
58412 { (char *)"MouseEvent_RightUp", (PyCFunction
)_wrap_MouseEvent_RightUp
, METH_O
, NULL
},
58413 { (char *)"MouseEvent_LeftDClick", (PyCFunction
)_wrap_MouseEvent_LeftDClick
, METH_O
, NULL
},
58414 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
)_wrap_MouseEvent_MiddleDClick
, METH_O
, NULL
},
58415 { (char *)"MouseEvent_RightDClick", (PyCFunction
)_wrap_MouseEvent_RightDClick
, METH_O
, NULL
},
58416 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
)_wrap_MouseEvent_LeftIsDown
, METH_O
, NULL
},
58417 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
)_wrap_MouseEvent_MiddleIsDown
, METH_O
, NULL
},
58418 { (char *)"MouseEvent_RightIsDown", (PyCFunction
)_wrap_MouseEvent_RightIsDown
, METH_O
, NULL
},
58419 { (char *)"MouseEvent_Dragging", (PyCFunction
)_wrap_MouseEvent_Dragging
, METH_O
, NULL
},
58420 { (char *)"MouseEvent_Moving", (PyCFunction
)_wrap_MouseEvent_Moving
, METH_O
, NULL
},
58421 { (char *)"MouseEvent_Entering", (PyCFunction
)_wrap_MouseEvent_Entering
, METH_O
, NULL
},
58422 { (char *)"MouseEvent_Leaving", (PyCFunction
)_wrap_MouseEvent_Leaving
, METH_O
, NULL
},
58423 { (char *)"MouseEvent_GetPosition", (PyCFunction
)_wrap_MouseEvent_GetPosition
, METH_O
, NULL
},
58424 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
)_wrap_MouseEvent_GetPositionTuple
, METH_O
, NULL
},
58425 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58426 { (char *)"MouseEvent_GetX", (PyCFunction
)_wrap_MouseEvent_GetX
, METH_O
, NULL
},
58427 { (char *)"MouseEvent_GetY", (PyCFunction
)_wrap_MouseEvent_GetY
, METH_O
, NULL
},
58428 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
)_wrap_MouseEvent_GetWheelRotation
, METH_O
, NULL
},
58429 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
)_wrap_MouseEvent_GetWheelDelta
, METH_O
, NULL
},
58430 { (char *)"MouseEvent_GetWheelAxis", (PyCFunction
)_wrap_MouseEvent_GetWheelAxis
, METH_O
, NULL
},
58431 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
)_wrap_MouseEvent_GetLinesPerAction
, METH_O
, NULL
},
58432 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
)_wrap_MouseEvent_IsPageScroll
, METH_O
, NULL
},
58433 { (char *)"MouseEvent_m_x_set", _wrap_MouseEvent_m_x_set
, METH_VARARGS
, NULL
},
58434 { (char *)"MouseEvent_m_x_get", (PyCFunction
)_wrap_MouseEvent_m_x_get
, METH_O
, NULL
},
58435 { (char *)"MouseEvent_m_y_set", _wrap_MouseEvent_m_y_set
, METH_VARARGS
, NULL
},
58436 { (char *)"MouseEvent_m_y_get", (PyCFunction
)_wrap_MouseEvent_m_y_get
, METH_O
, NULL
},
58437 { (char *)"MouseEvent_m_leftDown_set", _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
, NULL
},
58438 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
)_wrap_MouseEvent_m_leftDown_get
, METH_O
, NULL
},
58439 { (char *)"MouseEvent_m_middleDown_set", _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
, NULL
},
58440 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
)_wrap_MouseEvent_m_middleDown_get
, METH_O
, NULL
},
58441 { (char *)"MouseEvent_m_rightDown_set", _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
, NULL
},
58442 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
)_wrap_MouseEvent_m_rightDown_get
, METH_O
, NULL
},
58443 { (char *)"MouseEvent_m_controlDown_set", _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
, NULL
},
58444 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
)_wrap_MouseEvent_m_controlDown_get
, METH_O
, NULL
},
58445 { (char *)"MouseEvent_m_shiftDown_set", _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
, NULL
},
58446 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
)_wrap_MouseEvent_m_shiftDown_get
, METH_O
, NULL
},
58447 { (char *)"MouseEvent_m_altDown_set", _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
, NULL
},
58448 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
)_wrap_MouseEvent_m_altDown_get
, METH_O
, NULL
},
58449 { (char *)"MouseEvent_m_metaDown_set", _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
, NULL
},
58450 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
)_wrap_MouseEvent_m_metaDown_get
, METH_O
, NULL
},
58451 { (char *)"MouseEvent_m_wheelRotation_set", _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
, NULL
},
58452 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
)_wrap_MouseEvent_m_wheelRotation_get
, METH_O
, NULL
},
58453 { (char *)"MouseEvent_m_wheelDelta_set", _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
, NULL
},
58454 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
)_wrap_MouseEvent_m_wheelDelta_get
, METH_O
, NULL
},
58455 { (char *)"MouseEvent_m_linesPerAction_set", _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
, NULL
},
58456 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
)_wrap_MouseEvent_m_linesPerAction_get
, METH_O
, NULL
},
58457 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
58458 { (char *)"MouseEvent_swiginit", MouseEvent_swiginit
, METH_VARARGS
, NULL
},
58459 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58460 { (char *)"SetCursorEvent_GetX", (PyCFunction
)_wrap_SetCursorEvent_GetX
, METH_O
, NULL
},
58461 { (char *)"SetCursorEvent_GetY", (PyCFunction
)_wrap_SetCursorEvent_GetY
, METH_O
, NULL
},
58462 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58463 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
)_wrap_SetCursorEvent_GetCursor
, METH_O
, NULL
},
58464 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
)_wrap_SetCursorEvent_HasCursor
, METH_O
, NULL
},
58465 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
58466 { (char *)"SetCursorEvent_swiginit", SetCursorEvent_swiginit
, METH_VARARGS
, NULL
},
58467 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58468 { (char *)"KeyEvent_GetModifiers", (PyCFunction
)_wrap_KeyEvent_GetModifiers
, METH_O
, NULL
},
58469 { (char *)"KeyEvent_ControlDown", (PyCFunction
)_wrap_KeyEvent_ControlDown
, METH_O
, NULL
},
58470 { (char *)"KeyEvent_MetaDown", (PyCFunction
)_wrap_KeyEvent_MetaDown
, METH_O
, NULL
},
58471 { (char *)"KeyEvent_AltDown", (PyCFunction
)_wrap_KeyEvent_AltDown
, METH_O
, NULL
},
58472 { (char *)"KeyEvent_ShiftDown", (PyCFunction
)_wrap_KeyEvent_ShiftDown
, METH_O
, NULL
},
58473 { (char *)"KeyEvent_CmdDown", (PyCFunction
)_wrap_KeyEvent_CmdDown
, METH_O
, NULL
},
58474 { (char *)"KeyEvent_HasModifiers", (PyCFunction
)_wrap_KeyEvent_HasModifiers
, METH_O
, NULL
},
58475 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
)_wrap_KeyEvent_GetKeyCode
, METH_O
, NULL
},
58476 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
)_wrap_KeyEvent_GetUnicodeKey
, METH_O
, NULL
},
58477 { (char *)"KeyEvent_SetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_SetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58478 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
)_wrap_KeyEvent_GetRawKeyCode
, METH_O
, NULL
},
58479 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
)_wrap_KeyEvent_GetRawKeyFlags
, METH_O
, NULL
},
58480 { (char *)"KeyEvent_GetPosition", (PyCFunction
)_wrap_KeyEvent_GetPosition
, METH_O
, NULL
},
58481 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
)_wrap_KeyEvent_GetPositionTuple
, METH_O
, NULL
},
58482 { (char *)"KeyEvent_GetX", (PyCFunction
)_wrap_KeyEvent_GetX
, METH_O
, NULL
},
58483 { (char *)"KeyEvent_GetY", (PyCFunction
)_wrap_KeyEvent_GetY
, METH_O
, NULL
},
58484 { (char *)"KeyEvent_m_x_set", _wrap_KeyEvent_m_x_set
, METH_VARARGS
, NULL
},
58485 { (char *)"KeyEvent_m_x_get", (PyCFunction
)_wrap_KeyEvent_m_x_get
, METH_O
, NULL
},
58486 { (char *)"KeyEvent_m_y_set", _wrap_KeyEvent_m_y_set
, METH_VARARGS
, NULL
},
58487 { (char *)"KeyEvent_m_y_get", (PyCFunction
)_wrap_KeyEvent_m_y_get
, METH_O
, NULL
},
58488 { (char *)"KeyEvent_m_keyCode_set", _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
, NULL
},
58489 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
)_wrap_KeyEvent_m_keyCode_get
, METH_O
, NULL
},
58490 { (char *)"KeyEvent_m_controlDown_set", _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
, NULL
},
58491 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
)_wrap_KeyEvent_m_controlDown_get
, METH_O
, NULL
},
58492 { (char *)"KeyEvent_m_shiftDown_set", _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
, NULL
},
58493 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
)_wrap_KeyEvent_m_shiftDown_get
, METH_O
, NULL
},
58494 { (char *)"KeyEvent_m_altDown_set", _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
, NULL
},
58495 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
)_wrap_KeyEvent_m_altDown_get
, METH_O
, NULL
},
58496 { (char *)"KeyEvent_m_metaDown_set", _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
, NULL
},
58497 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
)_wrap_KeyEvent_m_metaDown_get
, METH_O
, NULL
},
58498 { (char *)"KeyEvent_m_scanCode_set", _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
, NULL
},
58499 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
)_wrap_KeyEvent_m_scanCode_get
, METH_O
, NULL
},
58500 { (char *)"KeyEvent_m_rawCode_set", _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
, NULL
},
58501 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
)_wrap_KeyEvent_m_rawCode_get
, METH_O
, NULL
},
58502 { (char *)"KeyEvent_m_rawFlags_set", _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
, NULL
},
58503 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
)_wrap_KeyEvent_m_rawFlags_get
, METH_O
, NULL
},
58504 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
58505 { (char *)"KeyEvent_swiginit", KeyEvent_swiginit
, METH_VARARGS
, NULL
},
58506 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58507 { (char *)"SizeEvent_GetSize", (PyCFunction
)_wrap_SizeEvent_GetSize
, METH_O
, NULL
},
58508 { (char *)"SizeEvent_GetRect", (PyCFunction
)_wrap_SizeEvent_GetRect
, METH_O
, NULL
},
58509 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58510 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58511 { (char *)"SizeEvent_m_size_set", _wrap_SizeEvent_m_size_set
, METH_VARARGS
, NULL
},
58512 { (char *)"SizeEvent_m_size_get", (PyCFunction
)_wrap_SizeEvent_m_size_get
, METH_O
, NULL
},
58513 { (char *)"SizeEvent_m_rect_set", _wrap_SizeEvent_m_rect_set
, METH_VARARGS
, NULL
},
58514 { (char *)"SizeEvent_m_rect_get", (PyCFunction
)_wrap_SizeEvent_m_rect_get
, METH_O
, NULL
},
58515 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
58516 { (char *)"SizeEvent_swiginit", SizeEvent_swiginit
, METH_VARARGS
, NULL
},
58517 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58518 { (char *)"MoveEvent_GetPosition", (PyCFunction
)_wrap_MoveEvent_GetPosition
, METH_O
, NULL
},
58519 { (char *)"MoveEvent_GetRect", (PyCFunction
)_wrap_MoveEvent_GetRect
, METH_O
, NULL
},
58520 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58521 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58522 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
58523 { (char *)"MoveEvent_swiginit", MoveEvent_swiginit
, METH_VARARGS
, NULL
},
58524 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58525 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
58526 { (char *)"PaintEvent_swiginit", PaintEvent_swiginit
, METH_VARARGS
, NULL
},
58527 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58528 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
58529 { (char *)"NcPaintEvent_swiginit", NcPaintEvent_swiginit
, METH_VARARGS
, NULL
},
58530 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58531 { (char *)"EraseEvent_GetDC", (PyCFunction
)_wrap_EraseEvent_GetDC
, METH_O
, NULL
},
58532 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
58533 { (char *)"EraseEvent_swiginit", EraseEvent_swiginit
, METH_VARARGS
, NULL
},
58534 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58535 { (char *)"FocusEvent_GetWindow", (PyCFunction
)_wrap_FocusEvent_GetWindow
, METH_O
, NULL
},
58536 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58537 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
58538 { (char *)"FocusEvent_swiginit", FocusEvent_swiginit
, METH_VARARGS
, NULL
},
58539 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58540 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
)_wrap_ChildFocusEvent_GetWindow
, METH_O
, NULL
},
58541 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
58542 { (char *)"ChildFocusEvent_swiginit", ChildFocusEvent_swiginit
, METH_VARARGS
, NULL
},
58543 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58544 { (char *)"ActivateEvent_GetActive", (PyCFunction
)_wrap_ActivateEvent_GetActive
, METH_O
, NULL
},
58545 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
58546 { (char *)"ActivateEvent_swiginit", ActivateEvent_swiginit
, METH_VARARGS
, NULL
},
58547 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58548 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
58549 { (char *)"InitDialogEvent_swiginit", InitDialogEvent_swiginit
, METH_VARARGS
, NULL
},
58550 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58551 { (char *)"MenuEvent_GetMenuId", (PyCFunction
)_wrap_MenuEvent_GetMenuId
, METH_O
, NULL
},
58552 { (char *)"MenuEvent_IsPopup", (PyCFunction
)_wrap_MenuEvent_IsPopup
, METH_O
, NULL
},
58553 { (char *)"MenuEvent_GetMenu", (PyCFunction
)_wrap_MenuEvent_GetMenu
, METH_O
, NULL
},
58554 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
58555 { (char *)"MenuEvent_swiginit", MenuEvent_swiginit
, METH_VARARGS
, NULL
},
58556 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58557 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58558 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
)_wrap_CloseEvent_GetLoggingOff
, METH_O
, NULL
},
58559 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58560 { (char *)"CloseEvent_GetVeto", (PyCFunction
)_wrap_CloseEvent_GetVeto
, METH_O
, NULL
},
58561 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58562 { (char *)"CloseEvent_CanVeto", (PyCFunction
)_wrap_CloseEvent_CanVeto
, METH_O
, NULL
},
58563 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
58564 { (char *)"CloseEvent_swiginit", CloseEvent_swiginit
, METH_VARARGS
, NULL
},
58565 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58566 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58567 { (char *)"ShowEvent_GetShow", (PyCFunction
)_wrap_ShowEvent_GetShow
, METH_O
, NULL
},
58568 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
58569 { (char *)"ShowEvent_swiginit", ShowEvent_swiginit
, METH_VARARGS
, NULL
},
58570 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58571 { (char *)"IconizeEvent_Iconized", (PyCFunction
)_wrap_IconizeEvent_Iconized
, METH_O
, NULL
},
58572 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
58573 { (char *)"IconizeEvent_swiginit", IconizeEvent_swiginit
, METH_VARARGS
, NULL
},
58574 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58575 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
58576 { (char *)"MaximizeEvent_swiginit", MaximizeEvent_swiginit
, METH_VARARGS
, NULL
},
58577 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
)_wrap_DropFilesEvent_GetPosition
, METH_O
, NULL
},
58578 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
)_wrap_DropFilesEvent_GetNumberOfFiles
, METH_O
, NULL
},
58579 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
)_wrap_DropFilesEvent_GetFiles
, METH_O
, NULL
},
58580 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
58581 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58582 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
)_wrap_UpdateUIEvent_GetChecked
, METH_O
, NULL
},
58583 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
)_wrap_UpdateUIEvent_GetEnabled
, METH_O
, NULL
},
58584 { (char *)"UpdateUIEvent_GetShown", (PyCFunction
)_wrap_UpdateUIEvent_GetShown
, METH_O
, NULL
},
58585 { (char *)"UpdateUIEvent_GetText", (PyCFunction
)_wrap_UpdateUIEvent_GetText
, METH_O
, NULL
},
58586 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
)_wrap_UpdateUIEvent_GetSetText
, METH_O
, NULL
},
58587 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
)_wrap_UpdateUIEvent_GetSetChecked
, METH_O
, NULL
},
58588 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
)_wrap_UpdateUIEvent_GetSetEnabled
, METH_O
, NULL
},
58589 { (char *)"UpdateUIEvent_GetSetShown", (PyCFunction
)_wrap_UpdateUIEvent_GetSetShown
, METH_O
, NULL
},
58590 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58591 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58592 { (char *)"UpdateUIEvent_Show", (PyCFunction
) _wrap_UpdateUIEvent_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58593 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58594 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58595 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
)_wrap_UpdateUIEvent_GetUpdateInterval
, METH_NOARGS
, NULL
},
58596 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58597 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
)_wrap_UpdateUIEvent_ResetUpdateTime
, METH_NOARGS
, NULL
},
58598 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58599 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
)_wrap_UpdateUIEvent_GetMode
, METH_NOARGS
, NULL
},
58600 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
58601 { (char *)"UpdateUIEvent_swiginit", UpdateUIEvent_swiginit
, METH_VARARGS
, NULL
},
58602 { (char *)"new_SysColourChangedEvent", (PyCFunction
)_wrap_new_SysColourChangedEvent
, METH_NOARGS
, NULL
},
58603 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
58604 { (char *)"SysColourChangedEvent_swiginit", SysColourChangedEvent_swiginit
, METH_VARARGS
, NULL
},
58605 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58606 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
)_wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_O
, NULL
},
58607 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
58608 { (char *)"MouseCaptureChangedEvent_swiginit", MouseCaptureChangedEvent_swiginit
, METH_VARARGS
, NULL
},
58609 { (char *)"new_MouseCaptureLostEvent", (PyCFunction
) _wrap_new_MouseCaptureLostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58610 { (char *)"MouseCaptureLostEvent_swigregister", MouseCaptureLostEvent_swigregister
, METH_VARARGS
, NULL
},
58611 { (char *)"MouseCaptureLostEvent_swiginit", MouseCaptureLostEvent_swiginit
, METH_VARARGS
, NULL
},
58612 { (char *)"new_DisplayChangedEvent", (PyCFunction
)_wrap_new_DisplayChangedEvent
, METH_NOARGS
, NULL
},
58613 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
58614 { (char *)"DisplayChangedEvent_swiginit", DisplayChangedEvent_swiginit
, METH_VARARGS
, NULL
},
58615 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58616 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58617 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
)_wrap_PaletteChangedEvent_GetChangedWindow
, METH_O
, NULL
},
58618 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
58619 { (char *)"PaletteChangedEvent_swiginit", PaletteChangedEvent_swiginit
, METH_VARARGS
, NULL
},
58620 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58621 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58622 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
)_wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_O
, NULL
},
58623 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
58624 { (char *)"QueryNewPaletteEvent_swiginit", QueryNewPaletteEvent_swiginit
, METH_VARARGS
, NULL
},
58625 { (char *)"new_NavigationKeyEvent", (PyCFunction
)_wrap_new_NavigationKeyEvent
, METH_NOARGS
, NULL
},
58626 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
)_wrap_NavigationKeyEvent_GetDirection
, METH_O
, NULL
},
58627 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58628 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
)_wrap_NavigationKeyEvent_IsWindowChange
, METH_O
, NULL
},
58629 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58630 { (char *)"NavigationKeyEvent_IsFromTab", (PyCFunction
)_wrap_NavigationKeyEvent_IsFromTab
, METH_O
, NULL
},
58631 { (char *)"NavigationKeyEvent_SetFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_SetFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58632 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58633 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
)_wrap_NavigationKeyEvent_GetCurrentFocus
, METH_O
, NULL
},
58634 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58635 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
58636 { (char *)"NavigationKeyEvent_swiginit", NavigationKeyEvent_swiginit
, METH_VARARGS
, NULL
},
58637 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58638 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
)_wrap_WindowCreateEvent_GetWindow
, METH_O
, NULL
},
58639 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
58640 { (char *)"WindowCreateEvent_swiginit", WindowCreateEvent_swiginit
, METH_VARARGS
, NULL
},
58641 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58642 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
)_wrap_WindowDestroyEvent_GetWindow
, METH_O
, NULL
},
58643 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
58644 { (char *)"WindowDestroyEvent_swiginit", WindowDestroyEvent_swiginit
, METH_VARARGS
, NULL
},
58645 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58646 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
)_wrap_ContextMenuEvent_GetPosition
, METH_O
, NULL
},
58647 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58648 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
58649 { (char *)"ContextMenuEvent_swiginit", ContextMenuEvent_swiginit
, METH_VARARGS
, NULL
},
58650 { (char *)"new_IdleEvent", (PyCFunction
)_wrap_new_IdleEvent
, METH_NOARGS
, NULL
},
58651 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58652 { (char *)"IdleEvent_MoreRequested", (PyCFunction
)_wrap_IdleEvent_MoreRequested
, METH_O
, NULL
},
58653 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58654 { (char *)"IdleEvent_GetMode", (PyCFunction
)_wrap_IdleEvent_GetMode
, METH_NOARGS
, NULL
},
58655 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58656 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
58657 { (char *)"IdleEvent_swiginit", IdleEvent_swiginit
, METH_VARARGS
, NULL
},
58658 { (char *)"new_ClipboardTextEvent", (PyCFunction
) _wrap_new_ClipboardTextEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58659 { (char *)"ClipboardTextEvent_swigregister", ClipboardTextEvent_swigregister
, METH_VARARGS
, NULL
},
58660 { (char *)"ClipboardTextEvent_swiginit", ClipboardTextEvent_swiginit
, METH_VARARGS
, NULL
},
58661 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58662 { (char *)"delete_PyEvent", (PyCFunction
)_wrap_delete_PyEvent
, METH_O
, NULL
},
58663 { (char *)"PyEvent__SetSelf", (PyCFunction
) _wrap_PyEvent__SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58664 { (char *)"PyEvent__GetSelf", (PyCFunction
)_wrap_PyEvent__GetSelf
, METH_O
, NULL
},
58665 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
58666 { (char *)"PyEvent_swiginit", PyEvent_swiginit
, METH_VARARGS
, NULL
},
58667 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58668 { (char *)"delete_PyCommandEvent", (PyCFunction
)_wrap_delete_PyCommandEvent
, METH_O
, NULL
},
58669 { (char *)"PyCommandEvent__SetSelf", (PyCFunction
) _wrap_PyCommandEvent__SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58670 { (char *)"PyCommandEvent__GetSelf", (PyCFunction
)_wrap_PyCommandEvent__GetSelf
, METH_O
, NULL
},
58671 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
58672 { (char *)"PyCommandEvent_swiginit", PyCommandEvent_swiginit
, METH_VARARGS
, NULL
},
58673 { (char *)"new_DateEvent", (PyCFunction
) _wrap_new_DateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58674 { (char *)"DateEvent_GetDate", (PyCFunction
)_wrap_DateEvent_GetDate
, METH_O
, NULL
},
58675 { (char *)"DateEvent_SetDate", (PyCFunction
) _wrap_DateEvent_SetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58676 { (char *)"DateEvent_swigregister", DateEvent_swigregister
, METH_VARARGS
, NULL
},
58677 { (char *)"DateEvent_swiginit", DateEvent_swiginit
, METH_VARARGS
, NULL
},
58678 { (char *)"new_EventBlocker", (PyCFunction
) _wrap_new_EventBlocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58679 { (char *)"delete_EventBlocker", (PyCFunction
)_wrap_delete_EventBlocker
, METH_O
, NULL
},
58680 { (char *)"EventBlocker_Block", (PyCFunction
) _wrap_EventBlocker_Block
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58681 { (char *)"EventBlocker_swigregister", EventBlocker_swigregister
, METH_VARARGS
, NULL
},
58682 { (char *)"EventBlocker_swiginit", EventBlocker_swiginit
, METH_VARARGS
, NULL
},
58683 { (char *)"new_PyApp", (PyCFunction
)_wrap_new_PyApp
, METH_NOARGS
, NULL
},
58684 { (char *)"delete_PyApp", (PyCFunction
)_wrap_delete_PyApp
, METH_O
, NULL
},
58685 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58686 { (char *)"PyApp_GetAppName", (PyCFunction
)_wrap_PyApp_GetAppName
, METH_O
, NULL
},
58687 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58688 { (char *)"PyApp_GetClassName", (PyCFunction
)_wrap_PyApp_GetClassName
, METH_O
, NULL
},
58689 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58690 { (char *)"PyApp_GetVendorName", (PyCFunction
)_wrap_PyApp_GetVendorName
, METH_O
, NULL
},
58691 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58692 { (char *)"PyApp_GetTraits", (PyCFunction
)_wrap_PyApp_GetTraits
, METH_O
, NULL
},
58693 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
)_wrap_PyApp_ProcessPendingEvents
, METH_O
, NULL
},
58694 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58695 { (char *)"PyApp_WakeUpIdle", (PyCFunction
)_wrap_PyApp_WakeUpIdle
, METH_O
, NULL
},
58696 { (char *)"PyApp_IsMainLoopRunning", (PyCFunction
)_wrap_PyApp_IsMainLoopRunning
, METH_NOARGS
, NULL
},
58697 { (char *)"PyApp_MainLoop", (PyCFunction
)_wrap_PyApp_MainLoop
, METH_O
, NULL
},
58698 { (char *)"PyApp_Exit", (PyCFunction
)_wrap_PyApp_Exit
, METH_O
, NULL
},
58699 { (char *)"PyApp_GetLayoutDirection", (PyCFunction
)_wrap_PyApp_GetLayoutDirection
, METH_O
, NULL
},
58700 { (char *)"PyApp_ExitMainLoop", (PyCFunction
)_wrap_PyApp_ExitMainLoop
, METH_O
, NULL
},
58701 { (char *)"PyApp_Pending", (PyCFunction
)_wrap_PyApp_Pending
, METH_O
, NULL
},
58702 { (char *)"PyApp_Dispatch", (PyCFunction
)_wrap_PyApp_Dispatch
, METH_O
, NULL
},
58703 { (char *)"PyApp_ProcessIdle", (PyCFunction
)_wrap_PyApp_ProcessIdle
, METH_O
, NULL
},
58704 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58705 { (char *)"PyApp_IsActive", (PyCFunction
)_wrap_PyApp_IsActive
, METH_O
, NULL
},
58706 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58707 { (char *)"PyApp_GetTopWindow", (PyCFunction
)_wrap_PyApp_GetTopWindow
, METH_O
, NULL
},
58708 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58709 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
)_wrap_PyApp_GetExitOnFrameDelete
, METH_O
, NULL
},
58710 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58711 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
)_wrap_PyApp_GetUseBestVisual
, METH_O
, NULL
},
58712 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58713 { (char *)"PyApp_GetPrintMode", (PyCFunction
)_wrap_PyApp_GetPrintMode
, METH_O
, NULL
},
58714 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58715 { (char *)"PyApp_GetAssertMode", (PyCFunction
)_wrap_PyApp_GetAssertMode
, METH_O
, NULL
},
58716 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
)_wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_NOARGS
, NULL
},
58717 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
)_wrap_PyApp_GetMacAboutMenuItemId
, METH_NOARGS
, NULL
},
58718 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
)_wrap_PyApp_GetMacPreferencesMenuItemId
, METH_NOARGS
, NULL
},
58719 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
)_wrap_PyApp_GetMacExitMenuItemId
, METH_NOARGS
, NULL
},
58720 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
)_wrap_PyApp_GetMacHelpMenuTitleName
, METH_NOARGS
, NULL
},
58721 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58722 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58723 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58724 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58725 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58726 { (char *)"PyApp__BootstrapApp", (PyCFunction
)_wrap_PyApp__BootstrapApp
, METH_O
, NULL
},
58727 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
)_wrap_PyApp_GetComCtl32Version
, METH_NOARGS
, NULL
},
58728 { (char *)"PyApp_IsDisplayAvailable", (PyCFunction
)_wrap_PyApp_IsDisplayAvailable
, METH_NOARGS
, NULL
},
58729 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
58730 { (char *)"PyApp_swiginit", PyApp_swiginit
, METH_VARARGS
, NULL
},
58731 { (char *)"Exit", (PyCFunction
)_wrap_Exit
, METH_NOARGS
, NULL
},
58732 { (char *)"Yield", (PyCFunction
)_wrap_Yield
, METH_NOARGS
, NULL
},
58733 { (char *)"YieldIfNeeded", (PyCFunction
)_wrap_YieldIfNeeded
, METH_NOARGS
, NULL
},
58734 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58735 { (char *)"WakeUpIdle", (PyCFunction
)_wrap_WakeUpIdle
, METH_NOARGS
, NULL
},
58736 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58737 { (char *)"App_CleanUp", (PyCFunction
)_wrap_App_CleanUp
, METH_NOARGS
, NULL
},
58738 { (char *)"GetApp", (PyCFunction
)_wrap_GetApp
, METH_NOARGS
, NULL
},
58739 { (char *)"SetDefaultPyEncoding", (PyCFunction
) _wrap_SetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58740 { (char *)"GetDefaultPyEncoding", (PyCFunction
)_wrap_GetDefaultPyEncoding
, METH_NOARGS
, NULL
},
58741 { (char *)"new_EventLoop", (PyCFunction
)_wrap_new_EventLoop
, METH_NOARGS
, NULL
},
58742 { (char *)"delete_EventLoop", (PyCFunction
)_wrap_delete_EventLoop
, METH_O
, NULL
},
58743 { (char *)"EventLoop_Run", (PyCFunction
)_wrap_EventLoop_Run
, METH_O
, NULL
},
58744 { (char *)"EventLoop_Exit", (PyCFunction
) _wrap_EventLoop_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58745 { (char *)"EventLoop_Pending", (PyCFunction
)_wrap_EventLoop_Pending
, METH_O
, NULL
},
58746 { (char *)"EventLoop_Dispatch", (PyCFunction
)_wrap_EventLoop_Dispatch
, METH_O
, NULL
},
58747 { (char *)"EventLoop_IsRunning", (PyCFunction
)_wrap_EventLoop_IsRunning
, METH_O
, NULL
},
58748 { (char *)"EventLoop_GetActive", (PyCFunction
)_wrap_EventLoop_GetActive
, METH_NOARGS
, NULL
},
58749 { (char *)"EventLoop_SetActive", (PyCFunction
) _wrap_EventLoop_SetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58750 { (char *)"EventLoop_swigregister", EventLoop_swigregister
, METH_VARARGS
, NULL
},
58751 { (char *)"EventLoop_swiginit", EventLoop_swiginit
, METH_VARARGS
, NULL
},
58752 { (char *)"new_EventLoopActivator", (PyCFunction
) _wrap_new_EventLoopActivator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58753 { (char *)"delete_EventLoopActivator", (PyCFunction
)_wrap_delete_EventLoopActivator
, METH_O
, NULL
},
58754 { (char *)"EventLoopActivator_swigregister", EventLoopActivator_swigregister
, METH_VARARGS
, NULL
},
58755 { (char *)"EventLoopActivator_swiginit", EventLoopActivator_swiginit
, METH_VARARGS
, NULL
},
58756 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58757 { (char *)"delete_AcceleratorEntry", (PyCFunction
)_wrap_delete_AcceleratorEntry
, METH_O
, NULL
},
58758 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58759 { (char *)"AcceleratorEntry_Create", (PyCFunction
) _wrap_AcceleratorEntry_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58760 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
)_wrap_AcceleratorEntry_GetFlags
, METH_O
, NULL
},
58761 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
)_wrap_AcceleratorEntry_GetKeyCode
, METH_O
, NULL
},
58762 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
)_wrap_AcceleratorEntry_GetCommand
, METH_O
, NULL
},
58763 { (char *)"AcceleratorEntry_IsOk", (PyCFunction
)_wrap_AcceleratorEntry_IsOk
, METH_O
, NULL
},
58764 { (char *)"AcceleratorEntry_ToString", (PyCFunction
)_wrap_AcceleratorEntry_ToString
, METH_O
, NULL
},
58765 { (char *)"AcceleratorEntry_FromString", (PyCFunction
) _wrap_AcceleratorEntry_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58766 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
58767 { (char *)"AcceleratorEntry_swiginit", AcceleratorEntry_swiginit
, METH_VARARGS
, NULL
},
58768 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58769 { (char *)"delete_AcceleratorTable", (PyCFunction
)_wrap_delete_AcceleratorTable
, METH_O
, NULL
},
58770 { (char *)"AcceleratorTable_IsOk", (PyCFunction
)_wrap_AcceleratorTable_IsOk
, METH_O
, NULL
},
58771 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
58772 { (char *)"AcceleratorTable_swiginit", AcceleratorTable_swiginit
, METH_VARARGS
, NULL
},
58773 { (char *)"new_VisualAttributes", (PyCFunction
)_wrap_new_VisualAttributes
, METH_NOARGS
, NULL
},
58774 { (char *)"delete_VisualAttributes", (PyCFunction
)_wrap_delete_VisualAttributes
, METH_O
, NULL
},
58775 { (char *)"VisualAttributes_font_set", _wrap_VisualAttributes_font_set
, METH_VARARGS
, NULL
},
58776 { (char *)"VisualAttributes_font_get", (PyCFunction
)_wrap_VisualAttributes_font_get
, METH_O
, NULL
},
58777 { (char *)"VisualAttributes_colFg_set", _wrap_VisualAttributes_colFg_set
, METH_VARARGS
, NULL
},
58778 { (char *)"VisualAttributes_colFg_get", (PyCFunction
)_wrap_VisualAttributes_colFg_get
, METH_O
, NULL
},
58779 { (char *)"VisualAttributes_colBg_set", _wrap_VisualAttributes_colBg_set
, METH_VARARGS
, NULL
},
58780 { (char *)"VisualAttributes_colBg_get", (PyCFunction
)_wrap_VisualAttributes_colBg_get
, METH_O
, NULL
},
58781 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
58782 { (char *)"VisualAttributes_swiginit", VisualAttributes_swiginit
, METH_VARARGS
, NULL
},
58783 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58784 { (char *)"new_PreWindow", (PyCFunction
)_wrap_new_PreWindow
, METH_NOARGS
, NULL
},
58785 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58786 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58787 { (char *)"Window_Destroy", (PyCFunction
)_wrap_Window_Destroy
, METH_O
, NULL
},
58788 { (char *)"Window_DestroyChildren", (PyCFunction
)_wrap_Window_DestroyChildren
, METH_O
, NULL
},
58789 { (char *)"Window_IsBeingDeleted", (PyCFunction
)_wrap_Window_IsBeingDeleted
, METH_O
, NULL
},
58790 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58791 { (char *)"Window_GetLabel", (PyCFunction
)_wrap_Window_GetLabel
, METH_O
, NULL
},
58792 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58793 { (char *)"Window_GetName", (PyCFunction
)_wrap_Window_GetName
, METH_O
, NULL
},
58794 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58795 { (char *)"Window_GetWindowVariant", (PyCFunction
)_wrap_Window_GetWindowVariant
, METH_O
, NULL
},
58796 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58797 { (char *)"Window_GetId", (PyCFunction
)_wrap_Window_GetId
, METH_O
, NULL
},
58798 { (char *)"Window_NewControlId", (PyCFunction
)_wrap_Window_NewControlId
, METH_NOARGS
, NULL
},
58799 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58800 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58801 { (char *)"Window_GetLayoutDirection", (PyCFunction
)_wrap_Window_GetLayoutDirection
, METH_O
, NULL
},
58802 { (char *)"Window_SetLayoutDirection", (PyCFunction
) _wrap_Window_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58803 { (char *)"Window_AdjustForLayoutDirection", (PyCFunction
) _wrap_Window_AdjustForLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58804 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58805 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58806 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58807 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58808 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58809 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58810 { (char *)"Window_SetInitialSize", (PyCFunction
) _wrap_Window_SetInitialSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58811 { (char *)"Window_Raise", (PyCFunction
)_wrap_Window_Raise
, METH_O
, NULL
},
58812 { (char *)"Window_Lower", (PyCFunction
)_wrap_Window_Lower
, METH_O
, NULL
},
58813 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58814 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58815 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58816 { (char *)"Window_GetPosition", (PyCFunction
)_wrap_Window_GetPosition
, METH_O
, NULL
},
58817 { (char *)"Window_GetPositionTuple", (PyCFunction
)_wrap_Window_GetPositionTuple
, METH_O
, NULL
},
58818 { (char *)"Window_GetScreenPosition", (PyCFunction
)_wrap_Window_GetScreenPosition
, METH_O
, NULL
},
58819 { (char *)"Window_GetScreenPositionTuple", (PyCFunction
)_wrap_Window_GetScreenPositionTuple
, METH_O
, NULL
},
58820 { (char *)"Window_GetScreenRect", (PyCFunction
)_wrap_Window_GetScreenRect
, METH_O
, NULL
},
58821 { (char *)"Window_GetSize", (PyCFunction
)_wrap_Window_GetSize
, METH_O
, NULL
},
58822 { (char *)"Window_GetSizeTuple", (PyCFunction
)_wrap_Window_GetSizeTuple
, METH_O
, NULL
},
58823 { (char *)"Window_GetRect", (PyCFunction
)_wrap_Window_GetRect
, METH_O
, NULL
},
58824 { (char *)"Window_GetClientSize", (PyCFunction
)_wrap_Window_GetClientSize
, METH_O
, NULL
},
58825 { (char *)"Window_GetClientSizeTuple", (PyCFunction
)_wrap_Window_GetClientSizeTuple
, METH_O
, NULL
},
58826 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
)_wrap_Window_GetClientAreaOrigin
, METH_O
, NULL
},
58827 { (char *)"Window_GetClientRect", (PyCFunction
)_wrap_Window_GetClientRect
, METH_O
, NULL
},
58828 { (char *)"Window_GetBestSize", (PyCFunction
)_wrap_Window_GetBestSize
, METH_O
, NULL
},
58829 { (char *)"Window_GetBestSizeTuple", (PyCFunction
)_wrap_Window_GetBestSizeTuple
, METH_O
, NULL
},
58830 { (char *)"Window_InvalidateBestSize", (PyCFunction
)_wrap_Window_InvalidateBestSize
, METH_O
, NULL
},
58831 { (char *)"Window_CacheBestSize", (PyCFunction
) _wrap_Window_CacheBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58832 { (char *)"Window_GetEffectiveMinSize", (PyCFunction
)_wrap_Window_GetEffectiveMinSize
, METH_O
, NULL
},
58833 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58834 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58835 { (char *)"Window_Fit", (PyCFunction
)_wrap_Window_Fit
, METH_O
, NULL
},
58836 { (char *)"Window_FitInside", (PyCFunction
)_wrap_Window_FitInside
, METH_O
, NULL
},
58837 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58838 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58839 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58840 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58841 { (char *)"Window_GetMaxSize", (PyCFunction
)_wrap_Window_GetMaxSize
, METH_O
, NULL
},
58842 { (char *)"Window_GetMinSize", (PyCFunction
)_wrap_Window_GetMinSize
, METH_O
, NULL
},
58843 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58844 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58845 { (char *)"Window_GetMinWidth", (PyCFunction
)_wrap_Window_GetMinWidth
, METH_O
, NULL
},
58846 { (char *)"Window_GetMinHeight", (PyCFunction
)_wrap_Window_GetMinHeight
, METH_O
, NULL
},
58847 { (char *)"Window_GetMaxWidth", (PyCFunction
)_wrap_Window_GetMaxWidth
, METH_O
, NULL
},
58848 { (char *)"Window_GetMaxHeight", (PyCFunction
)_wrap_Window_GetMaxHeight
, METH_O
, NULL
},
58849 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58850 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58851 { (char *)"Window_GetVirtualSize", (PyCFunction
)_wrap_Window_GetVirtualSize
, METH_O
, NULL
},
58852 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
)_wrap_Window_GetVirtualSizeTuple
, METH_O
, NULL
},
58853 { (char *)"Window_GetWindowBorderSize", (PyCFunction
)_wrap_Window_GetWindowBorderSize
, METH_O
, NULL
},
58854 { (char *)"Window_GetBestVirtualSize", (PyCFunction
)_wrap_Window_GetBestVirtualSize
, METH_O
, NULL
},
58855 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58856 { (char *)"Window_Hide", (PyCFunction
)_wrap_Window_Hide
, METH_O
, NULL
},
58857 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58858 { (char *)"Window_Disable", (PyCFunction
)_wrap_Window_Disable
, METH_O
, NULL
},
58859 { (char *)"Window_IsShown", (PyCFunction
)_wrap_Window_IsShown
, METH_O
, NULL
},
58860 { (char *)"Window_IsEnabled", (PyCFunction
)_wrap_Window_IsEnabled
, METH_O
, NULL
},
58861 { (char *)"Window_IsThisEnabled", (PyCFunction
)_wrap_Window_IsThisEnabled
, METH_O
, NULL
},
58862 { (char *)"Window_IsShownOnScreen", (PyCFunction
)_wrap_Window_IsShownOnScreen
, METH_O
, NULL
},
58863 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58864 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
)_wrap_Window_GetWindowStyleFlag
, METH_O
, NULL
},
58865 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58866 { (char *)"Window_IsRetained", (PyCFunction
)_wrap_Window_IsRetained
, METH_O
, NULL
},
58867 { (char *)"Window_ToggleWindowStyle", (PyCFunction
) _wrap_Window_ToggleWindowStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58868 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58869 { (char *)"Window_GetExtraStyle", (PyCFunction
)_wrap_Window_GetExtraStyle
, METH_O
, NULL
},
58870 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58871 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58872 { (char *)"Window_GetThemeEnabled", (PyCFunction
)_wrap_Window_GetThemeEnabled
, METH_O
, NULL
},
58873 { (char *)"Window_SetFocus", (PyCFunction
)_wrap_Window_SetFocus
, METH_O
, NULL
},
58874 { (char *)"Window_SetFocusFromKbd", (PyCFunction
)_wrap_Window_SetFocusFromKbd
, METH_O
, NULL
},
58875 { (char *)"Window_FindFocus", (PyCFunction
)_wrap_Window_FindFocus
, METH_NOARGS
, NULL
},
58876 { (char *)"Window_AcceptsFocus", (PyCFunction
)_wrap_Window_AcceptsFocus
, METH_O
, NULL
},
58877 { (char *)"Window_CanAcceptFocus", (PyCFunction
)_wrap_Window_CanAcceptFocus
, METH_O
, NULL
},
58878 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
)_wrap_Window_AcceptsFocusFromKeyboard
, METH_O
, NULL
},
58879 { (char *)"Window_CanAcceptFocusFromKeyboard", (PyCFunction
)_wrap_Window_CanAcceptFocusFromKeyboard
, METH_O
, NULL
},
58880 { (char *)"Window_NavigateIn", (PyCFunction
) _wrap_Window_NavigateIn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58881 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58882 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58883 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58884 { (char *)"Window_GetChildren", (PyCFunction
)_wrap_Window_GetChildren
, METH_O
, NULL
},
58885 { (char *)"Window_GetParent", (PyCFunction
)_wrap_Window_GetParent
, METH_O
, NULL
},
58886 { (char *)"Window_GetGrandParent", (PyCFunction
)_wrap_Window_GetGrandParent
, METH_O
, NULL
},
58887 { (char *)"Window_GetTopLevelParent", (PyCFunction
)_wrap_Window_GetTopLevelParent
, METH_O
, NULL
},
58888 { (char *)"Window_IsTopLevel", (PyCFunction
)_wrap_Window_IsTopLevel
, METH_O
, NULL
},
58889 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58890 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58891 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58892 { (char *)"Window_SetDoubleBuffered", (PyCFunction
) _wrap_Window_SetDoubleBuffered
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58893 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58894 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58895 { (char *)"Window_GetEventHandler", (PyCFunction
)_wrap_Window_GetEventHandler
, METH_O
, NULL
},
58896 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58897 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58898 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58899 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58900 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58901 { (char *)"Window_GetValidator", (PyCFunction
)_wrap_Window_GetValidator
, METH_O
, NULL
},
58902 { (char *)"Window_Validate", (PyCFunction
)_wrap_Window_Validate
, METH_O
, NULL
},
58903 { (char *)"Window_TransferDataToWindow", (PyCFunction
)_wrap_Window_TransferDataToWindow
, METH_O
, NULL
},
58904 { (char *)"Window_TransferDataFromWindow", (PyCFunction
)_wrap_Window_TransferDataFromWindow
, METH_O
, NULL
},
58905 { (char *)"Window_InitDialog", (PyCFunction
)_wrap_Window_InitDialog
, METH_O
, NULL
},
58906 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58907 { (char *)"Window_GetAcceleratorTable", (PyCFunction
)_wrap_Window_GetAcceleratorTable
, METH_O
, NULL
},
58908 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58909 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58910 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58911 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58912 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58913 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58914 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58915 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58916 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58917 { (char *)"Window_CaptureMouse", (PyCFunction
)_wrap_Window_CaptureMouse
, METH_O
, NULL
},
58918 { (char *)"Window_ReleaseMouse", (PyCFunction
)_wrap_Window_ReleaseMouse
, METH_O
, NULL
},
58919 { (char *)"Window_GetCapture", (PyCFunction
)_wrap_Window_GetCapture
, METH_NOARGS
, NULL
},
58920 { (char *)"Window_HasCapture", (PyCFunction
)_wrap_Window_HasCapture
, METH_O
, NULL
},
58921 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58922 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58923 { (char *)"Window_Update", (PyCFunction
)_wrap_Window_Update
, METH_O
, NULL
},
58924 { (char *)"Window_ClearBackground", (PyCFunction
)_wrap_Window_ClearBackground
, METH_O
, NULL
},
58925 { (char *)"Window_Freeze", (PyCFunction
)_wrap_Window_Freeze
, METH_O
, NULL
},
58926 { (char *)"Window_IsFrozen", (PyCFunction
)_wrap_Window_IsFrozen
, METH_O
, NULL
},
58927 { (char *)"Window_Thaw", (PyCFunction
)_wrap_Window_Thaw
, METH_O
, NULL
},
58928 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58929 { (char *)"Window_IsDoubleBuffered", (PyCFunction
)_wrap_Window_IsDoubleBuffered
, METH_O
, NULL
},
58930 { (char *)"Window_GetUpdateRegion", (PyCFunction
)_wrap_Window_GetUpdateRegion
, METH_O
, NULL
},
58931 { (char *)"Window_GetUpdateClientRect", (PyCFunction
)_wrap_Window_GetUpdateClientRect
, METH_O
, NULL
},
58932 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58933 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58934 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58935 { (char *)"Window_GetDefaultAttributes", (PyCFunction
)_wrap_Window_GetDefaultAttributes
, METH_O
, NULL
},
58936 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58937 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58938 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58939 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58940 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58941 { (char *)"Window_GetBackgroundColour", (PyCFunction
)_wrap_Window_GetBackgroundColour
, METH_O
, NULL
},
58942 { (char *)"Window_GetForegroundColour", (PyCFunction
)_wrap_Window_GetForegroundColour
, METH_O
, NULL
},
58943 { (char *)"Window_InheritsBackgroundColour", (PyCFunction
)_wrap_Window_InheritsBackgroundColour
, METH_O
, NULL
},
58944 { (char *)"Window_UseBgCol", (PyCFunction
)_wrap_Window_UseBgCol
, METH_O
, NULL
},
58945 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58946 { (char *)"Window_GetBackgroundStyle", (PyCFunction
)_wrap_Window_GetBackgroundStyle
, METH_O
, NULL
},
58947 { (char *)"Window_HasTransparentBackground", (PyCFunction
)_wrap_Window_HasTransparentBackground
, METH_O
, NULL
},
58948 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58949 { (char *)"Window_GetCursor", (PyCFunction
)_wrap_Window_GetCursor
, METH_O
, NULL
},
58950 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58951 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58952 { (char *)"Window_GetFont", (PyCFunction
)_wrap_Window_GetFont
, METH_O
, NULL
},
58953 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58954 { (char *)"Window_GetCaret", (PyCFunction
)_wrap_Window_GetCaret
, METH_O
, NULL
},
58955 { (char *)"Window_GetCharHeight", (PyCFunction
)_wrap_Window_GetCharHeight
, METH_O
, NULL
},
58956 { (char *)"Window_GetCharWidth", (PyCFunction
)_wrap_Window_GetCharWidth
, METH_O
, NULL
},
58957 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58958 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58959 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58960 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58961 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58962 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58963 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58964 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58965 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
58966 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58967 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58968 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58969 { (char *)"Window_HasMultiplePages", (PyCFunction
)_wrap_Window_HasMultiplePages
, METH_O
, NULL
},
58970 { (char *)"Window_GetHandle", (PyCFunction
)_wrap_Window_GetHandle
, METH_O
, NULL
},
58971 { (char *)"Window_AssociateHandle", (PyCFunction
) _wrap_Window_AssociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58972 { (char *)"Window_DissociateHandle", (PyCFunction
)_wrap_Window_DissociateHandle
, METH_O
, NULL
},
58973 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58974 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58975 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58976 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58977 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58978 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58979 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58980 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58981 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58982 { (char *)"Window_LineUp", (PyCFunction
)_wrap_Window_LineUp
, METH_O
, NULL
},
58983 { (char *)"Window_LineDown", (PyCFunction
)_wrap_Window_LineDown
, METH_O
, NULL
},
58984 { (char *)"Window_PageUp", (PyCFunction
)_wrap_Window_PageUp
, METH_O
, NULL
},
58985 { (char *)"Window_PageDown", (PyCFunction
)_wrap_Window_PageDown
, METH_O
, NULL
},
58986 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58987 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58988 { (char *)"Window_GetHelpTextAtPoint", (PyCFunction
) _wrap_Window_GetHelpTextAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58989 { (char *)"Window_GetHelpText", (PyCFunction
)_wrap_Window_GetHelpText
, METH_O
, NULL
},
58990 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58991 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58992 { (char *)"Window_GetToolTip", (PyCFunction
)_wrap_Window_GetToolTip
, METH_O
, NULL
},
58993 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58994 { (char *)"Window_GetDropTarget", (PyCFunction
)_wrap_Window_GetDropTarget
, METH_O
, NULL
},
58995 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58996 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58997 { (char *)"Window_GetConstraints", (PyCFunction
)_wrap_Window_GetConstraints
, METH_O
, NULL
},
58998 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58999 { (char *)"Window_GetAutoLayout", (PyCFunction
)_wrap_Window_GetAutoLayout
, METH_O
, NULL
},
59000 { (char *)"Window_Layout", (PyCFunction
)_wrap_Window_Layout
, METH_O
, NULL
},
59001 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59002 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59003 { (char *)"Window_GetSizer", (PyCFunction
)_wrap_Window_GetSizer
, METH_O
, NULL
},
59004 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59005 { (char *)"Window_GetContainingSizer", (PyCFunction
)_wrap_Window_GetContainingSizer
, METH_O
, NULL
},
59006 { (char *)"Window_InheritAttributes", (PyCFunction
)_wrap_Window_InheritAttributes
, METH_O
, NULL
},
59007 { (char *)"Window_ShouldInheritColours", (PyCFunction
)_wrap_Window_ShouldInheritColours
, METH_O
, NULL
},
59008 { (char *)"Window_CanSetTransparent", (PyCFunction
)_wrap_Window_CanSetTransparent
, METH_O
, NULL
},
59009 { (char *)"Window_SetTransparent", (PyCFunction
) _wrap_Window_SetTransparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59010 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
59011 { (char *)"Window_swiginit", Window_swiginit
, METH_VARARGS
, NULL
},
59012 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59013 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59014 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59015 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59016 { (char *)"GetTopLevelWindows", (PyCFunction
)_wrap_GetTopLevelWindows
, METH_NOARGS
, NULL
},
59017 { (char *)"new_Validator", (PyCFunction
)_wrap_new_Validator
, METH_NOARGS
, NULL
},
59018 { (char *)"Validator_Clone", (PyCFunction
)_wrap_Validator_Clone
, METH_O
, NULL
},
59019 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59020 { (char *)"Validator_TransferToWindow", (PyCFunction
)_wrap_Validator_TransferToWindow
, METH_O
, NULL
},
59021 { (char *)"Validator_TransferFromWindow", (PyCFunction
)_wrap_Validator_TransferFromWindow
, METH_O
, NULL
},
59022 { (char *)"Validator_GetWindow", (PyCFunction
)_wrap_Validator_GetWindow
, METH_O
, NULL
},
59023 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59024 { (char *)"Validator_IsSilent", (PyCFunction
)_wrap_Validator_IsSilent
, METH_NOARGS
, NULL
},
59025 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59026 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
59027 { (char *)"Validator_swiginit", Validator_swiginit
, METH_VARARGS
, NULL
},
59028 { (char *)"new_PyValidator", (PyCFunction
)_wrap_new_PyValidator
, METH_NOARGS
, NULL
},
59029 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59030 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
59031 { (char *)"PyValidator_swiginit", PyValidator_swiginit
, METH_VARARGS
, NULL
},
59032 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59033 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59034 { (char *)"Menu_AppendSeparator", (PyCFunction
)_wrap_Menu_AppendSeparator
, METH_O
, NULL
},
59035 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59036 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59037 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59038 { (char *)"Menu_AppendSubMenu", (PyCFunction
) _wrap_Menu_AppendSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59039 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59040 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59041 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59042 { (char *)"Menu_Break", (PyCFunction
)_wrap_Menu_Break
, METH_O
, NULL
},
59043 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59044 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59045 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59046 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59047 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59048 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59049 { (char *)"Menu_PrependSeparator", (PyCFunction
)_wrap_Menu_PrependSeparator
, METH_O
, NULL
},
59050 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59051 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59052 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59053 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59054 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59055 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59056 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59057 { (char *)"Menu_Destroy", (PyCFunction
)_wrap_Menu_Destroy
, METH_O
, NULL
},
59058 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59059 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59060 { (char *)"Menu_GetMenuItemCount", (PyCFunction
)_wrap_Menu_GetMenuItemCount
, METH_O
, NULL
},
59061 { (char *)"Menu_GetMenuItems", (PyCFunction
)_wrap_Menu_GetMenuItems
, METH_O
, NULL
},
59062 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59063 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59064 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59065 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59066 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59067 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59068 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59069 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59070 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59071 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59072 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59073 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59074 { (char *)"Menu_GetTitle", (PyCFunction
)_wrap_Menu_GetTitle
, METH_O
, NULL
},
59075 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59076 { (char *)"Menu_GetEventHandler", (PyCFunction
)_wrap_Menu_GetEventHandler
, METH_O
, NULL
},
59077 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59078 { (char *)"Menu_GetInvokingWindow", (PyCFunction
)_wrap_Menu_GetInvokingWindow
, METH_O
, NULL
},
59079 { (char *)"Menu_GetStyle", (PyCFunction
)_wrap_Menu_GetStyle
, METH_O
, NULL
},
59080 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59081 { (char *)"Menu_GetMenuBar", (PyCFunction
)_wrap_Menu_GetMenuBar
, METH_O
, NULL
},
59082 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59083 { (char *)"Menu_Detach", (PyCFunction
)_wrap_Menu_Detach
, METH_O
, NULL
},
59084 { (char *)"Menu_IsAttached", (PyCFunction
)_wrap_Menu_IsAttached
, METH_O
, NULL
},
59085 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59086 { (char *)"Menu_GetParent", (PyCFunction
)_wrap_Menu_GetParent
, METH_O
, NULL
},
59087 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
59088 { (char *)"Menu_swiginit", Menu_swiginit
, METH_VARARGS
, NULL
},
59089 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59090 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59091 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59092 { (char *)"MenuBar_GetMenuCount", (PyCFunction
)_wrap_MenuBar_GetMenuCount
, METH_O
, NULL
},
59093 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59094 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59095 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59096 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59097 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59098 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59099 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59100 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59101 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59102 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59103 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59104 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59105 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59106 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59107 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59108 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59109 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59110 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59111 { (char *)"MenuBar_GetFrame", (PyCFunction
)_wrap_MenuBar_GetFrame
, METH_O
, NULL
},
59112 { (char *)"MenuBar_IsAttached", (PyCFunction
)_wrap_MenuBar_IsAttached
, METH_O
, NULL
},
59113 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59114 { (char *)"MenuBar_Detach", (PyCFunction
)_wrap_MenuBar_Detach
, METH_O
, NULL
},
59115 { (char *)"MenuBar_UpdateMenus", (PyCFunction
)_wrap_MenuBar_UpdateMenus
, METH_O
, NULL
},
59116 { (char *)"MenuBar_SetAutoWindowMenu", (PyCFunction
) _wrap_MenuBar_SetAutoWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59117 { (char *)"MenuBar_GetAutoWindowMenu", (PyCFunction
)_wrap_MenuBar_GetAutoWindowMenu
, METH_NOARGS
, NULL
},
59118 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
59119 { (char *)"MenuBar_swiginit", MenuBar_swiginit
, METH_VARARGS
, NULL
},
59120 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59121 { (char *)"delete_MenuItem", (PyCFunction
)_wrap_delete_MenuItem
, METH_O
, NULL
},
59122 { (char *)"MenuItem_GetMenu", (PyCFunction
)_wrap_MenuItem_GetMenu
, METH_O
, NULL
},
59123 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59124 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59125 { (char *)"MenuItem_GetId", (PyCFunction
)_wrap_MenuItem_GetId
, METH_O
, NULL
},
59126 { (char *)"MenuItem_IsSeparator", (PyCFunction
)_wrap_MenuItem_IsSeparator
, METH_O
, NULL
},
59127 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59128 { (char *)"MenuItem_GetLabel", (PyCFunction
)_wrap_MenuItem_GetLabel
, METH_O
, NULL
},
59129 { (char *)"MenuItem_GetText", (PyCFunction
)_wrap_MenuItem_GetText
, METH_O
, NULL
},
59130 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59131 { (char *)"MenuItem_GetKind", (PyCFunction
)_wrap_MenuItem_GetKind
, METH_O
, NULL
},
59132 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59133 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59134 { (char *)"MenuItem_IsCheckable", (PyCFunction
)_wrap_MenuItem_IsCheckable
, METH_O
, NULL
},
59135 { (char *)"MenuItem_IsSubMenu", (PyCFunction
)_wrap_MenuItem_IsSubMenu
, METH_O
, NULL
},
59136 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59137 { (char *)"MenuItem_GetSubMenu", (PyCFunction
)_wrap_MenuItem_GetSubMenu
, METH_O
, NULL
},
59138 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59139 { (char *)"MenuItem_IsEnabled", (PyCFunction
)_wrap_MenuItem_IsEnabled
, METH_O
, NULL
},
59140 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59141 { (char *)"MenuItem_IsChecked", (PyCFunction
)_wrap_MenuItem_IsChecked
, METH_O
, NULL
},
59142 { (char *)"MenuItem_Toggle", (PyCFunction
)_wrap_MenuItem_Toggle
, METH_O
, NULL
},
59143 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59144 { (char *)"MenuItem_GetHelp", (PyCFunction
)_wrap_MenuItem_GetHelp
, METH_O
, NULL
},
59145 { (char *)"MenuItem_GetAccel", (PyCFunction
)_wrap_MenuItem_GetAccel
, METH_O
, NULL
},
59146 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59147 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59148 { (char *)"MenuItem_GetBitmap", (PyCFunction
)_wrap_MenuItem_GetBitmap
, METH_O
, NULL
},
59149 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59150 { (char *)"MenuItem_GetFont", (PyCFunction
)_wrap_MenuItem_GetFont
, METH_O
, NULL
},
59151 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59152 { (char *)"MenuItem_GetTextColour", (PyCFunction
)_wrap_MenuItem_GetTextColour
, METH_O
, NULL
},
59153 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59154 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
)_wrap_MenuItem_GetBackgroundColour
, METH_O
, NULL
},
59155 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59156 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59157 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
)_wrap_MenuItem_GetDisabledBitmap
, METH_O
, NULL
},
59158 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59159 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
)_wrap_MenuItem_GetMarginWidth
, METH_O
, NULL
},
59160 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
)_wrap_MenuItem_GetDefaultMarginWidth
, METH_NOARGS
, NULL
},
59161 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
)_wrap_MenuItem_IsOwnerDrawn
, METH_O
, NULL
},
59162 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59163 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
)_wrap_MenuItem_ResetOwnerDrawn
, METH_O
, NULL
},
59164 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
59165 { (char *)"MenuItem_swiginit", MenuItem_swiginit
, METH_VARARGS
, NULL
},
59166 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59167 { (char *)"new_PreControl", (PyCFunction
)_wrap_new_PreControl
, METH_NOARGS
, NULL
},
59168 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59169 { (char *)"Control_GetAlignment", (PyCFunction
)_wrap_Control_GetAlignment
, METH_O
, NULL
},
59170 { (char *)"Control_GetLabelText", (PyCFunction
)_wrap_Control_GetLabelText
, METH_O
, NULL
},
59171 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59172 { (char *)"Control_RemoveMnemonics", (PyCFunction
) _wrap_Control_RemoveMnemonics
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59173 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59174 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
59175 { (char *)"Control_swiginit", Control_swiginit
, METH_VARARGS
, NULL
},
59176 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59177 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59178 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59179 { (char *)"ItemContainer_Clear", (PyCFunction
)_wrap_ItemContainer_Clear
, METH_O
, NULL
},
59180 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59181 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59182 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59183 { (char *)"ItemContainer_GetCount", (PyCFunction
)_wrap_ItemContainer_GetCount
, METH_O
, NULL
},
59184 { (char *)"ItemContainer_IsEmpty", (PyCFunction
)_wrap_ItemContainer_IsEmpty
, METH_O
, NULL
},
59185 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59186 { (char *)"ItemContainer_GetStrings", (PyCFunction
)_wrap_ItemContainer_GetStrings
, METH_O
, NULL
},
59187 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59188 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59189 { (char *)"ItemContainer_SetSelection", (PyCFunction
) _wrap_ItemContainer_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59190 { (char *)"ItemContainer_GetSelection", (PyCFunction
)_wrap_ItemContainer_GetSelection
, METH_O
, NULL
},
59191 { (char *)"ItemContainer_SetStringSelection", (PyCFunction
) _wrap_ItemContainer_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59192 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
)_wrap_ItemContainer_GetStringSelection
, METH_O
, NULL
},
59193 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59194 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
59195 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
59196 { (char *)"new_SizerFlags", (PyCFunction
) _wrap_new_SizerFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59197 { (char *)"delete_SizerFlags", (PyCFunction
)_wrap_delete_SizerFlags
, METH_O
, NULL
},
59198 { (char *)"SizerFlags_Proportion", (PyCFunction
) _wrap_SizerFlags_Proportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59199 { (char *)"SizerFlags_Align", (PyCFunction
) _wrap_SizerFlags_Align
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59200 { (char *)"SizerFlags_Expand", (PyCFunction
)_wrap_SizerFlags_Expand
, METH_O
, NULL
},
59201 { (char *)"SizerFlags_Centre", (PyCFunction
)_wrap_SizerFlags_Centre
, METH_O
, NULL
},
59202 { (char *)"SizerFlags_Center", (PyCFunction
)_wrap_SizerFlags_Center
, METH_O
, NULL
},
59203 { (char *)"SizerFlags_Left", (PyCFunction
)_wrap_SizerFlags_Left
, METH_O
, NULL
},
59204 { (char *)"SizerFlags_Right", (PyCFunction
)_wrap_SizerFlags_Right
, METH_O
, NULL
},
59205 { (char *)"SizerFlags_Top", (PyCFunction
)_wrap_SizerFlags_Top
, METH_O
, NULL
},
59206 { (char *)"SizerFlags_Bottom", (PyCFunction
)_wrap_SizerFlags_Bottom
, METH_O
, NULL
},
59207 { (char *)"SizerFlags_Shaped", (PyCFunction
)_wrap_SizerFlags_Shaped
, METH_O
, NULL
},
59208 { (char *)"SizerFlags_FixedMinSize", (PyCFunction
)_wrap_SizerFlags_FixedMinSize
, METH_O
, NULL
},
59209 { (char *)"SizerFlags_Border", (PyCFunction
) _wrap_SizerFlags_Border
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59210 { (char *)"SizerFlags_DoubleBorder", (PyCFunction
) _wrap_SizerFlags_DoubleBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59211 { (char *)"SizerFlags_TripleBorder", (PyCFunction
) _wrap_SizerFlags_TripleBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59212 { (char *)"SizerFlags_HorzBorder", (PyCFunction
)_wrap_SizerFlags_HorzBorder
, METH_O
, NULL
},
59213 { (char *)"SizerFlags_DoubleHorzBorder", (PyCFunction
)_wrap_SizerFlags_DoubleHorzBorder
, METH_O
, NULL
},
59214 { (char *)"SizerFlags_GetDefaultBorder", (PyCFunction
)_wrap_SizerFlags_GetDefaultBorder
, METH_NOARGS
, NULL
},
59215 { (char *)"SizerFlags_GetProportion", (PyCFunction
)_wrap_SizerFlags_GetProportion
, METH_O
, NULL
},
59216 { (char *)"SizerFlags_GetFlags", (PyCFunction
)_wrap_SizerFlags_GetFlags
, METH_O
, NULL
},
59217 { (char *)"SizerFlags_GetBorderInPixels", (PyCFunction
)_wrap_SizerFlags_GetBorderInPixels
, METH_O
, NULL
},
59218 { (char *)"SizerFlags_swigregister", SizerFlags_swigregister
, METH_VARARGS
, NULL
},
59219 { (char *)"SizerFlags_swiginit", SizerFlags_swiginit
, METH_VARARGS
, NULL
},
59220 { (char *)"new_SizerItem", (PyCFunction
)_wrap_new_SizerItem
, METH_NOARGS
, NULL
},
59221 { (char *)"delete_SizerItem", (PyCFunction
)_wrap_delete_SizerItem
, METH_O
, NULL
},
59222 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59223 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59224 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59225 { (char *)"SizerItem_DeleteWindows", (PyCFunction
)_wrap_SizerItem_DeleteWindows
, METH_O
, NULL
},
59226 { (char *)"SizerItem_DetachSizer", (PyCFunction
)_wrap_SizerItem_DetachSizer
, METH_O
, NULL
},
59227 { (char *)"SizerItem_GetSize", (PyCFunction
)_wrap_SizerItem_GetSize
, METH_O
, NULL
},
59228 { (char *)"SizerItem_CalcMin", (PyCFunction
)_wrap_SizerItem_CalcMin
, METH_O
, NULL
},
59229 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59230 { (char *)"SizerItem_GetMinSize", (PyCFunction
)_wrap_SizerItem_GetMinSize
, METH_O
, NULL
},
59231 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
)_wrap_SizerItem_GetMinSizeWithBorder
, METH_O
, NULL
},
59232 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59233 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59234 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59235 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59236 { (char *)"SizerItem_GetRatio", (PyCFunction
)_wrap_SizerItem_GetRatio
, METH_O
, NULL
},
59237 { (char *)"SizerItem_GetRect", (PyCFunction
)_wrap_SizerItem_GetRect
, METH_O
, NULL
},
59238 { (char *)"SizerItem_IsWindow", (PyCFunction
)_wrap_SizerItem_IsWindow
, METH_O
, NULL
},
59239 { (char *)"SizerItem_IsSizer", (PyCFunction
)_wrap_SizerItem_IsSizer
, METH_O
, NULL
},
59240 { (char *)"SizerItem_IsSpacer", (PyCFunction
)_wrap_SizerItem_IsSpacer
, METH_O
, NULL
},
59241 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59242 { (char *)"SizerItem_GetProportion", (PyCFunction
)_wrap_SizerItem_GetProportion
, METH_O
, NULL
},
59243 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59244 { (char *)"SizerItem_GetFlag", (PyCFunction
)_wrap_SizerItem_GetFlag
, METH_O
, NULL
},
59245 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59246 { (char *)"SizerItem_GetBorder", (PyCFunction
)_wrap_SizerItem_GetBorder
, METH_O
, NULL
},
59247 { (char *)"SizerItem_GetWindow", (PyCFunction
)_wrap_SizerItem_GetWindow
, METH_O
, NULL
},
59248 { (char *)"SizerItem_GetSizer", (PyCFunction
)_wrap_SizerItem_GetSizer
, METH_O
, NULL
},
59249 { (char *)"SizerItem_GetSpacer", (PyCFunction
)_wrap_SizerItem_GetSpacer
, METH_O
, NULL
},
59250 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59251 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59252 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59253 { (char *)"SizerItem_AssignWindow", (PyCFunction
) _wrap_SizerItem_AssignWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59254 { (char *)"SizerItem_AssignSizer", (PyCFunction
) _wrap_SizerItem_AssignSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59255 { (char *)"SizerItem_AssignSpacer", (PyCFunction
) _wrap_SizerItem_AssignSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59256 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59257 { (char *)"SizerItem_IsShown", (PyCFunction
)_wrap_SizerItem_IsShown
, METH_O
, NULL
},
59258 { (char *)"SizerItem_GetPosition", (PyCFunction
)_wrap_SizerItem_GetPosition
, METH_O
, NULL
},
59259 { (char *)"SizerItem_GetUserData", (PyCFunction
)_wrap_SizerItem_GetUserData
, METH_O
, NULL
},
59260 { (char *)"SizerItem_SetUserData", (PyCFunction
) _wrap_SizerItem_SetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59261 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
59262 { (char *)"SizerItem_swiginit", SizerItem_swiginit
, METH_VARARGS
, NULL
},
59263 { (char *)"delete_Sizer", (PyCFunction
)_wrap_delete_Sizer
, METH_O
, NULL
},
59264 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59265 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59266 { (char *)"Sizer_AddF", (PyCFunction
) _wrap_Sizer_AddF
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59267 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59268 { (char *)"Sizer_InsertF", (PyCFunction
) _wrap_Sizer_InsertF
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59269 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59270 { (char *)"Sizer_PrependF", (PyCFunction
) _wrap_Sizer_PrependF
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59271 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59272 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59273 { (char *)"Sizer_GetItem", (PyCFunction
) _wrap_Sizer_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59274 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59275 { (char *)"Sizer__ReplaceWin", (PyCFunction
) _wrap_Sizer__ReplaceWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59276 { (char *)"Sizer__ReplaceSizer", (PyCFunction
) _wrap_Sizer__ReplaceSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59277 { (char *)"Sizer__ReplaceItem", (PyCFunction
) _wrap_Sizer__ReplaceItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59278 { (char *)"Sizer_SetContainingWindow", (PyCFunction
) _wrap_Sizer_SetContainingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59279 { (char *)"Sizer_GetContainingWindow", (PyCFunction
)_wrap_Sizer_GetContainingWindow
, METH_O
, NULL
},
59280 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59281 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59282 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59283 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59284 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59285 { (char *)"Sizer_GetSize", (PyCFunction
)_wrap_Sizer_GetSize
, METH_O
, NULL
},
59286 { (char *)"Sizer_GetPosition", (PyCFunction
)_wrap_Sizer_GetPosition
, METH_O
, NULL
},
59287 { (char *)"Sizer_GetMinSize", (PyCFunction
)_wrap_Sizer_GetMinSize
, METH_O
, NULL
},
59288 { (char *)"Sizer_RecalcSizes", (PyCFunction
)_wrap_Sizer_RecalcSizes
, METH_O
, NULL
},
59289 { (char *)"Sizer_CalcMin", (PyCFunction
)_wrap_Sizer_CalcMin
, METH_O
, NULL
},
59290 { (char *)"Sizer_Layout", (PyCFunction
)_wrap_Sizer_Layout
, METH_O
, NULL
},
59291 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59292 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59293 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59294 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59295 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59296 { (char *)"Sizer_DeleteWindows", (PyCFunction
)_wrap_Sizer_DeleteWindows
, METH_O
, NULL
},
59297 { (char *)"Sizer_GetChildren", (PyCFunction
)_wrap_Sizer_GetChildren
, METH_O
, NULL
},
59298 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59299 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59300 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59301 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
59302 { (char *)"new_PySizer", (PyCFunction
)_wrap_new_PySizer
, METH_NOARGS
, NULL
},
59303 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59304 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
59305 { (char *)"PySizer_swiginit", PySizer_swiginit
, METH_VARARGS
, NULL
},
59306 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59307 { (char *)"BoxSizer_GetOrientation", (PyCFunction
)_wrap_BoxSizer_GetOrientation
, METH_O
, NULL
},
59308 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59309 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
59310 { (char *)"BoxSizer_swiginit", BoxSizer_swiginit
, METH_VARARGS
, NULL
},
59311 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59312 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
)_wrap_StaticBoxSizer_GetStaticBox
, METH_O
, NULL
},
59313 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
59314 { (char *)"StaticBoxSizer_swiginit", StaticBoxSizer_swiginit
, METH_VARARGS
, NULL
},
59315 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59316 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59317 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59318 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59319 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59320 { (char *)"GridSizer_GetCols", (PyCFunction
)_wrap_GridSizer_GetCols
, METH_O
, NULL
},
59321 { (char *)"GridSizer_GetRows", (PyCFunction
)_wrap_GridSizer_GetRows
, METH_O
, NULL
},
59322 { (char *)"GridSizer_GetVGap", (PyCFunction
)_wrap_GridSizer_GetVGap
, METH_O
, NULL
},
59323 { (char *)"GridSizer_GetHGap", (PyCFunction
)_wrap_GridSizer_GetHGap
, METH_O
, NULL
},
59324 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
59325 { (char *)"GridSizer_swiginit", GridSizer_swiginit
, METH_VARARGS
, NULL
},
59326 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59327 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59328 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59329 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59330 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59331 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59332 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
)_wrap_FlexGridSizer_GetFlexibleDirection
, METH_O
, NULL
},
59333 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59334 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
)_wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_O
, NULL
},
59335 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
)_wrap_FlexGridSizer_GetRowHeights
, METH_O
, NULL
},
59336 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
)_wrap_FlexGridSizer_GetColWidths
, METH_O
, NULL
},
59337 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
59338 { (char *)"FlexGridSizer_swiginit", FlexGridSizer_swiginit
, METH_VARARGS
, NULL
},
59339 { (char *)"new_StdDialogButtonSizer", (PyCFunction
)_wrap_new_StdDialogButtonSizer
, METH_NOARGS
, NULL
},
59340 { (char *)"StdDialogButtonSizer_AddButton", (PyCFunction
) _wrap_StdDialogButtonSizer_AddButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59341 { (char *)"StdDialogButtonSizer_Realize", (PyCFunction
)_wrap_StdDialogButtonSizer_Realize
, METH_O
, NULL
},
59342 { (char *)"StdDialogButtonSizer_SetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59343 { (char *)"StdDialogButtonSizer_SetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59344 { (char *)"StdDialogButtonSizer_SetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59345 { (char *)"StdDialogButtonSizer_GetAffirmativeButton", (PyCFunction
)_wrap_StdDialogButtonSizer_GetAffirmativeButton
, METH_O
, NULL
},
59346 { (char *)"StdDialogButtonSizer_GetApplyButton", (PyCFunction
)_wrap_StdDialogButtonSizer_GetApplyButton
, METH_O
, NULL
},
59347 { (char *)"StdDialogButtonSizer_GetNegativeButton", (PyCFunction
)_wrap_StdDialogButtonSizer_GetNegativeButton
, METH_O
, NULL
},
59348 { (char *)"StdDialogButtonSizer_GetCancelButton", (PyCFunction
)_wrap_StdDialogButtonSizer_GetCancelButton
, METH_O
, NULL
},
59349 { (char *)"StdDialogButtonSizer_GetHelpButton", (PyCFunction
)_wrap_StdDialogButtonSizer_GetHelpButton
, METH_O
, NULL
},
59350 { (char *)"StdDialogButtonSizer_swigregister", StdDialogButtonSizer_swigregister
, METH_VARARGS
, NULL
},
59351 { (char *)"StdDialogButtonSizer_swiginit", StdDialogButtonSizer_swiginit
, METH_VARARGS
, NULL
},
59352 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59353 { (char *)"delete_GBPosition", (PyCFunction
)_wrap_delete_GBPosition
, METH_O
, NULL
},
59354 { (char *)"GBPosition_GetRow", (PyCFunction
)_wrap_GBPosition_GetRow
, METH_O
, NULL
},
59355 { (char *)"GBPosition_GetCol", (PyCFunction
)_wrap_GBPosition_GetCol
, METH_O
, NULL
},
59356 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59357 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59358 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59359 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59360 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59361 { (char *)"GBPosition_Get", (PyCFunction
)_wrap_GBPosition_Get
, METH_O
, NULL
},
59362 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
59363 { (char *)"GBPosition_swiginit", GBPosition_swiginit
, METH_VARARGS
, NULL
},
59364 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59365 { (char *)"delete_GBSpan", (PyCFunction
)_wrap_delete_GBSpan
, METH_O
, NULL
},
59366 { (char *)"GBSpan_GetRowspan", (PyCFunction
)_wrap_GBSpan_GetRowspan
, METH_O
, NULL
},
59367 { (char *)"GBSpan_GetColspan", (PyCFunction
)_wrap_GBSpan_GetColspan
, METH_O
, NULL
},
59368 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59369 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59370 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59371 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59372 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59373 { (char *)"GBSpan_Get", (PyCFunction
)_wrap_GBSpan_Get
, METH_O
, NULL
},
59374 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
59375 { (char *)"GBSpan_swiginit", GBSpan_swiginit
, METH_VARARGS
, NULL
},
59376 { (char *)"new_GBSizerItem", (PyCFunction
)_wrap_new_GBSizerItem
, METH_NOARGS
, NULL
},
59377 { (char *)"delete_GBSizerItem", (PyCFunction
)_wrap_delete_GBSizerItem
, METH_O
, NULL
},
59378 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59379 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59380 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59381 { (char *)"GBSizerItem_GetPos", (PyCFunction
)_wrap_GBSizerItem_GetPos
, METH_O
, NULL
},
59382 { (char *)"GBSizerItem_GetSpan", (PyCFunction
)_wrap_GBSizerItem_GetSpan
, METH_O
, NULL
},
59383 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59384 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59385 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59386 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59387 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
)_wrap_GBSizerItem_GetEndPos
, METH_O
, NULL
},
59388 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
)_wrap_GBSizerItem_GetGBSizer
, METH_O
, NULL
},
59389 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59390 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
59391 { (char *)"GBSizerItem_swiginit", GBSizerItem_swiginit
, METH_VARARGS
, NULL
},
59392 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59393 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59394 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59395 { (char *)"GridBagSizer_GetCellSize", (PyCFunction
) _wrap_GridBagSizer_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59396 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
)_wrap_GridBagSizer_GetEmptyCellSize
, METH_O
, NULL
},
59397 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59398 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
59399 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
59400 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
59401 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
59402 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
59403 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59404 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59405 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59406 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59407 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
59408 { (char *)"GridBagSizer_swiginit", GridBagSizer_swiginit
, METH_VARARGS
, NULL
},
59409 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59410 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59411 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59412 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59413 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59414 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59415 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59416 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59417 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
)_wrap_IndividualLayoutConstraint_Unconstrained
, METH_O
, NULL
},
59418 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
)_wrap_IndividualLayoutConstraint_AsIs
, METH_O
, NULL
},
59419 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_O
, NULL
},
59420 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetMyEdge
, METH_O
, NULL
},
59421 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59422 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59423 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetMargin
, METH_O
, NULL
},
59424 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59425 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetValue
, METH_O
, NULL
},
59426 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetPercent
, METH_O
, NULL
},
59427 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_O
, NULL
},
59428 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetDone
, METH_O
, NULL
},
59429 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59430 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetRelationship
, METH_O
, NULL
},
59431 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59432 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59433 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59434 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59435 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
59436 { (char *)"LayoutConstraints_left_get", (PyCFunction
)_wrap_LayoutConstraints_left_get
, METH_O
, NULL
},
59437 { (char *)"LayoutConstraints_top_get", (PyCFunction
)_wrap_LayoutConstraints_top_get
, METH_O
, NULL
},
59438 { (char *)"LayoutConstraints_right_get", (PyCFunction
)_wrap_LayoutConstraints_right_get
, METH_O
, NULL
},
59439 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
)_wrap_LayoutConstraints_bottom_get
, METH_O
, NULL
},
59440 { (char *)"LayoutConstraints_width_get", (PyCFunction
)_wrap_LayoutConstraints_width_get
, METH_O
, NULL
},
59441 { (char *)"LayoutConstraints_height_get", (PyCFunction
)_wrap_LayoutConstraints_height_get
, METH_O
, NULL
},
59442 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
)_wrap_LayoutConstraints_centreX_get
, METH_O
, NULL
},
59443 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
)_wrap_LayoutConstraints_centreY_get
, METH_O
, NULL
},
59444 { (char *)"new_LayoutConstraints", (PyCFunction
)_wrap_new_LayoutConstraints
, METH_NOARGS
, NULL
},
59445 { (char *)"delete_LayoutConstraints", (PyCFunction
)_wrap_delete_LayoutConstraints
, METH_O
, NULL
},
59446 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
59447 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
)_wrap_LayoutConstraints_AreSatisfied
, METH_O
, NULL
},
59448 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
59449 { (char *)"LayoutConstraints_swiginit", LayoutConstraints_swiginit
, METH_VARARGS
, NULL
},
59450 { NULL
, NULL
, 0, NULL
}
59454 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
59456 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
59457 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
59459 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
59460 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
59462 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
59463 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
59465 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
59466 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
59468 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
59469 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
59471 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
59472 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
59474 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
59475 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
59477 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
59478 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
59480 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
59481 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
59483 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
59484 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
59486 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
59487 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
59489 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
59490 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
59492 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
59493 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
59495 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
59496 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
59498 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
59499 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
59501 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
59502 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
59504 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
59505 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
59507 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
59508 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
59510 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
59511 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
59513 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
59514 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
59516 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
59517 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
59519 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
59520 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
59522 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
59523 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
59525 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
59526 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
59528 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
59529 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
59531 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
59532 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
59534 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
59535 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
59537 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
59538 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
59540 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
59541 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
59543 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
59544 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
59546 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
59547 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
59549 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
59550 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
59552 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
59553 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
59555 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
59556 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
59558 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
59559 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
59561 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
59562 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
59564 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
59565 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
59567 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
59568 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
59570 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
59571 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
59573 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
59574 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
59576 static void *_p_wxEventBlockerTo_p_wxObject(void *x
) {
59577 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxEventBlocker
*) x
));
59579 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
59580 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
59582 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
59583 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
59585 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
59586 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
59588 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
59589 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
59591 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
59592 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
59594 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
59595 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
59597 static void *_p_wxSizerTo_p_wxObject(void *x
) {
59598 return (void *)((wxObject
*) ((wxSizer
*) x
));
59600 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
59601 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
59603 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
59604 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
59606 static void *_p_wxEventTo_p_wxObject(void *x
) {
59607 return (void *)((wxObject
*) ((wxEvent
*) x
));
59609 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
59610 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
59612 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
59613 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
59615 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
59616 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
59618 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
59619 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
59621 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
59622 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
59624 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
59625 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
59627 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
59628 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
59630 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
59631 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
59633 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
59634 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
59636 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
59637 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
59639 static void *_p_wxControlTo_p_wxObject(void *x
) {
59640 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
59642 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
59643 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
59645 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
59646 return (void *)((wxObject
*) ((wxFSFile
*) x
));
59648 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
59649 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
59651 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
59652 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
59654 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
59655 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
59657 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
59658 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
59660 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
59661 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
59663 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
59664 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
59666 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
59667 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
59669 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
59670 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
59672 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
59673 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
59675 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
59676 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
59678 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
59679 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
59681 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
59682 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
59684 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
59685 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
59687 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
59688 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
59690 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
59691 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
59693 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
59694 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
59696 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
59697 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
59699 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
59700 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
59702 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
59703 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
59705 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
59706 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
59708 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
59709 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
59711 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
59712 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
59714 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
59715 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
59717 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
59718 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
59720 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
59721 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
59723 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
59724 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
59726 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
59727 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
59729 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
59730 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
59732 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
59733 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
59735 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
59736 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
59738 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
59739 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
59741 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
59742 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
59744 static void *_p_wxImageTo_p_wxObject(void *x
) {
59745 return (void *)((wxObject
*) ((wxImage
*) x
));
59747 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
59748 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
59750 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
59751 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
59753 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
59754 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
59756 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
59757 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
59759 static void *_p_wxWindowTo_p_wxObject(void *x
) {
59760 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
59762 static void *_p_wxMenuTo_p_wxObject(void *x
) {
59763 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
59765 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
59766 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
59768 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
59769 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
59771 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
59772 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
59774 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
59775 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
59777 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
59778 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
59780 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
59781 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
59783 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
59784 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
59786 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
59787 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
59789 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
59790 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
59792 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
59793 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
59795 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
59796 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
59798 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
59799 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
59801 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
59802 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
59804 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
59805 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
59807 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
59808 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
59810 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
59811 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
59813 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
59814 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
59816 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
59817 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
59819 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
59820 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
59822 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
59823 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
59825 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
59826 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
59828 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
59829 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
59831 static void *_p_wxStdDialogButtonSizerTo_p_wxBoxSizer(void *x
) {
59832 return (void *)((wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
59834 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
59835 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
59837 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
59838 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
59840 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
59841 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
59843 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
59844 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
59846 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
59847 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
59849 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
59850 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
59852 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
59853 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
59855 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
59856 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
59858 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
59859 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
59861 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
59862 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
59864 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
59865 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
59867 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
59868 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
59870 static void *_p_wxPyImageHandlerTo_p_wxImageHandler(void *x
) {
59871 return (void *)((wxImageHandler
*) ((wxPyImageHandler
*) x
));
59873 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
59874 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
59876 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
59877 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
59879 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
59880 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
59882 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
59883 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
59885 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
59886 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
59888 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
59889 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
59891 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
59892 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
59894 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
59895 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
59897 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
59898 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
59900 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
59901 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
59903 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
59904 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
59906 static void *_p_wxTGAHandlerTo_p_wxImageHandler(void *x
) {
59907 return (void *)((wxImageHandler
*) ((wxTGAHandler
*) x
));
59909 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
59910 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
59912 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
59913 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
59915 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
59916 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
59918 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
59919 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
59921 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
59922 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
59924 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
59925 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
59927 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
59928 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
59930 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
59931 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
59933 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
59934 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
59936 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
59937 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
59939 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
59940 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
59942 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
59943 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
59945 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
59946 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
59948 static void *_p_wxEventBlockerTo_p_wxEvtHandler(void *x
) {
59949 return (void *)((wxEvtHandler
*) ((wxEventBlocker
*) x
));
59951 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
59952 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
59954 static void *_p_wxControlTo_p_wxWindow(void *x
) {
59955 return (void *)((wxWindow
*) ((wxControl
*) x
));
59957 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
59958 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
59960 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
59961 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
59963 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
59964 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
59966 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
59967 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
59969 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
59970 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
59972 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
59973 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
59975 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
59976 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
59978 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
59979 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
59981 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
59982 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
59984 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
59985 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
59987 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
59988 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
59990 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
59991 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
59993 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
59994 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
59995 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};
59996 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
59997 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
59998 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
59999 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
60000 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
60001 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", "wxANIHandler *", 0, 0, (void*)0, 0};
60002 static swig_type_info _swigt__p_wxAcceleratorEntry
= {"_p_wxAcceleratorEntry", "wxAcceleratorEntry *", 0, 0, (void*)0, 0};
60003 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", "wxAcceleratorTable *", 0, 0, (void*)0, 0};
60004 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", "wxActivateEvent *", 0, 0, (void*)0, 0};
60005 static swig_type_info _swigt__p_wxAppTraits
= {"_p_wxAppTraits", "wxAppTraits *", 0, 0, (void*)0, 0};
60006 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
60007 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", "wxBMPHandler *", 0, 0, (void*)0, 0};
60008 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
60009 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", "wxBoxSizer *", 0, 0, (void*)0, 0};
60010 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
60011 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", "wxCURHandler *", 0, 0, (void*)0, 0};
60012 static swig_type_info _swigt__p_wxCaret
= {"_p_wxCaret", "wxCaret *", 0, 0, (void*)0, 0};
60013 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", "wxChildFocusEvent *", 0, 0, (void*)0, 0};
60014 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", "wxClipboardTextEvent *", 0, 0, (void*)0, 0};
60015 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", "wxCloseEvent *", 0, 0, (void*)0, 0};
60016 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
60017 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
60018 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", "wxContextMenuEvent *", 0, 0, (void*)0, 0};
60019 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
60020 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
60021 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
60022 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
60023 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", "wxDateEvent *", 0, 0, (void*)0, 0};
60024 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
60025 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", "wxDisplayChangedEvent *", 0, 0, (void*)0, 0};
60026 static swig_type_info _swigt__p_wxDouble
= {"_p_wxDouble", "wxDouble *", 0, 0, (void*)0, 0};
60027 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", "wxDropFilesEvent *", 0, 0, (void*)0, 0};
60028 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
60029 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", "wxEraseEvent *", 0, 0, (void*)0, 0};
60030 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
60031 static swig_type_info _swigt__p_wxEventBlocker
= {"_p_wxEventBlocker", "wxEventBlocker *", 0, 0, (void*)0, 0};
60032 static swig_type_info _swigt__p_wxEventLoop
= {"_p_wxEventLoop", "wxEventLoop *", 0, 0, (void*)0, 0};
60033 static swig_type_info _swigt__p_wxEventLoopActivator
= {"_p_wxEventLoopActivator", "wxEventLoopActivator *", 0, 0, (void*)0, 0};
60034 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
60035 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", "wxFSFile *", 0, 0, (void*)0, 0};
60036 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
60037 static swig_type_info _swigt__p_wxFileSystemHandler
= {"_p_wxFileSystemHandler", "wxFileSystemHandler *", 0, 0, (void*)0, 0};
60038 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", "wxFlexGridSizer *", 0, 0, (void*)0, 0};
60039 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", "wxFocusEvent *", 0, 0, (void*)0, 0};
60040 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
60041 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
60042 static swig_type_info _swigt__p_wxGBPosition
= {"_p_wxGBPosition", "wxGBPosition *", 0, 0, (void*)0, 0};
60043 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", "wxGBSizerItem *", 0, 0, (void*)0, 0};
60044 static swig_type_info _swigt__p_wxGBSpan
= {"_p_wxGBSpan", "wxGBSpan *", 0, 0, (void*)0, 0};
60045 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", "wxGIFHandler *", 0, 0, (void*)0, 0};
60046 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", "wxGridBagSizer *", 0, 0, (void*)0, 0};
60047 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", "wxGridSizer *", 0, 0, (void*)0, 0};
60048 static swig_type_info _swigt__p_wxHelpEvent__Origin
= {"_p_wxHelpEvent__Origin", "wxHelpEvent::Origin *", 0, 0, (void*)0, 0};
60049 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", "wxICOHandler *", 0, 0, (void*)0, 0};
60050 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", "wxIconizeEvent *", 0, 0, (void*)0, 0};
60051 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", "wxIdleEvent *", 0, 0, (void*)0, 0};
60052 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
60053 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", "wxImageHandler *", 0, 0, (void*)0, 0};
60054 static swig_type_info _swigt__p_wxImageHistogram
= {"_p_wxImageHistogram", "wxImageHistogram *", 0, 0, (void*)0, 0};
60055 static swig_type_info _swigt__p_wxImage_HSVValue
= {"_p_wxImage_HSVValue", "wxImage_HSVValue *", 0, 0, (void*)0, 0};
60056 static swig_type_info _swigt__p_wxImage_RGBValue
= {"_p_wxImage_RGBValue", "wxImage_RGBValue *", 0, 0, (void*)0, 0};
60057 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", "wxIndividualLayoutConstraint *", 0, 0, (void*)0, 0};
60058 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", "wxInitDialogEvent *", 0, 0, (void*)0, 0};
60059 static swig_type_info _swigt__p_wxInputStream
= {"_p_wxInputStream", "wxInputStream *", 0, 0, (void*)0, 0};
60060 static swig_type_info _swigt__p_wxInternetFSHandler
= {"_p_wxInternetFSHandler", "wxInternetFSHandler *", 0, 0, (void*)0, 0};
60061 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
60062 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", "wxJPEGHandler *", 0, 0, (void*)0, 0};
60063 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
60064 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", "wxLayoutConstraints *", 0, 0, (void*)0, 0};
60065 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", "wxMaximizeEvent *", 0, 0, (void*)0, 0};
60066 static swig_type_info _swigt__p_wxMemoryFSHandler
= {"_p_wxMemoryFSHandler", "wxMemoryFSHandler *", 0, 0, (void*)0, 0};
60067 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
60068 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
60069 static swig_type_info _swigt__p_wxMenuBarBase
= {"_p_wxMenuBarBase", "wxMenuBarBase *", 0, 0, (void*)0, 0};
60070 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", "wxMenuEvent *", 0, 0, (void*)0, 0};
60071 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", "wxMenuItem *", 0, 0, (void*)0, 0};
60072 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", "wxMouseCaptureChangedEvent *", 0, 0, (void*)0, 0};
60073 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", "wxMouseCaptureLostEvent *", 0, 0, (void*)0, 0};
60074 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
60075 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", "wxMoveEvent *", 0, 0, (void*)0, 0};
60076 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", "wxNavigationKeyEvent *", 0, 0, (void*)0, 0};
60077 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", "wxNcPaintEvent *", 0, 0, (void*)0, 0};
60078 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
60079 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
60080 static swig_type_info _swigt__p_wxOutputStream
= {"_p_wxOutputStream", "wxOutputStream *", 0, 0, (void*)0, 0};
60081 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", "wxPCXHandler *", 0, 0, (void*)0, 0};
60082 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", "wxPNGHandler *", 0, 0, (void*)0, 0};
60083 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", "wxPNMHandler *", 0, 0, (void*)0, 0};
60084 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", "wxPaintEvent *", 0, 0, (void*)0, 0};
60085 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", "wxPaletteChangedEvent *", 0, 0, (void*)0, 0};
60086 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
60087 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
60088 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
60089 static swig_type_info _swigt__p_wxPropagateOnce
= {"_p_wxPropagateOnce", "wxPropagateOnce *", 0, 0, (void*)0, 0};
60090 static swig_type_info _swigt__p_wxPropagationDisabler
= {"_p_wxPropagationDisabler", "wxPropagationDisabler *", 0, 0, (void*)0, 0};
60091 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", "wxPyApp *", 0, 0, (void*)0, 0};
60092 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", "wxPyCommandEvent *", 0, 0, (void*)0, 0};
60093 static swig_type_info _swigt__p_wxPyDropTarget
= {"_p_wxPyDropTarget", "wxPyDropTarget *", 0, 0, (void*)0, 0};
60094 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", "wxPyEvent *", 0, 0, (void*)0, 0};
60095 static swig_type_info _swigt__p_wxPyFileSystemHandler
= {"_p_wxPyFileSystemHandler", "wxPyFileSystemHandler *", 0, 0, (void*)0, 0};
60096 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", "wxPyImageHandler *", 0, 0, (void*)0, 0};
60097 static swig_type_info _swigt__p_wxPyInputStream
= {"_p_wxPyInputStream", "wxPyInputStream *", 0, 0, (void*)0, 0};
60098 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", "wxPySizer *", 0, 0, (void*)0, 0};
60099 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", "wxPyValidator *", 0, 0, (void*)0, 0};
60100 static swig_type_info _swigt__p_wxQuantize
= {"_p_wxQuantize", "wxQuantize *", 0, 0, (void*)0, 0};
60101 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", "wxQueryNewPaletteEvent *", 0, 0, (void*)0, 0};
60102 static swig_type_info _swigt__p_wxRealPoint
= {"_p_wxRealPoint", "wxRealPoint *", 0, 0, (void*)0, 0};
60103 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
60104 static swig_type_info _swigt__p_wxRect2D
= {"_p_wxRect2D", "wxRect2D *", 0, 0, (void*)0, 0};
60105 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
60106 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", "wxScrollEvent *", 0, 0, (void*)0, 0};
60107 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
60108 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", "wxSetCursorEvent *", 0, 0, (void*)0, 0};
60109 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", "wxShowEvent *", 0, 0, (void*)0, 0};
60110 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
60111 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", "wxSizeEvent *", 0, 0, (void*)0, 0};
60112 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", "wxSizer *", 0, 0, (void*)0, 0};
60113 static swig_type_info _swigt__p_wxSizerFlags
= {"_p_wxSizerFlags", "wxSizerFlags *", 0, 0, (void*)0, 0};
60114 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", "wxSizerItem *", 0, 0, (void*)0, 0};
60115 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
60116 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", "wxStaticBoxSizer *", 0, 0, (void*)0, 0};
60117 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
60118 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", "wxSysColourChangedEvent *", 0, 0, (void*)0, 0};
60119 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", "wxTGAHandler *", 0, 0, (void*)0, 0};
60120 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", "wxTIFFHandler *", 0, 0, (void*)0, 0};
60121 static swig_type_info _swigt__p_wxToolTip
= {"_p_wxToolTip", "wxToolTip *", 0, 0, (void*)0, 0};
60122 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", "wxUpdateUIEvent *", 0, 0, (void*)0, 0};
60123 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
60124 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
60125 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
60126 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", "wxWindowCreateEvent *", 0, 0, (void*)0, 0};
60127 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", "wxWindowDestroyEvent *", 0, 0, (void*)0, 0};
60128 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", "wxXPMHandler *", 0, 0, (void*)0, 0};
60129 static swig_type_info _swigt__p_wxZipFSHandler
= {"_p_wxZipFSHandler", "wxZipFSHandler *", 0, 0, (void*)0, 0};
60131 static swig_type_info
*swig_type_initial
[] = {
60134 &_swigt__p_form_ops_t
,
60137 &_swigt__p_unsigned_char
,
60138 &_swigt__p_unsigned_int
,
60139 &_swigt__p_unsigned_long
,
60140 &_swigt__p_wxANIHandler
,
60141 &_swigt__p_wxAcceleratorEntry
,
60142 &_swigt__p_wxAcceleratorTable
,
60143 &_swigt__p_wxActivateEvent
,
60144 &_swigt__p_wxAppTraits
,
60145 &_swigt__p_wxArrayString
,
60146 &_swigt__p_wxBMPHandler
,
60147 &_swigt__p_wxBitmap
,
60148 &_swigt__p_wxBoxSizer
,
60149 &_swigt__p_wxButton
,
60150 &_swigt__p_wxCURHandler
,
60151 &_swigt__p_wxCaret
,
60152 &_swigt__p_wxChildFocusEvent
,
60153 &_swigt__p_wxClipboardTextEvent
,
60154 &_swigt__p_wxCloseEvent
,
60155 &_swigt__p_wxColour
,
60156 &_swigt__p_wxCommandEvent
,
60157 &_swigt__p_wxContextMenuEvent
,
60158 &_swigt__p_wxControl
,
60159 &_swigt__p_wxControlWithItems
,
60160 &_swigt__p_wxCursor
,
60162 &_swigt__p_wxDateEvent
,
60163 &_swigt__p_wxDateTime
,
60164 &_swigt__p_wxDisplayChangedEvent
,
60165 &_swigt__p_wxDouble
,
60166 &_swigt__p_wxDropFilesEvent
,
60167 &_swigt__p_wxDuplexMode
,
60168 &_swigt__p_wxEraseEvent
,
60169 &_swigt__p_wxEvent
,
60170 &_swigt__p_wxEventBlocker
,
60171 &_swigt__p_wxEventLoop
,
60172 &_swigt__p_wxEventLoopActivator
,
60173 &_swigt__p_wxEvtHandler
,
60174 &_swigt__p_wxFSFile
,
60175 &_swigt__p_wxFileSystem
,
60176 &_swigt__p_wxFileSystemHandler
,
60177 &_swigt__p_wxFlexGridSizer
,
60178 &_swigt__p_wxFocusEvent
,
60180 &_swigt__p_wxFrame
,
60181 &_swigt__p_wxGBPosition
,
60182 &_swigt__p_wxGBSizerItem
,
60183 &_swigt__p_wxGBSpan
,
60184 &_swigt__p_wxGIFHandler
,
60185 &_swigt__p_wxGridBagSizer
,
60186 &_swigt__p_wxGridSizer
,
60187 &_swigt__p_wxHelpEvent__Origin
,
60188 &_swigt__p_wxICOHandler
,
60189 &_swigt__p_wxIconizeEvent
,
60190 &_swigt__p_wxIdleEvent
,
60191 &_swigt__p_wxImage
,
60192 &_swigt__p_wxImageHandler
,
60193 &_swigt__p_wxImageHistogram
,
60194 &_swigt__p_wxImage_HSVValue
,
60195 &_swigt__p_wxImage_RGBValue
,
60196 &_swigt__p_wxIndividualLayoutConstraint
,
60197 &_swigt__p_wxInitDialogEvent
,
60198 &_swigt__p_wxInputStream
,
60199 &_swigt__p_wxInternetFSHandler
,
60200 &_swigt__p_wxItemContainer
,
60201 &_swigt__p_wxJPEGHandler
,
60202 &_swigt__p_wxKeyEvent
,
60203 &_swigt__p_wxLayoutConstraints
,
60204 &_swigt__p_wxMaximizeEvent
,
60205 &_swigt__p_wxMemoryFSHandler
,
60207 &_swigt__p_wxMenuBar
,
60208 &_swigt__p_wxMenuBarBase
,
60209 &_swigt__p_wxMenuEvent
,
60210 &_swigt__p_wxMenuItem
,
60211 &_swigt__p_wxMouseCaptureChangedEvent
,
60212 &_swigt__p_wxMouseCaptureLostEvent
,
60213 &_swigt__p_wxMouseEvent
,
60214 &_swigt__p_wxMoveEvent
,
60215 &_swigt__p_wxNavigationKeyEvent
,
60216 &_swigt__p_wxNcPaintEvent
,
60217 &_swigt__p_wxNotifyEvent
,
60218 &_swigt__p_wxObject
,
60219 &_swigt__p_wxOutputStream
,
60220 &_swigt__p_wxPCXHandler
,
60221 &_swigt__p_wxPNGHandler
,
60222 &_swigt__p_wxPNMHandler
,
60223 &_swigt__p_wxPaintEvent
,
60224 &_swigt__p_wxPaletteChangedEvent
,
60225 &_swigt__p_wxPaperSize
,
60226 &_swigt__p_wxPoint
,
60227 &_swigt__p_wxPoint2D
,
60228 &_swigt__p_wxPropagateOnce
,
60229 &_swigt__p_wxPropagationDisabler
,
60230 &_swigt__p_wxPyApp
,
60231 &_swigt__p_wxPyCommandEvent
,
60232 &_swigt__p_wxPyDropTarget
,
60233 &_swigt__p_wxPyEvent
,
60234 &_swigt__p_wxPyFileSystemHandler
,
60235 &_swigt__p_wxPyImageHandler
,
60236 &_swigt__p_wxPyInputStream
,
60237 &_swigt__p_wxPySizer
,
60238 &_swigt__p_wxPyValidator
,
60239 &_swigt__p_wxQuantize
,
60240 &_swigt__p_wxQueryNewPaletteEvent
,
60241 &_swigt__p_wxRealPoint
,
60243 &_swigt__p_wxRect2D
,
60244 &_swigt__p_wxRegion
,
60245 &_swigt__p_wxScrollEvent
,
60246 &_swigt__p_wxScrollWinEvent
,
60247 &_swigt__p_wxSetCursorEvent
,
60248 &_swigt__p_wxShowEvent
,
60250 &_swigt__p_wxSizeEvent
,
60251 &_swigt__p_wxSizer
,
60252 &_swigt__p_wxSizerFlags
,
60253 &_swigt__p_wxSizerItem
,
60254 &_swigt__p_wxStaticBox
,
60255 &_swigt__p_wxStaticBoxSizer
,
60256 &_swigt__p_wxStdDialogButtonSizer
,
60257 &_swigt__p_wxSysColourChangedEvent
,
60258 &_swigt__p_wxTGAHandler
,
60259 &_swigt__p_wxTIFFHandler
,
60260 &_swigt__p_wxToolTip
,
60261 &_swigt__p_wxUpdateUIEvent
,
60262 &_swigt__p_wxValidator
,
60263 &_swigt__p_wxVisualAttributes
,
60264 &_swigt__p_wxWindow
,
60265 &_swigt__p_wxWindowCreateEvent
,
60266 &_swigt__p_wxWindowDestroyEvent
,
60267 &_swigt__p_wxXPMHandler
,
60268 &_swigt__p_wxZipFSHandler
,
60271 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
60272 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
60273 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
60274 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
60275 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
60276 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
60277 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
60278 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
60279 static swig_cast_info _swigc__p_wxANIHandler
[] = { {&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
60280 static swig_cast_info _swigc__p_wxAcceleratorEntry
[] = { {&_swigt__p_wxAcceleratorEntry
, 0, 0, 0},{0, 0, 0, 0}};
60281 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = { {&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
60282 static swig_cast_info _swigc__p_wxActivateEvent
[] = { {&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
60283 static swig_cast_info _swigc__p_wxAppTraits
[] = { {&_swigt__p_wxAppTraits
, 0, 0, 0},{0, 0, 0, 0}};
60284 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
60285 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}};
60286 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
60287 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}};
60288 static swig_cast_info _swigc__p_wxButton
[] = { {&_swigt__p_wxButton
, 0, 0, 0},{0, 0, 0, 0}};
60289 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}};
60290 static swig_cast_info _swigc__p_wxCaret
[] = { {&_swigt__p_wxCaret
, 0, 0, 0},{0, 0, 0, 0}};
60291 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = { {&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
60292 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = { {&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
60293 static swig_cast_info _swigc__p_wxCloseEvent
[] = { {&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
60294 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
60295 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}};
60296 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = { {&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
60297 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}};
60298 static swig_cast_info _swigc__p_wxControlWithItems
[] = { {&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
60299 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
60300 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
60301 static swig_cast_info _swigc__p_wxDateEvent
[] = { {&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
60302 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
60303 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = { {&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
60304 static swig_cast_info _swigc__p_wxDouble
[] = { {&_swigt__p_wxDouble
, 0, 0, 0},{0, 0, 0, 0}};
60305 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = { {&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
60306 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
60307 static swig_cast_info _swigc__p_wxEraseEvent
[] = { {&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
60308 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}};
60309 static swig_cast_info _swigc__p_wxEventBlocker
[] = { {&_swigt__p_wxEventBlocker
, 0, 0, 0},{0, 0, 0, 0}};
60310 static swig_cast_info _swigc__p_wxEventLoop
[] = { {&_swigt__p_wxEventLoop
, 0, 0, 0},{0, 0, 0, 0}};
60311 static swig_cast_info _swigc__p_wxEventLoopActivator
[] = { {&_swigt__p_wxEventLoopActivator
, 0, 0, 0},{0, 0, 0, 0}};
60312 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}, {&_swigt__p_wxEventBlocker
, _p_wxEventBlockerTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
60313 static swig_cast_info _swigc__p_wxFSFile
[] = { {&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
60314 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
60315 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}};
60316 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}};
60317 static swig_cast_info _swigc__p_wxFocusEvent
[] = { {&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
60318 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
60319 static swig_cast_info _swigc__p_wxFrame
[] = { {&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}};
60320 static swig_cast_info _swigc__p_wxGBPosition
[] = { {&_swigt__p_wxGBPosition
, 0, 0, 0},{0, 0, 0, 0}};
60321 static swig_cast_info _swigc__p_wxGBSizerItem
[] = { {&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
60322 static swig_cast_info _swigc__p_wxGBSpan
[] = { {&_swigt__p_wxGBSpan
, 0, 0, 0},{0, 0, 0, 0}};
60323 static swig_cast_info _swigc__p_wxGIFHandler
[] = { {&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
60324 static swig_cast_info _swigc__p_wxGridBagSizer
[] = { {&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
60325 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}};
60326 static swig_cast_info _swigc__p_wxHelpEvent__Origin
[] = { {&_swigt__p_wxHelpEvent__Origin
, 0, 0, 0},{0, 0, 0, 0}};
60327 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}};
60328 static swig_cast_info _swigc__p_wxIconizeEvent
[] = { {&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
60329 static swig_cast_info _swigc__p_wxIdleEvent
[] = { {&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
60330 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
60331 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}};
60332 static swig_cast_info _swigc__p_wxImageHistogram
[] = { {&_swigt__p_wxImageHistogram
, 0, 0, 0},{0, 0, 0, 0}};
60333 static swig_cast_info _swigc__p_wxImage_HSVValue
[] = { {&_swigt__p_wxImage_HSVValue
, 0, 0, 0},{0, 0, 0, 0}};
60334 static swig_cast_info _swigc__p_wxImage_RGBValue
[] = { {&_swigt__p_wxImage_RGBValue
, 0, 0, 0},{0, 0, 0, 0}};
60335 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = { {&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
60336 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = { {&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
60337 static swig_cast_info _swigc__p_wxInputStream
[] = { {&_swigt__p_wxInputStream
, 0, 0, 0},{0, 0, 0, 0}};
60338 static swig_cast_info _swigc__p_wxInternetFSHandler
[] = { {&_swigt__p_wxInternetFSHandler
, 0, 0, 0},{0, 0, 0, 0}};
60339 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}};
60340 static swig_cast_info _swigc__p_wxJPEGHandler
[] = { {&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
60341 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
60342 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = { {&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
60343 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = { {&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
60344 static swig_cast_info _swigc__p_wxMemoryFSHandler
[] = { {&_swigt__p_wxMemoryFSHandler
, 0, 0, 0},{0, 0, 0, 0}};
60345 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
60346 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
60347 static swig_cast_info _swigc__p_wxMenuBarBase
[] = { {&_swigt__p_wxMenuBarBase
, 0, 0, 0},{0, 0, 0, 0}};
60348 static swig_cast_info _swigc__p_wxMenuEvent
[] = { {&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
60349 static swig_cast_info _swigc__p_wxMenuItem
[] = { {&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
60350 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = { {&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
60351 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = { {&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
60352 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
60353 static swig_cast_info _swigc__p_wxMoveEvent
[] = { {&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
60354 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = { {&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
60355 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = { {&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
60356 static swig_cast_info _swigc__p_wxNotifyEvent
[] = { {&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
60357 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEventBlocker
, _p_wxEventBlockerTo_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_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_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_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_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}};
60358 static swig_cast_info _swigc__p_wxOutputStream
[] = { {&_swigt__p_wxOutputStream
, 0, 0, 0},{0, 0, 0, 0}};
60359 static swig_cast_info _swigc__p_wxPCXHandler
[] = { {&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
60360 static swig_cast_info _swigc__p_wxPNGHandler
[] = { {&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
60361 static swig_cast_info _swigc__p_wxPNMHandler
[] = { {&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
60362 static swig_cast_info _swigc__p_wxPaintEvent
[] = { {&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
60363 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = { {&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
60364 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
60365 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
60366 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
60367 static swig_cast_info _swigc__p_wxPropagateOnce
[] = { {&_swigt__p_wxPropagateOnce
, 0, 0, 0},{0, 0, 0, 0}};
60368 static swig_cast_info _swigc__p_wxPropagationDisabler
[] = { {&_swigt__p_wxPropagationDisabler
, 0, 0, 0},{0, 0, 0, 0}};
60369 static swig_cast_info _swigc__p_wxPyApp
[] = { {&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
60370 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = { {&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
60371 static swig_cast_info _swigc__p_wxPyDropTarget
[] = { {&_swigt__p_wxPyDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
60372 static swig_cast_info _swigc__p_wxPyEvent
[] = { {&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
60373 static swig_cast_info _swigc__p_wxPyFileSystemHandler
[] = { {&_swigt__p_wxPyFileSystemHandler
, 0, 0, 0},{0, 0, 0, 0}};
60374 static swig_cast_info _swigc__p_wxPyImageHandler
[] = { {&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
60375 static swig_cast_info _swigc__p_wxPyInputStream
[] = { {&_swigt__p_wxPyInputStream
, 0, 0, 0},{0, 0, 0, 0}};
60376 static swig_cast_info _swigc__p_wxPySizer
[] = { {&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
60377 static swig_cast_info _swigc__p_wxPyValidator
[] = { {&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
60378 static swig_cast_info _swigc__p_wxQuantize
[] = { {&_swigt__p_wxQuantize
, 0, 0, 0},{0, 0, 0, 0}};
60379 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = { {&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
60380 static swig_cast_info _swigc__p_wxRealPoint
[] = { {&_swigt__p_wxRealPoint
, 0, 0, 0},{0, 0, 0, 0}};
60381 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
60382 static swig_cast_info _swigc__p_wxRect2D
[] = { {&_swigt__p_wxRect2D
, 0, 0, 0},{0, 0, 0, 0}};
60383 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
60384 static swig_cast_info _swigc__p_wxScrollEvent
[] = { {&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
60385 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
60386 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = { {&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
60387 static swig_cast_info _swigc__p_wxShowEvent
[] = { {&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
60388 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
60389 static swig_cast_info _swigc__p_wxSizeEvent
[] = { {&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
60390 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}};
60391 static swig_cast_info _swigc__p_wxSizerFlags
[] = { {&_swigt__p_wxSizerFlags
, 0, 0, 0},{0, 0, 0, 0}};
60392 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}};
60393 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
60394 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = { {&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
60395 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
60396 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = { {&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
60397 static swig_cast_info _swigc__p_wxTGAHandler
[] = { {&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
60398 static swig_cast_info _swigc__p_wxTIFFHandler
[] = { {&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
60399 static swig_cast_info _swigc__p_wxToolTip
[] = { {&_swigt__p_wxToolTip
, 0, 0, 0},{0, 0, 0, 0}};
60400 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = { {&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
60401 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}};
60402 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
60403 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}};
60404 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = { {&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
60405 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = { {&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
60406 static swig_cast_info _swigc__p_wxXPMHandler
[] = { {&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
60407 static swig_cast_info _swigc__p_wxZipFSHandler
[] = { {&_swigt__p_wxZipFSHandler
, 0, 0, 0},{0, 0, 0, 0}};
60409 static swig_cast_info
*swig_cast_initial
[] = {
60412 _swigc__p_form_ops_t
,
60415 _swigc__p_unsigned_char
,
60416 _swigc__p_unsigned_int
,
60417 _swigc__p_unsigned_long
,
60418 _swigc__p_wxANIHandler
,
60419 _swigc__p_wxAcceleratorEntry
,
60420 _swigc__p_wxAcceleratorTable
,
60421 _swigc__p_wxActivateEvent
,
60422 _swigc__p_wxAppTraits
,
60423 _swigc__p_wxArrayString
,
60424 _swigc__p_wxBMPHandler
,
60425 _swigc__p_wxBitmap
,
60426 _swigc__p_wxBoxSizer
,
60427 _swigc__p_wxButton
,
60428 _swigc__p_wxCURHandler
,
60430 _swigc__p_wxChildFocusEvent
,
60431 _swigc__p_wxClipboardTextEvent
,
60432 _swigc__p_wxCloseEvent
,
60433 _swigc__p_wxColour
,
60434 _swigc__p_wxCommandEvent
,
60435 _swigc__p_wxContextMenuEvent
,
60436 _swigc__p_wxControl
,
60437 _swigc__p_wxControlWithItems
,
60438 _swigc__p_wxCursor
,
60440 _swigc__p_wxDateEvent
,
60441 _swigc__p_wxDateTime
,
60442 _swigc__p_wxDisplayChangedEvent
,
60443 _swigc__p_wxDouble
,
60444 _swigc__p_wxDropFilesEvent
,
60445 _swigc__p_wxDuplexMode
,
60446 _swigc__p_wxEraseEvent
,
60448 _swigc__p_wxEventBlocker
,
60449 _swigc__p_wxEventLoop
,
60450 _swigc__p_wxEventLoopActivator
,
60451 _swigc__p_wxEvtHandler
,
60452 _swigc__p_wxFSFile
,
60453 _swigc__p_wxFileSystem
,
60454 _swigc__p_wxFileSystemHandler
,
60455 _swigc__p_wxFlexGridSizer
,
60456 _swigc__p_wxFocusEvent
,
60459 _swigc__p_wxGBPosition
,
60460 _swigc__p_wxGBSizerItem
,
60461 _swigc__p_wxGBSpan
,
60462 _swigc__p_wxGIFHandler
,
60463 _swigc__p_wxGridBagSizer
,
60464 _swigc__p_wxGridSizer
,
60465 _swigc__p_wxHelpEvent__Origin
,
60466 _swigc__p_wxICOHandler
,
60467 _swigc__p_wxIconizeEvent
,
60468 _swigc__p_wxIdleEvent
,
60470 _swigc__p_wxImageHandler
,
60471 _swigc__p_wxImageHistogram
,
60472 _swigc__p_wxImage_HSVValue
,
60473 _swigc__p_wxImage_RGBValue
,
60474 _swigc__p_wxIndividualLayoutConstraint
,
60475 _swigc__p_wxInitDialogEvent
,
60476 _swigc__p_wxInputStream
,
60477 _swigc__p_wxInternetFSHandler
,
60478 _swigc__p_wxItemContainer
,
60479 _swigc__p_wxJPEGHandler
,
60480 _swigc__p_wxKeyEvent
,
60481 _swigc__p_wxLayoutConstraints
,
60482 _swigc__p_wxMaximizeEvent
,
60483 _swigc__p_wxMemoryFSHandler
,
60485 _swigc__p_wxMenuBar
,
60486 _swigc__p_wxMenuBarBase
,
60487 _swigc__p_wxMenuEvent
,
60488 _swigc__p_wxMenuItem
,
60489 _swigc__p_wxMouseCaptureChangedEvent
,
60490 _swigc__p_wxMouseCaptureLostEvent
,
60491 _swigc__p_wxMouseEvent
,
60492 _swigc__p_wxMoveEvent
,
60493 _swigc__p_wxNavigationKeyEvent
,
60494 _swigc__p_wxNcPaintEvent
,
60495 _swigc__p_wxNotifyEvent
,
60496 _swigc__p_wxObject
,
60497 _swigc__p_wxOutputStream
,
60498 _swigc__p_wxPCXHandler
,
60499 _swigc__p_wxPNGHandler
,
60500 _swigc__p_wxPNMHandler
,
60501 _swigc__p_wxPaintEvent
,
60502 _swigc__p_wxPaletteChangedEvent
,
60503 _swigc__p_wxPaperSize
,
60505 _swigc__p_wxPoint2D
,
60506 _swigc__p_wxPropagateOnce
,
60507 _swigc__p_wxPropagationDisabler
,
60509 _swigc__p_wxPyCommandEvent
,
60510 _swigc__p_wxPyDropTarget
,
60511 _swigc__p_wxPyEvent
,
60512 _swigc__p_wxPyFileSystemHandler
,
60513 _swigc__p_wxPyImageHandler
,
60514 _swigc__p_wxPyInputStream
,
60515 _swigc__p_wxPySizer
,
60516 _swigc__p_wxPyValidator
,
60517 _swigc__p_wxQuantize
,
60518 _swigc__p_wxQueryNewPaletteEvent
,
60519 _swigc__p_wxRealPoint
,
60521 _swigc__p_wxRect2D
,
60522 _swigc__p_wxRegion
,
60523 _swigc__p_wxScrollEvent
,
60524 _swigc__p_wxScrollWinEvent
,
60525 _swigc__p_wxSetCursorEvent
,
60526 _swigc__p_wxShowEvent
,
60528 _swigc__p_wxSizeEvent
,
60530 _swigc__p_wxSizerFlags
,
60531 _swigc__p_wxSizerItem
,
60532 _swigc__p_wxStaticBox
,
60533 _swigc__p_wxStaticBoxSizer
,
60534 _swigc__p_wxStdDialogButtonSizer
,
60535 _swigc__p_wxSysColourChangedEvent
,
60536 _swigc__p_wxTGAHandler
,
60537 _swigc__p_wxTIFFHandler
,
60538 _swigc__p_wxToolTip
,
60539 _swigc__p_wxUpdateUIEvent
,
60540 _swigc__p_wxValidator
,
60541 _swigc__p_wxVisualAttributes
,
60542 _swigc__p_wxWindow
,
60543 _swigc__p_wxWindowCreateEvent
,
60544 _swigc__p_wxWindowDestroyEvent
,
60545 _swigc__p_wxXPMHandler
,
60546 _swigc__p_wxZipFSHandler
,
60550 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
60552 static swig_const_info swig_const_table
[] = {
60553 {0, 0, 0, 0.0, 0, 0}};
60558 /* -----------------------------------------------------------------------------
60559 * Type initialization:
60560 * This problem is tough by the requirement that no dynamic
60561 * memory is used. Also, since swig_type_info structures store pointers to
60562 * swig_cast_info structures and swig_cast_info structures store pointers back
60563 * to swig_type_info structures, we need some lookup code at initialization.
60564 * The idea is that swig generates all the structures that are needed.
60565 * The runtime then collects these partially filled structures.
60566 * The SWIG_InitializeModule function takes these initial arrays out of
60567 * swig_module, and does all the lookup, filling in the swig_module.types
60568 * array with the correct data and linking the correct swig_cast_info
60569 * structures together.
60571 * The generated swig_type_info structures are assigned staticly to an initial
60572 * array. We just loop though that array, and handle each type individually.
60573 * First we lookup if this type has been already loaded, and if so, use the
60574 * loaded structure instead of the generated one. Then we have to fill in the
60575 * cast linked list. The cast data is initially stored in something like a
60576 * two-dimensional array. Each row corresponds to a type (there are the same
60577 * number of rows as there are in the swig_type_initial array). Each entry in
60578 * a column is one of the swig_cast_info structures for that type.
60579 * The cast_initial array is actually an array of arrays, because each row has
60580 * a variable number of columns. So to actually build the cast linked list,
60581 * we find the array of casts associated with the type, and loop through it
60582 * adding the casts to the list. The one last trick we need to do is making
60583 * sure the type pointer in the swig_cast_info struct is correct.
60585 * First off, we lookup the cast->type name to see if it is already loaded.
60586 * There are three cases to handle:
60587 * 1) If the cast->type has already been loaded AND the type we are adding
60588 * casting info to has not been loaded (it is in this module), THEN we
60589 * replace the cast->type pointer with the type pointer that has already
60591 * 2) If BOTH types (the one we are adding casting info to, and the
60592 * cast->type) are loaded, THEN the cast info has already been loaded by
60593 * the previous module so we just ignore it.
60594 * 3) Finally, if cast->type has not already been loaded, then we add that
60595 * swig_cast_info to the linked list (because the cast->type) pointer will
60597 * ----------------------------------------------------------------------------- */
60607 #define SWIGRUNTIME_DEBUG
60611 SWIG_InitializeModule(void *clientdata
) {
60613 swig_module_info
*module_head
;
60614 static int init_run
= 0;
60616 clientdata
= clientdata
;
60618 if (init_run
) return;
60621 /* Initialize the swig_module */
60622 swig_module
.type_initial
= swig_type_initial
;
60623 swig_module
.cast_initial
= swig_cast_initial
;
60625 /* Try and load any already created modules */
60626 module_head
= SWIG_GetModule(clientdata
);
60628 swig_module
.next
= module_head
->next
;
60629 module_head
->next
= &swig_module
;
60631 /* This is the first module loaded */
60632 swig_module
.next
= &swig_module
;
60633 SWIG_SetModule(clientdata
, &swig_module
);
60636 /* Now work on filling in swig_module.types */
60637 #ifdef SWIGRUNTIME_DEBUG
60638 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
60640 for (i
= 0; i
< swig_module
.size
; ++i
) {
60641 swig_type_info
*type
= 0;
60642 swig_type_info
*ret
;
60643 swig_cast_info
*cast
;
60645 #ifdef SWIGRUNTIME_DEBUG
60646 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
60649 /* if there is another module already loaded */
60650 if (swig_module
.next
!= &swig_module
) {
60651 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
60654 /* Overwrite clientdata field */
60655 #ifdef SWIGRUNTIME_DEBUG
60656 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
60658 if (swig_module
.type_initial
[i
]->clientdata
) {
60659 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
60660 #ifdef SWIGRUNTIME_DEBUG
60661 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
60665 type
= swig_module
.type_initial
[i
];
60668 /* Insert casting types */
60669 cast
= swig_module
.cast_initial
[i
];
60670 while (cast
->type
) {
60671 /* Don't need to add information already in the list */
60673 #ifdef SWIGRUNTIME_DEBUG
60674 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
60676 if (swig_module
.next
!= &swig_module
) {
60677 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
60678 #ifdef SWIGRUNTIME_DEBUG
60679 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
60683 if (type
== swig_module
.type_initial
[i
]) {
60684 #ifdef SWIGRUNTIME_DEBUG
60685 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
60690 /* Check for casting already in the list */
60691 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
60692 #ifdef SWIGRUNTIME_DEBUG
60693 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
60695 if (!ocast
) ret
= 0;
60700 #ifdef SWIGRUNTIME_DEBUG
60701 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
60704 type
->cast
->prev
= cast
;
60705 cast
->next
= type
->cast
;
60711 /* Set entry in modules->types array equal to the type */
60712 swig_module
.types
[i
] = type
;
60714 swig_module
.types
[i
] = 0;
60716 #ifdef SWIGRUNTIME_DEBUG
60717 printf("**** SWIG_InitializeModule: Cast List ******\n");
60718 for (i
= 0; i
< swig_module
.size
; ++i
) {
60720 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
60721 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
60722 while (cast
->type
) {
60723 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
60727 printf("---- Total casts: %d\n",j
);
60729 printf("**** SWIG_InitializeModule: Cast List ******\n");
60733 /* This function will propagate the clientdata field of type to
60734 * any new swig_type_info structures that have been added into the list
60735 * of equivalent types. It is like calling
60736 * SWIG_TypeClientData(type, clientdata) a second time.
60739 SWIG_PropagateClientData(void) {
60741 swig_cast_info
*equiv
;
60742 static int init_run
= 0;
60744 if (init_run
) return;
60747 for (i
= 0; i
< swig_module
.size
; i
++) {
60748 if (swig_module
.types
[i
]->clientdata
) {
60749 equiv
= swig_module
.types
[i
]->cast
;
60751 if (!equiv
->converter
) {
60752 if (equiv
->type
&& !equiv
->type
->clientdata
)
60753 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
60755 equiv
= equiv
->next
;
60775 /* Python-specific SWIG API */
60776 #define SWIG_newvarlink() SWIG_Python_newvarlink()
60777 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
60778 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
60780 /* -----------------------------------------------------------------------------
60781 * global variable support code.
60782 * ----------------------------------------------------------------------------- */
60784 typedef struct swig_globalvar
{
60785 char *name
; /* Name of global variable */
60786 PyObject
*(*get_attr
)(void); /* Return the current value */
60787 int (*set_attr
)(PyObject
*); /* Set the value */
60788 struct swig_globalvar
*next
;
60791 typedef struct swig_varlinkobject
{
60793 swig_globalvar
*vars
;
60794 } swig_varlinkobject
;
60796 SWIGINTERN PyObject
*
60797 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
60798 return PyString_FromString("<Swig global variables>");
60801 SWIGINTERN PyObject
*
60802 swig_varlink_str(swig_varlinkobject
*v
) {
60803 PyObject
*str
= PyString_FromString("(");
60804 swig_globalvar
*var
;
60805 for (var
= v
->vars
; var
; var
=var
->next
) {
60806 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
60807 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
60809 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
60814 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
60815 PyObject
*str
= swig_varlink_str(v
);
60816 fprintf(fp
,"Swig global variables ");
60817 fprintf(fp
,"%s\n", PyString_AsString(str
));
60823 swig_varlink_dealloc(swig_varlinkobject
*v
) {
60824 swig_globalvar
*var
= v
->vars
;
60826 swig_globalvar
*n
= var
->next
;
60833 SWIGINTERN PyObject
*
60834 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
60835 PyObject
*res
= NULL
;
60836 swig_globalvar
*var
= v
->vars
;
60838 if (strcmp(var
->name
,n
) == 0) {
60839 res
= (*var
->get_attr
)();
60844 if (res
== NULL
&& !PyErr_Occurred()) {
60845 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
60851 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
60853 swig_globalvar
*var
= v
->vars
;
60855 if (strcmp(var
->name
,n
) == 0) {
60856 res
= (*var
->set_attr
)(p
);
60861 if (res
== 1 && !PyErr_Occurred()) {
60862 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
60867 SWIGINTERN PyTypeObject
*
60868 swig_varlink_type(void) {
60869 static char varlink__doc__
[] = "Swig var link object";
60870 static PyTypeObject varlink_type
;
60871 static int type_init
= 0;
60873 const PyTypeObject tmp
60875 PyObject_HEAD_INIT(NULL
)
60876 0, /* Number of items in variable part (ob_size) */
60877 (char *)"swigvarlink", /* Type name (tp_name) */
60878 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
60879 0, /* Itemsize (tp_itemsize) */
60880 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
60881 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
60882 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
60883 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
60884 0, /* tp_compare */
60885 (reprfunc
) swig_varlink_repr
, /* tp_repr */
60886 0, /* tp_as_number */
60887 0, /* tp_as_sequence */
60888 0, /* tp_as_mapping */
60891 (reprfunc
)swig_varlink_str
, /* tp_str */
60892 0, /* tp_getattro */
60893 0, /* tp_setattro */
60894 0, /* tp_as_buffer */
60896 varlink__doc__
, /* tp_doc */
60897 0, /* tp_traverse */
60899 0, /* tp_richcompare */
60900 0, /* tp_weaklistoffset */
60901 #if PY_VERSION_HEX >= 0x02020000
60902 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
60904 #if PY_VERSION_HEX >= 0x02030000
60907 #ifdef COUNT_ALLOCS
60908 0,0,0,0 /* tp_alloc -> tp_next */
60911 varlink_type
= tmp
;
60912 varlink_type
.ob_type
= &PyType_Type
;
60915 return &varlink_type
;
60918 /* Create a variable linking object for use later */
60919 SWIGINTERN PyObject
*
60920 SWIG_Python_newvarlink(void) {
60921 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
60925 return ((PyObject
*) result
);
60929 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
60930 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
60931 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
60933 size_t size
= strlen(name
)+1;
60934 gv
->name
= (char *)malloc(size
);
60936 strncpy(gv
->name
,name
,size
);
60937 gv
->get_attr
= get_attr
;
60938 gv
->set_attr
= set_attr
;
60939 gv
->next
= v
->vars
;
60945 SWIGINTERN PyObject
*
60947 static PyObject
*_SWIG_globals
= 0;
60948 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
60949 return _SWIG_globals
;
60952 /* -----------------------------------------------------------------------------
60953 * constants/methods manipulation
60954 * ----------------------------------------------------------------------------- */
60956 /* Install Constants */
60958 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
60961 for (i
= 0; constants
[i
].type
; ++i
) {
60962 switch(constants
[i
].type
) {
60963 case SWIG_PY_POINTER
:
60964 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
60966 case SWIG_PY_BINARY
:
60967 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
60974 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
60980 /* -----------------------------------------------------------------------------*/
60981 /* Fix SwigMethods to carry the callback ptrs when needed */
60982 /* -----------------------------------------------------------------------------*/
60985 SWIG_Python_FixMethods(PyMethodDef
*methods
,
60986 swig_const_info
*const_table
,
60987 swig_type_info
**types
,
60988 swig_type_info
**types_initial
) {
60990 for (i
= 0; methods
[i
].ml_name
; ++i
) {
60991 const char *c
= methods
[i
].ml_doc
;
60992 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
60994 swig_const_info
*ci
= 0;
60995 const char *name
= c
+ 10;
60996 for (j
= 0; const_table
[j
].type
; ++j
) {
60997 if (strncmp(const_table
[j
].name
, name
,
60998 strlen(const_table
[j
].name
)) == 0) {
60999 ci
= &(const_table
[j
]);
61004 size_t shift
= (ci
->ptype
) - types
;
61005 swig_type_info
*ty
= types_initial
[shift
];
61006 size_t ldoc
= (c
- methods
[i
].ml_doc
);
61007 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
61008 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
61011 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
61013 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
61015 strncpy(buff
, "swig_ptr: ", 10);
61017 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
61018 methods
[i
].ml_doc
= ndoc
;
61030 /* -----------------------------------------------------------------------------*
61031 * Partial Init method
61032 * -----------------------------------------------------------------------------*/
61037 SWIGEXPORT
void SWIG_init(void) {
61040 /* Fix SwigMethods to carry the callback ptrs when needed */
61041 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
61043 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
61044 d
= PyModule_GetDict(m
);
61046 SWIG_InitializeModule(0);
61047 SWIG_InstallConstants(d
,swig_const_table
);
61051 #ifndef wxPyUSE_EXPORT
61052 // Make our API structure a CObject so other modules can import it
61053 // from this module.
61054 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
61055 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
61059 SWIG_Python_SetConstant(d
, "NOT_FOUND",SWIG_From_int(static_cast< int >(wxNOT_FOUND
)));
61060 SWIG_Python_SetConstant(d
, "VSCROLL",SWIG_From_int(static_cast< int >(wxVSCROLL
)));
61061 SWIG_Python_SetConstant(d
, "HSCROLL",SWIG_From_int(static_cast< int >(wxHSCROLL
)));
61062 SWIG_Python_SetConstant(d
, "CAPTION",SWIG_From_int(static_cast< int >(wxCAPTION
)));
61063 SWIG_Python_SetConstant(d
, "DOUBLE_BORDER",SWIG_From_int(static_cast< int >(wxDOUBLE_BORDER
)));
61064 SWIG_Python_SetConstant(d
, "SUNKEN_BORDER",SWIG_From_int(static_cast< int >(wxSUNKEN_BORDER
)));
61065 SWIG_Python_SetConstant(d
, "RAISED_BORDER",SWIG_From_int(static_cast< int >(wxRAISED_BORDER
)));
61066 SWIG_Python_SetConstant(d
, "BORDER",SWIG_From_int(static_cast< int >(wxBORDER
)));
61067 SWIG_Python_SetConstant(d
, "SIMPLE_BORDER",SWIG_From_int(static_cast< int >(wxSIMPLE_BORDER
)));
61068 SWIG_Python_SetConstant(d
, "STATIC_BORDER",SWIG_From_int(static_cast< int >(wxSTATIC_BORDER
)));
61069 SWIG_Python_SetConstant(d
, "TRANSPARENT_WINDOW",SWIG_From_int(static_cast< int >(wxTRANSPARENT_WINDOW
)));
61070 SWIG_Python_SetConstant(d
, "NO_BORDER",SWIG_From_int(static_cast< int >(wxNO_BORDER
)));
61071 SWIG_Python_SetConstant(d
, "DEFAULT_CONTROL_BORDER",SWIG_From_int(static_cast< int >(wxDEFAULT_CONTROL_BORDER
)));
61072 SWIG_Python_SetConstant(d
, "DEFAULT_STATUSBAR_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_STATUSBAR_STYLE
)));
61073 SWIG_Python_SetConstant(d
, "TAB_TRAVERSAL",SWIG_From_int(static_cast< int >(wxTAB_TRAVERSAL
)));
61074 SWIG_Python_SetConstant(d
, "WANTS_CHARS",SWIG_From_int(static_cast< int >(wxWANTS_CHARS
)));
61075 SWIG_Python_SetConstant(d
, "POPUP_WINDOW",SWIG_From_int(static_cast< int >(wxPOPUP_WINDOW
)));
61076 SWIG_Python_SetConstant(d
, "CENTER_FRAME",SWIG_From_int(static_cast< int >(wxCENTER_FRAME
)));
61077 SWIG_Python_SetConstant(d
, "CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxCENTRE_ON_SCREEN
)));
61078 SWIG_Python_SetConstant(d
, "CENTER_ON_SCREEN",SWIG_From_int(static_cast< int >(wxCENTER_ON_SCREEN
)));
61079 SWIG_Python_SetConstant(d
, "CLIP_CHILDREN",SWIG_From_int(static_cast< int >(wxCLIP_CHILDREN
)));
61080 SWIG_Python_SetConstant(d
, "CLIP_SIBLINGS",SWIG_From_int(static_cast< int >(wxCLIP_SIBLINGS
)));
61081 SWIG_Python_SetConstant(d
, "WINDOW_STYLE_MASK",SWIG_From_int(static_cast< int >(wxWINDOW_STYLE_MASK
)));
61082 SWIG_Python_SetConstant(d
, "ALWAYS_SHOW_SB",SWIG_From_int(static_cast< int >(wxALWAYS_SHOW_SB
)));
61083 SWIG_Python_SetConstant(d
, "RETAINED",SWIG_From_int(static_cast< int >(wxRETAINED
)));
61084 SWIG_Python_SetConstant(d
, "BACKINGSTORE",SWIG_From_int(static_cast< int >(wxBACKINGSTORE
)));
61085 SWIG_Python_SetConstant(d
, "COLOURED",SWIG_From_int(static_cast< int >(wxCOLOURED
)));
61086 SWIG_Python_SetConstant(d
, "FIXED_LENGTH",SWIG_From_int(static_cast< int >(wxFIXED_LENGTH
)));
61087 SWIG_Python_SetConstant(d
, "LB_NEEDED_SB",SWIG_From_int(static_cast< int >(wxLB_NEEDED_SB
)));
61088 SWIG_Python_SetConstant(d
, "LB_ALWAYS_SB",SWIG_From_int(static_cast< int >(wxLB_ALWAYS_SB
)));
61089 SWIG_Python_SetConstant(d
, "LB_SORT",SWIG_From_int(static_cast< int >(wxLB_SORT
)));
61090 SWIG_Python_SetConstant(d
, "LB_SINGLE",SWIG_From_int(static_cast< int >(wxLB_SINGLE
)));
61091 SWIG_Python_SetConstant(d
, "LB_MULTIPLE",SWIG_From_int(static_cast< int >(wxLB_MULTIPLE
)));
61092 SWIG_Python_SetConstant(d
, "LB_EXTENDED",SWIG_From_int(static_cast< int >(wxLB_EXTENDED
)));
61093 SWIG_Python_SetConstant(d
, "LB_OWNERDRAW",SWIG_From_int(static_cast< int >(wxLB_OWNERDRAW
)));
61094 SWIG_Python_SetConstant(d
, "LB_HSCROLL",SWIG_From_int(static_cast< int >(wxLB_HSCROLL
)));
61095 SWIG_Python_SetConstant(d
, "CB_SIMPLE",SWIG_From_int(static_cast< int >(wxCB_SIMPLE
)));
61096 SWIG_Python_SetConstant(d
, "CB_DROPDOWN",SWIG_From_int(static_cast< int >(wxCB_DROPDOWN
)));
61097 SWIG_Python_SetConstant(d
, "CB_SORT",SWIG_From_int(static_cast< int >(wxCB_SORT
)));
61098 SWIG_Python_SetConstant(d
, "CB_READONLY",SWIG_From_int(static_cast< int >(wxCB_READONLY
)));
61099 SWIG_Python_SetConstant(d
, "RA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxRA_HORIZONTAL
)));
61100 SWIG_Python_SetConstant(d
, "RA_VERTICAL",SWIG_From_int(static_cast< int >(wxRA_VERTICAL
)));
61101 SWIG_Python_SetConstant(d
, "RA_SPECIFY_ROWS",SWIG_From_int(static_cast< int >(wxRA_SPECIFY_ROWS
)));
61102 SWIG_Python_SetConstant(d
, "RA_SPECIFY_COLS",SWIG_From_int(static_cast< int >(wxRA_SPECIFY_COLS
)));
61103 SWIG_Python_SetConstant(d
, "RA_USE_CHECKBOX",SWIG_From_int(static_cast< int >(wxRA_USE_CHECKBOX
)));
61104 SWIG_Python_SetConstant(d
, "RB_GROUP",SWIG_From_int(static_cast< int >(wxRB_GROUP
)));
61105 SWIG_Python_SetConstant(d
, "RB_SINGLE",SWIG_From_int(static_cast< int >(wxRB_SINGLE
)));
61106 SWIG_Python_SetConstant(d
, "SB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSB_HORIZONTAL
)));
61107 SWIG_Python_SetConstant(d
, "SB_VERTICAL",SWIG_From_int(static_cast< int >(wxSB_VERTICAL
)));
61108 SWIG_Python_SetConstant(d
, "RB_USE_CHECKBOX",SWIG_From_int(static_cast< int >(wxRB_USE_CHECKBOX
)));
61109 SWIG_Python_SetConstant(d
, "ST_SIZEGRIP",SWIG_From_int(static_cast< int >(wxST_SIZEGRIP
)));
61110 SWIG_Python_SetConstant(d
, "FLOOD_SURFACE",SWIG_From_int(static_cast< int >(wxFLOOD_SURFACE
)));
61111 SWIG_Python_SetConstant(d
, "FLOOD_BORDER",SWIG_From_int(static_cast< int >(wxFLOOD_BORDER
)));
61112 SWIG_Python_SetConstant(d
, "ODDEVEN_RULE",SWIG_From_int(static_cast< int >(wxODDEVEN_RULE
)));
61113 SWIG_Python_SetConstant(d
, "WINDING_RULE",SWIG_From_int(static_cast< int >(wxWINDING_RULE
)));
61114 SWIG_Python_SetConstant(d
, "TOOL_TOP",SWIG_From_int(static_cast< int >(wxTOOL_TOP
)));
61115 SWIG_Python_SetConstant(d
, "TOOL_BOTTOM",SWIG_From_int(static_cast< int >(wxTOOL_BOTTOM
)));
61116 SWIG_Python_SetConstant(d
, "TOOL_LEFT",SWIG_From_int(static_cast< int >(wxTOOL_LEFT
)));
61117 SWIG_Python_SetConstant(d
, "TOOL_RIGHT",SWIG_From_int(static_cast< int >(wxTOOL_RIGHT
)));
61118 SWIG_Python_SetConstant(d
, "OK",SWIG_From_int(static_cast< int >(wxOK
)));
61119 SWIG_Python_SetConstant(d
, "YES_NO",SWIG_From_int(static_cast< int >(wxYES_NO
)));
61120 SWIG_Python_SetConstant(d
, "CANCEL",SWIG_From_int(static_cast< int >(wxCANCEL
)));
61121 SWIG_Python_SetConstant(d
, "YES",SWIG_From_int(static_cast< int >(wxYES
)));
61122 SWIG_Python_SetConstant(d
, "NO",SWIG_From_int(static_cast< int >(wxNO
)));
61123 SWIG_Python_SetConstant(d
, "NO_DEFAULT",SWIG_From_int(static_cast< int >(wxNO_DEFAULT
)));
61124 SWIG_Python_SetConstant(d
, "YES_DEFAULT",SWIG_From_int(static_cast< int >(wxYES_DEFAULT
)));
61125 SWIG_Python_SetConstant(d
, "ICON_EXCLAMATION",SWIG_From_int(static_cast< int >(wxICON_EXCLAMATION
)));
61126 SWIG_Python_SetConstant(d
, "ICON_HAND",SWIG_From_int(static_cast< int >(wxICON_HAND
)));
61127 SWIG_Python_SetConstant(d
, "ICON_QUESTION",SWIG_From_int(static_cast< int >(wxICON_QUESTION
)));
61128 SWIG_Python_SetConstant(d
, "ICON_INFORMATION",SWIG_From_int(static_cast< int >(wxICON_INFORMATION
)));
61129 SWIG_Python_SetConstant(d
, "ICON_STOP",SWIG_From_int(static_cast< int >(wxICON_STOP
)));
61130 SWIG_Python_SetConstant(d
, "ICON_ASTERISK",SWIG_From_int(static_cast< int >(wxICON_ASTERISK
)));
61131 SWIG_Python_SetConstant(d
, "ICON_MASK",SWIG_From_int(static_cast< int >(wxICON_MASK
)));
61132 SWIG_Python_SetConstant(d
, "ICON_WARNING",SWIG_From_int(static_cast< int >(wxICON_WARNING
)));
61133 SWIG_Python_SetConstant(d
, "ICON_ERROR",SWIG_From_int(static_cast< int >(wxICON_ERROR
)));
61134 SWIG_Python_SetConstant(d
, "FORWARD",SWIG_From_int(static_cast< int >(wxFORWARD
)));
61135 SWIG_Python_SetConstant(d
, "BACKWARD",SWIG_From_int(static_cast< int >(wxBACKWARD
)));
61136 SWIG_Python_SetConstant(d
, "RESET",SWIG_From_int(static_cast< int >(wxRESET
)));
61137 SWIG_Python_SetConstant(d
, "HELP",SWIG_From_int(static_cast< int >(wxHELP
)));
61138 SWIG_Python_SetConstant(d
, "MORE",SWIG_From_int(static_cast< int >(wxMORE
)));
61139 SWIG_Python_SetConstant(d
, "SETUP",SWIG_From_int(static_cast< int >(wxSETUP
)));
61140 SWIG_Python_SetConstant(d
, "SIZE_AUTO_WIDTH",SWIG_From_int(static_cast< int >(wxSIZE_AUTO_WIDTH
)));
61141 SWIG_Python_SetConstant(d
, "SIZE_AUTO_HEIGHT",SWIG_From_int(static_cast< int >(wxSIZE_AUTO_HEIGHT
)));
61142 SWIG_Python_SetConstant(d
, "SIZE_AUTO",SWIG_From_int(static_cast< int >(wxSIZE_AUTO
)));
61143 SWIG_Python_SetConstant(d
, "SIZE_USE_EXISTING",SWIG_From_int(static_cast< int >(wxSIZE_USE_EXISTING
)));
61144 SWIG_Python_SetConstant(d
, "SIZE_ALLOW_MINUS_ONE",SWIG_From_int(static_cast< int >(wxSIZE_ALLOW_MINUS_ONE
)));
61145 SWIG_Python_SetConstant(d
, "SIZE_FORCE",SWIG_From_int(static_cast< int >(wxSIZE_FORCE
)));
61146 SWIG_Python_SetConstant(d
, "PORTRAIT",SWIG_From_int(static_cast< int >(wxPORTRAIT
)));
61147 SWIG_Python_SetConstant(d
, "LANDSCAPE",SWIG_From_int(static_cast< int >(wxLANDSCAPE
)));
61148 SWIG_Python_SetConstant(d
, "PRINT_QUALITY_HIGH",SWIG_From_int(static_cast< int >(wxPRINT_QUALITY_HIGH
)));
61149 SWIG_Python_SetConstant(d
, "PRINT_QUALITY_MEDIUM",SWIG_From_int(static_cast< int >(wxPRINT_QUALITY_MEDIUM
)));
61150 SWIG_Python_SetConstant(d
, "PRINT_QUALITY_LOW",SWIG_From_int(static_cast< int >(wxPRINT_QUALITY_LOW
)));
61151 SWIG_Python_SetConstant(d
, "PRINT_QUALITY_DRAFT",SWIG_From_int(static_cast< int >(wxPRINT_QUALITY_DRAFT
)));
61152 SWIG_Python_SetConstant(d
, "ID_ANY",SWIG_From_int(static_cast< int >(wxID_ANY
)));
61153 SWIG_Python_SetConstant(d
, "ID_SEPARATOR",SWIG_From_int(static_cast< int >(wxID_SEPARATOR
)));
61154 SWIG_Python_SetConstant(d
, "ID_NONE",SWIG_From_int(static_cast< int >(wxID_NONE
)));
61155 SWIG_Python_SetConstant(d
, "ID_LOWEST",SWIG_From_int(static_cast< int >(wxID_LOWEST
)));
61156 SWIG_Python_SetConstant(d
, "ID_OPEN",SWIG_From_int(static_cast< int >(wxID_OPEN
)));
61157 SWIG_Python_SetConstant(d
, "ID_CLOSE",SWIG_From_int(static_cast< int >(wxID_CLOSE
)));
61158 SWIG_Python_SetConstant(d
, "ID_NEW",SWIG_From_int(static_cast< int >(wxID_NEW
)));
61159 SWIG_Python_SetConstant(d
, "ID_SAVE",SWIG_From_int(static_cast< int >(wxID_SAVE
)));
61160 SWIG_Python_SetConstant(d
, "ID_SAVEAS",SWIG_From_int(static_cast< int >(wxID_SAVEAS
)));
61161 SWIG_Python_SetConstant(d
, "ID_REVERT",SWIG_From_int(static_cast< int >(wxID_REVERT
)));
61162 SWIG_Python_SetConstant(d
, "ID_EXIT",SWIG_From_int(static_cast< int >(wxID_EXIT
)));
61163 SWIG_Python_SetConstant(d
, "ID_UNDO",SWIG_From_int(static_cast< int >(wxID_UNDO
)));
61164 SWIG_Python_SetConstant(d
, "ID_REDO",SWIG_From_int(static_cast< int >(wxID_REDO
)));
61165 SWIG_Python_SetConstant(d
, "ID_HELP",SWIG_From_int(static_cast< int >(wxID_HELP
)));
61166 SWIG_Python_SetConstant(d
, "ID_PRINT",SWIG_From_int(static_cast< int >(wxID_PRINT
)));
61167 SWIG_Python_SetConstant(d
, "ID_PRINT_SETUP",SWIG_From_int(static_cast< int >(wxID_PRINT_SETUP
)));
61168 SWIG_Python_SetConstant(d
, "ID_PAGE_SETUP",SWIG_From_int(static_cast< int >(wxID_PAGE_SETUP
)));
61169 SWIG_Python_SetConstant(d
, "ID_PREVIEW",SWIG_From_int(static_cast< int >(wxID_PREVIEW
)));
61170 SWIG_Python_SetConstant(d
, "ID_ABOUT",SWIG_From_int(static_cast< int >(wxID_ABOUT
)));
61171 SWIG_Python_SetConstant(d
, "ID_HELP_CONTENTS",SWIG_From_int(static_cast< int >(wxID_HELP_CONTENTS
)));
61172 SWIG_Python_SetConstant(d
, "ID_HELP_COMMANDS",SWIG_From_int(static_cast< int >(wxID_HELP_COMMANDS
)));
61173 SWIG_Python_SetConstant(d
, "ID_HELP_PROCEDURES",SWIG_From_int(static_cast< int >(wxID_HELP_PROCEDURES
)));
61174 SWIG_Python_SetConstant(d
, "ID_HELP_CONTEXT",SWIG_From_int(static_cast< int >(wxID_HELP_CONTEXT
)));
61175 SWIG_Python_SetConstant(d
, "ID_HELP_INDEX",SWIG_From_int(static_cast< int >(wxID_HELP_INDEX
)));
61176 SWIG_Python_SetConstant(d
, "ID_HELP_SEARCH",SWIG_From_int(static_cast< int >(wxID_HELP_SEARCH
)));
61177 SWIG_Python_SetConstant(d
, "ID_CLOSE_ALL",SWIG_From_int(static_cast< int >(wxID_CLOSE_ALL
)));
61178 SWIG_Python_SetConstant(d
, "ID_PREFERENCES",SWIG_From_int(static_cast< int >(wxID_PREFERENCES
)));
61179 SWIG_Python_SetConstant(d
, "ID_EDIT",SWIG_From_int(static_cast< int >(wxID_EDIT
)));
61180 SWIG_Python_SetConstant(d
, "ID_CUT",SWIG_From_int(static_cast< int >(wxID_CUT
)));
61181 SWIG_Python_SetConstant(d
, "ID_COPY",SWIG_From_int(static_cast< int >(wxID_COPY
)));
61182 SWIG_Python_SetConstant(d
, "ID_PASTE",SWIG_From_int(static_cast< int >(wxID_PASTE
)));
61183 SWIG_Python_SetConstant(d
, "ID_CLEAR",SWIG_From_int(static_cast< int >(wxID_CLEAR
)));
61184 SWIG_Python_SetConstant(d
, "ID_FIND",SWIG_From_int(static_cast< int >(wxID_FIND
)));
61185 SWIG_Python_SetConstant(d
, "ID_DUPLICATE",SWIG_From_int(static_cast< int >(wxID_DUPLICATE
)));
61186 SWIG_Python_SetConstant(d
, "ID_SELECTALL",SWIG_From_int(static_cast< int >(wxID_SELECTALL
)));
61187 SWIG_Python_SetConstant(d
, "ID_DELETE",SWIG_From_int(static_cast< int >(wxID_DELETE
)));
61188 SWIG_Python_SetConstant(d
, "ID_REPLACE",SWIG_From_int(static_cast< int >(wxID_REPLACE
)));
61189 SWIG_Python_SetConstant(d
, "ID_REPLACE_ALL",SWIG_From_int(static_cast< int >(wxID_REPLACE_ALL
)));
61190 SWIG_Python_SetConstant(d
, "ID_PROPERTIES",SWIG_From_int(static_cast< int >(wxID_PROPERTIES
)));
61191 SWIG_Python_SetConstant(d
, "ID_VIEW_DETAILS",SWIG_From_int(static_cast< int >(wxID_VIEW_DETAILS
)));
61192 SWIG_Python_SetConstant(d
, "ID_VIEW_LARGEICONS",SWIG_From_int(static_cast< int >(wxID_VIEW_LARGEICONS
)));
61193 SWIG_Python_SetConstant(d
, "ID_VIEW_SMALLICONS",SWIG_From_int(static_cast< int >(wxID_VIEW_SMALLICONS
)));
61194 SWIG_Python_SetConstant(d
, "ID_VIEW_LIST",SWIG_From_int(static_cast< int >(wxID_VIEW_LIST
)));
61195 SWIG_Python_SetConstant(d
, "ID_VIEW_SORTDATE",SWIG_From_int(static_cast< int >(wxID_VIEW_SORTDATE
)));
61196 SWIG_Python_SetConstant(d
, "ID_VIEW_SORTNAME",SWIG_From_int(static_cast< int >(wxID_VIEW_SORTNAME
)));
61197 SWIG_Python_SetConstant(d
, "ID_VIEW_SORTSIZE",SWIG_From_int(static_cast< int >(wxID_VIEW_SORTSIZE
)));
61198 SWIG_Python_SetConstant(d
, "ID_VIEW_SORTTYPE",SWIG_From_int(static_cast< int >(wxID_VIEW_SORTTYPE
)));
61199 SWIG_Python_SetConstant(d
, "ID_FILE",SWIG_From_int(static_cast< int >(wxID_FILE
)));
61200 SWIG_Python_SetConstant(d
, "ID_FILE1",SWIG_From_int(static_cast< int >(wxID_FILE1
)));
61201 SWIG_Python_SetConstant(d
, "ID_FILE2",SWIG_From_int(static_cast< int >(wxID_FILE2
)));
61202 SWIG_Python_SetConstant(d
, "ID_FILE3",SWIG_From_int(static_cast< int >(wxID_FILE3
)));
61203 SWIG_Python_SetConstant(d
, "ID_FILE4",SWIG_From_int(static_cast< int >(wxID_FILE4
)));
61204 SWIG_Python_SetConstant(d
, "ID_FILE5",SWIG_From_int(static_cast< int >(wxID_FILE5
)));
61205 SWIG_Python_SetConstant(d
, "ID_FILE6",SWIG_From_int(static_cast< int >(wxID_FILE6
)));
61206 SWIG_Python_SetConstant(d
, "ID_FILE7",SWIG_From_int(static_cast< int >(wxID_FILE7
)));
61207 SWIG_Python_SetConstant(d
, "ID_FILE8",SWIG_From_int(static_cast< int >(wxID_FILE8
)));
61208 SWIG_Python_SetConstant(d
, "ID_FILE9",SWIG_From_int(static_cast< int >(wxID_FILE9
)));
61209 SWIG_Python_SetConstant(d
, "ID_OK",SWIG_From_int(static_cast< int >(wxID_OK
)));
61210 SWIG_Python_SetConstant(d
, "ID_CANCEL",SWIG_From_int(static_cast< int >(wxID_CANCEL
)));
61211 SWIG_Python_SetConstant(d
, "ID_APPLY",SWIG_From_int(static_cast< int >(wxID_APPLY
)));
61212 SWIG_Python_SetConstant(d
, "ID_YES",SWIG_From_int(static_cast< int >(wxID_YES
)));
61213 SWIG_Python_SetConstant(d
, "ID_NO",SWIG_From_int(static_cast< int >(wxID_NO
)));
61214 SWIG_Python_SetConstant(d
, "ID_STATIC",SWIG_From_int(static_cast< int >(wxID_STATIC
)));
61215 SWIG_Python_SetConstant(d
, "ID_FORWARD",SWIG_From_int(static_cast< int >(wxID_FORWARD
)));
61216 SWIG_Python_SetConstant(d
, "ID_BACKWARD",SWIG_From_int(static_cast< int >(wxID_BACKWARD
)));
61217 SWIG_Python_SetConstant(d
, "ID_DEFAULT",SWIG_From_int(static_cast< int >(wxID_DEFAULT
)));
61218 SWIG_Python_SetConstant(d
, "ID_MORE",SWIG_From_int(static_cast< int >(wxID_MORE
)));
61219 SWIG_Python_SetConstant(d
, "ID_SETUP",SWIG_From_int(static_cast< int >(wxID_SETUP
)));
61220 SWIG_Python_SetConstant(d
, "ID_RESET",SWIG_From_int(static_cast< int >(wxID_RESET
)));
61221 SWIG_Python_SetConstant(d
, "ID_CONTEXT_HELP",SWIG_From_int(static_cast< int >(wxID_CONTEXT_HELP
)));
61222 SWIG_Python_SetConstant(d
, "ID_YESTOALL",SWIG_From_int(static_cast< int >(wxID_YESTOALL
)));
61223 SWIG_Python_SetConstant(d
, "ID_NOTOALL",SWIG_From_int(static_cast< int >(wxID_NOTOALL
)));
61224 SWIG_Python_SetConstant(d
, "ID_ABORT",SWIG_From_int(static_cast< int >(wxID_ABORT
)));
61225 SWIG_Python_SetConstant(d
, "ID_RETRY",SWIG_From_int(static_cast< int >(wxID_RETRY
)));
61226 SWIG_Python_SetConstant(d
, "ID_IGNORE",SWIG_From_int(static_cast< int >(wxID_IGNORE
)));
61227 SWIG_Python_SetConstant(d
, "ID_ADD",SWIG_From_int(static_cast< int >(wxID_ADD
)));
61228 SWIG_Python_SetConstant(d
, "ID_REMOVE",SWIG_From_int(static_cast< int >(wxID_REMOVE
)));
61229 SWIG_Python_SetConstant(d
, "ID_UP",SWIG_From_int(static_cast< int >(wxID_UP
)));
61230 SWIG_Python_SetConstant(d
, "ID_DOWN",SWIG_From_int(static_cast< int >(wxID_DOWN
)));
61231 SWIG_Python_SetConstant(d
, "ID_HOME",SWIG_From_int(static_cast< int >(wxID_HOME
)));
61232 SWIG_Python_SetConstant(d
, "ID_REFRESH",SWIG_From_int(static_cast< int >(wxID_REFRESH
)));
61233 SWIG_Python_SetConstant(d
, "ID_STOP",SWIG_From_int(static_cast< int >(wxID_STOP
)));
61234 SWIG_Python_SetConstant(d
, "ID_INDEX",SWIG_From_int(static_cast< int >(wxID_INDEX
)));
61235 SWIG_Python_SetConstant(d
, "ID_BOLD",SWIG_From_int(static_cast< int >(wxID_BOLD
)));
61236 SWIG_Python_SetConstant(d
, "ID_ITALIC",SWIG_From_int(static_cast< int >(wxID_ITALIC
)));
61237 SWIG_Python_SetConstant(d
, "ID_JUSTIFY_CENTER",SWIG_From_int(static_cast< int >(wxID_JUSTIFY_CENTER
)));
61238 SWIG_Python_SetConstant(d
, "ID_JUSTIFY_FILL",SWIG_From_int(static_cast< int >(wxID_JUSTIFY_FILL
)));
61239 SWIG_Python_SetConstant(d
, "ID_JUSTIFY_RIGHT",SWIG_From_int(static_cast< int >(wxID_JUSTIFY_RIGHT
)));
61240 SWIG_Python_SetConstant(d
, "ID_JUSTIFY_LEFT",SWIG_From_int(static_cast< int >(wxID_JUSTIFY_LEFT
)));
61241 SWIG_Python_SetConstant(d
, "ID_UNDERLINE",SWIG_From_int(static_cast< int >(wxID_UNDERLINE
)));
61242 SWIG_Python_SetConstant(d
, "ID_INDENT",SWIG_From_int(static_cast< int >(wxID_INDENT
)));
61243 SWIG_Python_SetConstant(d
, "ID_UNINDENT",SWIG_From_int(static_cast< int >(wxID_UNINDENT
)));
61244 SWIG_Python_SetConstant(d
, "ID_ZOOM_100",SWIG_From_int(static_cast< int >(wxID_ZOOM_100
)));
61245 SWIG_Python_SetConstant(d
, "ID_ZOOM_FIT",SWIG_From_int(static_cast< int >(wxID_ZOOM_FIT
)));
61246 SWIG_Python_SetConstant(d
, "ID_ZOOM_IN",SWIG_From_int(static_cast< int >(wxID_ZOOM_IN
)));
61247 SWIG_Python_SetConstant(d
, "ID_ZOOM_OUT",SWIG_From_int(static_cast< int >(wxID_ZOOM_OUT
)));
61248 SWIG_Python_SetConstant(d
, "ID_UNDELETE",SWIG_From_int(static_cast< int >(wxID_UNDELETE
)));
61249 SWIG_Python_SetConstant(d
, "ID_REVERT_TO_SAVED",SWIG_From_int(static_cast< int >(wxID_REVERT_TO_SAVED
)));
61250 SWIG_Python_SetConstant(d
, "ID_HIGHEST",SWIG_From_int(static_cast< int >(wxID_HIGHEST
)));
61251 SWIG_Python_SetConstant(d
, "MENU_TEAROFF",SWIG_From_int(static_cast< int >(wxMENU_TEAROFF
)));
61252 SWIG_Python_SetConstant(d
, "MB_DOCKABLE",SWIG_From_int(static_cast< int >(wxMB_DOCKABLE
)));
61253 SWIG_Python_SetConstant(d
, "NO_FULL_REPAINT_ON_RESIZE",SWIG_From_int(static_cast< int >(wxNO_FULL_REPAINT_ON_RESIZE
)));
61254 SWIG_Python_SetConstant(d
, "FULL_REPAINT_ON_RESIZE",SWIG_From_int(static_cast< int >(wxFULL_REPAINT_ON_RESIZE
)));
61255 SWIG_Python_SetConstant(d
, "LI_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLI_HORIZONTAL
)));
61256 SWIG_Python_SetConstant(d
, "LI_VERTICAL",SWIG_From_int(static_cast< int >(wxLI_VERTICAL
)));
61257 SWIG_Python_SetConstant(d
, "WS_EX_VALIDATE_RECURSIVELY",SWIG_From_int(static_cast< int >(wxWS_EX_VALIDATE_RECURSIVELY
)));
61258 SWIG_Python_SetConstant(d
, "WS_EX_BLOCK_EVENTS",SWIG_From_int(static_cast< int >(wxWS_EX_BLOCK_EVENTS
)));
61259 SWIG_Python_SetConstant(d
, "WS_EX_TRANSIENT",SWIG_From_int(static_cast< int >(wxWS_EX_TRANSIENT
)));
61260 SWIG_Python_SetConstant(d
, "WS_EX_THEMED_BACKGROUND",SWIG_From_int(static_cast< int >(wxWS_EX_THEMED_BACKGROUND
)));
61261 SWIG_Python_SetConstant(d
, "WS_EX_PROCESS_IDLE",SWIG_From_int(static_cast< int >(wxWS_EX_PROCESS_IDLE
)));
61262 SWIG_Python_SetConstant(d
, "WS_EX_PROCESS_UI_UPDATES",SWIG_From_int(static_cast< int >(wxWS_EX_PROCESS_UI_UPDATES
)));
61263 SWIG_Python_SetConstant(d
, "MM_TEXT",SWIG_From_int(static_cast< int >(wxMM_TEXT
)));
61264 SWIG_Python_SetConstant(d
, "MM_LOMETRIC",SWIG_From_int(static_cast< int >(wxMM_LOMETRIC
)));
61265 SWIG_Python_SetConstant(d
, "MM_HIMETRIC",SWIG_From_int(static_cast< int >(wxMM_HIMETRIC
)));
61266 SWIG_Python_SetConstant(d
, "MM_LOENGLISH",SWIG_From_int(static_cast< int >(wxMM_LOENGLISH
)));
61267 SWIG_Python_SetConstant(d
, "MM_HIENGLISH",SWIG_From_int(static_cast< int >(wxMM_HIENGLISH
)));
61268 SWIG_Python_SetConstant(d
, "MM_TWIPS",SWIG_From_int(static_cast< int >(wxMM_TWIPS
)));
61269 SWIG_Python_SetConstant(d
, "MM_ISOTROPIC",SWIG_From_int(static_cast< int >(wxMM_ISOTROPIC
)));
61270 SWIG_Python_SetConstant(d
, "MM_ANISOTROPIC",SWIG_From_int(static_cast< int >(wxMM_ANISOTROPIC
)));
61271 SWIG_Python_SetConstant(d
, "MM_POINTS",SWIG_From_int(static_cast< int >(wxMM_POINTS
)));
61272 SWIG_Python_SetConstant(d
, "MM_METRIC",SWIG_From_int(static_cast< int >(wxMM_METRIC
)));
61273 SWIG_Python_SetConstant(d
, "CENTRE",SWIG_From_int(static_cast< int >(wxCENTRE
)));
61274 SWIG_Python_SetConstant(d
, "CENTER",SWIG_From_int(static_cast< int >(wxCENTER
)));
61275 SWIG_Python_SetConstant(d
, "HORIZONTAL",SWIG_From_int(static_cast< int >(wxHORIZONTAL
)));
61276 SWIG_Python_SetConstant(d
, "VERTICAL",SWIG_From_int(static_cast< int >(wxVERTICAL
)));
61277 SWIG_Python_SetConstant(d
, "BOTH",SWIG_From_int(static_cast< int >(wxBOTH
)));
61278 SWIG_Python_SetConstant(d
, "LEFT",SWIG_From_int(static_cast< int >(wxLEFT
)));
61279 SWIG_Python_SetConstant(d
, "RIGHT",SWIG_From_int(static_cast< int >(wxRIGHT
)));
61280 SWIG_Python_SetConstant(d
, "UP",SWIG_From_int(static_cast< int >(wxUP
)));
61281 SWIG_Python_SetConstant(d
, "DOWN",SWIG_From_int(static_cast< int >(wxDOWN
)));
61282 SWIG_Python_SetConstant(d
, "TOP",SWIG_From_int(static_cast< int >(wxTOP
)));
61283 SWIG_Python_SetConstant(d
, "BOTTOM",SWIG_From_int(static_cast< int >(wxBOTTOM
)));
61284 SWIG_Python_SetConstant(d
, "NORTH",SWIG_From_int(static_cast< int >(wxNORTH
)));
61285 SWIG_Python_SetConstant(d
, "SOUTH",SWIG_From_int(static_cast< int >(wxSOUTH
)));
61286 SWIG_Python_SetConstant(d
, "WEST",SWIG_From_int(static_cast< int >(wxWEST
)));
61287 SWIG_Python_SetConstant(d
, "EAST",SWIG_From_int(static_cast< int >(wxEAST
)));
61288 SWIG_Python_SetConstant(d
, "ALL",SWIG_From_int(static_cast< int >(wxALL
)));
61289 SWIG_Python_SetConstant(d
, "ALIGN_NOT",SWIG_From_int(static_cast< int >(wxALIGN_NOT
)));
61290 SWIG_Python_SetConstant(d
, "ALIGN_CENTER_HORIZONTAL",SWIG_From_int(static_cast< int >(wxALIGN_CENTER_HORIZONTAL
)));
61291 SWIG_Python_SetConstant(d
, "ALIGN_CENTRE_HORIZONTAL",SWIG_From_int(static_cast< int >(wxALIGN_CENTRE_HORIZONTAL
)));
61292 SWIG_Python_SetConstant(d
, "ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxALIGN_LEFT
)));
61293 SWIG_Python_SetConstant(d
, "ALIGN_TOP",SWIG_From_int(static_cast< int >(wxALIGN_TOP
)));
61294 SWIG_Python_SetConstant(d
, "ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxALIGN_RIGHT
)));
61295 SWIG_Python_SetConstant(d
, "ALIGN_BOTTOM",SWIG_From_int(static_cast< int >(wxALIGN_BOTTOM
)));
61296 SWIG_Python_SetConstant(d
, "ALIGN_CENTER_VERTICAL",SWIG_From_int(static_cast< int >(wxALIGN_CENTER_VERTICAL
)));
61297 SWIG_Python_SetConstant(d
, "ALIGN_CENTRE_VERTICAL",SWIG_From_int(static_cast< int >(wxALIGN_CENTRE_VERTICAL
)));
61298 SWIG_Python_SetConstant(d
, "ALIGN_CENTER",SWIG_From_int(static_cast< int >(wxALIGN_CENTER
)));
61299 SWIG_Python_SetConstant(d
, "ALIGN_CENTRE",SWIG_From_int(static_cast< int >(wxALIGN_CENTRE
)));
61300 SWIG_Python_SetConstant(d
, "ALIGN_MASK",SWIG_From_int(static_cast< int >(wxALIGN_MASK
)));
61301 SWIG_Python_SetConstant(d
, "STRETCH_NOT",SWIG_From_int(static_cast< int >(wxSTRETCH_NOT
)));
61302 SWIG_Python_SetConstant(d
, "SHRINK",SWIG_From_int(static_cast< int >(wxSHRINK
)));
61303 SWIG_Python_SetConstant(d
, "GROW",SWIG_From_int(static_cast< int >(wxGROW
)));
61304 SWIG_Python_SetConstant(d
, "EXPAND",SWIG_From_int(static_cast< int >(wxEXPAND
)));
61305 SWIG_Python_SetConstant(d
, "SHAPED",SWIG_From_int(static_cast< int >(wxSHAPED
)));
61306 SWIG_Python_SetConstant(d
, "FIXED_MINSIZE",SWIG_From_int(static_cast< int >(wxFIXED_MINSIZE
)));
61307 SWIG_Python_SetConstant(d
, "TILE",SWIG_From_int(static_cast< int >(wxTILE
)));
61308 SWIG_Python_SetConstant(d
, "BORDER_DEFAULT",SWIG_From_int(static_cast< int >(wxBORDER_DEFAULT
)));
61309 SWIG_Python_SetConstant(d
, "BORDER_NONE",SWIG_From_int(static_cast< int >(wxBORDER_NONE
)));
61310 SWIG_Python_SetConstant(d
, "BORDER_STATIC",SWIG_From_int(static_cast< int >(wxBORDER_STATIC
)));
61311 SWIG_Python_SetConstant(d
, "BORDER_SIMPLE",SWIG_From_int(static_cast< int >(wxBORDER_SIMPLE
)));
61312 SWIG_Python_SetConstant(d
, "BORDER_RAISED",SWIG_From_int(static_cast< int >(wxBORDER_RAISED
)));
61313 SWIG_Python_SetConstant(d
, "BORDER_SUNKEN",SWIG_From_int(static_cast< int >(wxBORDER_SUNKEN
)));
61314 SWIG_Python_SetConstant(d
, "BORDER_DOUBLE",SWIG_From_int(static_cast< int >(wxBORDER_DOUBLE
)));
61315 SWIG_Python_SetConstant(d
, "BORDER_MASK",SWIG_From_int(static_cast< int >(wxBORDER_MASK
)));
61316 SWIG_Python_SetConstant(d
, "BG_STYLE_SYSTEM",SWIG_From_int(static_cast< int >(wxBG_STYLE_SYSTEM
)));
61317 SWIG_Python_SetConstant(d
, "BG_STYLE_COLOUR",SWIG_From_int(static_cast< int >(wxBG_STYLE_COLOUR
)));
61318 SWIG_Python_SetConstant(d
, "BG_STYLE_CUSTOM",SWIG_From_int(static_cast< int >(wxBG_STYLE_CUSTOM
)));
61319 SWIG_Python_SetConstant(d
, "DEFAULT",SWIG_From_int(static_cast< int >(wxDEFAULT
)));
61320 SWIG_Python_SetConstant(d
, "DECORATIVE",SWIG_From_int(static_cast< int >(wxDECORATIVE
)));
61321 SWIG_Python_SetConstant(d
, "ROMAN",SWIG_From_int(static_cast< int >(wxROMAN
)));
61322 SWIG_Python_SetConstant(d
, "SCRIPT",SWIG_From_int(static_cast< int >(wxSCRIPT
)));
61323 SWIG_Python_SetConstant(d
, "SWISS",SWIG_From_int(static_cast< int >(wxSWISS
)));
61324 SWIG_Python_SetConstant(d
, "MODERN",SWIG_From_int(static_cast< int >(wxMODERN
)));
61325 SWIG_Python_SetConstant(d
, "TELETYPE",SWIG_From_int(static_cast< int >(wxTELETYPE
)));
61326 SWIG_Python_SetConstant(d
, "VARIABLE",SWIG_From_int(static_cast< int >(wxVARIABLE
)));
61327 SWIG_Python_SetConstant(d
, "FIXED",SWIG_From_int(static_cast< int >(wxFIXED
)));
61328 SWIG_Python_SetConstant(d
, "NORMAL",SWIG_From_int(static_cast< int >(wxNORMAL
)));
61329 SWIG_Python_SetConstant(d
, "LIGHT",SWIG_From_int(static_cast< int >(wxLIGHT
)));
61330 SWIG_Python_SetConstant(d
, "BOLD",SWIG_From_int(static_cast< int >(wxBOLD
)));
61331 SWIG_Python_SetConstant(d
, "ITALIC",SWIG_From_int(static_cast< int >(wxITALIC
)));
61332 SWIG_Python_SetConstant(d
, "SLANT",SWIG_From_int(static_cast< int >(wxSLANT
)));
61333 SWIG_Python_SetConstant(d
, "SOLID",SWIG_From_int(static_cast< int >(wxSOLID
)));
61334 SWIG_Python_SetConstant(d
, "DOT",SWIG_From_int(static_cast< int >(wxDOT
)));
61335 SWIG_Python_SetConstant(d
, "LONG_DASH",SWIG_From_int(static_cast< int >(wxLONG_DASH
)));
61336 SWIG_Python_SetConstant(d
, "SHORT_DASH",SWIG_From_int(static_cast< int >(wxSHORT_DASH
)));
61337 SWIG_Python_SetConstant(d
, "DOT_DASH",SWIG_From_int(static_cast< int >(wxDOT_DASH
)));
61338 SWIG_Python_SetConstant(d
, "USER_DASH",SWIG_From_int(static_cast< int >(wxUSER_DASH
)));
61339 SWIG_Python_SetConstant(d
, "TRANSPARENT",SWIG_From_int(static_cast< int >(wxTRANSPARENT
)));
61340 SWIG_Python_SetConstant(d
, "STIPPLE",SWIG_From_int(static_cast< int >(wxSTIPPLE
)));
61341 SWIG_Python_SetConstant(d
, "STIPPLE_MASK",SWIG_From_int(static_cast< int >(wxSTIPPLE_MASK
)));
61342 SWIG_Python_SetConstant(d
, "STIPPLE_MASK_OPAQUE",SWIG_From_int(static_cast< int >(wxSTIPPLE_MASK_OPAQUE
)));
61343 SWIG_Python_SetConstant(d
, "BDIAGONAL_HATCH",SWIG_From_int(static_cast< int >(wxBDIAGONAL_HATCH
)));
61344 SWIG_Python_SetConstant(d
, "CROSSDIAG_HATCH",SWIG_From_int(static_cast< int >(wxCROSSDIAG_HATCH
)));
61345 SWIG_Python_SetConstant(d
, "FDIAGONAL_HATCH",SWIG_From_int(static_cast< int >(wxFDIAGONAL_HATCH
)));
61346 SWIG_Python_SetConstant(d
, "CROSS_HATCH",SWIG_From_int(static_cast< int >(wxCROSS_HATCH
)));
61347 SWIG_Python_SetConstant(d
, "HORIZONTAL_HATCH",SWIG_From_int(static_cast< int >(wxHORIZONTAL_HATCH
)));
61348 SWIG_Python_SetConstant(d
, "VERTICAL_HATCH",SWIG_From_int(static_cast< int >(wxVERTICAL_HATCH
)));
61349 SWIG_Python_SetConstant(d
, "JOIN_BEVEL",SWIG_From_int(static_cast< int >(wxJOIN_BEVEL
)));
61350 SWIG_Python_SetConstant(d
, "JOIN_MITER",SWIG_From_int(static_cast< int >(wxJOIN_MITER
)));
61351 SWIG_Python_SetConstant(d
, "JOIN_ROUND",SWIG_From_int(static_cast< int >(wxJOIN_ROUND
)));
61352 SWIG_Python_SetConstant(d
, "CAP_ROUND",SWIG_From_int(static_cast< int >(wxCAP_ROUND
)));
61353 SWIG_Python_SetConstant(d
, "CAP_PROJECTING",SWIG_From_int(static_cast< int >(wxCAP_PROJECTING
)));
61354 SWIG_Python_SetConstant(d
, "CAP_BUTT",SWIG_From_int(static_cast< int >(wxCAP_BUTT
)));
61355 SWIG_Python_SetConstant(d
, "CLEAR",SWIG_From_int(static_cast< int >(wxCLEAR
)));
61356 SWIG_Python_SetConstant(d
, "XOR",SWIG_From_int(static_cast< int >(wxXOR
)));
61357 SWIG_Python_SetConstant(d
, "INVERT",SWIG_From_int(static_cast< int >(wxINVERT
)));
61358 SWIG_Python_SetConstant(d
, "OR_REVERSE",SWIG_From_int(static_cast< int >(wxOR_REVERSE
)));
61359 SWIG_Python_SetConstant(d
, "AND_REVERSE",SWIG_From_int(static_cast< int >(wxAND_REVERSE
)));
61360 SWIG_Python_SetConstant(d
, "COPY",SWIG_From_int(static_cast< int >(wxCOPY
)));
61361 SWIG_Python_SetConstant(d
, "AND",SWIG_From_int(static_cast< int >(wxAND
)));
61362 SWIG_Python_SetConstant(d
, "AND_INVERT",SWIG_From_int(static_cast< int >(wxAND_INVERT
)));
61363 SWIG_Python_SetConstant(d
, "NO_OP",SWIG_From_int(static_cast< int >(wxNO_OP
)));
61364 SWIG_Python_SetConstant(d
, "NOR",SWIG_From_int(static_cast< int >(wxNOR
)));
61365 SWIG_Python_SetConstant(d
, "EQUIV",SWIG_From_int(static_cast< int >(wxEQUIV
)));
61366 SWIG_Python_SetConstant(d
, "SRC_INVERT",SWIG_From_int(static_cast< int >(wxSRC_INVERT
)));
61367 SWIG_Python_SetConstant(d
, "OR_INVERT",SWIG_From_int(static_cast< int >(wxOR_INVERT
)));
61368 SWIG_Python_SetConstant(d
, "NAND",SWIG_From_int(static_cast< int >(wxNAND
)));
61369 SWIG_Python_SetConstant(d
, "OR",SWIG_From_int(static_cast< int >(wxOR
)));
61370 SWIG_Python_SetConstant(d
, "SET",SWIG_From_int(static_cast< int >(wxSET
)));
61371 SWIG_Python_SetConstant(d
, "WXK_BACK",SWIG_From_int(static_cast< int >(WXK_BACK
)));
61372 SWIG_Python_SetConstant(d
, "WXK_TAB",SWIG_From_int(static_cast< int >(WXK_TAB
)));
61373 SWIG_Python_SetConstant(d
, "WXK_RETURN",SWIG_From_int(static_cast< int >(WXK_RETURN
)));
61374 SWIG_Python_SetConstant(d
, "WXK_ESCAPE",SWIG_From_int(static_cast< int >(WXK_ESCAPE
)));
61375 SWIG_Python_SetConstant(d
, "WXK_SPACE",SWIG_From_int(static_cast< int >(WXK_SPACE
)));
61376 SWIG_Python_SetConstant(d
, "WXK_DELETE",SWIG_From_int(static_cast< int >(WXK_DELETE
)));
61377 SWIG_Python_SetConstant(d
, "WXK_START",SWIG_From_int(static_cast< int >(WXK_START
)));
61378 SWIG_Python_SetConstant(d
, "WXK_LBUTTON",SWIG_From_int(static_cast< int >(WXK_LBUTTON
)));
61379 SWIG_Python_SetConstant(d
, "WXK_RBUTTON",SWIG_From_int(static_cast< int >(WXK_RBUTTON
)));
61380 SWIG_Python_SetConstant(d
, "WXK_CANCEL",SWIG_From_int(static_cast< int >(WXK_CANCEL
)));
61381 SWIG_Python_SetConstant(d
, "WXK_MBUTTON",SWIG_From_int(static_cast< int >(WXK_MBUTTON
)));
61382 SWIG_Python_SetConstant(d
, "WXK_CLEAR",SWIG_From_int(static_cast< int >(WXK_CLEAR
)));
61383 SWIG_Python_SetConstant(d
, "WXK_SHIFT",SWIG_From_int(static_cast< int >(WXK_SHIFT
)));
61384 SWIG_Python_SetConstant(d
, "WXK_ALT",SWIG_From_int(static_cast< int >(WXK_ALT
)));
61385 SWIG_Python_SetConstant(d
, "WXK_CONTROL",SWIG_From_int(static_cast< int >(WXK_CONTROL
)));
61386 SWIG_Python_SetConstant(d
, "WXK_MENU",SWIG_From_int(static_cast< int >(WXK_MENU
)));
61387 SWIG_Python_SetConstant(d
, "WXK_PAUSE",SWIG_From_int(static_cast< int >(WXK_PAUSE
)));
61388 SWIG_Python_SetConstant(d
, "WXK_CAPITAL",SWIG_From_int(static_cast< int >(WXK_CAPITAL
)));
61389 SWIG_Python_SetConstant(d
, "WXK_END",SWIG_From_int(static_cast< int >(WXK_END
)));
61390 SWIG_Python_SetConstant(d
, "WXK_HOME",SWIG_From_int(static_cast< int >(WXK_HOME
)));
61391 SWIG_Python_SetConstant(d
, "WXK_LEFT",SWIG_From_int(static_cast< int >(WXK_LEFT
)));
61392 SWIG_Python_SetConstant(d
, "WXK_UP",SWIG_From_int(static_cast< int >(WXK_UP
)));
61393 SWIG_Python_SetConstant(d
, "WXK_RIGHT",SWIG_From_int(static_cast< int >(WXK_RIGHT
)));
61394 SWIG_Python_SetConstant(d
, "WXK_DOWN",SWIG_From_int(static_cast< int >(WXK_DOWN
)));
61395 SWIG_Python_SetConstant(d
, "WXK_SELECT",SWIG_From_int(static_cast< int >(WXK_SELECT
)));
61396 SWIG_Python_SetConstant(d
, "WXK_PRINT",SWIG_From_int(static_cast< int >(WXK_PRINT
)));
61397 SWIG_Python_SetConstant(d
, "WXK_EXECUTE",SWIG_From_int(static_cast< int >(WXK_EXECUTE
)));
61398 SWIG_Python_SetConstant(d
, "WXK_SNAPSHOT",SWIG_From_int(static_cast< int >(WXK_SNAPSHOT
)));
61399 SWIG_Python_SetConstant(d
, "WXK_INSERT",SWIG_From_int(static_cast< int >(WXK_INSERT
)));
61400 SWIG_Python_SetConstant(d
, "WXK_HELP",SWIG_From_int(static_cast< int >(WXK_HELP
)));
61401 SWIG_Python_SetConstant(d
, "WXK_NUMPAD0",SWIG_From_int(static_cast< int >(WXK_NUMPAD0
)));
61402 SWIG_Python_SetConstant(d
, "WXK_NUMPAD1",SWIG_From_int(static_cast< int >(WXK_NUMPAD1
)));
61403 SWIG_Python_SetConstant(d
, "WXK_NUMPAD2",SWIG_From_int(static_cast< int >(WXK_NUMPAD2
)));
61404 SWIG_Python_SetConstant(d
, "WXK_NUMPAD3",SWIG_From_int(static_cast< int >(WXK_NUMPAD3
)));
61405 SWIG_Python_SetConstant(d
, "WXK_NUMPAD4",SWIG_From_int(static_cast< int >(WXK_NUMPAD4
)));
61406 SWIG_Python_SetConstant(d
, "WXK_NUMPAD5",SWIG_From_int(static_cast< int >(WXK_NUMPAD5
)));
61407 SWIG_Python_SetConstant(d
, "WXK_NUMPAD6",SWIG_From_int(static_cast< int >(WXK_NUMPAD6
)));
61408 SWIG_Python_SetConstant(d
, "WXK_NUMPAD7",SWIG_From_int(static_cast< int >(WXK_NUMPAD7
)));
61409 SWIG_Python_SetConstant(d
, "WXK_NUMPAD8",SWIG_From_int(static_cast< int >(WXK_NUMPAD8
)));
61410 SWIG_Python_SetConstant(d
, "WXK_NUMPAD9",SWIG_From_int(static_cast< int >(WXK_NUMPAD9
)));
61411 SWIG_Python_SetConstant(d
, "WXK_MULTIPLY",SWIG_From_int(static_cast< int >(WXK_MULTIPLY
)));
61412 SWIG_Python_SetConstant(d
, "WXK_ADD",SWIG_From_int(static_cast< int >(WXK_ADD
)));
61413 SWIG_Python_SetConstant(d
, "WXK_SEPARATOR",SWIG_From_int(static_cast< int >(WXK_SEPARATOR
)));
61414 SWIG_Python_SetConstant(d
, "WXK_SUBTRACT",SWIG_From_int(static_cast< int >(WXK_SUBTRACT
)));
61415 SWIG_Python_SetConstant(d
, "WXK_DECIMAL",SWIG_From_int(static_cast< int >(WXK_DECIMAL
)));
61416 SWIG_Python_SetConstant(d
, "WXK_DIVIDE",SWIG_From_int(static_cast< int >(WXK_DIVIDE
)));
61417 SWIG_Python_SetConstant(d
, "WXK_F1",SWIG_From_int(static_cast< int >(WXK_F1
)));
61418 SWIG_Python_SetConstant(d
, "WXK_F2",SWIG_From_int(static_cast< int >(WXK_F2
)));
61419 SWIG_Python_SetConstant(d
, "WXK_F3",SWIG_From_int(static_cast< int >(WXK_F3
)));
61420 SWIG_Python_SetConstant(d
, "WXK_F4",SWIG_From_int(static_cast< int >(WXK_F4
)));
61421 SWIG_Python_SetConstant(d
, "WXK_F5",SWIG_From_int(static_cast< int >(WXK_F5
)));
61422 SWIG_Python_SetConstant(d
, "WXK_F6",SWIG_From_int(static_cast< int >(WXK_F6
)));
61423 SWIG_Python_SetConstant(d
, "WXK_F7",SWIG_From_int(static_cast< int >(WXK_F7
)));
61424 SWIG_Python_SetConstant(d
, "WXK_F8",SWIG_From_int(static_cast< int >(WXK_F8
)));
61425 SWIG_Python_SetConstant(d
, "WXK_F9",SWIG_From_int(static_cast< int >(WXK_F9
)));
61426 SWIG_Python_SetConstant(d
, "WXK_F10",SWIG_From_int(static_cast< int >(WXK_F10
)));
61427 SWIG_Python_SetConstant(d
, "WXK_F11",SWIG_From_int(static_cast< int >(WXK_F11
)));
61428 SWIG_Python_SetConstant(d
, "WXK_F12",SWIG_From_int(static_cast< int >(WXK_F12
)));
61429 SWIG_Python_SetConstant(d
, "WXK_F13",SWIG_From_int(static_cast< int >(WXK_F13
)));
61430 SWIG_Python_SetConstant(d
, "WXK_F14",SWIG_From_int(static_cast< int >(WXK_F14
)));
61431 SWIG_Python_SetConstant(d
, "WXK_F15",SWIG_From_int(static_cast< int >(WXK_F15
)));
61432 SWIG_Python_SetConstant(d
, "WXK_F16",SWIG_From_int(static_cast< int >(WXK_F16
)));
61433 SWIG_Python_SetConstant(d
, "WXK_F17",SWIG_From_int(static_cast< int >(WXK_F17
)));
61434 SWIG_Python_SetConstant(d
, "WXK_F18",SWIG_From_int(static_cast< int >(WXK_F18
)));
61435 SWIG_Python_SetConstant(d
, "WXK_F19",SWIG_From_int(static_cast< int >(WXK_F19
)));
61436 SWIG_Python_SetConstant(d
, "WXK_F20",SWIG_From_int(static_cast< int >(WXK_F20
)));
61437 SWIG_Python_SetConstant(d
, "WXK_F21",SWIG_From_int(static_cast< int >(WXK_F21
)));
61438 SWIG_Python_SetConstant(d
, "WXK_F22",SWIG_From_int(static_cast< int >(WXK_F22
)));
61439 SWIG_Python_SetConstant(d
, "WXK_F23",SWIG_From_int(static_cast< int >(WXK_F23
)));
61440 SWIG_Python_SetConstant(d
, "WXK_F24",SWIG_From_int(static_cast< int >(WXK_F24
)));
61441 SWIG_Python_SetConstant(d
, "WXK_NUMLOCK",SWIG_From_int(static_cast< int >(WXK_NUMLOCK
)));
61442 SWIG_Python_SetConstant(d
, "WXK_SCROLL",SWIG_From_int(static_cast< int >(WXK_SCROLL
)));
61443 SWIG_Python_SetConstant(d
, "WXK_PAGEUP",SWIG_From_int(static_cast< int >(WXK_PAGEUP
)));
61444 SWIG_Python_SetConstant(d
, "WXK_PAGEDOWN",SWIG_From_int(static_cast< int >(WXK_PAGEDOWN
)));
61445 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_SPACE",SWIG_From_int(static_cast< int >(WXK_NUMPAD_SPACE
)));
61446 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_TAB",SWIG_From_int(static_cast< int >(WXK_NUMPAD_TAB
)));
61447 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_ENTER",SWIG_From_int(static_cast< int >(WXK_NUMPAD_ENTER
)));
61448 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_F1",SWIG_From_int(static_cast< int >(WXK_NUMPAD_F1
)));
61449 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_F2",SWIG_From_int(static_cast< int >(WXK_NUMPAD_F2
)));
61450 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_F3",SWIG_From_int(static_cast< int >(WXK_NUMPAD_F3
)));
61451 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_F4",SWIG_From_int(static_cast< int >(WXK_NUMPAD_F4
)));
61452 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_HOME",SWIG_From_int(static_cast< int >(WXK_NUMPAD_HOME
)));
61453 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_LEFT",SWIG_From_int(static_cast< int >(WXK_NUMPAD_LEFT
)));
61454 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_UP",SWIG_From_int(static_cast< int >(WXK_NUMPAD_UP
)));
61455 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_RIGHT",SWIG_From_int(static_cast< int >(WXK_NUMPAD_RIGHT
)));
61456 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_DOWN",SWIG_From_int(static_cast< int >(WXK_NUMPAD_DOWN
)));
61457 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_PAGEUP",SWIG_From_int(static_cast< int >(WXK_NUMPAD_PAGEUP
)));
61458 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_PAGEDOWN",SWIG_From_int(static_cast< int >(WXK_NUMPAD_PAGEDOWN
)));
61459 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_END",SWIG_From_int(static_cast< int >(WXK_NUMPAD_END
)));
61460 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_BEGIN",SWIG_From_int(static_cast< int >(WXK_NUMPAD_BEGIN
)));
61461 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_INSERT",SWIG_From_int(static_cast< int >(WXK_NUMPAD_INSERT
)));
61462 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_DELETE",SWIG_From_int(static_cast< int >(WXK_NUMPAD_DELETE
)));
61463 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_EQUAL",SWIG_From_int(static_cast< int >(WXK_NUMPAD_EQUAL
)));
61464 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_MULTIPLY",SWIG_From_int(static_cast< int >(WXK_NUMPAD_MULTIPLY
)));
61465 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_ADD",SWIG_From_int(static_cast< int >(WXK_NUMPAD_ADD
)));
61466 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_SEPARATOR",SWIG_From_int(static_cast< int >(WXK_NUMPAD_SEPARATOR
)));
61467 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_SUBTRACT",SWIG_From_int(static_cast< int >(WXK_NUMPAD_SUBTRACT
)));
61468 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_DECIMAL",SWIG_From_int(static_cast< int >(WXK_NUMPAD_DECIMAL
)));
61469 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_DIVIDE",SWIG_From_int(static_cast< int >(WXK_NUMPAD_DIVIDE
)));
61470 SWIG_Python_SetConstant(d
, "WXK_WINDOWS_LEFT",SWIG_From_int(static_cast< int >(WXK_WINDOWS_LEFT
)));
61471 SWIG_Python_SetConstant(d
, "WXK_WINDOWS_RIGHT",SWIG_From_int(static_cast< int >(WXK_WINDOWS_RIGHT
)));
61472 SWIG_Python_SetConstant(d
, "WXK_WINDOWS_MENU",SWIG_From_int(static_cast< int >(WXK_WINDOWS_MENU
)));
61473 SWIG_Python_SetConstant(d
, "WXK_COMMAND",SWIG_From_int(static_cast< int >(WXK_COMMAND
)));
61474 SWIG_Python_SetConstant(d
, "WXK_SPECIAL1",SWIG_From_int(static_cast< int >(WXK_SPECIAL1
)));
61475 SWIG_Python_SetConstant(d
, "WXK_SPECIAL2",SWIG_From_int(static_cast< int >(WXK_SPECIAL2
)));
61476 SWIG_Python_SetConstant(d
, "WXK_SPECIAL3",SWIG_From_int(static_cast< int >(WXK_SPECIAL3
)));
61477 SWIG_Python_SetConstant(d
, "WXK_SPECIAL4",SWIG_From_int(static_cast< int >(WXK_SPECIAL4
)));
61478 SWIG_Python_SetConstant(d
, "WXK_SPECIAL5",SWIG_From_int(static_cast< int >(WXK_SPECIAL5
)));
61479 SWIG_Python_SetConstant(d
, "WXK_SPECIAL6",SWIG_From_int(static_cast< int >(WXK_SPECIAL6
)));
61480 SWIG_Python_SetConstant(d
, "WXK_SPECIAL7",SWIG_From_int(static_cast< int >(WXK_SPECIAL7
)));
61481 SWIG_Python_SetConstant(d
, "WXK_SPECIAL8",SWIG_From_int(static_cast< int >(WXK_SPECIAL8
)));
61482 SWIG_Python_SetConstant(d
, "WXK_SPECIAL9",SWIG_From_int(static_cast< int >(WXK_SPECIAL9
)));
61483 SWIG_Python_SetConstant(d
, "WXK_SPECIAL10",SWIG_From_int(static_cast< int >(WXK_SPECIAL10
)));
61484 SWIG_Python_SetConstant(d
, "WXK_SPECIAL11",SWIG_From_int(static_cast< int >(WXK_SPECIAL11
)));
61485 SWIG_Python_SetConstant(d
, "WXK_SPECIAL12",SWIG_From_int(static_cast< int >(WXK_SPECIAL12
)));
61486 SWIG_Python_SetConstant(d
, "WXK_SPECIAL13",SWIG_From_int(static_cast< int >(WXK_SPECIAL13
)));
61487 SWIG_Python_SetConstant(d
, "WXK_SPECIAL14",SWIG_From_int(static_cast< int >(WXK_SPECIAL14
)));
61488 SWIG_Python_SetConstant(d
, "WXK_SPECIAL15",SWIG_From_int(static_cast< int >(WXK_SPECIAL15
)));
61489 SWIG_Python_SetConstant(d
, "WXK_SPECIAL16",SWIG_From_int(static_cast< int >(WXK_SPECIAL16
)));
61490 SWIG_Python_SetConstant(d
, "WXK_SPECIAL17",SWIG_From_int(static_cast< int >(WXK_SPECIAL17
)));
61491 SWIG_Python_SetConstant(d
, "WXK_SPECIAL18",SWIG_From_int(static_cast< int >(WXK_SPECIAL18
)));
61492 SWIG_Python_SetConstant(d
, "WXK_SPECIAL19",SWIG_From_int(static_cast< int >(WXK_SPECIAL19
)));
61493 SWIG_Python_SetConstant(d
, "WXK_SPECIAL20",SWIG_From_int(static_cast< int >(WXK_SPECIAL20
)));
61494 SWIG_Python_SetConstant(d
, "PAPER_NONE",SWIG_From_int(static_cast< int >(wxPAPER_NONE
)));
61495 SWIG_Python_SetConstant(d
, "PAPER_LETTER",SWIG_From_int(static_cast< int >(wxPAPER_LETTER
)));
61496 SWIG_Python_SetConstant(d
, "PAPER_LEGAL",SWIG_From_int(static_cast< int >(wxPAPER_LEGAL
)));
61497 SWIG_Python_SetConstant(d
, "PAPER_A4",SWIG_From_int(static_cast< int >(wxPAPER_A4
)));
61498 SWIG_Python_SetConstant(d
, "PAPER_CSHEET",SWIG_From_int(static_cast< int >(wxPAPER_CSHEET
)));
61499 SWIG_Python_SetConstant(d
, "PAPER_DSHEET",SWIG_From_int(static_cast< int >(wxPAPER_DSHEET
)));
61500 SWIG_Python_SetConstant(d
, "PAPER_ESHEET",SWIG_From_int(static_cast< int >(wxPAPER_ESHEET
)));
61501 SWIG_Python_SetConstant(d
, "PAPER_LETTERSMALL",SWIG_From_int(static_cast< int >(wxPAPER_LETTERSMALL
)));
61502 SWIG_Python_SetConstant(d
, "PAPER_TABLOID",SWIG_From_int(static_cast< int >(wxPAPER_TABLOID
)));
61503 SWIG_Python_SetConstant(d
, "PAPER_LEDGER",SWIG_From_int(static_cast< int >(wxPAPER_LEDGER
)));
61504 SWIG_Python_SetConstant(d
, "PAPER_STATEMENT",SWIG_From_int(static_cast< int >(wxPAPER_STATEMENT
)));
61505 SWIG_Python_SetConstant(d
, "PAPER_EXECUTIVE",SWIG_From_int(static_cast< int >(wxPAPER_EXECUTIVE
)));
61506 SWIG_Python_SetConstant(d
, "PAPER_A3",SWIG_From_int(static_cast< int >(wxPAPER_A3
)));
61507 SWIG_Python_SetConstant(d
, "PAPER_A4SMALL",SWIG_From_int(static_cast< int >(wxPAPER_A4SMALL
)));
61508 SWIG_Python_SetConstant(d
, "PAPER_A5",SWIG_From_int(static_cast< int >(wxPAPER_A5
)));
61509 SWIG_Python_SetConstant(d
, "PAPER_B4",SWIG_From_int(static_cast< int >(wxPAPER_B4
)));
61510 SWIG_Python_SetConstant(d
, "PAPER_B5",SWIG_From_int(static_cast< int >(wxPAPER_B5
)));
61511 SWIG_Python_SetConstant(d
, "PAPER_FOLIO",SWIG_From_int(static_cast< int >(wxPAPER_FOLIO
)));
61512 SWIG_Python_SetConstant(d
, "PAPER_QUARTO",SWIG_From_int(static_cast< int >(wxPAPER_QUARTO
)));
61513 SWIG_Python_SetConstant(d
, "PAPER_10X14",SWIG_From_int(static_cast< int >(wxPAPER_10X14
)));
61514 SWIG_Python_SetConstant(d
, "PAPER_11X17",SWIG_From_int(static_cast< int >(wxPAPER_11X17
)));
61515 SWIG_Python_SetConstant(d
, "PAPER_NOTE",SWIG_From_int(static_cast< int >(wxPAPER_NOTE
)));
61516 SWIG_Python_SetConstant(d
, "PAPER_ENV_9",SWIG_From_int(static_cast< int >(wxPAPER_ENV_9
)));
61517 SWIG_Python_SetConstant(d
, "PAPER_ENV_10",SWIG_From_int(static_cast< int >(wxPAPER_ENV_10
)));
61518 SWIG_Python_SetConstant(d
, "PAPER_ENV_11",SWIG_From_int(static_cast< int >(wxPAPER_ENV_11
)));
61519 SWIG_Python_SetConstant(d
, "PAPER_ENV_12",SWIG_From_int(static_cast< int >(wxPAPER_ENV_12
)));
61520 SWIG_Python_SetConstant(d
, "PAPER_ENV_14",SWIG_From_int(static_cast< int >(wxPAPER_ENV_14
)));
61521 SWIG_Python_SetConstant(d
, "PAPER_ENV_DL",SWIG_From_int(static_cast< int >(wxPAPER_ENV_DL
)));
61522 SWIG_Python_SetConstant(d
, "PAPER_ENV_C5",SWIG_From_int(static_cast< int >(wxPAPER_ENV_C5
)));
61523 SWIG_Python_SetConstant(d
, "PAPER_ENV_C3",SWIG_From_int(static_cast< int >(wxPAPER_ENV_C3
)));
61524 SWIG_Python_SetConstant(d
, "PAPER_ENV_C4",SWIG_From_int(static_cast< int >(wxPAPER_ENV_C4
)));
61525 SWIG_Python_SetConstant(d
, "PAPER_ENV_C6",SWIG_From_int(static_cast< int >(wxPAPER_ENV_C6
)));
61526 SWIG_Python_SetConstant(d
, "PAPER_ENV_C65",SWIG_From_int(static_cast< int >(wxPAPER_ENV_C65
)));
61527 SWIG_Python_SetConstant(d
, "PAPER_ENV_B4",SWIG_From_int(static_cast< int >(wxPAPER_ENV_B4
)));
61528 SWIG_Python_SetConstant(d
, "PAPER_ENV_B5",SWIG_From_int(static_cast< int >(wxPAPER_ENV_B5
)));
61529 SWIG_Python_SetConstant(d
, "PAPER_ENV_B6",SWIG_From_int(static_cast< int >(wxPAPER_ENV_B6
)));
61530 SWIG_Python_SetConstant(d
, "PAPER_ENV_ITALY",SWIG_From_int(static_cast< int >(wxPAPER_ENV_ITALY
)));
61531 SWIG_Python_SetConstant(d
, "PAPER_ENV_MONARCH",SWIG_From_int(static_cast< int >(wxPAPER_ENV_MONARCH
)));
61532 SWIG_Python_SetConstant(d
, "PAPER_ENV_PERSONAL",SWIG_From_int(static_cast< int >(wxPAPER_ENV_PERSONAL
)));
61533 SWIG_Python_SetConstant(d
, "PAPER_FANFOLD_US",SWIG_From_int(static_cast< int >(wxPAPER_FANFOLD_US
)));
61534 SWIG_Python_SetConstant(d
, "PAPER_FANFOLD_STD_GERMAN",SWIG_From_int(static_cast< int >(wxPAPER_FANFOLD_STD_GERMAN
)));
61535 SWIG_Python_SetConstant(d
, "PAPER_FANFOLD_LGL_GERMAN",SWIG_From_int(static_cast< int >(wxPAPER_FANFOLD_LGL_GERMAN
)));
61536 SWIG_Python_SetConstant(d
, "PAPER_ISO_B4",SWIG_From_int(static_cast< int >(wxPAPER_ISO_B4
)));
61537 SWIG_Python_SetConstant(d
, "PAPER_JAPANESE_POSTCARD",SWIG_From_int(static_cast< int >(wxPAPER_JAPANESE_POSTCARD
)));
61538 SWIG_Python_SetConstant(d
, "PAPER_9X11",SWIG_From_int(static_cast< int >(wxPAPER_9X11
)));
61539 SWIG_Python_SetConstant(d
, "PAPER_10X11",SWIG_From_int(static_cast< int >(wxPAPER_10X11
)));
61540 SWIG_Python_SetConstant(d
, "PAPER_15X11",SWIG_From_int(static_cast< int >(wxPAPER_15X11
)));
61541 SWIG_Python_SetConstant(d
, "PAPER_ENV_INVITE",SWIG_From_int(static_cast< int >(wxPAPER_ENV_INVITE
)));
61542 SWIG_Python_SetConstant(d
, "PAPER_LETTER_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_LETTER_EXTRA
)));
61543 SWIG_Python_SetConstant(d
, "PAPER_LEGAL_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_LEGAL_EXTRA
)));
61544 SWIG_Python_SetConstant(d
, "PAPER_TABLOID_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_TABLOID_EXTRA
)));
61545 SWIG_Python_SetConstant(d
, "PAPER_A4_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_A4_EXTRA
)));
61546 SWIG_Python_SetConstant(d
, "PAPER_LETTER_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_LETTER_TRANSVERSE
)));
61547 SWIG_Python_SetConstant(d
, "PAPER_A4_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_A4_TRANSVERSE
)));
61548 SWIG_Python_SetConstant(d
, "PAPER_LETTER_EXTRA_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_LETTER_EXTRA_TRANSVERSE
)));
61549 SWIG_Python_SetConstant(d
, "PAPER_A_PLUS",SWIG_From_int(static_cast< int >(wxPAPER_A_PLUS
)));
61550 SWIG_Python_SetConstant(d
, "PAPER_B_PLUS",SWIG_From_int(static_cast< int >(wxPAPER_B_PLUS
)));
61551 SWIG_Python_SetConstant(d
, "PAPER_LETTER_PLUS",SWIG_From_int(static_cast< int >(wxPAPER_LETTER_PLUS
)));
61552 SWIG_Python_SetConstant(d
, "PAPER_A4_PLUS",SWIG_From_int(static_cast< int >(wxPAPER_A4_PLUS
)));
61553 SWIG_Python_SetConstant(d
, "PAPER_A5_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_A5_TRANSVERSE
)));
61554 SWIG_Python_SetConstant(d
, "PAPER_B5_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_B5_TRANSVERSE
)));
61555 SWIG_Python_SetConstant(d
, "PAPER_A3_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_A3_EXTRA
)));
61556 SWIG_Python_SetConstant(d
, "PAPER_A5_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_A5_EXTRA
)));
61557 SWIG_Python_SetConstant(d
, "PAPER_B5_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_B5_EXTRA
)));
61558 SWIG_Python_SetConstant(d
, "PAPER_A2",SWIG_From_int(static_cast< int >(wxPAPER_A2
)));
61559 SWIG_Python_SetConstant(d
, "PAPER_A3_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_A3_TRANSVERSE
)));
61560 SWIG_Python_SetConstant(d
, "PAPER_A3_EXTRA_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_A3_EXTRA_TRANSVERSE
)));
61561 SWIG_Python_SetConstant(d
, "PAPER_DBL_JAPANESE_POSTCARD",SWIG_From_int(static_cast< int >(wxPAPER_DBL_JAPANESE_POSTCARD
)));
61562 SWIG_Python_SetConstant(d
, "PAPER_A6",SWIG_From_int(static_cast< int >(wxPAPER_A6
)));
61563 SWIG_Python_SetConstant(d
, "PAPER_JENV_KAKU2",SWIG_From_int(static_cast< int >(wxPAPER_JENV_KAKU2
)));
61564 SWIG_Python_SetConstant(d
, "PAPER_JENV_KAKU3",SWIG_From_int(static_cast< int >(wxPAPER_JENV_KAKU3
)));
61565 SWIG_Python_SetConstant(d
, "PAPER_JENV_CHOU3",SWIG_From_int(static_cast< int >(wxPAPER_JENV_CHOU3
)));
61566 SWIG_Python_SetConstant(d
, "PAPER_JENV_CHOU4",SWIG_From_int(static_cast< int >(wxPAPER_JENV_CHOU4
)));
61567 SWIG_Python_SetConstant(d
, "PAPER_LETTER_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_LETTER_ROTATED
)));
61568 SWIG_Python_SetConstant(d
, "PAPER_A3_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_A3_ROTATED
)));
61569 SWIG_Python_SetConstant(d
, "PAPER_A4_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_A4_ROTATED
)));
61570 SWIG_Python_SetConstant(d
, "PAPER_A5_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_A5_ROTATED
)));
61571 SWIG_Python_SetConstant(d
, "PAPER_B4_JIS_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_B4_JIS_ROTATED
)));
61572 SWIG_Python_SetConstant(d
, "PAPER_B5_JIS_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_B5_JIS_ROTATED
)));
61573 SWIG_Python_SetConstant(d
, "PAPER_JAPANESE_POSTCARD_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_JAPANESE_POSTCARD_ROTATED
)));
61574 SWIG_Python_SetConstant(d
, "PAPER_DBL_JAPANESE_POSTCARD_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_DBL_JAPANESE_POSTCARD_ROTATED
)));
61575 SWIG_Python_SetConstant(d
, "PAPER_A6_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_A6_ROTATED
)));
61576 SWIG_Python_SetConstant(d
, "PAPER_JENV_KAKU2_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_JENV_KAKU2_ROTATED
)));
61577 SWIG_Python_SetConstant(d
, "PAPER_JENV_KAKU3_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_JENV_KAKU3_ROTATED
)));
61578 SWIG_Python_SetConstant(d
, "PAPER_JENV_CHOU3_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_JENV_CHOU3_ROTATED
)));
61579 SWIG_Python_SetConstant(d
, "PAPER_JENV_CHOU4_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_JENV_CHOU4_ROTATED
)));
61580 SWIG_Python_SetConstant(d
, "PAPER_B6_JIS",SWIG_From_int(static_cast< int >(wxPAPER_B6_JIS
)));
61581 SWIG_Python_SetConstant(d
, "PAPER_B6_JIS_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_B6_JIS_ROTATED
)));
61582 SWIG_Python_SetConstant(d
, "PAPER_12X11",SWIG_From_int(static_cast< int >(wxPAPER_12X11
)));
61583 SWIG_Python_SetConstant(d
, "PAPER_JENV_YOU4",SWIG_From_int(static_cast< int >(wxPAPER_JENV_YOU4
)));
61584 SWIG_Python_SetConstant(d
, "PAPER_JENV_YOU4_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_JENV_YOU4_ROTATED
)));
61585 SWIG_Python_SetConstant(d
, "PAPER_P16K",SWIG_From_int(static_cast< int >(wxPAPER_P16K
)));
61586 SWIG_Python_SetConstant(d
, "PAPER_P32K",SWIG_From_int(static_cast< int >(wxPAPER_P32K
)));
61587 SWIG_Python_SetConstant(d
, "PAPER_P32KBIG",SWIG_From_int(static_cast< int >(wxPAPER_P32KBIG
)));
61588 SWIG_Python_SetConstant(d
, "PAPER_PENV_1",SWIG_From_int(static_cast< int >(wxPAPER_PENV_1
)));
61589 SWIG_Python_SetConstant(d
, "PAPER_PENV_2",SWIG_From_int(static_cast< int >(wxPAPER_PENV_2
)));
61590 SWIG_Python_SetConstant(d
, "PAPER_PENV_3",SWIG_From_int(static_cast< int >(wxPAPER_PENV_3
)));
61591 SWIG_Python_SetConstant(d
, "PAPER_PENV_4",SWIG_From_int(static_cast< int >(wxPAPER_PENV_4
)));
61592 SWIG_Python_SetConstant(d
, "PAPER_PENV_5",SWIG_From_int(static_cast< int >(wxPAPER_PENV_5
)));
61593 SWIG_Python_SetConstant(d
, "PAPER_PENV_6",SWIG_From_int(static_cast< int >(wxPAPER_PENV_6
)));
61594 SWIG_Python_SetConstant(d
, "PAPER_PENV_7",SWIG_From_int(static_cast< int >(wxPAPER_PENV_7
)));
61595 SWIG_Python_SetConstant(d
, "PAPER_PENV_8",SWIG_From_int(static_cast< int >(wxPAPER_PENV_8
)));
61596 SWIG_Python_SetConstant(d
, "PAPER_PENV_9",SWIG_From_int(static_cast< int >(wxPAPER_PENV_9
)));
61597 SWIG_Python_SetConstant(d
, "PAPER_PENV_10",SWIG_From_int(static_cast< int >(wxPAPER_PENV_10
)));
61598 SWIG_Python_SetConstant(d
, "PAPER_P16K_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_P16K_ROTATED
)));
61599 SWIG_Python_SetConstant(d
, "PAPER_P32K_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_P32K_ROTATED
)));
61600 SWIG_Python_SetConstant(d
, "PAPER_P32KBIG_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_P32KBIG_ROTATED
)));
61601 SWIG_Python_SetConstant(d
, "PAPER_PENV_1_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_1_ROTATED
)));
61602 SWIG_Python_SetConstant(d
, "PAPER_PENV_2_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_2_ROTATED
)));
61603 SWIG_Python_SetConstant(d
, "PAPER_PENV_3_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_3_ROTATED
)));
61604 SWIG_Python_SetConstant(d
, "PAPER_PENV_4_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_4_ROTATED
)));
61605 SWIG_Python_SetConstant(d
, "PAPER_PENV_5_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_5_ROTATED
)));
61606 SWIG_Python_SetConstant(d
, "PAPER_PENV_6_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_6_ROTATED
)));
61607 SWIG_Python_SetConstant(d
, "PAPER_PENV_7_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_7_ROTATED
)));
61608 SWIG_Python_SetConstant(d
, "PAPER_PENV_8_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_8_ROTATED
)));
61609 SWIG_Python_SetConstant(d
, "PAPER_PENV_9_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_9_ROTATED
)));
61610 SWIG_Python_SetConstant(d
, "PAPER_PENV_10_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_10_ROTATED
)));
61611 SWIG_Python_SetConstant(d
, "DUPLEX_SIMPLEX",SWIG_From_int(static_cast< int >(wxDUPLEX_SIMPLEX
)));
61612 SWIG_Python_SetConstant(d
, "DUPLEX_HORIZONTAL",SWIG_From_int(static_cast< int >(wxDUPLEX_HORIZONTAL
)));
61613 SWIG_Python_SetConstant(d
, "DUPLEX_VERTICAL",SWIG_From_int(static_cast< int >(wxDUPLEX_VERTICAL
)));
61614 SWIG_Python_SetConstant(d
, "ITEM_SEPARATOR",SWIG_From_int(static_cast< int >(wxITEM_SEPARATOR
)));
61615 SWIG_Python_SetConstant(d
, "ITEM_NORMAL",SWIG_From_int(static_cast< int >(wxITEM_NORMAL
)));
61616 SWIG_Python_SetConstant(d
, "ITEM_CHECK",SWIG_From_int(static_cast< int >(wxITEM_CHECK
)));
61617 SWIG_Python_SetConstant(d
, "ITEM_RADIO",SWIG_From_int(static_cast< int >(wxITEM_RADIO
)));
61618 SWIG_Python_SetConstant(d
, "ITEM_MAX",SWIG_From_int(static_cast< int >(wxITEM_MAX
)));
61619 SWIG_Python_SetConstant(d
, "HT_NOWHERE",SWIG_From_int(static_cast< int >(wxHT_NOWHERE
)));
61620 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_FIRST",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_FIRST
)));
61621 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_ARROW_LINE_1",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_ARROW_LINE_1
)));
61622 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_ARROW_LINE_2",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_ARROW_LINE_2
)));
61623 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_ARROW_PAGE_1",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_ARROW_PAGE_1
)));
61624 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_ARROW_PAGE_2",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_ARROW_PAGE_2
)));
61625 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_THUMB",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_THUMB
)));
61626 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_BAR_1",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_BAR_1
)));
61627 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_BAR_2",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_BAR_2
)));
61628 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_LAST",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_LAST
)));
61629 SWIG_Python_SetConstant(d
, "HT_WINDOW_OUTSIDE",SWIG_From_int(static_cast< int >(wxHT_WINDOW_OUTSIDE
)));
61630 SWIG_Python_SetConstant(d
, "HT_WINDOW_INSIDE",SWIG_From_int(static_cast< int >(wxHT_WINDOW_INSIDE
)));
61631 SWIG_Python_SetConstant(d
, "HT_WINDOW_VERT_SCROLLBAR",SWIG_From_int(static_cast< int >(wxHT_WINDOW_VERT_SCROLLBAR
)));
61632 SWIG_Python_SetConstant(d
, "HT_WINDOW_HORZ_SCROLLBAR",SWIG_From_int(static_cast< int >(wxHT_WINDOW_HORZ_SCROLLBAR
)));
61633 SWIG_Python_SetConstant(d
, "HT_WINDOW_CORNER",SWIG_From_int(static_cast< int >(wxHT_WINDOW_CORNER
)));
61634 SWIG_Python_SetConstant(d
, "HT_MAX",SWIG_From_int(static_cast< int >(wxHT_MAX
)));
61635 SWIG_Python_SetConstant(d
, "MOD_NONE",SWIG_From_int(static_cast< int >(wxMOD_NONE
)));
61636 SWIG_Python_SetConstant(d
, "MOD_ALT",SWIG_From_int(static_cast< int >(wxMOD_ALT
)));
61637 SWIG_Python_SetConstant(d
, "MOD_CONTROL",SWIG_From_int(static_cast< int >(wxMOD_CONTROL
)));
61638 SWIG_Python_SetConstant(d
, "MOD_ALTGR",SWIG_From_int(static_cast< int >(wxMOD_ALTGR
)));
61639 SWIG_Python_SetConstant(d
, "MOD_SHIFT",SWIG_From_int(static_cast< int >(wxMOD_SHIFT
)));
61640 SWIG_Python_SetConstant(d
, "MOD_META",SWIG_From_int(static_cast< int >(wxMOD_META
)));
61641 SWIG_Python_SetConstant(d
, "MOD_WIN",SWIG_From_int(static_cast< int >(wxMOD_WIN
)));
61642 SWIG_Python_SetConstant(d
, "MOD_CMD",SWIG_From_int(static_cast< int >(wxMOD_CMD
)));
61643 SWIG_Python_SetConstant(d
, "MOD_ALL",SWIG_From_int(static_cast< int >(wxMOD_ALL
)));
61644 SWIG_Python_SetConstant(d
, "UPDATE_UI_NONE",SWIG_From_int(static_cast< int >(wxUPDATE_UI_NONE
)));
61645 SWIG_Python_SetConstant(d
, "UPDATE_UI_RECURSE",SWIG_From_int(static_cast< int >(wxUPDATE_UI_RECURSE
)));
61646 SWIG_Python_SetConstant(d
, "UPDATE_UI_FROMIDLE",SWIG_From_int(static_cast< int >(wxUPDATE_UI_FROMIDLE
)));
61647 SWIG_Python_SetConstant(d
, "Layout_Default",SWIG_From_int(static_cast< int >(wxLayout_Default
)));
61648 SWIG_Python_SetConstant(d
, "Layout_LeftToRight",SWIG_From_int(static_cast< int >(wxLayout_LeftToRight
)));
61649 SWIG_Python_SetConstant(d
, "Layout_RightToLeft",SWIG_From_int(static_cast< int >(wxLayout_RightToLeft
)));
61650 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
61651 SWIG_addvarlink(SWIG_globals(),(char*)"EmptyString",EmptyString_get
, EmptyString_set
);
61652 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_INVALID",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_INVALID
)));
61653 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_BMP",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_BMP
)));
61654 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_ICO",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_ICO
)));
61655 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_CUR",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_CUR
)));
61656 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_XBM",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_XBM
)));
61657 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_XBM_DATA",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_XBM_DATA
)));
61658 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_XPM",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_XPM
)));
61659 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_XPM_DATA",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_XPM_DATA
)));
61660 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_TIF",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_TIF
)));
61661 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_GIF",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_GIF
)));
61662 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_PNG",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_PNG
)));
61663 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_JPEG",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_JPEG
)));
61664 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_PNM",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_PNM
)));
61665 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_PCX",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_PCX
)));
61666 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_PICT",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_PICT
)));
61667 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_ICON",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_ICON
)));
61668 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_ANI",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_ANI
)));
61669 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_IFF",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_IFF
)));
61670 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_TGA",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_TGA
)));
61671 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_MACCURSOR",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_MACCURSOR
)));
61672 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_ANY",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_ANY
)));
61673 SWIG_Python_SetConstant(d
, "CURSOR_NONE",SWIG_From_int(static_cast< int >(wxCURSOR_NONE
)));
61674 SWIG_Python_SetConstant(d
, "CURSOR_ARROW",SWIG_From_int(static_cast< int >(wxCURSOR_ARROW
)));
61675 SWIG_Python_SetConstant(d
, "CURSOR_RIGHT_ARROW",SWIG_From_int(static_cast< int >(wxCURSOR_RIGHT_ARROW
)));
61676 SWIG_Python_SetConstant(d
, "CURSOR_BULLSEYE",SWIG_From_int(static_cast< int >(wxCURSOR_BULLSEYE
)));
61677 SWIG_Python_SetConstant(d
, "CURSOR_CHAR",SWIG_From_int(static_cast< int >(wxCURSOR_CHAR
)));
61678 SWIG_Python_SetConstant(d
, "CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxCURSOR_CROSS
)));
61679 SWIG_Python_SetConstant(d
, "CURSOR_HAND",SWIG_From_int(static_cast< int >(wxCURSOR_HAND
)));
61680 SWIG_Python_SetConstant(d
, "CURSOR_IBEAM",SWIG_From_int(static_cast< int >(wxCURSOR_IBEAM
)));
61681 SWIG_Python_SetConstant(d
, "CURSOR_LEFT_BUTTON",SWIG_From_int(static_cast< int >(wxCURSOR_LEFT_BUTTON
)));
61682 SWIG_Python_SetConstant(d
, "CURSOR_MAGNIFIER",SWIG_From_int(static_cast< int >(wxCURSOR_MAGNIFIER
)));
61683 SWIG_Python_SetConstant(d
, "CURSOR_MIDDLE_BUTTON",SWIG_From_int(static_cast< int >(wxCURSOR_MIDDLE_BUTTON
)));
61684 SWIG_Python_SetConstant(d
, "CURSOR_NO_ENTRY",SWIG_From_int(static_cast< int >(wxCURSOR_NO_ENTRY
)));
61685 SWIG_Python_SetConstant(d
, "CURSOR_PAINT_BRUSH",SWIG_From_int(static_cast< int >(wxCURSOR_PAINT_BRUSH
)));
61686 SWIG_Python_SetConstant(d
, "CURSOR_PENCIL",SWIG_From_int(static_cast< int >(wxCURSOR_PENCIL
)));
61687 SWIG_Python_SetConstant(d
, "CURSOR_POINT_LEFT",SWIG_From_int(static_cast< int >(wxCURSOR_POINT_LEFT
)));
61688 SWIG_Python_SetConstant(d
, "CURSOR_POINT_RIGHT",SWIG_From_int(static_cast< int >(wxCURSOR_POINT_RIGHT
)));
61689 SWIG_Python_SetConstant(d
, "CURSOR_QUESTION_ARROW",SWIG_From_int(static_cast< int >(wxCURSOR_QUESTION_ARROW
)));
61690 SWIG_Python_SetConstant(d
, "CURSOR_RIGHT_BUTTON",SWIG_From_int(static_cast< int >(wxCURSOR_RIGHT_BUTTON
)));
61691 SWIG_Python_SetConstant(d
, "CURSOR_SIZENESW",SWIG_From_int(static_cast< int >(wxCURSOR_SIZENESW
)));
61692 SWIG_Python_SetConstant(d
, "CURSOR_SIZENS",SWIG_From_int(static_cast< int >(wxCURSOR_SIZENS
)));
61693 SWIG_Python_SetConstant(d
, "CURSOR_SIZENWSE",SWIG_From_int(static_cast< int >(wxCURSOR_SIZENWSE
)));
61694 SWIG_Python_SetConstant(d
, "CURSOR_SIZEWE",SWIG_From_int(static_cast< int >(wxCURSOR_SIZEWE
)));
61695 SWIG_Python_SetConstant(d
, "CURSOR_SIZING",SWIG_From_int(static_cast< int >(wxCURSOR_SIZING
)));
61696 SWIG_Python_SetConstant(d
, "CURSOR_SPRAYCAN",SWIG_From_int(static_cast< int >(wxCURSOR_SPRAYCAN
)));
61697 SWIG_Python_SetConstant(d
, "CURSOR_WAIT",SWIG_From_int(static_cast< int >(wxCURSOR_WAIT
)));
61698 SWIG_Python_SetConstant(d
, "CURSOR_WATCH",SWIG_From_int(static_cast< int >(wxCURSOR_WATCH
)));
61699 SWIG_Python_SetConstant(d
, "CURSOR_BLANK",SWIG_From_int(static_cast< int >(wxCURSOR_BLANK
)));
61700 SWIG_Python_SetConstant(d
, "CURSOR_DEFAULT",SWIG_From_int(static_cast< int >(wxCURSOR_DEFAULT
)));
61701 SWIG_Python_SetConstant(d
, "CURSOR_COPY_ARROW",SWIG_From_int(static_cast< int >(wxCURSOR_COPY_ARROW
)));
61702 SWIG_Python_SetConstant(d
, "CURSOR_ARROWWAIT",SWIG_From_int(static_cast< int >(wxCURSOR_ARROWWAIT
)));
61703 SWIG_Python_SetConstant(d
, "CURSOR_MAX",SWIG_From_int(static_cast< int >(wxCURSOR_MAX
)));
61704 SWIG_Python_SetConstant(d
, "Inside",SWIG_From_int(static_cast< int >(wxInside
)));
61705 SWIG_Python_SetConstant(d
, "OutLeft",SWIG_From_int(static_cast< int >(wxOutLeft
)));
61706 SWIG_Python_SetConstant(d
, "OutRight",SWIG_From_int(static_cast< int >(wxOutRight
)));
61707 SWIG_Python_SetConstant(d
, "OutTop",SWIG_From_int(static_cast< int >(wxOutTop
)));
61708 SWIG_Python_SetConstant(d
, "OutBottom",SWIG_From_int(static_cast< int >(wxOutBottom
)));
61709 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultPosition",DefaultPosition_get
, DefaultPosition_set
);
61710 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultSize",DefaultSize_get
, DefaultSize_set
);
61711 SWIG_Python_SetConstant(d
, "FromStart",SWIG_From_int(static_cast< int >(wxFromStart
)));
61712 SWIG_Python_SetConstant(d
, "FromCurrent",SWIG_From_int(static_cast< int >(wxFromCurrent
)));
61713 SWIG_Python_SetConstant(d
, "FromEnd",SWIG_From_int(static_cast< int >(wxFromEnd
)));
61715 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
61718 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
61720 SWIG_Python_SetConstant(d
, "IMAGE_ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGE_ALPHA_TRANSPARENT
)));
61721 SWIG_Python_SetConstant(d
, "IMAGE_ALPHA_THRESHOLD",SWIG_From_int(static_cast< int >(wxIMAGE_ALPHA_THRESHOLD
)));
61722 SWIG_Python_SetConstant(d
, "IMAGE_ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxIMAGE_ALPHA_OPAQUE
)));
61723 SWIG_Python_SetConstant(d
, "IMAGE_QUALITY_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_QUALITY_NORMAL
)));
61724 SWIG_Python_SetConstant(d
, "IMAGE_QUALITY_HIGH",SWIG_From_int(static_cast< int >(wxIMAGE_QUALITY_HIGH
)));
61725 SWIG_addvarlink(SWIG_globals(),(char*)"NullImage",NullImage_get
, NullImage_set
);
61726 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_FILENAME",IMAGE_OPTION_FILENAME_get
, IMAGE_OPTION_FILENAME_set
);
61727 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_BMP_FORMAT",IMAGE_OPTION_BMP_FORMAT_get
, IMAGE_OPTION_BMP_FORMAT_set
);
61728 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",IMAGE_OPTION_CUR_HOTSPOT_X_get
, IMAGE_OPTION_CUR_HOTSPOT_X_set
);
61729 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",IMAGE_OPTION_CUR_HOTSPOT_Y_get
, IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
61730 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_RESOLUTION",IMAGE_OPTION_RESOLUTION_get
, IMAGE_OPTION_RESOLUTION_set
);
61731 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_RESOLUTIONX",IMAGE_OPTION_RESOLUTIONX_get
, IMAGE_OPTION_RESOLUTIONX_set
);
61732 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_RESOLUTIONY",IMAGE_OPTION_RESOLUTIONY_get
, IMAGE_OPTION_RESOLUTIONY_set
);
61733 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_RESOLUTIONUNIT",IMAGE_OPTION_RESOLUTIONUNIT_get
, IMAGE_OPTION_RESOLUTIONUNIT_set
);
61734 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_QUALITY",IMAGE_OPTION_QUALITY_get
, IMAGE_OPTION_QUALITY_set
);
61735 SWIG_Python_SetConstant(d
, "IMAGE_RESOLUTION_INCHES",SWIG_From_int(static_cast< int >(wxIMAGE_RESOLUTION_INCHES
)));
61736 SWIG_Python_SetConstant(d
, "IMAGE_RESOLUTION_CM",SWIG_From_int(static_cast< int >(wxIMAGE_RESOLUTION_CM
)));
61737 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_BITSPERSAMPLE",IMAGE_OPTION_BITSPERSAMPLE_get
, IMAGE_OPTION_BITSPERSAMPLE_set
);
61738 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_SAMPLESPERPIXEL",IMAGE_OPTION_SAMPLESPERPIXEL_get
, IMAGE_OPTION_SAMPLESPERPIXEL_set
);
61739 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_COMPRESSION",IMAGE_OPTION_COMPRESSION_get
, IMAGE_OPTION_COMPRESSION_set
);
61740 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_IMAGEDESCRIPTOR",IMAGE_OPTION_IMAGEDESCRIPTOR_get
, IMAGE_OPTION_IMAGEDESCRIPTOR_set
);
61741 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_PNG_FORMAT",IMAGE_OPTION_PNG_FORMAT_get
, IMAGE_OPTION_PNG_FORMAT_set
);
61742 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_PNG_BITDEPTH",IMAGE_OPTION_PNG_BITDEPTH_get
, IMAGE_OPTION_PNG_BITDEPTH_set
);
61743 SWIG_Python_SetConstant(d
, "PNG_TYPE_COLOUR",SWIG_From_int(static_cast< int >(wxPNG_TYPE_COLOUR
)));
61744 SWIG_Python_SetConstant(d
, "PNG_TYPE_GREY",SWIG_From_int(static_cast< int >(wxPNG_TYPE_GREY
)));
61745 SWIG_Python_SetConstant(d
, "PNG_TYPE_GREY_RED",SWIG_From_int(static_cast< int >(wxPNG_TYPE_GREY_RED
)));
61746 SWIG_Python_SetConstant(d
, "BMP_24BPP",SWIG_From_int(static_cast< int >(wxBMP_24BPP
)));
61747 SWIG_Python_SetConstant(d
, "BMP_8BPP",SWIG_From_int(static_cast< int >(wxBMP_8BPP
)));
61748 SWIG_Python_SetConstant(d
, "BMP_8BPP_GREY",SWIG_From_int(static_cast< int >(wxBMP_8BPP_GREY
)));
61749 SWIG_Python_SetConstant(d
, "BMP_8BPP_GRAY",SWIG_From_int(static_cast< int >(wxBMP_8BPP_GRAY
)));
61750 SWIG_Python_SetConstant(d
, "BMP_8BPP_RED",SWIG_From_int(static_cast< int >(wxBMP_8BPP_RED
)));
61751 SWIG_Python_SetConstant(d
, "BMP_8BPP_PALETTE",SWIG_From_int(static_cast< int >(wxBMP_8BPP_PALETTE
)));
61752 SWIG_Python_SetConstant(d
, "BMP_4BPP",SWIG_From_int(static_cast< int >(wxBMP_4BPP
)));
61753 SWIG_Python_SetConstant(d
, "BMP_1BPP",SWIG_From_int(static_cast< int >(wxBMP_1BPP
)));
61754 SWIG_Python_SetConstant(d
, "BMP_1BPP_BW",SWIG_From_int(static_cast< int >(wxBMP_1BPP_BW
)));
61755 SWIG_Python_SetConstant(d
, "QUANTIZE_INCLUDE_WINDOWS_COLOURS",SWIG_From_int(static_cast< int >(wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
)));
61756 SWIG_Python_SetConstant(d
, "QUANTIZE_FILL_DESTINATION_IMAGE",SWIG_From_int(static_cast< int >(wxQUANTIZE_FILL_DESTINATION_IMAGE
)));
61757 SWIG_Python_SetConstant(d
, "EVENT_PROPAGATE_NONE",SWIG_From_int(static_cast< int >(wxEVENT_PROPAGATE_NONE
)));
61758 SWIG_Python_SetConstant(d
, "EVENT_PROPAGATE_MAX",SWIG_From_int(static_cast< int >(wxEVENT_PROPAGATE_MAX
)));
61759 PyDict_SetItemString(d
, "wxEVT_ANY", PyInt_FromLong(wxEVT_ANY
));
61760 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
61761 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
61762 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
61763 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
61764 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
61765 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
61766 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
61767 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
61768 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
61769 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
61770 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
61771 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
61772 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
61773 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
61774 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
61775 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
61776 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
61777 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
61778 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
61779 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
61780 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
61781 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
61782 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
61783 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
61784 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
61785 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
61786 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
61787 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
61788 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
61789 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
61790 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
61791 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
61792 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
61793 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
61794 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
61795 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
61796 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
61797 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
61798 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
61799 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
61800 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
61801 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
61802 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
61803 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
61804 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
61805 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
61806 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
61807 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
61808 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
61809 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
61810 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
61811 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
61812 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
61813 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
61814 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
61815 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
61816 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
61817 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
61818 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
61819 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
61820 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
61821 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
61822 PyDict_SetItemString(d
, "wxEVT_SCROLL_CHANGED", PyInt_FromLong(wxEVT_SCROLL_CHANGED
));
61823 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
61824 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
61825 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
61826 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
61827 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
61828 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
61829 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
61830 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
61831 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
61832 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
61833 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
61834 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
61835 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
61836 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
61837 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
61838 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
61839 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
61840 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
61841 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
61842 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
61843 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
61844 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_LOST", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_LOST
));
61845 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
61846 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
61847 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
61848 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
61849 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
61850 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
61851 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
61852 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
61853 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
61854 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
61855 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
61856 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
61857 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
61858 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
61859 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
61860 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
61861 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
61862 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
61863 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
61864 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
61865 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
61866 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
61867 PyDict_SetItemString(d
, "wxEVT_HIBERNATE", PyInt_FromLong(wxEVT_HIBERNATE
));
61868 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_COPY", PyInt_FromLong(wxEVT_COMMAND_TEXT_COPY
));
61869 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_CUT", PyInt_FromLong(wxEVT_COMMAND_TEXT_CUT
));
61870 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_PASTE", PyInt_FromLong(wxEVT_COMMAND_TEXT_PASTE
));
61871 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
61872 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
61873 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
61874 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
61875 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
61876 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
61877 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
61878 SWIG_Python_SetConstant(d
, "MOUSE_BTN_ANY",SWIG_From_int(static_cast< int >(wxMOUSE_BTN_ANY
)));
61879 SWIG_Python_SetConstant(d
, "MOUSE_BTN_NONE",SWIG_From_int(static_cast< int >(wxMOUSE_BTN_NONE
)));
61880 SWIG_Python_SetConstant(d
, "MOUSE_BTN_LEFT",SWIG_From_int(static_cast< int >(wxMOUSE_BTN_LEFT
)));
61881 SWIG_Python_SetConstant(d
, "MOUSE_BTN_MIDDLE",SWIG_From_int(static_cast< int >(wxMOUSE_BTN_MIDDLE
)));
61882 SWIG_Python_SetConstant(d
, "MOUSE_BTN_RIGHT",SWIG_From_int(static_cast< int >(wxMOUSE_BTN_RIGHT
)));
61883 SWIG_Python_SetConstant(d
, "UPDATE_UI_PROCESS_ALL",SWIG_From_int(static_cast< int >(wxUPDATE_UI_PROCESS_ALL
)));
61884 SWIG_Python_SetConstant(d
, "UPDATE_UI_PROCESS_SPECIFIED",SWIG_From_int(static_cast< int >(wxUPDATE_UI_PROCESS_SPECIFIED
)));
61885 SWIG_Python_SetConstant(d
, "NavigationKeyEvent_IsBackward",SWIG_From_int(static_cast< int >(wxNavigationKeyEvent::IsBackward
)));
61886 SWIG_Python_SetConstant(d
, "NavigationKeyEvent_IsForward",SWIG_From_int(static_cast< int >(wxNavigationKeyEvent::IsForward
)));
61887 SWIG_Python_SetConstant(d
, "NavigationKeyEvent_WinChange",SWIG_From_int(static_cast< int >(wxNavigationKeyEvent::WinChange
)));
61888 SWIG_Python_SetConstant(d
, "NavigationKeyEvent_FromTab",SWIG_From_int(static_cast< int >(wxNavigationKeyEvent::FromTab
)));
61889 SWIG_Python_SetConstant(d
, "IDLE_PROCESS_ALL",SWIG_From_int(static_cast< int >(wxIDLE_PROCESS_ALL
)));
61890 SWIG_Python_SetConstant(d
, "IDLE_PROCESS_SPECIFIED",SWIG_From_int(static_cast< int >(wxIDLE_PROCESS_SPECIFIED
)));
61891 PyDict_SetItemString(d
, "wxEVT_DATE_CHANGED", PyInt_FromLong(wxEVT_DATE_CHANGED
));
61892 SWIG_Python_SetConstant(d
, "PYAPP_ASSERT_SUPPRESS",SWIG_From_int(static_cast< int >(wxPYAPP_ASSERT_SUPPRESS
)));
61893 SWIG_Python_SetConstant(d
, "PYAPP_ASSERT_EXCEPTION",SWIG_From_int(static_cast< int >(wxPYAPP_ASSERT_EXCEPTION
)));
61894 SWIG_Python_SetConstant(d
, "PYAPP_ASSERT_DIALOG",SWIG_From_int(static_cast< int >(wxPYAPP_ASSERT_DIALOG
)));
61895 SWIG_Python_SetConstant(d
, "PYAPP_ASSERT_LOG",SWIG_From_int(static_cast< int >(wxPYAPP_ASSERT_LOG
)));
61896 SWIG_Python_SetConstant(d
, "PRINT_WINDOWS",SWIG_From_int(static_cast< int >(wxPRINT_WINDOWS
)));
61897 SWIG_Python_SetConstant(d
, "PRINT_POSTSCRIPT",SWIG_From_int(static_cast< int >(wxPRINT_POSTSCRIPT
)));
61898 SWIG_Python_SetConstant(d
, "ACCEL_ALT",SWIG_From_int(static_cast< int >(wxACCEL_ALT
)));
61899 SWIG_Python_SetConstant(d
, "ACCEL_CTRL",SWIG_From_int(static_cast< int >(wxACCEL_CTRL
)));
61900 SWIG_Python_SetConstant(d
, "ACCEL_SHIFT",SWIG_From_int(static_cast< int >(wxACCEL_SHIFT
)));
61901 SWIG_Python_SetConstant(d
, "ACCEL_NORMAL",SWIG_From_int(static_cast< int >(wxACCEL_NORMAL
)));
61902 SWIG_Python_SetConstant(d
, "ACCEL_CMD",SWIG_From_int(static_cast< int >(wxACCEL_CMD
)));
61903 SWIG_addvarlink(SWIG_globals(),(char*)"NullAcceleratorTable",NullAcceleratorTable_get
, NullAcceleratorTable_set
);
61904 SWIG_addvarlink(SWIG_globals(),(char*)"PanelNameStr",PanelNameStr_get
, PanelNameStr_set
);
61905 SWIG_Python_SetConstant(d
, "WINDOW_VARIANT_NORMAL",SWIG_From_int(static_cast< int >(wxWINDOW_VARIANT_NORMAL
)));
61906 SWIG_Python_SetConstant(d
, "WINDOW_VARIANT_SMALL",SWIG_From_int(static_cast< int >(wxWINDOW_VARIANT_SMALL
)));
61907 SWIG_Python_SetConstant(d
, "WINDOW_VARIANT_MINI",SWIG_From_int(static_cast< int >(wxWINDOW_VARIANT_MINI
)));
61908 SWIG_Python_SetConstant(d
, "WINDOW_VARIANT_LARGE",SWIG_From_int(static_cast< int >(wxWINDOW_VARIANT_LARGE
)));
61909 SWIG_Python_SetConstant(d
, "WINDOW_VARIANT_MAX",SWIG_From_int(static_cast< int >(wxWINDOW_VARIANT_MAX
)));
61910 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultValidator",DefaultValidator_get
, DefaultValidator_set
);
61911 SWIG_addvarlink(SWIG_globals(),(char*)"ControlNameStr",ControlNameStr_get
, ControlNameStr_set
);
61912 SWIG_Python_SetConstant(d
, "FLEX_GROWMODE_NONE",SWIG_From_int(static_cast< int >(wxFLEX_GROWMODE_NONE
)));
61913 SWIG_Python_SetConstant(d
, "FLEX_GROWMODE_SPECIFIED",SWIG_From_int(static_cast< int >(wxFLEX_GROWMODE_SPECIFIED
)));
61914 SWIG_Python_SetConstant(d
, "FLEX_GROWMODE_ALL",SWIG_From_int(static_cast< int >(wxFLEX_GROWMODE_ALL
)));
61915 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultSpan",DefaultSpan_get
, DefaultSpan_set
);
61916 SWIG_Python_SetConstant(d
, "Left",SWIG_From_int(static_cast< int >(wxLeft
)));
61917 SWIG_Python_SetConstant(d
, "Top",SWIG_From_int(static_cast< int >(wxTop
)));
61918 SWIG_Python_SetConstant(d
, "Right",SWIG_From_int(static_cast< int >(wxRight
)));
61919 SWIG_Python_SetConstant(d
, "Bottom",SWIG_From_int(static_cast< int >(wxBottom
)));
61920 SWIG_Python_SetConstant(d
, "Width",SWIG_From_int(static_cast< int >(wxWidth
)));
61921 SWIG_Python_SetConstant(d
, "Height",SWIG_From_int(static_cast< int >(wxHeight
)));
61922 SWIG_Python_SetConstant(d
, "Centre",SWIG_From_int(static_cast< int >(wxCentre
)));
61923 SWIG_Python_SetConstant(d
, "Center",SWIG_From_int(static_cast< int >(wxCenter
)));
61924 SWIG_Python_SetConstant(d
, "CentreX",SWIG_From_int(static_cast< int >(wxCentreX
)));
61925 SWIG_Python_SetConstant(d
, "CentreY",SWIG_From_int(static_cast< int >(wxCentreY
)));
61926 SWIG_Python_SetConstant(d
, "Unconstrained",SWIG_From_int(static_cast< int >(wxUnconstrained
)));
61927 SWIG_Python_SetConstant(d
, "AsIs",SWIG_From_int(static_cast< int >(wxAsIs
)));
61928 SWIG_Python_SetConstant(d
, "PercentOf",SWIG_From_int(static_cast< int >(wxPercentOf
)));
61929 SWIG_Python_SetConstant(d
, "Above",SWIG_From_int(static_cast< int >(wxAbove
)));
61930 SWIG_Python_SetConstant(d
, "Below",SWIG_From_int(static_cast< int >(wxBelow
)));
61931 SWIG_Python_SetConstant(d
, "LeftOf",SWIG_From_int(static_cast< int >(wxLeftOf
)));
61932 SWIG_Python_SetConstant(d
, "RightOf",SWIG_From_int(static_cast< int >(wxRightOf
)));
61933 SWIG_Python_SetConstant(d
, "SameAs",SWIG_From_int(static_cast< int >(wxSameAs
)));
61934 SWIG_Python_SetConstant(d
, "Absolute",SWIG_From_int(static_cast< int >(wxAbsolute
)));
61936 // Initialize threading, some globals and such
61940 // Although these are defined in __version__ they need to be here too so
61941 // that an assert can be done to ensure that the wxPython and the wxWindows
61943 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
61944 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
61945 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));